
/* ===================================================================
 * # grid
 *
 * ------------------------------------------------------------------- */
.row1 {
  width: 89%;
  max-width: 1200px;
  margin: 0 auto;
}

.row1:after {
  content: "";
  display: table;
  clear: both;
}

.row1 .row1 {
  width: auto;
  max-width: none;
  margin-left: 100px;
  margin-right: -20px;
}

/* column blocks
 * -------------------------------------- */
[class*="col-"] {
  /* float: left; */
  padding: 0 20px;
}

[class*="col-"] + [class*="col-"].end {
  float: right;
}

.collapse > [class*="col-"],
[class*="col-"].collapse {
  padding: 0;
}

/* column width classes 
 * -------------------------------------- */
.col-one {
  width: 8.33333%;
}

.col-two,
.col-1-6 {
  width: 16.66667%;
}

.col-three,
.col-1-4 {
  width: 25%;
}

.col-four,
.col-1-3 {
  width: 33.33333%;
}

.col-five {
  width: 41.66667%;
}

.col-six,
.col-1-2 {
  width: 50%;
}

.col-seven {
  width: 58.33333%;
}

.col-eight,
.col-2-3 {
  width: 66.66667%;
}

.col-nine,
.col-3-4 {
  width: 75%;
}

.col-ten,
.col-5-6 {
  width: 83.33333%;
}

.col-eleven {
  width: 91.66667%;
}

.col-twelve,
.col-full {
  width: 100%;
}


/* ------------------------------------------------------------------- 
 * ## medium size devices
 * ------------------------------------------------------------------- */
@media only screen and (max-width:1200px) {
  .row1 .row1 {
    margin-left: 40px;
    margin-right: -16px;
  }

  [class*="col-"] {
    padding: 0 16px;
  }

  .md-one {
    width: 8.33333%;
  }

  .md-two,
  .md-1-6 {
    width: 16.66667%;
  }

  .md-three,
  .md-1-4 {
    width: 25%;
  }

  .md-four,
  .md-1-3 {
    width: 33.33333%;
  }

  .md-five {
    width: 41.66667%;
  }

  .md-six,
  .md-1-2 {
    width: 50%;
  }

  .md-seven {
    width: 58.33333%;
  }

  .md-eight,
  .md-2-3 {
    width: 66.66667%;
  }

  .md-nine,
  .md-3-4 {
    width: 75%;
  }

  .md-ten,
  .md-5-6 {
    width: 83.33333%;
  }

  .md-eleven {
    width: 91.66667%;
  }

  .md-twelve,
  .md-full {
    width: 100%;
  }

}


/* ------------------------------------------------------------------- 
 * ## tablets
 * ------------------------------------------------------------------- */
@media only screen and (max-width:1024px) {
  .row1 {
    width: 90%;
  }

  .tab-1-4 {
    width: 25%;
  }

  .tab-1-3 {
    width: 33.33333%;
  }

  .tab-1-2 {
    width: 50%;
  }

  .tab-2-3 {
    width: 66.66667%;
  }

  .tab-3-4 {
    width: 75%;
  }

  .tab-full {
    width: 100%;
  }

  .hide-on-tablet {
    display: none;
  }

}


/* ------------------------------------------------------------------- 
 * ## mobile devices
 * ------------------------------------------------------------------- */
@media only screen and (max-width:600px) {
  .row1 {
    width: auto;
    padding-left: 25px;
    padding-right: 25px;
  }

  .row1 .row1 {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 0;
    padding-right: 0;
  }

  [class*="col-"] {
    padding: 0 10px;
  }

  .mob-1-4 {
    width: 25%;
  }

  .mob-1-3 {
    width: 33.33333%;
  }

  .mob-1-2 {
    width: 50%;
  }

  .mob-2-3 {
    width: 66.66667%;
  }

  .mob-3-4 {
    width: 75%;
  }

  .mob-full {
    width: 100%;
  }

  .hide-on-mobile {
    display: none;
  }

}


/* ------------------------------------------------------------------- 
 * ## small mobile devices
 * ------------------------------------------------------------------- */

/* stack columns on small mobile devices
 * ------------------------------------------------------------------- */
@media only screen and (max-width:1024px) {
  .row1 .row1 {
    margin-left: 0;
    margin-right: 0;
  }

  [class*="col-"]:not(.col-block) {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  [class*="col-"] + [class*="col-"].end {
    float: none;
  }

  .stack .col-block {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

}



/* ===================================================================
 * # block grids
 * ------------------------------------------------------------------- */

/* Equally-sized columns define at row1 level
 * ------------------------------------------------------------------- */
[class*="block-"]:after {
  content: "";
  display: table;
  clear: both;
}

.block-1-6 .col-block {
  width: 16.66667%;
}

.block-1-5 .col-block {
  width: 20%;
}

.block-1-4 .col-block {
  width: 25%;
}

.block-1-3 .col-block {
  width: 33.33333%;
}

.block-1-2 .col-block {
  width: 50%;
}

/**
 * Clearing for block grid columns. Allow columns with 
 * different heights to align properly.
 */
.block-1-6 .col-block:nth-child(6n+1),
.block-1-5 .col-block:nth-child(5n+1),
.block-1-4 .col-block:nth-child(4n+1),
.block-1-3 .col-block:nth-child(3n+1),
.block-1-2 .col-block:nth-child(2n+1) {
  clear: both;
}


/* ------------------------------------------------------------------- 
 * ## medium size devices
 * ------------------------------------------------------------------- */
@media only screen and (max-width:1200px) {
  .block-m-1-6 .col-block {
    width: 16.66667%;
  }

  .block-m-1-5 .col-block {
    width: 20%;
  }

  .block-m-1-4 .col-block {
    width: 25%;
  }

  .block-m-1-3 .col-block {
    width: 33.33333%;
  }

  .block-m-1-2 .col-block {
    width: 50%;
  }

  .block-m-full .col-block {
    width: 100%;
    clear: both;
  }

  [class*="block-m-"] .col-block:nth-child(n) {
    clear: none;
  }

  .block-m-1-6 .col-block:nth-child(6n+1),
  .block-m-1-5 .col-block:nth-child(5n+1),
  .block-m-1-4 .col-block:nth-child(4n+1),
  .block-m-1-3 .col-block:nth-child(3n+1),
  .block-m-1-2 .col-block:nth-child(2n+1) {
    clear: both;
  }

}


/* ------------------------------------------------------------------- 
 * ## tablets
 * ------------------------------------------------------------------- */
@media only screen and (max-width:1024px) {
  .block-tab-1-6 .col-block {
    width: 16.66667%;
  }

  .block-tab-1-5 .col-block {
    width: 20%;
  }

  .block-tab-1-4 .col-block {
    width: 25%;
  }

  .block-tab-1-3 .col-block {
    width: 33.33333%;
  }

  .block-tab-1-2 .col-block {
    width: 50%;
  }

  .block-tab-full .col-block {
    width: 100%;
    clear: both;
  }

  [class*="block-tab-"] .col-block:nth-child(n) {
    clear: none;
  }

  .block-tab-1-6 .col-block:nth-child(6n+1),
  .block-tab-1-5 .col-block:nth-child(5n+1),
  .block-tab-1-4 .col-block:nth-child(4n+1),
  .block-tab-1-3 .col-block:nth-child(3n+1),
  .block-tab-1-2 .col-block:nth-child(2n+1) {
    clear: both;
  }

}


/* ------------------------------------------------------------------- 
 * ## mobile devices
 * ------------------------------------------------------------------- */
@media only screen and (max-width:600px) {
  .block-mob-1-6 .col-block {
    width: 16.66667%;
  }

  .block-mob-1-5 .col-block {
    width: 20%;
  }

  .block-mob-1-4 .col-block {
    width: 25%;
  }

  .block-mob-1-3 .col-block {
    width: 33.33333%;
  }

  .block-mob-1-2 .col-block {
    width: 50%;
  }

  .block-mob-full .col-block {
    width: 100%;
    clear: both;
  }

  [class*="block-mob-"] .col-block:nth-child(n) {
    clear: none;
  }

  .block-mob-1-6 .col-block:nth-child(6n+1),
  .block-mob-1-5 .col-block:nth-child(5n+1),
  .block-mob-1-4 .col-block:nth-child(4n+1),
  .block-mob-1-3 .col-block:nth-child(3n+1),
  .block-mob-1-2 .col-block:nth-child(2n+1) {
    clear: both;
  }

}

#content-desktop {display: block;}
#content-mobile {display: none;}

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

#content-desktop {display: none;}
#content-mobile {display: block;}

}
