/*
Theme Name: Wordpress Foundation
Theme URI: http://320press.com/wpfoundation
Description: A bones/Zurb foundation based wordpress theme.
Version: 2.0
Author: 320press
Author URI: http://320press.com
Tags: bones, zurb, foundation, 320press, clean, basic
*/

/* layout */



.more-link{
	white-space: nowrap;
}

p.attribution{
	text-align: right;
}

article.post{
	margin-bottom: 18px;
	border-bottom: 1px solid #E6E6E6;
}

header .menu-action {
    float: left;
    margin-top: 0;
    position: relative;
    top: 1px;
}

#main-nav {
	margin-top: -38px;
	
}




header .menu-action .button.small {
    padding: 8px;
}

header .menu-action .button.small svg {
    opacity: 0.5;
}


.mobile-nav-container{
	margin-left: -100%;
	float: left;
	width: 50%;
	position: absolute;
	top: 150px;
}

.active .mobile-nav-container{
	display: block;
	margin-left: 0;
}

.active #main{
	margin-left: 55%;
}

.mobile-nav-container,
#main{
	-moz-transition: all 0.25s ease-in 0s;
}

.side-nav{
	height: auto;
}

ul.tabs.vertical {
    border-bottom: 1px solid #E6E6E6;
    height: auto;
}


ul.tabs {
    border-bottom: 1px solid #E6E6E6;
    display: block;
    height: 40px;
    margin-bottom: 20px;
    padding: 0;
}

ul.tabs.vertical li {
    border-left: 3px solid #CCCCCC;
}

ul.tabs.vertical li, ul.tabs.vertical li {
    float: none;
    height: auto;
}

ul.tabs li:first-child {
    margin-left: 0;
}

ul.tabs li {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

ul.tabs.vertical li a {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: none repeat scroll 0 0 #F2F2F2;
    border-color: #E6E6E6;
    border-style: solid;
    border-width: 1px 1px 0 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
    color: #555555;
    display: block;
    font-size: 14px;
    height: auto;
    line-height: 1;
    padding: 15px 20px;
}

ul.tabs li a {
    color: #6F6F6F;
    display: block;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    padding: 0 23.8px;
}

/* typography */
h1, h2, h3, h4, h5, h6{ font-family: Times, serif; font-weight: 300;}

.siteinfo h1{ font-weight: 800; }
.siteinfo { 
    position: relative;
    top: 24px;
 }
 .contat-bar { 
    position: relative;
    top: 40px;
 }

/* post styling */

#main p.meta{
	font-style: italic;
	color: #808080;
}

div[id*='attachment_']{
	max-width: 100%;
	height: 100%;
}

#credit320{
	background: url('images/320press_mini.png') no-repeat left top transparent;
	padding-left: 20px;
	display: inline !important;
}

#main article img{
	max-width: 100%;
	margin-bottom: 18px;
}

.feature_content{margin-top: 20px!important;}

h1.single-title{
	line-height: 1.1;
}

img.alignleft{
	margin-right: 10px;
	float: left;
}

img.alignright{
	margin-left: 10px;
	float: right;
}

img.aligncenter{
	display: block;
	margin: 0 auto;
}

p.tags a:hover{
	color: #f0f0f0;
}

video {
	max-width: 100%;
	height: auto;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video-wrapper {
	width: 630px;
	max-width: 100%;
	margin-bottom: 18px;
}

pre {
    background-color: #F5F5F5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0 0 18px;
    padding: 8.5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
/*

code {
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
}

code, pre {
    font-family: Monaco,Andale Mono,Courier New,monospace;
    font-size: 12px;
	padding: 5px 15px;
}
*/

/* featured posts slider */
#featured{
	border: 1px solid #fff;
	height: 375px;
}



#featured div{
	padding: 0 15px;
}

#featured h3{
	margin-top: .2em;
	padding-left: .05em;
}

#featured p{
	padding-left: .1em;
}

#featured h3,
#featured p{
	width: 100%;
}

#featured {float: left;}

/* page styling */

.page-template-page-homepage-php #main {
	border-bottom: none;
}

/* comments */

#comments{
	line-height: 3.1rem;
	margin-bottom: 18px;
}

ol.commentlist,
ol.commentlist ul.children{
	list-style-type: none;
	margin-left: 0;
}

ol.commentlist div.avatar{
	float: left;
	margin-right: 10px;
}

ol.commentlist time{
	font-size: .8em;
	color: #eeeeee;
}

ol.commentlist div.comment-author{
	position: relative;
}

.panel ol.commentlist a.comment-edit-link{
	color: #ffffff;
	text-decoration: none;
}

ol.commentlist span.edit-comment{
	position: absolute;
	right: 1.5em;
	top: 0;
}

.comment h4{
	margin-bottom: 0;
}

a.comment-reply-link{
	position: absolute;
	right: 1.5em;
	bottom: 0;
}

#cancel-comment-reply{
	padding-left: 20px;
}

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

#comment-form-elements{
	list-style-type: none;
	margin: 0;
}

/* specific post-type styles */

/* image attachment */

.attachment #main .post_content img{
	max-width: 100%;
}

li.next{
	text-align: right;
}

#sidebar1 .metadata,
#sidebar1 .caption{
	padding-bottom: 20px;
}

/* widget styles */

.widget{
	margin-bottom: 18px;
}

.widget li{
	margin-bottom: 2px;
}

.widget ul.children{
	margin-bottom: 0;
}

.widget ul.children li{
	margin-left: 9px;
}

#tag-cloud{
	margin-bottom: 18px;
}

a[class^='tag-link-']:hover{
	color: #f0f0f0;
}

@media only screen and (min-width: 768px) {
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
	#main{
		border-bottom: none;
			position: relative;

	}

	#featured h3{
		margin-top: 2em;
		padding-left: 2em;
	}

	#featured p{
		padding-left: 4em;
	}

	#featured h3,
	#featured p{
		width: 66%;
	}
}

@media only screen and (min-width: 940px) {
	/* desktop specific styles */
	
	#main{
		margin-bottom: 0;
	}
	
	ol.commentlist div.avatar{
		margin-right: 0;
	}
	
}

/*Footer Styling */
footer {background: #27378F;}
.full-span {width: 100%;}


.fleft {float: left;}
.fright {float: right;}
.logo5 {position: absolute; z-index: 100;}

#quote-form {
    background: none repeat scroll 0 0 #ccc;
    height: 100%;
    position: absolute;
    width: 40%;
    z-index: 100;
    right: 0;
}
#slide-machine {width: 100%;
	height: 100%; position: relative;
}

#top-header ul, ol {
    font-size: 14px;
    line-height: 1.6;
    list-style-position: inside;
    margin-bottom: 0px!important;
}

#top-header {
    background: url("images/header_bg.jpg") repeat-x scroll 0 0 transparent;
    height: 94px;
    border-bottom: 1px solid #eeeeee;
    position: relative;
    width: 100%;
    z-index: 1000
}

.topadjust {padding: 3px; margin-top: 5px;}
#featured {padding: 3px;}


div#footer-sidebar {
    background: #e9e9e9;
    padding: 25px 40px;
    text-align: center;
    font-family: "Source Sans Pro", sans-serif;
    margin-bottom: -20px;
}

div#footer-sidebar h4, div#footer-sidebar h4 a{
	font-family: "Montserrat", sans-serif;
	color: #27378f;
	font-size: 31px;
	
}

div#footer-sidebar blockquote, div#footer-sidebar blockquote p{
	border:none;
	color: #1a1a1a;
	font-size: 21.71px;
}

div#footer-sidebar .credit, div#footer-sidebar .credit span {
    text-align: center !important;
    width: 100%;
    float: none;
	color: #27378f;
	font-size: 19px;
}

footer .container2 {
	    margin-top: 30px;
}


footer .container2 .copyright{
	font-family: "Montserrat", sans-serif;
	color: #e9e9e9;
	text-align:center;
	font-size: 14px;
}


footer .container2 .footer-text {
    font-family: "Source Sans Pro", sans-serif;
	color: #ffde16;
	font-size: 16px;
	line-height: 25px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	text-align: center;
}

footer .container2 .footer-text strong{
	font-size: 23px;
    font-weight: normal;
}
footer .container2 .footer-text .text-2, footer .container2 .footer-text .text-2 a{
	color:#e9e9e9;
	font-size: 16px;
}

.social-share-icons {
    color: #fff;
    position: fixed;
    top: 50%;
    transform: rotate(270deg);
    line-height: 50px;
    vertical-align: middle;
    right: -140px;
	z-index:999;
	padding:5px;
    background: #27378f;
}
.social-share-icons div{
    line-height: 32px;
    float: left;
    margin-right: 10px;
}

.home-main h1 {
    text-align: center;
}

.testimonial-individuals {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

/* ////////// LANDING PAGE ////////// */
#landing-banner {
    background: none repeat scroll 0 0 #AAAAAA;
    padding-bottom: 40px;
    padding-left: 20px;
    padding-top: 40px;
    width: 100%;
    margin-bottom: 2%;
}
#landing-banner h1 {margin-top: 0px;}

#main {background: #fff;}

#content { position: relative; background: #fff;}
.thisrel {position: relative;}

.container {
    background: none repeat scroll 0 0 #FFFFFF;
    border-left: 1px solid #E6E6E6;
        border-right: 1px solid #E6E6E6;

}
.container2 {background: none;;}
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100%!important;
}
.contact-bar {
	font-family: "Montserrat", sans-serif;
    float: right;
    font-size: 16px;
    font-weight: normal;
    position: relative;
    text-align: right;
    top: 10px;
    color: #27378F;
}
.accent {background: #FFFBDA!important; color: #27378F!important;}

.siteinfo.twelve.top-menu {
    padding: 8px 0px;
}
.requestaquote {
    float: right;
}

div#showmenu {
    padding: 10px 18px 10px 18px;
    color: #000;
    background: #ffde16;
    font-size: 16px;
    margin: 0px 0px 0px 18px !important;
    display: inline-block;
    cursor: pointer;
}

div#showmenu:before {
content: url(images/icon-email.png);
    font-size: 1.2em;
    padding-right: 0.5em;
}


h1, h2, h3, h4, h5, h6 {
    color: #27378F;
	font-family:"Montserrat", sans-serif;
    font-weight: normal;
}

h1 {
    font-size: 30px;
}
h3{
	font-size: 26px;
	color: #353535;
}

.home-main {
    padding: 0 50px;
}

.home-main ul {
    list-style: none;
    margin: 0px;
}

.home-main ul li {
    background: url(images/bullet-points.png) no-repeat left top;
    padding-left: 26px;
    line-height: 18px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #353535;
    letter-spacing: 0.5px;
    font-family: "Source Sans Pro", sans-serif;
}

#featured { background: url(images/123.gif) center center #f4f4f4 no-repeat; height: 375px; }
#featured img { display: none; }

#featured.orbit { background: none; }
#featured.orbit img { display: block; }

.gform_wrapper .gsection .gfield_label, .gform_wrapper h2.gsection_title, .gform_wrapper h3.gform_title {
    font-size: 1.3em;
    font-weight: normal!important;
}

.gform_wrapper .top_label .gfield_label {
    clear: both;
    display: inline-block;
    font-weight: normal!important;
    line-height: 1.3em;
    margin: 10px 0 4px;
}
article ul, ol {
    font-size: 14px;
    line-height: 1.6;
    list-style-position: outside;
    margin-left: 20px;
}

article li {
margin-bottom: 10px;
}

.testimonials-widget {
    margin-bottom: 10px;
}

 .testimonialswidget_testimonials2 {}

/* Panels ---------------------- */
/* line 195, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2 {
  margin: 0 0 22px 0;
  padding: 20px;
}
/* line 197, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2 *:first-child {
  margin-top: 0;
}
/* line 198, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2 *:last-child {
  margin-bottom: 0;
}
/* line 200, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2.callout {
  background: #2ba6cb;
  color: #fff;
  border-color: #2284a1;
  -webkit-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5);
  -moz-box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5);
  box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.5);
}
/* line 201, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2.callout a {
  color: #fff;
}
/* line 202, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2.callout .button {
  background: white;
  border: none;
  color: #2ba6cb;
  text-shadow: none;
}
/* line 204, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2.callout .button:hover {
  background: rgba(255, 255, 255, 0.8);
}
/* line 208, ../../../../../../../../Library/Ruby/Gems/1.8/gems/zurb-foundation-3.0.4/stylesheets/foundation/ui.scss */
div.panel2.radius {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}

.gform_wrapper input[type="text"], .gform_wrapper input[type="url"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper input[type="number"], .gform_wrapper input[type="password"] {
    font-family: inherit;
    font-size: 14px!important;
    letter-spacing: normal;
    outline-style: none;
    padding: 2px 0;
}

.post_content_list {border-bottom: 1px solid #eee; padding-bottom: 10px;}

#content .gallery_box_single .gallery .gllr_image_block p {
    border: none!important;
    margin: 0px 0px 0 0!important;
    padding: 0;
}
#featured {
  border: 1px solid #fff;
  height: 375px!important;
}

@media only screen and (max-width: 768px) {

#featured {
  border: 1px solid #fff;
  height: 300px!important;
}
}

@media only screen and (max-width: 500px) {

#featured {
  border: 1px solid #fff;
  height: 166px!important;
}
}


/*custom css for h1*/

h1.fnt-27 {
    font-size: 27px !important;
}

h1.fnt-23 {
    font-size: 23px;
}



.popup-box {
    font-family: "Source Sans Pro", sans-serif;
    z-index: 999;
    position: absolute;
    background: rgba(255, 222, 22, 0.91);
    width: 680px;
    margin: 38px 0px 0 0px;
    padding: 2% 3% 0% 3%;
    text-align: center;
    right: 0px;
    color: #23282d;
    border-top: none;
    display: none;
}

.popup-box table {
width: 100%;
    background: transparent;
    border: none;
    padding: 0px;
}
.popup-box tr {
    display: inline-block;
    vertical-align: top;
    background: transparent !important;
}
.popup-box tr:nth-child(1) {
    padding-right: 20px;
}
.popup-box table tr td {
    width: 270px;
    vertical-align: top;
    padding: 0px;
}

.popup-box span.wpcf7-list-item {
    display: block;
}
.popup-box span.wpcf7-not-valid-tip {
    background: rgba(255, 255, 255, 0.61);
    margin-top: 5px;
    width: 95%;
    border-radius: 10px;
    padding: 4px;
}

.popup-box p {
    margin-bottom: 10px;
}

.popup-box input[type="text"], .popup-box input[type="password"], .popup-box input[type="date"], .popup-box input[type="datetime"], .popup-box input[type="email"], .popup-box input[type="number"], .popup-box input[type="search"], .popup-box input[type="tel"], .popup-box input[type="time"], .popup-box input[type="url"], .popup-box textarea
, .popup-box select
{
    border: none;
    padding: 6px;
    margin: 0 0 0px 0;
    box-shadow: none;
	
}

.popup-box textarea {
    height: 80px;
}

input.wpcf7-form-control.wpcf7-submit {
    background: #27378f;
    padding: 20px;
    width: 100%;
    box-shadow: none;
    border: none;
    color: #fff;
    margin: 11px 0 0 0;
}
.blog-header-page{ text-align:center; }
@media screen and (max-width:766px){
.popup-box {
    border-radius: 0px;
    width: 100%;
}
}

@media screen and (max-width:1018px){
.social-share-icons {
    transform: rotate(0deg);
    right: auto;
    margin: 0 auto;
    position: fixed;
    bottom: 0px;
    top: auto;
    padding: 5px 0px 0px 0px;
    width: 100%;
    text-align: center;
}

.social-share-icons div {
    float: none;
}
footer .container2 {
    margin-top: 30px;
    margin-bottom: 80px;
    position: relative;
}
}

.large-font p, .large-font li, .large-font a{
	font-size:17px;
}

/* 270217mm */
.nav-bar>li>a:first-child {
    font-weight: 400;
}
#top-header ul {
    margin-top: 2px;
}
article.post{
    border-bottom: 0px;
    border-top: 1px solid #E6E6E6;
    clear: both;
}
article.post:first-child {
    border-top: 0px;
}
.blog-header-page h2 a, .blog-header-page p a {
    color: #27378f;
}
.nav-bar > li.has-flyout > a.flyout-toggle, .nav-bar > li.has-flyout > a:first-child {
    cursor: pointer;
}
ul.pagination {
    clear: both;
}
.testimonial-individuals p {
    margin-bottom: 5px;
}
.home-main.testimonial-individuals {
    border-bottom: 0px;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
    padding-top: 10px;
}
.testimonial-author {
    float: right;
    font-weight: bold;
}
article:first-child .home-main.testimonial-individuals {
    border-top: 0px;    
}
.iw-mobile p {
    text-align: center;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 0.5px;
}
.iw-mobile {
    margin-top: 16px;
}