
/*

	Author:   Josh McDonald
	Twitter:  @onestepcreative
	Website:  http://onestepcreative.com

*/



/* ================================================== */
/* === BASE STYLES AND PRECISE FOR MOBILE DEVICES === */
/* ================================================== */

@media only screen and (min-width: 320px) {

#topbar{
	height: 3em;
}

#logo{
	max-width: 180px;
}

.logo {
	float: none;
}

#partnerLogos{
	margin: 0 auto;
}

#header #logo {
	margin-top: 0.2em;
	max-width: 40%;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	
	.logoIMG{
		max-width: 80%;
	}

}


/* ITEMS WE WANT TO SHOW (DISPLAY:BLOCK) */
#dropDownNavigation {
	display: block;
}

#dropDownNavigation #dropMenu{
	float: right;
}

/* ITEMS WE WANT TO HIDE (DISPLAY:NONE) */
#footerNavigation, #headerNavigation, /* #search-2, */ #sliderContainer {
	display: none;
}

#header #logo {
	display: block;
	text-align: left;
}

#content-container {
    margin-top: 2.5em;
    margin-bottom: 2.5em;
}

.article-container-home{
	margin-top: -4.5em;
}

.menu {
	margin: .5em 0;
}

.post-content { }

.post-content .alignleft, .post-content img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}

.post-content .alignright, .post-content img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}

.post-content .aligncenter, .post-content img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}

.wp-caption { }

#home-sidebar-container #search{
	width: 12.6em;
}

#footerLogo{
	margin: 0 auto 20px auto;
}

#footer p {
	text-align: center;
}

#footerEvents, #footerNavigation, #subscribe{
	margin: 0 auto;
	text-align: center;
}

#header .logoIMG{
	max-width: 50%;
}

} /* // END MIN 320PX */



/* =================================================================== */
/* ==================== LANDSCAPE MOBILE DIVICES ===================== */
/* =================================================================== */

@media only screen and (min-width: 480px) {
	
#home-sidebar-container #search{
	width: 24.6em;
}


	
} /* // END MIN 480px */




/* =================================================================== */
/* === PORTRAIT IPADS & LARGER SCREENS / LAPTOPS(SMALLER) & TABLES === */
/* =================================================================== */

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

/* =================================================== */
/* === GRID OPTIONS - BASED ON THE 1140 GRID SYTEM === */
/* =================================================== */
/* === THANKS TO THE GUYS  OVER AT WWW.CSSGRID.NET === */
/* =================================================== */

.onecol { width: 12.6%; }	   /* // GRID 0 */
.twocol { width: 13.45%; }	   /* // GRID 1 */
.threecol { width: 22.05%; }   /* // GRID 2 */
.fourcol { width: 30.75%; }	   /* // GRID 3 */
.fivecol { width: 39.45%; }	   /* // GRID 4 */
.sixcol { width: 48%; }		   /* // GRID 5 */
.sevencol { width: 56.75%; }   /* // GRID 6 */
.eightcol { width: 65.4%; }	   /* // GRID 7 */
.ninecol { width: 74.05%; }	   /* // GRID 8 */
.tencol { width: 82.7%; }	   /* // GRID 9 */
.elevencol { width: 91.35%; }  /* // GRID 10 */
.twelvecol { width: 100%; }	   /* // GRID 11 */

.onecol, .twocol, .threecol, .fourcol, .fivecol, .sixcol,
.sevencol, .eightcol, .ninecol, .tencol, .elevencol {		   /* // GRID 12 */
	float: left;
	position: relative;
	margin-right: 3.8%;
	}

.twelvecol {
    float: left;
    position: relative;
    }

.last {
	margin-right: 0;
	float: right;
	}
	
/* ITEMS WE WANT TO SHOW (DISPLAY:BLOCK) */
#footerNavigation, #headerNavigation, #search-2, #sliderContainer {
	display: block;
}

/* ITEMS WE WANT TO HIDE (DISPLAY:NONE) */
#sampleClass, #dropDownNavigation {
	display: none;
}

/* ============================================= */
/* =================== SLIDER ================== */
/* ============================================= */

.rslides{
	height: 23em;
}

.rslides_tabs{
	float: right;
}

.rslides_tabs li {
    display: inline;
    float: none;
    margin-right: 5px;
}

.sliderText{
	margin-top: 0.8em;
	top: .8em;
	width: 33em;
}

.sliderPreHeadline, .sliderSubHeadline{
	font-size: 1.2em;
	line-height: 1.2em;
	margin-bottom: -21px;
} 

.sliderSubHeadline{
	max-width: 28em;
}


.sliderMainHeadline{
	font-size: 2.2em;
	margin-bottom: -17px;
}

/* =========================================== */
/* ===== GLOBAL HEADER ELEMENTS & STYLES ===== */
/* =========================================== */

.wrap {
    max-width: 960px;
}

#topbar{
	height: 6em;
}

#logo{
	max-width: 300px;
}

#header #logo {
	margin-top: 0em;
}

#header #logo .logoIMG{
	margin-top: .4em;
	max-width: 100%;
}

.menu {
    line-height: 1.5em;
    margin: 1em 0 2em;
    width: 18em;
}

.menu ul li {
	float: left;
	position: relative;
	}

.menu ul li a { }

.menu ul li a:hover, .menu ul li a:focus {
	background-color: #dedede;
	}

.menu ul li ul.sub-menu,
.menu ul li ul.children {
	width: 200px;
	border: 1px solid #ccc;
	border-top: 0;
	position: absolute;
	display: none;
	z-index: 8999;
	}

.menu ul li ul.sub-menu li a,
.menu ul li ul.children li a {
	padding-left: 10px;
	border-right: 0;
	display: block;
	width: 180px;
	border-bottom: 1px solid #ccc;
	}

.menu ul li ul.sub-menu li:last-child a,
.menu ul li ul.children li:last-child a {
	border-bottom: 0;
	}

.menu ul li:hover ul {
	top: auto;
	display: block;
	}
	
#home-sidebar-container#search {
    width: 15.2em;
}


/* ========================================== */
/* ===== MAIN CONTENT ELEMENTS & STYLES ===== */
/* ========================================== */

#content-container {
    margin-top: 5.5em;
}

.rslides{
	height: 19em;
}

#slides{
	max-height: 19em;
}

#partnerLogos{
	margin: none;
	width: 100%;
}

.article-container-home {
    margin-top: -4.2em;
    padding-top: 0.75em;
    z-index: 1000;
}

.post-content {
	color: #555;
	}

.logo {
	float: left;
}	


/* =========================================== */
/* ===== COMMENTS LIST ELEMENTS & STYLES ===== */
/* =========================================== */

#comments { }

.commentlist { }

.commentlist li { }

.commentlist li ul.children { }

.respond-form form input[type=text],
.respond-form form input[type=email],
.respond-form form input[type=url],
.respond-form form textarea { }

/* ========================================= */
/* === SIDEBAR / ASIDE ELEMENTS & STYLES === */
/* ========================================= */

.sidebar {
	margin-top: 2.2em;
	}

.widgettitle {
	border-bottom: 2px solid #444;
	}

.widget {
	/* padding: 0 10px; */
	/* margin: 2.2em 0; */
	}

.widget ul li {
	clear: right;
    display: block;
    float: left;
    margin-right: 5em;
	}

.widget ul li ul {
	margin-top: 0.75em;
	padding-left: 1em;
	}

/* ======================================= */
/* === FOOTER LAYOUT ELEMENTS & STYLES === */
/* ======================================= */

.footer-links ul li { }

#footerLogo{
	margin: 10px 0 10px 0;
}

#footer p {
	text-align: left;
}

#footerEvents, #footerNavigation, #subscribe{
	text-align: left;
}

} /* // END MIN 768PX */




/* ========================================= */
/* === DESKTOP SCREENS / FULLY ENHANCED  === */
/* ========================================= */

@media only screen and (min-width: 1024px) {

.wrap {
	max-width: 1140px;
	}
	
.menu{
	margin: 1.5em 0;
	width: 36em;
}

/* SLIDER */

#slides{
	max-height: 23em;
}

.sliderText{
	top: 1.5em;
	width: 42em;
}

.sliderPreHeadline, .sliderSubHeadline{
	font-size: 1.6em;
    line-height: 1em;
    margin-bottom: -22px;
} 

.sliderSubHeadline{
	max-width: 30em;
}

.sliderMainHeadline {
    font-size: 2.3em;
    margin-bottom: -22px;
}

/* ARTICLE */

.article-container-home {
    margin-top: -3.5em;
}

#home-sidebar-container #search {
    width: 24.4em;
}

} /* // END MIN 1024PX */




/* ============================================================ */
/* === DESKTOP SCREENS / FULL SIZE LAYOUT & FULLY ENHANCED  === */
/* ============================================================ */

@media only screen and (min-width: 1240px) {

#home-sidebar-container #search {
    width: 23em;
}

.sliderText{
	width: 79em;
}


} /* // END MIN 1240PX */



/* ======================================================= */
/* =================== RESPONSIVE SLIDER ================= */
/* ======================================================= */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }

.rslides div {
  -webkit-backface-visibility: hidden;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides div:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
