/*
  Theme Name: Groves Dental Centre
  Theme URI: http://www.grovesdentalcentre.co.uk/
  Version: 1.0
  Author: Dental Design Products Limited
  Author URI: http://www.dental-design.co.uk
  
  Description: A theme created for Groves Dental Centre by Dental Design Products Limited.
  */

  * {
    margin: 0;
    padding: 0;
  }

  body, .feedback-input, .footer-wrapper h3 small {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
  }

  header, nav, .big_text, ul.promo-boxes li, h1, h2, h3, h4, a.all-btn, #button-green, .flexnav, .menu-button {
    font-family: 'Muli', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;
  }

  body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: #f6f6f6;
    color: #333;
  }

  header {
    width: 100%;
    height: 230px;
    background: #fff;
  }

  section {
    width: 1200px;
    margin: 0 auto;
  }

  strong {
    font-weight: 700;
  }

  a {
    color: #87807a;
    text-decoration: none;
  }

  a:hover {
    color: #daa37f;
  }

  p {
    line-height:24px;
    margin:15px 0;
  }

  ol, ul {
    line-height:24px;
    margin: 15px 40px;
  }

  hr, hr.trans, hr.over {
    border: 0;
    height: 1px;
    margin: 30px 0;
    background: rgba(0, 0, 0, 0.06);
    clear: both;
  }

  hr.trans {
    background: rgba(0, 0, 0, 0);
  }

  h1 {
    font-size: 32px;
    color: #646b73;
  }

  h2 {
    font-size: 26px;
    color: #bac8c7;
    margin: 0 0 10px;
  }

  h3 {
    font-size: 24px;
    color: #a1a9b2;
  }

  h4 {
    font-size: 20px;
    color: #79818b;
  }

  h5,h6 {
    font-weight: 400;
  }

  h5 {
    font-size: 18px;
    color: #749c94;
  }

  h6 {
    font-size: 18px;
    color: #bcb0a5;
    margin: 0 0 10px;
  }

  a.all-btn {
    padding: 16px 20px 15px;
    color: #87807a;
    text-decoration: none;
    position: relative;
    z-index: 9998;
    margin-top: 20px;
    font-size: 13px;

    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
  }

  a.all-btn:hover {
    background: #9dc1ba;
    color: #fff;
  }

  a.all-btn i {
    color: #749c94;
    margin-right: 10px;
  }

  .aligncenter,
  div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .alignright,
  .alignleft,
  .video-right,
  .video-youtube {
    padding:10px;
    background: #fff;
    border:1px #eee solid;
  }

  .alignright {
    float:right;
    margin:0 0 10px 20px;
  }

  .alignleft {
    float:left;
    margin:0px 20px 10px -10px;
  }

  .video-right,
  .video-youtube {
    float:right;
    margin:5px 0 10px 20px;
  }

  .video-right,
  .video-right iframe {
    width: 400px;
    height: 300px;
  }

  .video-right iframe {
    box-sizing: border-box;
  }

  .video-youtube,
  .video-youtube iframe {
    max-width: 500px;
    height: 281px;
    width: 100%;
  }

  .video-right-home,
  .video-right-home iframe {
    max-width: 560px;
    height: 315px;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-details {
    color: #87807a;
    padding: 90px 0 0;
  }

  .contact-details i {
    padding: 14px 0;
    min-width: 48px; 
    background: url(images/icon-header.png) no-repeat;
    color: #749c94;
  }

  .phone-no {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #749c94;
  }

  .logo {
  }

  .center-text {
    text-align: center;
  }

  .green-text {
    color: #749c94;
  }

  /* font-awesome */

  .fa-1 {
    font-size: 1.5em !important;
  }

  .fa-2 {
    font-size: 2em !important;
  }

  .fa-3 {
    font-size: 2.4em !important;
  }

  .fa-4 {
    font-size: 3em !important;
  }

  .fa-5 {
    font-size: 4.4em !important;
  }

  .fa-6 {
    font-size: 1.15em !important;
  }

  .fa-ul {
    padding-left: 20px !important;
  }

  .fa-li {
    top: .13185714em !important;
    padding: 2px 10px 0 30px;
  }

  .fa-check-square,
  .fa-square {
    margin-left: -30px;
    color: #759c94;
  }

  .fa-square {
    color: #87807a;
  }

  /* columns */

  .col-50,.col-45,.col-44,.col-66,.col-33,.col-29,.col-25,.col-23,.col-10 {
    float: left;
  }

  .col-50 {
    width: 50%;
  }

  .col-45 {
    width: 45%;
  }

  .col-44 {
    width: 44%;
    padding: 0 3%;
  }

  .col-66 {
    width: 66.66666667%;
  }

  .col-33 {
    width: 33.33333333%;
  }

  .col-29 {
    width: 29.33333333%;
    padding: 1%;
  }

  .col-25 {
    width: 25%;
  }

  .col-23 {
    width: 23%;
    padding: 1%;
  }

  .col-10 {
    width: 10%;
  }

  .contact-box, .testimonial-box {
    min-height: 491px;
    max-height: 491px;
    background: #fff;
    width: 49%;
  }

  .contact-box {
    margin-left: 1%;
  }

  .testimonial-box {
    margin-right: 1%;
  }

  .contact-box {
  /*background: url(images/bg-contact.jpg) no-repeat;
  background-size: cover;*/
}

.testimonial-box {
  /*background: url(images/bg-testimonials.jpg) no-repeat;
  background-size: cover;*/
}

.testimonial-box i,
.contact-box i {
  color: #749c94;
}

.testimonial-box i,
.contact-box i  {
  font-size: 0.6em;
  margin-bottom: 10px;
}

.testimonial-box h3, .contact-box h3 {

}

.section-content {
  text-align: center;
  font-size: 24px;

  font-weight: 300;
  padding: 50px 10%;
}

.section-content p {
  line-height: 28px;
}

.testimonial-box, .contact-box {
  position: relative;
}

.section-image {
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* columns */

ul.column1,
ul.column2,
ul.column3,
ul.column4 {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

ul.column1 li,
ul.column2 li,
ul.column3 li,
ul.column4 li {
  float: left;
  width: 29.3333333333%;
  background: rgba(0,0,0,.02);
  margin: 1%;
  padding: 1%;
  text-align: center;
}

ul.column4 li {
  width: 21%;
}

ul.column2 li {
  width: 44%;
  padding: 2%;
}

ul.column1 li {
  width: 94%;
  padding: 2%;
}

ul.column2 li img,
ul.column3 li img,
ul.column4 li img {
  width: 100%;
  height: auto;
  margin: 0 0 20px;
}

ul.column2 h2 {
  margin: 20px 0 10px;
}

ul.column3 h2 {
  margin: 10px 0;
}

ul.column2 h3
ul.column3 h3 {
  margin: 20px 0 0;
  font-size: 20px;
}

ul.column2 h4,
ul.column3 h4 {
  margin: 0;
}

ul.column4 h4 {
  margin: 0 0 10px;
}

ul.column2 h4,
ul.column3 h4,
ul.column4 h4 {
  font-size: 20px;
}

ul.column4 li:hover {
  background: rgba(0,0,0,.1);
}

ul.column3 .all-btn {
  top: 10px;
  margin-bottom: 30px;
}

ul.team-box li {
  padding: 1% 1% 30px;
  min-height: 360px;
}

ul.contact-page-box i,
ul.column1 i {
  color: #749c94;
}

ul.contact-page-box li {
  min-height: 417px;
}

ul.contact-page-box li h3 {
  margin-top: -10px; 
}

ul.contact-page-box li ul.column2 {
  margin: 20px 0 0;
}

ul.contact-page-box li ul.column2 li {
  min-height: inherit !important;
  padding: 15px 2% 25px;
  max-height: 50px;
}

ul.contact-page-box li ul.column2 li small {
  font-size: 0.5em;
  top: -10px;
  position: relative;
}

ul.column1 iframe {
  margin-top: 20px;
}

ul.col-directions i {
  color: rgba(0,0,0,.1);
  font-size: 2em;
  margin-bottom: 10px;
}

ul.treatment-boxes li {
  min-height: 400px;
}

/* contact form */

#feedback-page {
  text-align:center;
}

#form-main {
  width:100%;
  float:left;
  margin: 20px 0 0;
  position: relative;
  z-index: 3;
}

#form-div {
  width: 100%;
  float: left;
}

#form-div p {
  margin: 3px 0;
}

.feedback-input {
  color:#333;
  font-weight:300;
  font-size: 13px;
  border-radius: 0;
  line-height: 20px;
  background: rgba(0,0,0,.05);
  padding: 4px 5% 4px 10%;
  width:100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  border: 2px solid rgba(0,0,0,0);
}

.feedback-input:focus {
  background: rgba(0,0,0,.1);
  box-shadow: 0;
  border: 2px solid #88a1be;
  color: #121212;
  outline: none;
  padding: 4px 5% 4px 12%;
}

.focused {
  color:#121212;
  border:rgba(0,0,0,1);
}

/* Icons ---------------------------------- */
#name, #name:focus, #tel, #tel:focus, #email, #email:focus, #comment {
  background-size: 34px 18px;
  background-position: 9px 5px;
  background-repeat: no-repeat;
}

#name {
  background-image: url(images/form/name.svg);
}

#name:focus {
  background-image: url(images/form/name.svg);
}

#tel {
  background-image: url(images/form/tel.svg);
}

#tel:focus {
  background-image: url(images/form/tel.svg);
}


#email {
  background-image: url(images/form/email.svg);
}

#email:focus {
  background-image: url(images/form/email.svg);
}

#comment {
  background-image: url(images/form/comment.svg);
}

textarea {
  width: 100%;
  height: 110px;
  line-height: 150%;
  resize:vertical;
  margin-top: 1px;
}

input:hover, textarea:hover {
  background: rgba(255,255,255,.8);
}

input:focus, textarea:focus {
  background: rgba(255,255,255,.8);
}

#button-green {
  float:left;
  width: 100%;
  cursor:pointer;
  color:white;
  font-size:14px;
  margin-top:0;
  letter-spacing: 0.02em;

  padding: 13px 20px 12px;
  
  color: #fff;
  text-decoration: none;
  cursor: pointer;

  background: #749c94;
  border: 1px solid #608c83;
}

#button-green:hover {
  background: #517a72;
}

.submit:hover {
  color: #fff;
}

/* slider-wrapper */

.slider-wrapper {
  width: 100%;
  height: auto;
}

/* text area */

.content-wrapper {
  width: 100%;
  margin: 0;
  background: #f6f6f6;
  position: relative;
  z-index: 10;
}

.text-area, .text-area-ql {
  width: 1200px;
  padding: 30px 0;
  position: relative;
  z-index: 11;
  margin: 0 auto;
  top: 0;
  min-height: 300px;
  /* overflow: auto; */
}

.text-area h1 {
  line-height: 28px;
  border-bottom: 1px solid #f6f6f6;
  margin: 0 0 20px;
  padding: 0 0 10px 0;

  /*padding: 0 0 10px 80px;
  background: url(images/icon-title.png) no-repeat -4px -5px;*/
}

.text-area h1 small {
  font-size: 0.7em;
  color: #759c94;
}

/* promo boxes */

ul.promo-boxes {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

ul.promo-boxes li {
  width: 14.8%;
  float: left;
  min-height: 70px;
  padding: 26px 5%;
  height: auto;
  overflow: auto;
  background: #eee;
  text-align: center;
  margin: 0.1%;

  font-size: 16px;
  line-height: 18px;
}

ul.promo-boxes li i {
  margin-bottom: 10px;
}

ul.promo-boxes li.denplan-box,
ul.promo-boxes li.parking-box,
ul.promo-boxes li.emergency-box,
ul.promo-boxes li.booking-box {
  color: #fff;
}

ul.promo-boxes li.denplan-box {
  background: #759c94;
}

ul.promo-boxes li.parking-box {
  background: #cfc7b0;
}

ul.promo-boxes li.emergency-box {
  background: #bcb0a5;
}

ul.promo-boxes li.booking-box {
  background: #87807a;
}

/* icons */

.circular-icons {
  position: relative;
  z-index: 4;
  padding: 20px 0 30px;
}

.icon-section {
  padding-bottom: 10px;
}

.icon-section2 {
  border-bottom: 1px solid #ccc;
}

.icon-heading {
  width: 1000px;
  margin: -40px 0 0 140px;
  position: absolute;
  color: #87807a;
}

.icon-text {
  float: left;
  width: 153px;
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */

.footer-wrapper {
  width: 100%;
  overflow: auto;

  background: #e5e5e5;
  padding: 50px 0 80px;
  position: relative;
}

.footer-wrapper h3 {
  font-size: 26px;
  line-height: 26px;
}

.footer-wrapper h3 small {
  font-size: 0.5em;
}

.footer-wrapper h5 {
  margin: 20px 0 5px;
}

.footer-wrapper hr {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-wrapper i {
  margin-bottom: 10px;
}

.footer-wrapper .fa-mobile {
  font-size: 0.8em;
}

.footer-wrapper a {
  color: #f0e6cf;
}

.footer-wrapper a:hover {
  color: #f5f2ea;
}

.footer-wrapper a.all-btn {
  color: #87807a;
}

.footer-wrapper a.all-btn:hover {
  color: #fff;
}

.footer-map {
  top: 15px;
  position: relative;
}

.contact-info {
  padding: 10px 0;
  overflow: auto;
  position: relative;
  z-index: 20;
}

.contact-info h2 {
  font-size: 32px;
  color: #fff;
  margin: 15px 10px;
}

.phone {
  color: #eee;
}

.footer-wrapper a.all-btn {
  top: 30px;
}

.logo-stamp {
  width: 390px;
  height: 490px;
  background: url(images/logo-stamp.png) no-repeat;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.copyright-wrapper {
  width: 100%;
  overflow: auto;

  background: #d5d5d5;
  padding: 30px 0;
  position: relative;
}

.footer-wrapper i, .copyright-wrapper i {
  color: #fff;
}

/* quicklinks homepage - image hover effects */

.grid {
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  list-style: none;
  text-align: center;
}

.grid li {
  display: inline-block;
  width: 387px;
  margin: 0;
  padding: 3px 5px;
  text-align: left;
  position: relative;
}

.grid figure {
  margin: 0;
  position: relative;
}

.grid figure img {
  max-width: 100%;
  display: block;
  position: relative;
}

.grid figcaption {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  background: #fff;
  border: 5px solid #759c94;
  z-index: 11;
}

.grid figcaption h3 {
  margin: 0;
  padding: 0;
}

.grid figcaption span:before {
  content: 'by ';
}

/* Individual Caption Styles */

/* Caption Style 1 */
.cs-style-1 figcaption {
  height: 240px;
  width: 337px;
  opacity: 0;
  text-align: center;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
  -moz-transition: -moz-transform 0.6s, opacity 0.6s;
  transition: transform 0.6s, opacity 0.6s;
}

.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
  opacity: 1;
}

.cs-style-1 figcaption h3 {
  margin-top: 30px;
}

.cs-style-1 figcaption span {
  display: block;
}

.cs-style-1 .all-btn {
  top: 20px;
}

/* page banner */

.banner {
  width: 100%;
  height: 350px;
  position: relative;
  z-index: 9;
  margin-top: -51px;
}

.banner img {
  width: 100%;
  height: auto;
  overflow: hidden;
  max-height: 450px;
  margin-top: -51px;
}

.page-title {
  width: 1200px;
  z-index: 8;
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin: 0 0 0 -600px;
}

.page-title h1 {
  font-size: 30px;
}

/* fees */

ul.fees-title {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
  overflow:hidden;
  text-align: left;

  background: #e7efed;
}

.fees-title-main {
  background: #759c94 !important;
  color: #fff !important;
  font-size: 20px !important;
}

ul.fees-row {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
  text-align: left;
  overflow: auto;
}

ul.fees-row:hover {
  background:#fff;
  padding: 0 2px 0 2px;
  color:#000;
}

ul.fees-row li,
ul.fees-title li {
  padding: 12px 2%;
  display: inline;
}

ul.fees-row li.fees-item,
ul.fees-title li.fees-item {
  float: left;
  width: 53%;
}

ul.fees-row li.fees-from,
ul.fees-title li.fees-from {
  float: left;
  width: 10%;
  font-size:11px;
}

ul.fees-row li.fees-price,
ul.fees-title li.fees-price {
  float: right;
  width: 20%;
}

ul.fees-row li.fees-denplanitem,
ul.fees-title li.fees-denplanitem {
  float: left;
  width: 43%;
}

ul.fees-row li.fees-price-col1,
ul.fees-title li.fees-price-col1 {
  float: right;
  width: 15%;
}

ul.fees-row li.fees-price-col2,
ul.fees-title li.fees-price-col2 {
  float: right;
  width: 15%;
}

ul.fees-highlight {
  margin: 0 0 20px;
  clear: both;
  list-style: none;
}

ul.fees-highlight li {
  width: 44%;
  background:#e7efed;
  padding: 4% 2% 2%;
  margin: 3% 1%;
  float: left;
  text-align: center;
}

ul.fees-highlight li h4 {
  font-size: 34px;
  font-weight: 700;
  margin: 20px 0 35px;
}

ul.fees-highlight li small {
  font-weight: 300;
}

ul.fees-highlight li i {
  margin-right: 10px;
}

/* Referral Form */

.referral-form {
  width: 680px;
  height: 299px;
  padding:0;
  margin:0;
  display:inline; 
}


.referral-form h2 {
  margin:50px 0 10px;
}

.referral-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.referral-form li {
  height: auto;
  overflow: auto;
  padding: 3px 0 2px 0;
  margin: 0 0 5px 0;
  clear:both;
}

.referral-form select {
  float: left;
  margin: 20px 0 0 0;
  border: 1px solid #EBEBEB;
  padding: 5px;
}

.referral-form li.standard {
}

.referral-form li.required {
}

.referral-form li.last {
  border:none;
  background:none;
}

.referral-form input {
  width: 78%;
  height: 15px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  float:left;
  border:1px solid #E6E6E6;
  font-style: italic;

}

.bigger-input-field {
  height:24px !important;
}

.referral-form textarea {
  width: 78%;
  height: 70px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  background: none;
  float:left;
  border:1px solid #E6E6E6;
  background:#fff;
  font-style: italic;
}

.referral-form label {
  width:225px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}


.referral-form label.dental-wish {
  width: 394px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}

.referral-form .submit {
  padding: 16px 20px 15px;
  
  text-decoration: none;
  position: relative;
  z-index: 9998;
  margin-top: 20px;
  font-size: 20px;
  float: right;
  max-width: 300px;
  height: 60px;

  background: #9dc1ba;
  color: #fff;
  
}

.referral-form .submit:hover  {
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  color: #87807a;
}

.maps iframe{
  pointer-events: none;
}

/* testimonials */

.testimonial {
  width:24%;
  margin:1% 1.5%;
  padding:2% 3%;
  position: relative;
  font-size: 20px;
  font-style: italic;
  line-height: 24px;
  color: #666;
  background: rgba(0,0,0,.02);
}

.testimonial:before {
  content: '\f10d';
  font:normal normal normal 30px/1 FontAwesome;
  position: absolute;
  top:10px;
  left: -10px;
  color: #016644;
}

.testimonial cite {
  font-weight: 700;
  font-style: normal;
  color: #121212;
}

.testimonial h3 {
  color: #333;
}

.flexnav, .menu-button, .mob-icons-wrapper {
  display: none;
}

/* clear any elements that contain floated divs */

header:after,
.slider-wrapper:after,
.mob-icons-wrapper:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

/* transitions */

a, .feedback-input, #button-green, ul.fees-row, nav, .referral-form .submit, .mob-icons,
.mob-icons a {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

@media only screen and (max-width: 1685px) {

  .section-image {
    display: none;
  }

  .section-left,
  .section-right {
    width: 85%;
  }

  .section-left {
    float: right;
  }

  .col-45 {
    width: 43%;
  }

  .col-10 {
    width: 14%;
  }

  .contact-box, .testimonial-box {
    min-height: 491px;
  }

}

@media only screen and (max-width: 1300px) {

  .nav-wrapper-landing {
    background: #fff !important;
  }

}

@media only screen and (max-width: 1200px) {

  .circular-icons, .grid li:nth-child(9) {
    display: none;
  }

  .section-left,
  .section-right {
    width: 80%;
  }

  section, .page-title, .text-area, .text-area-ql {
    width: 96%;
    padding: 2%;
  }

  .banner {
    height: auto;
  }

  .banner img {
    margin-top: -50px;
  }

  .page-title {
    left: 0;
    margin: 0;

  }

  nav ul li a, nav ul li.nav-icon a {
    width: inherit;
  }

  nav ul li a {
    font-size: 11px;
    padding: 18px 15px 16px;
  }

  .contact-details {
    padding: 60px 0 0;
    font-size: 14px;
  }

  .logo img {
    width: 40%;
    height: auto;
  }

  .footer-wrapper {
    border-top: 1px solid #fff;
  }

}

@media only screen and (max-width: 1060px) {

  ul.promo-boxes {
    display: none;
  }

  nav ul li a {
    padding: 18px 10px 16px;
  }

  .logo img {
    width: 45%;
  }

  .col-45 {
    width: 50%;
  }

  .section-left, .section-right {
    width: 100%;
  }

}

@media only screen and (max-width: 1024px) {

  .nav-wrapper-landing, .nav-wrapper {
    display: none;
  }

  .flexnav, .menu-button {
    display: block;
  }

  ul.column2 li iframe {
    width: 100%;
    height: auto;
    min-height: 250px;
  }

  ul.team-box li {
    min-height: 380px;
  }

  .copyright-wrapper a.all-btn {
    font-size: 11px;
  }

  .banner img {
    margin-top: 0;
  }

}

@media only screen and (max-width: 900px) {

  .col-50 {
    width: 100%;
  }

  .logo {
    width: 40%;
  }

  .logo img {
    width:70%;
  }

  .contact-details {
    width: 30%;
  }

  .section-left,
  .section-right {
    width: 100%;
  }

  .col-45 {
    width: 100%;
  }

  .contact-box, .testimonial-box {
    min-height: 450px;
  }

  .video-right, .video-right iframe {
    width: 300px;
    height: 225px;
  }

  ul.column3 li {
    width: 46%;
  }

  .copyright-wrapper a.all-btn {
    padding: 13px 10px 11px;
    font-size: 10px;
  }

  .banner {
    height: auto;
  }

  .banner h1 {
    font-size: 24px;
  }

  .page-title {
    bottom: 20px;
  }

  .text-area {
    top: 0;
  }

  .content-wrapper {
    margin: 0;
  }

  .contact-box {
    margin: 2% 0;
  }

  .testimonial-box {
    margin-right: 0;
  }

}

@media only screen and (max-width: 768px) {

  .contact-details, .grid li:nth-child(7), .grid li:nth-child(8) {
    display: none;
  }

  ul.column2 li, ul.column3 li, .col-44 {
    width: 94%;
  }

  ul.column2 li {
    min-height: 300px;
  }

  img.alignright {
    width: 40%;
    height: auto;
  }

  .copyright-wrapper a.all-btn {
    display: block;
    top: 0;
    margin-top: 5px;
    padding: 10px 20px 10px;
    font-size: 13px;
  }

  .footer-wrapper .fa-3 {
    margin-bottom: 10px;
  }

  .footer-wrapper .fa-clock-o {
    margin-top: 50px;
  }

  .mob-icons-wrapper {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 15;
  }

  .mob-icons {
    float: left;
    margin: 0.25%;
    text-align: center;
  }

  .mob-icons,
  .mob-icons a,
  .mob-icons:hover,
  .mob-icons a:hover {
    width: 12.17%;
    padding: 3% 2%;
    color: #fff;
    cursor: pointer;
  }

  .mob-icons {
    background: #759c94;
  }

  .mob-icons:hover {
    background: #618981;
    color: #fff;
  }

  .logo {
    width: 100%;
    text-align: center;
  }

  .logo img {
    width:40%;
  }

  header {
    height: auto;
  }

}

@media only screen and (max-width: 680px) {

  .slider-wrapper {
    display: none;
  }

  .video-right, .video-right iframe {
    width: 100%;
    height: 300px;
    border: none;
    padding: 0;
    margin: 0 0 30px 0;
  }

  img.alignright {
    width: 30%;
  }

  .banner {
    min-height: 250px;
  }

  .banner img {
    width: inherit;
    min-height: 250px;
    overflow: inherit;
  }

}

@media only screen and (max-width: 500px) {

  .logo img {
    width:50%;
  }

}

@media only screen and (max-width: 400px) {

  .mob-icons,
  .mob-icons a,
  .mob-icons:hover,
  .mob-icons a:hover {
    width: 12%;
  }

  .cs-style-1 figcaption {
    height: 212px;
    width: 300px;
  }

  .grid li {
    width: 350px;
  }

  .page-title {
    bottom: 0px;
  }

  .page-title h1 {
    font-size: 24px;
    line-height: 30px;
  }

}

@media only screen and (max-width: 320px) {

  .cs-style-1 figcaption {
    width: 220px;
    height: 150px;
  }

  .cs-style-1 figcaption h3 {
    margin-top: 10px;
    font-size: 20px;
  }

  .cs-style-1 figcaption p {
    font-size: 13px;
    line-height: 18px;
    margin: 5px 0;
  }

  .cs-style-1 figcaption .all-btn {
    font-size: 12px;
    padding: 12px 15px 11px;
  }

  .grid li {
    width: 270px;
  }

}