/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #444;
}

html {
    font-size: 16px;
    line-height: 1.7em;
	font-family: "Raleway",sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

a {
	color:#960000;
	text-decoration:none;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body { background-color: #fff; }
h1 { margin:0; padding: 0px 10px; color:#960000; }
blockquote { font-style:italic; color:#666; }

.mobile_only {
	 display:none;
 }
.container {max-width: 1020px; margin:auto; }

.container p { margin:10px; }

.container_4 div p { border:1px solid #333; padding:10px; }

#nav {
	/* background-color:#960000; */
	text-align:center;
	clear:both;
	/* height:36px; */
}

.slicknav_menu {
	display:none;
}


.slicknav_menu #logo_mobile {
    background-image:url('../img/logo_white.png');
    background-position:5px 5px;
    background-repeat:no-repeat;
	background-size: 160px 30px;
    display:block;
    width:170px; /* set to logo width */
	height:40px; /* set to logo height */
    overflow:hidden;
    text-indent:100%;
    white-space:nowrap;
	float:left;
}

#logo {
    background-image:url('../img/logo.png');
    background-position:0px 2px;
    background-repeat:no-repeat;
    display:block;
    width:250px; /* set to logo width */
	height:40px; /* set to logo height */
    overflow:hidden;
    text-indent:100%;
    white-space:nowrap;
	margin:auto;
}

#logo_big a {
	z-index:99;
    background-image:url('../img/logo_big.png');
    background-position:0px;
    background-repeat:no-repeat;
	background-size:100%;
    display:block;
    width:30%; /* set to logo width */
	max-width:800px;
	height:50px; /* set to logo height */
    overflow:hidden;
    text-indent:100%;
    white-space:nowrap;
	margin:auto;
	opacity:1;
	

}
#logo_big {
	width:100%; /* set to logo width */
	height:50px; /* set to logo height */
	top:0;
	background-color:black;
}


#logo_black {
	max-width:1020px;
	margin:auto;
	text-align:left;
	padding:10px;
	border-bottom:1px solid #CCC;
}
#logo_black img {
    width:40%;
	min-width:200px;
	margin:5px 0 0 0;
	opacity:0.9;
}




#main-menu {
	margin: 3px 0 auto;
	padding: 0;
	list-style: none;
	display:inline-block;
}
#main-menu li {
	float: left; }

#main-menu li a {
	display: block;
	padding: 7px 16px 7px 16px;
	text-decoration: none;
	color: #666;
	font-family:"Open Sans",Arial,Helvetica,sans-serif;
	/* font-family: 'Walter Turncoat', cursive; */
	font-size:0.8em;
	text-transform:uppercase;
	font-weight:bold;
}

#main-menu li a:hover {
	color: #c00;
	background-color: #fff; }
	

#banner {
	position:relative;
	width: 100%;
   overflow: hidden;
}
	

/* 
.container .col_1 {
	float:left;
	width:60%;
	border: 1px solid #eee;
	margin:5px;
}
*/


.container .col_1 {
	border: 1px solid #eee;
	padding:15px 5px;
	padding-right:300px;
}

.container .col_2 {
	width:250px;
	float:right;
	padding:10px;
	padding-top:40px;
}
.container .col_1 .split_right {
	width:50%;
	float:right;
}
.container .col_1 .split_left {
	width:290px;
	float:left;
	padding:10px;
}

.home_testimonial {
	position:relative;
}
.home_testimonial_text_wrapper {
	position:absolute;
	top:5px;
	width:96%;
}
.home_testimonial_text {
	width:960px;
	min-width:300px;
	margin:auto;
}
.home_testimonial p.quote {
	font-size:2.5em;
	color:white;
	/* font-family:"Walter Turncoat",cursive; */
	font-family: 'Roboto Slab', "Times New Roman", Times, serif;
	text-shadow: 3px 3px 2px rgba(50, 50, 50, 1), -4px -3px 2px rgba(50, 50, 50, 1);
	line-height:normal;
}
.home_testimonial p.credit {
	font-size:1em;
	color:#CCC;
	font-family:Verdana, Geneva, sans-serif;
}

.container .about-us .image_bio {
	 float:left; 
	 padding:0 10px 10px 0;
}
.container .about-us .bio_name {
	font-family:"Walter Turncoat",cursive;
	font-size:3em;
	line-height:1em;
}

.container .about-us .bio_wrapper {
	padding:30px 0;
	border-bottom:3px solid #960000;

}


.title1 {
	font-weight:bold;
	margin-top:30px !important;
	font-size:1.2em;
	color:#960000;
}
.divider {
	height:3px;
	background-color:#960000;
	margin:20px 12px;
}
	

#footer {
	border-top:1px solid #CCC;
	margin-top:50px;
	padding:50px 0;
	text-align:center;
	color:#CCC;
	font-size:0.8em;
}
#footer a {
	color:#CCC;
}


.contact_home input, .contact_home textarea {
	width:200px;
	border-radius:3px;
	padding:5px;
}

.contact_home .human {
	padding:0;
}
.contact_home .human input[type="checkbox"]  {
	width:10px !important;
	position: absolute; 
	top:-2px;
}
.contact_home .human div  {
	font-size:0.7em;
	color:gray;
	display:inline;
	padding:0 0 0 80px;
}
.contact_home .human div.humancheck {
	position:relative;
	padding-left: 15px;
}


.contact_us .contact_form label {
	width:100px;
}
.contact_us .human div  {
	padding-left:120px;
}

.contact_us .contact_form button {
	margin-left:105px;
}

.submitted {
	text-align:center;
	padding-top:120px;
}

.submitted div {
	padding:10px;
	border: 3px solid #0f3;
    border-radius: 5px;
    margin-left: 40px;
}



/* ACCORDION */

.accordion {
    margin: 0;
    padding:10px;
    height:20px;
    border-top:#fff 1px solid;
    background: #eee;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration:none;
    text-transform:uppercase;
    color: #333;
    font-size:1em;
	cursor: pointer;
	text-shadow: 1px 1px 2px rgba(150, 150, 150, .5);

}
.accordion-open {
    background:#666;
    color: #fff;
}
.accordion-open span {
    display:block;
    float:right;
    padding:10px;
}
.accordion-open span {
    background:url(../img/minus.png) center center no-repeat;
}
.accordion-close span {
    display:block;
    float:right;
    background:url(../img/plus.png) center center no-repeat;
    padding:10px;
}
.accordion div.a_container {
    padding:0;
    margin:0;
}
.accordion div.a_content {
    background:#f0f0f0;
    margin: 0;
    padding:10px;
    font-size:1em;
    line-height:1.5em;
    font-family:"Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
.accordion div.a_content ul, .accordion  div.a_content p {
    padding:0;
    margin:0;
    padding:3px;
}
.accordion div.a_content ul li {
    list-style-position:inside;
    line-height:25px;
}
.accordion div.a_content ul li a {
    color:#555555;
}
.accordion code {
    overflow:auto;
}


	
.gallery li:nth-child(4n+1) {
	clear:left;
}


.side_testimonial {
	font-size:0.8em;
	font-style:italic;
	color:#999;
	position:relative;
	border-left:1px solid #eee;
	padding-left:10px;
	font-family:Verdana, Geneva, sans-serif;
}
.side_testimonial p:last-child  {
	color:black;
}
.side_testimonial p:first-child:before {
    display: block;
    padding-left: 10px;
    content: "\201C";
    font-size: 40px;
    position: absolute;
    left: -10px;
}

.datetitle {
	font-weight:bold;
	color:#666;
}

.sideimage {
	width:240px;
}

.textimage {
	width:100%;
}
#pricing1, #pricing2 {
	font-size:12px; text-align:left; color:#666; font-weight:bold;
}
#pricing2 {
	display:none;
}
/*
.side_testimonial p:nth-last-child(2):after  {
    display: block;
    padding-right: 10px;
    content: "\201D";
    font-size: 40px;
    position: absolute;
    right: 5px;
	margin-top:-15px;
} */

@media screen and (min-width: 640px) {
	.contact_us .contact_form input, .contact_us .contact_form textarea {
		width:400px !important;
	}
	.contact_us .contact_form select {
		width:440px !important;
	}
}

@media screen and (max-width: 1080px) {
	#header_contact {
		display:none;
	}
	#main-menu li a {
		font-size:0.7em;
	}
}

@media screen and (max-width: 960px) {
	.container .col_1 {
		padding:10px;
	}
	#header_join {
		display:none;
	}
	.container_4 {
		padding:0;
		margin:0;
		width:100%;
	}
	#main-menu li a {
		font-size:0.5em;
	}
	.home_testimonial_text {
		width:90%;
	}
	.home_testimonial p.quote {
		font-size:1.8em;
	}
	.contact_image {
		display:none;
	}
	.submitted {
		padding-top:20px;
	}
	
	.submitted div {
		padding:5px;
		border: 3px solid #0f3;
		border-radius: 5px;
		margin-left: 0px;
	}
		
	.accordion {
		font-size:0.9em;
		line-height:1em;
	}
	
		
	.gallery li:nth-child(2n+1) {
		clear:left;
	}
		/* #menu is the original menu */
	.js #nav {
		display:none;
	}
	
	.js .slicknav_menu {
		display:block;
	}
	.callbacks li {
		left:0;
	}
	
	.callbacks img {
	  display: block;
	  position: relative;
	  z-index: 1;
	  height: auto;
	  width: 300%;
	  margin-left:-100%;
	  border: 0;
	  }
	 
	 .no_mobile {
		 display:none;
	 }
	 .mobile_only {
		 display:inherit;
	 }
	 
	 .slicknav_menu {
		background:none;
	}
	#logo_black { border:none; }
	
	#pricing2 {
		display:block;
	}

}

	

@media screen and (max-width: 40em) {

	 .container .col_1 {
		 padding-right:5px;
	 }
	.home_testimonial_text {
		width:95%;
		padding-left:10px;
	}
	.home_testimonial p.quote {
		font-size:1.2em;
		line-height:1.2em; 
	}
	.home_testimonial p.credit {
		font-size:0.6em;
	}
	.container .about-us .image_bio {
		 float:none; 
		 margin:auto;
	}
	.accordion {
		font-size:0.7em;
	}
	.gallery li:nth-child(3n+1) {
		clear:left;
	}


}	


/* tablet */
@media(max-width:768px){
	
}

/* small tablet */
@media(max-width:640px){
		
	.gallery li:nth-child(2n) {
		clear:right;
	}
}

/* iPhone landscape */
@media(max-width:480px){
		
	.gallery li {
		clear:left;
	}
	.contact_us .human div {
		padding-left: 0px;
	}
	.contact_home .human div {
		padding:  0px;
		padding-left: 12px;
	}	
	
	.home_testimonial p.quote {
		font-size:0.8em;
		line-height:0.9em; 
	}
	
	
}

/* iPhone */
@media(max-width:320px){
	
	
}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
