/*
Theme Name:     Crossroads
Description:    Crossroads Dental Theme
Author:         Nowmedia Nikki and Will
Template:       Avada

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/
/*nav start*/ 

nav#nav {
  float: none;
  margin: 0 auto;
  background-color: #f5f2ee;
  height: 63px;
  width: 100%;
  max-width: 950px;
  top: 24px;
  position: relative;
  border-top: 7px solid #ecddd5;
  border-radius: 5px 5px 0px 0px;
}

#nav ul > li {
  height: 63px;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: .1px;
  padding: 0px 2%!important;
  /* border: 1px solid blue; */
}

#nav ul > li:after {
  content: "|";
  position: absolute;
  right: -4px;
  top: 23px;
}

#nav ul li:last-of-type:after {
  content: " ";
}

#nav ul li a, #nav ul .current-menu-parent a {
  line-height: 0;
  border: none;
  height: 0px;
  display: inline-block;
  margin-top: 31px;
}

.page-id-9 #menu-item-56:after {
  content: "";
}

.page-id-9 #menu-item-56 {
  background-color: #e6e1d9;
  border-top: 13px solid #c2b8b3;
  margin-top: -13px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -webkit-box-shadow: 0px -4px 7px #4A4A4A;
  -moz-box-shadow: 0px -4px 7px #4A4A4A;
  box-shadow: 3px -4px 8px -1px #4A4A4A;
  background: -webkit-linear-gradient(#f3ece7, #e5e1d9);
  background: -o-linear-gradient(#f3ece7, #e5e1d9);
  background: -moz-linear-gradient(#f3ece7, #e5e1d9);
  background: linear-gradient(#f3ece7, #e5e1d9);
}

#nav ul > .current-menu-item:after, #nav ul > .current-menu-item:before {
  content: "";
}

#nav ul .current-menu-item, #nav ul .current-menu-parent {
  background-color: #e6e1d9;
  border-top: 15px solid #c2b8b3;
  margin-top: -15px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  -webkit-box-shadow: 0px -4px 7px #202020;
  -moz-box-shadow: 0px -4px 7px #202020;
  box-shadow: 4px -2px 7px -2px #202020;
  background: -webkit-linear-gradient(#f3ece7, #e5e1d9);
  background: -o-linear-gradient(#f3ece7, #e5e1d9);
  background: -moz-linear-gradient(#f3ece7, #e5e1d9);
  background: linear-gradient(#f3ece7, #e5e1d9);
}
	
#nav > li > a, #nav li.current-menu-ancestor a {
  height: 0px!important;
  line-height: 0px!important;
}
#nav ul ul .page_item, #nav ul ul .menu-item {
  border-top: none;
  margin-top: 0!important;
  border-radius: 0;
  padding: 0!important;
  box-shadow: none;
  height: 38px;
}

.sub-menu {
	top:63px!important;
}

#nav ul ul {
  /*display: block!important;*//*testing purpose only*/
  position: absolute;
  top: 86px;
  left: 0;
  border-top: none;
  width: 143px;
  z-index: 100000;
  z-index: 99999;
  cursor: pointer;
}

#nav ul ul li a {
  text-indent: 0!important;
  margin-top: 20px!important;
}
#nav ul ul .current-menu-item, #nav ul ul .menu-item {
  background-color: rgb(231, 227, 219)!important;
  border-top: 1px solid rgb(194, 184, 179);
}

#nav ul li ul li a, #nav ul ul .menu-item a {
  background: none!important;
  margin: 0!important;
  width: 86px;
  text-indent: 0!important;
  top: 4px;
  display: inline-block;
  position: relative;
}
#nav ul ul .current_page_item a {
  top: 10px;
}

/*nav end*/


div.galleria {
  margin:0 20%;
}
.gall {
    margin-right: 19px;
}


ul.procedure-list1 {
	  	list-style-type: none;
	  	font-size: 1.5em;
	  	clear: both;
  		padding: 3%;
	}
ul.procedure-list1 li {
  	padding-top: 2%;
}
a.listVideo {
  margin-top: 12px!important;
  line-height: 81px!important;
  position: relative;
}
ul.procedure-list1 li:nth-of-type(1) {
  margin-top: 10px;
}

ul.procedure-list2 {
	  	list-style-type: none;
	  	font-size: 1.5em;
	  	clear: both;
  		padding: 3%;
	}

ul.procedure-list2 li {
  	padding-top: 2%;
}

ul.procedure-list2 li:nth-of-type(1) {
  margin-top: 10px;
}



body {
	background-color:#f5f0e9;
}
.page-id-19 #main .avada-row, .page-id-19 #main .avada-row, .page-id-27 #main .avada-row, .page-id-164 #main .avada-row {
  	max-width: 1220px!important;
	min-width: 300px!important;
	}
	
.page-id-19 #content {	
  width: 97%;
  float: left;
}
		
div#wrapper {
  	max-width:1220px;
  	margin: 0 auto;
  	box-shadow: 0px 5px 9px 4px #ccc;
}


#aboutpage {
  	width:1220px;
}
  
#header {
  padding: 0 10px 0px;
  background-image: url(../../../clients/crossroads/wp-content/uploads/2015/05/wood.png);
  height: 155px;
  border-bottom: 3px solid rgb(255, 255, 255);
}

#post-27 h1 {
  margin-left: 5%;
}
#post-27 .page-title h1 {
  margin-left: 10%;
}
#post-19 h1, #post-27 h1  {
	 margin-left: 11%;
	}

.page-title {
  width: inherit;
  height: 350px;
	}
.page-title-wrapper {
  	width: auto!important;
	}


	
.page-title ul { display: none; } 
	
.page-title-container {
  min-height: 250px;
  max-height: 350px;
}

#aboutpage {
  	width:1220px;
}
  
#header {
  padding: 0 10px 0px;
  background-image: url(../../../clients/crossroads/wp-content/uploads/2015/05/wood.png);
  height: 155px;
  border-bottom: 3px solid rgb(255, 255, 255);
}

#post-27 h1 {
  margin-left: 5%;
}
#post-27 .page-title h1 {
  margin-left: 10%;
}
.page-title {
  width: inherit;
  height: 350px;
	}
.page-title-wrapper {
  	width: auto!important;
	}

	
.page-title ul { display: none; } 
	
.page-title-container {
  min-height: 250px;
  max-height: 350px;
}


#header .logo {
  float: left;
  overflow: hidden;
  padding: 32px 21px 0px 21px;
  background-color: #fff;
  outline: 5px solid #fff;
  margin-top: 0px;
  border: 2px solid #b9ab89;
  border-top: none;
  box-shadow: 0px 2px 7px 6px #515151;
  height: 115px;
  position: absolute;
}

#header .logo a img {
  height: 70%!important;
}

 #top {
  width: 65%;
  font-size: 1.8em;
  font-family: 'doppio one';
  float: right;
  margin-top: 4%;
}
p#top {
  	float:left;
}

.page-id-9 .page-title h1, .page-id-23 .page-title h1, .page-id-21 .page-title h1, .page-id-395 .page-title h1 {
  display: none;
}

.testimonial {}

#above-footer {
  	height:200px;
}
#above-footer #sidebar {
  	width:100%;
}
#btmnav {
	width: 100%;
	}
#btmsocial {
	width: 100%;
}
#btmnav ul li {
  display: inline-block;
}
#btmnav ul li a {
font-size: 18px;
  color: #5E564A!important;
  /* font-family: Doppio; */
  padding: 0 10px;
  font-weight: bold;
  text-transform: uppercase;
}

#btmnav ul li {
    border-right: 1px solid;
}
#btmnav ul li:last-of-type {
  	border-right: none;
}

ul.pdf {
  list-style-image: url('../../../clients/crossroads/wp-content/uploads/2015/05/pdf_icon.jpg');
}

#btmnav ul {
  margin: 0 auto;
  -webkit-padding-start: 0;
  width: 71%;
  text-align: center;
}

#btmnav h2.widgettitle {
  display: none;
}

#content h1 {
  font-size: 4em!important;
  color: #3656a0!important;
  font-family: 'Alex Brush', cursive!important;
}
#content h3 {
  	font-size: 1.9em!important;
    color: #645544!important;
	 font-family: 'doppio one'!important;
  	text-transform: uppercase!important;
}

hr {
  border: 1px dotted #645544!important;
  font-family: 'arial'!important;
  margin: 3% 0;
}
.page-title h1 {
 font-family: 'Alex Brush', cursive;
		font-size: 28px!important;
	}
  	
h1 { 
	font-family: 'Alex Brush', cursive;
	  font-size:20px;
}
h2 {
}
h3 {
}

.post-content p, .post-content ul li {
  margin-bottom: 5%;
  font-size: 1em!important;
  color: #655550!important;
  font-family:  arial!important;
  font-weight: bold;
}
	
/*div#contactMap {
  width: 1219px;
  margin-left: -140px;
  margin-top: 23px;
  border-top: 1px solid rgb(229, 229, 229);
}*/
.mainHeader {
	background-image: url(../../../clients/crossroads/wp-content/uploads/2015/05/darkwood.png);
  	max-width: 100%;
  	height: 94px;
}
	

hr.dots {
  border: 1px dotted;
}

.page-title-container {
	  	max-width: 1220px;
 		margin: 0 auto; 
  		margin-top: -3%;
  		background-color: #FFF;
  		border-top: 3px solid #FFFFFF;
  		border-bottom: none;
	  	position: initial;
	  	background-position: center;
  		
	}

/*gforms*/

   h3.gform_title {/*what font and size*/}
   .gform_wrapper {background-color: #ededed; padding: 2% 5% 3%; border-radius: 9px;}
   .gform_wrapper .gfield_required {display: none;}
   .gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium, .gform_wrapper .top_label textarea.textarea {
      width: 99%!important;
      border-radius: 7px;
      background-color: #f5f5f5!important;
}

.gform_wrapper .gform_heading {
  		margin-bottom: 0px!important;
	}
.gform_wrapper {
 /* margin-left: -75px!important*/
  max-width: 50%;
}

#cf {
    width: 90%;
  margin: 0 10%;
}

.cfleft {
  width: 53%;
  border-right: 2px dotted;
  float: left;
  margin-right: 1%;
  padding-right: 7%;
}
  
  .cfright{
  	width: 30%;
	float: left;
  	padding-left:5%;
	}


p.cfright {
  clear: both;
  width: 100%;
}

.cfright a img {
  margin-bottom: 10%;
}  
  /*end forms*/

.footer-area {
  	background-color: #635543!important;
  	border-top: none;
  	padding: 1px 10px;
}

.footer-area .textwidget  { 
  	color:#fff;
	}
.footer-area .textwidget a {
	color: #fff;
}
.footer-area .textwidget {
	font-size: 1.3em;
   font-family: 'doppio one';
 	text-transform: uppercase;
	}

p#singleOne {
  font-size: 16px;
  font-weight: bold;
/*  width: 900px;
  margin-left: -72px;*/
  letter-spacing: .15px;
  color: #8b7963;
 /* margin-top: 12px;*/
  margin: 3% 0;
  text-align: center;
}
.gform_wrapper .top_label input.medium, textarea#input_1_3 {
  padding: 10px;
  box-sizing: border-box;
}
body.home #main {
background-image: url(../../../clients/crossroads/wp-content/uploads/2015/05/home_bg_doctors.jpg), url(../../../clients/crossroads/wp-content/uploads/2015/05/meet_the_dentists.png);
background-position: right top, left top;
background-repeat: no-repeat;
}

h3.front-box {
  border: 3px solid #645544;
  padding: 1% 10%;
  margin: auto;
}

#btmsocial ul {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
  -webkit-padding-start: 0px;
}
#btmsocial ul li {
  display: inline-block;
  list-style-type: none;
  margin: 0 10px;
}
#above-footer {
  height: 123px;
  padding-top: 45px;
}
#btmsocial {
  width: 100%;
  overflow: hidden;
  margin-top: 34px;
  /* border: 1px solid blue; */
}
#footer {
  padding: 33px 23px;
  background: #f4f2ee;
  border-top: 1px solid #FFFFFF;
}
#footer > div {
  max-width: 100%!important;
}
.copyright {
  text-shadow: none;
  text-transform: uppercase;
  font-size: 10px !important;
  font-family: "Oswald";
  letter-spacing: 0.5px;
}
.gform_wrapper h3.gform_title, .gform_wrapper input, .gform_wrapper textarea {
  color: #7f6f5b!important;
  font-family: "PT Sans", "Arial", "Helvetica", "sans-serif" !important;
  font-weight: bold;
}
.gform_wrapper input, .gform_wrapper textarea {
  color: #7f6f5b!important;
  font-family: "PT Sans", "Arial", "Helvetica", "sans-serif" !important;
  font-weight: bold;
  letter-spacing: 0.56px!important;
  font-size: 13px!important;
  box-shadow: inset 1px 1px 3px #CACACA;
  border: 1px solid rgb(219, 219, 219);
}
input#gform_submit_button_1 {
  border: 1px solid #83725d;
  color: white!important;
  background-color: #83725d;
  padding: 6px 22px;
  border-radius: 11px;
  margin-top: -12px;
  letter-spacing: 0.5px;
}
#main {
padding: 0px!important;
}

#vid {
  	background-image: url('../../../clients/crossroads/wp-content/uploads/2015/05/implant-dentist-video_02.jpg');
  	background-repeat: no-repeat;
  	height: auto;
  	background-position: center;
}


@media (max-width: 767px) {
	#menu-secondary-menu {
		display: none;
	}
	#post-9 .post-content  {
  margin-top: 80%;
	}
	#post-9 .post-content h1 {
  	 font-size: 3.5em!important;
	}
	.one_half {
  width: 95%!important;
	}
	#vid {
  		max-height:400px;
		background-size: 150%;
  		min-height: 250px;
	}
	.mainHeader {
  		display: none;
  }
	#header {
  	  height: 120px; 
	}
/*  	#header .logo {
		height: 100px;
  }*/
	#top {
  width: 55%;
  font-size: 1.2em;
   margin-top: 2%;
	}
	.page-title-container {		
  		display:none;
	}
	#btmnav {	
  		display:none;
	}

	#above-footer {
		max-height: 100px;
  		min-height: 50px;
  		padding-top: 0px;
	}

}

@media (max-width: 568px) {
		#header .logo {
			height: 60px;
		}
		#header {
 			 height: 90px;
			}
		#top {
  			width: 50%;
  			font-size: 1.1em;
  			margin-top: 2%!important;
		}

	body.home #main {
  		background-image: url(../../../clients/crossroads/wp-content/uploads/2015/05/home_bg_doctors.jpg);
		  background-position-x: 100%;
 			background-size: 150%;
		}
	.page-id-9 .post-content h1{ 
  			margin: 0 1%;
	  		
		}
	.post-content p {
	  	margin: 0 3%;
		}
	#cf {
  width: 100%;
  margin: 0 2%;
  }
	.cfleft {
  	width: 96%;
	margin-left:0%;
  		}
  	.cfright {
		width: 100%;
  		margin: 0 10%;
		}
	.selectivePara p {
 	 width: 98%!important;
  	margin: 3% 0 2% 2%;
		}
  	.selectiveImage {
 	 margin-bottom: 5%;
		}
	.selectiveSpan {
  		margin-bottom: 5%;
  		}
		.one_third {
  			width: 90%;
			padding: 0 5%:
  		}
  		.two_third {
	  		width: 90%;
	  		padding: 0 3%;
		}
		#content h3 {
  			margin-left: 5%;
		}
		h3.front-box {
			margin-right: 4%!important;
			margin-left: 4%!important;
		}
		#content h1 {
  			font-size: 250%!important;
		}
		
}
@media screen and (min-width: 300px) and (max-width: 1024px) {
  	#btmnav ul {
		width: 100%;
 	 }
  
  	#contactMap	{
  	  width: 95%;
	  margin: 3%;
  }
 
}

  @media screen and (min-width:768px) and (max-width: 1024px)  {
     .selectivePara p {
       width: 50%;
       float: left;
       margin-left: 2%;
	}
  
    .selectiveImage{
      float: left;
      padding: 5px;
      width: 25%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1239px) {
  	#post-9 .post-content .one_half { margin-bottom: 10%; }
	#content h1 {
  		/*  width: 50%;*/
	}
	#post-9 .post-content h1 {
		width: 50%;
	}
	.page-title-wrapper h1 {
 		 line-height: 1em!important;
	}
	
	#top h1 {
  		width:65%;
	}

	#vid {
  		max-height:550px;
		background-size: 150%;
		min-height:400px;
	}
}

@media  (min-width: 1240px) {
h3.front-box {
  border: 2px solid #645544;
  padding: 1% 11.5%;
  margin: 3% -15%;
	}
#post-9 .post-content .one_half:first-of-type { 
  	margin-bottom: 16%; 
	}
#vid {
  	height: 500px;
  	margin: 0 -10%;
	}
.page-title {
  height: 350px;
	}
.page-title-wrapper h1 {
  margin-left: 10%;
	}
}


/**************************************will********************************/

.selectiveImage {
  float: left;
  background-color: #f5f2ee;
  width: 300px;
  padding: 5px;
}

.selectiveImage img {
  float: right;
}

.selectiveSpan {
  float: left;
  font-size: 24px;
  font-weight: bolder;
  color: #776855;
}

.selectivePara {
  width: 100%;
  float: left;
/*  margin-left: -140px;*/
    margin-bottom: 3%;
  	border-bottom: 2px dotted;
}

.selectivePara p {
  /*width: 72%;*/
  width: 70%;
  margin: 0 0 2% 2%;
  float: left;
 /* float: right;*/
}

#contactMap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

#contactMap {
  		border-top: 1px solid rgb(229, 229, 229);
        position: relative; 
        height: 330px;
        overflow: hidden;
    }

body .mobi-nav {
  		background-image: url('../../../clients/crossroads/wp-content/uploads/2015/05/darkwood.png')!important;
	}
  	
.post-content ul li a {
	text-decoration: underline;
}
h3.front-box {
	margin: 3% auto;
}
header div#top {
  	margin-top: 6.2%;
  	text-align: left;
}
/*header #top .menu-secondary-menu-container {
	text-align: right;
  	margin: 0;
}
#menu-secondary-menu {
  	margin: 10px 10px 0 0;
}
#menu-secondary-menu li {
	display: inline-block;
  	font-size: 1em;
}
#menu-secondary-menu li:after {
  	content: ' |';
  	font-family: 'PTSansRegular', Arial, Helvetica, sans-serif;
  	font-size: 14px;
  	margin-left: 2px;
	position: relative;
  	top: -1px;
  	color: #777;
}
#menu-secondary-menu li:last-of-type:after {
  	content: '';
}
#menu-secondary-menu li a {
  	font-family: 'PTSansRegular', Arial, Helvetica, sans-serif;
  	font-size: 13px;
  	font-weight: normal;
  	padding: 4px;
  	color: #444!important;
  	text-transform: uppercase;
  	border: 1px solid transparent;
  	-webkit-transition: background-color 0.3s linear, border 0.3s linear;
	   -moz-transition: background-color 0.3s linear, border 0.3s linear;
	     -o-transition: background-color 0.3s linear, border 0.3s linear;
	        transition: background-color 0.3s linear, border 0.3s linear;
}
#menu-secondary-menu li a:hover {
	border-radius: 3px;
	background-color: rgba(69,108,176,0.15);
  	border: 1px solid #aaa;
}*/
#leaveReviewMessage {
	margin-left: 15px;
}
#reviewButtons {
	margin-right: 15px;
	padding-top: 30px;
}
#reviewButtons ul {
	text-align: center;
}
#reviewButtons ul li {
	list-style-type: none;
	text-align: center;
	display: inline-block;
}
#reviewButtons ul li a {
	font-weight: bold;
	color: #fff!important;
	text-decoration: none;
	border-radius: 3px;
	text-transform: uppercase;
}
@media screen and (min-width: 768px) {
	#leaveReviewMessage {
		margin-left: 25%;
	}
	#reviewButtons {
		margin-right: 17%;
	}
}
@media screen and (min-width: 968px) {
	#nav ul > li {
		font-size: 16px;
		padding: 0px 2.5%!important;
	}
}