/*
 //// GENERAL ////
*/
.row-content {
  position: relative;
  z-index: 200;
  padding: 40px 0;
}
@media screen and (max-width: 480px) {
  .row-content {
    padding: 30px 0;
  }
}

.content-with-sidebar {
  float: left;
  width: 73%;
}
@media screen and (max-width: 900px) {
  .content-with-sidebar {
    float: none;
    width: 100%;
    margin-bottom: 40px;
  }
}

.pagecontent img {
  max-width: 100%;
}
.pagecontent p {
  margin: 15px 0 !important;
}
.pagecontent h3 {
  margin-top: 20px;
}

.gallery-container {
  margin-top: 30px;
}
.gallery-container h3 {
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px dashed #d0d0d0;
}
.gallery-container .gallery-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gallery-container .gallery-list li {
  float: left;
  width: 15.8333333%;
  margin-right: 1%;
  margin-bottom: 8px;
}
@media screen and (max-width: 600px) {
  .gallery-container .gallery-list li {
    width: 19.2%;
    margin-bottom: 6px;
  }
}
@media screen and (max-width: 480px) {
  .gallery-container .gallery-list li {
    width: 24.25%;
    margin-bottom: 5px;
  }
}
.gallery-container .gallery-list li a {
  display: block;
}
.gallery-container .gallery-list li a img {
  width: 100%;
}
.gallery-container .gallery-list li a:hover img {
  opacity: 0.8;
}
.gallery-container .gallery-list li:nth-of-type(6n) {
  margin-right: 0;
}
@media screen and (max-width: 600px) {
  .gallery-container .gallery-list li:nth-of-type(6n) {
    margin-right: 1%;
  }
}
.gallery-container .gallery-list li:nth-of-type(6n+7) {
  clear: both;
}
@media screen and (max-width: 600px) {
  .gallery-container .gallery-list li:nth-of-type(6n+7) {
    clear: none;
  }
}
@media screen and (max-width: 600px) {
  .gallery-container .gallery-list li:nth-of-type(5n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .gallery-container .gallery-list li:nth-of-type(5n) {
    margin-right: 1%;
  }
}
@media screen and (max-width: 600px) {
  .gallery-container .gallery-list li:nth-of-type(5n+6) {
    clear: both;
  }
}
@media screen and (max-width: 480px) {
  .gallery-container .gallery-list li:nth-of-type(5n+6) {
    clear: none;
  }
}
@media screen and (max-width: 480px) {
  .gallery-container .gallery-list li:nth-of-type(4n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 480px) {
  .gallery-container .gallery-list li:nth-of-type(4n+5) {
    clear: both;
  }
}

/*
 //// INDEX ////
*/
.row-content.index {
  padding: 0;
}
.row-content.index .container {
  padding: 70px 60px;
  margin-top: -50px;
  background-color: #fff;
  border-radius: 6px;
}
@media screen and (max-width: 1040px) {
  .row-content.index .container {
    margin-top: 0;
  }
}
@media screen and (max-width: 480px) {
  .row-content.index .container {
    padding: 30px 20px;
  }
}
.row-content.index .container .index-left {
  float: left;
  width: 40%;
}
@media screen and (max-width: 768px) {
  .row-content.index .container .index-left {
    float: left;
    width: 100%;
    margin-bottom: 30px;
  }
}
.row-content.index .container .index-left h2 {
  font-size: 33px;
  line-height: 33px;
  margin-bottom: 10px;
}
.row-content.index .container .index-right {
  float: right;
  width: 60%;
  box-sizing: border-box;
  padding-left: 30px;
}
@media screen and (max-width: 768px) {
  .row-content.index .container .index-right {
    float: left;
    width: 100%;
    padding-left: 0;
  }
}

/*
 //// FAQS ////
*/
.faqs-list h3 {
  padding-bottom: 10px;
}

/*
 //// TESTIMONIALS ////
*/
.testimonials-list .testimonial-item {
  margin-bottom: 30px;
}
.testimonials-list .testimonial-item p {
  font-family: "ralewayitalic", sans-serif;
  margin-bottom: 6px;
}
.testimonials-list .testimonial-item p.name {
  font-family: "ralewaysemibold", sans-serif;
  margin-bottom: 0px;
}
.testimonials-list .testimonial-item:last-of-type {
  margin-bottom: 0;
}

.sidebar {
  float: right;
  width: 22%;
  padding-top: 40px;
}
@media screen and (max-width: 900px) {
  .sidebar {
    float: none;
    width: 100%;
    padding-top: 0;
  }
}
.sidebar h3 {
  border-bottom: 1px dashed #d0d0d0;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.sidebar ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.sidebar ul li {
  margin-bottom: 4px;
}
.sidebar ul li a {
  text-decoration: none;
  color: #343434;
}
.sidebar .btn-primary {
  display: block;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 960px) {
  .sidebar .btn-primary span {
    display: none;
  }
}

/*
 //// PRODUCT LINKS ////
*/
.product-links {
  background-color: #9e1010;
}
.product-links a {
  display: block;
  float: left;
  width: 25%;
  text-align: center;
  text-decoration: none;
  position: relative;
}
@media screen and (max-width: 768px) {
  .product-links a {
    width: 50%;
  }
}
@media screen and (max-width: 480px) {
  .product-links a {
    float: none;
    width: 100%;
  }
}
.product-links a img {
  width: 100%;
}
.product-links a .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(116, 5, 5, 0.7);
  z-index: 100;
  transition: .2s;
}
.product-links a div {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 200;
  margin-top: -33px;
}
@media screen and (max-width: 1040px) {
  .product-links a div {
    margin-top: -29px;
  }
}
@media screen and (max-width: 480px) {
  .product-links a div {
    margin-top: -33px;
  }
}
.product-links a div h2 {
  color: #fff;
  margin: 0;
  padding: 0;
  font-size: 30px;
  line-height: 33px;
}
@media screen and (max-width: 1040px) {
  .product-links a div h2 {
    font-size: 26px;
    line-height: 29px;
  }
}
@media screen and (max-width: 480px) {
  .product-links a div h2 {
    font-size: 30px;
    line-height: 33px;
  }
}
.product-links a:hover .overlay {
  background-color: rgba(116, 5, 5, 0.9);
}

.row-testimonials {
  background-color: #222;
  padding: 65px 0;
  position: relative;
}
@media screen and (max-width: 768px) {
  .row-testimonials {
    padding: 45px 0;
  }
}
.row-testimonials h2 {
  color: #fff;
  font-size: 33px;
  text-align: center;
  margin-bottom: 30px;
}
.row-testimonials p {
  color: #fff;
  text-align: center;
  font-size: 15px;
  line-height: 23px;
  font-family: "ralewayitalic", sans-serif;
}
.row-testimonials p.name {
  font-size: 16px;
  font-family: "ralewaysemibold", sans-serif;
  margin: 0;
}

.row-footer {
  background-color: #111;
  padding: 45px 0 20px;
}
.row-footer .container {
  text-align: justify;
}
.row-footer .container:after {
  content: '';
  display: inline-block;
  width: 100%;
}
.row-footer .footer-block {
  display: inline-block;
  vertical-align: top;
}
.row-footer .footer-block h4 {
  color: #fff;
  border-bottom: 1px solid #3f3f3f;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
.row-footer .footer-block ul {
  list-style: none;
  margin: 0;
  padding: 0 20px 0 0;
}
@media screen and (max-width: 768px) {
  .row-footer .footer-block ul {
    padding: 0;
  }
}
.row-footer .footer-block ul li {
  color: #7a7a7a;
  font-size: 14px;
  margin-bottom: 6px;
}
.row-footer .footer-block ul li a {
  color: #7a7a7a;
  text-decoration: none;
}
.row-footer .footer-block ul li a:hover {
  color: #fff;
}
.row-footer .footer-products {
  /*width:170px;*/
}
@media screen and (max-width: 900px) {
  .row-footer .footer-products {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .row-footer .footer-about {
    display: block;
    width: 50%;
    float: left;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 480px) {
  .row-footer .footer-about {
    float: none;
    width: 100%;
    text-align: center;
  }
}
.row-footer .footer-areas {
  /*width:285px;*/
}
@media screen and (max-width: 768px) {
  .row-footer .footer-areas {
    display: block;
    width: 50%;
    float: left;
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 480px) {
  .row-footer .footer-areas {
    float: none;
    width: 100%;
    text-align: center;
  }
}
.row-footer .footer-areas ul {
  float: left;
}
@media screen and (max-width: 480px) {
  .row-footer .footer-areas ul {
    float: none;
  }
}
.row-footer .footer-areas ul:first-of-type {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .row-footer .footer-areas ul:first-of-type {
    margin-right: 20px;
  }
}
@media screen and (max-width: 480px) {
  .row-footer .footer-areas ul:first-of-type {
    margin-right: 0;
  }
}
.row-footer .footer-support {
  /*width:160px;*/
}
@media screen and (max-width: 768px) {
  .row-footer .footer-support {
    display: block;
    width: 50%;
    float: left;
  }
}
@media screen and (max-width: 480px) {
  .row-footer .footer-support {
    float: none;
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }
}
.row-footer .footer-contact {
  /*width:160px;*/
}
@media screen and (max-width: 768px) {
  .row-footer .footer-contact {
    display: block;
    width: 50%;
    float: left;
  }
}
@media screen and (max-width: 480px) {
  .row-footer .footer-contact {
    float: none;
    width: 100%;
    text-align: center;
  }
}
.row-footer .footer-contact .socials {
  margin-top: 12px;
}
@media screen and (max-width: 480px) {
  .row-footer .footer-contact .socials {
    display: block;
    text-align: center;
  }
}
.row-footer .footer-contact .socials li {
  display: block;
  float: left;
  margin-right: 10px;
}
@media screen and (max-width: 480px) {
  .row-footer .footer-contact .socials li {
    display: inline-block;
    float: none;
    margin: 0 5px;
  }
}
.row-footer .footer-contact .socials li a {
  display: block;
  width: 25px;
  height: 25px;
  text-decoration: none;
  text-indent: -9999px;
  opacity: 0.4;
}
.row-footer .footer-contact .socials li a:hover {
  opacity: 1;
}
.row-footer .footer-contact .socials li a.facebook {
  background: transparent url("../img/icon-facebook.png") no-repeat center top;
}
.row-footer .footer-contact .socials li a.email {
  background: transparent url("../img/icon-email.png") no-repeat center top;
}

.row-copyright {
  background-color: #000;
  padding: 12px 0;
}
.row-copyright p {
  color: #7a7a7a;
  font-size: 11px;
  margin: 0;
}
.row-copyright p a {
  color: #7a7a7a;
  text-decoration: none;
  border-bottom: 0;
}
.row-copyright p a:hover {
  color: #fff;
}
.row-copyright p.left {
  float: left;
}
@media screen and (max-width: 650px) {
  .row-copyright p.left {
    float: none;
    text-align: center;
  }
}
.row-copyright p.right {
  float: right;
}
@media screen and (max-width: 650px) {
  .row-copyright p.right {
    float: none;
    text-align: center;
  }
}

/* //// BUTTONS //// */
.btn, .btn-primary, .btn-secondary, .btn-large, .btn-touch {
  display: inline-block;
  background-color: #ccc;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 20px;
  padding: 14px 20px;
  text-decoration: none;
  -webkit-transition: opacity 0.3s ease;
  -moz-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
  font-family: "nevis", sans-serif;
}
.btn span, .btn-primary span, .btn-secondary span, .btn-large span, .btn-touch span {
  display: inline-block;
  position: relative;
  top: 10px;
  text-indent: -9999px;
  width: 28px;
  height: 9px;
  margin-left: 12px;
  background: transparent url("../img/icon-btn-arrow.png") no-repeat center top;
}

.btn-primary {
  background-color: #9e1010;
}

.btn-primary:hover {
  background-color: #810909;
}

.btn-secondary {
  background-color: #191919;
}

.btn-large {
  font-size: 1.5em;
}
@media screen and (max-width: 480px) {
  .btn-large {
    display: block;
    font-size: 1em;
    width: 100%;
    text-align: center;
  }
}

a.btn-large {
  padding: 15px 25px;
  line-height: 66px;
}
@media screen and (max-width: 480px) {
  a.btn-large {
    line-height: 36px;
  }
}

button.btn, button.btn-primary, button.btn-secondary, button.btn-large, button.btn-touch {
  cursor: pointer;
  padding: 0 15px;
}

button.btn-large {
  padding: 10px 25px;
}

@media screen and (max-width: 480px) {
  .btn-touch {
    width: 100%;
  }
}

input[type="text"], input[type="email"], input[type="password"], textarea, select {
  padding: 12px;
  border: 1px solid #d0d0d0;
  outline: 0;
  font-size: 15px;
  font-family: "ralewayregular", sans-serif;
  box-sizing: border-box;
  border-radius: 0;
  background-color: #fff;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url("../img/select-arrow.png") no-repeat right center;
  cursor: pointer;
}

input[type="checkbox"] {
  margin: 0 4px 0 0;
}

textarea {
  height: 200px;
}

input[type="submit"]:hover {
  cursor: pointer;
}

form {
  margin-top: 30px;
}
form h3 {
  border-bottom: 1px dashed #d0d0d0;
  margin-bottom: 18px;
  padding-bottom: 15px;
}
form .float {
  float: left;
  width: 48%;
}
@media screen and (max-width: 480px) {
  form .float {
    float: none;
    width: 100%;
  }
}
form .float.left {
  margin-right: 4%;
}
form .no-float {
  clear: both;
}
form label {
  font-size: 15px;
  cursor: pointer;
}
form div {
  margin-bottom: 20px;
}
form p {
  margin-bottom: 6px;
  font-family: "ralewaysemibold", sans-serif;
}
form p span {
  font-family: "ralewayitalic", sans-serif;
}
form input[type="text"], form input[type="email"], form textarea, form select {
  width: 100%;
}
form .services label {
  margin-right: 30px;
}
@media screen and (max-width: 768px) {
  form .services label {
    margin-right: 12px;
  }
}
@media screen and (max-width: 600px) {
  form .services label {
    margin-right: 0;
    margin-bottom: 10px;
    display: block;
  }
}
form .expiration select {
  float: left;
  width: 48%;
}
form .expiration select:first-of-type {
  margin-right: 4%;
}

/*
 //// PRINT ////
*/
@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster:
       http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  form, header, footer {
    display: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
