/* Drop-down with search START --------------------------------------------------- */
.dropDownWithSearch {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
}

input[type=text] {
    background-color: #f1f1f1;
    width: 100%;
}

input[type=submit] {
    background-color: #ff8a00;
    color: #fff;
    cursor: pointer;
}

.dropDownWithSearch-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.dropDownWithSearch-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.dropDownWithSearch-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.dropDownWithSearch-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: #ff8a00 !important;
    color: #ffffff;
}

/* Drop-down with search END --------------------------------------------------- */

/* Radio-Buttons style START --------------------------------------------------- */
.cont_rad_btn_main {
    display: flex;  /* Elements in one row */
    /*display: block;  !* Elements in multiple rows *!*/
    width: 40%;
    margin: auto;
    /*text-align: center;*/
    /*justify-content: center;*/
    padding: 10px;
}

.cont_rad_btn_main {
    display: flex;
    width: 40%;
    margin: auto;
    padding: 10px;
    justify-content: center;
    gap: 40px;
}

.cont_rad_btn {
    display: flex;  /* Elements in one row */
    /*display: block;  !* Elements in multiple rows *!*/
    text-align: center;
    position: relative;
    width: 100%;
    padding-left: 30px;
    padding-top: 0;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14pt;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.cont_rad_btn input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.cont_rad_btn:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */
.cont_rad_btn input:checked ~ .checkmark {
    background-color: #ff8a00;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.cont_rad_btn input:checked ~ .checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.cont_rad_btn .checkmark:after {
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}
/* Radio-Buttons style END ---------------------------------------------------- */

.await_loader {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 16px solid #f3f3f3;
    border-top: 16px solid #ff8a00;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preference {
    display: grid;
    grid-template-columns: 200px auto;
    margin-bottom: 5px;
    column-gap: 10px;
}

.preference:last-child {
    margin-bottom: 0;
}

.preference input {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: #000;
    padding: 3px;
    width: 100%;
    box-sizing: border-box;
}

.preference label {
    font-family: 'Raleway', sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
}

div {
    font-family: 'Raleway', sans-serif;
}

body {
    font-family: 'Raleway', sans-serif;
}

button {
    background: #ff8a00;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    border-radius: 8px;
    color: #ffffff;
    width: 100%;
    border: none;
    height: 48px;
    margin-top: 8px;
    margin-bottom: 8px;
}

input[type=file]::file-selector-button {
    background: #ff8a00;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    border-radius: 8px;
    color: #ffffff;
    /*width: 100%;*/
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    height: 54px;
}

/* Language select section */
.lang_select {
    list-style-type: none;
    margin: 0 0 10px 0;
    padding: 0;
    display: flex;
    justify-content: center;
    column-gap: 15px;
}

.lang_select label,
.lang_select input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
}

.lang_select input[type="radio"] {
    opacity: 0.01;
    z-index: 100;
    width: 0;
}

.lang_select label {
    padding: 4px;
    cursor: pointer;
    z-index: 90;
    border-radius: 8px;
    position: relative;
}

/* Resizing relevant style classes if less than 600px*/
/* https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries */
@media (max-width: 900px) {
    .preference {
        grid-template-columns: 1fr;
    }
}

/* Language select section TEXT version */
/*.lang_select {*/
/*    list-style-type: none;*/
/*    margin: 0 0 0 0;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    column-gap: 15px;*/
/*}*/

/*.lang_select li {*/
/*    height: 50px;*/
/*    position: relative;*/
/*    !*flex-grow: 1;*!*/
/*    cursor: pointer;*/
/*}*/

/*.lang_select label:hover {*/
/*    background: #ccc;*/
/*}*/

/*.lang_select label,*/
/*.lang_select input {*/
/*    display: block;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    text-align: center;*/
/*}*/

/*.lang_select input[type="radio"] {*/
/*    opacity: 0.01;*/
/*    z-index: 100;*/
/*    width: 0;*/
/*}*/

/*.lang_select input[type="radio"]:checked + label,*/
/*.Checked + label {*/
/*    background: #ff8a00;*/
/*    font-weight: bold;*/
/*    color: white;*/
/*}*/

/*.lang_select label {*/
/*    padding: 9px;*/
/*    border: 1px solid #ccc;*/
/*    cursor: pointer;*/
/*    z-index: 90;*/
/*    width: 50px;*/
/*    border-radius: 8px;*/
/*    position: relative;*/
/*}*/