/*  
Theme Name: Tasman Dental Responsive
Theme URI: http://sww.co.nz/
Description: Custom theme by Stellar Web Works, updated in 2018 to be responsive
Version: 1.0
Author: Aidan Curran
Author URI: http://sww.co.nz/
*/
/*
Colours:
   #1A96C8 - Blue/teal - headers, links
   #00427A - Navy blue - headers, hover/active links
   #595959 - Charcoal - text
   #737373 - Grey - header text
   #5990A6 - greyish teal - footer text
   #FF9B05 - orange - secondary nav
*/
html,body {
	margin:0;
	padding:0;
   text-align: center;
	font-family: "trebuchet ms", trebuchet, arial, helvetica, sans-serif;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-family : "Times New Roman", Times, serif;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	font-family: arial, helvetica, sans-serif;
   color: #595959;
}
body {
   background: #BADFEC url(images/bg-grad.gif) left top repeat-x;
   font-size: 87.5%;
   /*
   with body font-size of 87.5%:
   
   30px - 2.142em
   20px - 1.429em
   19px - 1.357em
   18px - 1.286em
   16px - 1.143em
   15px - 1.071em
   14px - 1em
   13px - 0.929em
   12px - 0.857em
   11px - 0.786em
   10px - 0.714em
   */
}
h1 {
   font-size: 2.142em;
   font-weight: normal;
   color: #00427A;
   font-family: Century Gothic, sans-serif;
}
h2 {
   font-size: 1.429em;
   color: #1A96C8;
   font-weight: normal;
}
h3 {
   font-size: 1.286em;
   color: #1A96C8;
}
h4 {
   font-size: 1.143em;
   color: #000;
}
h5 {
   font-size: 1em;
}
a {
   color: #1A96C8;
}
h1 a, h2 a, h3 a {
   text-decoration: none;
}
a:hover {
   color: #00427A;
}
img {
   border: 0;
}
div {
   text-align: left;
}
ul:not([class]), ul.checkmark {
   list-style-type: none;
   padding: 0px;
   margin: 7px 0 7px 15px;
}
ul:not([class]) li, ul.checkmark li {
   background-image: url(images/bullet.png);
   background-repeat: no-repeat;
   background-position: 0px 4px;
   line-height: 1.571em;
   padding-left: 14px;
   margin: 5px 0;
}
ul.checkmark li {
   background-image: url(images/checkmark.gif);
   background-repeat: no-repeat;
   background-position: 0px 4px;
   padding-left: 30px; 
   margin: 20px 0;
}
ul.checkmark h2 {
   margin-bottom: 0;
}
ul.checkmark p {
   margin: 0;
}
td {
   vertical-align:top;
}
blockquote {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
   background: #e9e9e9 url(images/quote.png) 8px 4px no-repeat;
   padding: 8px 8px 8px 46px;
}
blockquote p {
   margin: 0;
}
#header {
   min-height: 109px;
   /*width: 960px;*/
   margin: 0 auto;
}
#logo {
   float:left;
   padding: 22px 0 0 38px;
}
#headertext {
   color: #737373;
   font-size: 0.857em;
   float: right;
   width: 250px;
}
#phone {
   color: #1A96C8;
   font-size: 2.5em;
   font-weight:normal;
   padding: 7px 0;
}
#page {
   /*width: 960px;*/
   background: white;
   margin: 0 auto;
	-moz-box-shadow: rgba(109,131,139,0.5) 0 0 5px;
	-webkit-box-shadow: rgba(109,131,139,0.5) 0 0 5px;
	-khtml-box-shadow: rgba(109,131,139,0.5) 0 0 5px;
	box-shadow: rgba(109,131,139,0.5) 0 0 5px;
   padding-bottom: 50px;
}
#featured-img {
   height: auto;
}
#featured-img img {
   width: 100%;
   height: auto;
   display: block;
}
#nav {
   text-align: center;
   line-height: 2.5em;
   background-color: #EAF5F9;
}
#nav a {
   margin: 0 45px;
   color: #1A96C8;
   text-decoration:none;
   letter-spacing: 1px;
   font-weight: normal;
   font-size: 1.214em;
}
#nav a:hover {
   color: #FF9B05;
}
#nav a.current, #nav li.current_page_item a, #nav li.current-page-ancestor a {
   color: #00427A;
   font-weight: bold;
}
#nav ul, #subnav ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
#nav li {
   display: inline;
   list-style: none;
   margin: 0;
   padding: 0;
   background: none;
}
#subnav li {
   display: block;
   text-align: left; 
   background: none;
   padding: 0; 
   margin: 0;
}
#subnav li a {
   text-decoration:none;
   display: block;
   line-height: 2.5em;
   padding: 0 10px;
   border-bottom: 1px solid #e0e0e0;
   border-right: 1px solid #d6d6d6;
   font-weight: bold;
   color: #999;
   
   /* IE9 SVG, needs conditional override of 'filter' to 'none' */
   background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2U5ZTllOSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlOWU5ZTkiIHN0b3Atb3BhY2l0eT0iMC42NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
   background: -moz-linear-gradient(left,  rgba(233,233,233,0) 0%, rgba(233,233,233,0.65) 100%); /* FF3.6+ */
   background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(233,233,233,0)), color-stop(100%,rgba(233,233,233,0.65))); /* Chrome,Safari4+ */
   background: -webkit-linear-gradient(left,  rgba(233,233,233,0) 0%,rgba(233,233,233,0.65) 100%); /* Chrome10+,Safari5.1+ */
   background: -o-linear-gradient(left,  rgba(233,233,233,0) 0%,rgba(233,233,233,0.65) 100%); /* Opera 11.10+ */
   background: -ms-linear-gradient(left,  rgba(233,233,233,0) 0%,rgba(233,233,233,0.65) 100%); /* IE10+ */
   background: linear-gradient(to right,  rgba(233,233,233,0) 0%,rgba(233,233,233,0.65) 100%); /* W3C */
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e9e9e9', endColorstr='#a6e9e9e9',GradientType=1 ); /* IE6-8 */


}
#subnav li a:hover {
   color: #FF9B05;
}
#subnav li.current_page_item a {
   border-right: 1px solid transparent;
   background: transparent url(images/arrow.png) right center no-repeat;
   color: #FF9B05;
}
#subnav {
   float: left;
   width: 200px;
   padding: 0;
   border-top: 1px solid #e0e0e0;
   margin-top: 30px;
}
#subnav img {
   margin-top: 30px;
}
#contentarea {
   padding: 0 0 0 50px;
   overflow: hidden;
}
#maincontent {
   padding: 10px 95px;
   overflow: hidden;
}
body.page-template-page-submenu-php #maincontent {
   padding: 10px 50px;
}   
#maincontent p {
   line-height: 1.7em;
}
.leftcol {
   float: left;
   width: 60%;
   padding-right: 5%;
}
.rightcol {
   float: left;
   width: 35%;
}
.clear {
   clear:both;
}
.divider {
   clear:both;
   margin: 30px 0;
   border-bottom: 1px solid #EAF5F9;
}
.centered {
   text-align:center;
}
.banner {
   display: block;
   margin: 40px auto;
}
a.more {
   text-decoration: none;
   display: block;
   text-align:right;
}

div#SouthernCrossPromo {
   margin: 60px auto 0 auto;
   padding: 10px 0;
   overflow: hidden;
   border: 1px solid #2C93D1;
   border-radius: 15px;
   max-width: 400px;
}
div#SouthernCrossPromo img {
   float: right;
   width: 36%;
   height: auto !important;
   margin: 0 4%;
}
div#SouthernCrossPromo h3 {
   float: left;
   color: #2C93D1;
   width: 48%;
   margin: 20px 4%;
   font-size: 16px;
   font-weight: normal;
   text-align: center;
}
div#SouthernCrossPromo p {
   margin: 0;
}


#panelband {
   padding: 30px 60px;
   overflow: hidden
}
.panel {
   width: 260px;
   float: left;
   margin-left: 24px;
   color: #272524;
   border: 1px solid #000;
}
#panel1 {
   margin-left: 0;
}
.panel .head {
   background: #262523;
   color: #fff;
   height: 30px;
   line-height: 30px;
   font-size: 1.429em;
   padding-left: 20px;
}
.panel .picture {
   height: 80px;
}
.panel .body {
   font-size: 1.071em;
   height: 100px;
   padding: 10px 10px 0 10px;
   overflow: hidden;
}
.panel li {
   margin: 0;
}
.panel ul {
   margin: 0 0 0 10px;
}
.panel .more {
   text-align: right;
   font-size: 1.071em;
   padding: 5px 20px 10px 20px;
}
.panel .more a {
   text-decoration:none;
}
.panel .more a:hover {
   text-decoration:underline;
}

div.map {
   float: right;
}

#footer {
   margin-top: 5px;
   padding: 10px;
   text-align: center;
   font-size: 0.786em;
   color: #5990A6;
}
#footer a {
   text-decoration: none;
   color: #5990A6;
}
#footer a:hover {
   text-decoration: underline; 
}
img.leftalign {
   display: block;
   float: left;
   text-align: left;
   margin: 0 25px 5px 0;
}
img.rightalign {
   display: block;
   float: right;
   text-align: right;
   margin: 0 0 5px 15px;
}
img.centeralign {
   display: block;
   margin: 10px auto;
   text-align: center;
}
table.labels {
   width:50%;
   margin:10px auto;
}
table.labels th {
   text-align: right;
   padding-right: 30px;
}
div.rounded {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
div.shaddow {
	-moz-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-webkit-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-khtml-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	box-shadow: rgba(200,200,200,1) 0 4px 18px;
}
div.opacity {
   opacity: 0.5;
   -moz-opacity: 0.5;
   filter:alpha(opacity=50);   
}


/* ------------------------------------------------------------------------------------- */

/* WP Common Styles */
.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px; 
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}
img.aligncenter, div.aligncenter {
   display: block;
   margin: 20px auto;
}
img.alignright, div.alignright {
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft, div.alignleft {
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
img.aligncenter {
   text-align: center;
}
img.alignright {
   text-align: right;
}
img.alignleft {
   text-align: left;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.more-link {
   display:block;
   text-align:right;
}
.linklove {
   display:none;
}
/* Comments */
#comments {
   margin-top: 100px;
   color: #333;
   background: #f3f3f3;
   padding: 10px 20px;
   clear:both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding-bottom: 24px;
}
.commentlist {
	list-style: none;
	margin: 0;
   padding: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}
/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
   font-style: italic;
   color: #999;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	display:none;
}
#respond label {
	color: #888;
	font-size: 12px;
   width: 80px;
   display: block;
   float: left;
   text-align: right;
   padding-right: 10px;
}
#respond input {
	margin: 0 0 9px;
	width: 500px;
}
#respond textarea {
	width: 500px;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

/* Contact Form 7 */
div.wpcf7, div.customform {
   clear: both;
   overflow: hidden;
   background-color: #f2f9fb;
   border: 1px solid #e2f3f9;
   border-radius: 5px;
   width: 464px;
   max-width: 100%;
   margin: 30px auto !important;
}
div.wpcf7 h3, div.customform h3 {
   text-align: center;
}

div.wpcf7 form, div.customform form {
   padding: 10px 30px;
   margin: 0;
}
div.wpcf7-response-output {
   background: #fff;
}
span.wpcf7-not-valid-tip {
   font-size: 0.750em !important;
}
input.wpcf7-submit {
   background: #666;
   color: #fff;
   font-size: 1.1em;
   border-radius: 3px;
   border: 1px solid #555;
   padding: 5px 20px;
}
input.wpcf7-submit:hover {
   background: #555;
}
input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea {
   border: 1px solid #aaa;
   width: 400px;   
   height: 26px;
}
textarea.wpcf7-textarea {
   height: 180px;
}
input.wpcf7-text:hover, input.wpcf7-captchar:hover, textarea.wpcf7-textarea:hover {
   border: 1px solid #999;
}
input.wpcf7-text:focus, input.wpcf7-captchar:focus, textarea.wpcf7-textarea:focus {
   border: 1px solid #666;
}
div.wpcf7 div.wpcf7-validation-errors, div.customform div.wpcf7-validation-errors {
    border: 2px solid #f00000;
}

div#hidebooking {
   display:none;
}
div#bookingnotallowed {
   display:none;
   font-size: 20px;
   color: red;
   font-weight:bold;
}

/* ------------------------------------------------- Responsive Elements ------------------------------------------------- */

/* defaults: computer monitors, tablets in landscape, standard and large screens (typically wider than 1024px), old browsers */
   #page, #header { width:90%; max-width: 1100px; min-width: 320px;}
   #mobile-menu-btn { display: none; }

   img {max-width: 100%; height: auto !important; }
   .maincontent img.alignleft, .maincontent img.alignright { max-width:50%; height:auto; }
   .responsive50 img, .responsive50 .wp-caption { max-width:50%; height:auto; }
   .responsive33 img, .responsive33 .wp-caption { max-width:33%; height:auto; }
   .responsive .wp-caption img, .responsive50 .wp-caption img, .responsive33 .wp-caption img { max-width:100%; }
   
/* MEDIUM-WIDE SCREEN */
/* width 750px - 1000px */
@media screen and (max-width: 1000px) {
   #nav a, #subnav a { margin: 0 5px; padding: 10px 15px; font-size: 15px; }
   #slideshow { padding: 10px; }

   #logo {
      width: 390px;
   }
   #headertext {
      width: 210px;
   }
   #phone {
      font-size: 26px;
   }
   #maincontent { 
      padding: 10px 50px; 
   }

   div.map {
      float: none;
      width: auto !important;
      padding-bottom: 30px;
   }
   div.map iframe {
      width: 100% !important;
   }
   
}

/* MEDIUM-SMALL SCREEN */
/* width 500px - 750px */
@media screen and (max-width: 750px) {

   html,body { font-size: 14px; }
   #page, div.contents { width:95%; }
   #nav a, #subnav a { margin: 0 5px; padding: 10px 5px; font-size: 14px; }
   .leftcol, .rightcol { float: none; width: auto;}

   
   #header {
      overflow: hidden;
   }
   #logo {
      width: auto;
      float:none;
      padding: 10px 0 0 0;
   }
   #headertext {
      padding-bottom: 10px;
   }
   #phone {
      font-size: 20px;
   }

   #subnav {
      float: none;
      width: 200px;
      padding: 0;
      border-top: 0;
      margin: 20px auto 0 auto;
   }
   #contentarea {
      padding: 0;
   }
   #maincontent { 
      padding: 10px 30px; 
   }
   
   #slideshow { padding: 0; }

   div.block { padding: 10px 20px; }

   input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea { width: 300px;}

}

/* SMALLEST SCREEN */
/* width 320px - 500px */
@media screen and (max-width: 500px) {	

   #logo {
      max-width: 95%;
      margin: 0 auto;
      display: block;
   }
   #page, div.contents { width:100%; }
   #mobile-menu-btn { 
      display: block;
      width: 32px;
      height: 32px;
      background: url(images/menu-icon.png) 0 0 no-repeat;
      position: absolute;
      top: 4px;
      right: 20px;
      cursor: pointer;
      z-index: 10;
   }
   #nav { min-height: 40px; position: relative; }
   #nav ul { display:none; }
   #nav ul.open {  
     width: 100%;  
     display: block;  
     height: auto;  
     padding-top: 40px;
     margin-top:0;
   }  
   #nav li {  
     width: auto;  
     float: none;  
     position: relative;  
   }  
   #nav li a {  
     display: block;
     margin: 0;
     padding: 3px 0px;
     border-bottom: 1px solid #d0d0d0;  
     text-align: left;  
     width: 100%;  
     text-indent: 25px;  
     line-height: 30px;
   }

   #maincontent { 
      padding: 10px 10px !important; 
   }

   div.block div.image img { float: none !important; display:block; margin: 30px auto; }   
   

   .panel, #panel1 {
      float: none;
      width: 280px;
      margin: 10px auto;
      padding: 10px;
   }

   .maincontent img.alignleft, .maincontent img.alignright { max-width:80%; margin: 20px auto; float: none;  }

   div#SouthernCrossPromo h3 {
      margin: 6px 4%;
      font-size: 15px;
   }
   
   /* Contact */
   .cform {
      width: 300px !important;
   }
   .cform label, .cform label span  {
      width: 70px !important;
   }
   .cform input.single, .cform textarea, .cform select {
      width: 180px !important;
   }
}





