:root {
    --color1: #3e97d3;
    --color2: #007bff;
    --color3: #cfe9fa;
    --color4: #87CEFA;
}

.custom-radio .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--color1);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: var(--color1) !important;
    border-color: var(--color1) !important; /*set the color you want here*/
}
.btn-primary:active, .btn-primary:active:focus {
    color: #fff;
    background-color: var(--color2) !important;
    border-color: var(--color2) !important; /*set the color you want here*/
}

.ui-state-default {
    height: 50px;
    width: 100px;
    float: left;
    margin: 10px;
    padding: 0;
    list-style-type: none;
}

#sortable {
    position: relative;
    height: 500px;
    width: 350px;
}

body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overscroll-behavior-y: contain;
}

footer {
    min-height: 24px;
}

.rank3Table tbody tr:nth-child(1) {
    border: 4px solid green;
}

.rank3Table tbody tr:nth-child(2) {
    border: 4px solid green;
}

.rank3Table tbody tr:nth-child(3) {
    border: 4px solid green;
}

.rank3Table.fifth tbody tr:nth-child(4) {
    border: 4px solid green;
}

.rank3Table.fifth tbody tr:nth-child(5) {
    border: 4px solid green;
}

.arLangBody .enLang {
    display: none;
}

.enLangBody .arLang {
    display: none;
}

.enLangBody .enLang {
    margin-left: 2px;
    direction: ltr;
    text-align: left;
}

.enLangBody .enLang::before {
    right: 0;
    left: auto;
}

.enLangBody .langDir {
    direction: ltr;
}

.arLangBody .langDir {
    direction: rtl;
}

/* html, body {
    height: 100%;
    margin: 0;
} */

/* body {
    display: flex;
    flex-direction: column;
} */

/* .footer {
    margin-top: auto;
} */

* {
    box-sizing: border-box;
}

*:before, *:after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Tanseek Modern Pro Arabic';
    src: url('https://steadypace.co/survey/assets/fonts/TanseekModernProArabic3.ttf') format('truetype');
}

* {
    font-family: 'Tanseek Modern Pro Arabic';
    font-size: x-large;
}

.round-border {
    background: #f6f6f6;
    border-radius: .3125em;
    border: #ddd 1px solid;
    padding: 8px;
}

.btn-primary {
    background: #DAE2E9;
    border: none;
    color: black;
    font-size: 100%;
}

.navbar {
    background-color: #1b2b4c;
    padding: 0;
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 10px 0 rgba(0, 0, 0, 0.19);
}

.lds-hourglass {
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 80px;
    height: 80px;
}

.lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid var(--color4);
    border-color: var(--color4) transparent var(--color4) transparent;
    animation: lds-hourglass 1.2s infinite;
}

@keyframes lds-hourglass {
    0% {
        transform: rotate(0);
        animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
        transform: rotate(900deg);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
        transform: rotate(1800deg);
    }
}

#loading {
    position: fixed;
    padding: 0;
    margin: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 100;
}

tbody tr:nth-of-type(odd) {
    background-color: var(--color3);
}

.table-bordered td, .table-bordered th {
    border: 1px solid #ffffff;
}

td input {
    margin: 1px;
}

/*----------- slider -------------*/

.slidecontainer {
    width: 100%;
}

.slider {
    margin-top: 20px;
    margin-bottom: 10px;
    -webkit-appearance: none;
    width: 100%;
    height: 15px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

/* Mouse-over effects */

.slider:hover {
    opacity: 1;
}

/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color1);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--color1);
    cursor: pointer;
}

/* Chrome, Safari, Edge, Opera */

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */

input[type=number] {
    -moz-appearance: textfield;
}

/*radio*/

td {
    position: relative;
    min-height: 40px;
    min-width: 40px;
}

.radio-container {
    display: block;
    /* position: relative; */
    position: absolute;
    left: calc(50% - 17.5px);
    top: calc(50% - 17.5px);
    width: 35px;
    height: 35px;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 35px;
    width: 35px;
    background-color: #ffffff;
    border: #9ba4aa 1px solid;
    border-radius: 50%;
}

.checkmark.MC {
    border-radius: 0;
}

/* On mouse-over, add a grey background color */

.radio-container:hover input~.checkmark {
    background-color: #ccc;
}

/* When the radio button is checked, add a blue background */

.radio-container input:checked~.checkmark {
    background-color: var(--color2);
}

/* Create the indicator (the dot/circle - hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */

.radio-container input:checked~.checkmark:after {
    display: block;
}

/* Style the indicator (dot/circle) */

.radio-container .checkmark:after {
    top: 10px;
    left: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
}

.radio-container .checkmark.MC:after {
    border-radius: 0;
}