/*=======================================================================
*** Virtual Yallourn STYLE SHEET***
========================================================================*/

/* ---------- GENERAL ---------- */

p,
body {
  color: #333;
}

#header .header-nav-main nav > ul > li.dropdown .dropdown-menu li a {
  color: #444;
}

.no-margin-bottom {
  margin-bottom: 0;
}

/* ---------- HEADER ---------- */

.sticky-header-enabled #header {
  min-height: 80px !important;
}

#header .header-nav.header-nav-top-line nav > ul li.active > a::before,
#header .header-nav.header-nav-top-line nav > ul li:hover > a::before {
  display: none;
}

#header .header-top {
  background-color: transparent;
  border-bottom: none;
}

#header .header-nav.header-nav-dark-dropdown nav > ul li.active > a.is-active,
#header .header-nav.header-nav-top-line nav > ul li.active > a.is-active {
  color: #ed8446 !important;
}

html #header .header-nav.header-nav-dark-dropdown nav > ul li.active:hover > a.is-active,
html #header .header-nav.header-nav-top-line nav > ul > li.active:hover > a.is-active {
  color: #fff !important;
}

#header .header-nav.header-nav-top-line nav > ul > li:hover > a {
  color: #fff !important;
}

#header .header-nav.header-nav-top-line nav ul.dropdown-menu > li.active:hover > a {
  color: #ed8446 !important;
  background-color: #f5f5f5;
}
html #header .header-nav.header-nav-dark-dropdown nav > ul > li.dropdown.active > a::after,
html #header .header-nav.header-nav-top-line nav > ul > li.dropdown.active > a::after
{
  border-color: #ed8446 transparent transparent transparent !important;
}

#header .header-nav.header-nav-dark-dropdown nav > ul > li:not(:hover).active > a {
  color: #ed8446 !important;
}

#mainNav li.active a.is-active, #mainNav .dropdown-menu > .active > a {
  background: transparent;
}

.search-block-form #edit-submit {
  background: transparent;
}

.header-body .search-block-form, .header-body .menu--account, .header-body .menu--account li {
  display: inline-block;
}

.header-body .menu--account, .header-body .menu--account li {
  margin: 0 .5rem;
}

/* ---------- PAGE ---------- */

.page-header h1 {
  font-size: 4rem;
  text-shadow: 1px 1px 4px #111;
}

.page-header.parallax {
  background-image: url("/themes/custom/virtual_yallourn/img/parallax.jpg") !important;
}

.page-header-custom-background h1 span {
  opacity: 1;
  font-size: 1em;
}

.node__content .field {
  margin-bottom: 3rem;
}

.node__meta {
  margin-bottom: 3rem;
}

.node__meta,
.node__meta a:link,
.node__meta a:visited,
.node__meta a:hover,
.node__meta a:active {
  font-size: 1.2rem;
  color: #777;
}

.page-header.page-header-custom-background .breadcrumb li {
  text-shadow: 1px 1px 4px #111;
}

/* ---------- FRONT PAGE ---------- */

#bgvid{
  margin-top: 0;
}

#polina button {
  display: none;
}

#polina {
  padding: 2rem;
  text-align: left;
  background-color: transparent;
  text-shadow: 1px 1px 6px #333;
}

#polina .content-wrapper {
  position: absolute;
  top: 20rem;
  width: 50%;
}

#polina h2 {
  font-size: 3rem;
  color: #fff;
}

#polina p {
  font-size: 1.8rem;
  color: #fff;
}

.video-banner-wrapper {
  display:block;
  margin-bottom: 2rem;
  max-height: 450px;
}

.video-banner-wrapper:after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/themes/custom/virtual_yallourn/img/dotnoise-light-grey.png");
}

.video-banner-wrapper video {
  min-height: auto;
}

.path-frontpage .main .text-formatted {
  padding: 2rem 0;
}

.block-views-blockrecently-added-block-1 h2 {
  font-size: 2.5rem;
  text-align: center;
  position: relative;
}

.path-frontpage .view .more-link {
  text-align: center;
  margin: 4rem 0 0;
}

/*
.block-views-blockrecently-added-block-1 h2::before {
    content: "";
    border-top: 1px solid #1d2127;
    display: block;
    height: 1px;
    top: 50%;
    position: absolute;
    width: 100%;
    z-index: 1;
}
.block-views-blockrecently-added-block-1 h2 span {
	background-image: url("/themes/custom/virtual_yallourn/img/dotnoise-light-grey.png");
	opacity: 0.7;
	position: relative;
	z-index: 5;
	padding: 0 1rem;
}

*/

/* ---------- SIDEBAR ---------- */

.view-comments-recent .item-list li {
  border-bottom: 1px solid #ccc;
  margin-bottom: 1.5rem;
}
.view-comments-recent .views-field-comment-body p {
  margin-bottom: 0;
}
.view-comments-recent .views-field-uid span {
  font-size: 1.2rem;
  font-weight:bold;
}

.field--type-comment {
  border-top: 1px solid #ccc;
  padding-top: 1.5rem;
}

/* ---------- CAROUSEL ---------- */

.owl-carousel {
  margin-bottom: 0;
}

.owl-carousel .owl-item {
  text-align: center;
}

.owl-carousel .views-field-body {
  padding: 0 1rem;
}

.owl-carousel .owl-item > div {
  padding-right: 2rem;
}

.owl-carousel .owl-item img {
  width: auto;
  text-align: center;
  display: inline;
  margin-bottom: 1rem;
}
.owl-carousel .views-field-title {
  font-size: 2rem
}

.owl-carousel .views-field-nothing {
  font-size: 1.2rem;
}

.owl-carousel .views-field-title {
  font-size: 1.9rem;
  height: 6rem;
  overflow:hidden;
}


/* ---------- RECENTLY ADDED ---------- */

.block-views-blockrecently-added-block-1 {
  position: relative;
  padding: 30px;
  border-top: 1px solid #ed8446;
}

/*
.block-views-blockrecently-added-block-1:after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("/themes/custom/virtual_yallourn/img/dotnoise-light-grey.png");
  opacity: 0.7;
}
*/

.block-views-blockrecently-added-block-1 .more-link {
  position: relative;
  z-index: 100;
}



/* ---------- COMMENTS ---------- */

.node__links {
  margin-top: 3rem;
}

.field--type-comment {
  padding-top: 3rem;
}

.alert ul.links {
  margin-left: 0;
}

.comment {
  background: #fafafa;
  border: 1px solid #ccc;
  padding: 2rem;
  border-radius: 5px;
  margin-bottom:3rem;
}

.comment__meta {
  margin-bottom: 1rem;
}

.comment__meta,
.comment ul.links {
  font-size: 1.2rem;
}

.comment__meta p,
.comment__meta a:link,
.comment__meta a:visited,
.comment__meta a:hover,
.comment__meta a:active {
  display: inline;
  color: #777;
}

.comment h3 {
  display: none;
}

/* ---------- FOOTER ---------- */

.path-frontpage #footer {
  margin-top: 0;
}

/* ---------- OTHER ---------- */

#edit-submit {
  background: #4BC94B;
  color: #fff;
  transition: background 2s;
}

#edit-submit:hover {
  background: #44ba44;
}

#edit-preview {
  background: #ccb845;
  color: #fff;
  transition: background 2s;
}

#edit-preview:hover {
  background: #bdab3e;
}

.views-exposed-form label{
  display: block;
}

.captcha {
  max-width: 100%;
  height: auto;
}

/* ---------- MEDIA QUERIES ---------- */

@media screen and (max-width: 500px) {
  div {
    width: 100%;
  }

  .video-banner-wrapper {
    display: none;
  }

  .owl-theme .owl-controls .owl-page {
    display: none;
  }
}

@media screen and (max-width: 760px) {
  #polina .content-wrapper {
    width: 100%;
  }
}

@media screen and (max-width: 991px) {
  #polina .content-wrapper {
    top: 15rem;
    width: 75%;
  }
  #header .header-nav.header-nav-top-line nav > ul > li:hover > a,
  #mainNav li.active a.is-active, #mainNav .dropdown-menu > .active > a {
    background: #ed8446 !important;
    color:  #fff;
  }
  #header .header-nav.header-nav-dark-dropdown nav > ul li.active > a.is-active,
  #header .header-nav.header-nav-top-line nav > ul li.active > a.is-active {
    color: #fff !important;
  }
}

@media screen and (min-width: 991px) {
  #bgvid{
    margin-top: -150px;
  }
}
