/*
Theme Name: Utö
Template: Divi
Author: Adam Bergman
Author URL: www.wordpressutvecklare.se
Version: 1.0
Updated: 2019-03-27 07:36:39

*/

#main-header {
	box-shadow: 0 0 0;
}

.et_header_style_centered #main-header div#et-top-navigation {
	border-bottom: 2px solid #20a7d5;
}

#top-menu a {
	transition: all 0.1s ease-in-out;
}

#top-menu li li {
	clear: both;
	display: block;
	padding: 0 !important;
}

#top-menu li li a {
	white-space: nowrap;
	width: auto;
	padding: 8px 25px;
}

.nav li ul {
	width: auto;
	min-width: 240px;
	padding: 0 !important;
}

#et-secondary-nav .menu-item.current-menu-parent a:before, #et-secondary-nav .menu-item.current-menu-parent ul .menu-item.current-menu-item a:before, #et-secondary-nav .menu-item.current_page_item a:before {
	display: none;
}

.menu-item.current-menu-parent a:before, .menu-item.current-menu-parent ul .menu-item.current-menu-item a:before, .menu-item.current_page_item a:before {
	content: "";
	background-image: url('/wp-content/uploads/2019/03/menu_active.png');
	width: 18px;
	height: 23px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 4px;
}

.menu-item.current-menu-parent ul li a:before {
	display: none;
}


#main-header .header-background {
	background: #20a7d5;
    height: 110px;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
}

#main-header .clouds {
	content: " ";
    display: block;
    position: absolute;
    top: 99px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('/wp-content/uploads/2019/03/clouds.png') repeat-x;
    -webkit-animation: animatedBackground linear 15s infinite;
    animation: animatedBackground linear 15s infinite;
}

#main-footer .clouds {
	content: " ";
    display: block;
    position: absolute;
    top: auto;
    margin-top: -32px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 100;
    background: url('/wp-content/uploads/2019/03/clouds.png') repeat-x;
    -webkit-animation: animatedBackground linear 15s infinite;
    animation: animatedBackground linear 15s infinite;
}

#top-menu li {
	padding-right: 15px;
}

#main-content .container:before {
	background: none;
}

#top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
	top: auto;
}

#main-footer {
	background: url('/wp-content/uploads/2019/03/bg.png');
}

#footer-widgets {
	padding: 0;
}

.weather-slider {
    position: absolute;
    z-index: 999;
    right: -10px;
    width: 180px;
    height: 100%;
    font-family: inherit !important;
}

.weather-slider div:first-child span a {
	font-family: inherit !important;
}

.weather-slider div:first-child {
    background-color: rgba(32,167,213,0.6);
    margin: 0 auto;
    height: 385px !important;
}
	
.weather-slider-mobil {
    display: none;
}

.home .et_pb_module.et_pb_code.et_pb_code_0 {
	margin-bottom: 0;
}

.weather-widget #wrapper-Mhqb {
	margin: 10px auto;
}

.sidfot .et_pb_module.et_pb_image {
	border: 1px solid #e2e2e2;
	padding: 10px;
}

.linjer-runt-varje-kolumn  .et_pb_blurb_content { 
	position: relative;
	display: flex;
	border: 1px solid #e2e2e2;
	min-height: 165px;
	padding: 10px;
}

.linjer-runt-varje-kolumn .et_pb_blurb_content .et_pb_blurb_container {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.linjer-runt-varje-kolumn .et_pb_blurb_position_left .et_pb_main_blurb_image {
	display: flex;
	width: 85px;
	max-width: 85px;
	min-width: 85px;
	margin-bottom: 0;
}

.sidfot h3 {
	background: url(/wp-content/uploads/2019/03/partners-top.png) no-repeat top center;
	padding: 60px 0 20px 0;
}

.sidfot .n10s-block .n10s-overlay:hover {
	background: #20a7d5bf;
	transition: opacity 0.4s;
}

.n10s-paris:hover img {
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}

.home .et_pb_column.et_pb_column_1_5.et_pb_column_8 {
	margin-right: 2.5%;
}
/*
.sidfot .n10s-paris:hover {
	transform: rotateY(180deg);
	transition: 1s;
}

.sidfot .n10s-paris p {
	transform: rotateY(180deg);
}
*/

.custom-header-field {
	position: absolute;
	top: 10%;
	left: 0;
}

.custom-header-field .header-tagline {
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
	letter-spacing: -1px;
}

.entry-content tr td, body.et-pb-preview #main-content .container tr td {
	padding: 5px;
	border: 0;
}

.entry-content table, body.et-pb-preview #main-content .container table {
	border: 0;
}

.entry-content tr:nth-child(even) {
	background: #b1e3f4;
}

.et_pb_module.et_clickable .et_pb_module_header:hover {
	color: #2a6496 !important;
}

.mindre-rubrikstorlek .et_pb_text_inner h2 {
	font-size: 24px;
}

.mindre-rubrikstorlek .et_pb_text_inner h3 {
	font-size: 20px;
}

.mindre-rubrikstorlek .et_pb_text_inner h4 {
	font-size: 18px;
}


@media screen and (max-width: 981px) {
	.custom-header-field {
		display: none;
	}
	
	#main-header .clouds {
		display: none;
	}
	
	#main-header .header-background {
		display: none;
	}
	
	#main-header:after {
		position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    background: url(/wp-content/uploads/2019/04/mobile-top.png) repeat-x;
    content: ' ';
    height: 30px;
    z-index: 1000;
	}
	
	.et_header_style_centered .mobile_nav .select_page {
		display: none;
	}
	
	.et_header_style_centered #main-header .mobile_nav.closed {
		padding: 0;
		background-color: transparent;
		border-radius: 0;
	}
	
	#et_mobile_nav_menu {
		position: absolute !important;
		top: -35px;
		right: 0;
		width: 100%;
		margin-top: 0 !important;
	}
	
	.et_header_style_centered #main-header {
		padding: 10px 0;
	}
	
	#logo {
    content: url(/wp-content/uploads/2019/03/logo-mobile.png);
  }
	
	.et_header_style_centered #main-header .container {
		text-align: left;
	}
	
	.et_pb_slider .et_pb_slide {
		height: 70vh;
	}
}

@media screen and (max-width: 768px) {
	.et_pb_slider .et_pb_slide {
		height: 50vh;
	}
	
	.responsiv-fullbred-kolumn {
		width: 100%;
		min-width: 100%;
		padding: 0;
	}
}

@media screen and (min-width: 981px) {
	.et_pb_section .et_pb_module.et_pb_post_title {
		margin-bottom: 1%;
	}
	
	.et_pb_blurb_position_left .et_pb_blurb_container {
		padding-right: 15px;
	}
}

@media screen and (min-width: 981px) and (max-width: 1210px) {
	.linjer-runt-varje-kolumn .et_pb_blurb_position_left .et_pb_main_blurb_image {
		width: 50px !important;
		min-width: 50px !important;
	}
}


@media screen and (min-width: 769px) {
    .weather-slider > div:first-child {
            margin: 0px auto;
    }
    
    .weather-slider iframe > hr:last-child {
            display: none !important;
    }
    
    #widget_yr {
        display: none;
    }
}

 

@media screen and (min-width: 981px) {
	#left-area {
	    width: 100%;
	    padding: 23px 0px 0px !important;
	    float: none !important;
	}
	
	.et_header_style_centered #top-menu>li>a {
		padding-bottom: 15px !important;
		padding-top: 15px !important;
	}
	
	.et_pb_gutters3 .footer-widget {
		margin-bottom: auto;
	}
	
	.index-slider .et_pb_slide {
		height: 600px;
	}
}

@media screen and (max-width: 768px) {
	.weather-slider { 
		display: none;
	}
	
	.weather-slider-mobil {
		display: block;
        position: absolute;
        z-index: 999;
        float: right;
        right: 0px;
        background-color: rgba(32,167,213,0.6);
        border-radius: 0px 0px 0px 35px;
	}
	
	 .weather-slider-mobil > div:first-child {
	    float: right;
        width: 80px !important;
        height: auto;
        display: inline-table;
        padding-top: 20px !important;
    }
    
     .weather-slider-mobil > div:first-child a {
	     display: none;
     }
}

@keyframes animatedBackground {
	from { background-position: 100% 0; }
	to { background-position: 0 0; }
}