@charset "UTF-8";/*!
Theme Name: Hvilan utbildning
Theme URI: https://www.hvilanutbildning.se
Author: Klevland Reklambyrå AB
Author URI: https://www.klevland.se/
Description: En hemsida från Klevland
Version: 1.0.0
Template: hvilangymnasiet
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hvilanutbildning
Tags:
*/

/* Colors */

:root {
    --color-light-blue: #A3D9FF;
    --color-green: #B6CA51;   
    --color-orange: #E7AE11;   
}

.site:before {
    background-color: var(--color-light-blue);
}

#breadcrumbs .separator {
    color: #363636;
}

.light-blue-bg, .light_blue_bg {
    background-color: var(--color-light-blue);
}

.orange-bg, .orange_bg {
    background-color: var(--color-orange);
}

.green-bg, .green_bg {
    background-color: var(--color-green);
}

.burger_nav {
    background-color: var(--color-light-blue);
}

.site-header .container > div > ul > li {
    padding: 36px 0px;
}

.hero_slider_section .wrapper {
    border-radius: 0;
}
.hero_slider_section .overlay_gradient {
    opacity: .3;
}

.welcome_section .welcome_details {
    border-radius: 0;
}


.wp-block-image.size-full {
    margin-left: 0;
}

.news_box {
    border-radius: 0;
}

/* .heroslider */
.heroslider .slick-dots {
    display: none !important;
}

/*. educations_section */
.educations_section .wrapper {
    align-items: flex-start;
}
.educations_section .figure {
    margin-bottom: 2%;
}
.educations_section .figure .img_ {
    position: relative;
    border-radius: 0;
}
.educations_section .figure .img_ .cat_ {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 1;
    background-color: #363636;
    color: #fff;
    padding: 6px;
    font-size: .8rem;
}
.educations_section .figure .img_ .cities_ {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 8px;
}

.educations_section .figure .sub__ {
    margin-top: 12px;
}

.cities_, .course_categories {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4px;
    row-gap: 4px;
}
.course_categories {
    padding-bottom: 0;
}

.course_group:not(:last-of-type) {
    border-bottom: 1px solid #fff;
    padding-bottom: 16px !important;
    margin-bottom: 16px;
}
.course_group .course_ {
    padding-bottom: 8px;
}

.cities_ span, .course_categories span {
    padding: 6px;
    display: inline-block;
    padding: 6px;
    font-size: .8rem;
}
.cities_ span {
    background-color: var(--color-green);
}
.course_categories span {
    background-color: var(--color-orange);
}

.educations_section .figure:nth-child(5) {
    background-color: inherit;
}

.large_content_columns_section {
    background-color: var(--color-orange);
}



.sidebar_list .nav_,
.sidebar_list .utb_border,
.sidebar_list .contact_person {
    border-radius: 0;
}
.sidebar_list .utb_border > h4 {
    display: block;
    padding: 16px 16px 0px;
    margin: 0;
}
.sidebar_list .snabbfakta_ ul {
    font-size: 1rem;
    padding-left: 1rem;
}
.sidebar_list .snabbfakta_:not(._yh) div.no_flex p {
    display: inherit;
}
.sidebar_list .snabbfakta_:not(._yh) div.no_flex p {
    margin: revert;
}
.snabbfakta_:not(._yh) > div.no_flex.course_ {
    font-size: 1rem !important;
    margin-top: 1em;
}
.sidebar_list .snabbfakta_ div.no_flex.course_ p {
    margin-bottom: 0;
}
.sidebar_list .snabbfakta_:not(._yh) div.no_flex p.title_ {
    margin: 0;
}

.sidebar_list .contact_person {
    margin-bottom: 32px;
}

.sidebar_list .contact_person .content_ {
    display: block;
}

/*  */
.course_contacts .contact_group {
    padding-top: 16px;
}
.course_contacts .contact_group .detail_ .name_ {
    margin-top: 0;
}
.course_contacts .contact_group .detail_ .title_ {
    margin-bottom: 0;
}
.course_contacts .contact_group .detail_ p:not(.title_) {
    margin: 0;
}


#social_media_section.no_img {
    margin-top: 0;
}
#social_media_section .wrapper {
    border-bottom-right-radius: 0;
}


.site-footer {
    background-color: var(--color-light-blue);
}
.site-info .details_ {
    background-image: none;
}


/* Anpassad stil för wp-embed-aspect-16-9 */
.wp-embed-aspect-16-9 > div {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

/* Anpassad stil för wp-has-aspect-ratio */
.wp-has-aspect-ratio iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* .sok_wrapper_utb */
.sok_wrapper_utb {
    flex: 0 0 auto;
    text-align: center;
    bottom: 0;
}
.sok_wrapper_utb .sok_utb {
    text-decoration: none;
    line-height: 1;
    display: flex;
    column-gap: 8px;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease;
    padding: 16px;
    color: #fff;
}
.sok_wrapper_utb .sok_utb span {
    white-space: nowrap;
}
.sok_wrapper_utb .sok_utb img {
    width: 22px;
    vertical-align: middle;
    display: block;
    transition: all 300ms ease;
}
.sok_wrapper_utb .sok_utb:after {
    display: none;
}
.sok_wrapper_utb .sok_utb:hover {
    background-color: #7E6B8F;
}
.sok_wrapper_utb .sok_utb:hover img {
    margin-left: 8px;
}


/* formulär kursanmälan */
.apply_section .participant {
    overflow: hidden;
}
.apply_section .remove-participant, .apply_section #add-participant {
    box-shadow: none!important;
    border: none!important;
    border-radius: 0!important;
    font-size: 1rem!important;
    text-shadow: none!important;
    color: #fff!important;
    text-decoration: none!important;
    transition: all .25s ease-in-out;
    
    cursor: pointer;
    line-height: 1.5;
    margin-top: 1em;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.apply_section .remove-participant {
    background-color: #e7ae11!important;
    margin-left: auto;
    display: inline-block;
    padding: .4em .8em!important;
    float: right;
}
.apply_section #add-participant {
   background-color: var(--color-green);
    padding: .8em 2.4em!important;
}


.admin-bar .burger_btn {
    top: 48px;
}


/* Contat Form 7 Radio & Checkbox */
.wpcf7-checkbox {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.wpcf7-checkbox  .wpcf7-list-item {
    margin: 0 0 0 16px;
}
.wpcf7-form-control [type="radio"],
.wpcf7-form-control [type="checkbox"] {
    position: absolute;
    left: -9999px;
}

.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label,
.wpcf7-form-control [type="checkbox"] + .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
    line-height: 20px;
    display: block;
    line-height: 1.2;
}

.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::before,
.wpcf7-form-control [type="checkbox"] + .wpcf7-list-item-label::before,
.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::after,
.wpcf7-form-control [type="checkbox"] + .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::before,
.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::after {
    border-radius: 50%;
}

.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::before,
.wpcf7-form-control [type="checkbox"] + .wpcf7-list-item-label::before {
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-orange);
}

.wpcf7-form-control [type="radio"] + .wpcf7-list-item-label::after,
.wpcf7-form-control [type="checkbox"] + .wpcf7-list-item-label::after {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: var(--color-orange);
    transition: all 0.2s;
}

.wpcf7-form-control [type="radio"]:not(:checked) + .wpcf7-list-item-label::after,
.wpcf7-form-control [type="checkbox"]:not(:checked) + .wpcf7-list-item-label::after {
    opacity: 0;
    transform: scale(0.01);
}

.wpcf7-form-control [type="radio"]:checked + .wpcf7-list-item-label::after,
.wpcf7-form-control [type="checkbox"]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
    transform: scale(1);
}

.wpcf7-form-control [type="radio"]:focus + .wpcf7-list-item-label::before,
.wpcf7-form-control [type="checkbox"]:focus + .wpcf7-list-item-label::before {
    box-shadow: 0 0 4px 3px red;
}



@media screen and (min-width:46.8em) {
    .burger_btn {
        top: 16px;
    }
    .admin-bar .burger_btn {
        top: 48px;
    }
}
@media screen and (min-width:48em) {
    .welcome_section .welcome_details {
        border-radius: 0;
    }
    #social_media_section .container {
        border-radius: 0;
    }
    .site-info .wrapper .logo_container > img {
        width: 150px;
    }
}
@media screen and (min-width:60em) {
    .menu-desktop-container>ul>li.focus>ul, .menu-desktop-container>ul>li:hover>ul {
        top: 135px;
    }
}
@media screen and (min-width:64.5em) {
    .site-header .container {
        padding-top: 16px;
        padding-bottom: 16px;
    }
    .site-header .container > div > ul > li {
        padding: 52px 16px;
    }
    .site-header .container .custom-logo-link img {
        width: 150px;
    }
    .site-header .container > .menu-desktop-container {
        display: none;
    }
    .burger_btn {
        top: 38px;
    }
    .admin-bar .burger_btn {
        top: 64px;
    }
}
@media screen and (min-width:75em) {
    .site-header .container {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .sidebar_list .snabbfakta_:not(._yh) br {
        display: inherit;
    }
    .site-header .container {
        display: flex;
    }
    .burger_btn {
        top: 36px;
    }
    .admin-bar .burger_btn {
        top: 64px;
    }
    .site-header .container > .menu-desktop-container {
        display: flex;
        justify-content: center;
    }
    
    .site-header .container .spacer {
        flex: 0 1 55px;
    }
    
    
    .large_content_columns_section .wrapper {
        align-items: center;
    }
    
    .entry-content {
        border-top-left-radius: 0;
    }
    
    .educations_section .figure .img_ img {
        aspect-ratio: 400 / 225;
    }
    .home .educations_section .wrapper, .page-template-page-utbildningar .educations_section .wrapper {
        column-gap: 1%;
        justify-content: flex-start;
    }
    
    .home .educations_section:not(.nested_) .figure, .page-template-page-utbildningar .educations_section:not(.nested_) .wrapper .figure {
        flex: 0 1 24.2%;
    }
    .page-template-page-utbildningar .educations_section.nested_ .wrapper .figure {
        flex: 0 1 19.2%;
    }
    
}

@media screen and (min-width:80em) {
    .sok_wrapper_utb {
        padding: 0px 16px 16px 64px;
    }
    .sok_wrapper_utb .sok_utb {
        padding: 24px 16px;
    }
}