/*
Theme Name: Hjelp i Hjemmet
Template: twentysixteen
Author: Jenseth Prosjekt
Author URI: http://www.jensethprosjekt.no/
Description: Child theme of Twenty Sixteen
Version: 2.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
Text Domain: hjelpihjemmet
*/

/* Website settings, background and width */
body,
button,
input,
select,
textarea {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 16px;
	line-height: normal;
}
body {
  background: #FFFFFF url(images/background.png) top left repeat-x fixed;
}
body:before,
body:after {
  content: normal !important;
}
.site {
  margin: 0;
  background: transparent;
}
.site-inner {
  max-width: 665px;
}
.site-content .content-area {
  background-color: #ADDEDC;
}
.site-main {
  padding: 0;
  margin: 0;
}
a {
  color: #00857E;
}
a,
a:hover {
  box-shadow: none !important;
}
a:hover,
a:focus,
a:active {
  color: #135F3F;
}
p {
  margin: 0 0 1em;
}

/* Logo site header */
.site-header {
  padding: 0;
}
.site-header-main {
  display: block;
}
.site-branding {
  width: 100%;
  /*height: 130px;*/
  margin: 0;
}
.site-branding > .site-title {
  margin: 15px 0 5px;
}
.site-branding > .site-title a {
  /*display: inline-block;*/
  margin: 0;
  padding: 0;
  /*width: 470px;
  height: 100px;
  background: transparent url('images/hjelpihjemmet-header.png') top left no-repeat scroll;
  text-indent: -9999px;*/
  outline-width: 0 !important;
}
.site-branding > .site-title > a > span {
  display: none;
}
.site-branding > .site-title > a > img {
  padding: 0 5px;
}

/* Menu */
.site-header-menu {
  margin: 0 !important;
}
.main-navigation a {
  padding: 12px;
}
.site-header-menu {
  background-color: #D8E8DC;
  clear: both;
}
.main-navigation .primary-menu {
  border-bottom-width: 0;
}
.main-navigation .primary-menu > .menu-item {
  font-family: Arial, Helvetica, Sans-Serif;
  font-weight: normal;
  font-size: 14px;
  border-top-color: #E8F1EA;
}
.main-navigation .primary-menu > .menu-item.current-menu-item > a {
  /*color: #00837D;*/
  font-weight: normal;
}
.main-navigation .primary-menu > .menu-item > a {
  color: #1A1A1A;
}
.site-header-menu > .main-navigation .primary-menu > .menu-item > a:hover,
.site-header-menu > .main-navigation .primary-menu > .menu-item.focus > a {
  color: #6B6B6B;
}

/* Menu toggle button */
.site-header .menu-toggle {
  float: right;
  padding: 10px;
  margin: 0;
  border-width: 0;
  outline: 0 !important;
}
/*.no-js .menu-toggle {
  display: block;
  visibility: hidden;
}*/
.menu-toggle > span {
  display: inline-block;
  vertical-align: top;
}
.menu-toggle.toggled-on {
  background-color: transparent !important;
}
.menu-toggle .h-label {
  color: #57A996;
  font-family: Arial, Helvetica, Sans-Serif;
  line-height: 20px;
  text-transform: none;
  /*padding: 0 10px 10px;*/
  margin-right: 10px;
}
.menu-toggle .h-label.close {
  display: none;
}
.menu-toggle.toggled-on .h-label {
  display: none;
}
.menu-toggle.toggled-on .h-label.close {
  display: inline-block;
}
.menu-toggle .h-icon {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0 !important;
  width: 24px;
  height: 20px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.menu-toggle .h-icon {
  outline: 0 !important;
}
.menu-toggle .h-icon span {
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 4px;
  background: #57A996;
}
.menu-toggle .h-icon span::before,
.menu-toggle .h-icon span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #57A996;
  content: "";
}
.menu-toggle .h-icon span::before {
  top: -8px;
}
.menu-toggle .h-icon span::after {
  bottom: -8px;
}
.menu-toggle .h-icon span {
  transition: background 0s 0.1s;
}
.menu-toggle .h-icon span::before,
.menu-toggle .h-icon span::after {
  transition-duration: 0.1s, 0.1s;
  transition-delay: 0.1s, 0s;
}
.menu-toggle .h-icon span::before {
  transition-property: top, transform;
}
.menu-toggle .h-icon span::after {
  transition-property: bottom, transform;
}
.menu-toggle.toggled-on .h-icon {
  background-color: transparent !important;
}
.menu-toggle.toggled-on .h-icon span {
  background: none;
}
.menu-toggle.toggled-on .h-icon span::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle.toggled-on .h-icon span::after {
  bottom: 0;
  transform: rotate(-45deg);
}
.menu-toggle.toggled-on .h-icon span::before,
.menu-toggle.toggled-on .h-icon span::after {
  transition-delay: 0s, 0.1s;
}

/* Content */
.site-content {
  clear: both;
}

/* Main image */
.main-image,
.site-main > .slideshow-wrapper {
  /*border: 15px solid #F4F9F9;*/
  /*background-color: #F4F9F9;*/
  /*overflow: hidden;*/
  padding: 2.257% 2.257% 0;
  margin: 0;
  width: 100%
}
.site-main > .slideshow-wrapper > .portfolio-slideshow {
  margin: 0;
}
.site-main > .slideshow-wrapper .slideshow-content {
  margin: 0;
}
.no-js .site-main > .slideshow-wrapper a {
  cursor: default;
}
.no-js .site-main > .slideshow-wrapper .slideshow-content.not-first {
  display: none !important;
}
.site-main > .slideshow-wrapper .slideshow-content img {
  max-width: 100% !important;
}
.image-caption {
  margin: 1.956% 4.512% 0;
  font-size: 13px;
  font-style: italic;
}

/* Post content */
.site-main > article,
.site-main > section {
  margin-left: 4.512%;
  margin-right: 4.512%;
}
.entry-header,
.page-header {
  margin: 0;
}
.entry-header.hidden,
.page-header.hidden {
  /*visibility: hidden;*/
  /*display: none;*/
  margin-top: 4.959%;
}
.entry-title,
.page-title {
  font-size: 24px;
  margin: 4% 0 0.5em;
  font-family: "Times New Roman", Times, Serif;
  color: #00837D;
}
.hidden > .entry-title,
.hidden > .page-title {
  display: none;
}
.entry-content {
  font-size: 14px;
  line-height: 1.5em;
  margin: 0 0 4.959%;
  float: none !important;
  width: auto !important;
}
.entry-content > .gallery:last-child {
  margin-bottom: -2.2801304%;
}
.entry-content > .gallery .gallery-caption {
  display: none;
}
.entry-content ol,
.entry-content ul {
  margin-left: 1.25em;
}
.entry-content li {
  margin-top: 10px;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #00837D;
  font-family: "Times New Roman", Times, Serif;
  letter-spacing: normal;
  text-transform: none;
  margin: 2em 0 1em;
  font-weight: bold;
}
.entry-content h1 {
  font-size: 24px;
}
.entry-content h2 {
  font-size: 22px;
}
.entry-content h3 {
  font-size: 20px;
}
.entry-content h4 {
  font-size: 18px;
}
.entry-content h5 {
  font-size: 16px;
}
.entry-content h6 {
  font-size: 14px;
}
.entry-content .inline,
.widget .inline {
  color: #00837D;
  font-family: "Times New Roman", Times, Serif;
  font-weight: bold;
  font-size: 20px;
}
.entry-content .inline.big,
.widget .inline.big {
  font-size: 24px;
}
.wp-caption {
  width: auto !important;
}
.wp-caption .wp-caption-text {
  color: #1a1a1a;
  padding-top: 1em;
}

/* Posts */
.posts > article {
  padding: 15px 0;
  margin: 0;
  border-top: 1px solid #135F3F;
}
.posts > article:first-child {
  border-top-width: 0;
}
.posts > article > img {
  float: none;
  margin: 0 30px 15px 15px;
  width: 130px;
}
.posts > article > .post-inner {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3em;
  margin: 0 15px;
}
.posts > article > .post-inner {
  font-size: 15px;
  line-height: 1.3em;
}
.posts > article > .post-inner > .postheader {
  margin: 0;
  clear: none;
  font-weight: bold;
  color: #135F3F;
  font-size: 18px;
  line-height: normal;
}
.posts > article > .post-inner > p {
  margin: 10px 0 0 0;
  line-height: 1.5em;
}
.more-link {
  font-style: italic;
}

/* Form elements */
button,
button[disabled]:hover,
button[disabled]:focus,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
  background-color: #00857E;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background-color: #009892;
}
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
  background-color: #FFFFFF;
}

.site-content input,
.site-content textarea,
.site-content button {
  padding: 0.25em;
  font-size: 14px;
  line-height: 1;
  font-family: Arial, Helvetica, Sans-Serif;
}
.site-content textarea {
  height: 150px;
}
.site-content button,
.site-content input[type="submit"],
.site-content input[type="button"],
.site-content input[type="reset"] {
  background-color: #f7f7f7;
  color: #00837D;
  padding: 0.5em;
  border: 1px solid #d1d1d1;
}
.site-content button:focus,
.site-content input[type="submit"]:focus,
.site-content input[type="button"]:focus,
.site-content input[type="reset"]:focus {
  outline: 0;
  color: #135F3F;
}

/* Contact Forms */
.wpcf7 {
  max-width: 400px;
}
.wpcf7 .wpcf7-form-control-wrap {
  margin: 0 0 1em;
}
.wpcf7 .wpcf7-validation-errors {
  border: 1px dashed #009892;
  color: #ad00ad;
  margin: 0;
  padding: 0.5em 1em;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #ad00ad;
  margin-top: 0.3em;
}
.wpcf7 p {
  clear: both;
}
.wpcf7 .split p {
  display: inline-block;
  width: 49%;
  float: left;
  clear: none;
}
.wpcf7 .split p+p {
  float: right;
}
.wpcf7 .split.two p,
.wpcf7 .split.eight p+p {
  width: 24%;
}
.wpcf7 .split.two p+p,
.wpcf7 .split.eight p {
  width: 74%;
}
.wpcf7 .split.three p,
.wpcf7 .split.six p+p {
  width: 33%;
}
.wpcf7 .split.three p+p,
.wpcf7 .split.six p {
  width: 65%;
}

/* Sidebar and widgets */
.sidebar {
  margin-bottom: 0;
  /*background-color: #F0F7F7;*/
}
.widget {
  border-width: 0;
  padding: 0;
  margin: 20px;
}
.widget-title {
  display: none;
}
/*.sidebar .post {
  padding: 30px;
  margin: 0;
  background: url('images/divider.png') transparent top left no-repeat;
}*/
/*.sidebar .post:first-child {
  background-image: none;
  padding-top: 25px;
}*/
/*.sidebar img {
  margin: 0 0 20px;
  width: 100%;
}*/
/*.sidebar .postheader {
  display: none;
  font-size: 15px;
  color: #135F3F;
  font-style: italic;
  line-height: 1;
}*/
/*.sidebar .post-content {
  font-size: 14px;
  line-height: 1.2em;
}
.sidebar .post-content h3 {
  color: #00837D;
  font-size: 20px;
  line-height: 1em;
  font-family: "Times New Roman", Times, Serif;
}
.sidebar .post-content p {
  margin: 0.5em 0 0;
}
.sidebar .post-content p:first-child {
  margin-top: 5px;
}*/

.sidebar {
  padding: 0;
}
#secondary.sidebar .widget_text {
  font-size: 14px;
  margin: 0;
  padding: 30px;
}
#secondary.sidebar .widget_media_image {
  margin: 0;
  text-align: center;
}
#secondary.sidebar .widget_media_image img {
  border: 5px #D3EDEC solid;
  /*margin: 25px 0 0 25px;*/
  margin-top: 25px;
  width: 270px;
}
#social-navigation {
  display: block;
}
.social-navigation a {
  border-width: 0;
}
.social-navigation a:before {
  height: 35px;
  width: 35px;
  line-height: 35px;
  font-size: 2em;
}
.social-navigation a[href*="facebook.com"]:before {
  color: #3B5998;
}
.social-navigation a[href*="twitter.com"]:before {
  color: #1DA1F2;
}
.social-navigation a[href*="twitch.tv"]:before {
  color: #64459B;
}

.site-footer {
  width: 100%;
  padding: 0;
  /*background: linear-gradient(90deg, #FFFFFF 50%, #F0F7F7 50%);*/
}
.site-footer .site-inner {
  /*background-color: #F4F9F9;*/
}
.footer-left {
  /*padding: 20px;*/
}
.footer-left p {
  padding: 0;
  margin: 0;
  font-size: 12px;
  text-align: center;
}
.footer-right p {
  text-align: right;
}

.footer-right .social-navigation .social-links-menu {
  margin: 0;
  text-align: right;
}
.footer-right .social-navigation .menu-item {
  display: inline-block;
  margin: 0.4375em;
  float: none;
}

/* Lightbox */
#slb_viewer_wrap .slb_theme_slb_default .slb_controls {
  top: auto !important;
  bottom: -30px !important;
  right: -2px !important;
  z-index: 1000000 !important;
  width: auto !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_container {
  padding-bottom: 6px !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_content {
  padding-bottom: 10px !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_group_status {
  font-size: 16px !important;
  font-style: normal !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_data_title {
  margin-right: 1em !important;
}
#slb_viewer_wrap .slb_theme_slb_default .slb_data_content {
  margin-left: 1em !important;
  margin-right: 65px !important;
}

/* Window >= 610px, sidebar on the side */
@media screen and (min-width: 610px) {
  #secondary.sidebar .widget_media_image {
    width: 50%;
    float: left;
  }
}

/* Window >= 910px, sidebar on the side */
@media screen and (min-width: 910px) {
  /* Full width menu with centered menu items */
  .main-navigation {
    margin: 0;
  }
  .site-header-menu {
    width: 100%;
    background-color: #DBF0F0;
    /*border-top-left-radius: 5px;
    border-top-right-radius: 5px;*/
  }
  .site-branding > .site-title {
    margin-bottom: 15px;
  }
  .main-navigation > div {
    display: table;
    width: 100%;
  }
  .main-navigation .primary-menu {
    display: table-row;
    width: 100%;
  }
  .main-navigation .primary-menu > .menu-item {
    display: table-cell;
    float: none;
    text-align: center;
  }
  .main-navigation .primary-menu > .menu-item > a {
    display: inline-block;
    padding: 0 0.5em;
    margin: 0 0.5em;
    line-height: 30px;
  }

  /* Site content and sidebar width */
  .site-inner {
    max-width: 960px;
    /*padding: 0 10px;*/
    /*box-sizing: content-box;*/
  }
  .site-content,
  .site-footer > .site-inner {
    padding: 0;
    /*display: table-row;*/
    display: table;
    width: 100%
  }
  .content-area,
  .sidebar {
    float: none;
    margin: 0;
    display: table-cell;
  }
  .content-area {
    width: auto;
  }
  .sidebar {
    width: 295px;
  }
  .site-content .sidebar {
    background-color: transparent;
    vertical-align: top;
  }
  .footer-right.sidebar {
    vertical-align: middle;
  }
  #secondary.sidebar .widget_media_image {
    width: auto;
    float: none;
  }
  #secondary.sidebar .widget_media_image img {
    margin: 25px 0 0 25px;
  }
  /*.sidebar .post:first-child {*/
    /*padding-top: 15px;*/
  /*}*/
  /*.footer-quote {
    line-height: normal;
  }
  .footer-quote img {
    margin-bottom: 0;
  }*/
}

/* Window >= 510px */
@media screen and (min-width: 510px) {
  /* Show the image beside instead of above the text content on posts view */
  .posts > article > img {
    float: left;
    margin-bottom: 0;
  }
  .posts > article > .post-inner {
    margin: 0 30px;
  }
}

/* Search temporary disabled */
.not-found .page-content {
  display: none;
}
.not-found .page-title {
  margin: 2em 0;
  text-align: center;
}
