/**
  Theme Name: Shiphay Dental
  Theme URI: http://www.shiphaydental.co.uk/
  Version: 1.0
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
  Description: A theme created for Shiphay Dental by Dental Design.
*/

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  color:#333;
}

h1, h2, h3, h4, h5, #nav, #info-bar, #testimonial-home {
  font-family: Helvetica, Arial, sans-serif;
}

h1 {
  font-size:26px;
  font-weight:normal;
  letter-spacing:0.08em;
  line-height:34px;
  color:#666;
  margin:10px 0;
}


h2 {
  font-size:22px;
  letter-spacing:0.04em;
  margin:20px 0 10px;
}

h3 {
  font-size:20px;
  letter-spacing:0.01em;
  margin-bottom:5px;
  color:#333;
}

h4 {
  font-size:18px;
  letter-spacing:0.01em;
  margin-bottom:5px;
  color:#333;
}

h5 {
  font-size:16px;
  letter-spacing:0.03em;
  color:#fff;
  margin:0;
  padding: 10px;

  background: #3a4348;
  -webkit-border-radius: 10px;
  border-radius: 10px; 
}

h6 {
  font-size:18px;
  letter-spacing:0.03em;
  color:#fff;
  margin:0;
  padding: 10px 20px;

  background: #3a4348;
  -webkit-border-radius: 10px;
  border-radius: 10px; 
}

h6.one {
  font-size:18px;
  letter-spacing:0.03em;
  color:#fff;
  margin:0;
  padding: 10px 20px;
  /*background: #9932CC;*/
  /*background: #0fa6b1;*/
  background: #7FC939;
   -webkit-border-radius: 0px;
  border-radius: 0px; 
}

h6.two {
  font-size:18px;
  letter-spacing:0.03em;
  color:#fff;
  margin:0;
  padding: 10px 20px;
  /*background: #E86C19;*/
  /*background: #0fa6b1;*/
  background: #7FC939;
   -webkit-border-radius: 0px;
  border-radius: 0px; 
}

h6.three {
  font-size:18px;
  letter-spacing:0.03em;
  color:#fff;
  margin:0;
  padding: 10px 20px;
  /*background: #6B8E23;*/
  /*background: #0fa6b1;*/
  background: #003480;
   -webkit-border-radius: 0px;
  border-radius: 0px; 
}

a {
  color:#4298ce;
  text-decoration:none;
}

a:hover {
  color:#287aae;
  text-decoration:underline;
}

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

.hr {
  height:1px;
  margin:10px 0;
  border-bottom:1px #e6e6e6 solid;
}

hr {
    border: 0;
    height: 1px;
  margin:20px 0;
    background: #eee;
}

strong {
  font-weight:700;
}

.alignright {
  float:right;
  margin:0 0 10px 20px;
  text-align:center;
}

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

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

.video-right {
  float:right;
  margin:0 0 10px 10px;
  padding:8px;
  border:1px solid #e6e6e6;
  background:#eee;
}

.col-left {
  float:left;
  display:inline;
  width:310px;
  margin:-5px 20px 0 0;
}

.col-right {
  float:left;
  display:inline;
  width:310px;
  margin:-5px 0 0 0;
}

ul.bullet-point {
    margin: 0;
    padding: 0;
  line-height:24px;
}

ul.bullet-point li {
    margin: 0px 0 0 20px;
    padding: 2px 0 2px 20px;
    list-style: none;
    background: url(images/bullet-point.png) no-repeat top left;
}

/* Header */


#header {
  width: 1000px;
  height: 100px;
  padding: 20px 0;
  margin: 0px auto;
  clear:both;
}

.logo {
  width:429px;
  float:left;
  margin: -10px 0 0 0;
  position: relative;
  z-index: 10;
}

.tel-number {
  float: right;
  font-size: 19px;
  margin: 50px 10px 0 0;
  color: #000;
  letter-spacing: -0.02em;
  text-align: right;
  width: 510px;
}

.news-image {
  width: 280px;
  height: auto;
  -webkit-border-radius: 6px;
  border-radius: 7px;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 0px 0px rgba(22, 22, 22, 0.59);
  }

 .title-text {
    padding: 15px 20px;
    font-weight: 600;
    text-align: center;
    float: left;
}

/* Navigation */

#nav {
  width: 960px;
  padding: 0 10px;
  margin: 0 auto;
  z-index: 9999;
  position: relative;
  background: #3a4348;
  -webkit-border-radius: 10px;
  border-radius: 10px; 
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav ul li {
  position: relative;
  float: left;
}

#nav a {
  text-decoration: none;
  letter-spacing: 0.02em;
  font-size: 13px;
  text-align: center;

  display: block;
  
  color: #fff;
  
  padding: 8px 9px 8px;
  margin:0;

  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -ms-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
  transition: all 400ms ease-in-out;
}

#nav a:hover {
  color:#00e8bf;
}

#nav ul ul {
  background:#529777; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
  background:rgba(82,151,119,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
  list-style:none;
  position:absolute;
  left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
  min-width: 140px;
}
#nav ul ul li {
  padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
  float:none;
}
#nav ul ul a{
  white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav ul li:hover ul { /* Display the dropdown on hover */
  left:0; /* Bring back on-screen when needed */
}
#nav ul li:hover ul li a {
  background: #529777;
  color:#fff;

  width:100%;
  padding: 8px 10px 8px;
  margin: 1px 0 0;

  border-top: 2px solid #529777;
  border-bottom: 2px solid #529777;
}
#nav ul li:hover ul a { /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
  text-decoration:none;
}
#nav ul li:hover ul li a:hover { /* Here we define the most explicit hover states--what happens when you hover each individual link. */
  background:#7bc0a0;
}

/* Main Content */

#content {
  width:960px;
  margin:0px auto;
  padding:20px;
}

#leftbar {
  width: 470px;
  padding: 0 10px 0 0;
  float:left;
  border-right: 1px solid #ccc;
}

#leftbar-noline {
  width: 470px;
  padding: 0 10px 0 0;
  float:left;
}

#sidebar {
  width: 469px;
  padding: 0 0 0 10px;
  float:left; 
}

.page-column {
  width: 29%;
  padding: 0 2%;
  float: left;
  text-align: center;
}

.page-column p {
  text-align: justify;
}

.page-two-column {
  width: 46%;
  padding: 0 2%;
  float: left;
}

.page-two-column p {
  text-align: justify;
}

.page-two-column img {
  margin-bottom: 10px;
}

.page-two-column-text{
  text-align: center;
  padding-bottom: 10px;
  font-size: 24px;
}

.page-two-column-text p {
  text-align: center;
}

.page-gallery {
  width: 46%;
  padding: 0 2%;
  float: left;
}

.page-gallery-text {
  padding-top: 60px;
}

.home-box {
  float:right;
  margin:10px 0 10px 20px;
}

.home-fullwidth-image img {
  width: 100%;
}

.dp-sp-off {
  border: 2px solid #0B203F;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  clear: both;
}

/* Referral Form */

#referral-form {
  width: 920px;
  height: 1760px;
  padding: 10px 20px;
  margin:0;
  background: rgb(249, 249, 249);
}

#referral-form h2 {
  margin-bottom:8px;
}

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

#referral-form li {
  height: 25px;
  padding: 3px 0 2px 0;
  margin: 0 0 5px 0;
  clear:both;
}

#referral-form select {
  float: left;
  margin: 20px 0 0 60px;
  border: 1px solid #EBEBEB;
  padding: 5px;
  color: #A0A0A0;
  font-family: 'Raleway', sans-serif !important;
}

#referral-form li.standard {
}

#referral-form li.required {
}

#referral-form li.last {
  height: 33px;
  border:none;
  background:none;
}

#referral-form input {
  width: 60%;
  height: 15px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  float:right;
  border:1px solid #E6E6E6;
  font-family: 'Raleway', sans-serif !important;
}

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

#referral-form textarea {
  width: 60%;
  height: 70px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  background: none;
  float:right;
  border:1px solid #E6E6E6;
  background:#fff;
  font-family: 'Raleway', sans-serif !important;
}

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

#referral-form label.bigger {
  width: 286px;
  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 {
  width: 140px;
  height: 40px;
  margin:10px 0 0;
  padding:10px 0;
  background: #2777A5;
  list-style:none;
  font-size:12px;
  text-indent:0px;
  color:#fff;
}

#referral-form .submit:hover {
  background: #4898C5;
  color:#fff;
  cursor:pointer;
}

/* End Referral Form */

/* appointment Form */

#appointment-form {
  /* width: 920px; */
  height: 580px;
  padding: 10px 20px;
  margin:0;
  background: rgb(249, 249, 249);
}

#appointment-form h2 {
  margin-bottom:8px;
}

#appointment-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#appointment-form li {
  height: 25px;
  padding: 3px 0 2px 0;
  margin: 0 0 5px 0;
  clear:both;
}

#appointment-form select {
  float: left;
  margin: 20px 0 0 60px;
  border: 1px solid #EBEBEB;
  padding: 5px;
  color: #A0A0A0;
  font-family: 'Raleway', sans-serif !important;
}

#appointment-form li.standard {
}

#appointment-form li.required {
}

#appointment-form li.last {
  height: 33px;
  border:none;
  background:none;
}

#appointment-form input {
  width: 60%;
  height: 15px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  float:right;
  border:1px solid #E6E6E6;
  font-family: 'Raleway', sans-serif !important;
}

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

#appointment-form textarea {
  width: 60%;
  height: 70px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  background: none;
  float:right;
  border:1px solid #E6E6E6;
  background:#fff;
  font-family: 'Raleway', sans-serif !important;
}

#appointment-form label {
  /* width:225px; */
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}

#appointment-form label.bigger {
  width: 286px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}

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

#appointment-form .submit {
  width: 140px;
  height: 40px;
  margin:10px 0 0;
  padding:10px 0;
  background: #2777A5;
  list-style:none;
  font-size:12px;
  text-indent:0px;
  color:#fff;
}

#appointment-form .submit:hover {
  background: #4898C5;
  color:#fff;
  cursor:pointer;
}

/* End appointment Form */

/* Testimonial */

#testimonial-home {
  float:right;
  width:675px;
  margin: 42px 0 0;
  padding: 40px;
  text-align: center;
  font-size: 24px;
  color: #eee;
  font-style: italic;
  letter-spacing: 0.03em;
  line-height: 34px;
}

.testimonial {
  width:673px;
  margin: 20px 0px 0px -10px;
  padding: 20px 25px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
}

.testimonial-quote {
  position: absolute;
  margin: -6px 0 0 -31px;
  width:34px;
  height:30px;
  background: url(images/testimonial-quote.png);
}

.patient-name {
  background: url(images/patient-name.png) no-repeat;
  margin: 20px 0 30px;
  padding: 6px 0 0 40px;
  font-size: 18px;
  color: #333;
  height: 32px;
}


/* Meet the team */

.team-profile {
  float:left;
  width: 29%;
  padding: 0 2%;
  text-align: center;
}

.team-profile img {
  margin:20px 0;
}

.centerprofile {
    margin: 10px 0 10px 100px;
  
}

/* Treatments */

.treatments-back {
  background:#def0e7;
  font-size: 16px;
  margin:-20px 0 20px -10px;
  padding:10px 10px;
  color: #666;
}

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

ul#treatments li {
  display: inline;
}

ul#treatments a {
  float: left;
  width: 30%;
  margin: 0 2% 2% 0;
  color: #fff;
  text-decoration:none;
  text-align: center;
  padding: 8px 0;
  border:2px solid #fff;
  
  background-color: #81a6b9;
  
  -moz-box-shadow: 1px 1px 1px #eee;
  -webkit-box-shadow: 1px 1px 1px #eee;
  box-shadow: 1px 1px 1px #eee;
  
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

ul#treatments a:hover {
  background: #4a7992;
  color: #fff;
}

/* Smile Gallery */

ul#gallery {
  height: 250px;
  list-style: none;
  padding: 0;
  font-weight: 300;
  font-size: 16px;
  font-style: italic;
}

ul#gallery li {
  float:left;
  margin:10px 20px 10px 0;
  text-align:center;
  width:288px;
  padding: 20px 25px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
}

ul#gallery li.right {
  float:right ;
  margin:10px 0 10px 0;
  text-align:center;
  width:288px;
  padding: 20px 25px;
  background: #f7f7f7;
  border: 1px solid #e6e6e6;
}

/* contact details */

.contact-email {
  background:url(images/contact-email.png) no-repeat;
  padding:0 0 0 22px;
  margin:5px 0;
}

.contact-phone {
  background:url(images/contact-phone.png) no-repeat;
  padding:0 0 0 22px;
  margin:5px 0;
}

.contact-address {
  background:url(images/contact-address.png) no-repeat;
  padding:0 0 0 22px;
  margin:10px 0 10px;
}

/* fee list */

ul.fees-title {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #3a4348;
  -webkit-border-radius: 10px;
  border-radius: 10px; 
  font-size: 15px;
  overflow:hidden;
  color:#fff;
  border-bottom: 0px solid #666;
}

ul.fees-row {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e6e6e6;
  
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

ul.fees-row:hover {
  background:#eee;
  padding: 0;
}

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

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

ul.fees-row li.fees-from,
ul.fees-title li.fees-from {
  float: left;
  width: 4%;
  text-align:right;

}

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

/* Team page */

.team-left, .team-right {
  width:616px;
  padding: 20px 25px;
  background: #f7f7f7;
  border: 1px solid #f0f0f0;
  min-height: 260px;
}

.team-left {
  float:left;
  margin: 20px 30px 20px 0px;
}

.team-right {
  float:right;
  margin: 20px 0px 20px 0px;
}

.team-name {
  font-size:24px;
  letter-spacing:-0.03em;
  color:#333;
  margin:10px 10px 10px 0;
}

.avatar-left, .avatar-right {
  width: 300px;
  border: 1px solid #f0f0f0;
}

.avatar-left {
  float: left;
  margin: 20px 30px 20px 0px;
}

.avatar-right {
  float: right;
  margin: 20px 0px 20px 0px;
}

.endo-holder {
  width: 100%;
}
.endo-text {
    width: 50%;

    float: left;
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0;
}

.referral-button {
    width: 39%;

    margin: 0 0 0 5%;
    float: left;
    background-color: rgb(118, 118, 118);
    padding: 3%;
    text-align: center;
    color: white;
    font-weight: 700;
    line-height: 22px;
    -webkit-border-radius: 12px; border-radius: 12px;
}

.referral-button a {
color:white;
}
/* Facial Rejuvenation */

.facial-rejuvenation {
  width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

a.facial-rejuv, a.facial-rejuv-end {
  float: left;
  width: 232px;
  padding: 16px 5px 18px 5px;
  background: #313760;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}

a.facial-rejuv {
  margin: 0px 10px 20px 0px;
}

a.facial-rejuv-end {
  margin: 0px 0px 20px 0px;
}

a.facial-rejuv:hover, a.facial-rejuv-end:hover {
  background: #4d5484
}

a.book-button, a.book-button-right {
  text-align: center;
  height: auto;
  color: #FFF;
  display: block;
  margin: 10px 0;
  padding: 10px;
  background-color: #3a4348;
  text-decoration: none;
  -webkit-border-radius: 6px;
  border-radius: 7px;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 0px 0px rgba(22, 22, 22, 0.59);
  position: absolute;
}

a.book-button:hover, a.book-button-right:hover {
  background: #3586dc;
}

a.book-button-right {
  float:right;
  position: relative;
  padding: 10px 21px;
  margin: 15px 0 10px 0;
}

/* Return to top of page */

.scrollup{
    width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
    bottom:14px;
    right:20px;
    display:none;
    text-indent:-9999px;
    background: url(images/icon_top.png) no-repeat;
}

/* Footer */

#footer {
  width:980px;
  background: #3a4348;;
  margin:20px auto;
  text-align: center;
  padding: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  color:#fff;
}

#footer a {
  color:#fff;
  font-size: 18px;
}

#footer a:hover {
  color:#ccc;
}

.two_third {
  width: 66.6%;
  margin: -30px 0 0 0;
}

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

.nav-mobile {
  display:none;
} 

/* Clear any divs containing floated elements */

#content:after,
#main-content:after,
#nav:after,
#sidebar:after,
.social:after,
.tel-number:after,
.email-address:after,
#quicklinks:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

@media only screen and (min-width:481px) and (max-width:768px) {
/* Style adjustments for viewports 768px and over go here */


#header, .facial-rejuvenation {
  width:768px;
}

#nav, #content {
  width:748px;
}

#content {
  padding: 10px;
}

#content iframe {
  width: 100%;
}


#leftbar, #leftbar-noline {
  width: 400px;
}

#sidebar, #sidebar img {
  width: 327px;
}

#sidebar img {
  height: 100%;
}

#referral-form, #referral-form li {
  width: 300px;
}

#referral-form input, #referral-form textarea {
  width: 188px;
}

#referral-form label {
  width: 100px;
}

#referral-form .submit {
  margin:10px 0 0 100px;
}

#footer {
  width:748px;
  padding: 10px;
}

#nav a {
  font-size: 13px;
  padding: 8px 5px;
}

.logo, .logo img {
  width:360px;
}

.home-fullwidth-image, .home-fullwidth-image img {
  width: 748px;
}

.tel-number {
  width:350px;
  margin: 38px 10px 0 0;
}

.team-profile img, .page-column img, .page-two-column img {
  width: 100%;
  height: 100%;
}

.page-two-column img {
  margin-bottom: 10px;
}

a.facial-rejuv, a.facial-rejuv-end {
  width: 174px;
  min-height: 30px;
  padding: 16px 5px 18px 5px;
  font-size: 12px;
}

.scrollup { 
  right:-60px;
}

.nav-mobile {
  display:none;
} 

}

@media only screen and (max-width:480px) {
/* Style adjustments for viewports 320px and over go here */

#header, .facial-rejuvenation {
  width:320px;
}

#header {
  height: 130px;
}

#content {
  width:300px;
}

#content {
  padding: 10px;
}

#content iframe {
  width: 100%;
}

#leftbar, #leftbar-noline {
  width: 300px;
  border: none;
  padding: 0;
}

#sidebar, #sidebar img, #leftbar img, #leftbar-noline img {
  width: 300px;
}

#sidebar img, {
  height: 100%;
}

#sidebar {
  padding: 0;
  height: 510px;
}

#referral-form {
  width: 300px;
  margin-left: -10px;
  height: 500px;
}

#referral-form li {
  width: 300px;
}

#referral-form input, #referral-form textarea {
  width: 188px;
}

#referral-form label {
  width: 100px;
}

#referral-form .submit {
  margin:10px 0 0 100px;
}

.logo, .logo img {
  width:320px;
  margin: 0 auto;
}

.tel-number {
  width:320px;
  padding: 10px 0;
  margin: 0 auto;
  text-align: center;
}

.content-column.two_third.last_column {
  width: 100%!Important;
}

.nav-mobile {
  width:300px;
  background: #3a4348;
  margin:0 auto;
  padding:10px;
  z-index:2;
  position:relative;
  display: block;
}

.nav-mobile select {
  width:100%;
}

.team-profile, .page-column, .page-two-column {
  width: 96%;
}

.page-column {
  margin-bottom: 20px;
}

.page-two-column-text {
  font-size: 18px;
  line-height: 32px;
}

.team-profile img, .page-column img, .page-two-column img {
  width: 100%;
  height: 100%;
}



a.facial-rejuv, a.facial-rejuv-end {
  width: 290px;
  margin: 5px 10px;
}

a.book-button {
  width: 280px;
}

.home-box, .home-box img {
  width: 300px;
  margin: 10px 0 0 0;
}

.scrollup { 
  right:-60px;
}

#footer {
  width:300px;
  padding: 10px;
}

#nav, .alignleft, .alignright {
  display: none;
}

}