/* Umbraco Boostrap 4 based styles for Vossasylv 
    * Author Silje S. Paulsen Datahove AS
    * Design by Synneva Storli
    * Icons by "Open Iconic — www.useiconic.com/open"
*/
/* Fonts */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v36/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_qiTXtHA_A.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v36/nuFRD-vYSZviVYUb_rj3ij__anPXDTnCjmHKM4nYO7KN_k-UXtHA_A.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v36/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKdFvXDXbtY.ttf) format('truetype');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/playfairdisplay/v36/nuFvD-vYSZviVYUb_rj3ij__anPXJzDwcbmjWBN2PKeiunDXbtY.ttf) format('truetype');
}
/*Variables */
img {
  max-width: 100%;
  height: auto;
}
hr {
  border-color: #1d583f;
}
html {
  min-height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100%;
  color: #1d583f;
  background: #edf5ef;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
}
a {
  color: #1d583f;
}
a:hover {
  color: #2a7e5a;
}
.form-control,
.btn {
  border-radius: 0;
}
.btn.btn-login {
  background: #1d583f;
  color: #fff;
}
.btn.btn-login:hover {
  background: #8eac9f;
}
main {
  height: 100%;
}
.bg-cover {
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.logo-image {
  width: 165px;
  height: auto;
}
.siteheader {
  background: #ffffff;
}
.siteheader .navbar .navbar-toggler {
  color: #1d583f;
}
.siteheader .navbar .nav-link {
  font-family: 'Playfair Display', serif;
  color: #1d583f;
}
.siteheader .navbar .nav-link:hover {
  text-decoration: underline;
  color: #2a7e5a;
}
.siteheader .navbar .active .nav-link {
  color: #8eac9f;
  text-decoration: underline;
}
.hero-header {
  background: rgba(0, 0, 0, 0.4);
  padding-top: 3em;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .hero-header {
    background: none;
  }
}
.hero-header p {
  font-size: 1.2em;
  font-style: italic;
  line-height: 1.2em;
}
.header {
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  color: #1d583f;
}
.header .headertext {
  margin: 0 auto;
  max-width: 640px;
  padding: 2em 0;
}
.header .headertext h1 {
  font-size: 2rem;
}
.header .headertext p {
  line-height: 1.4em;
  font-weight: 100;
  font-size: 1.1rem;
  font-style: italic;
  margin: 1rem 0 0.5rem !important;
}
.headertitle {
  background: #f6faf7;
}
.headertitle .title {
  text-transform: uppercase;
  padding: 0.5em 0;
  font-size: 1.4em;
  text-align: left;
  margin-bottom: 0;
}
.headertitle span {
  font-size: 0.8em;
  text-transform: none;
}
.maincontent {
  min-height: 570px;
}
.searchbar {
  background: #c7d5cf;
}
.searchbar .form-group .form-control {
  border: none;
}
.searchbar .form-group input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #1d583f;
  opacity: 1;
  /* Firefox */
}
.searchbar .form-group input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #1d583f;
}
.searchbar .form-group input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #1d583f;
}
.searchbar .form-group select {
  color: #1d583f;
}
.searchbar .form-group select option:checked,
.searchbar .form-group select option:hover {
  background-color: #8eac9f !important;
  color: #ffffff;
}
.searchbar .form-group button {
  border: none;
  background: white;
  padding: 8px 10px 7px 10px;
  color: #1d583f;
  cursor: pointer;
}
.searchbar .form-group button:hover {
  background: #c7d5cf;
}
.searchbar .search {
  padding: 1em 0;
}
.field-validation-error {
  color: red;
}
.blogposts {
  padding: 2em 0;
}
.blogposts a.blogpost {
  background: #edf5ef;
  display: block;
  padding: 1em 2em 2em;
  margin: 2em 1em;
}
.blogposts a.blogpost .blogpost-title {
  margin: 0.5em 0 0;
}
.blogposts a.blogpost:hover {
  color: #edf5ef;
  background: #8eac9f;
  text-decoration: none;
}
/* used when listing products in productspage, blogposts, related */
.result {
  padding: 1rem;
}
.result a.productlink {
  margin: 1rem 0;
  display: block;
  background: #ffffff;
}
.result a.productlink .img-missing {
  font-size: 2em;
  color: #c7d5cf !important;
  height: 50px;
}
@media (min-width: 768px) {
  .result a.productlink .img-missing {
    height: 150px;
  }
}
@media (min-width: 992px) {
  .result a.productlink .img-missing {
    height: 210px;
  }
}
@media (min-width: 1200px) {
  .result a.productlink .img-missing {
    height: 255px;
  }
}
.result a.productlink .title {
  font-size: 1.1em;
  display: block;
  padding: 0.5em;
  text-align: center;
  background: #8eac9f;
  color: #ffffff;
}
.result a.productlink:hover {
  text-decoration: none;
  border-bottom: none;
}
.result a.productlink:hover .title {
  background: #c7d5cf;
  color: #1d583f;
}
.site-footer .grid-section {
  background: #8eac9f;
  color: #fff;
  padding: 3rem 0;
}
.site-footer .grid-section img {
  max-width: 165px;
  height: auto;
}
.site-footer .bg-dekor {
  background: url(../img/vossasylv-dekor.svg) repeat-x 0 -50px #edf5ef;
  background-size: 100px;
  height: 75px;
}
.page-home .hero-header {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}
.page-home .hero-header .herotext {
  padding: 1.5em;
  background: rgba(142, 172, 159, 0.75);
}
.page-home #bgvideo {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 100%;
  min-height: 100%;
}
.page-home .maincontent {
  /*display: flex;
        align-items: center;*/
}
@media (min-width: 675px) {
  .page-home .maincontent {
    min-height: 640px;
  }
}
.page-product section.product .container {
  background: #fff;
}
.page-product section.product .title {
  padding-top: 1em;
}
.page-product section.product .image {
  margin: 2em 0 2em 0;
  padding-right: 2em;
  border-right: solid 1px #8eac9f;
}
.page-product section.product .image .download {
  display: block;
}
.page-product section.product .img-missing {
  color: #c7d5cf;
}
.page-product section.product .img-missing a {
  color: #8eac9f;
}
.page-product section.product .relatedLinks {
  margin-bottom: 2em;
}
.page-product section.product a.relatedBunad {
  display: inline-block;
  padding: 0 0.7em 0 0.5em;
  border-right: solid 1px #c7d5cf;
  color: #1d583f;
}
.page-product section.product a.relatedBunad:hover {
  background: #edf5ef;
}
.page-product section.product a.relatedBunad:last-child {
  border-right: none;
}
.page-product section.related {
  margin: 1rem 0;
}
.page-product section.related .container {
  background: #edf5ef;
  padding-bottom: 1rem;
}
.page-product section.related .heading {
  padding: 1em 0 0;
}
.page-product section.related a.productlink .img-missing {
  background: #fff;
  font-size: 2em;
  color: #c7d5cf !important;
  height: 50px;
}
@media (min-width: 576px) {
  .page-product section.related a.productlink .img-missing {
    height: 240px;
  }
}
@media (min-width: 768px) {
  .page-product section.related a.productlink .img-missing {
    height: 90px;
  }
}
@media (min-width: 992px) {
  .page-product section.related a.productlink .img-missing {
    height: 130px;
  }
}
@media (min-width: 1200px) {
  .page-product section.related a.productlink .img-missing {
    height: 160px;
  }
}
.page-bunad {
  background: #edf5ef;
}
.page-bunad .result {
  margin-bottom: 0;
  padding-bottom: 1em;
}
.page-search {
  background: #edf5ef;
}
.page-kategori {
  background: #edf5ef;
}
.page-forhandlar .maincontent {
  margin-top: 1rem;
}
.page-forhandlar .maincontent .inner {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
}
.page-forhandlar .maincontent .inner .retailer {
  padding: 1em 0;
  margin: 0;
  border-bottom: solid 1px #8eac9f;
}
.page-forhandlar .maincontent .inner .retailer a {
  color: #1d583f;
  text-decoration: underline;
}
.page-forhandlar .maincontent .inner .retailer a:hover {
  color: #8eac9f;
}
.page-blogpost article {
  padding: 2em 0 4em;
}
.page-blogpost article p a {
  text-decoration: underline;
}
.page-blogpost article p a:hover {
  text-decoration: none;
}
.page-blogpost .blogpost-title {
  margin: 1em 0;
}
.page-blogpost .blogpost-relatedproducts {
  padding: 1em 0 3em;
}
.page-kontakt .contacts .column > div {
  padding: 4em;
}
.page-kontakt .contacts .column > div img {
  width: 300px;
  height: auto;
}
.page-kontakt .contacts .column > div h1 {
  font-size: 24px;
  margin-top: 1em;
}
.page-kontakt .contacts .column > div p,
.page-kontakt .contacts .column > div a {
  color: #8eac9f;
  margin-bottom: 0;
}
.page-kontakt .contacts .column > div a:hover {
  color: #1d583f;
}
