/*
Theme Name: Samtext WP-theme GIT
Author: Doghouse
Version: 3.0
*/
.bgred {
  background-color: red;
}

.bgyellow {
  background-color: yellow;
}

.bggreen {
  background-color: green;
}

.bgblue1 {
  background-color: #005581;
  color: #fff;
}

.bgblue1 a {
  color: #fff;
}

.bgblue2 {
  background-color: #3d83aa;
  color: #fff;
}

.bgblue2 a {
  color: #fff;
}

.bgblue3 {
  background-color: #9dbcd5;
  color: #005581;
}

.bgblue3 a {
  color: #005581;
}

.bgblue4 {
  background-color: #e7edf4;
  color: #005581;
}

.bgblue4 a {
  color: #005581;
}

.bgorange {
  background-color: #f68d1f;
  color: #fff;
}

.bgorange a {
  color: #fff;
}

.bggreen {
  background-color: #31a48c;
  color: #fff;
}

.bggreen a {
  color: #fff;
}

.bglightgray {
  background-color: #eee;
}

.bgwhite {
  background-color: #fff;
  color: #000;
}

.padding-vertical-tight {
  padding-top: 5px;
  padding-bottom: 5px;
}

.padding-vertical-medium {
  padding-top: 15px;
  padding-bottom: 15px;
}

.padding-vertical-loose {
  padding-top: 30px;
  padding-bottom: 30px;
}

.margin-top-tight {
  margin-top: 5px;
}

.margin-top-medium {
  margin-top: 15px;
}

.margin-top-loose {
  margin-top: 30px;
}

.bottomwhite {
  border-bottom: 2px solid #fff;
}

@media (max-width: 767px) {
  h1, .h1 {
    font-size: 30px;
  }
  h2, .h2 {
    font-size: 24px;
  }
  h3, .h3 {
    font-size: 18px;
  }
  h4, .h4 {
    font-size: 14px;
  }
  h5, .h5 {
    font-size: 12px;
  }
  h6, .h6 {
    font-size: 10px;
  }
}

h1 a, h2 a, h3 a, h4 a {
  text-decoration: none !important;
}

h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
  text-decoration: underline !important;
}

div.infobox {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding: 10px 20px;
}

div.quotebox {
  color: #666;
  border-top: 5px solid #005581;
  border-bottom: 5px solid #005581;
  padding: 10px 0px;
  font-style: italic;
}

img.alignright {
  float: right;
}

img.alignleft {
  float: left;
}

img.aligncenter {
  display: block;
  margin: 0px auto;
}

div.wp-caption {
  width: auto !important;
  max-width: 100%;
  height: auto;
  margin: 10px 0 20px 0;
}

p.wp-caption-text {
  /*font-style: italic;*/
  font-size: 16px;
  color: #1f5690;
  padding-left: 60px;
  display: table-cell;
  height: 60px;
  text-align: left;
  vertical-align: middle;
  border: none;
  background-image: url(images/caption-schwung.jpg);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 48px 60px;
}

@media (max-width: 767px) {
  p.wp-caption-text {
    font-size: 14px;
  }
}

.post-thumbnail-text {
  font-size: 16px;
  color: #1f5690;
  padding-top: 12px;
}

@media (max-width: 767px) {
  .post-thumbnail-text {
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

.page-content table {
  width: auto;
  max-width: 100% !important;
}

.page-content a {
  color: #005581;
}

#page-article img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .dashed-border-left {
    border-left: 1px dashed #ccc;
  }
}

div#contact-for-more-info img {
  border-radius: 50%;
  border: 1px solid #fff;
  width: 48px;
  height: auto;
  vertical-align: middle;
}

/*
OVERRIDE BOOTSTRAP
*/
#content-wrapper a {
  text-decoration: underline;
}

#content-wrapper a:hover, #content-wrapper a:focus {
  text-decoration: none;
}

p {
  margin: 0 0 20px;
  letter-spacing: 0.1px;
}

.lead {
  line-height: 1.2;
}

.lead p {
  font-size: 20px;
}

@media (max-width: 768px) {
  .lead p {
    font-size: 18px;
  }
}

/* Front video */
.front-video {
  position: relative;
  padding-bottom: 0;
}

.front-video video {
  display: block;
}

.front-video .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.front-video ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.front-video ul li {
  text-align: center;
  margin: 0;
  padding: 0;
  display: none;
  font-size: 40px;
  line-height: 50px;
  font-weight: 900;
  color: #fff;
}

.front-video h2 {
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 80px;
  font-weight: 600;
  color: #fff;
}

.front-video h1 {
  display: none;
}

@media (max-width: 1000px) {
  .front-video ul li {
    font-size: 18px;
    line-height: 20px;
  }
  .front-video h2 {
    font-size: 30px;
  }
}

/* FRONT PAGE */
.cloud {
  margin-top: -5px;
}

@media (max-width: 767px) {
  .cloud {
    /*padding: 320px 0px 10px 0px;*/
    min-height: 200px;
    /*padding-top: 100px;*/
    background: url(images/bgcloud.jpg) no-repeat center center;
    color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
}

@media (min-width: 768px) {
  .cloud {
    /*padding: 320px 0px 10px 0px;*/
    min-height: 700px;
    /*padding-top: 200px;*/
    /*background: url(images/bgcloud.jpg) no-repeat center center;*/
    color: #fff;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
}

#home-samcloud img {
  position: relative;
  top: -7px;
  height: 70px;
  margin-right: 20px;
}

#home-samcloud a {
  text-decoration: none;
}

#home-samcloud a:hover, #home-samcloud a:focus {
  text-decoration: underline;
}

#home-employees, #home-employees-more {
  font-size: 1.2em;
}

#home-employees a, #home-employees-more a {
  color: #fff;
  text-decoration: none;
}

#home-employees a:hover, #home-employees a:focus, #home-employees-more a:hover, #home-employees-more a:focus {
  color: #fff;
  text-decoration: underline;
}

#home-employees img, #home-employees-more img {
  margin-bottom: 5px;
  max-width: 250px;
}

#home-employees-more {
  display: none;
}

#home-employees-more-toggleon {
  cursor: pointer;
}

#home-employees-more-toggleoff {
  cursor: pointer;
  display: none;
}

.home-highlighted-blogpost-content {
  display: none;
}

.home-highlighted-blogpost-content.opened {
  display: block;
}

.home-highlighted-blogpost h2 {
  padding-right: 80px;
  background-image: url("images/arrow_down_small.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: 40px 20px;
  cursor: pointer;
}

.home-highlighted-blogpost h2.opened {
  background-image: url("http://placehold.it/40x20");
  background-image: url("images/arrow_up_small.png");
}

@media (min-width: 768px) {
  .home-customerstatement {
    padding-left: 25px;
    padding-right: 25px;
  }
}

@media (min-width: 992px) {
  .home-customerstatement {
    padding-left: 35px;
    padding-right: 35px;
  }
}

@media (min-width: 1200px) {
  .home-customerstatement {
    padding-left: 45px;
    padding-right: 45px;
  }
}

#home-customerlogos img.customerlogo {
  width: 100%;
  -webkit-filter: grayscale(100%) brightness(120%) opacity(65%);
  /* Chrome, Safari, Opera */
  filter: grayscale(100%) brightness(120%) opacity(65%);
}

#home-customerlogos img.customerlogo:hover {
  -webkit-filter: grayscale(0%) brightness(100%) opacity(100%);
  /* Chrome, Safari, Opera */
  filter: grayscale(0%) brightness(100%) opacity(100%);
}

/*
NAV
*/
#header-top, #header-top-mobile {
  background-image: url("images/bgwhite10x10.png");
  background-size: 10px 95px;
  background-repeat: repeat-x;
}

/*
NAV DESKTOP
*/
a.main-nav-link,
span.main-nav-link {
  text-transform: uppercase;
  padding-left: 5px;
  /*font-weight: bold;*/
  font-size: 18px;
  display: block;
  width: 100%;
  color: #005581;
  color: #666;
}

a.main-nav-link.symbols-only:hover, a.main-nav-link.symbols-only:focus {
  text-decoration: none;
}

span.main-nav-link .phone,
a.main-nav-link .phone {
  color: #005581;
}

@media (min-width: 768px) {
  a.main-nav-link,
  span.main-nav-link {
    padding-top: 16px;
    font-size: 14px;
  }
  #main-nav-sub {
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  a.main-nav-link,
  span.main-nav-link {
    padding-top: 22px;
    font-size: 18px;
  }
  #main-nav-sub {
    font-size: 15px;
  }
}

@media (min-width: 1200px) {
  a.main-nav-link,
  span.main-nav-link {
    padding-top: 25px;
    font-size: 22px;
  }
  #main-nav-sub {
    font-size: 15px;
  }
}

#menu-desktop-wrap.floating a.main-nav-link, #menu-desktop-wrap.floating span.main-nav-link {
  padding-top: 6px;
  font-weight: normal;
}

#main-nav-sub {
  display: none;
}

#main-nav-shortcuts {
  display: none;
}

#main-nav-sub ul {
  padding: 10px 0px;
  margin: 0px 0px;
}

#main-nav-sub ul:hover {
  background-color: #9dbcd5;
  background-color: #e7edf4;
  /*background-color: #fff;*/
}

#main-nav-sub ul.el1 {
  height: 32px;
}

#main-nav-sub ul.el2 {
  height: 54px;
}

#main-nav-sub ul.el3 {
  height: 76px;
}

#main-nav-sub ul.el4 {
  height: 98px;
}

#main-nav-sub ul.el5 {
  height: 120px;
}

#main-nav-sub ul.el6 {
  height: 142px;
}

#main-nav-sub ul.el7 {
  height: 164px;
}

#main-nav-sub ul.el8 {
  height: 186px;
}

#main-nav-sub ul.el9 {
  height: 208px;
}

#main-nav-sub ul.el10 {
  height: 230px;
}

#main-nav-sub ul.el11 {
  height: 252px;
}

#main-nav-sub ul.el12 {
  height: 274px;
}

#main-nav-sub li {
  padding: 0px 3px;
  list-style-type: none;
  white-space: nowrap;
  overflow: hidden;
}

#main-nav-sub li:hover {
  background-color: #e7edf4;
  background-color: #fff;
}

@media (min-width: 768px) {
  #main-nav-sub ul.nolinks li {
    font-size: 14px;
  }
}

@media (min-width: 992px) {
  #main-nav-sub ul.nolinks li {
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  #main-nav-sub ul.nolinks li {
    font-size: 22px;
  }
}

#main-nav-sub input.headersearch {
  width: 100%;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #ccc;
  color: #666;
}

#main-nav-sub input.headersearch:focus, #main-nav-sub input.headersearch:active {
  border: 0;
  border-bottom: 1px solid #ccc;
  color: #666;
}

#page-secondary-nav {
  margin-top: 20px;
  margin-bottom: 20px;
}

#page-secondary-nav a.link-active, #page-third-nav a.link-active {
  text-decoration: none;
}

body.header-floating {
  margin-top: 64px;
}

a.internal-link {
  position: relative;
  top: 64px;
}

#menu-desktop-wrap.floating {
  width: 100%;
  position: fixed;
  top: 0%;
  z-index: 999;
  font-size: 0.9em !important;
}

#menu-desktop-wrap.floating img {
  max-height: 30px;
}

#menu-desktop-wrap.floating ul#main-nav {
  margin-top: 6px;
}

#menu-desktop-wrap.floating ul#main-nav > li {
  font-size: 16px;
}

/*
NAV MOBILE
*/
#header-top-mobile img {
  max-height: 64px;
}

ul#main-nav-mobile {
  display: none;
}

.navbar-toggle {
  margin-top: 20px;
}

.navbar-toggle .icon-bar {
  background-color: #005581;
}

ul#main-nav-mobile ul {
  border-left: 1px solid #005581;
}

ul#main-nav-mobile li.depth-0 > ul {
  margin-left: 10px;
}

ul#main-nav-mobile li.depth-1 > ul {
  margin-left: 20px;
}

ul#main-nav-mobile li.depth-2 > ul {
  margin-left: 30px;
}

ul#main-nav-mobile ul {
  display: none;
}

/*
***
GENERIC ELEMENTS
***
*/
/* SOCIAL LINK */
#social {
  background-color: #ccc;
  width: 62px;
  padding: 10px 15px 10px 10px;
  position: fixed;
  right: -10px;
  top: 40%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  opacity: 0.8;
}

#social img {
  opacity: 0.8;
}

/* FOOTER */
input.footersearch {
  background-color: #004a70;
  color: #FFF;
  border: 0;
  font-size: 15px;
  border-radius: 4px;
  padding: 3px 7px 3px 7px;
  margin-top: 5px;
}

/* FOOTER MAP */
img#footer-map {
  width: 100%;
  max-width: 100%;
  height: auto;
}

a.footer-maplink {
  padding: 3px 6px;
  background-color: #e7edf4;
  color: #005581;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: absolute;
}

div.footer-map-contact {
  display: none;
  max-width: 35%;
  padding: 5px 10px;
  background-color: #e7edf4;
  position: absolute;
  top: 15%;
  left: 53%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

a#credits {
  text-decoration: none;
  display: inline-block;
  width: 91px;
  height: 24px;
  background-image: url("images/doghouse-logo.png");
  margin-bottom: 7px;
}

a#credits:hover, a#credits:focus {
  background-position: bottom;
}

.customHr {
  width: 95%;
  font-size: 1px;
  color: transparent;
  line-height: 1px;
  background-color: grey;
  margin-top: -6px;
  margin-bottom: 10px;
}

.rev2-page-topimage {
  background-position: center center;
  background-size: cover;
  height: 580px;
  border-bottom: 20px solid #fff;
}

@media screen and (max-width: 1000px) {
  .rev2-page-topimage {
    height: 450px;
  }
}

@media screen and (max-width: 600px) {
  .rev2-page-topimage {
    height: 250px;
  }
}

div.ordbok-header {
  background-image: url("images/toppbilde-ordbok.jpg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  padding: 110px 0 110px 0;
}

div.ordbok-header div.wrapper {
  max-width: 1135px;
  margin: auto;
  padding: 0 100px 0 100px;
}

@media (max-width: 800px) {
  div.ordbok-header div.wrapper {
    padding: 0 20px 0 20px;
  }
}

div.ordbok-header h1 {
  font-size: 55px;
  font-weight: 700;
  color: #fff;
  padding-bottom: 20px;
}

@media (max-width: 800px) {
  div.ordbok-header h1 {
    font-size: 25px;
    line-height: 30px;
  }
}

div.ordbok-header input {
  font-size: 22px;
  padding: 10px 25px 10px 55px;
  background-color: #fff;
  margin: 0;
  border: 0;
  background-image: url("images/ordbok-sok.png");
  background-repeat: no-repeat;
  background-position: left 25px center;
}

div.ordbok-content {
  max-width: 1135px;
  margin: auto;
  padding: 20px 100px 40px 100px;
}

@media (max-width: 991px) {
  div.ordbok-content {
    padding-left: 20px;
    padding-right: 20px;
  }
}

div.ordbok-content h2 {
  /*border-bottom: 1px solid rgb(184, 184, 184);*/
  padding-bottom: 5px;
  margin: 20px 0 25px 0;
  font-size: 40px;
  color: #000 !important;
}

@media (max-width: 991px) {
  div.ordbok-content h2 {
    font-size: 30px;
  }
}

div.ordbok-content p {
  font-size: 24px;
  line-height: 34px;
  color: #000 !important;
}

div.ordbok-content div.col {
  font-size: 20px;
}

div.ordbok-content div.col a {
  color: #005581;
  text-decoration: none !important;
}

div.ordbok-content div.tjeneste {
  background-color: #FDAB58;
  margin-top: 30px;
}

div.ordbok-content div.tjeneste div.tekst {
  padding: 20px 40px 20px 40px;
  height: 315px;
}

@media (max-width: 991px) {
  div.ordbok-content div.tjeneste div.tekst {
    height: auto;
  }
}

div.ordbok-content div.tjeneste div.tekst h3 {
  font-size: 32px;
  line-height: 42px;
  color: #000 !important;
  margin: 0;
  padding-bottom: 20px;
}

div.ordbok-content div.tjeneste div.tekst p {
  font-size: 20px;
  line-height: 28px;
  color: #000 !important;
}

div.ordbok-content div.tjeneste a {
  display: block;
  font-size: 22px;
  text-decoration: none !important;
  padding: 10px 20px 10px 20px;
  text-align: center;
  color: #5677D1;
  background-color: #fff;
}

div.ordbok-content div.tjeneste div.bilde {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991px) {
  div.ordbok-content div.tjeneste div.bilde {
    padding-top: 100%;
  }
}

div.ordbok-content h1, div.ordbok-content h2, div.ordbok-content h3, div.ordbok-content p, div.ordbok-content input, div.ordbok-content button {
  font-family: 'Titillium Web', sans-serif;
}

div.services2021 {
  padding: 70px 0 70px 0;
}

div.services2021 a {
  display: block;
  text-align: center;
  background-color: #f0f0f0;
  border-left: 15px solid #f69e00;
  text-decoration: none !important;
  padding: 30px 20px 10px 20px;
}

div.services2021 a img {
  height: 70px;
}

div.services2021 a div.title {
  font-size: 20px;
  text-align: center;
  color: #2d83b8;
  padding: 15px 0 20px 0;
}

div.services2021 a p {
  text-align: center;
  color: #727073;
}

div.button-full p input {
	width: 100%;
	color: #ffffff !important;
	background-color: #FF7900;
	border-radius: 6px;
	border: none;
	padding: 10px 15px;
	text-align: left;
}

div.text-image-side {
	position: relative;
}

div.text-image-side p img {
	position: absolute;
	right: -180px;
	top: 0;
	height: 150px;
	width: 150px;
}

@media only screen and (max-width: 769px) {
    div.text-image-side p img {
        display: none;
    }
}
