/**
 * Theme Name: YLI
 * Theme URI: http://youthleadershipinstitute.org/
 * Description: The 2010 theme for the Youth Leadership Institute.
 * Author: Jeremy Fuksa
 * Version: 1.0
 */
 
 /************************************************************************
 -) Slider
 *************************************************************************/
 .aviaslider{ 
 height:450px; 	/*this changes the height of the image slider*/
 width:1140px;
 overflow: hidden;
 position: relative;
 background: #fff url(../img/preload.gif) center center no-repeat;
 }
 
 .aviaslider li, .aviaslider .featured{
 display: block;
 width:100%;
 height:100%;
 position: absolute;
 top:0;
 left:0;
 z-index: 1;
 }
 
 .js_active .aviaslider li, .js_active .aviaslider .featured{
 display:none;
 }
 
 .aviaslider img, .aviaslider a img, .aviaslider a{
 border:none;
 text-decoration: none;
 }
 
 .slidecontrolls{
 margin:20px auto 0 auto;
 position: relative;
 float:left;
 }
 
 .slidecontrolls a{
 height:20px;
 width:18px;
 display:block;
 cursor: pointer;
 background: transparent url(../img/controls.gif) center bottom no-repeat;
 float:left;
 outline: none;
 }
 
 .slidecontrolls a:hover, .slidecontrolls .active_item{
 background: transparent url(../img/controls.gif) center top no-repeat;
 }
 
 .feature_excerpt{
 width:610px;
 position: absolute;
 display: block;
 bottom: 0;
 left:0;
 z-index: 2;
 padding:14px 15px;
 font-size: 11.5px;
 line-height:1.5em;
 cursor: pointer;
 background: #000;
 color: #fff;
 }
 
 .feature_excerpt strong{
 display: block;
 font-size: 15px;
 padding-bottom: 3px;
 }

/* ===[ Layout for desktop version ]=== */

body {
    margin-top: 60px;
    background-color: #3780bd; color: #333;
    font: 62.5%/160% "Helvetica Neue", Helvetica, Arial, sans-serif
}

a {
    color: #005dab;
    text-decoration: none
}

blockquote {
	margin-left: 20px;
	padding-left: 20px;
	font-style: italic;
	border-left: 4px solid #d9d9d9;
}

.error {
	color: #900;
	font-weight: bold;
}

footer {
    padding-top: 20px; padding-bottom: 50px;
    color: #fff
}

footer .fivecol p { margin-left: 30px }

footer nav li {
    list-style: none;
    list-style-image: url(../img/bullet.png);
}

footer nav ul {
    display: inline-block;
    margin-right: 35px;
    vertical-align: top
}

footer nav a { color: #fff }

footer nav a:hover { color: #f9c636 }

.form_item {
	display: inline-block;
	margin-right: 30px;
	padding-bottom: 15px;
	vertical-align: top;
}

.form_input {
	width: 160px;
	margin-bottom: 5px;
	border: 1px solid #d6d6d6;
	padding: 2px;
	color: #999;
}

form textarea {
	display: block;
	margin-bottom: 10px;
}

header h1 {
    margin-left: 60px;
    color: #fff;
    font-size: 0.1em; font-weight: 700
}

h2 {
    margin-bottom: 16px;
    color: #005dab;
    font-size: 1.8em; font-weight: 700
}

h3 {
    margin-bottom: 16px;
    color: #8cc63f;
    font-size: 1.4em; font-weight: 700
}

hr {
	height: 1px;
	border: none;
	color: #d6d6d6;
	background-color: #d6d6d6;
	margin-bottom: 40px;
}

.build { color: #8cc63f }

.clear { clear: both }

.heading {
    margin-left: -11px;
    color: #f9c636;
    font-weight: bold;
    list-style: none
}

.heading a { color: #f9c636 }

.heading a:hover { color: #fff }

#home_content { 
	margin-top: 30px; 
	padding-bottom: 40px;
}

#home_content p {
    margin-right: 60px; margin-bottom: 15px;
    color: #555;
    font-size: 1.2em;
    line-height: 180%
}

#home_content li {
	margin-left: 30px;
	color: #555;
	font-size: 1.2em;	
}

#home_content ul {
	margin-bottom: 15px;
}

#home_sponsors {
    padding-top: 5px;
    font-size: 1.1em
}

.img_inset {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	border: 5px solid #fff;
	-moz-box-shadow: 4px 4px 5px #ccc;
	-webkit-box-shadow: 4px 4px 5px #ccc;
	box-shadow: 4px 4px 5px #ccc;
}

#intro {
    min-height: 200px;
    margin-top: 30px; margin-bottom: 15px;
    padding-bottom: 20px;
    border-right: 1px solid #d6d6d6
}

#intro h1 {
    margin-right: 40px;
    color: #3e3e3e;
    font-size: 2.6em; font-weight: 700;
    text-align: right;
    line-height: 110%
}

#intro a { color: #777 }

.label {
	display: block;
	font-size: 1.2em;
	font-weight: 700;
	color: #666;
}

#logo { position: relative }

#logo img {
    position: absolute;
    top: -20px; left: 50px;
    z-index: 100;
}

#menu { margin-bottom: 20px }

#menu li {
    display: inline-block;
    margin-right: 25px;
    padding-top: 20px; padding-left: 10px;
    color: #999;
    border-left: 1px solid #d6d6d6;
    font-size: 1.6em; font-weight: bold; font-weight: 700
}

#menu a { color: #999 }

.over {
	position: relative;
	z-index: 10;
	top: -60px;
	left: 40px;
	-webkit-transform: rotate(-8deg);
	-moz-transform: rotate(-8deg);
}

.radio {
	font-size: 1.2em;
	font-weight: 700;
	color: #666;
}

#rotary {
    float: left;
    margin-left: 70px;
    padding-right: 20px; padding-bottom: 10px
}

#rotary_sec {
    float: left;
    margin-left: 60px;
    padding-right: 10px; padding-bottom: 10px
}

#sec_sponsors {
    padding-top: 0px;
    font-size: 0.8em;
    line-height: 120%
}

#sec_sponsors a { color: #777 }

.snapshot {
   border: 6px solid #fff;
   -moz-box-shadow: 0 0 10px #888;
   -webkit-box-shadow: 0 0 10px #888;
   box-shadow: 0 0 10px #888;
   -ms-filter: progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color='#888888');
   filter: progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color='#888888');
}

a:hover,
#intro a:hover,
#sec_sponsors a:hover { color: #8cc63f }

.smaller {
	font-size: .8em;
}

.social {
    position: relative;
    top: 6px; left: -11px;
    list-style-image: none
}

.social a { margin-right: 4px }

#sponsored_by {
    display: inline;
    font-size: 1.2em; font-weight: bold;
    line-height: 200%
}

#sponsored_by_sec {
    display: inline;
    font-size: 0.8em; font-weight: bold;
    line-height: 200%
}

#submenu {
    float: right;
    margin-top: -23px
}

#submenu h2 {
	margin-top: 40px;
	color: #999;
	font-size: 1.4em;
	text-align: right;
}

#submenu li {
    width: 120px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d6d6d6;
    font-size: 1.4em; font-weight: bold;
    text-align: right;
    list-style: none
}

#submenu a { color: #8cc63f }

.under {
	position: relative;
	top: 40px;
	left: 80px;
	-webkit-transform: rotate(10deg);
	-moz-transform: rotate(10deg);
}

.wrapper {
    background-color: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0px 0px 10px #1f4e7a;
    -webkit-box-shadow: 0px 0px 10px #1f4e7a;
    box-shadow: 0px 0px 10px #1f4e7a;
    overflow: visible !important;
}

#menu a:hover,
#submenu a:hover { color: #f9c636 }

/* ===[ Layout for mobile version ]=== */

@media all and (max-width: 1023px) { 
	#menu li {
		font-size: 1.4em;
	}

	.snapshot {
		width: 320px;
		height: auto;
	}
	
	.under, .over {
		left: 50px;
	}
}

@media all and (max-width: 767px) { 
    body { background-color: #fff }

    #logo { left: 20px }

    .wrapper {
        background-color: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
}

/* ===[ Provide higher res assets for iPhone 4 ]=== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 
    /** An example of how to override an image with one twice the size for iPhone 4. Specify the original pixel size with background-size.
     * .download {
     * background: url(../img/downarrow@2x.png) no-repeat;
     * background-size: 27px 28px;
     * }
     */
}
