/*
Theme Name: Knockout Webbyrå
Author: Knockout Webbyrå
Author URI: https://www.knockoutweb.se
Description: Knockout Webbyrå
Version: 1.1
*/

/*--- Typsnitt och stilar ---*/

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: 'Lexend', sans-serif;
    text-transform: initial;
    color: #343232;
    font-weight: 600;
}

h1 {
    font-size: 2.4rem;
    margin-top: 10px;
    margin-bottom: 15px;
}

.page-template-default .grid-container .h1-main h1 {
    position: relative;
}

.page-template-default .grid-container .h1-main h1::after {
    content: '';
    position: absolute;
    height: 2px;
    background: rgba(255, 0, 0, 0.7);
    left: 0;
    right: 0;
    -webkit-box-shadow: 0px 1px 4px 1px rgba(255, 0, 0, 0.3);
    -moz-box-shadow: 0px 1px 4px 1px rgba(255, 0, 0, 0.3);
    box-shadow: 0px 1px 4px 1px rgba(255, 0, 0, 0.3);
    bottom: -4px;
    animation: lineAnimation 1s ease-in-out;
}

@keyframes lineAnimation {
    0% {
        right: 100%;
    }

    100% {
        right: 0;
    }
}


h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

body {
    font-family: 'Lexend', sans-serif;
    color: #5d5d5d;
    font-size: 16px;
    background-color: #F9F9F9;
}

.grid-container {
    max-width: 1240px;
}


.button {
    background-color: #16C4B6;
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    padding: 15px 40px;
}

.button:hover {
    background-color: #1DE8D7;
}


.headermenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 0 23px 0;
    z-index: 999;
    background: #fff;
    -webkit-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
}


.headermenu .menu_field {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.headermenu .menu_field .header_logo {
    max-width: 70%;
}

.headermenu .menu_field #menu {
    border-top: solid 1px rgba(112, 112, 112, 0.26);
    border-bottom: solid 1px rgba(112, 112, 112, 0.26);
}

/*Startsidan*/

.grey_background {
    background-color: #E5E5E5;
    padding-top: 80px;
    padding-bottom: 70px;
}

.white_background {
    background-color: #fff;
}

.grey_background .vi_jobbar_med {
    margin-bottom: 30px;
}



.grey_background .puff_startsida {
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    border-radius: 20px;
    background-color: #fff;
    -webkit-box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    padding-bottom: 60px;
    transition: all 0.3s ease-in-out;

}

.grey_background .puff_startsida:hover {
    transform: scale(1.03) translateY(-8px);
}

.grey_background .puff_startsida .puff-bild {
    margin-bottom: 20px;
    height: 190px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.grey_background .puff_startsida .puff-text {
    padding: 0 20px 10px 20px;
}

.grey_background .puff_startsida h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.grey_background .puff_startsida p {
    font-size: 1rem;
    font-weight: 400;
    color: #7E7E7E;
}

.grey_background .puff_startsida .button {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    width: calc(100% - 50px);
    margin-bottom: 0;
    background-color: #2C3332;
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: auto;
}

.grey_background .puff_startsida .button:hover {
    background-color: #2C3332;
}


.varfor {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.varfor .las_mer {
    width: 100%;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.6s ease-in-out;
}

.varfor.active .las_mer {
    opacity: 1;
    height: 100%;
}

.varfor .las_mer--button {
    color: #343232;
    background: none;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding: 0;
}

.varfor.active .las_mer--button {
    content: "L&auml;s mindre";
}

.varfor .las_mer--button i {
    margin-top: 5px;
}

.varfor .las_mer--button.arrow_up i::before {
    content: "\f077";
}

.contactfield_startsida {
    padding-top: 30px;
    padding-bottom: 30px;
}

.contactfield_startsida h2 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contactfield_startsida h2::after,
.contactfield_startsida h2::before {
    content: '';
    border-top: 2px solid #B5B5B5;
    margin: 0 20px 0 0;
    flex: 1 0 40px;
}

.contactfield_startsida h2::after {
    margin: 0 0 0 20px;
}

.contactfield_startsida a {
    text-decoration: none;
    font-weight: 700;
    color: #777777;
}

.contactfield_startsida .button {
    color: #fff;
}


.bildsektion_startsida {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 60px 0;
}



.bildsektion_startsida .cirkelpuffar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.bildsektion_startsida .cirkelpuffar .cirkelpuff {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    margin: 25px 20px;
    padding: 20px;
    font-size: 15px;

}

.bildsektion_startsida .cirkelpuffar img {
    max-width: 58px;
    margin-bottom: 15px;
}

.bildsektion_startsida .cirkelpuffar p {
    line-height: 20px;
}


.footer {
    background-color: #fff;
    padding: 30px 0 45px 0;
    font-size: 14px;
    margin-top: 25px;
    -webkit-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.16);
}

.home .footer {
    margin-top: 0;
    background-color: #F9F9F9;
    box-shadow: unset;
}


.footer ul {
    list-style-type: none;
}

.footer ul li {
    padding: 2px 0;
}

.footer ul li a {
    color: #3E3E3E;
    font-weight: 600;
    text-transform: uppercase;
}


.responsive-menu-open #responsive-menu-container {
    -webkit-box-shadow: 12px 0px 13px -2px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 12px 0px 13px -2px rgba(0, 0, 0, 0.23);
    box-shadow: 12px 0px 13px -2px rgba(0, 0, 0, 0.23);
}


@media print,
screen and (min-width: 40em) {
    h1 {
        font-size: 2.5rem;
        margin-top: 20px;
        margin-bottom: 35px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .grey_background .puff_startsida .puff-bild {
        margin-bottom: 30px;
    }

    .bildsektion_startsida .cirkelpuffar {
        flex-direction: row;
        margin: 0 20px;
    }

    .contactfield_startsida {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .varfor {
        padding: 45px 0;
    }

    .bildsektion_startsida {
        padding: 100px 0;
    }

    .footer {
        padding: 45px 0 60px 0;
    }

    .headermenu .menu_field .header_logo {
        margin-right: 30px;
        max-width: unset;
    }

    .home .headermenu {
        padding: 20px 0;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.9) 100%);
        position: absolute;
        box-shadow: none;
    }

    .page-template-default .headermenu {
        padding: 20px 0;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
        position: relative;
        box-shadow: none;
    }

    .footer {
        margin-top: 35px;
    }
}


@media print,
screen and (min-width: 64em) {
    .grey_background .puff_startsida {
        margin-bottom: 0;
    }
}


/*Undersidor*/

/*.headerbild-wrapper {
    padding-right: 0 !important;
    padding-left: 0 !important;
}*/

.headerbild {
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.page-template-default #content .grid-container .cell a {
    text-decoration: none;
    font-weight: 700;
    color: #777777;
}

.page-template-default #content .grid-container .cell a:hover {
    color: #939393;
}

@media print,
screen and (min-width: 40em) {


    .headerbild {
        height: 450px;
    }
}

@media print,
screen and (min-width: 64em) {

    .headerbild {
        height: 400px;
    }
}


/*Frågor och svar*/

.fragefalt_wrapper {
    padding-top: 20px;
    padding-bottom: 20px;
}

.fraga_wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 20px;
    background-color: #fff;
    -webkit-box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    -moz-box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 15px 16px 0px rgba(0, 0, 0, 0.16);
    padding: 25px;
    transition: all 0.3s ease-in-out;
}

.fraga_wrapper .fraga {
    font-size: 1.1rem;
    font-weight: 700;
    width: 90%;
    cursor: pointer;
}

.fraga_wrapper .svar {
    font-size: 1rem;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}

.fraga_wrapper .reveal_icon {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
}

.fraga_wrapper .reveal_icon i {
    font-size: 1.4rem;
}


.fraga_wrapper.active .svar {
    height: 100%;
    opacity: 1;
    margin-top: 10px;
}

.fraga_wrapper.active .reveal_icon.open_symbol i::before {
    content: "\f0d8";
}

@media print,
screen and (min-width: 40em) {

    .fragefalt_wrapper {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .fraga_wrapper .fraga {
        font-size: 1.2rem;
    }
}

@media print,
screen and (min-width: 64em) {}


/*personal yta*/

.page-template-default .personal {
    margin-top: 20px;
    padding: 10px 0;
}

.page-template-default .personal img {
    border-radius: 50%;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
}

.page-template-default .personal h3 {
    text-align: center;
}

.page-template-default .personal a {
    text-align: center;
    color: #494949 !important;
}

.page-template-default .personal a:hover {
    color: #777777 !important;
}


.page-template-default .personal a i {
    color: #16C4B6;
}


@media print,
screen and (min-width: 40em) {
    .page-template-default .personal img {
        margin-bottom: 25px;
    }
}

.tummen {
    margin-bottom: 1rem;
    display: none;
}

.pop-rubrik {
    font-size: 2.2rem;
    font-weight: bold;
}

.pop-priser {
    font-size: 1rem;
    color: #343232;
}

.pop-svar {
    font-size: 1.0rem;
    color: #343232;
    margin-top: 1rem;  
}


.checkis {
    width: 14px;
    height: auto;
    margin-right: 5px;
}


@media print,screen and (min-width: 40em) {
    .pop-svar {
        font-size: 1.2rem; 
    }

    .pop-priser {
        font-size: 1.2rem; 
    }

    .checkis {
        width: 18px;
        height: auto;
        margin-right: 5px;
    }
    
    

}

.nf-form-fields-required {
    display: none;
}

.pop-telefon {
    color: #343232;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.nf-field-container{
    margin-bottom: 12px !important;
}