﻿.wp-caption img{margin-left:auto;margin-right:auto;display:block;}
.post-meta-author img{position:relative;top:10px;margin-right:4px;border-radius:50%;}
.post-meta-author .nohover:hover{text-decoration:none;border-bottom:none;}
span.post-meta-author.byline-avatar:before{display:none;}
.mob-break{display:none !important;margin:0 !important;font-size:0;}

@media only screen and (max-width: 768px){
.mob-break{display:block !important;}
.tie-date.tie-date2{margin-left:30px;}
}

/* Global */
.search-block:hover .search-button, .search-block:hover #s {
  color: #000 !important;
}
.search-block #s {
  color: #000 !important;
}
/* Global */

/* Søstersites aside custom css */
#text-html-widget-36, #text-html-widget-37, #text-html-widget-38, #text-html-widget-39 {
  margin-bottom:0px;
}
.widget_super_rss_reader .widget-container {
  padding: 10px 0px 0px 0px;
}
#text-html-widget-37 .widget-container, #text-html-widget-38 .widget-container {
 padding: 10px 0px 0px 0px;
}

/* Sponsor Article frontpage custom css */
.content .recent-box .cat-box-title { display:none; }
.content .recent-box { background-color: #f2f2f2; }
.content .recent-box { border-bottom: 1px solid #eaeaea !important; }
.content .recent-box { padding-top:10px !important; }
.content .recent-box .post-box-title { padding-left:10px !important; padding-right:10px !important;}
.content .recent-box .post-box-title a { font-size:18px !important; }
.content .recent-box .entry { padding-left:10px !important; padding-right:10px !important; }
.content .recent-box .sponsor-text { padding-left:10px !important; padding-right:10px !important; }
/* Sponsor Article frontpage custom css */

#click-menu { 
border-left:1px solid #000000;
border-bottom:1px solid #000000;
}

.page-title { 
  font-size: 16px !important;
  font-family: Oswald,arial,Georgia, serif !important;
  color:#333 !important;
  text-transform: uppercase;
}

.flexslider, .full-width .content .flexslider {
  margin: 0 0 10px !important;
  background: none !important;
  border-bottom: 1px solid #eaeaea !important;
}

.content .flexslider .slides > li {
  display: block !important;
}

.flexslider, .flexslider .slides > li, .flexslider .slides img, .ei-slider, .ei-slider-large li {
    height: auto !important;
  }

@media (max-width: 479px) { 
  .flexslider, .flexslider .slides > li, .flexslider .slides img, .ei-slider, .ei-slider-large li {
    height: auto !important;
  }
}

.slider-caption { 
  margin-top: 2px !important;
  position: static !important;
  opacity: 1.0 !important;
  max-width: 100% !important;
}

.slider-caption p {
  background: #fff !important;
  color: #000000 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
  display:block !important;
  min-height:55px;
}

.content .slider-caption h2 {
  background-color: #fff !important;
  padding: 10px 0px 5px !important;
}

.content .slider-caption h2 a {
  color: #444;
}

.container .more-link {
  display: none; /* remove readmore button */ 
}

.entry h4 {
    font-size: 12px !important; /* Tilpas font stÃ¸rrelse pÃ¥ Jobmarked siden */
}

.entry .wp-caption {
  /*width:630px !important;*/
}

.home-ads .widget-top {
  text-align:left !important; /* Center label text on frontpage for ad / custom boxes */
  margin-top:25px !important;
}

.home-ads .widget { margin-bottom:0px !important; }

/* Gallery page */

#wppa-bc-1 .wppa-nav-text:nth-child(1), #wppa-bc-1 .wppa-nav-text:nth-child(2), #wppa-bc-1 .wppa-nav-text:nth-child(3), #wppa-bc-1 .wppa-nav-text:nth-child(4), #wppa-bc-1 .wppa-nav-text:nth-child(6), #wppa-bc-1 #bc-pname-1 {
 display:none !important;
}

#wppa-bc-1 .wppa-nav-text:nth-child(5) {
 font-size: 28px !important;
}

#wppa-bc-1 {
  background-color:#ffffff !important;
}

.cat-box {
  border:0px !important;
}

/****** Article Page ******/

.content #the-post .post-inner .entry a { text-decoration: underline; }

.content #the-post .post-inner .post-title {
  font-size:26px !important;
}

.share-post li, .mini-share-post li {
  width:initial !important;
  margin-right:10px !important;
}

.wp-caption {
  text-align:left !important;
  font-size: 90% !important;
}

.fb-comments iframe {
  max-height: none !important;
}

.WP-PrintIcon { 
  width:11px !important;
  margin-right:2px !important;
}

/* Image Caption align left */
.single-post-caption {
  text-align:left !important;
  color: #888 !important;
  padding:10px 8px 8px 8px !important;
}

/* Comments top label */
.entry h3 {
  font-size: 18px !important;
  font-family: 'Roboto' !important;
}
.entry h3 span {
  font-size: 14px !important;
}

/****** Homepage Page ******/

.first-news .entry { min-height:105px; } /* align first news boxes on the frontpage */

.breakingnews-top {
  font-size: 20px;
  font-weight:bold;
  width:100%;
  background-color:yellow !important;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  text-transform: uppercase;
}

@media (max-width:800px) { 
  .breakingnews-top {
    font-size: 14px;
  }
}

.social-icons-top {
  float:right !important;
  margin-top:11px !important;
  margin-right:11px !important;
}

.social-icons-top img {
  margin-left:2px !important;
}

.breakingnews-top-padding {
  padding:8px 8px 8px 10px;
}

.home-ads {
margin:5px auto 0px !important;
}

.content .cat-box {
  margin-bottom: 5px !important;
}

/****** Homepage Page - Job slider ******/
.content-ads-custom { font-size:10px; text-align:left !important; }
.advs-title { text-align:left !important; margin-top: 10px !important; }
.advps-slide img { border: 1px solid #d2d2d2 !important; max-width:182px !important; }
.advps-slide-field-three img { margin-right:0px !important; }

/****** Header ******/

header#theme-header { margin:0 0 25px !important; }

@media (max-width:767px) {
  .search-block, .top-nav, #main-nav {
    display:none !important;
  }
  #main-content {
    margin:0px auto 25px !important;
  }
  header#theme-header { 
    margin:0 0 0 !important; 
  }
}

.search-block #s {
  font-family: 'Roboto' !important;
  font-size: 12px !important;
}


.top-nav ul li a, .top-nav .breaking-news a { font-size:14px !important; }

.header-content {
  padding: 3px 0 !important;
  background: none !important;
}

.top-nav {
  border-bottom:0px !important;
  height: 60px !important;
  background:#ffffff !important;
  position:static !important;
}

@media (min-width:600px) {
  .breaking-news, .search-block {
    margin-top:11px !important;
  }
  .top-nav .breaking-news span {
    padding-left:60px !important;
  }
}

@media (max-width:600px) {
  .social-icons-top {
    display:none !important;
  }
}

@media (max-width:479px) {
  .top-nav {
    width:90% !important;
	  margin-left: 15px !important;
  }
}

.ads-top { 
  margin-bottom: 13px !important;
  margin-top: 0px !important;
  float:none !important;
  margin-left:0px !important;
  margin-right:0px !important;
  line-height:normal !important;
}

.logo h1 { font:0px !important; }

@media only screen and (max-width: 479px) {
  .logo img {
    height:40px !important;
  }
}

.top-nav ul li a, .top-nav .breaking-news a { text-shadow:none !important; color:#000000 !important; }
.top-nav ul li a, .top-nav .breaking-news span { background-color:#fff !important; color:#000000 !important; margin-right:0px !important; }

/* Category list widget add margin to the last item */
.dcw .cat-item:last-child { margin-bottom:20px !important; }

.HZ-FRCW {
  background-color: #f6f7f8 !important;
  border: 1px solid #e9eaed !important;
  padding: 5px !important;
}

.HZ-FRCW .facebookComment {
  padding-top:7px !important;
}

.HZ-FRCW .with-avatar {
  padding-left:60px !important;
  padding-bottom:5px !important;
  border-bottom:1px solid #d3d3d3 !important;
}

.HZ-FRCW .with-avatar:last-child { border-bottom:0px !important; }

.HZ-FRCW li { background:none !important; }
.HZ-FRCW li a { font-weight:bold !important; }

.expire {
  margin-top:5px;
  font-size:10px;
}

/****** Sidebar *******/
/* start: Disqus */
.dsq-widget-list {
background-color:#f6f7f8 !important;
border: 1px solid #e9eaed !important;
padding: 5px !important;
}

p.dsq-widget-meta {
clear: none !important;
}

p.dsq-widget-meta a {
font-weight:bold !important;
}

li.dsq-widget-item:first-child { 
margin:0px !important;
}

li.dsq-widget-item {
margin: 8px 0 !important;
border-bottom: 1px solid #f2f2f2 !important;
background: none !important;
padding: 0px !important;
}

img.dsq-widget-avatar {
  padding:0px 10px 3px 0px !important;
  width:60px !important;
  height:60px !important;
  border-radius: 0px !important;
}

ul.dsq-widget-list.grey .dsq-widget-item {
    border-left: 0px solid #a0a0a0 !important;
}
/* end: Disqus */

/* Jobs list */
#categort-posts-widget-3 .post-thumbnail .attachment-tie-small, #categort-posts-widget-8 .post-thumbnail .attachment-tie-small {
border: 1px solid #d2d2d2 !important;
}

.facebook-box iframe { height:230px !important; }
.mc4wp-form-basic, .mc4wp-form-theme { 
  margin:0px !important; /* Forms html tags set to 0 margin */
  background-color: #f6f7f8 !important;
  border: 1px solid #e9eaed !important;
  padding: 5px !important;
}
.sidebar .widget-counter  { margin-bottom:30px !important; }

.wppa_album_widget .widget-container {
  background-color: #f6f7f8 !important;
  border: 1px solid #e9eaed !important;
  padding:5px !important;
  margin-top:10px !important;
  padding-left:5px !important;
}

/***** Footer *******/
  
@media (min-width:767px) {
  .bottom-1-widget-custom {
    margin-top:64px;
  }
  /* Start: Force image height  */
	.column2 li.first-news .post-thumbnail img {
		height:160px !important;
	}
	
	.archives_2col .item-list .post-thumbnail img {
		height:160px !important;
	}
	.related-item .post-thumbnail img {
		height:110px !important;
	}
}

/* Gallery page */

.wppa-cover-text-frame h2 .wppa-title, .wppa-cover-text-frame .wppa-box-text-desc {
  margin-left:5px !important;
}

.coverphoto-frame {
  margin-top:5px !important;
}

.album .wppa-title {
  font-size:20px !important
}



/******************************************************/
/*********************** Custom WPPA ***********************/
/******************************************************/

#wppa-container-1 .wppa-album-cover-standard {
width:100% !important;
}

#wppa-container-1 .wppa-text-frame {
width:70% !important;
}

#wppa-container-1 .wppa-img {
  width:150px !important;
  height:150px !important;
}

/******************************************************/
/*********************** Mobile ***********************/
/******************************************************/

@media only screen and (max-width: 479px) {
 
  .wrapper { 
     width:100% !important; /* New mobile Size Fix */ 
  }
  
 .container { 
    width:90% !important; /* New mobile Size Fix */ 
  }
  
  header#theme-header, #footer-widget-area,	 #main-content , .content , .sidebar , .flexslider , .ei-slider, .ei-slider-large li,.group_items, .scroll-box-wide .group_items { 
    width:100% !important; /* New mobile Size Fix */ 
  }
  .bottom-1-widget-custom {
    margin-left:5%; /* New mobile Size Fix */
    margin-right:5%; /* New mobile Size Fix */
  }
  .archives_2col .item-list, .archives_2col .item-list.item_1 {
    width:100% !important; /* New mobile Size Fix */
  }
  /* Start: Force image height  */
	.column2 li.first-news .post-thumbnail img {
		height:160px !important;
	}
	.archives_2col .item-list .post-thumbnail img {
		height:160px !important;
	}
	.related-item .post-thumbnail img {
		height:110px !important;
	}
	.flexslider .slides img.wp-post-image {
	  height:160px !important;
	}
}

@media only screen and (max-width: 767px) {
  #footer-second, #footer-third, #footer-fourth { display:none; } /* Remove Links lists in the footer */
  .sidebar-narrow .categort-posts li:nth-of-type(1n+13) { display: none; } /* Display only 12 latest news on mobile  */
  .DisplayCategoriesWidget { display: none; } /* Remove Category List in SideBar on Mobile */
  #text-html-widget-29 { display: none; } /* Remove Partner List in SideBar on Mobile */
  /* .widget_mc4wp_form_widget { display:none; } */ /* Remove Newsletter Widget */
  #adrotate_widgets-3 { display:none; }
  #adrotate_widgets-5 { display:none; }
  #adrotate_widgets-6 { display:none; }
  #adrotate_widgets-7 { display:none; }
  #ajdg_bnnrwidgets-2 { display:none; } /* Hide rejsetilbud on mobile frontpage */
  #ajdg_bnnrwidgets-3 { display:none; } /* Hide rejsetilbud on mobile subpages */
  .widget_youtube_responsive { display:none; }
  .facebook-widget { display:none; }
  #text-html-widget-10 > .widget-top { display:none; }
  #text-html-widget-10 > .widget-container { display:none; }
  #categort-posts-widget-3 { text-align:left !important; }

  #adrotate_widgets-9 { display:none; } /* hide rejsetilbud on all sub pages */ 
  #adrotate_widgets-10 { display:none; } /* hide disneyland on all sub pages */ 
  
  #ajdg_grpwidgets-2 { display:none; } /* hide lufthansa ad on mobile frontpage */
  #ajdg_grpwidgets-3 { display:none; } /* hide sunweb ad on mobile frontpage */
  #ajdg_grpwidgets-10 { display:none; } /* hide radison blue ad on mobile frontpage */
  
  #ajdg_grpwidgets-11 { display:none; }  /* hide sunweb ad on mobile all sub pages */
  #ajdg_grpwidgets-12 { display:none; }  /* hide radison blue ad on all sub pages */
  
  #wppa_album_widget-4 { display:none; } /* hide WPPA latest gallery */ 
  #text-html-widget-27 { display:none; } /* hide Latest gallery link */
  
  .sidebar-narrow {
    margin:25px 0;
    padding: 0 0;
    width:100%;
    border-right: 0px;
  }
  
  .content .slider-caption h2 a { font-size:20px !important; }
  .content .slider-caption h2 { line-height:25px !important; }
  
  /* Custom WPPA */
  #wppa-container-1 .wppa-album-cover-standard {
    width:100% !important;
  }
  
  #wppa-container-1 .wppa-text-frame {
    width:100% !important;
  }
  
  #wppa-container-1 .wppa-img {
    width:100% !important;
    height:auto !important;
  }
  
  #wppa-container-1 .coverphoto-frame {
    width:100% !important;
  }
  
  .single .slider-caption p {
    font-size:75% !important;
  }
  
  .slider-caption p {
    min-height:105px !important;
  }
    
  #ajdg_grpwidgets-6 .widget-container { text-align:center; }
  
  #ajdg_grpwidgets-7 .widget-container { text-align:center; }
  
  #ajdg_grpwidgets-8 .widget-container { text-align:center; }
  
  #ajdg_grpwidgets-9 .widget-container { text-align:center; }
  
  #adrotate_widgets-16 .widget-container { text-align:center; }

  #ad-middle-right { text-align:center; }   
}


/******************************************************/
/************* Sponsor Article Frontpage *************/
/******************************************************/

.sponsor-art .first-news .entry {
  min-height: auto !important;
}

.sponsor-art .sponsor-text {
    margin-top:10px;
  }

@media only screen and (max-width: 767px) {
  
  .sponsor-art .post-box-title {
    padding-left:10px;
    padding-right:10px;
  }
  
  .sponsor-art .entry {
    padding-left:10px;
    padding-right:10px;
  }
  
  .sponsor-art .sponsor-text {
    padding-left:10px;
    padding-right:10px;
  }
  
  .sponsor-art .post-thumbnail {
    padding-bottom:10px !important;
  }
  
}

.login-buttons {
  float:right;
  margin-top:14px;
  margin-left:4px;
}

.login-buttons-class {
  background-color:#608ecb;
  color:#ffffff;
  font-weight:bold;
  font-family:Arial, sans-serif;
  height:30px;
  padding-left:5px !important;
  padding-right:5px !important;
}

#new-search-box #s {
  background:#fff !important;
}

#new-search-box {
  margin-right:9px !important;
}

.breaking-news {
  min-width:45% !important;
}

/* PLUS Widget in sidebar */
#categort-posts-widget-10 .widget-container, #categort-posts-widget-9 .widget-container {
/*background-color:#608ecb;*/
/*padding:7px;*/
/*color:#fff;*/
}

#categort-posts-widget-10 .widget-top, #categort-posts-widget-9 .widget-top { 
/*margin-bottom:8px;*/
}

#categort-posts-widget-10 a, #categort-posts-widget-9 a {
/*color:#fff;*/
}                                                                    

/* PLUS Section On Frontpage */
.tie-cat-1427 li.first-news .post-thumbnail,.tie-cat-1000648 li.first-news .post-thumbnail {
  width: 100%;
  margin-bottom:10px;
}
.cat-box.wide-box.tie-cat-991 .post-thumbnail, .cat-box.wide-box.tie-cat-1036 .post-thumbnail {
margin: 0 0 10px 0 !important;
}
.cat-box.wide-box.tie-cat-991 .entry, .cat-box.wide-box.tie-cat-1036 .entry {
min-height: unset !important;
}

.tie-cat-991, .tie-cat-1036,.tie-cat-1000648 {
  background-color:#608ecb;
}

.column2.tie-cat-991 .first-news, .column2.tie-cat-1036 .first-news {
  height:355px;
}

.tie-cat-991 .entry, .tie-cat-991 .post-box-title, .tie-cat-1036 .entry, .tie-cat-1036 .post-box-title,.tie-cat-1000648 .entry,.tie-cat-1000648 .post-box-title {
  margin-left:10px;
  margin-right:10px;
}
.tie-cat-991 .entry, .tie-cat-991 .post-box-title a, .tie-cat-1036 .entry, .tie-cat-1036 .post-box-title a,.tie-cat-1000648 .entry,.tie-cat-1000648 .post-box-title a {
  color:white;
}

#wprmenu_bar {
width:40% !important;
}

.menu_buttons {
background-color:#608ecb;
width:60%;
height:42px;
text-align:right;
}

/* Feed søstersites */
.srr-style-none .srr-item {
  padding: 0 0 0px 0 !important;
  border-top: 1px solid #f2f2f2;
}

.srr-wrap .srr-item > * {
  margin-bottom: 5px !important;
}

.display-posts-listing .listing-item img {
  width:150px;
  height:150px;
  float: left;
  margin-right: 24px;
}

.entry .display-posts-listing li {
  list-style: none !important;
}

#paywall-button1 img, #paywall-button2 img, #paywall-button3 img, #paywall-button4 img { border:0px !important; }

.display-posts-listing .listing-item {
  clear:both;
  margin-bottom:20px;
}

.widget_super_rss_reader .widget-top {
  padding-bottom: 0px !important;
  border-bottom: 0px !important;
}

/* Change iPad mini and iPhone 7 PLUS to use more of the screensize */
@media only screen and (max-width: 767px) and (min-width:480px) {
  .wrapper {
    width: 100% !important;
  }
  .container {
    width: 98% !important;
  }
  header#theme-header, .breaking-news, #footer-widget-area, .content, .sidebar, .flexslider, .ei-slider, .ei-slider-large li, .group_items, .scroll-box-wide .group_items, .wide-box li {
    width:720px !important;
    max-width: 100% !important;
  }
  .header-content, .wrapper.layout-2c .header-content {
    margin: 0px !important;
  }
  #wprmenu_bar {
    display: block !important;
  }
  html {
    padding-top: 42px !important;
  }
  .cat-box.column2 {
    width: 100% !important; /* New mobile Size Fix */ 
  }
  
  #related_posts .related-item {
    width:48% !important; /* New mobile Size Fix */ 
  }
  .archives_2col .item-list, .archives_2col .item-list.item_1 {
    width: 100% !important; /* New mobile Size Fix */ 
  }
  .bottom-1-widget-custom {
    margin-left: 4% !important; /* New mobile Size Fix */ 
    margin-right: 4% !important; /* New mobile Size Fix */ 
  }
  /* Start: Force image height  */
	.column2 li.first-news .post-thumbnail img {
		height:350px !important;
	}
	.archives_2col .item-list .post-thumbnail img {
		height:350px !important;
	}
	.related-item .post-thumbnail img {
		height:170px !important;
	}
  .flexslider .slides img.wp-post-image {
	  height:350px !important;
	}
	#related_posts .related-item {
    height: 250px !important;
  }
}

/******************************************************/
/****************** Mobile (Big/Plus) *****************/
/******************************************************/

@media only screen and (max-width: 479px) and (min-width:390px) {
  
	/* Start: Force image height  */
	.column2 li.first-news .post-thumbnail img {
		height:210px !important;
	}
	.archives_2col .item-list .post-thumbnail img {
		height:210px !important;
	}
	.related-item .post-thumbnail img {
		height:210px !important;
	}
	.flexslider .slides img.wp-post-image {
	  height:210px !important;
	}
	
}