/*
 * @file
 * Provides the layout styles for four-column layout section.
 */

.layout--fourcol-section {
  display: flex;
  flex-wrap: wrap;
}

.layout--fourcol-section > .layout__region {
  flex: none; 
  width: 100%;
}

@media screen and (min-width: 40em) {
  .layout--fourcol-section > .layout__region {
    flex: none; 
    width: 25%;
  }
}


/*
 * @file
 * Provides the layout styles for three-column layout section.
 */

 .layout.layout--fourcol {
  display: flex;
  flex-wrap: wrap;
}

@media screen and (max-width: 576px) {
  .layout--fourcol .layout__region.layout__region--first,
  .layout--fourcol .layout__region.layout__region--second,
  .layout--fourcol .layout__region.layout__region--third,
  .layout--fourcol .layout__region.layout__region--four
  {
    flex: none; 
    width: 100%;
  }
}

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

  .has-sidebarsec .layout--fourcol .layout__region.layout__region--first,
  .has-sidebarsec .layout--fourcol .layout__region.layout__region--second,
  .has-sidebarsec .layout--fourcol .layout__region.layout__region--third,
  .has-sidebarsec .layout--fourcol .layout__region.layout__region--four,
  {
    flex: none; 
    width: 100%;
  }

/*   .layout--threecol-section--33-34-33 .layout__region--first,
  .layout--threecol-section--33-34-33 .layout__region--second,
  .layout--threecol-section--33-34-33 .layout__region--third, */
  .no-sidebarsec .layout--fourcol-section--25-25-25-25 .layout__region--first,
  .no-sidebarsec .layout--fourcol-section--25-25-25-25 .layout__region--third,
  .no-sidebarsec .layout--fourcol-section--25-25-25-25 .layout__region--fourth,
  .no-sidebarsec .layout--fourcol-section--25-25-25-25 .layout__region--second {
    flex: none; 
    width: 50%;
  }
}

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

  .layout--fourcol .layout__region.layout__region--first,
  .layout--fourcol .layout__region.layout__region--second,
  .layout--fourcol .layout__region.layout__region--third,
  .layout--fourcol .layout__region.layout__region--fourth
  {
    flex: none; 
    width: 50%;
  }

}

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


  .layout--fourcol .layout__region.layout__region--first,
  .layout--fourcol .layout__region.layout__region--second,
  .layout--fourcol .layout__region.layout__region--third,
  .layout--fourcol .layout__region.layout__region--fourth 
  {
    flex: none; 
    width: 25%;
  }

}

@media screen and (min-width: 1215px) {

  .layout--fourcol .layout__region.layout__region--first,
  .layout--fourcol .layout__region.layout__region--second,
  .layout--fourcol .layout__region.layout__region--third,
  .layout--fourcol .layout__region.layout__region--fourth 
  {
    flex: none; 
    width: 25%;
  }
}
