/*  Hovedmenu */
#menu-menu-ny .logo-link {
    padding: 0;
    height: 38px;
    border: 2px solid #000;
}
#menu-menu-ny li > a {
   padding: 0px 23px;
}

.main-head header {
   padding: 15px 0;
   max-height: 210px;
}

.main-head .title {
   max-width: 140px;
}

.main-head .ads-widget {
   width: 930px;
}

.single-post .after-content-widget {
   margin: 10px 0;
}

.single-post .after-content-widget object {
   margin-left: -10px;
}

.post-content {
   color: #000;
}

/* Single view */
.fg-item-single .main {
   margin: 20px auto;
}

.fg-item-single .item-title {
   background: #f9f9f9;
   padding: 10px 10px 10px 150px;
   position: relative;
   height: 100px;
   margin: 30px 0 50px 30px;
}

.item-title .fg-item-logo {
   border-radius: 50%;
   border: 10px solid #f9f9f9;
   position: absolute;
   left: -30px;
   top: -25px;
   z-index: 100;
}

.item-title .item-tags {
   color: #333;
}

.item-title .item-city {
   display: block;
   padding-top: 15px;
   color: #999;
}

.item-column {
   float: left;
   width: 48%;
   margin-right: 2%;
}
.item-column:nth-child(3) {
   margin-right: 0;
   margin-left: 2%;
}
.item-column h2,
.item-info h2 {
   text-align: center;
   background-color: #32742C;
   color: #fff;
   height: 40px;
   line-height: 40px;
}

.item-column .item-info {
   background: #f9f9f9;
   padding: 15px;
   border-bottom: 1px solid #fff;
}

.item-column .item-info .item-info-line {
   min-height: 40px;
   line-height: 40px;
   background: #e9e9e9;
   display: inline-block;
   width: 100%;
   padding: 5px 0;
}
.item-column .item-info .item-info-line > span {
   display: inline-block;
   width: 26.333333%;
   padding: 0 3%;
   vertical-align: middle;
   line-height: 1.3em;
}
.item-column .item-info .item-info-line > span:nth-child(2) {
   text-align: center;
}
.item-column .item-info .item-info-line > span:last-child {
   text-align: right;
}
.item-column .item-info .item-info-line:nth-child(even) {
   background: transparent;
}

.item-column .item-info.item-description p:last-child {
   margin-bottom: 0px;
}

.item-column .item-info.item-prices .item-info-line > span {
   width: 42.3333333%;
   /*line-height: 1.2em;*/
}
.item-column .item-info.item-prices .item-info-line > span:nth-child(2),
.item-column .item-info.item-prices .item-info-line > span:last-child {
   width: 16.3333333%;
}

.item-info.item-info-fullwidth {
   clear: both;
   /*margin-top: 20px;*/
   background: #f9f9f9;
   text-align: center;
   border-top: 20px solid #fff;
   padding-bottom: 20px;
   max-width: 100%;
}
.item-referencer {
   position: relative;
   overflow: hidden;
   padding-bottom: 0 !important;
}
.item-referencer-wrapper {
   width: 950px;
   position: relative;
   margin: 0 auto;
   overflow: hidden;
   z-index: 1;
}
.item-referencer-quotes {
   float:left;
}
.item-referencer-wrapper blockquote {
   width: 375px;
   padding: 40px 50px;
   text-align: left;
   float: left;
   font-size: 18px;
}
.item-referencer-wrapper blockquote .item-ref-name {
   display: block;
   padding-top: 5px;
   font-style: italic;
   text-align: right;
   font-size: 14px;
}
.item-referencer-wrapper > .arrow {
   position: absolute;
   width: 35px;
   height: 100px;
   z-index: 10;
   top: 50%;
   margin-top: -50px;
   left: 0px;
   text-align: center;
   background: #e9e9e9;
   cursor: pointer;
}
.item-referencer-wrapper > .arrow:hover {
   background: #999;
}
.item-referencer-wrapper > .arrow:hover .fa {
   color: #e9e9e9;
}
.item-referencer-wrapper > .arrow.right {
   left: auto;
   right: 0px;
}
.item-referencer-wrapper > .arrow .fa {
   font-size: 40px;
   line-height: 1;
   position: absolute;
   left: 50%;
   margin-left: -7px;
   top: 50px;
   margin-top: -21px;
}
@media (max-width: 1023px) {
   .item-referencer-wrapper {
      width: 600px;
   }
   .item-referencer-wrapper blockquote {
      width: 500px;
   }
}
@media (max-width: 667px) {
   .item-referencer-wrapper {
      width: 510px;
   }
   .item-referencer-wrapper blockquote {
      width: 410px;
   }
}
@media (max-width: 559px) {
   .item-referencer-wrapper {
      width: 270px;
   }
   .item-referencer-wrapper blockquote {
      width: 170px;
   }
}
.item-info.item-info-fullwidth .wall-outer {
   padding: 20px 20px 0;
}
.item-info.item-gallery img {
   margin: 20px 20px 0;
}
.item-info.item-video .video-wrapper {
   margin: 20px 20px 0;
   position: relative;
   padding-bottom: 56.25%;
   padding-top: 30px; height: 0; overflow: hidden;
}
.item-info.item-video .video-wrapper iframe,
.item-info.item-video .video-wrapper object,
.item-info.item-video .video-wrapper embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

.item-blog .item-blog-post {
   display: block;
   width: 46%;
   padding: 1%;
   text-align: left;
   float: left;
   font-size: 14px;
   position: relative;
   height: 130px;
   overflow: hidden;
   background: #e9e9e9;
   margin: 1%;
}
.item-blog .item-blog-post:nth-child(2n+0) {
   clear: left;
}
.item-blog .item-blog-post .item-blog-post-headline {
   font-weight: bold;
   display: block;
   color: #222;
   font-size: 16px;
   margin-left: 28%;
}
.item-blog .item-blog-post > p {
   margin-left: 28%;
   max-height: 84px;
   overflow: hidden;
}
.item-blog .item-blog-post img {
   position: absolute;
   left: 3%;
   top: 17%;
   border-radius: 50%;
}
@media (max-width: 949px) {
   .item-blog .item-blog-post .item-blog-post-headline {
      font-size: 15px;
   }
   .item-blog .item-blog-post > p {
      font-size: 13px;
   }
   .item-blog .item-blog-post .item-blog-post-headline,
   .item-blog .item-blog-post > p {
      margin-left: 35%;
   }
}
@media (max-width: 768px) {
   .item-blog .item-blog-post {
      width: 90%;
      max-width: 500px;
      margin: 2% auto 0;
      padding: 1% 2%;
      float: none;
      height: auto;
      min-height: 130px;
   }
   .item-blog .item-blog-post .item-blog-post-headline,
   .item-blog .item-blog-post > p {
      margin-left: 25%;
   }
   .item-blog .item-blog-post .item-blog-post-headline {
      font-size: 16px;
      margin-top: 20px;
   }
   .item-blog .item-blog-post > p {
      font-size: 14px;
      margin-bottom: 5px;
   }
}
@media (max-width: 560px) {
   .item-info.item-info-fullwidth.item-blog {
      padding-bottom: 0px;
   }
   .item-blog .item-blog-post {
      width: 96%;
      min-height: 80px;
   }
   .item-blog .item-blog-post .item-blog-post-headline {
      margin-top: 10px;
   }
   .item-blog .item-blog-post img {
      top: 4%;
      left: 4%;
      width: 80px;
      height: 80px;
   }
   .item-blog .item-blog-post .item-blog-post-headline,
   .item-blog .item-blog-post > p {
      margin-left: 95px;
   }
   .item-blog .item-blog-post > p {
      max-height: none;
   }
}

.person-back-btn {
   display: block;
   font-family: "Roboto Slab", Georgia, serif;
   font-size: 16px;
   padding: 0 20px;
   position: absolute;
   right: 200px;
   bottom: 10px;
   font-weight: lighter;
   background: #fff;
   border: 1px solid #d9d9d9;
   border-radius: 2px;
   line-height: 40px;
   height: 40px;
   color: #555;
   cursor: pointer;
}
.item-contactform input,
.item-contactform textarea {
   background: #fff;
   padding: 7px;
}
.item-contactform input[type="submit"] {
   color: #222;
}
.open-person-contact {
   cursor: pointer;
}
span.open-person-contact:hover {
   background: transparent;
   color: #32742C;
}
.open-person-contact.top {
   display: block;
   /*float: left;*/
   border-radius: 3px;
   text-align: center;
   background-color: #32742C;
   border: 2px solid #32742C;
   color: #fff;
   height: 40px;
   line-height: 40px;
   cursor: pointer;
   font-family: "Roboto Slab", Georgia, serif;
   font-size: 21px;
   padding: 0 20px;
   position: absolute;
   right: 10px;
   bottom: 10px;
}
.item-contactform .wpcf7 {
   clear: both;
}
.item-contactform {
   display: none;   
}
.item-contactform .wpcf7 form p {
   margin-bottom: 10px;
}
.item-contactform .wpcf7 form p:last-of-type {
   margin-bottom: 0px;
}
@media (max-width: 767px) {
   .open-person-contact.top,
   .person-back-btn {
      display: inline-block;
      position: relative;
      right: auto;
      bottom: auto;
      margin-top: 20px;
      max-width: 145px;
   }
   .person-back-btn {
      display: block;
      clear: both;
      margin: 10px auto 0;
      padding: 0 10px;
   }
}
@media (max-width: 385px) {
   .item-contactform input {
      box-sizing: border-box;
   }
   .item-contactform input,
   .item-contactform textarea {
      max-width: 305px;
      width: 100%;
   }
}

/* Search pages */
body.page-id-4136 .post-content {
   padding-bottom: 20px;
}

body.page-id-4136 ::-webkit-input-placeholder {
   color: #999;
}

body.page-id-4136 :-moz-placeholder { /* Firefox 18- */
   color: #999;
}

body.page-id-4136 ::-moz-placeholder {  /* Firefox 19+ */
   color: #999;
}

body.page-id-4136 :-ms-input-placeholder {  
   color: #999; 
}

form.search-fields select,
form.search-fields input[type=text] {
   border: 2px solid #eee;
   border-radius: 4px;
   box-shadow: none;
   color: #000;
   display: inline-block;
   height: 40px;
   line-height: 40px;
   margin-right: 15px;
   margin-bottom: 15px;
   padding-left: 12px;
   position: relative;
   font-size: 15px;
}
/*form.search-fields input[type=text] {
   top: 1px;
   height: 22px;
   line-height: 22px;
}*/

#fg-item-list ul {
   padding: 40px 0 0;
   margin-bottom: 0;
   margin-left: 0;
   /*display: flex;*/
}

#fg-item-list li {
   list-style-type: none;
   float: left;
   width: 320px;
   padding: 20px 20px 20px 180px;
   border: 1px solid #d9d9d9;
   margin-bottom: 30px;
   background: #f9f9f9;
   min-height: 180px;
   position: relative;
   display: none;
}
#fg-item-list li.visible {
   display: block;
}
#fg-item-list li:nth-child(odd) {
   clear: left;
   margin-right: 34px;
}
#fg-item-list li .wp-post-image {
   position: absolute;
   top: 20px;
   left: 20px;
   z-index: 5;
}
#fg-item-list li .item-title {
   font-size: 24px;
   font-weight: bold;
   display: block;
   line-height: 1.2em;
   color: #19232d;
}
#fg-item-list li .item-title:hover {
   text-decoration: none;
}
#fg-item-list li .item-info {
   color: #666;
   display: block;
   line-height: 1.4em;
   font-size: 14px;
   padding-bottom: 15px;
}
#fg-item-list li .item-info:last-of-type {
   padding-bottom: 0;
}
#fg-item-list li .item-label {
   font-weight: bold;
   padding-right: 5px;
}
#fg-item-list li .view-item {
   color: #fff;
   background: #32742C;
   position: absolute;
   left: 20px;
   top: 170px;
   height: 30px;
   line-height: 30px;
   z-index: 10;
   display: block;
   width: 150px;
   text-align: center;
}
#fg-item-list li .profile-badge,
.fg-item-single .item-title .profile-badge {
   width: 30px;
   height: 30px;
   background: transparent url('../gfx/fitnessguide-fremhavet-profil.png') no-repeat center center;
   background-size: cover;
   display: none;
   position: absolute;
   top: 10px;
   right: 10px;
   text-decoration: none;
}
#fg-item-list li.highlighted .profile-badge.highlighted-profile,
.fg-item-single .item-title .profile-badge {
   display: block;
}
/*#fg-item-list li a.profile-badge:last-child,
.fg-item-single .item-title a.profile-badge.gold-profile {
   margin-right: 30px;
}*/
#fg-item-list li .profile-badge.silver-profile,
.fg-item-single .item-title .profile-badge.silver-profile {
   background-image: url('../gfx/fitnessguide-silver-profile.png');
   display: block;
}
#fg-item-list li .profile-badge.gold-profile,
.fg-item-single .item-title .profile-badge.gold-profile {
   background-image: url('../gfx/fitnessguide-gold-profile.png');
   display: block;
}

@media only screen and (max-width: 1128px) {
   #fg-item-list li {
      width: 42.988888%;
      padding: 2%;
      margin-bottom: 3%;
   }
   
   #fg-item-list li:nth-child(odd) {
      margin-right: 3%;
   }
   
   #fg-item-list li .item-image {
      float: left;
      position: relative;
   }
   
   #fg-item-list li .wp-post-image {
      float: left;
      position: relative;
      top: auto;
      left: auto;
      margin-right: 15px;
   }
   
   #fg-item-list li .view-item {
      left: 0;
      top: auto;
      bottom: 0;
   }
}

@media only screen and (max-width: 999px) {
   #fg-item-list li {
      width: 95.7%;
   }
   
   #fg-item-list li:nth-child(odd) {
      margin-right: 0%;
   }
}

@media only screen and (max-width: 799px) {
   .navigation .mobile .selected {
      padding-left: 0px;
      background: #000;
   }
   .navigation .mobile .selected .mobile-menu-logo {
      float: left;
      height: 44px;
   }
   .navigation .mobile .selected .mobile-menu-logo img {
      border: 2px solid #000;
   }
   .main {
      margin-bottom: 20px;
   }
   .main .sidebar {
      margin-bottom: 0;
      margin-top: 0;
   }
}

@media only screen and (max-width: 767px) {
   .fg-item-single .item-title {
      padding: 3%;
      background: transparent;
      height: auto;
      margin: 20px 0;
      text-align: center;
   }
   
   .fg-item-single .item-title h1 {
      line-height: 1.2em;
   }
   
   .item-title .fg-item-logo {
      border: 0;
      position: relative;
      left: auto;
      top: 0;
   }
   
   .item-column {
      float: none;
      width: 100%;
      margin-right: 0;
   }
}

@media only screen and (max-width: 600px) {
   #fg-item-list li {
      text-align: center;
   }
   #fg-item-list li .item-image,
   #fg-item-list li .wp-post-image {
      float: none;
   }
   
   #fg-item-list li .item-image {
      text-align: center;
      margin-bottom: 10px;
   }
   #fg-item-list li .wp-post-image {
      margin: 0;
   }
   
   #fg-item-list li .view-item {
      left: 50%;
      margin-left: -75px;
   }
   
   #fg-item-list li .profile-badge {
      z-index: 1000;
   }
   
   #fg-item-list li a.profile-badge:last-child {
      margin-right: 0px;
   }
   #fg-item-list li .profile-badge.silver-profile,
   #fg-item-list li .profile-badge.gold-profile {
      right: auto;
      left: 5px;
   }
   
   form.search-fields select,
   form.search-fields input[type=text] {
      width: 48.5%;
      margin-right: 2%;
      margin-bottom: 2%;
   }
   form.search-fields input[type=text] {
      width: 42.5%;
   }
   
   form.search-fields select:nth-child(2n+2),
   form.search-fields input[type=text]:nth-child(2n+2) {
      margin-right: 0;
   }
}

@media only screen and (max-width: 500px) {
   .fg-item-single .profile-badge {
      z-index: 1000;
   }
   
   .fg-item-single a.profile-badge:last-child {
      margin-right: 0px;
   }
   .fg-item-single .profile-badge.silver-profile,
   .fg-item-single .profile-badge.gold-profile {
      right: auto;
      left: 5px;
   }
   
   form.search-fields select,
   form.search-fields input[type=text] {
      width: 99.8%;
      margin-right: 0;
   }
   form.search-fields input[type=text] {
      width: 94%;
      padding: 2%;
   }
}

