/* 
    Created on       : 12. dec. 2024, 09.33.11
    Author           : Jonas Primdahl
    Design Philosophy: Mobil first
*/
:root{
    /* frontpage color 
    dark blue: #234d71
    light blue: #5badf3
    #234d71;*/
    --frontpage_color: #234d71;


    --header_text: #234d71;
    /* subpage color */
    --subbutton: #234d71;
    --subpage: #234d71;
    /*searchbutton:*/
    --searchbutton: #57bbd9;
    /*resetbutton:*/
    --resetbutton: #57bbd9;
    /*    background:*/
    --background: #ffea72;
    /*    button:*/
    --button: #234d71;
    --border: #fff;
    /* border-radius */
    --border_radius: 0.5em;
}
body{
    margin: 0;
    padding: 0;
    font-family: "Arial", Helvetica, sans-serif;
}
a{
    text-decoration: none;
    color: inherit;
}
button{
    width: 100%;
    margin: auto;
    padding: 1%;
    /*    summer:*/
    background-color: var(--subbutton);
    /*    winter:
        background: #5c8f75;*/
    color: white;
    border-radius: 0.5em;
    border: 2px solid var(--border);
    font-size: 1em;
    cursor: pointer;
}
.banner{
    width: 100%;
}
.banner img{
    width: 100%;
}
/*Select language*/
.language{
    /*added*/
    float: right;
    /*end*/
    width: fit-content;
    margin: auto;
    border-left: 2px solid grey;
    border-bottom: 2px solid grey;
    /*border-right: 2px solid grey;*/
    border-bottom-left-radius: 0.45em;
    /*border-bottom-right-radius: 0.45em;*/
}
.language img{
    cursor: pointer;
    margin-left: 0.75em;
}

.language img:last-child {
    margin-right: 0.75em;
}

/*sub_header*/
.sub_header{
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
}
.sub_header img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
/* top */
.top{
    display: flex;
}
/* header */

.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    position: fixed;
    width: 100%;
    z-index: 3;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background-color: #fff;
}

.header li a {
    display: block;
    padding: 20px 20px;
    border-right: 1px solid #f4f4f4;
    text-decoration: none;
    user-select: none;
}

.header li a:hover,
.header .menu-btn:hover {
    background-color: #f4f4f4;
}
.header .logo {
    display: flex;
    float: left;
    font-size: 2em;
    padding: 1% 2%;
    text-decoration: none;
    text-align: center;
    width: 75%;
}
.header .logo p{
    margin: 0;
    padding-top: 0.6em;
    width: 100%;
    color: var(--background);
    font-size: 0.75em;
}
.header .logo img{
    height: 1.5em;
}

/* menu */

.header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    float: right;
    padding: 33px 20px;
    position: relative;
    user-select: none;
}

.header .menu-icon .nav-icon {
    background: green;
    display: block;
    height: 2px;
    position: relative;
    transition: background .4s ease-out;
    width: 18px;
    border-radius: 0.5em;
}

.header .menu-icon .nav-icon:before{
    background: #000000;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out;
    width: 100%;
}
.header .menu-icon .nav-icon:after {
    background: #000000;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .4s ease-out;
    width: 100%;
}

.header .menu-icon .nav-icon:before {
    top: 5px;
    background: #000000;
    border-radius: 0.5em;
}

.header .menu-icon .nav-icon:after {
    top: -5px;
    background: #000000;
    border-radius: 0.5em;
}

/* menu btn */
.header .search{
    float: right;
    display: none;
    background-color: var(--background);
    border-radius: 50%;
    color: white;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 1.5em;
    margin: .5em;
}
.header .menu-btn {
    display: none;
}

.header .menu-btn:checked ~ .menu {
    max-height: fit-content;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon {
    background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before {
    transform: rotate(-45deg);
    background: #000000;
    top:0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after {
    background: #000000;
    transform: rotate(45deg);
    top:0;
}
.header_title{
    display: block;
    width: 100%;
    color: var(--header_text);
}
.header_super{
    font-size: .75em;
}
.header_sub{
    font-size: 0.5em;
}

/*frontpage image*/
.frontpage{
    position: relative;
    top: 4em;
}
.frontpage img{
    width: 100%;
}
#mobil{
    display: block;
}
#desktop{
    display: none;
}
/*text box */
.mobil{
    display: block;
}
.desktop{
    display: none;
}
.text_box{
    transition: all 2s;
    font-size: 0.52em;
    position: absolute;
    top: 48%;
    right: 3%;
    width: 90%;
    padding: 1%;
    border: 2px solid var(--border);
    border-radius: var(--border_radius);
    background-color: var(--frontpage_color);
    color: #fff;
}
.experience_navgation{
    display: flex;
    justify-content: space-evenly;
}
.experience_navgation a{
    font-size: 0.75em;
    width: 33%;
    text-align: center;
    margin: auto;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding: 1em;
    background-color: var(--frontpage_color);
    border-radius: 0.45em;
    color: white;
}
.counter{
    text-align: center;
    background-color: white;
    color: var(--frontpage_color);
    font-size: 1em;
    border: 5px solid var(--frontpage_color);
    border-radius: 0.35em;
    margin: 1em;
    padding: 1em;
}
.counter p{
    font-size: 1.25em;
    margin: 0;
    color: black;
    font-weight: 800;
}
.footer{
    margin-top: 1%;
    padding: 1%;
    text-align: center;
    font-size: 0.75em;
    font-weight: 400;
    border-radius: 0.5em;
    background-color: #fff;
}
/*types - types*/
.type_page{
    width: 95%;
    margin: auto;
}
.types{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.types p{
    margin: 0;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    text-align: center;
}
.type{
    font-size: 0.75em;
    width: 22%;
    padding: 1%;
    margin: 1%;
    background-color: #fff;
    border-radius: 0.45em;
}
/*area*/
.area{
    text-align: center;
    margin: 1%;
    padding:1%;
    width: 29%;
    /*Total width: 33%*/
    background-color: white;
    border-radius: 0.25em;
}
.area img{
    margin: 2%;
    width: 48px;
}
.area p{
    margin: 1%;
    font-size: 0.75em;
}
.areas{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 95%;
    padding: 1%;
    background-color: var(--subpage);
    margin-top: 1em;
    border-radius: 0.5em;
    justify-content: space-evenly;
}
/*experiences - experience*/
.experiences{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.experiences img{
    width: 100%;
}
.experiences p{
    margin: 0;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
    text-align: center;
}
.experience{
    font-size: 0.9em;
    width: 40%;
    padding: 1%;
    margin: 2%;
    background-color: #fff;
    border-radius: 0.45em;
}
.card{
    cursor: pointer;
}
/*link*/
.link_top{
    height: 5em;
}
/*experience*/
.page{
    /*    winter:
        background-color: #0c6538;
        summer:*/
    background-color: var(--subpage);
    width: 95%;
    margin: auto;
    padding: 0.5em;
    border-radius: 0.5em;
}
.page h1{
    /*width: 98%;*/
    background-color: white;
    border-radius: 0.25em;
    text-align: center;
    /*margin: 1%;*/
    font-size: 1.25em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.page h2{
    font-size: 1em;
    margin-top: 0.125em;
    margin-bottom: 0.125em;
}
.page p{
    font-size: 0.75em;
    margin: 0;
    word-break: break-word;
    padding-bottom: 1em;
}
.content_container_top{
    display: flex;
    justify-content: space-evenly;
}
.content_container_top a{
    color:red;
}
.left_side_top{
    margin-right: 1%;
    padding: 2%;
    background-color: white;
    border-radius: 0.5em;
    width: 39%;
}
.left_side_top img{
    width: 32px;
    padding-bottom: 1em;
}
.right_side_top{
    padding: 1%;
    background-color: white;
    border-radius: 0.5em;
    width: 60%;
}
.right_side_top img{
    width: 32px;
    padding: 0.25em;
    border: 2px solid black;
    border-radius: 0.35em;
    margin-right: 0.5em;
}
.center div{
    display: flex;
    align-items: center;
    margin-bottom: 0.5em;
}
.content_container_bottom{
    display: flex;
    justify-content: space-evenly;
}
.left_side_bottom{
    margin-top: 1%;
    margin-right: 1%;
    padding: 1%;
    background-color: white;
    border-radius: 0.5em;
    width: 59%;
}
.left_side_bottom img{
    width: 100%;
    border-radius: 0.5em;
}
.right_side_bottom{
    margin-top: 1%;
    padding: 1%;
    background-color: white;
    border-radius: 0.5em;
    width: 40%;
}
.right_side_bottom p{
    padding: 1em;
    font-size: 0.5em;
}
.right_side_bottom h2{
    text-align: center;
    font-size: 1.25em;
    margin-bottom: 0.5em;
}
/*social media*/
.some{
    display: flex;
    justify-content: space-evenly;
}
/*search*/
.modal_background{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 4; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
    /*//padding-top: 60px;*/
}
.modal_page {
    display: block;
    z-index: 1;
    width: 90%;
    /*height: 92%;*/
    background: #fff;
    padding: 1%;
    border-radius: 0.25em;
    border: 1px solid #888888;
    margin: auto;
    margin-top: 3%;
    cursor: default;
}
.modal_page h1{
    font-size: 0.85em;
    text-align: center;
    text-decoration: underline;
}
.search_intro{
    text-align: center;
    color: #fff;
    padding: 1em;
}
.search_intro p{
    margin: 0;
    font-size: 1em;
}
.search_dropdown{
    display: flex;
    justify-content: space-evenly;
}
.search_dropdown select{
    text-align: center;
    width: 46.5%;
    padding: 0.5em;
    margin: 0.5em;
    font-size: 0.65em;
    border-radius: 0.5em;
    border: 2px solid black;
}

.search_area{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    user-select: none;
    cursor: pointer;
}
.search_area div{
    width: 30%;
    margin-top: 2%;
    padding-top: 2%;
    background-color: #fff;
    text-align: center;
    border: 2px solid black;
    border-radius: 0.45em;
}
.search_area img{

    width: 64px;
}
.search_icons{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    user-select: none;
}
input[type="radio"][id^="box"] {
    display: none;
}
input[type="checkbox"][id^="box"] {
    display: none;
}

.search_icons select{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.feedback{
    display: none;
    width: 90%;
    padding: 2%;
    margin: auto;
    margin-top: 2%;
    background-color: #fff;
    text-align: center;
    border: 2px solid black;
    border-radius: 0.25em;
}
.feedback p{
    margin: 0;
    margin-top: 0.25em;
    margin-bottom: 0.25em;
}
.feedback_icons{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

.feedback_icons img{
    border: 1px solid black;
    border-radius: 0.25em;
    padding: 0.25em;
    height: 24px;
    display: none;
}

.search_page{
    padding: 1em;
    margin: auto;
    background-color: #39b54a;
    min-height: 300px;
    margin-top: 1em;
    border-radius: 0.5em;
    margin-bottom: 1em;
    width: 95%;
}

.search_box{
    text-align: center;
}
.search_box p{
    margin: 0;
    padding: 3%;
    font-size: 1.25em;
    color: #fff;
}
.search_box input{
    text-align: center;
    margin: 1%;
    padding: 1%;
    width: 94%;
    border-radius: 0.5em;
}

.search_result_info{
    text-align: center;
    color: #fff;
}
.search_response{
    color: #fff;
    text-align: center;
}
.search_response p{
    margin:0;
}
.btns{
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin-top: 0.5em;
}
.btn{
    text-align: center;
    width: 40%;
    padding: 0.5em;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 0.3em;
}
.btn_main_search{
    color: #fff;
    text-align: center;
    width: 60%;
    padding: 2%;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 0.3em;
    margin: auto;
    background-color: var(--searchbutton);
}
.btn_search{
    background-color: var(--searchbutton);
}

.btn_reset{
    background-color: var(--resetbutton);
}
.btn_reset_main{
    text-align: center;
    background-color: var(--resetbutton);
    width: 90%;
    padding: 1%;
    margin: auto;
    margin-top: 1%;
    cursor: pointer;
    border: 1px solid black;
    border-radius: 0.3em;
}
.results{
    display: flex;
    flex-wrap:wrap;
    justify-content: space-evenly;
}
.search_results p{
}
.search_results{
    margin-top: 1em;
    min-height: 120px;
}
.search_result:hover{
}
.background{
    margin: auto;
    margin-top: 2%;
    width: 98%;
    border-radius: 0.5em;
    background-color: var(--subpage);
}
.title{
    padding: 1%;
    margin: 2%;
    text-align: center;
    background-color: white;
    width: 94%;
    border-radius: 0.25em;
}
.title a{
    text-decoration: underline;
}
/*home page - about.php - contact.php - about_us.php*/
.go_homepage{
    width: 95%;
    margin: auto;
    margin-top: 1%;
    margin-bottom: 1%;
    padding-top: 2%;
    background-color: var(--frontpage_color);
    border-radius: 0.5em;
}
.go_homepage_content{
    padding: 1%;
}
.go_homepage_content h1{
    margin-top: 0;
    text-align: center;
    font-size: 1.25em;
    background-color: #fff;
    border-radius: 0.5em;
    padding: 1%;
}

.go_homepage_content_top{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    word-break: break-word;
}
.go_homepage_content_top div {
    padding: 1%;
    border-radius: 0.5em;
    background-color: #fff;
}
.go_homepage_content_top div:first-child {
    width: 45%;
}
.go_homepage_content_top div:nth-child(2) {
    width: 45%;
}
.go_homepage_content_bottom{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    word-break: break-word;
    margin-top: 2%;
}
.go_homepage_content_bottom div {
    border-radius: 0.5em;
    background-color: #fff;
    width: 25%;
}

.go_homepage_content_bottom  img{
    border-radius: 0.5em;
    width: 70%
}
/*contact form*/
#contact_form{
    width: 96%;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #000000;
    opacity: 1; /* Firefox */
}
::-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #000000;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: #000000;
}

#contact_form input[type=text]{
    text-align: center;
    width: 91%;
    margin: 2%;
    padding: 2%;
}
#contact_form input[type=button]{
    text-align: center;
    width: 96%;
    margin: 2%;
    padding: 2%;
}
#contact_form textArea{
    resize: none;
    text-align: center;
    width: 91%;
    height: 100px;
    margin: 2%;
    padding: 2%;
    font-family: Calibri;
}
.navigation{
    display: none;
}
/*cookie*/
.cookie{
    text-align: center;
    background-color: white;
    color: #0c6538;
    opacity: 0.75;
    position: absolute;
    bottom: -25px;
    right: 2px;
    height: 2.5em;
    width: 2.5em;
    border: 1px solid gray;
    border-radius: 0.5em;
    transition: all 2s;
}
.cookie img{
    width: 2em;
    padding: 0.25em;
}
.cookie h1{
    font-size: 1em;
    margin: 0;
}
.cookie p{
    margin: 1em;
}
#cookie_politics{
    display: none;
    padding: 1em;
    cursor: pointer;
}
.help{
    cursor: help;
}

/* Tablet / Ipad / Desktop*/
@media (min-width: 48em) {
    /*text box */
    .mobil{
        display: none;
    }
    .desktop{
        display: block;
    }
    .text_box{
        font-size: 1em;
        top: 10%;
        right: 6%;
        width: 22%;
    }
    button{
        width: 82%;
    }
    .page button{
        width: 100%;
    }
    .page p{
    font-size: 1.5em;
}
    .right_side_top img{
    width: 48px;
    margin-right: 2em;
}
    label {
        cursor: pointer;
    }
    .search_dropdown select{
        font-size: 1em;
    }

    .header .logo {
        width: 91%;
    }
    .header .logo p{
        font-size: 1em;
        padding-top: 0.2em;
        /*        padding-left: 5em;
                text-align: center;*/
    }
    .header .search{
        display: block;
        cursor: pointer;
    }
    .header ul{
        display: none;
    }
    /*    .header li {
            float: left;
        }
        .header li a {
            padding: 20px 30px;
        }*/
    .header .menu {
        clear: none;
        float: right;
        max-height: none;
    }
    .header .menu-icon {
        display: none;
    }
    .header_super{
        font-size: 1.5em;
    }
    .header_sub{
        font-size: 0.5em;
    }
    /*frontpage image*/
    .frontpage{
    }
    #mobil{
        display: none;
    }
    #desktop{
        display: block;
    }
    .experience_navgation a{
        font-size: 1.75em;
        padding: 1em;
        cursor: pointer;
    }
    .banner{
        text-align: center;
    }
    .banner img{
        width: 50%;
    }
    .type{
        font-size: 0.75em;
        width: 10%;
    }
    .areas{
        width: 80%;
    }
    .experience{
        font-size: 1em;
        width: 19%;
    }
    .page h1{
        font-size: 1.75em;
    }
    .page h2{
        font-size: 1.25em;
    }

    .right_side_bottom p{
        padding: 1em;
        font-size: 0.75em;
    }
    .right_side_bottom img{
        width: 32px;
    }
    /*background*/
    .background{
        width: 82%;
    }
    /*search*/
    .search_page{
        width: 80%;
    }
    .icons_search{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .icon_search{
        width: 40%;
        font-size: 1.75em;
    }
    .area{
        width: 21%;
    }
    .area p{
        font-size: 1.25em;
    }
    .area_page{
        width: 80%;
    }
    .link_top{
        height: 4em;
    }
    /*Navigation section*/
    .navigation{
        display: flex;
        background-color: var(--frontpage_color);
        margin: auto;
        margin-top: 0.5em;
        padding: 0.25em;
        border-radius: 5%;
        justify-content: space-around;
        color: #fff;
        font-size: 1.25em;
    }
    .navigation a{
        transition: all 1s;
    }
    .navigation a:hover{
        text-decoration: underline;
    }
    label img {
        height: 48px;
    }
}
@media (min-width: 64em) {
    .icon_search{
        width: 31%;
        font-size: 1.75em;
    }
}