/* 
 Theme Name:     Pinkport Child Theme
 Author:         Pinkport Design
 Author URI:     https://www.pinkport.se
 Template:       Divi
 Version:        2019
 Colors:         
*/ 

@import url("../Divi/style.css");
/*@import url('//fonts.googleapis.com/css?family=Montez');*/

/*------------------------------------------------------------*\
GLOBAL SETUP
\*------------------------------------------------------------*/

html {-webkit-font-smoothing: antialiased;}
body.custom-background {background-position: center top !important;}

#main-header {
    line-height: 23px;
    font-weight: 500;
    top: 0;
    background-color: rgba(0,0,0,0);
    width: 100%;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
	box-shadow: none;
    position: relative;
    z-index: 99999;
}

#top-header {background-color: rgba(0,0,0,0.7);}

.et_header_style_centered #main-header .logo_container {height: 140px;}
.et_header_style_centered #logo {max-height: 70%;}

.et_pb_section {background: inherit;}
#et-top-navigation, .et_mobile_menu .menu-item-has-children > a {font-weight: normal !important;} /*DIVI meny är alltid bold*/
#et_loading { background: transparent; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; }

/* Jagged logos in Chrome */
#logo, .logo_container {-webkit-backface-visibility: hidden !important; -webkit-background-clip: content-box !important; -webkit-transform-style: preserve-3d !important; padding: 1px; outline: 1px solid transparent;}

h1 {font-weight: 800; color: #fff; font-size: 40px;}
h3 {font-weight: 300;}
/*h1.super-h1 {color: #fff !important; font-size: 40px;}*/
article h1 {color: #333 !important;}
article h2 {font-weight: 800; font-size: 30px;}
article h2:not(.entry-title) {padding: 20px 0 20px 0;}
article h3 {font-weight: 800; font-size: 20px; padding: 20px 0 20px 0;}
article h4, h4.widgettitle, .et_pb_widget h4 {font-weight: 800; text-transform: uppercase; font-size: 15px !important;}
article h4:not(.widgettitle) {padding: 10px 0 10px 0;}

article.et_pb_post, #left-area article {background: #fff; padding: 30px; margin-bottom: 30px !important;}
.et_pb_widget {background: #fff; padding: 20px; margin-bottom: 30px !important;}
.widget_custom_html {padding: 0 !important; background-color: transparent;}
body.single article.et_pb_post {padding: 50px;}
/*#left-area {width: 750px !important; padding-right: 30px !important;}*/
#footer-widgets {display: none;}
.post-meta a {color: #e09900 !important;}

#main-content {background: none;}
.et_pb_section_first {padding-top: 180px !important;}
#et-main-area #main-content .container {padding-top: 220px !important;}

/*.makedark .et_parallax_bg {background-blend-mode: multiply; background-color: rgba(0,0,0,0.5) !important;}*/
.makedark .et_pb_fullwidth_header_subhead {text-shadow: 0px 1px 2px rgba(0,0,0,0.2);}
.makedark .et_pb_module_header {text-shadow: 0px 1px 1px rgba(0,0,0,0.2);}
.makedark:after {position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ''; background: radial-gradient(circle at center,rgba(0,0,0,0.8) 20%,rgba(0,0,0,0.95) 100%);}
.dark-overlay:after {display: block; content: " "; top: 0; left: 0; width: 100%; height: 100%; position: absolute; background: rgba(0,0,0,0.8); }
.bg-light {background-color: #eee;}
.bg-dark {background-color: #111;}
.bg-alt:nth-child(odd) {background-color: #eee;}
.bg-alt:nth-child(even) {background-color: #fff;}

/*hr {background: url('../../uploads/x.svg') center no-repeat; height: 40px; border: 0; margin: 30px 0;}*/

del {
	text-decoration: none;
	font-family: etmodules;
	margin: 25px 0;
	display: block;
	color: #000;
}

.et_pb_widget_area_left {
    padding-right: 0px;
    border-right: 0px;
}

.wp-caption {
	position: relative;
    max-width: 100%;
    margin-bottom: 0px;
    padding: 0px;
    padding-top: 0px;
    border: 0px;
    background-color: #fff;
    text-align: center;
	margin: 20px auto 30px;
}

.featuredimage {margin-bottom: 30px; line-height: 0; position: relative;}
.featuredimage img {width: 100%;}
.caption {color: rgba(255,255,255,0.3); background: rgba(0,0,0,0.3); bottom: 0; right: 0; padding: 4px 10px; display: block; position: absolute; line-height: 2; font-size: 10px;}

.byline {color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 30px; padding-bottom: 0 !important;}
strong > em, em > strong {font-size: 22px; font-family: Raleway; line-height: 1.3em; color: #333; font-weight: 300; margin-bottom: 20px; display: block;}
.et_pb_bg_layout_dark strong > em, .et_pb_bg_layout_dark em > strong {color: #fff;}
.et_pb_bg_layout_dark hr {width: 50px; border: 0; border-top: 1px solid #e09900; margin: 26px auto !important;}


.et_post_meta_wrapper {display: none;}
div.entry-content, .et_pb_post .entry-content {padding-top: 10px !important;}

.single-tags {font-size: inherit; margin-top: 30px; padding: 4px 10px;}
.single-tag {}
.single-tag a {color: #ddd; font-weight: 500; font-size: 10px; background: #222; border-radius: 2px; margin: 0 3px 3px 0; padding: 2px 8px; white-space: nowrap; display: inline-block;}
.single-tag a:hover {color: #fff; background: #000;}
/*i {font-family: ETmodules!important; font-style: normal;}*/
.byline span {margin: 0 10px;}
.byline a {color: #ffc310 !important;}

.et_pb_post .post-meta {padding-bottom: 15px !important;}

p:not(.has-background):last-of-type {padding-bottom: 1em;}
#sidebar p:not(.has-background):last-of-type {padding-bottom: 0;}

.button {background: #e09900; padding: 10px 20px; color: #fff !important; font-weight: 500; display: inline-block;}
body a.button:hover {background: #e09900; color: #fff !important; display: inline-block;}

.pagination div a {padding: 10px 20px; background: #111;}

.annonsplats {
    font-weight: 500 !important;
    text-transform: uppercase;
    font-size: 15px;
    background-image: radial-gradient(circle at center,rgba(0,0,0,0.5) 0%,#000000 100%);
    padding-top: 50px!important;
    padding-right: 20px!important;
    padding-bottom: 50px!important;
    padding-left: 20px!important;
}

.annonsplats .et-pb-icon {font-size: 40px; color: #e09900;}

/* Fixa bilderna som inte borde synas. */
.single .entry-content > div.aligncenter, .single .entry-content > div.wp-caption {display: none;}



/*------------------------------------------------------------*\
AdSense
\*------------------------------------------------------------*/

.adsense-bottom {margin-bottom: 30px !important;}

/*#page-container > .google-auto-placed, body > .google-auto-placed {margin-top: 200px; margin-bottom: -200px;}
.google-auto-placed.ap_container {margin: 30px 0;}
.et_pb_section_first, #et-main-area #main-content .container {padding-top: 0px !important; margin-top: 0px !important;}
#main-content {margin-top: 230px !important;}
body .et_pb_row_0 {padding-top: 0px !important;}

@media all and (max-width: 978px) {
	#page-container > .google-auto-placed {margin-top: 100px; margin-bottom: -100px;}
	#main-content {margin-top: 130px !important;}
	body .et_pb_section_first {padding-top: 0px !important;}
}*/


/*------------------------------------------------------------*\
MENUES
\*------------------------------------------------------------*/

.logo_container {margin: 0 60px;}
#et-top-navigation {z-index: -1;}

.et_mobile_menu {border: 0px !important;}
.et_mobile_menu li a {padding: 5px 5%;}

.et_mobile_menu li.current-menu-item > a, .et_mobile_menu li.current_page_ancestor > a {color: #ffc310;}
#top-menu > a {color: #fff;}
#top-menu > .current-menu-item > a {color: #ffc310 !important;}
#top-menu > .current-menu-item > a::before {position: absolute; content: ""; width: 100%; height: 1px; background: #ffc310; left: 0; top: 1.5em;}
#top-menu > li > a::before {position: absolute; content: ""; width: 0%; height: 1px; background: rgba(255,255,255,0); left: 0; top: 1.5em; -webkit-transition: all .4s ease-in-out; -moz-transition: all .4s ease-in-out; transition: all .4s ease-in-out;}
#top-menu > li > a:hover {color: #ffc310; opacity: 1 !important;}
#top-menu > li > a:hover::before {width: 100%; background: #fff;}
#top-menu li li {padding: 0px !important; width: 100% !important;}
#top-menu li li a {padding: 6px 20px; width: auto !important;}
#top-menu li ul {box-shadow: none !important; padding: 0; border: 0;}

#top-menu li a, .et_search_form_container input {font-weight: 500 !important;}


/*------------------------------------------------------------*\
LISTOR
\*------------------------------------------------------------*/

#main-content .et_pb_text ol {counter-reset: my-badass-counter;}
#main-content .et_pb_text ol li {position: relative; list-style: outside none none;}
#main-content .et_pb_text ol li:after {
	content: counter(my-badass-counter); 
	counter-increment: my-badass-counter; 
	position: absolute;
	left: -22px;
	top: 5px;
	background: #cb2c30;
	padding: 3px;
	border-radius: 50%;
	width: 8px;
	height: 8px;
	line-height: 8px;
	color: #fff;
	text-align: center;
	font-size: 10px;
}   	
	
#main-content .et_pb_text ul, #main-content .et_pb_text ol {padding: 0 1em 1.5em 40px;}
#main-content .et_pb_text ul li {
    list-style: outside none none;
    margin: 0;
    position: relative;
}
#main-content .et_pb_text ul li::before {
    color: #cb2c30;
    content: "\35";
    font-family: "ETmodules";
    left: -22px;
    margin: 0;
    position: absolute;
    top: 0;
}

ul.list, ul.check, ul.cross, ul.file {padding: 0 1em 0em 26px;}
ul.list li, ul.check li, ul.cross li, ul.file li {
    list-style: outside none none;
    margin: 0;
    position: relative;
}
ul.list li::before {
    color: #cb2c30;
    content: "\3d";
    font-family: "ETmodules";
    left: -26px;
    margin: 0;
    position: absolute;
    top: 0;
}

#main-content .et_pb_text li.check::before, #main-content .et_pb_text ul.check li::before, ul.check li::before {
    color: #cb2c30;
    content: "\4E";
    font-family: "ETmodules";
    left: -26px;
    margin: 0;
    position: absolute;
    top: 0;
}

#main-content .et_pb_text li.cross::before, #main-content .et_pb_text ul.cross li::before, ul.cross li::before {
    color: #cb2c30;
    content: "\4D";
    font-family: "ETmodules";
    left: -26px;
    margin: 0;
    position: absolute;
    top: 0;
}

#main-content .et_pb_text li.file::before, #main-content .et_pb_text ul.file li::before, ul.file li::before {
    color: #ffc310;
    content: "\e092";
    font-family: "ETmodules";
    left: -26px;
    margin: 0;
    position: absolute;
    top: 0;
}



/*------------------------------------------------------------*\
FORMULÄR
\*------------------------------------------------------------*/

/* footer-sök */
#footer-widgets input {
    width: 100%;
    color: #222;
    background: rgba(255,255,255,0.8);
	border: 0;
	padding: 16px 20px;
	position: relative;
	border-radius: 4px;
}
/*#footer-widgets input::before {
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 17px;
    content: "hej \55";
	color: red;
	display: inline-block;
}*/

#footer-widgets {padding: 20px 0;}
body #footer-widgets .footer-widget, body #footer-widgets .footer-widget:nth-child(n) {padding: 0 !important; margin: 0 !important;}

/*------------------------------------------------------------*\
DIVIFIX
\*------------------------------------------------------------*/

.et_pb_blog_grid .et_pb_post {border: 0 !important; overflow: hidden;}
.et_pb_contact p select {font-family: inherit; font-size: 14px;}
.et_pb_fullscreen .et_pb_fullwidth_header_container {max-width: 1080px; width: 100%;}
.et_overlay {border: none !important;} /* Fix DIVI Gallery overlay */
/*.mfp-title {display: none;}*/ /* Gallery filename text under lightbox */
/*.error404 #sidebar {display: none;}*/
/* Fixa blurs lista med ikoner */
.et_pb_blurb_position_left {margin-bottom: 0.5em !important;}
.et_pb_blurb_position_left .et_pb_blurb_container {padding: 0;}
/* Fixa så att bilder ligger bättre i 1/4 kolumner */
.et_pb_gutters2 .et_pb_column_1_4 .et_pb_image {margin-bottom: 35px !important;}

/*------------------------------------------------------------*\
FOOTER
\*------------------------------------------------------------*/

.footer-widget ul {border-top: 1px solid #333; margin-top: 0.5em; width: 100%;}
.footer-widget li {border-bottom: 1px solid #333; margin: 0 !important; padding: 6px 0 !important;}
.footer-widget li:before {display: none;}
.footer-widget :not(.widget_icl_lang_sel_widget) li a:after  {
    font-family: "ETmodules";
    font-size: 20px;
    line-height: 1;
	content: "5";
	color: #666;
	position: absolute;
	right: 0;
}
.footer-widget li a:hover::after {
    font-family: "ETmodules";
    font-size: 20px;
    line-height: 1;
	content: "5";
	color: #ffc310;
	position: absolute;
	right: 0;
}
.footer-widget .widget_icl_lang_sel_widget li {border: 0;}
.footer-widget .widget_icl_lang_sel_widget li a:after  {display: none;}
.wpml-ls-legacy-list-horizontal {padding: 0; border: 0;}
#main-header .et_mobile_menu li.wpml-ls-current-language ul.sub-menu, .et_mobile_menu li.wpml-ls-current-language li {padding: 0;}

.et_pb_text ol {list-style-position: outside; padding-left: 2em;}
.et_pb_widget a:hover {color: #ffc310 !important;}
#footer-widgets .footer-widget li a {width: 100%; display: block;}
.et_pb_widget {width: 100%;}
.et_pb_footer_columns3 .footer-widget:nth-child(3) {margin-right: 0;}
.et_pb_footer_columns3 .footer-widget {width: 29.666%;}
.footer-widget {margin: 0 5.5% 5.5% 0;}


#footer-info a {font-weight: 800;}

/*------------------------------------------------------------*\
PINKPORTS FUNKTIONER
\*------------------------------------------------------------*/

/* Fixa divi slider med nedan class för att få höjden att anpassa sig till bredden  */
.responsive-slider .et_pb_slide, .responsive-slider .et_pb_slide .et_pb_empty_slide {height: 0 !important; padding: 33%;}
.responsive-slider .et_pb_slide:after {position: absolute; top: 0; left: 0; width: 100%; height: 100%; content: ''; background: radial-gradient(circle at center,rgba(0,0,0,0) 20%,rgba(0,0,0,0.8) 100%);}

/* Få fullhöjdbilder när raden är satt till expand height */
/*.bg-image-square {
	height: 100%;
	width: 100%;
	display: block;
	background-size: cover;
	min-height: 300px;
}*/

/* Pinkport Anything Slider v1.0 */
#pinkport-slider {
	text-align: center;
	overflow: hidden;
	margin: 0 auto;
	scroll-behavior: smooth;
}
.pinkport-slider-nav {margin: 0 auto; text-align: center;}
.pinkport-slider-nav div {
	width: 1.5rem;
	height: 1.5rem;
	background: #eee;
	border-radius: 50%;
	margin: 0 5px;
	text-align: center;
	display: inline-block;
	cursor: pointer;
}
.pinkport-slide {
	width: 100%;
	transform-origin: center center;
	transform: scale(1);
	transition: transform 0.5s;
	position: relative;
}

.annonsplats .et_pb_blurb_content {max-width: 100%;}
.fullwidth {width: 100%;}
img[alt='swish'] {width: 100%;}

/*------------------------------------------------------------*\
RESPONSIVITET
\*------------------------------------------------------------*/


@media all and (max-width: 1100px) {

	.et_pb_section_first {padding-top: 110px !important;}
	#main-content .container {padding-top: 128px !important;}
	body.custom-background {background-position: left top !important;}

}

@media (min-width: 981px) {
	#main-content .container:before {display: none;}
	.et_right_sidebar #sidebar {padding-left: 0px;}
}


@media all and (max-width: 978px) {
		/* Visar responsiva menyn */
	#top-menu-nav, #top-menu {display: none;}
	#et_top_search {display: none;}
	#et_mobile_nav_menu {display: block;}
	#et-main-area #main-content .container {padding-top: 140px !important;}
		
	/* Få responsiv meny på rätt plats */
	.et_header_style_centered #main-header div#et-top-navigation {position: absolute; top: 0px;}
	.et_header_style_centered #et_mobile_nav_menu {margin-top: 52px;}
	.et_header_style_centered #main-header .mobile_nav {background: none;}
	.mobile_nav .select_page {display: none !important;}
	#main-header {background-color: rgba(0,0,0,0.5) !important; line-height: 0;}
	#main-header .et_mobile_menu {background-color: rgba(0,0,0,0.9) !important; line-height: 1;}
	.et_pb_section_first {padding-top: 80px !important;}
	
	.et_header_style_centered #logo {max-height: 60px !important;}
	
	h1 {font-size: 20px;}
	.et_pb_blurb_content {margin: 0;}
	body.custom-background {background-image: radial-gradient(#dc042d, #390104) !important;}
	article.et_pb_post, #left-area article {padding: 20px;}
	.et_pb_widget {padding: 20px;}
	.et_pb_column .et_pb_widget {width: 100%;}
	body.single article.et_pb_post {padding: 50px;}
	/*.et_pb_section_first {padding-top: 60px !important;}*/
	#main-content .container {padding-top: 90px !important; width: 90% !important;}
	.et_pb_row {width: 90% !important;}
	
	.et_header_style_centered #et_mobile_nav_menu {margin-top: 10px;}
	
	#footer-widgets {display: block;}
	strong > em, em > strong {font-size: 16px;}
}