
/* ==========================================================================
   Fonts
   ========================================================================== */
@font-face {
    font-family: 'flare_light_gothicregular';
    src: url('fonts/fll___-webfont.eot');
    src: url('fonts/fll___-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fll___-webfont.woff') format('woff'),
         url('fonts/fll___-webfont.ttf') format('truetype'),
         url('fonts/fll___-webfont.svg#flare_light_gothicregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'source_sans_proregular';
    src: url('fonts/sourcesanspro-regular-webfont.eot');
    src: url('fonts/sourcesanspro-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/sourcesanspro-regular-webfont.woff') format('woff'),
         url('fonts/sourcesanspro-regular-webfont.ttf') format('truetype'),
         url('fonts/sourcesanspro-regular-webfont.svg#source_sans_proregular') format('svg');
    font-weight: normal;
    font-style: normal;

}



/* ==========================================================================
   Styles
   ========================================================================== */

html {
   background-image:url(../img/lahja-background.jpg);
	background-repeat:repeat;
	background-position:top;
	background-attachment:fixed;
}

body {
    font-size: 1em;
    line-height: 1.4;
}


header{
	height:132px;
	width: 100%;
	background: rgba( 232, 35, 43, 0.8);
	-moz-box-shadow:    5px 3px 5px 5px rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 5px 3px 5px 5px rgba(0, 0, 0, 0.7);
  box-shadow:         5px 3px 5px 5px rgba(0, 0, 0, 0.7);
}



section{
	width: 960px;
	min-height: 1200px;
	background: rgba(255, 255, 255, 0.8);
	position:relative;
	margin-top: 5px;
	overflow:hidden;
	 -webkit-box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.9);
     box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.9);	
}


h1{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: white;
	font-variant:small-caps;
	font-size: 2.8em;
}

h2{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: #2E317D;
	font-variant:small-caps;
	font-size: 2em;
	line-height:0.5em;
}

h3{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: #E8232B;
	font-variant:small-caps;
	font-size: 1.8em;
	line-height:0.5em;
}

h4{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: #E8232B;
	font-variant:small-caps;
	font-size: 1.3em;
	line-height:0.5em;
}

h5{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: #2E317D;
	font-variant:small-caps;
	font-size: 1.1em;
	line-height:0.5em;
}

p{
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	color: #2E317D;
}

a{
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	color: #2E317D;
}

a:hover{
	color: #E8232B;
}



/* ==========================================================================
   Impression Design custom styles
   ========================================================================== */


.wrapper {
  width: 960px;
 margin: 0 auto 0em;
   }

#lahjaLogo{
	position:absolute;
	z-index: 9999;
	margin-left:36px;
	margin-top: 0px;
}

#lahjaLogoTitle{
	position:absolute;
	margin-left:210px;	
}


#lahjaLogoTitle p{
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	color: white;
	font-variant:small-caps;
	font-size: 1.2em;
	margin-left: 574px;
	margin-top: -46px;
}


#headerBorder{
	height: 8px;
	width: 100%;
	background:url(../img/lahja-header-border.png);
	background-repeat:repeat-x;
	position:absolute;
	margin-top:129px;
}



#usefBtn a {
	float:left;
	margin-left: 12px;
	width:  92px;
    height: 184px;
    display: block;
    background: url('../img/lahja-USEF-logo.png') ;
}

#usefBtn a:hover {
	background: url('../img/lahja-USEF-logo.png') 0px 184px;
	border:solid 1px;
	border-color:#F00;
}

#usefPartnerfBtn a {
	float:left;
	margin-left: 16px;
	margin-bottom: 12px;
	width:  98px;
    height: 204px;
    display: block;
    background: url('../img/lahja-USEF-logo.png') ;
}

#usefPartnerfBtn a:hover {
	background: url('../img/lahja-USEF-logo.png') 0px 205px;

}

#links{
	margin-left:16px;
}

#homePic{
	margin-top: 12px;
	
}


#sectionContent{
	width: 690px;
	margin-left:255px;
	padding-left: 18px;
	padding-right:16px;
}

#sectionContentbanquet{
	width: 690px;
	margin-left:240px;
	padding-left: 18px;
	padding-right:16px;
}

#sectionContent ul li{
	font-family: source_sans_proregular, Arial, Helvetica, sans-serif;
	color: #2E317D;
	list-style: decimal;
}


.col{
	-moz-column-count:2;
 -webkit-column-count:2; 
 column-count:2;
}

.col p:first-child{
	margin-top: 0px;
}

.calendar a{
	float:left;
	margin-right: 16px;
	padding: 4px 16px 6px 16px;
	background-color: #2E317D;
	border-radius:5px;
	margin-bottom:8px;
	color: white;
	text-decoration:none;
}

.calendar a:hover{
		background-color: #EC1E24;
}

.forms a{
	margin-right: 16px;
	padding: 12px 16px 6px 16px;
	background-color: #2E317D;
	border-radius:5px;
	color: white;
	text-decoration:none;
}

.forms a:hover{
		background-color: #EC1E24;
}

.forms p{
	margin-top: 24px;
}

#form ul li{
	font-family: 'flare_light_gothicregular', Arial, Helvetica, sans-serif;
	font-size: 1em;
	color: #2E317D;
	list-style:none;
	padding-bottom: 5px;
}


#iframe{
	margin-top:16px;
	margin-bottom:16px;
}

/* ==========================================================================
   Breaking News
   ========================================================================== */

#breakingNews{
	height:auto;
	width:600px;
	border: 1px solid white;
	padding: 4px 16px 16px 16px;
	 -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
     border-radius: 10px;
    border: inset 1px solid #fff;
    -webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
     box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	 margin-bottom: 32px;
	 overflow:hidden;
}

#newsPic img{
	margin-right: 16px;
}

#news{
	padding-left: 8px;
	position:relative;
}

/* ==========================================================================
   NavBar
   ========================================================================== */

nav{
	float:left;
	width:240px;
	height:100%;
	margin-top: 0px;
	border-right: 3px solid #2E317D;
	position:absolute;
}

nav ul{
	display:inline-block;
	margin-top:32px;
	color: #2E317D;
	font-size: 1em;
}



nav ul li a{
	display:block;
	width:200px;
	text-decoration:none;
	padding:4px 0px 4px 40px;
	margin-left: -40px;
	color: #2E317D;	
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	
}

nav ul li a:hover{
	background: #2E317D;
	color: white;
}

body#home a#nav-home,
body#about a#nav-about,
body#board a#nav-board,
body#calendar a#nav-calendar,
body#rules a#nav-rules,
body#medal a#nav-medal,
body#points a#nav-points,
body#forms a#nav-forms,
body#membership a#nav-membership,
body#newsletter a#nav-newsletter,
body#articles a#nav-articles,
body#programs a#nav-programs,
body#contact a#nav-contact,
body#banquet a#nav-banquet,
body#join a#nav-join{
	background: #2E317D;
	color: white;
}


/* ==========================================================================
  Footer
   ========================================================================== */

footer{
	height:190px;
	width: 100%;
	background: rgba( 232, 35, 43, 0.8);
}

footer p{
	color: white;
	font-size:0.8em;
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
	line-height: 20px;
}

footer a{
	color: white;
	font-family: flare_light_gothicregular, Arial, Helvetica, sans-serif;
}

footer a:hover{
	color: #2E317D;
}

#footerBorder{
	height: 8px;
	width: 100%;
	background:url(../img/lahja-header-border.png);
	background-repeat:repeat-x;
	position:absolute;
	margin-top: 0px;
}

#footerLogo{
	position:absolute;
	margin-left: 430px;
	margin-top:16px;
}

#footerContact{
	margin-left: 670px;
	margin-top:24px;
	position:absolute;
	padding-left:8px;
	border-left: 1px dotted white;
	height:150px;
}



#copyright{
	position:absolute;
	margin-left:820px;
	margin-top:24px;
	padding-left:8px;
	border-left: 1px dotted white;
	height:150px;
}


#footerNav1{
	position:absolute;
	height:150px;
	width: 120px;
	text-align:right;
	margin-top: 24px;
	padding-right: 8px;
	border-right: 1px dotted white;
	margin-left: 16px;
	text-decoration:none;
}

#footerNav2{
	height:150px;
	width: 120px;
	position:absolute;
	margin-left: 170px;
	text-align:right;
	margin-top: 24px;
	padding-right: 8px;
	border-right: 1px dotted white;
	
}
#footerNav1 a{
	text-decoration:none;
}
#footerNav2 a{
	text-decoration:none;
}
/* ==========================================================================
   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;
    }
}
