/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/

@import url("../Divi/style.css");


#mainwrapper {
  font: 10pt normal Arial, sans-serif;
  height: auto;
  margin: 80px auto 0 auto;
  text-align: center;
  width: 100%;
}#mainwrapper .box {
    cursor: pointer;
    height: 182px;
    float: left;
    position: relative;
    overflow: hidden;
    width: 200px;
}#mainwrapper .box .caption {
    background-color: rgba(0,0,0,0.8);
    position: absolute;
    color: #fff;
    z-index: 100;
    -webkit-transition: all 300ms ease-out;
    -moz-transition: all 300ms ease-out;
    -o-transition: all 300ms ease-out;
    -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
    left: 0;
    top: 0;
}#mainwrapper .box .fade-caption, #mainwrapper .box .scale-caption {
    opacity: 0;
    width: inherit;
    height: inherit;
    text-align: left;
    padding: 15px;
}#mainwrapper .box:hover .fade-caption {
    opacity: 1;
}

/**** Bildbackgrund och border ****/
.wp-caption {border: none;background: #ffffff;}

/**** länkfärg på förstsidan ****/
.home a, #main-footer a {color: #000000;}


/**** Kod för TinyMCE redigeraren ****/
    .egen-font-kategori {text-transform: uppercase;font-family:"Arial", sans-serif;color:#898b8e;    font-size: 11px;}
    .egen-font-kategori a {color:#898b8e;}
    .egen-font-samarbete p {text-transform: uppercase;background-color:#de384f;font-family:"Arial", sans-serif;color:#ffffff;    font-size: 11px;display: inline;padding: 4px 7px;}
    .egen-font-flaggor:before {margin-right:30px;}
    .egen-font-flaggor:after {margin-left:30px;}
    .egen-font-flaggor:before, .egen-font-flaggor:after {content: "";display: inline-block;background: url("https://sotasaker.com/wp-content/uploads/2016/08/Flagga.png") repeat-x top right;width: 281px;height: 12px;    background-size: 26px;}
    .egen-font-MilasianCircaBold {font-family: Milasian-Circa-Bold, Lato, sans-serif;}
    .egen-font-MilasianCircaMedium {font-family: Milasian-Circa-Medium, Lato, sans-serif;}
    .egen-font-MilasianCircaThin {font-family: Milasian-Circa-Thin, Lato, sans-serif;}
    h1.egen-font-MilasianCircaBold, h1.egen-font-MilasianCircaMedium, h1.egen-font-MilasianCircaThin {font-size:55px; padding-bottom: 25px;}
    h2.egen-font-MilasianCircaBold, h2.egen-font-MilasianCircaMedium, h2.egen-font-MilasianCircaThin {font-size:40px; padding-bottom: 25px;}



/**** text on hover ****/
.et_pb_text.hover_text:hover {opacity: 1;}
.et_pb_text.hover_text {
    background: rgba(0,0,0,0.5);
    cursor: pointer;
    height: inherit;
    width: inherit !important;
    opacity: 0;
    padding: 10px;
}
.et_pb_text.hover_text h2 {position: absolute;transform: translateY(-50%);top: 50%;}

/**** menyn åker till vänster ****/
.et_header_style_centered #logo, .et_header_style_centered #et-top-navigation, .et_header_style_centered nav#top-menu-nav, .et_header_style_centered #top-menu {float: left;}
li.menu-item {text-transform: uppercase;padding-top: 15px;}
ul#top-menu {width: 100%;}
li.extra-search-box-top {margin-top: 0 !important;padding-top: 9px; margin-left: 10px;}
.webb-search .sf_search {width: 255px;height: 25px;border: 1px solid #000000 !important;}
.mobile-search .sf_search  {width: 100%;height: 25px;border: 1px solid #000000 !important;}
.mobile-search .sf_search .sf_block .sf_input {width: 95% !important;}

.logo_container {float: left;}
.header_image_container {float: right; width: 285px;}
.header_image_container img {height: 180px;float: left;}
#top-menu-nav {width: 100%;}
.et-social-icon a {font-size: 16px;}
.et-social-icons li {margin-left: 10px;}

.et-fixed-header .logo_container, .et-fixed-header .header_image_container {display: none;}


#top-menu a.sociala-ikoner {float: right; margin-right:5px; margin-top: 9px;}


/**** widget ****/
.widget_modul .text {position: relative;top: -172px;text-align: center;width: 200px;padding: 10px;}
.widget_modul .bild {width: 200px;height: 250px;overflow: hidden;}
.widget_modul {height: 250px;width: 200px;margin-bottom: 20px;}


/*---------- [Load The Fonts] ----------*/
@font-face {
    font-family: Milasian-Circa-Bold;
    src: url('fonts/MilasianCircaBold.otf');
}
@font-face {
    font-family: Milasian-Circa-Medium;
    src: url('fonts/MilasianCircaMedium.otf');
}
@font-face {
    font-family: Milasian-Circa-Thin;
    src: url('fonts/MilasianCircaThin.otf');
}

/**** hover ****/
.et_pb_column_inner:hover .et_pb_module > p a, .et_pb_column_inner:hover .et_pb_module h1 a, .et_pb_column_inner:hover .et_pb_module h2 a,
.et_pb_column.et_pb_column_single:hover .et_pb_module > p a, .et_pb_column.et_pb_column_single:hover .et_pb_module h1 a, .et_pb_column.et_pb_column_single:hover .et_pb_module h2 a,
.et_pb_row_1col .et_pb_column:hover .et_pb_text > p a, .et_pb_row_1col .et_pb_column:hover .et_pb_text h1 a, .et_pb_row_1col .et_pb_column:hover .et_pb_text h2 a,
.et_pb_row_2col .et_pb_column:hover .et_pb_text > p a, .et_pb_row_2col .et_pb_column:hover .et_pb_text h1 a, .et_pb_row_2col .et_pb_column:hover .et_pb_text h2 a,
.et_pb_row_3col .et_pb_column:hover .et_pb_text > p a, .et_pb_row_3col .et_pb_column:hover .et_pb_text h1 a, .et_pb_row_3col .et_pb_column:hover .et_pb_text h2 a,
.et_pb_row_4col .et_pb_column:hover .et_pb_text > p a, .et_pb_row_4col .et_pb_column:hover .et_pb_text h1 a, .et_pb_row_4col .et_pb_column:hover .et_pb_text h2 a,
.egen-font-kategori:hover a,
.et_pb_blurb_content:hover a,
.chpcs_foo_content:hover a,
#main-footer .footer-sidebar a:hover {color: #de384f !important;}

.egen-font-kategori:hover a{font-weight:bold;}

/**** avstånd mellan blurb bild och text ****/
.et_pb_main_blurb_image {margin-bottom: 10px;}


/**** search ****/
#sf_sb {z-index: 99999 !important;}
label.screen-reader-text {display: none;}
.sf_search span.sf_block {height: 22px;}
.sf_search .sf_input {font-family: 'Arial', Helvetica, Arial, Lucida, sans-serif;font-style: normal;padding-top: 1px !important;}
#sf_val ul li.sf_selected {background-color: #de384f !important;border-color: #de384f !important;}
#sf_val ul li.sf_item {min-height: 56px;}


/**** sidebar ****/
.container:before { background-color:transparent !important; }
.et_pb_widget_area_right { border-left:0 !important; }
.et_pb_widget_area_left { border-right:0 !important; }


/**** Footern ****/
#main-footer .et_social_inline.et_social_mobile_on.et_social_inline_bottom, #main-footer .yarpp-related, #main-footer #facebook, #main-footer .fb-plugin, #main-footerfb-comments, #main-footer .fb_iframe_widget_lift {display: none !important;}

#main-footer .fb-comments.fb_iframe_widget.fb_iframe_widget_fluid span {height: 0 !important;}


#footer-sidebar {width: 100%;clear: both;}
.footer-sidebar{width:18.88%;margin-right: 1.4%;float:left;}
.footer-sidebar:last-child{margin-right: 0%;}

#footer-bottom h3, #footer-bottom p {color: #ffffff;text-align: center;}
#footer-bottom h3{text-transform: uppercase;font-family: 'Arial', Helvetica, Arial, Lucida, sans-serif;font-weight: bold;}

#footer-sidebar1, #footer-sidebar2, #footer-sidebar3, #footer-sidebar4 {margin-top: 30px;}
#main-footer .footer-sidebar a {color: #fff;}
/**** inläggssida ***/
.artikel_bild {float: left;width: 18%;margin-right: 2%;}
.artikel_text {float: right;width: 80%;}
.artikel_block{clear:both; padding-top: 10px;}
.artikel_block h2 {margin-top: 0;}
.artikel_block .post-meta {margin-bottom: 0;padding-bottom: 5px !important;}


/**** Du kanske också gillar.... bild ****/
.yarpp-thumbnail > img, .yarpp-thumbnail-default {object-fit: cover; margin: 0 0 5px!important;width: 100%!important;}
.yarpp-thumbnails-horizontal .yarpp-thumbnail:last-child {margin-right: 0!important;}
.yarpp-thumbnails-horizontal .yarpp-thumbnail {width: 18.7%!important;margin-right: 1% !important;}


/**** slider ****/
.chpcs_img img {border-radius: 50%;width: 150px;}
a#wa_chpc_slider_prev, a#wa_chpc_slider_next {top: 115px;}
.yarpp-related h3 {text-transform: none !important;}
.yarpp-thumbnails-horizontal .yarpp-thumbnail {border: none !important;}
span.yarpp-thumbnail-title {font-family:'Georgia', Georgia, "Times New Roman", serif !important;font-weight:normal !important;text-align:center !important;}


#comment-wrap {padding-top: 10px;}
/*** Dölj WP-svars och WP-kommentars funktionerna ****/
.reply-container, #respond {display: none;}


@media only screen and ( max-width: 1130px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {width: 228px;}

    .footer-sidebar {width: 31.88%;}
    #footer-sidebar1, #footer-sidebar5 {width: 100%;margin-top: 20px;}
}

@media only screen and ( max-width: 1030px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {width: 176px;}
    a.sociala-ikoner {margin-right: 4px !important;}
    a.sociala-ikoner img {margin-right: 0px !important;width: 20px;}
}

@media only screen and ( min-width: 981px ) {
    /**** posters på första sidan ****/
    .posters .et_pb_column {height: 250px;overflow: hidden;}
    .posters .et_pb_column_1_2 .et_pb_text {width: 49.3%;}
    .posters .et_pb_column_1_4 .et_pb_text {width: 23.95%;}
    .posters .et_pb_text {position: absolute;transform: translateY(-50%);top: 50%;}
li.menu-item {float: left;}
li.extra-search-box-top {float: right;}

.et_header_style_centered #main-header .logo_container {height: 165px !important;margin-top: 10px;margin-left: 70px;}
}
   
@media only screen and ( max-width: 980px ) {
    .et_header_style_centered #et_top_search, .et_vertical_nav.et_header_style_centered #main-header #et_top_search { display:block !important; }
    .posters .et_pb_text {padding: 60px 10px !important;}
    .et_pb_section {padding: 0;}
    #header_image {display:none}
    .logo_container {float: none;}
    .logo_container img {display: block;margin-left: auto;margin-right: auto;float: none !important;}
    a.sociala-ikoner{display:none;}
    .extra-search-box-top.webb-search {display:none;}
    .extra-search-box-top.mobile-search {display: block !important;}
    #sf_sb {width: 79.5% !important;}
}
@media only screen and ( max-width: 930px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {width: 125px;}
}
@media only screen and ( max-width: 780px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {width: 100px;}
    .footer-sidebar {width:100%;}
    .yarpp-thumbnails-horizontal .yarpp-thumbnail {width: 31.7%!important;}
}
@media only screen and ( max-width: 700px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {width: 73px;}
}
@media only screen and ( max-width: 610px ) {
    .egen-font-flaggor:before, .egen-font-flaggor:after {display:none;}
}
@media only screen and ( max-width: 550px ) {
    .yarpp-thumbnails-horizontal .yarpp-thumbnail {width: 47.7%!important}
}
@media only screen and ( max-width: 360px ) {
    .yarpp-thumbnails-horizontal .yarpp-thumbnail {width: 100%!important}
}

/**** Theme layout ****/
@media only screen and ( min-width: 981px ) {

.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column, .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column, .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column, .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column, .et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column {margin-right: 1.4%;}
.et_pb_gutters2 .et_pb_column_1_2, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 {width: 49.3%;}
.et_pb_gutters2 .et_pb_column_1_3, .et_pb_gutters2.et_pb_row .et_pb_column_1_3 {width: 32.4%;}
.et_pb_gutters2 .et_pb_column_2_3, .et_pb_gutters2.et_pb_row .et_pb_column_2_3 {width: 66.2%;}
.et_pb_gutters2 .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_1_4 {width: 23.95%;}
.et_pb_gutters2 .et_pb_column_3_4, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 {width: 74.65%;}

.et_pb_gutters2 .et_pb_column_1_2 .et_pb_row_inner .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_row_inner .et_pb_column_1_4, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_column_1_4, .et_pb_gutters2 .et_pb_column_1_2 .et_pb_grid_item, .et_pb_gutters2 .et_pb_column_1_2 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_pb_gutters2 .et_pb_column_1_2 .et_pb_widget, .et_pb_gutters2 .et_pb_column_1_2 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_grid_item, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_widget, .et_pb_gutters2.et_pb_row .et_pb_column_1_2 .et_pb_shop_grid .woocommerce ul.products li.product, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_grid_item, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_widget, .et_section_specialty .et_pb_row .et_pb_column_1_2 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product {width: 48.58%;margin-right: 2.84%;}

.et_pb_gutters2 .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_1_4, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_1_4, .et_pb_gutters2 .et_pb_column_3_4 .et_pb_grid_item, .et_pb_gutters2 .et_pb_column_3_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_pb_gutters2 .et_pb_column_3_4 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n), .et_pb_gutters2 .et_pb_column_3_4 .et_pb_widget, .et_pb_gutters2 .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters2 .et_pb_column_3_4 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n), .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_grid_item, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n), .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_widget, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_pb_gutters2.et_pb_row .et_pb_column_3_4 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n), .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_grid_item, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4n), .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_widget, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_4_4 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n) {width: 32.084%;margin-right: 1.874%;}

.et_pb_gutters2 .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_3_8, .et_pb_gutters2.et_pb_row > .et_pb_column_3_4 .et_pb_row_inner .et_pb_column_3_8, .et_section_specialty .et_pb_row .et_pb_column_3_4 .et_pb_gutters2.et_pb_row_inner .et_pb_column_3_8 {width: 49.065%;margin-right: 1.874%;}


.fem-kolumner:last-child {margin-right: 0;}
.fem-kolumner {float: left;width: 18.88%;margin-right: 1.4%;}
}
@media only screen and ( max-width: 980px ) {
.et_pb_row_4col > .et_pb_column.et_pb_column_1_4, .et_pb_row_1-4_1-4_1-2 > .et_pb_column.et_pb_column_1_4, .et_pb_row_1-2_1-4_1-4 > .et_pb_column.et_pb_column_1_4, .et_pb_row_1-4_1-4 > .et_pb_column.et_pb_column_1_4 {width: 48.75% !important; margin-right: 2.5%;}
.et_pb_column {margin-bottom: 10px;}

}