/*
* Skeleton V1.2
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 6/20/2012
*/


/* Table of Contents
==================================================
    #Base 960 Grid
    #Tablet (Portrait)
    #Mobile (Portrait)
    #Mobile (Landscape)
    #Clearing */



/* #Base 960 Grid
================================================== */

    .container                                  { position: relative; width: 1060px; margin: 0 auto; padding: 0; padding-top: 10px; padding-bottom: 10px; }
    .container .column,
    .container .columns                         { float: left; display: inline; margin-left: 20px; margin-right: 20px; }
    .row                                        { /*padding-top: 30px; padding-bottom: 30px; min-height: 100%;*/}

    /* Nested Column Classes */
    .column.alpha, .columns.alpha               { margin-left: 0; }
    .column.omega, .columns.omega               { margin-right: 0; }

    /* Base Grid */
    .container .one.column,
    .container .one.columns                     { width: calc(6.25% - 40px);  }
    .container .two.columns                     { width: calc(12.5% - 40px); }
    .container .three.columns                   { width: calc(18.75% - 40px); }
    .container .four.columns                    { width: calc(25% - 40px); }
    .container .five.columns                    { width: calc(31.25% - 40px); }
    .container .six.columns                     { width: calc(37.5% - 40px); }
    .container .seven.columns                   { width: calc(43.75% - 40px); }
    .container .eight.columns                   { width: calc(50% - 40px); }
    .container .nine.columns                    { width: calc(56.25% - 40px); }
    .container .ten.columns                     { width: calc(62.5% - 40px); }
    .container .eleven.columns                  { width: calc(68.75% - 40px); }
    .container .twelve.columns                  { width: calc(75% - 40px); }
    .container .thirteen.columns                { width: calc(81.25% - 40px); }
    .container .fourteen.columns                { width: calc(87.5% - 40px); }
    .container .fifteen.columns                 { width: calc(93.75% - 40px); }
    .container .sixteen.columns                 { width: calc(100% - 40px); }

    .container .one-third.column                { width: calc(33.33333% - 40px); }
   /* .container.home-galery .one-third.column                { width: calc(33.33333% - 52px); }*/
    .container .two-thirds.column               { width: calc(66.66666% - 40px); }
    .container .one-six.column               { width: calc(16.66666% - 40px); }

    .columns .four.columns {width: calc(50% - 40px); }
    /* Offsets */
    .container .offset-by-one                   { padding-left: 6.25%;  }
    .container .offset-by-two                   { padding-left: 12.5%; }
    .container .offset-by-three                 { padding-left: 18.75%; }
    .container .offset-by-four                  { padding-left: 25%; }
    .container .offset-by-five                  { padding-left: 31.25%; }
    .container .offset-by-six                   { padding-left: 37.5%; }
    .container .offset-by-seven                 { padding-left: 43.75%; }
    .container .offset-by-eight                 { padding-left: 50%; }
    .container .offset-by-nine                  { padding-left: 56.25%; }
    .container .offset-by-ten                   { padding-left: 62.5%; }
    .container .offset-by-eleven                { padding-left: 68.75%; }
    .container .offset-by-twelve                { padding-left: 75%; }
    .container .offset-by-thirteen              { padding-left: 81.25%; }
    .container .offset-by-fourteen              { padding-left: 87.5%; }
    .container .offset-by-fifteen               { padding-left: 93.75%; }


    /* 1024 */
@media only screen and (max-width: 1070px) and (min-width: 1024px) {
.container .one-six.column {width: calc(16.66666% - 30px);}
.container 											{ width: 98%;}
.container .column,
.container .columns 									{ margin-left: 15px; margin-right: 15px; }
.column.alpha, .columns.alpha 						{ margin-left: 0; margin-right: 10px; }
.column.omega, .columns.omega 						{ margin-right: 0; margin-left: 10px; }
.column.alpha.omega, .columns.alpha.omega 			{ margin-left: 0; margin-right: 0}

 /* Base Grid */
    .container .one.column,
    .container .one.columns                     { width: calc(6.25% - 30px);  }
    .container .two.columns                     { width: calc(12.5% - 30px); }
    .container .three.columns                   { width: calc(18.75% - 30px); }
    .container .four.columns                    { width: calc(25% - 30px); }
    .container .five.columns                    { width: calc(31.25% - 30px); }
    .container .six.columns                     { width: calc(37.5% - 30px); }
    .container .seven.columns                   { width: calc(43.75% - 30px); }
    .container .eight.columns                   { width: calc(50% - 30px); }
    .container .nine.columns                    { width: calc(56.25% - 30px); }
    .container .ten.columns                     { width: calc(62.5% - 30px); }
    .container .eleven.columns                  { width: calc(68.75% - 30px); }
    .container .twelve.columns                  { width: calc(75% - 30px); }
    .container .thirteen.columns                { width: calc(81.25% - 30px); }
    .container .fourteen.columns                { width: calc(87.5% - 30px); }
    .container .fifteen.columns                 { width: calc(93.75% - 30px); }
    .container .sixteen.columns                 { width: calc(100% - 30px); }

    .container .one-third.column                { width: calc(33.33333% - 30px); }
  /*  .container.home-galery .one-third.column                { width: calc(33.33333% - 42px); }*/
    .container .two-thirds.column               { width: calc(66.66666% - 30px); }

    /* Offsets */
    .container .offset-by-one                   { padding-left: 6.25%;  }
    .container .offset-by-two                   { padding-left: 12.5%; }
    .container .offset-by-three                 { padding-left: 18.75%; }
    .container .offset-by-four                  { padding-left: 25%; }
    .container .offset-by-five                  { padding-left: 31.25%; }
    .container .offset-by-six                   { padding-left: 37.5%; }
    .container .offset-by-seven                 { padding-left: 43.75%; }
    .container .offset-by-eight                 { padding-left: 50%; }
    .container .offset-by-nine                  { padding-left: 56.25%; }
    .container .offset-by-ten                   { padding-left: 62.5%; }
    .container .offset-by-eleven                { padding-left: 68.75%; }
    .container .offset-by-twelve                { padding-left: 75%; }
    .container .offset-by-thirteen              { padding-left: 81.25%; }
    .container .offset-by-fourteen              { padding-left: 87.5%; }
    .container .offset-by-fifteen               { padding-left: 93.75%; }

 } 

/* #Tablet (Portrait)
================================================== */
    @media only screen and (min-width: 768px) and (max-width: 1023px) {
        .container .one-six.column {width: calc(33.333333% - 20px);}

            .container                                  { position: relative; width: 100%; margin: 0 auto; padding: 0; }
    .container .column,
    .container .columns                         { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
    .row                                        { margin-bottom: 20px; }

    /* Nested Column Classes */
    .column.alpha, .columns.alpha               { margin-left: 0; }
    .column.omega, .columns.omega               { margin-right: 0; }

  .container .one.column,
    .container .one.columns                     { width: calc(6.25% - 20px);  }
    .container .two.columns                     { width: calc(12.5% - 20px); }
    .container .three.columns                   { width: calc(18.75% - 20px); }
    .container .four.columns                    { width: calc(25% - 20px); }
    .container .five.columns                    { width: calc(31.25% - 20px); }
    .container .six.columns                     { width: calc(37.5% - 20px); }
    .container .seven.columns                   { width: calc(43.75% - 20px); }
    .container .eight.columns                   { width: calc(50% - 20px); }
    .container .nine.columns                    { width: calc(56.25% - 20px); }
    .container .ten.columns                     { width: calc(62.5% - 20px); }
    .container .eleven.columns                  { width: calc(68.75% - 20px); }
    .container .twelve.columns                  { width: calc(75% - 20px); }
    .container .thirteen.columns                { width: calc(81.25% - 20px); }
    .container .fourteen.columns                { width: calc(87.5% - 20px); }
    .container .fifteen.columns                 { width: calc(93.75% - 20px); }
    .container .sixteen.columns                 { width: calc(100% - 20px); }

    .container .one-third.column                { width: calc(33.33333% - 20px); }
 /*   .container.home-galery .one-third.column                { width: calc(33.33333% - 32px); }*/
    .container .two-thirds.column               { width: calc(66.66666% - 20px); }

    /* Offsets */
    .container .offset-by-one                   { padding-left: 6.25%;  }
    .container .offset-by-two                   { padding-left: 12.5%; }
    .container .offset-by-three                 { padding-left: 18.75%; }
    .container .offset-by-four                  { padding-left: 25%; }
    .container .offset-by-five                  { padding-left: 31.25%; }
    .container .offset-by-six                   { padding-left: 37.5%; }
    .container .offset-by-seven                 { padding-left: 43.75%; }
    .container .offset-by-eight                 { padding-left: 50%; }
    .container .offset-by-nine                  { padding-left: 56.25%; }
    .container .offset-by-ten                   { padding-left: 62.5%; }
    .container .offset-by-eleven                { padding-left: 68.75%; }
    .container .offset-by-twelve                { padding-left: 75%; }
    .container .offset-by-thirteen              { padding-left: 81.25%; }
    .container .offset-by-fourteen              { padding-left: 87.5%; }
    .container .offset-by-fifteen               { padding-left: 93.75%; }

    }

/* #Tablet (Portrait)
================================================== */


/*  #Mobile (Portrait)
================================================== */

    /* Note: Design for a width of 320px */

   
    @media only screen and (max-width: 767px) {
                .container .one-six.column {width: 80%; margin-left: 10%; }

        .container { width: 98%; }
        .container .columns,
        .container .column { margin: 0; }

        .container .one.column,
        .container .one.columns,
        .container .two.columns,
        .container .three.columns,
        .container .four.columns,
        .container .five.columns,
        .container .six.columns,
        .container .seven.columns,
        .container .eight.columns,
        .container .nine.columns,
        .container .ten.columns,
        .container .eleven.columns,
        .container .twelve.columns,
        .container .thirteen.columns,
        .container .fourteen.columns,
        .container .fifteen.columns,
        .container .sixteen.columns,
        .container .one-third.column,
        .container .two-thirds.column  { width: 100%; }
       /* .container.home-galery .one-third.column  { width: calc(100% - 12px); }*/

        /* Offsets */
        .container .offset-by-one,
        .container .offset-by-two,
        .container .offset-by-three,
        .container .offset-by-four,
        .container .offset-by-five,
        .container .offset-by-six,
        .container .offset-by-seven,
        .container .offset-by-eight,
        .container .offset-by-nine,
        .container .offset-by-ten,
        .container .offset-by-eleven,
        .container .offset-by-twelve,
        .container .offset-by-thirteen,
        .container .offset-by-fourteen,
        .container .offset-by-fifteen { padding-left: 0; }
        

    }


/* #Mobile (Landscape)
================================================== */

    /* Note: Design for a width of 480px */

    @media only screen and (min-width: 480px) and (max-width: 767px) {
               /* .first {display: none;}*/
        .uppage {width: 7.5% !important; height: 13% !important; background-size: 100% 100% !important;}
        .container { width: 85%; }
        .container .columns,
        .container .column { margin: 0; }

        .container .one.column,
        .container .one.columns,
        .container .two.columns,
        .container .three.columns,
        .container .four.columns,
        .container .five.columns,
        .container .six.columns,
        .container .seven.columns,
        .container .eight.columns,
        .container .nine.columns,
        .container .ten.columns,
        .container .eleven.columns,
        .container .twelve.columns,
        .container .thirteen.columns,
        .container .fourteen.columns,
        .container .fifteen.columns,
        .container .sixteen.columns,
        .container .one-third.column,
        .container .two-thirds.column { width: 100%; }
       /* .container.home-galery .one-third.column  { width: calc(100% - 12px); }*/
    }

 @media only screen and (max-width: 340px) {
     .onethreep { width: 100%;  float: left;}
     .uppage {width: 7.5% !important; height: 13% !important; background-size: 100% 100% !important;}
        .onefour { float: left; display: inline; width: 48%; margin-left: 1%; margin-right: 1%;}
}
/* #Clearing
================================================== */

    /* Self Clearing Goodness */
    .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

    /* Use clearfix class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clearfix:before,
    .clearfix:after,
    .row:before,
    .row:after {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .row:after,
    .clearfix:after {
      clear: both; }
    .row,
    .clearfix {
      zoom: 1; }

    /* You can also use a <br class="clear" /> to clear columns */
    .clear {
      clear: both;
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0;
    }
