/**
  Theme Name: Oak Lodge Dental Practice Theme
  Version: 1
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
*/

html {
  height: 100%;
  background: #333;
}

body {
  font-family: 'Oxygen', sans-serif;
  font-weight: 300;
  font-size: 13px;
  color: #333333;
  letter-spacing: 0.03em;
  background: #FFF;
}

h1 {
  color: #58784b;
  font-family: Georgia, serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 1.7em;
}

h2 {
  color: #58784b;
  font-family: Georgia, serif;
  font-weight: normal;
  text-transform: uppercase;
  font-size:1.4em;
}

h3, h4, h5, h6 {
  font-weight: normal;
}

p, ul, ol {
  line-height: 24px;
}

hr {
  clear: both;
  height: 1px;
  border:0;
  background: #bfbfbf;
  margin: 10px 0;
}

/* gdpr check box */

.gdpr input {
    width:  auto !important;
    height:  auto !important;
}
.gdpr {
    background: #fff;
}

.gdpr p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 18px;
}

input[type="checkbox"] {
    width: 14px !important;
    margin-left: 10px !important;
}

.gdpr-small {
    font-size: 11px;
    text-align: center;
    padding-top: 9px;
    clear: both;
}

/* END gdpr check box */


/* Header */

header {
  width: 100%;
  max-width: 1100px;
  margin:0 auto 20px;
  position: relative;
}

.centre {
  text-align: center;
}

.logo {
  float: left;
  margin: 40px 10px 10px;
}

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

.logo-centre {
  display: inline-block;
  margin:10px 0;
}

.contact-details2 {
  top:30px;
  right:10px;
  position: absolute;
  text-align: right;
}

.contact-details {
  float: right;
  text-align: right;
  margin: 73px 10px 10px;
}

.tel {
  font-family: Georgia, Serif;
  margin-bottom:5px; 
  color: #29868f;
  font-size: 26px;
}

.tel a {
  color: #29868f;
  text-decoration: none;
}

.email {
  font-size:20px;
  margin-bottom: 5px;
}

.email a {
  color: #58784b;
  text-decoration: none;
}

.address {
  font-size:15px;
  color: #58784b;
}

.social {
    /* margin: 67px 10px 10px; */
    /* float: right; */
    display: inline-block;
}

.social a, .social-mob a {
    width: 25px;
    padding: 10px;
    background: #0065B7;
    color: #fff;
    font-size: 20px;
    display: block;
    text-align: center;
    height: 25px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
}

.social a:hover, .social-mob a:hover {
  background: #3383C3;
}

.social-mob { display: none; }

.nhs-message {
  /*display: none;*/
  max-width: 600px;
  width: 96%;
  margin: 10px auto;
  text-align: center;
  clear: both;
  /* background: #1064A8; */
  color: #008DFF;
  font-weight:  700;
  font-size: 22px;
  padding: 10px 2%;
  border: 4px double rgba(0, 0, 0, 0.04);
}

.nhs-message p {
  margin: 0;
  font-size: 12px;
  color: #000;
}

/*Navigation*/

nav {
  background: #29868f;
  position: relative;
  z-index: 9999;
  margin: 0;
  width: 100%;
  -webkit-box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
  box-shadow: 0 2px 3px 0 rgba(0,0,0,0.2);
}

nav ul {
  text-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
  color: #FFF;
  padding: 10px 25px;
}

nav ul li {
  position: relative;
  display: inline-block;
  padding:10px 0;
  margin-left:-3px;
  cursor: pointer;
  border-right: 1px solid #FFF;
  z-index: 9999;
}

nav ul li:last-of-type {
  border-right: none;
}

nav ul li:hover {
  background: #1d5c62;
}

nav ul li ul {
  padding: 0;
  position: absolute;
  top: 44px;
  left: 3px;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transiton: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -ms-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -transition: opacity 0.2s;
}

nav ul li ul li { 
  background: #1d5c62; 
  display: block; 
  color: #fff;
  padding:10px 4px;
  border: none;
  float:none;
  text-align: center;
  line-height: 20px;
}
nav ul li ul li:hover {
  background: #58784b;
}

nav ul li:hover ul {
  display: block;
  opacity: 1;
  visibility: visible;
  width:97%;
  border-top:1px solid #FFF;
}

nav ul li ul li a {
  padding: 10px 0;
}
/* Slider */

.slider-container {
  position: relative;
}

#slider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
}

#slider img {
  display: none;
}

/* Content */

.content-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 20px auto 20px;
}

.content,
.left-box,
.middle-box,
.contact-form {
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  padding: 15px;
  min-height: 320px;
  box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
  -webkit-box-shadow: 0 0 3px 0 rgba(0,0,0,0.2);
}

.content {
  width: 75%;
  margin:0 2% 0 0;
  padding: 15px 20px;
  float: left;
  background: #F5F5F5;
}

.content a {
  color: #58784b;
}

.left-box {
  width: 20%;
  float: left;
  margin: 0 2% 0 0;
  background: #f5f5f5;
  text-align: center;
}

.left-box img {
  margin: 0 0 15px 0;
  max-width: 100%;
  height: auto;
}

.left-box img:hover {
  -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
  box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
}

.middle-box {
  width: 56%;
  float: left;
  margin: 0 2% 0 0;
  text-align: center;
  font-size: 14px;
}

.middle-box h1, .contact-form h1 {
  margin-top:5px;
}

.middle-box h1 {
  color: #FFF;
}

.middle-box p {
  line-height: 20px;
}

/* Contact Form */

.contact-form {
  width:23%;
  float: right;
  background: #f5f5f5;
  z-index:99;
  color: #58784b;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.thinner {
  width: 20%;
}

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

.contact-form li {
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width:94%;
  height:20px;
  margin-bottom: 5px;
  padding:7px 3%;
  border:none;
  font-size:0.8em;
  border-radius: 0;
  -webkit-border-radius:0;
  font-weight: 500;
}

.contact-form textarea {
  height:50px;
  overflow:auto;
  margin:0;
}

.contact-form input.wpcf7-form-control.wpcf7-submit {
    background: #58784b;
    color: white;
    height: 30px;
    font-weight: 500;
    font-size: 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 1px 1px #58784B;
  box-shadow: 0 0 1px 1px #58784B;
}

.contact-form li i {
  position: absolute;
  top:9px;
  right: 10px;
  color: #58784B;
}

.contact-form .submit {
  background: #58784b;
  color: #FFF;
  height:30px;
  text-transform: uppercase;
  width: 100%;
  margin:5px 0 10px;
}

.contact-form .submit:hover {
  background:#445c3a;
}

/*Ream Page*/

ul.team-list {
  list-style: none;
  margin:20px;
  padding: 0;
}

ul.team-list li {
  width: 31%;
  float: left;
  margin: 0 3% 15px 0;
  text-align:center;
  font-size: 13px;
  line-height: 20px;
}

ul.team-list li:nth-child(3) {
  margin-right:0;
}

.team-name {
  font-size: 14px;
  font-weight: bold;
}

ul.team-list li img {
  width: 100%;
  height: auto;
}

/* Treatments */

ul.treatments {
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
}

ul.treatments li {
  display: inline;
}

ul.treatments a {
  float: left;
  width: 30%;
  margin: 0 1.5% 1.5% 0;
  color: #fff;
  text-decoration:none;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  background: #29868F;
  border:3px solid #FFF;
}

ul.treatments a:hover {
  background: #1D5C62;
  color: #fff;
}


.offer-box {
  text-align: center;
  width: 90%;
  margin: 15px 5%;
  padding: 15px;
  background:#FFF;
  border: 1px solid #58784B;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

/* Testimonials */

.testimonial {
    padding: 10px 30px;
    background-color: #fbfbfb;
    border-radius: 10px;
    border: 1px solid #ddd;
    position: relative;
}

.testimonial strong {
    display: block;
    text-align: right;
}

.testimonial:before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 23px 22px 0;
    border-color: transparent #ddd transparent transparent;
    position: absolute;
    bottom: -22px;
    right: 80px;
}

.testimonial:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent #fbfbfb transparent transparent;
    position: absolute;
    bottom: -20px;
    right: 81px;
}


/* Footer */

.footer-wrap {
  background: #29868f;
  color: #FFF;
}

footer {
  width: 100%;
  max-width: 1100px;
  padding: 15px 0;
  margin: 0 auto;
}

footer h1, footer h2 {
  color: #FFF;
}

.footer-address {
  float: left;
  width: 33%;
  text-align: center;
  line-height: 25px;
}

.footer-address p {
  font-size:15px;
}

.footer-address a {
  color: #FFF;
}

/* opening hours */

.opening-hours {
  float:left;
  width: 33%;
  text-align:center;
  padding: 0;
}

.opening-hours h2 {
  margin:0 0 15px;
}

.opening-hours-row {
  display: inline-block;
  border-bottom:1px solid #FFF;
  width:80%;
  padding:6px 0 9px;
}

.opening-hours-row:last-child {
  border:0;
}

.opening-hours-day {
  width:35%;
  padding-left:5px;
  float:left;
  text-align:left;
  display:inline;
}

.opening-hours-time {
  width:55%;
  float:right;
  text-align:right;
  padding-right:5px;
  display:inline;
}

.contact-map {
  float: left;
  width:34%;
  text-align: center;
}

.copyright {
  background: #333333;
  color: #FFF;
  text-align: center;
  padding:1px 0;
}

.copyright a {
  color: #FFF;
}

.content a:hover,
.copyright a:hover,
footer a:hover {
  text-decoration: none;
}


/* Clear floated elements */

header:after,
.content-wrap:after,
ul.team-list:after,
ul.treatments:after,
footer:after {
  content:".";
  clear:both;
  height:0;
  display:block;
  visibility:hidden;
}

nav li,
.contact-form .submit,
ul.treatments a,
.left-box img {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

/**
  theme requirements as per 
  http://codex.wordpress.org/CSS
*/
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

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

.alignright {
   float: right;
   margin: 0 0 10px 10px;
   padding: 5px;
   background: #fbfbfb;
   border: 1px solid #ddd;
}

img.alignright {
  width: 250px;
  height: auto;
}

.flexnav {
  display: none;
}

.clearing {
    clear: both;
    margin: 30px 0;
}

.ddl-cookies-happy {
    background-color: #8bc53e !important;
}
#ddl-cookies-header {
    background-color: #29868f !important;
}

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

  header {
    width: 99%;
  }

  nav a {
    padding: 10px 20px;
  }

  .content-wrap {
    width: 96%;
    margin:2%;
  }

  footer {
    width: 99%;
  }

}

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

  nav a {
    padding:10px 15px;
  }

  .middle-box h1 {
    font-size:1.4em;
  }

  .middle-box p {
    font-size:0.9em;
  }

  ul.treatments a {
    font-size: 13px;
  }

}

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

  .desktop {
    display: none;
  }

  .flexnav {
    display: block;
  }

  ul.treatments a {
    width: 47%;
  }

}

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

  .left-box {
    display: none;
  }

  .middle-box, .content {
    width: calc(98% - 200px);
    margin: 0;
  }

  .contact-form, .thinner {
    width: 200px;
  }

}

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

  .social { display: none; }

  .social-mob {
    display: block;
    margin: 0;
    float: none;
    clear: both;
  }

  .social-mob a { margin: 0 auto; }

}

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

  .address {
    font-size:13px;
  }

  .middle-box, .content, .contact-form, .thinner {
    width: 100%;
    margin-bottom: 2%;
    min-height: 0;
  }

  .middle-box, .content {
    margin-bottom: 2%;
  }

  .footer-address {
    display: none;
  }

  .opening-hours, .contact-map {
    width: 49%;
  }

}

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

  header {
    margin-bottom: 0;
    padding-top:1px;
  }

  .logo {
    width: 45%;
    margin-top:30px;
  }

  .contact-details {
    margin-top:35px;
  }

  .address {
    display: none;
  }

}

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

  .email {
    display: none;
  }

  .logo, .contact-details {
    width: 90%;
    max-width: 320px;
    text-align: center;
    margin:10px auto 0;
    float: none;
  }

  .contact-details {
    margin-bottom: 8px;
  }

  .slider-container {
    display: none;
  }

  .content {
    padding: 10px;
  }

  ul.treatments a {
    width: 98%;
  }

  .opening-hours, .contact-map {
    width: 100%;
  }

  h1 {
    font-size:1.6em;
  }

  h2 {
    font-size:1.3em; 
  }

  h3 {
    font-size:1.1em;
  }

  p, ul, ol {
    font-size:0.9em;
    line-height: 22px; 
  }

  .no-mob { display: none; }
  img.alignright {
    display: block;
    float: none;
    margin: 0 auto 30px;
}
}

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

  ul.team-list li {
    width: 100%;
  }

}