/**
 * @file
 * Visual styles for the site branding block in Newsplus.
 */

/* Logo - Site name*/
.logo {
  padding: 0;
  float: right;
  display: inline-block;
}
.logo:hover {
  opacity: 0.9;
  filter: alpha(opacity=90);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.site-name a {
  font-size: 40px;
  font-weight: 700;
  line-height:1;
  text-decoration: none;
}
.site-name a:hover {
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.site-slogan {
  line-height:1.40;
  padding:0;
  display:inline-block;
  font-size: 14px;
  float: right;
  margin-right: 4px;
  color: black;
}

.site-slogan.footer {
  font-size: 14px;
  float: none;
  margin-top: 10px;
  margin-right: 0px;
  margin-left: 5px;
  width: 100%;
}

.site-slogan.footer a.lowlight{
  color: #909599;
}

.site-slogan.footer a.lowlight i{
  width: 20px;
  text-align: center;
}

.site-slogan.footer a.highlight{
  color: rgb(249,104,84);
}

.site-logo a {
  color: inherit;
  text-decoration: none;
  margin-right: 20px;
}

@media (min-width: 768px) {
  .site-logo a {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-slogan.footer {
    text-align: center;
  }
}

.site-name__header {
  left: 0;
  padding-left: 15px;
  position: absolute;
  display: none;
}

.site-logo .site-branding__logo,
.site-name__header .site-branding__logo {
  background-color: #fff;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -o-border-radius: 8px;
  padding: 4px;
}

.site-branding.block {
  top: 35px;
}

#header-top {
  background-image: url("/sites/default/files/opsmatters-hexagon-wide-banner.jpg");
  background-color: white !important;
  background-repeat: no-repeat;
}

#header-top .container {
  width: 1200px;
}

@media (max-width: 1199px) {
  #header-top {
    background-image: none;
  }
  #header-top .container {
    width: inherit;
  }
}

.headers-wrapper div:first-of-type .site-name__header {
  display: block;
}
.onscroll .site-name__header {
  display: block;
}
.site-name__header a {
  font-size: 24px;
  line-height: 48px;
}
.site-name__header ~ .container {
  background-color: inherit;
  position: relative;
}
@media (max-width: 1479px) {
  .onscroll .site-name__header {
    display: none;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .site-name a {
    font-size: 36px;
  }
  .site-slogan {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .logo {
    float: none;
    margin-right: 0;
    text-align: center;
    width: 100%;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    -ms-transform: scale(0.75);
    -o-transform: scale(0.75);
    transform: scale(0.75);
  }
  .logo img {
    margin: 0 auto;
  }
  .site-name,
  .site-slogan {
    text-align: center;
    width: 100%;
  }
  .site-name {
    margin: 5px 0 0 0;
  }
  .site-slogan {
    padding: 5px 0 0 0;
  }
}
