/**
 * @file
 * Styles are organized using the SMACSS technique. @see http://smacss.com/book/
 *
 * When you turn on CSS aggregation at admin/config/development/performance, all
 * of these @include files will be combined into a single file.
 */

/******************************************************************************************************************************//*
 * Basic styles 
*********************************************************************************************************************************/

.float-left,
.left,
div[data-align="left"] {
  float: left;
  margin: 0 1em 1em 0;
}
.node-type-article div[data-align="left"] {
  float: none;
  margin-right: 0;
}
.float-right,
.right,
div[data-align="right"] {
  float: right;
  margin: 0 0 1em 1em;
}
.center,
div[data-align="center"] {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contains-floated-image img {
  float: left;
    width: 100%;
}
.relative {
  position: relative;
}
.hidden {
  display: none !important;
}
a.disabled {
  opacity: 0.5;
  cursor: pointer;
}
.clear {
  clear: both;
}
.bold {
  font-weight: 600;
}
.italic {
  font-style: italic;
}
.italic em {
  font-style: normal;
}
.strike {
  text-decoration: line-through;
}
.gray-bg {
  background: #f5f5f5;
}
.border-top {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}
.border-top.dashed {
  border-top: 1px dashed rgba(0, 0, 0, 0.3);
}
.border-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.border-bottom.dashed {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.3);
}
.thick-border {
  border-width: 3px;
  border-style: solid;
}
.no-margin-bottom,
.layout.no-margin-bottom {
  margin-bottom: 0;
}
.with-padding {
  padding: 1.5rem;
}
.padding-top {
  padding-top: 1rem !important;
}
.extra-padding-top {
  padding-top: 2.5rem !important;
}
.padding-bottom {
  padding-bottom: 1rem;
}
.extra-padding-bottom {
  padding-bottom: 2.5rem;
}
.margin-bottom {
  margin-bottom: 1rem;
}
.extra-margin-bottom {
  margin-bottom: 2.5rem;
}

@media all and (min-width: 800px) {
  .padding-top {
    padding-top: 1.5rem !important;
  }
  .extra-padding-top {
    padding-top: 3rem !important;
  }
  .padding-bottom {
    padding-bottom: 1.5rem;
  }
  .extra-padding-bottom {
    padding-bottom: 3rem;
  }
  .margin-bottom {
    margin-bottom: 1.5rem;
  }
  .extra-margin-bottom {
    margin-bottom: 3rem;
  }
}

@media all and (min-width: 1100px) {
  .padding-top {
    padding-top: 2rem !important;
  }
  .extra-padding-top {
    padding-top: 4rem !important;
  }
  .padding-bottom {
    padding-bottom: 2rem;
  }
  .extra-padding-bottom {
    padding-bottom: 4rem;
  }
  .margin-bottom {
    margin-bottom: 2rem;
  }
  .extra-margin-bottom {
    margin-bottom: 4rem;
  }
}

/******************************************************************************************************************************//*
 * Automatically display on different screen sizes
*********************************************************************************************************************************/

.smallest-mobile-display,
.mobile-display,
.mobile-tablet-display {
  display: block !important;
}
.small-tablet-display,
.tablet-display,
.small-desktop-display,
.desktop-display {
  display: none !important;
}
.small-desktop-menu-item-text,
.desktop-menu-item-text {
  text-indent: -10000px;
}

@media all and (min-width: 480px) {
  .smallest-mobile-display {
    display: none !important;
  }
  .small-tablet-display {
    display: block !important;
  }
}

@media all and (min-width: 800px) {
  .mobile-display {
    display: none !important;
  }
  .tablet-display {
    display: block !important;
  }
}
@media all and (min-width: 1050px) {
  .small-desktop-display {
    display: block !important;
  }
  .small-desktop-menu-item-text {
    text-indent: 0;
  }
}
@media all and (min-width: 1250px) {
  .mobile-tablet-display {
    display: none !important;
  }
  .desktop-display {
    display: block !important;
  }
  .desktop-menu-item-text {
    text-indent: 0;
  }
}

/******************************************************************************************************************************//*
 * Lists and grids
*********************************************************************************************************************************/

.views-row .list-summary {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 140%;
}
.views-row .list-summary p {
  display: inline;
  margin: 0;
}
.two-column-menu > ul.menu,
.four-column-menu > ul.menu,
.five-column-menu > ul.menu,
.two-column-layout .view-content,
.four-column-layout .view-content {
  display: grid;
  grid-template-columns: 100%;
  grid-row-gap: 2rem;
}

@media (min-width: 560px) {
  
  /* This creates a responsive grid for the two- and four-column rows */
  .two-column-menu > ul.menu,
  .four-column-menu > ul.menu,
  .five-column-menu > ul.menu,
  .two-column-layout .view-content,
  .four-column-layout .view-content {
    display: grid;
    grid-template-columns: 48% 48%;
    grid-column-gap: 4%;
    grid-row-gap: 2rem;
  }
}/*<----@media all and (min-width: 560px) */

@media (min-width: 800px) {

  /* Five-column menus on medium screens have 3 columns. */
  .five-column-menu > ul.menu {
    grid-template-columns: 31% 31% 31%;
    grid-column-gap: 3.5%;
    grid-row-gap: 2rem;
  }
}

@media (min-width: 1000px) {

  /* This styles a five-column menu. */
  .five-column-menu > ul.menu {
    grid-template-columns: 18% 18% 18% 18% 18%;
    grid-column-gap: 2.5%;
  }

  /* This styles the four-column-row for larger screens */
  .four-column-menu > ul.menu,
  .four-column-layout .view-content { 
    grid-template-columns: 22.75% 22.75% 22.75% 22.75%;
    grid-column-gap: 3%;
  }
  .four-column-layout .views-row {
    margin-bottom: 0;
  }
  
  /* Two-column layout with featured image. */
  .two-column-menu > ul.menu,
  .two-column-layout .view-content {
    display: grid;
    grid-template-columns: 48.5% 48.5%;
    grid-column-gap: 3%;
    grid-row-gap: 2rem;
  }
}/*<----@media all and (min-width: 800px) */

@media all and (min-width: 1250px) {

  /* This styles the stacked layout for larger screens */
  .stacked .views-row {
    margin-bottom: 3rem;
  }
  .two-column-layout .view-content {
    grid-row-gap: 3rem;
  }
  .four-column-layout .view-content {
    grid-row-gap: 4rem;
  }
}/*<----@media all and (min-width: 1300px) */

/******************************************************************************************************************************//*
 * Blocks
*********************************************************************************************************************************/

.block.eighty-width,
.block.ninety-width {
  margin-left: auto;
  margin-right: auto;
  float: none !important;
}
.block.eighty-width {
  width: 80% !important;
}
.block.ninety-width {
  width: 90% !important;
}
.block.full-width {
  width: 100% !important;
}
.block.padding-side {
  padding-left: 2rem;
  padding-right: 2rem;
}
