/**
 * Style sheet for the different articles
 */

/****** BANNER ABOVE UPDATES STYLING ******/

.wrapper-banner-updates {
  position: relative;
}
  
.wrapper-banner-updates a{
  color: white;
  font-size: 2em;
}
  
.wrapper-title-updates-banner {
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%,-50%);
}

/* Remove the defaults margin of img-responsive */

.img-responsive {
  margin-bottom: 0 !important;
}
  
#block-views-block-banner-update-block-1 {
  max-width: 100%;
  margin: 0;
}
  
.banner-img-updates {
  /* height: calc((160vh - 190px)/2); */
  overflow: hidden;
  width: 100vw;
  position: relative;
  left: calc(-50vw + 50%);
  top: -2px;
}
  
.banner-img-updates img {
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .banner-img-updates {
    height: 100%;
    margin-bottom: 0%;
  }
}
  
/****** END BANNER ABOVE UPDATES STYLING ******/

.posted-on, .author-info {
  display: inline-block;
}

.author-info .field--name-field-author {
  font-size: 14px;
}

.author-info .field > * {
  display: inline-block;
}

.updates-header {
  margin-top: 3%;
}

.updates-cat-tags {
  display: block;
  width: 18.44231%;
  float: left;
}

.cat {
  margin: 10px 0 20px;
}

.field--name-field-update-category a {
  font-size: 16px !important;
  padding: 5px !important;
  background: #0b80c1 !important;
}

.tags {
  font-size: 12px !important;
  color: #999 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.field.field--type-entity-reference a {
  padding: 0;
  margin: 0;
}

/*
.field--name-field-tags.field--type-entity-reference {
  font-size: 12px;
}
*/

.field--name-field-tags.field--type-entity-reference a {
  background: none !important;
  color: #0b80c1 !important;
  padding: 0 0 0 2px !important;
  margin: 0 !important;
}

.field--name-field-author.field--type-entity-reference a {
  background: none !important;
  color: #0b80c1 !important;
  padding: 0 !important;
}

/*
.field.field--name-field-tags .field--item a {
  background: none !important;
  color: #165e9d !important;
}
*/

.updates-title {
  margin-bottom: 2%;
  display: block;
  width: 79.61058%;
  float: right;
}

.updates-title h1 {
  font-family: 'Open Sans', 'Veranda', 'Helvetica', sans-serif !important;
  font-size: 32px;
  font-weight: 400;
  margin-top: 0;
}

h3.rtecenter {
  font-family: 'Open Sans', 'Veranda', 'Helvetica', sans-serif !important;
  font-weight: 400 !important;
}

.field.field--type-entity-reference a {
  padding: 0;
  font-weight: normal;
  margin-right: 0;
}

.field--name-field-subtitle {
  font-size: 22px;
  font-weight: 400;
}

@media screen and (max-width: 760px) {
  .updates-title {
    width: 100%;
  }

  .updates-cat-tags {
    width: 100%;
  }

  .updates-cat-tags {
    margin-bottom: 3%;
  }
}

@media screen and (min-width: 768px) {
  .updates-body.layout-narrow {
    width: 59.22115%;
    margin-left: 20.38942%;
  }
}

/* Breakout Right & Align Right */

.field--type-text-with-summary .align-right,
.field--type-text-with-summary .breakout-right {
  float: right;
  margin-left: 3%;
  clear: right;
}

.field--type-text-with-summary .align-right img,
.field--type-text-with-summary .breakout-right img {
  width: 100%;
}

/* Breakout Left & Align Left */

.field--type-text-with-summary .align-left,
.field--type-text-with-summary .breakout-left {
  float: left;
  margin-right: 3%;
  clear: left;
}

.field--type-text-with-summary .align-left img,
.field--type-text-with-summary .breakout-left img {
  width: 100%;
}

/* Breakout */

.field--type-text-with-summary .breakout-left,
.field--type-text-with-summary .breakout-right {
  width: 60%;
}

.field--type-text-with-summary .breakout-both {
  width: auto;
  clear: both;
}

/* Align */

.field--type-text-with-summary .align-right,
.field--type-text-with-summary .align-left {
  width: 46%;
}

/* Breakout Right */

.field--type-text-with-summary .breakout-right,
.field--type-text-with-summary .breakout-both {
  margin-right: -30% !important;
}

/* Breakout Left */

.field--type-text-with-summary .breakout-left,
.field--type-text-with-summary .breakout-both {
  margin-left: -30% !important;
}

@media only screen and (min-width: 1701px) and (max-width: 1900px) {
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-both {
    margin-left: -24% !important;
  }
  .field--type-text-with-summary .breakout-right,
  .field--type-text-with-summary .breakout-both {
    margin-right: -24% !important;
  }
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-right {
    width: 65%;
  }
  .field--type-text-with-summary .column-right.image-breakout {
    float: right;
    width: 56%;
  }
  .field--type-text-with-summary .column-left.image-breakout {
    float: left;
    width: 56%;
  }
}

@media only screen and (min-width: 1501px) and (max-width: 1700px) {
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-both {
    margin-left: -15% !important;
  }
  .field--type-text-with-summary .breakout-right,
  .field--type-text-with-summary .breakout-both {
    margin-right: -15% !important;
  }
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-right {
    width: 55%;
  }
  .field--type-text-with-summary .column-right.image-breakout {
    float: right;
    width: 57%;
  }
  .field--type-text-with-summary .column-left.image-breakout {
    float: left;
    width: 57%;
  }
}

@media only screen and (min-width: 1366px) and (max-width: 1500px) {
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-both {
    margin-left: -7% !important;
  }
  .field--type-text-with-summary .breakout-right,
  .field--type-text-with-summary .breakout-both {
    margin-right: -7% !important;
  }
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-right {
    width: 50%;
  }
  .field--type-text-with-summary .column-right.image-breakout {
    float: right;
    width: 54%;
  }
  .field--type-text-with-summary .column-left.image-breakout {
    float: left;
    width: 54%;
  }
}

@media only screen and (min-width: 720px) and (max-width: 1365px) {
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-both {
    margin-left: 0% !important;
  }
  .field--type-text-with-summary .breakout-right,
  .field--type-text-with-summary .breakout-both {
    margin-right: 0% !important;
  }
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-right {
    width: 45%;
  }
  .field--type-text-with-summary .column-right.image-breakout {
    float: right;
    width: 51%;
  }
  .field--type-text-with-summary .column-left.image-breakout {
    float: left;
    width: 51%;
  }
}

@media only screen and (max-width: 719px) {
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-both {
    margin-left: 0% !important;
  }
  .field--type-text-with-summary .breakout-right,
  .field--type-text-with-summary .breakout-both {
    margin-right: 0% !important;
  }
  .field--type-text-with-summary .breakout-left,
  .field--type-text-with-summary .breakout-right {
    width: 100%;
  }
  .field--type-text-with-summary .column-right.image-breakout {
    float: right;
    width: 100%;
  }
  .field--type-text-with-summary .column-left.image-breakout {
    float: left;
    width: 100%;
  }
  .field--type-text-with-summary .align-left,
  .field--type-text-with-summary .align-right {
    width: 100%;
  }
  .field--type-text-with-summary .column-right.image-align {
    float: none;
    width: 100%;
    clear: both;
  }
  .field--type-text-with-summary .column-left.image-align {
    float: none;
    width: 100%;
    clear: both;
  }
}
