﻿/* RESPONSIVE GRID SYSTEM =============================================================================  */

/* LAYOUT 2 grid =================================================================*/
/* top, right, bottom, left */
/*  SECTIONS  */
.section {
	clear: both;
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	padding: 0.9% 0.9% 0.9% 0.9%;
	margin: 0;
	width: 100%;
	background-color: #99CCFF;
	text-align: left;
}

.align_text_right {
        text-align: right;
}

/*  COLUMN SETUP  */
.col {
        display: block;
        float:left;
        margin: 0 0 0 0;
}


/* .col:first-child { margin-left: 0; } */

/* .group
solves floating problems, by forcing the section to self clear its children (aka the clearfix hack). This is good in Firefox 3.5+, Safari 4+, Chrome, Opera 9+ and IE 6+.
 */
 /*  GROUPING  */
.group:before,
.group:after {
        content:"";
        display:table;
}
.group:after {
        clear:both;
}

/* show only on large devices */                                               
.span_hide {
        display: block;
}
/* show only on small devices */ 
.span_show {
        display: none;
}

/*  GRID OF TWO  */
.span_2_of_2 {
        width: 100%;
}
.span_1_of_2 {
        width: 50%;
}

/*  GRID OF THREE  */
.span_3_of_3 {
        width: 100%;
}
.span_2_of_3 {
        width: 66.13%;
}
.span_1_of_3 {
        width: 32.26%;
}

/*  GRID OF FOUR  */
.span_4_of_4 {
        width: 100%;
}
.span_3_of_4 {
        width: 74.6%;
}
.span_2_of_4 {
        width: 49.2%;
}
.span_1_of_4 {
        width: 24.6%;
}



/*  MEDIA QUERY  ================================================================================ */

/*  Limit the margins for big screens (1200px)
@media only screen and (min-width: 1200px) {
        .section {
                width: 1200px;
                padding: 0.9% 0.9% 0.9% 0.9%;
        }


}      */

/*  GO FULL WIDTH AT LESS THAN 768 PIXELS */
@media only screen and (max-width: 768px) {
        .section {
                display: block;
        }
        .span_1_of_2 {
                width: 100%; 
        }
        .span_2_of_2 {
                width: 100%;
        }
        .span_1_of_4 {
                width: 100%; 
        }
        .span_2_of_4 {
                width: 100%;
        }
        .span_3_of_4 {
                width: 100%; 
        }
        .span_4_of_4 {
                width: 100%;
        }
        .span_1_of_3 {
                width: 100%;
        }
        .span_2_of_3 {
                width: 100%;
        }
        .span_3_of_3 {
        width: 100%;
        }
}

/* hides the columns of class .span_hide */
@media only screen and (max-width: 768px) {
        .span_hide {
        display: none !important;
        }
        .span_show {
        display: block !important;
		}

}


/* IMAGES ============================================================================= */

img {
display: block;
margin-left: auto;
margin-right: auto;
border : 0;
max-width: 100%;
height: auto;
width: auto\9; /* ie8 */
padding: 2% 1% 2% 1%;
}

img.floatleft { float: left; margin: 0 10px 0 0; }
img.floatright { float: right; margin: 0 0 0 10px; }



/* button, 
input, 
select, 
textarea { 
font-family : 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', verdana, arial, helvetica, helve, sans-serif; 
color : #333; } */

/*  HEADINGS  ============================================================================= */

/* h1, h2, h3, h4, h5, h6 {
font-family:  MuseoSlab300, 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', verdana, arial, helvetica, helve, sans-serif;
font-weight : normal;
margin-top: 10px;
letter-spacing: -1px;
}

h1 { 
font-family:  LeagueGothicRegular, 'lucida sans unicode', 'lucida grande', 'Trebuchet MS', verdana, arial, helvetica, helve, sans-serif;
color: #000;
margin-bottom : 0.2em;
font-size : 6em; 
line-height : 1.4;
}


h2 { 
*color: #222;
margin-bottom : .5em;
margin-top : .5em;
font-size : 2.75em;
line-height : 1.2;
color: #FF0000;
}

h3 { 
color: #333;
margin-bottom : 0.3em;
letter-spacing: -1px;
font-size : 1.75em; 
line-height : 1.3; }


h4 { 
color: #444;
margin-bottom : 0.5em;
font-size : 1.5em; 
line-height : 1.25; }

        footer h4 { 
                color: #ccc;
        }

h5 { 
color: #555;
margin-bottom : 1.25em;
font-size : 1em;  }

h6 { 
color: #666;
font-size : 1em;  }
 */
/*  TYPOGRAPHY  ============================================================================= */

ul, 
ol { 
margin : 0 0 1.5em 0; 
padding : 0 0 0 24px; }

li ul, 
li ol { 
margin : 0;
font-size : 1em; /* 16 / 16 = 1 */ }

dl, 
dd { 
margin-bottom : 1.5em; }

dt { 
font-weight : normal; }

b, strong { 
font-weight : bold; }

hr {
	display : block;
	margin : 1em 0;
	padding : 0;
	height : 1px;
	border : 0;
	border-top : 1px solid #ccc;
	border-color: #000080;
}


sub, sup { 
font-size : 75%; 
line-height : 0; 
position : relative; 
vertical-align : baseline; }

sup { 
top : -.5em; }

sub { 
bottom : -.25em; }

.subtext {
        color: #666;
        }

/* LINKS =============================================================================  */

a { 
color : blue;
font-style: normal;
-webkit-transition: all 0.5s ease;
-moz-transition: all 0.5s ease;
-o-transition: all 0.5s ease;
transition: all 0.5s ease;
text-decoration: none;
outline : 0;
}

a:visited {
        font-style: normal; 
        /*color : #ee3344;*/
        outline : 0;
        text-decoration: underline;
}

/*a:focus { 
        font-style: italic; 
outline : thin dotted; 
color : rgb(0,0,0); }
*/

a:hover, 
a:active {  
        outline : 0;
        color : red;
}


footer a { 
color : #ffffff;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}

footer a:visited { 
color : #fff; }

footer a:focus { 
outline : thin dotted; 
color : rgb(0,0,0); }

footer a:hover, 
footer a:active { 
outline : 0;
color : #fff;
}




/* TABLES ============================================================================= */

table { 
border-collapse : collapse;
border-spacing : 0;
margin-bottom : 1.4em; 
width : 100%; }

th, td, caption { 
padding : 0.3% 0.3% 0.3% 0.3%;
* 10px .25em 5px;
 }

tfoot { 
font-style : italic; }

caption { 
background-color : transparent; }

/* FORMS ============================================================================= */


fieldset { 
margin-bottom : 1.5em; 
padding : 0; 
border-width : 0; }

legend { 
*margin-left : -7px; 
padding : 0; 
border-width : 0; }

label{
font-weight : normal;
cursor : pointer;
display:block;
margin:0;
position:relative;
top:0;
left:0;
}

        label.inline{
        display:inline;
        margin:0;
        }
        
        label span{
        color:#666;
        font-size:0.9em;
        }
        
        label span.right{
        position:absolute;
        bottom:0;
        right:1em;
        text-align:right;
        }
        
        label.disabled{
        color:#ccc;
        }
/* 
input[type="text"] { 
*        width: 12em;
}
        
button, 
search,
input, 
select, 
textarea { 
font-size : 1em; 
margin : 0; 
vertical-align : baseline; 
*vertical-align : middle;
 }

button, input { 
line-height : normal; 
*overflow : visible;
 }

button, 
input[type="button"], 
input[type="reset"], 
input[type="submit"] { 
padding: 0.5em 1em;
margin: 0;
cursor : pointer; 
text-shadow:0 1px 0 #fff;
}

input[type="checkbox"], 
input[type="radio"] { 
box-sizing : border-box; }

input[type="search"] { 
        box-sizing : content-box;
}

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0;  }

input{
margin:0;
border:1px solid #ccc;
font-size:1em;
padding:5px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
border-radius:5px;
background:#fff;
-moz-box-shadow:inset 0px 0px 6px #ccc;
-webkit-box-shadow:inset 0px 1px 6px #ccc;
box-shadow:inset 0px 1px 6px #ccc;
}

        input::-webkit-input-placeholder,
        input:-moz-placeholder,
        .placeholder{
        color:#bbb;
        }
        
        input::-moz-focus-inner {border:0;}

        input[disabled="disabled"], input.disabled{
        color:#999;
        background:#f5f5f5;
        -moz-box-shadow:inset 0px 0px 2px #ddd;
        -webkit-box-shadow:inset 0px 1px 2px #ddd;
        box-shadow:inset 0px 1px 2px #ddd;
        }


/*  Colors for form validity */
/*
 input:valid, 
textarea:valid   {  
/* Styles */ }

/*
input:invalid, 
textarea:invalid {
-webkit-box-shadow : 0 0 2px #f00; 
-moz-box-shadow : 0 0 2px #f00;
box-shadow : 0 0 2px #f00; }

.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid {
background-color : #ccc; }

 */

/* 
.button {
        display: inline-block;
        outline: none;
        cursor: pointer;
        text-align: center;
        text-decoration: none;
        font-weight: normal;
        color: #fff;
        padding: .5em 1em;
        margin: 1px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
        -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
        box-shadow: 0 1px 2px rgba(0,0,0,.2);
        background: #cc1122 url(/images/glass.png) repeat-x 0 50%;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
        font-size : 1.1em;
                                
}
.button:hover {
        background: #dd2233 url(/images/glass.png) repeat-x 0 50%;
        color: #fff;
        text-decoration: none;
}
.button:active {
        background: #dd2233 url(/images/glass.png) repeat-x 0 50%;
        color: #fff;
        position: relative;
        top: 1px;
}
.button:visited { 
        color : #fff;
}

 */

/*  GLOBAL OBJECTS ============================================================================= */

.breaker { clear: both; }

.group:before,
.group:after {
    content:"";
    display:table;
}
.group:after {
    clear:both;
}
.group {
    zoom:1; /* For IE 6/7 (trigger hasLayout) */
}




/* VENDOR-SPECIFIC ============================================================================= */

html { 
-webkit-overflow-scrolling : touch; 
-webkit-tap-highlight-color : rgb(52,158,219); 
-webkit-text-size-adjust : 100%; 
-ms-text-size-adjust : 100%; }

.clearfix { 
zoom : 1; }

::-webkit-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::-moz-selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

::selection { 
background : rgb(23,119,175); 
color : rgb(250,250,250); 
text-shadow : none; }

button, input[type=button], input[type=reset], input[type=submit] { 
-webkit-appearance : button; }

::-webkit-input-placeholder {
font-size : .875em; 
line-height : 1.4; }

input:-moz-placeholder { 
font-size : .875em; 
line-height : 1.4; }

.ie7 img,
.iem7 img { 
-ms-interpolation-mode : bicubic; }

input[type=checkbox], input[type=radio] { 
box-sizing : border-box; }

input[type=search] { 
-webkit-box-sizing : content-box;
-moz-box-sizing : content-box; }

button::-moz-focus-inner, 
input::-moz-focus-inner { 
padding : 0;
border : 0; }


