/*
Theme Name:     Family Formation - Extends Artica
Description:    Theme tweaking the main theme Artica from AIT
Author:         Dave Sparks
Template:       arctica

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../arctica/style.css");


body {
	font-size: 14px;
}
img {
  max-width: 100%;
  height: auto;
}

#footer {
  background: #46888b;
}
#text-2, #text-3 {
  background: #64aeb1;
  border-radius: 8px;
  padding: 12px;
  float: left;
}
#text-2 a, #text-3 a {
  text-decoration: underline;
}
#text-2 {
  width: 62%;
  margin-right: 2%;
}
#text-3 {
  width: 31%;
}
#footer h2 {
  font: bold 20px/1em "Roboto Slab",arial,sans-serif;
  padding: 0;
  margin: 0;
  color: #fff;
  text-transform: none;
}
#text-4 {
  clear: both;
  float: left;
  width: 100%;
  margin: 24px 0 10px 0;
}
#footer .widget_nav_menu {
  width: 24%;
  margin-right: 1%;
  margin-bottom: 10px;
  float: left;
}
#footer .widget_nav_menu h2 {
  font: bold 16px/1em 'Swis721 Cn BT',Arial,sans-serif;
}
#footer .widget_nav_menu li {
  list-style: none;
  border: 0;
}
#footer .widget_nav_menu li a {
  padding: 0;
  font-size: 12px;
  line-height: 1.1em;
}
#footer .widget_nav_menu li a:before {border: 0;}

.mainmenu > ul > li > a, .mainmenu > .menu > ul > li > a {
  max-width: 200px;
}

.widgets a {
	color: #eee;
}

.widget-container p {
	margin: 1em 0;
}

.widget-container .success {
	background: none repeat scroll 0 0 #DDFAAB;
	color: green;
	padding: 10px;
}

/* blog */
.grid-style .hentry {
	margin-right: 0;
	padding: 10px 3%;
	width: 94%;
	box-shadow: 0 0 1px #888888;
}

.hentry .date a,
.hentry .title-no-thumbnail .date .month-year {
	color: #999;
}

.blog-info .author {
	display: none;
}

.separator {
	background: none;
}

#header .logo {
	width: 300px;
	height: 120px;
	margin: -5px 10px 5px 0;
}

#header .logo img {
	width: 300px;
	height: auto;
}

#header .logo, #header .logo a, #header .logo img {
	background: #fff!important;
}
.blog .wp-caption {
  display: none !important;
}

.hide {
  display: none;
}


#container {
	background: none;
}

.one_third {
	width: 33%;
	display: inline-block;
}

.sti-menu li {
	border-right: none;
}

.sti-menu li a {
	background-image: none;
}

#whoweare {
	color: #21767b;
}

#whatwedo {
	color: #8a9050;
}

#ourvalues {
	color: #a26c52;
}

#social-links {
	width: 225px;
	height: 91px;
	margin-top: 56px;
	margin-left: 8px;
	margin-right: -2px;
	float: right;
}
#header #social-links li.icons {
	margin-top: 10px;
	float: right;
}
.phone {
  margin: 66px 0 0 0;
  float: right;
}
.text-us {display: none;}

div.testimonials.clearfix {
	background-image: none;
	background: #DEEFEF!important;
	color: #1b9da4;
	padding-bottom: 0;
	padding-top: 0;
}

.home div.testimonials.clearfix {
	padding-top: 35px;
}

div.testimonials p {
	margin: 25px 10% 0;
	display: block;
	color: #1b9da4!important;
	width: 87%;
	font-size: 14px;
}

.home div.testimonials p {
	font-size: 18px;
}

/*have to use p:before because the theme removes some :after elements*/
div.testimonials:before, div.testimonials p:before {
	font-family: serif;
	display: block;
}

div.testimonials:before {
	content: '\201c';
	float: left;
	font-size: 145px;
}

.home div.testimonials:before {
	font-size: 190px;
	margin-top: -.1em;
}

div.testimonials p:before {
	content: '\201d';
	float: right;
	font-size: 100px;
	margin-top: 67px;
	margin-left: 13px;
}

.home div.testimonials p:before {
	font-size: 127px;
	margin-top: 87px;
}

.mainmenu > ul > li > a:hover, .mainmenu > .menu > ul > li > a:hover {
	color: #dcf8fa;
}

#footer p {
	color: #dcf8fa;
}

.page-id-1888 #content img {
	float: left;
	margin: 0 20px 30px 0;
	max-width: 150px;
	height: auto;
}

.page-id-1888 #content .left p {
	display: inline-block;
}

.mainmenu li li a {
	font-size: 14px;
}

li.page-item-2310,
li.page-item-2399 {
	display: none;
}

/* hide slider everywhere but home page */
.rev_slider_container {
	display: none;
}

.page-id-338 .rev_slider_container {
	display: block;
}

.widgets div.col-4 {
  width: 275px;
}

.single .entry-meta {
  line-height: 30px;
}
.single .entry-meta .sep {
  background-position: -80px 5px;
}
.single .entry-meta .by-author .sep {
  background: url("/wp-content/uploads/megan.jpg") center center no-repeat;
  width: 30px;
  height: 30px;
  background-size: cover;
}

#container .gf_quarter {
  float: left;
  clear: none;
  margin-right: 1%;
  width: 23%;
}

.surrogate_app {
  float: left;
  width: 65%;
}
.surrogate_side {
  float: right;
  width: 30%;
}
.surrogate_side img {
  width: 100%;
  height: auto;
}

@media all and (max-width: 640px) {
	html {
		background: none;
	}
	
	.one_third {
		width: 99%;
	}
}

@media all and (max-width: 497px) {
  #header {
    background: #fff;
  }
  .text-us {display: block;}
  #header .logo,
  #header .logo img,
  #header .logo a {
    background: none;
    float: left;
    z-index: 100;
    width: 200px !important;
    height: auto;
    margin: 0;
    padding: 0;
  }
  #header .logo {
    margin-top: -20px;
  }
  #text-2 {
    width: 96%;
    margin-right: 0;
  }
  #text-3 {
    width: 96%;
  }
  #social-links {
		margin: -200px 0px 0 0 !important;
		padding: 0;
		float: right;
		height: auto;
		width: 300px !important;
		z-index: 1000;
		position: relative;
	}
	.phone {
  	margin-right: 20px;
	}
	
	.sti-icon {
		left: 0!important;
	}
	
	.sti-menu li:nth-of-type(3) a span {
		background-position: -6px 0;
		width: 236px;
	}
	
	.sti-menu li:nth-of-type(4) a span {
		background-position: -14px -2px;
		width: 236px;
	}
	
	div.testimonials:before, .home div.testimonials:before {
		font-size: 50px;
	}
	
	div.testimonials p:before, .home div.testimonials p:before {
		font-size: 38px;
		margin-top: 50%;
	}
	
	div.testimonials p, .home div.testimonials p:before {
		padding-bottom: 20px;
	}
}

  .brochures {
  text-align: center;
}
.brochures img {
  width: 68%;
  height: auto;
  margin-bottom: 0px;
}
.brochures img.brochure1 {
  margin-right: -20px;
}
.brochures h2.widget-title {
  text-transform: none;
  border: 0;
}
.video {
  margin-bottom: 30px;
}
body.surrogates .video {
  display: none;
}

.col {
  float: left;
  margin-right: 2%;
}
.span-2 {
  width: 48%;
}

.blog .grid-style .entry-content img,
.category .grid-style .entry-content img,
.home #sti-menu.clearfix {
  display: none !important;
}



/* Mobile (Landscape) ------------------------------------- */
@media only screen and (min-width: 480px) and (max-width: 568px) {
  .col {
    margin: 0;
    width: 100%;
  }  
}



.blog #sti-menu,
.single #sti-menu {
	display: none;
}