/* =============================================================================
1. Reset CSS based on yahoos reset
============================================================================= */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  border:0;
  font-size:100%;
  font:inherit;
  vertical-align:baseline;
  margin:0;
  padding:0;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block;
}

body {
  line-height:1;
}

strong {
    font-weight: bold;
}

ol,ul {
  list-style:none;
}

blockquote,q {
  quotes:none;
}

blockquote:before,blockquote:after,q:before,q:after {
  content:none;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

/* 1.1 Clearfix -  - Nicolas Gallagher's micro clearfix
   ========================================================================== */
.clear:before,
.clear:after,
.section:before,
.section:after,
.row:before,
.row:after {
  content: "";
  display: table;
}
.clear:after,.section:after,.row:after {
  clear: both;
}
.clear,.section,.row {
  zoom: 1;
}


/*  ===========================================================================
    2. Grid System by Goran Jakovljevic, inspired by 960gs
============================================================================= */

/* `Container
----------------------------------------------------------------------------- */
.row {margin-left: auto; margin-right: auto; width: 1050px;position: relative;padding: 0;}

/* `Grid >> Global
----------------------------------------------------------------------------- */
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12 {display: inline; float: left; margin-left: 2%; margin-bottom: 25px;}
.row [class*="grid"]:first-child {
        margin-left: 0;
    }

.push_1, .pull_1, .push_2, .pull_2, .push_3, .pull_3, .push_4, .pull_4, .push_5, .pull_5, .push_6, .pull_6, .push_7, .pull_7, .push_8, .pull_8, .push_9, .pull_9, .push_10, .pull_10, .push_11, .pull_11 {position: relative;}

/* `Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------- */
.alpha {margin-left: 0;}
.omega {margin-right: 0;}

/* `Grid >> 12 Columns
----------------------------------------------------------------------------- */
.row .grid_1 {width: 6.5%;}
.row .grid_2 {width: 15%;}
.row .grid_3 {width: 23.5%;}
.row .grid_4 {width: 32%;}
.row .grid_5 {width:  40.5%;}
.row .grid_6 {width: 49%;}
.row .grid_7 {width: 57.5%;}
.row .grid_8 {width:  66%;}
.row .grid_9 {width: 74.5%;}
.row .grid_10 {width: 83%;}
.row .grid_11 {width: 91.5%;}
.row .grid_12 {width: 100%;}




/*  ===========================================================================
    3. Responsive Grid
============================================================================= */

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

  iframe{
        max-width: 100%;
        height: auto;
    }

    img{
        max-width: 100%;
    }

  .row{
        width: 708px !important;
    }

    .grid_1{
        width: 39px !important;
    }
    .grid_2{
        width: 98px !important;
    }
    .grid_3{
        width: 157px !important;
    }
    .grid_4{
        width: 216px !important;
    }
    .grid_5{
        width: 275px !important;
    }
    .grid_6{
        width: 334px !important;
    }
    .grid_7{
        width: 393px !important;
    }
    .grid_8{
        width: 452px !important;
    }
    .grid_9{
        width: 511px !important;
    }
    .grid_10{
        width: 570px !important;
    }
    .grid_11{
        width: 629px !important;
    }
    .grid_12{
        width: 688px !important;
    }

}

@media only screen and (min-width: 480px) and (max-width: 767px){

  img{
        max-width: 100%;
        height: auto;
    }

    iframe{
        max-width: 100%;
        height: auto;
    }

    /* GRIDS */
    .row{
        width: 100% !important;
    }

    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11,
    .grid_12{
        width: 100% !important;
    }

    .row [class*="grid_"] [class*="grid_"]{
        margin-left: 0 !important;
    }

    .omega{
        margin-left: 0;
    }

}


@media only screen and (min-width: 220px) and (max-width: 479px){ 

    .row{
        /*width: 320px !important;*/
    }

    .grid_1,
    .grid_2,
    .grid_3,
    .grid_4,
    .grid_5,
    .grid_6,
    .grid_7,
    .grid_8,
    .grid_9,
    .grid_10,
    .grid_11,
    .grid_12{
        width: 100% !important;
    }

    .row [class*="grid_"] [class*="grid_"]{
        margin-left: 0 !important;
    }

    .omega{
        margin-left: 0px;
    }

    .alpha.omega{
        margin-right: 0;
        margin-left: 0;
    }

}

/**********************************
* Smaller Screens
**********************************/
@media only screen and (max-width: 1200px) {
    .row {
        width: 1050px;
    }
}

/**********************************
* Tablets
**********************************/
@media only screen and (max-width: 1024px) {
    .row {
        width: 100%;
    }
}

/**********************************
* Mobile Devices
* - All columns are full width
**********************************/
@media only screen and (max-width: 767px) {
    .row {
        width: 96%;
    }
    [class*="grid"] {
        margin: 15px 0;
        float: none;
        width: 100%;
    }
}