@import url('https://fonts.googleapis.com/css2?family=Yesteryear&display=swap');

/* COLOR PALETTE */
:root {
    --main-bg-color: #003F67;
    --main-bg-color-v2: #25ADE3;
    --marquee-bg-color: #000000;
    --marquee-color: #ffffff
}


header {
    margin: 0 auto;
    background-color: #003F67;
    text-align: center;
}

body {
    background-image: url("/static/images/dot-background.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo {
    position: absolute;
    height: 95%;
    left: 10px;
}

/* marquee styling */
.marquee {
    width: 100%;
    line-height: 20px;
    background-color: var(--marquee-bg-color);
    color: var(--marquee-color);
    overflow: hidden;
    box-sizing: border-box;
    white-space: nowrap;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
    margin: 0px;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* scroll to top btn */
div.scroll_top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1;
}

div.scroll_top button {
    background-color: #25ADE3;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    color: white;
    /* opacity: 0; */
}

div.scroll_top button:hover {
    background-color: #003F67;
    border-color: #003F67;
}

h1#title {
    padding-top: 25px;
    /* padding-bottom: .1em; */
    color: white;
    font-family: Yesteryear, Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 3em;
    text-shadow: 0 0.083em 0.083em rgba(62, 62, 107, 0.6);

}

body {
    font-size: 16px;
    width: 100%;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

form {
    /* color: rgb(103, 98, 120); */
    margin: 0 auto;
    padding: 2% 5%;
}

h1+p {
    /* color: #c7bddb; */
    color: #f8f9fa;
    font-size: 1em;
    line-height: 150%;
    width: 50%;
    text-align: center;
    display: inline-block;
}

/* styling */
.form_section {
    text-align: center;
    font-weight: bold;
}

.row {
    padding-bottom: 15px;
}

.checkboxes {
    padding-left: 10%;
}

.form-check-input {
    font-size: 18px;
    vertical-align: auto;
    padding: 5px;
    border-color: var(--main-bg-color);
}

.form-check-input:checked,
.was-validated input[type='checkbox']:valid:checked {
    border-color: var(--main-bg-color-v2) 100%;
    background-color: var(--main-bg-color);
}

.was-validated input[type='text']:not([required]):valid,
.was-validated input[type='number']:not([required]):valid {
    background-image: none;
    border-color: #1A1A1A
}

.was-validated select:valid {
    --bs-form-select-bg-icon: none !important;
    border-color: #1A1A1A !important;
}

.was-validated textarea:valid,
.hide_background {
    background-image: none !important;
}

.was-validated input[type='checkbox']:valid {
    /* border: none; */
    border-color: var(--main-bg-color);
}

.was-validated select:invalid+.dropdown-toggle {
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

input[type='checkbox']+label {
    padding-top: 2px;
}

.others {
    background-color: transparent;
    border-color: transparent transparent black transparent;
    line-height: normal;
    opacity: 0.5;
}

.hide {
    display: none;
}

/* form input{
    border-color: #151106 !important;
} */


/* sub-section */
.sub_section {
    /* background-color: var(--main-bg-color-v2); */
    /* background-color: #EFF9FF; */
    border: 1px solid #b0bfd9;
    margin-bottom: 12px;
}

.sub_section>div:nth-child(1) {
    background-color: var(--main-bg-color);

    /* background-color: #74609F; */
    border-bottom: 1px solid #b0bfd9;
    padding: 4px;
    margin-bottom: 20px;
}

.sub_section>div:nth-child(1) h3 {
    color: #FFFFFF;
    font-size: 17px;
    margin: 0px;
    font-weight: bold;
}

.sub_section>div:nth-child(2) {
    padding: 0 15px;
}

.sub_section input,
select,
textarea,
.input-group>*,
.info,
div.bootstrap-select>button {
    border-color: #1A1A1A !important;
}


/* required-field-styling */
.req_format {
    position: relative;
}

.req_format span {
    position: absolute;
    top: -5px;
    right: 0px;
    color: red;
}

/*  */
.input_tags {
    /* background-color: #74609F; */
    background-color: var(--main-bg-color);
    color: #FFFFFF;
}

hr {
    color: var(--main-bg-color);
}

h2 {
    color: var(--main-bg-color);
}

/* submit-btn */
.submit_btn {
    width: 100%;
    min-width: 130px;
    height: 40px;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 20px;
    border: 2px solid var(--main-bg-color);
    background: var(--main-bg-color);
}

.submit_btn:hover:not(:disabled) {
    background: #fff;
    color: var(--main-bg-color)
}

.submit_btn:disabled {
    opacity: 0.5;
}



/* Validation */
.was-validated input[type='checkbox']:valid {
    color: black;
}

/* percent Icon */
.icon,
.icon-fit {
    position: relative;
}

.icon>i {
    position: absolute;
    top: 55%;
    right: 12%;
}

.icon-fit>i {
    position: absolute;
    top: 30%;
    right: 15%;
}

#detention_field {
    display: none;
}

.sub_text {
    font-weight: bold;
    font-family: auto;
}

.sub_para {
    margin-bottom: 1px;
    margin-top: 2px;
    font-weight: bold;
}

.symbol {
    padding: 35px 0 0 0;
    margin: 0px;
    text-align: center;
    font-weight: bold;
    font-family: auto;
    font-size: larger;
}

.input-dropdown {
    width: 40% !important;
}

.custom-tooltip {
    --bs-tooltip-bg: #278807;
    /* --bs-tooltip-color: var(--bs-white); */
    /* background-color: #278807 !important; */
}

.custom-h4 {
    text-decoration: underline;
    font-weight: bold;
    margin-top: 10px;
}

/* Multi-Select Styling */
div.bootstrap-select {
    width: 100% !important;
}

.alert_shadow:focus {
    box-shadow: 0 0 0 .25rem rgba(var(--bs-danger-rgb), .25) !important;
}

/* alert modal */
div.modal-icon>i {
    color: red;
}

/* Media Query */
@media only screen and (max-width: 1200px) {
    .symbol {
        display: none;
    }
}