/*
 Theme Name: Fjords.com Twentyseventeen Child Theme
 Theme URI: https://fjords.com
 Author: Creatur
 Author URI: https://creatur.no
 Template: twentyseventeen
 Description: Custom Child theme for Twenty Seventeen.
 Version: 0.1
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain: twentyseventeen-child
 */

.site-branding {
  background-color: #21282e;
  padding: 1em 0 1em;
}

#masthead .wrap {
}

#masthead .wrap a.custom-logo-link {
  display: inline-block;
  vertical-align: top;
  width: 20%;
  margin-right: -4px;
}

@media screen and (min-width: 48em) {
  #masthead .wrap a.custom-logo-link {
    width: 10%;
  }
}

#masthead .wrap .site-branding-text {
  display: inline-block;
  vertical-align: top;
  width: 80%;
}

@media screen and (min-width: 48em) {
  #masthead .wrap .site-branding-text {
    width: 90%;
  }
}

.site-description,
.site-title,
.site-title a {
  color: #fff;
}

.site-title {
  font-size: 18px;
}

@media screen and (min-width: 48em) {
  .site-title {
    font-size: 30px;
  }
}

.cm-banners {
  background-color: #21282e;
  font-size: 0;
}

.cm-banners__items {
  max-width: 1920px;
  margin: 0 auto;
  text-align: center;
  font-size: 0;
}

.cm-banners__item {
  display: block;
  vertical-align: top;
  width: 100%;
  border-color: #fff;
  border-style: solid;
  border-width: 2px;
}

@media (min-width: 800px) {
  .cm-banners__item {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    border-color: #fff;
    border-style: solid;
    border-width: 2px;
  }
}

.cm-banners__item:first-child {
  border-width: 2px 1px 2px 2px;
}

.cm-banners__item:last-child {
  border-width: 2px 2px 2px 1px;
}

@media screen and (min-width: 48em) {
  .cm-banners__item:first-child {
    border-width: 20px 10px 20px 20px;
  }

  .cm-banners__item:last-child {
    border-width: 20px 20px 20px 10px;
  }
}

.cm-banners__item--full {
  width: 100%;
  display: block;
}

.cm-banners img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 820px) {
  .cm-banners img {
    height: 300px;
    object-fit: cover;
  }
}

.entry-title--faq {
  position: relative;
}

.entry-title--faq::before,
.faq-item::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: -50px;
  width: 32px;
  height: 32px;
  background: url("images/question-sign.png") no-repeat 50% 50% transparent;
}

.faq-list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.faq-item {
  flex: 0 0 48%;
  margin: 0 1% 10px;
  padding-left: 26px;
  position: relative;
}

.faq-item::before {
  width: 16px;
  height: 16px;
  -webkit-background-size: cover;
  background-size: cover;
  left: 0;
}

/**
* Right banner styles
**/

.cm-banners-right.hide-mobile {
  display: none;
}

@media (min-width: 1245px) {
  .banner-right #primary,
  .banner-right #content .wrap {
    max-width: 100% !important;
  }

  .banner-right .panel-content,
  .banner-right .page-content-wrapper {
    display: grid;
    grid-template-columns: 70% 30%;
    max-width: 1600px;
    margin: 0 auto;
  }

  .banner-right .panel-content .wrap {
    max-width: 100% !important;
  }

  .cm-banners-right.hide-mobile {
    display: block;
  }

  .cm-banners-right {
    padding-bottom: 4.5em;
    padding-top: 6em;
    padding-left: 3em;
    padding-right: 3em;
  }

  .page-content-wrapper .cm-banners-right {
    padding: 0 3em;
  }
}

.home .wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.nounderscore {
  box-shadow: 0 !important;

  &:hover {
    box-shadow: 0 !important;
  }
}

.entry-title {
  font-size: 28px !important;
}

@media (min-width: 820px) {
  .entry-title {
    font-size: 40px !important;
  }
}

iframe {
  width: 100%;
  height: 475px;
}

/* Header search form */

#masthead .navigation-top .wrap {
  max-width: 2000px !important;
  padding-left: 0;
  padding-right: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
}

#masthead .navigation-top .wrap .search-form {
  justify-self: flex-end;
}

#masthead .navigation-top .wrap .search-form .search-submit {
  top: 10px;
}

h1 {
  font-size: 25px !important;
}

@media (min-width: 820px) {
  h1 {
    font-size: 35px !important;
  }
}
