﻿@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=Open+Sans:wght@300;400;600;700&display=swap');




/*::-webkit-scrollbar {
    width: var(--scroll-bar-size);
    height: var(--scroll-bar-size);
    background: 0 0;
    cursor: pointer;
}

::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background-color);
    border-radius: var(--scroll-bar-size);
    border-color: transparent;
    border-style: solid;
    border-width: calc(var(--scroll-bar-size) / 3);
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:active {
    background-color: var(--scroll-bar-thumb-background-color-active);
}

::-webkit-scrollbar-thumb:active,
::-webkit-scrollbar-thumb:hover {
    border-width: 1px;
    background-color: var(--scroll-bar-thumb-background-color-active);
    cursor: pointer;
}
*/

html {
    font-size: 0.8vw;
}

body {
    background-color: #C4D6F6;
    color: #2C3E50 !important;
}

.backgroud_open {
    background-image: url('assets/background.jpg');
    /*        background-position: bottom left;
*/ background-repeat: no-repeat;
    background-size: cover;
    transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
    margin-top: -48px;
    margin-bottom: 0;
    padding: 50px 50px 50px 50px;
    height: 800px;
}


#content-wrap {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 1.25rem 1.625rem;
}

#content-wrap #content {
    background-color: #F2ECE6;
    width: 100%;
    height: 100%;
    border-radius: 3.125rem;
    position: relative;
    min-height: calc(100vh - 2.5rem);
}


#content-wrap #content #header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 5.625rem;
    padding: 1.125rem;
    direction: rtl;
}


#content-wrap #content #header #header-left .separator {
    height: 4.25rem;
    width: 0.125rem;
    background-color: #808080;
    margin: 0 1.6875rem;
}

#content-wrap #content #header #header-left #archive-logo img {
    height: 3.1875rem;
}


#content-wrap #content #header #header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
}


#header-title {
    width: 300px;
    margin: 10px;
}

#header-title span {
    font-size: 40px;
}



.container-fluid {
    justify-content: center !important;
}

.container-fluid h1 {
    font-family: Varela Round;
    font-weight: 400;
    font-size: 44px;
    line-height: 72.24px;
    text-align: center;
}

.container-fluid h3 {
    font-family: Varela Round;
    font-weight: 400;
    font-size: 30px;
    line-height: 48.16px;
    text-align: center;
}

#header-title {
    width: 300px;
    margin: 10px;
}

#header-title span {
    font-size: 40px;
}

.center {
    justify-content: center !important;
    margin: auto;
}

input[type=checkbox], input[type=radio] {
    width: 40px;
    height: 18px;
    padding: 5px;
}

.dynamicTitle {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 35px;
    text-align: right;
}


/*CARDS*/
.card {
    background-color: transparent;
    border-radius: 20px !important;
    font-size: 15px !important;
}

.card input {
    background-color: #F2ECE6;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.card select {
    background-color: #F2ECE6;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    -webkit-appearance: menulist-button;
    -moz-appearance: menulist-button;
    appearance: menulist-button;
    padding-left: 40px;
}

.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f7f7f7;
    border-bottom: 1px solid rgba(0,0,0,.125);
    background-color: #c7c7c7;
    border-width: 2px;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.card-header.img {
    background-color: transparent;
    font-family: Varela Round;
    font-weight: 400;
    font-size: 40px;
    line-height: 30px;
    text-align: right;
    color: #E80004;
    border: none;
    padding: 0px;
}

.redImg {
    width: 70px;
    height: 70px;
}

.whiteImg {
    width: 70px;
    height: 70px;
}

.yellowImg {
    width: 70px;
    height: 70px;
}

.blueImg {
    width: 70px;
    height: 70px;
}

.greenImg {
    width: 70px;
    height: 70px;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    background-color: white;
    background-color: #F2ECE6;
    border-width: 2px;
    background-color: transparent;
    justify-content: center;
    display: flex;
}

.card .text1 {
    font-family: Varela Round;
    font-weight: 400;
    font-size: 40px;
    line-height: 30px;
    text-align: right;
    border: none;
    background-color: transparent;
}

.card-header.red {
    background-color: #FDA49B;
}

.card-header.white {
    background-color: #fff;
}

.card-header.yellow {
    background-color: #FDF5B7;
}

.card-header.blue {
    background-color: #A1B8E1;
}

.card-header.green {
    background-color: #C8E7A7;
}

.card-header.general {
    background-color: #C7C7C7;
    font-family: Varela Round;
    font-weight: 400;
    font-size: 50px;
    line-height: 60.2px;
    text-align: right;
    border: none;
}

.text1.red {
    color: #FB1C05;
}

.text1.white {
    color: #fff;
    text-shadow: -1px -1px 0 #8C8C8C, 1px -1px 0 #8C8C8C, -1px 1px 0 #8C8C8C, 1px 1px 0 #8C8C8C;
}

.text1.yellow {
    color: #F8DC10
}

.text1.blue {
    color: #4472C4;
}

.text1.green {
    color: #92D050;
}

.card .text2 {
    font-family: Varela Round;
    font-weight: 400;
    font-size: 20px;
    line-height: 24.08px;
    text-align: right;
    border: none;
    background-color: transparent;
}


/*END CARDS*/

#registrationBtn {
    font-family: Open Sans;
    font-weight: 700;
    font-size: 25px;
    line-height: 35px;
    text-align: center;
    background-color: #4C6155;
    height: 60px;
    margin-top: 60px;
    width: 100%;
    border-radius: 10px !important;
}

#registrationBtn:hover {
    background-color: #A5B0AA;
}

select {
    color: black;
    width: 100%;
}

.checkboxgroup {
    display: inline-block;
    text-align: center;
}

.checkboxgroup label {
    display: block;
}

.recentcomments a {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important
}

.dropdown-menu {
    text-align: right;
}

.btn-group.open .dropdown-toggle {
    width: 220px;
}

.btn-group > .btn:first-child {
    width: 220px !important;
}

.dropdown-menu {
    width: 100% !important;
}

.btn-group {
    width: 100%;
}

.btn-group > .btn:first-child {
    width: 100% !important;
    height: 40px;
}

.form-contact button {
    margin-top: 0px !important;
}

#InterviewerAsOther {
    width: 700px;
    border: none;
    border-bottom: 2px solid #000;
    background-color: transparent;
}


@media only screen and (min-width: 768px) {
    .form-control {
        font-size: 13px !important;
        padding: 10px;
    }
}


@media only screen and (max-width: 768px) {
    html {
        font-size: 14px !important;
    }

    #content-wrap {
        padding: 1.25rem 1.125rem;
    }

    .navbar-nav {
        padding: 0px;
    }

    .d-flex {
        position: absolute;
        top: 90px;
        left: 50px;
    }

        .d-flex img {
            height: 50px !important;
            width: 50px !important;
        }

    .topPadding {
        /*        padding-top: 10%;
*/
    }

    .allRights {
        width: 100%;
        display: flex;
    }

    #content-wrap #content #header #header-left {
        display: block !important;
        width: calc(100%);
    }


        #content-wrap #content #header #header-left .separator {
            display: none;
        }

    .container-fluid h1 {
        line-height: 50px;
    }

    /*CARDS*/
    .card-body {
        display: block;
    }

    .card > table > tbody > tr:first-child > td:first-child {
        width: 50px !important;
    }

    .redImg {
        width: 30px;
        height: 30px;
    }

    .whiteImg {
        width: 30px;
        height: 30px;
    }

    .yellowImg {
        width: 30px;
        height: 30px;
    }

    .blueImg {
        width: 30px;
        height: 30px;
    }

    .greenImg {
        width: 30px;
        height: 30px;
    }

    .text1.red {
        font-size: 25px;
    }

    .text1.white {
        font-size: 25px;
    }

    .text1.yellow {
        font-size: 25px;
    }

    .text1.blue {
        font-size: 25px;
    }

    .text1.green {
        font-size: 25px;
    }

    .card .text2 {
        font-size: 18px;
    }

    .card-header.general {
        font-size: 25px;
    }

    .options label:first-of-type {
        width: 180px !important;
    }





    .options .custom-control-label {
        display: block; /* Forces labels to stack vertically */
    }


    .options .col-md-12:nth-of-type(2) {
        display: none;
    }

    .col-md-12 {
        max-width: none !important;
    }

    /* Container for the radio buttons */
    .col-md-12 {
        display: flex;
        flex-wrap: wrap; /* Allows wrapping into two rows */
        /*justify-content: center;*/ /* Centers buttons */
        gap: 10px; /* Adds space between buttons */
        max-width: 250px; /* Adjust width to fit 5 per row */
        margin: auto; /* Center the block */
    }

    /* Styling for radio buttons */
    .col-md-12 input[type="radio"] {
        appearance: none;
        width: 35px !important;
        height: 35px !important;
        background-color: #ddd;
        border: 2px solid #aaa;
        border-radius: 20px !important;
        text-align: center;
        cursor: pointer;
        transition: 0.3s;
        font-size: 16px;
        position: relative;
    }

    /* Display value inside */
    .col-md-12 input[type="radio"]::before {
        content: attr(value);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        font-weight: bold;
        color: black;
        border-radius: 10px;
    }

    /* Checked state */
    .col-md-12 input[type="radio"]:checked {
        background-color: #007bff;
        border-color: #0056b3;
        color: white;
    }

    .col-md-12 input[type="radio"]:checked::before {
        color: white;
    }

    /* Container for the radio buttons */
    .radio-group {
        display: flex;
        flex-wrap: wrap; /* Ensures the radio buttons wrap to a new row when needed */
        gap: 10px; /* Space between radio buttons */
    }

        /* Style the individual radio buttons */
        .radio-group input[type="radio"] {
            flex: 1 1 calc(20% - 10px); /* Default: 5 buttons per row */
            margin: 0; /* Remove default margin */
            height: 22px; /* Set a consistent height */
            width: 22px; /* Set a consistent width */
        }

        /* Optional: Center-align the labels */
        .radio-group label {
            text-align: center;
            display: block; /* Ensure labels appear below the radio button */
        }

    /* For smaller screens (e.g., Samsung Galaxy S20), show 5 buttons per row */
    @media (max-width: 640px) {
        .radio-group input[type="radio"] {
            flex: 1 1 calc(20% - 10px); /* Ensure 5 buttons per row on smaller screens */
        }
    }

    /* For even smaller screens (e.g., mobile phones), show 4 buttons per row */
    @media (max-width: 480px) {
        .radio-group input[type="radio"] {
            flex: 1 1 calc(25% - 10px); /* 4 buttons per row */
        }
    }

    /* For very small screens, show 3 buttons per row */
    @media (max-width: 360px) {
        .radio-group input[type="radio"] {
            flex: 1 1 calc(33.33% - 10px); /* 3 buttons per row */
        }
    }

    @media only screen and (max-width: 768px) and (orientation: landscape) {
        .container {
            max-width: fit-content !important;
        }

        .options .custom-control-label {
            display: inline-flex !important;
        }

        .options label:first-of-type {
            width: 425px !important;
        }
    }

    @media only screen and (max-height: 500px) and (orientation: landscape) {
        .container {
            max-width: fit-content !important;
        }

        .options .custom-control-label {
            display: inline-flex !important;
        }

        .options label:first-of-type {
            width: 425px !important;
        }
    }

    /*Landscape*/
    /*@media only screen and (orientation: landscape) and (max-width: 900px) {
        .card-header {
            font-size: 13px !important;
        }

        .form-control {
            font-size: 13px !important;
        }

        label {
            font-size: 13px !important;
        }
    }*/

}
