/*--- preheader ---*/

.preheader {
    background-color: #F35D5E;
    height: 50px;
    display: none;
}

.preheader .container {
  padding: 0;
}

.preheader--content {
    font-size: 14px;
    font-size: 0.875rem;
    color: #777;
    font-weight: 400;
    text-align: center;
    line-height: 50px;
}
.preheader--content img[src*="preheader-dots"] {
    margin: 0 10px;
}
.preheader--content .btn {
    margin-left: 10px;
    padding: 0 10px;
    font-size: 14px;
    font-size: 0.875rem;
}
.preheader--content a.btn {
    color: white;
    border-color: #F35D5E;
    background-color: #F35D5E;
}
.preheader--content > img {
    display: inline-block;
    margin: 0 10px;
}
.preheader--content > img:first-child {
    margin-right: 0;
}

.preheader--text {
  font-size: 14px;
  color: #000;
}

.preheader--link {
  color: #7ed6dc;
}

.preheader--close {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 15px;
  right: 15px;
  display: block;
  background-repeat: no-repeat;
    background-image: url('../images/closetop.png');
}

/* mobile devices */
@media only screen and (max-width: 768px){
  .preheader {
      height: 70px;
  }

  .preheader--close {
      top: 25px;
  }

  .preheader--inner {
    display: table;
    width: 100%;
  }
  .preheader--content {
    display: table-cell;
    vertical-align: middle;
    height: 70px;
    line-height: inherit;
    padding: 0 12%;
  }

  .preheader--text, .preheader--link {
    font-size: 13px;
  }

    .preheader--content .white:after{
        display: none;
        background: none;
    }
}

/* mobile devices - landscape mode */
@media only screen and (max-width: 768px) and (orientation: landscape) {
  .preheader {
      height: 50px;
  }

  .preheader--content {
    height: 50px;
  }

  .preheader--close {
      top: 15px;
  }

  header .preheader .container:not(.container-no-ratio-max-width) {
    max-width: 100%;
  }
}


.nav--preheader {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 0.75rem;
    background-color: #f8f8f8;
}

.nav--preheader a {
    float: right;
    margin: 0 6px;
    text-decoration: none;
    color: #ababab;
}

.nav--preheader a:hover {
    color: #0055b8;
}

.nav--preheader a:first-child {
    margin-right: 0;
}

.preheader--content .white {
    color:white;
    position: relative;
}

.preheader--content .white a,
.preheader--content .white a:hover {
    color:white;
    text-decoration: underline;
    font-weight: 600;
}