/*
Theme Name: Identity Dental
Theme URI: http://identitydental.com
Author: Identiy Dental
Author URI: http://identitydental.com
Description: Custom theme for Identity Dental
Version: 1.0
*/

@font-face {
    font-family: 'DancingScript';
    src: url('fonts/dancingscript-regular-webfont.eot');
    src: url('fonts/dancingscript-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/dancingscript-regular-webfont.woff2') format('woff2'),
         url('fonts/dancingscript-regular-webfont.woff') format('woff'),
         url('fonts/dancingscript-regular-webfont.ttf') format('truetype'),
         url('fonts/dancingscript-regular-webfont.svg#dancing_script_otregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
	word-wrap: break-word;
	color: #222;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 22px;
    text-rendering: optimizeLegibility;
}

body.admin-bar {
	margin-top: 32px;
}

.admin-bar .fixedcontainer {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar {
		margin-top: 32px;
	}

	.admin-bar .fixedcontainer {
		top: 46px;
	}
}

a {
	line-height: normal;
	color: #6a5a33;
}

a:hover {
	color: #b4975d;
	text-decoration: none;
}

.btn.focus, .btn:focus, .btn:hover {
	color: #b4975d;
}

.fake-hover:hover {
	text-decoration: underline;
}

hr.bar {
	background-color: #006eb0;
	margin: 0;
	height: 12px;
	border: none;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* 5-column layout */

.col-xs-1-of-5,
.col-sm-1-of-5,
.col-md-1-of-5,
.col-lg-1-of-5 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-1-of-5 {
    width: 20%;
    float: left;
}
@media (min-width: 768px) {
.col-sm-1-of-5 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 992px) {
    .col-md-1-of-5 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-1-of-5 {
        width: 20%;
        float: left;
    }
}


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 10px;
	max-width: 100%;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 0 10px;
}
.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}

.offset-top-1 {
	margin-top: 1em;
}

.offset-top-2 {
	margin-top: 2em;
}

.offset-top-3 {
	margin-top: 3em;
}

.offset-bottom-1 {
	margin-bottom: 1em;
}

.offset-bottom-2 {
	margin-bottom: 2em;
}

.offset-bottom-3 {
	margin-bottom: 3em;
}

.recent-post h4 {
	margin-bottom: 0;
}

.recent-post h4 a {
	color: #b4975d;
}

.recent-post h4 a:hover {
	color: #000;
}

.recent-post {
	padding-right: 3em;
	margin-bottom: 1em;
}

@media only screen and (min-width : 992px) {
	.col-md-offset-1point5 {
		margin-left: 12.5%;
	}
}

.headerbar {
	background-image: url('img/teal-bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%;
	height: 20px;
}

.header-sub .superhero {
	min-height: 300px;
}

.header-sub .header-img-container img {
	max-height: 340px;
	position: absolute;
    bottom: 0;
    right: 100px;
}

.superhero {
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index: 9999;
	min-height: 420px;
}

.superhero .btn-highlight-alt, .superhero-sub .btn-highlight-alt {
    width: 165px;
    margin-top: 5px;
}

.section-quote {
	background-color: #e9d6b0;
	padding-top: 25px;
}

.section-highlight {
	background-color: #e9d6b0;
}

.section-highlight h2 {
	font-family: 'DancingScript', Arial, sans-serif;
    font-size: 42px;
    color: #000;
    margin-bottom: .5em;
}

.section-quote .container {
	position: relative;
	padding-bottom: 0;
}

.section-quote .container:before, .section-quote .container:after {
	content: "";
    background-repeat: no-repeat;
    background-position: top left;
    width: 74px;
    height: 52px;
    position: absolute;
    top: -10px;
    opacity: .67;
    z-index: 1;
}

.section-quote .container:before {
	background-image: url('img/quotes-left.png');
    left: -10px;
}

.section-quote .container:after {
	background-image: url('img/quotes-right.png');
    right: -10px;
}

.section-quote .quote {
	z-index: 2;
	font-size: 105%;
}

.section-shadow {
	width: 100%;
	height: 70px;
	background-image: url('img/shadow.png');
	background-position: top center;
	background-repeat: no-repeat;
	opacity: .85;
}

.section-spaced {
	padding-bottom: 2em;
}

#section-contact p {
	font-size: 22px;
	line-height: 30px;
}

#section-contact h3 {
	margin-bottom: 20px;
}

.services {
	background-color: #FFF;
}

.services p {
	margin-top: 15px;
	font-size: 110%;
}

.services img:hover {
	box-shadow: 0 0 10px 4px #e9d6b0;
}

.services a {
	color: #000;
}

.services a:hover {
	color: #b4975d;
}

.testimonial-quote {
	text-align: center;
	font-size: 20px;
	line-height: 1.3em;
}

.testimonial-quote .btn, .promo-buttons .btn {
    width: 160px;
    margin-top: 8px;
}

.testimonial-quote-sign {
	opacity: 0.75;
}

.testimonial-picture-container {
	position: relative;
}

.testimonial-picture {
	position: absolute;
	top: -15px;
	border: solid 10px #FFF;
	-webkit-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
}

.social {
	display: inline-block; 
	background: url('img/social/social_media_icons.png') no-repeat; 
	overflow: hidden; 
	text-indent: -9999px; 
	text-align: left;
	width: 48px;
	height: 48px;
	margin-left: 5px;
	margin-right: 5px;
}

.social:hover {
	border-radius: 50%;
	box-shadow: 0 0 10px 4px #e9d6b0;
}
 
.facebook { background-position: -0px -0px; }
.googleplus { background-position: -48px -0px; }
.linkedin { background-position: -0px -48px; }
.rss { background-position: -48px -48px; }
.youtube { background-position: -0px -96px; }

.doctor-pic {
	border: solid 1px #c0bfc0;
}

.news-box {
	padding-top: 2px;
	line-height: 1.5em;
}

.scrolloff {
	pointer-events: none;
}

.home .sidebar-padder {
	padding-top: 0;
}

.sidebar-padder {
	padding-top: 30px;
}

.fancybox-overlay {
	z-index: 99998;
}

.fancybox-opened {
	z-index: 99999;
}

.fancybox-inner {
	overflow: hidden !important;
}

/* Text styles */

h1 {
	font-size: 18px;
	font-weight: normal;
	margin-top: 6px;
	margin-bottom: 20px;
	color: #b4975d;
}

h2 {
	font-size: 30px;
	line-height: 40px;
	margin-bottom: 10px;
	color: #000;
}

h2.post-title {
	margin-bottom: 20px;
}

h3 {
	font-size: 22px;
	margin-top: 1em;
	margin-bottom: 1em;
}

h4 {
	font-size: 17px;
}

h5 {
	font-family: 'DancingScript', Arial, sans-serif;
	font-size: 30px;
	margin-top: 1em;
	color: #b4975d;
}

.text-highlight , .text-highlight a {
	color: #2b388f;
}

.text-large {
	font-size: 18px;
}

.text-size-bump {
	font-size: 110%;
}

.text-two-cols {
	-webkit-column-count: 2;
	   -moz-column-count: 2;
	        column-count: 2;
	-webkit-column-gap: 30px;
	   -moz-column-gap: 30px;
	        column-gap: 30px;
}

.superhero p {
	font-size: 24px;
	line-height: 1.3em;
}

/* Clearing */
.clear {
	clear: both;
}

/* Fixed bar */

#pusher {
	height: 70px;
}

.fixedcontainer {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99998;
}

.fixedcontainer a {
	color: #6a5a33;
	text-decoration: none;
}

.fixedcontainer a:hover {
	text-decoration: underline;
}

.fixedbar {
	width: 100%;
	background-color: #090909;
	color: #6a5a33;
	padding-top: .6em;
	padding-bottom: .4em;
}

.fixedbar .container {
	padding-bottom: 0;
}

.fixedbar-shadow {
	width: 100%;
	background-image: url('img/fixedbar-shadow.png');
	background-position: top center;
	background-repeat: no-repeat;
	height: 67px;
	opacity: .75;
}

/* Primary navigation bar */

.site-navigation {
	margin-top: 1em;
}

#navbar-primary {
	font-family: 'PT Sans', Helvetica, Arial, sans-serif;
}

.nav > li > a,
.navbar-default .navbar-nav>li>a,
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
	color: #2a2b2c;
}

@media only screen and (min-width : 768px) {
	#main-menu {
		width: 100%;
		text-align: center;
		font-family: 'Myriad Pro', 'Open Sans', Arial, Helvetica, sans-serif;
	}

	#main-menu > li {
		float: none;
		display: inline-block;
		padding-top: 2px;
	}

	#main-menu li+li {
		border-left: solid 2px #6a5a33;
	}

	.dropdown-menu li+li {
		border: none !important;
	}

	.navbar {
		border: none;
		min-height: 0;
		margin-bottom: 0;
	}

	.navbar-default {
		background: transparent;
	}

	.nav > li > a {
		padding: 0;
		margin-left: 10px;
		margin-right: 10px;
	}

	.nav > li > a, .navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
		color: #FFF;
		background: transparent;
	}

	.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover,
	.nav > li > a:hover, .nav > ul > li.active > a:focus, .nav > ul > li.active > a,
	.nav .open>a, .nav .open>a:hover, .nav .open>a:focus,
	.nav > .current-page-parent > a {
		color: #e9d6b0;
		background: transparent;
	}

	.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
		color: #e9d6b0;
	}

	.dropdown-menu {
		background-color: #e9d6b0;
		min-width: 0;
		padding: 0;
		margin: 0;
		border-radius: 0;
		top: 20px;
		left: 5px;
	}

	.dropdown-menu > li > a {
		padding: 5px;
		padding-bottom: 1px;
	}

	.dropdown-menu li a:hover, .dropdown-menu li a:focus,
	.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
		color: #e9d6b0;
	    background-color: #090909;
	    background-image: none;
	}
}

.menu-item {
	cursor: pointer;
}

#click-menu {
	position: fixed !important;
	top: 10px !important;
	right: 10px !important;
}

#click-menu, #responsive-menu {
	z-index: 99999 !important;
}

#responsive-menu-title, #rm-additional-content {
	display: none;
}

#responsive-menu .responsive-menu,
#responsive-menu div,
#responsive-menu .responsive-menu li {
	width: 100% !important;
	float: left !important;
	margin-left: 0px !important;
	padding-left: 0px !important;
}

#responsive-menu ul {
	margin: 0px;
	padding: 0px;
}

/* Navigation */

.dropdown-submenu{
	position: absolute;
    left: 130px;
    top: 5px;
}

.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu, .dropdown-submenu:hover>.dropdown-menu {
display: block;
}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* Top logo block */

#logoblock h3 {
	margin: 0;
	font-family: 'Myriad Pro', 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 30px;
}

#logoblock p {
	font-family: 'Myriad Pro', 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 20px;
	margin-bottom: 0;
}

/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Nested comments? They are threaded and nested already, you just need to add your own styling to finalize!
 * For example with some margin, like the line below ;) Delete, modify, change classes in HTML if you desire another style */
 .comment .children { margin-left: 1.5em; }

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}

.bypostauthor {

}

.entry-meta {
	clear: both;
}

/* Forms */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	padding: 3px;
	width: 100%;
	font-size: 14px;
	border: none;
	background-color: #e9d6b0;
	color: #59483c;
	border: none;
	border-radius: 4px;
	padding: 10px 10px;
	margin-bottom: 20px;
}

textarea {
	margin-bottom: 0;
}

.btn-highlight {
	background-color: #000;
	color: #FFF;
	padding-top: 12px;
	-webkit-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
}

.btn-highlight-alt {
	background-color: #b4975d;
	color: #FFF;
	-webkit-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	-moz-box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
	box-shadow: 1px 1px 6px 2px rgba(0,0,0,0.5);
}

.btn-highlight-alt:hover {
	color: #000;
}

.btn-dark {
	background-color: #000;
	color: #FFF;
}

.btn-dark:hover {
	color: #b4975d;
}

.btn-extraround {
	border-radius: 10px;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #59483c;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #59483c;
	opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #59483c;
	opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #59483c;
}

/**
 * Footer
 */

.site-footer {
	background-color: #000;
    padding-top: 2em;
    color: #FFF;
    font-size: 105%;
}

.site-footer a {
	color: #FFF;
}

.site-footer a:hover, .site-footer a:focus {
	color: #e9d6b0;
	text-decoration: none;
}

.footerbar {
	background-color: #006eb0;
	height: 20px;
	margin-bottom: 1em;
}

.copyright, .copyright a {
	color: #e9d6b0;
}

.list-footer, .list-footer li ul {
	list-style: none;
	padding-left: 1em;
}

#google-map {
	display: block;
}

/**
 * Slideshow
 */

.slideshow-airlock {
	margin-bottom: 1em;
}

.slideshow-airlock .slideshow_description_box {
	opacity: 1 !important;
	padding: .5em 0;
	font-family: 'Myriad Pro', 'Open Sans', Arial, Helvetica, sans-serif;
}

.slideshow-airlock .slideshow_pagination {
	bottom: -10px !important;
	opacity: 1 !important;
}

.slideshow-airlock .slideshow_pagination ul li {
	background-image: none !important;
	background-color: #e9d6b0 !important;
	border-radius: 50% !important;
	margin: 0 5px !important;
	height: 14px !important;
	width: 14px !important;
	opacity: 1 !important;
	outline: none !important;
}

.slideshow-airlock .slideshow_pagination ul li:hover,
.slideshow-airlock .slideshow_pagination ul li.slideshow_currentView {
	background-color: #000 !important;
}

/**
 * Mobile devices
 */

@media only screen and (max-width : 1200px) {
	#main-menu {
		font-size: 95%;
	}

	.header-sub .header-img-container img {
		right: 0;
	}

	#section-contact p {
		font-size: 19px;
	}

	.home-slideshow .slideshow_slide_image img {
		right: 0;
	}
}

@media only screen and (max-width : 992px) {
	#main-menu {
		font-size: 80%;
	}

	.nav > li > a {
		margin-left: 2px;
		margin-right: 2px;
	}

	.dropdown-menu {
		left: 2px;
	}

	.dropdown-submenu{
    	left: 125px;
    }

	.superhero {
		min-height: 375px;
	}

	.superhero .offset-top-3 {
		margin-top: 1.5em;
	}

	.superhero .btn-highlight {
		padding: 6px;
	}

	.superhero .btn-highlight img {
		max-height: 40px;
	}

	.home-slideshow .slideshow_slide_image img {
		right: 30px;
		width: auto;
	}

	.header-sub .header-img-container img {
		right: 0;
	}
}

@media only screen and (max-width : 767px) {
	.home-quote h2 {
		font-size: 36px;
	}

	#pusher {
		height: 90px;
	}

	#logoblock div {
		text-align: center;
	}

	#logoblock h3 {
		margin-top: 10px;
	}

	.fixedbar {
		height: 57px;
		line-height: 40px;
    	font-size: 18px;
	}

	#main-menu {
		font-size: 15px;
	}

	.navbar {
		min-height: 0;
    	margin: 0;
	}

	.navbar-nav {
    	margin: 0;
	}

	.navbar-default {
		background: transparent;
		border: none;
		color: #FFF;
	}

	.navbar-default .navbar-brand {
		color: #FFF;
	}

	.navbar-default .navbar-toggle {
		background-color: #DDD;
	}

	.navbar-collapse {
		padding-left: 0;
		padding-right: 0;
		border: none;
	}

	.nav > li > a {
		margin-left: 5px;
		margin-right: 5px;
	}

	.offset-top-3 {
		margin-top: 1.5em;
	}

	.superhero {
		position: static;
		min-height: 375px;
	}

	.header-sub .superhero {
		min-height: 250px;
	}

	.header-sub .header-img-container img {
		max-height: 300px;
		right: 20px;
	}

	.text-two-cols {
		-webkit-column-count: 1;
	   	-moz-column-count: 1;
		column-count: 1;
	}

	.services {
		width: 100%;
	}

	.recent-post {
		padding-right: 0;
	}
}

@media only screen and (max-width : 767px) {
	.slideshow-airlock .slideshow_description_box {
		padding: .25em 0;
		font-size: 85%;
	}

	.section-quote .container:before, .section-quote .container:after {
		display: none;
	}

	.superhero {
		position: static;
		min-height: 0;
	}
}

@media only screen and (max-width : 480px) {
	.navbar-collapse {
		padding: 0;
	}

	.navbar-default .navbar-nav .open .dropdown-menu>li>a {
		color: #FFF;
	}

	.superhero p {
		font-size: 22px;
	}

	.superhero {
		position: static;
		min-height: 0;
	}

	.header-sub .superhero {
		min-height: 0;
	}
	
	img.size-full {
		display: block;
		width: 100%;
	}
	
	.alignleft {
		float: none;
		display: block;
		width: 100%;
	}
}



#referral-form-2 span.wpcf7-list-item {
    margin-left: 0.5em;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

#referral-form-2 .checkbox {
z-index: 2;
}
