/* Media queries */

@media all and (max-width: 1150px) {
    .box_33_product {
        width: 41.55%;
    }
  
}

@media all and (min-width: 1050px) {
    #search_modal_mobile.open {
        display: none;
    }
    #search_box_mobile {
        display: none;
    }
    #close_box_mobile {
        display: none;
    }
    
}


/* Visar mobilmeny-knappen och döljer desktop-menyn */

@media all and (max-width: 1050px) {
    #mobile_menu_button {
        display: block;
    }
    .menu-container {
        display: none;
    }
    #menu-huvudmeny {
        display: block;
    }
    .mobile_icons_wrapper {
        display: flex;
    }
    #search_box_mobile {
        margin-right: 20px;
    }
    #close_box_mobile {
        margin-right: 20px;
    }
    .mainmenu {
        display: block;
        margin-bottom: 20px;
    }
    .mainmenu li a {
        padding: 0;
    }
    .box_25 {
        width: 50%;
        padding-bottom: 20px;
    }
    .mobile_nav_background {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #mobile_main_content {
        flex-grow: 4;
    }
    #mobile_extra {
        padding-top: 30px;
        padding-left: 30px;
        flex-grow: 1;
    }
    #desktop_extra {
        display: none;
    }
    header .mainmenu>li {
        padding-bottom: 5px;
        position: relative;
    }
    header .mainmenu>li a:hover {
        color: #ffb61c;
    }
    header .mainmenu>li.menu-item-has-children>a {
        position: relative;
    }
    header .mainmenu>li a {
        font-weight: bold;
    }
    header .sub-menu>li a {
        font-weight: normal;
    }
    .menu_right_container a {
        padding: 10px;
        font-size: 14px;
        font-weight: 500;
        color: black;
    }
    .menu_right_container a:hover {
        cursor: pointer;
        text-decoration: none;
    }
    /* Kontakt-knappen */
    .menu_right_container a.btn-white:link {
        padding: 10px 30px;
        margin-left: 30px;
    }
    #mobile_extra a.btn-white:link {
        margin: 0;
    }
    footer .footer_menu>li {
        width: 50%;
        display: none;
    }
    footer .footer_menu>li.footer_menu_logo {
        display: inline-block;
    }
    footer .footer_menu>li.footer_menu_extra {
        display: inline-block;
    }
    #footer_search_link {
        display: none;
    }
    footer .footer_menu>li.footer_menu_extra>.social_media_links {
        margin-top: -20px;
    }
    .new_notice {
        padding: 15px 7%;
    }
    .header-content {
        padding: 0 7%;
    }

    .box_100_imgright_text {
        flex-direction: column;
      }
      .box_100_imgright_text .block-image {
        width: 100%;
        padding-right: unset;
      }
      .box_100_imgright_text .block-content {
        width: 100%;
        padding: 2rem 7% 2rem 7%;
      }
      .box_100_imgright_text .block-text {
        max-width: unset;
      }
}

@media all and (max-width: 960px) {
    .box_100_noimg_text .block-headline{
    font-size: 22px;
    line-height: 35px;
  }
  
    .biglabel .block-headline {
       font-size: 22px;
      }
    h1 {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    h2 {
        font-size: 22px;
        line-height: 35px;
    }
    .box_33_news h3 {
        font-size: 19px;
    }
    .title_100 span:before {
        margin-right: 30px;
    }
    .title_100 span:after {
        margin-left: 30px;
    }
    .title_75 span::before {
        margin-right: 30px;
    }
    .title_75 span::after {
        margin-left: 30px;
    }
    .box_100_imgleft_text h2 span:before {
        margin-right: 30px;
    }
    .box_100_imgleft_text h2 span:after {
        margin-left: 30px;
    }
    .box_50_img_left {
        flex-direction: column;
        margin: 15px 0;
    }
    .img_left_50 {
        width: 100%;
        min-height: 50vh;
        background-position: center;
        background-size: cover;
    }
    .content_right_50 {
        width: 100%;
    }
    .box_50_img_right {
        flex-direction: column;
        margin: 15px 0;
    }
    .box_50_img_right_tiny {
        flex-direction: column;
        margin: 15px 0;
    }
    .img_right_50 {
        width: 100%;
        min-height: 50vh;
        background-position: center;
        background-size: cover;
    }
    .box_50_img_right_tiny {
        width: 100%;
    }
    .img_right_50_tiny {
        width: 50%;
        margin: 0 auto;
        min-height: 75px;
    }
    .search_result_block {
        border-radius: 0px 40px 20px 0px;
        padding: 15px;
        margin: 15px 0;
    }
    .box_50_video_left {
        flex-direction: column;
        margin: 15px 0;
    }
    .video_left_50 {
        width: 100%;
        min-height: 50vh;
        background-position: center;
        background-size: cover;
    }
    .box_50_video_right {
        flex-direction: column;
        margin: 15px 0;
    }
    .video_right_50 {
        width: 100%;
        min-height: 50vh;
        background-position: center;
        background-size: cover;
    }
    .content_left_50 {
        width: 100%;
        order: 2;
    }
    .content_left_50_tiny {
        width: 100%;
        padding: 15px;
        padding-bottom: 0;
        justify-content: center;
    }
    .box_50_bigimg_right {
        flex-direction: column;
        margin: 0;
    }
    .bigimg_right_50 {
        width: 100%;
        min-height: 50vh;
        order: 1;
        margin-bottom: -15px;
        border-radius: 10px 10px;
        z-index: 2;
        background-position: center;
        background-size: cover;
    }
    .bigimg_content_left_50 {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
        order: 2;
        border-radius: 0 0 10px 10px;
        padding-top: 7%;
        padding-top: calc(6% + 15px);
        font-size: 16px;
        line-height: 150%;
    }
    .box_50_bigimg_left {
        flex-direction: column;
    }
    .bigimg_left_50 {
        width: 100%;
        min-height: 50vh;
        order: 1;
        margin-bottom: -15px;
        border-radius: 10px 10px;
        z-index: 2;
        background-position: center;
        background-size: cover;
    }
    .bigimg_content_right_50 {
        width: 100%;
        margin-bottom: 0;
        margin-top: 0;
        order: 2;
        border-radius: 0 0 10px 10px;
        padding-top: 7%;
        padding-top: calc(6% + 15px);
        font-size: 16px;
        line-height: 150%;
    }
    .box_33_address,
    .box_33_news {
        width: 41.55%;
        font-size: 14px;
    }
    .box_33_address h3 {
        font-size: 21px;
    }
    .contact-form form, .contact-form .content {
        width: 70%;
    }
    .contact-form .contact_form_7 {
        width: 70%;
    }
    .box_100_img_text_form {
        flex-direction: column;
        text-align: center;
    }
    .box_100_img_text_form .form_img_left_50 {
        width: 100%;
        min-height: 50vh;
        background-size: cover;
        margin-bottom: 50px;
        border-radius: 0 40px 0 0;
    }
    .box_100_img_text_form .content_center_25 {
        width: 100%;
        margin: 0;
        padding: 0 20%;
    }
    .box_100_img_text_form .content_center_25 h2 {
        text-align: center;
    }
    .box_100_img_text_form .contact_right_25 {
        width: 100%;
        margin: 0;
        padding: 15px 15%;
    }
    .box_100_imgleft_text .block-text {
        width: 100%;
    }
    .box_100_imgleft_text .block-image {
        width: 100%;
    }
    .biglabel {
        width: 100%;
        padding: 50px 25px;
        margin: 15px 0;
        /* border-radius: 0px 40px 20px 0px; */
    }
    .biglabel .block-text {
        padding: 0 15%;
    }
    .biglabel-link {
        width: 100%;
        padding: 50px 25px;
        margin: 15px 0;
        border-radius: 0px 40px 20px 0px;
    }
    .biglabel-link .block-text {
        padding: 0 15%;
    }
    .box_75_noimg_text_h1_content {
        padding: 0 7%;
    }
    .box_75_noimg_text,
    .box_75_noimg_text_h1 {
        width: 100%;
        margin: 0 auto 20px;
        padding: 15px 7%;
    }
    .box_100_imgleft_text .block-text {
        width: 100%;
        padding: 15px 0;
    }
    .new_notice .notice_content strong {
        font-size: 18px;
    }

	footer .newsletter-output{
		width: 100%;
		margin: auto;
		padding-top: 20px;
	}
}

@media all and (max-width: 755px) {
    .box_100_noimg_text .block-headline::after{
        margin-left: 20px;
      }
      .box_100_noimg_text .block-headline::before{
        margin-right: 20px;
      }
    .box_33_news h3 {
        font-size: 18px;
    }
    .title_100 span:before {
        margin-right: 20px;
    }
    .title_100 span:after {
        margin-left: 20px;
    }
    .title_75 span::before {
        right: 100%;
        margin-right: 25px;
    }
    .title_75 span::after {
        right: 100%;
        margin-left: 25px;
    }
    .box_100_imgleft_text h2 span:before {
        margin-right: 25px;
    }
    .box_100_imgleft_text h2 span:after {
        margin-left: 25px;
    }
    .box_33_address,
    .box_33_news {
        width: 69.25%;
    }
    /* JIMMYS BLOCK */
    .box_33_product {
        width: 69.25%;
    }
    .box_75_noimg_text,
    .box_75_noimg_text_h1 {
        width: 100%;
        margin: 0 0 20px;
        text-align: center;
    }
    .box_33_product {
        width: 86%;
    }
    .new_notice strong {
        max-width: 100%;
    }
    .new_notice .notice_action {
        display: inline;
        /*width: 100%; */
    }
    ul.slider li.dataslide::before {
        background-image: url("../images/swosh_mobile.png");
        background-size: cover;
    }
}

@media all and (max-width: 550px) {
    .green_sectionw {
        margin-bottom: 2rem;
      }
      .section_gray {
        margin-bottom: 2rem;
      }
    .section_gray > div {
        padding: 0% 0%;
      }
    .footer-logo-inner-wrapper {
        flex-direction: column;
      }
      .footer-logo {
        justify-content: flex-start;
      }
      footer .copy {
        flex-direction: column;
      }
      .footer-logo-inner-wrapper .logo {
        margin: 0;
      }
    .box_25 {
        width: 100%;
        padding-bottom: 20px;
    }
    .biglabel .block-headline::before {
        margin-right: 20px;
      }
    .biglabel .block-headline::after {
        margin-left: 20px;
      }
    body {
        line-height: 25px;
        font-size: 14px;
    }
    .title_100 span:before {
        margin-right: 15px;
    }
    .title_100 span:after {
        margin-left: 15px;
    }
    .box_100_imgleft_text h2 span:before {
        margin-right: 15px;
    }
    .box_100_imgleft_text h2 span:after {
        margin-left: 15px;
    }
    .box_33_address,
    .box_33_news {
        width: 86%;
        margin: 3% 7%;
    }
    .box_33_news h3 {
        font-size: 16px;
    }
    .contact-form form, .contact-form .content {
        width: 85%;
    }
    .contact-form .contact_form_7 {
        width: 85%;
    }
    .biglabel {
        border-radius: 0px 20px 10px 0px;
    }
    .biglabel-link {
        border-radius: 0px 20px 10px 0px;
    }
    .box_100_img_text_form .form_img_left_50 {
        min-height: 40vh;
    }
    section #info,
    section .info {
        padding: 15px;
    }
    .gray_section_absolute>div {
        margin-top: 30px;
    }
    .gray_section_absolute>div h2 {
        color: black;
    }
    .box_100_img_text_form {
        flex-direction: column;
    }
    .box_100_img_text_form .form_img_left_50 {
        width: 100%;
    }
    .box_100_img_text_form .content_center_25 {
        padding: 15px 7.5%;
    }
    .box_100_img_text_form .contact_right_25 {
        padding: 15px 7.5%;
    }
    .biglabel .block-text {
        padding: 0 15px;
    }
    .biglabel-link .block-text {
        padding: 0 15px;
    }
    .partner_list {
        flex-direction: column;
    }
    .partner_list_img {
        width: 100%;
        min-height: 25px;
    }
    .partner_list_content {
        width: 100%;
        padding: 6% 0;
    }
    .partner_list_content h2 {
        text-align: center;
    }
    .partner_list_content h2 span::before {
        content: "";
        position: absolute;
        height: 5px;
        border-top: 3px solid #00afd2;
        top: 50%;
        overflow: hidden;
        width: 4000px;
        right: 100%;
        margin-right: 20px;
    }
    .partner_list_content h2 span::after {
        margin-left: 20px;
    }
    .title_75 span::before {
        right: 100%;
        margin-right: 15px;
    }
    .title_75 span::after {
        right: 100%;
        margin-left: 15px;
    }
    .content_right_50 {
        padding: 6% 15px;
    }
    .bigimg_content_left_50 {
        padding: 6% 15px;
    }
    .box_75_noimg_text_h1_content {
        padding: 0;
    }
    .box_100_imgleft_text {
        padding: 5% 0px;
    }
    .box_100_imgleft_text .block-text {
        padding: 15px 15px;
        font-size: 14px;
    }
    .new_notice .notice_action {
        display: inline-block;
        padding-top: 10px;
        width: 100%;
    }
    .search_result_block {
        padding: 15px;
    }
    footer {
        width: 100%;
        overflow: hidden;
        float: left;
        margin: 0;
        /* padding: 20px 15px 0; */
        line-height: 200%;
        background: #006a9d 0% 0% no-repeat padding-box;
        border-radius: 20px 20px 0 0;
        font-size: 16px;
    }
    footer .footer_menu {
        width: 100%;
        display: flex;
        align-items: top;
        justify-content: space-between;
        flex-direction: column;
    }
    footer .footer_menu>li {
        width: 100%;
        padding-left: 0;
    }
    footer hr.divider {
        margin: 10px 0 0 0;
    }
}
