@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Baloo+Da+2:wght@500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    /* --background1: #DEE3EB; */
    --background1: #e8edf4;
    --background2: #505d70;
    --gray: #8e8d8a;
    --primary: #505d70;
    --secondary: #e98074;
    --black: #3a3a3a;
    --white: #ffffff;
    --accent: #4b5dff;
    --fontcol1: #083c80;
}

/* ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
} */

/* Track */
/* ::-webkit-scrollbar-track {
    background: #f1eaea;
    border-radius: 10px;
} */

/* Handle */
/* ::-webkit-scrollbar-thumb {
    background: #bea579;
    border-radius: 10px;
} */

/* Handle on hover */
/* ::-webkit-scrollbar-thumb:hover {
    background: #c4b5ac;
} */

/* .main-content {
    min-height: 80vh;
} */

body {
    color: var(--black);
    font-family: "Open Sans", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    background-color: var(--background1);
}

header,
footer {
    background-color: var(--background2);
}

header a,
footer a {
    /* color: var(--black); */
    color: #ffffff;
    text-decoration: none;
    transition: 0.2s;
}

#login_form a,
#register_form a,
#forgotPasswordCard a {
    text-decoration: none;
    color: var(--secondary);
}

.nav-link {
    font-size: small;
    color: #ffffff;
}

.nav-link:hover,
header a:hover,
#login_form a:hover,
#register_form a:hover,
#forgotPasswordCard a:hover {
    /* color: var(--secondary); */
    color: #ea8b80;
}

.nav-link:focus,
header a:focus,
#login_form a:focus,
#register_form a:focus,
#forgotPasswordCard a:focus {
    /* color: var(--secondary); */
    color: #ea8b80;
}

label {
    font-size: small;
    font-weight: 600;
}

.form {
    position: relative;
}

.form .fa-search {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #9ca3af;
}

.form span {
    position: absolute;
    right: 17px;
    top: 13px;
    padding: 2px;
    border-left: 1px solid #d1d5db;
}

.left-pan {
    padding-left: 7px;
}

.left-pan i {
    padding-left: 10px;
}

.form-input {
    height: 55px;
    text-indent: 33px;
    border-radius: 18px;
}

.form-input:focus {
    box-shadow: none;
    border: none;
}

.magazine_card,
.custom_card {
    background-color: var(--white);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: 0.3s;
    width: 12rem;
    margin: 0.6rem;
    cursor: pointer;
}

.magazine_card:hover {
    scale: 104%;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
        rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.magazine_card_img {
    width: 10rem;
    height: 12rem;
    padding: 0;
    padding-top: 0.75rem;
    margin: 0 auto;
    object-fit: cover;
}

.magazine_card_description_div {
    padding: 0.75rem 1rem 1.5rem 1rem;
    font-size: 0.8rem;
}

.btn-custom {
    font-family: "Montserrat", "sans-serif";
    font-weight: 500;
    padding: 6px 24px;
    border-radius: 8px;
    background-color: #ea8b80;
    color: #ffffff;
}

.btn-custom:focus {
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(218, 121, 121, 0.315);
}

.btn-custom:active {
    color: #fff;
    background-color: #ec7c6f;
    border-color: #f18074;
}

.btn-custom:hover {
    color: #fff;
    background-color: #f37466;
    border-color: #f17c6f;
}

.btn-outline-secondary {
    color: #ea8b80;
    border-color: #f3988d;
}

.btn-check:active + .btn-outline-secondary,
.btn-check:checked + .btn-outline-secondary,
.btn-outline-secondary.active,
.btn-outline-secondary.dropdown-toggle.show,
.btn-outline-secondary:active {
    color: #fff;
    background-color: #ec7c6f;
    border-color: #f18074;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #f37466;
    border-color: #f17c6f;
}

.btn-check:focus + .btn-outline-secondary,
.btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 105, 105, 0.315);
}

.btn-check:active + .btn-outline-secondary:focus,
.btn-check:checked + .btn-outline-secondary:focus,
.btn-outline-secondary.active:focus,
.btn-outline-secondary.dropdown-toggle.show:focus,
.btn-outline-secondary:active:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 156, 156, 0.5);
}

.magazine_card_description_span {
    font-size: 0.7rem;
    display: block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.view_details_button {
    font-weight: 300;
    text-align: center;
    font-size: 1rem;
    width: 10rem;
    background-color: black;
    height: 11.2rem;
    position: absolute;
    margin: 0.75rem 0;
    padding: 4rem 0;
    color: white;
    opacity: 0;
    transition: 0.25s;
}

.view_details_button:hover {
    cursor: pointer;
    opacity: 0.5;
}

.pdf_doc_preview {
    width: 100%;
    height: 75vh;
    margin: 0 auto;
    display: flex;
}

.main_container {
    display: flex;
    justify-content: center;
}

small {
    font-weight: 600;
    font-size: 0.8rem;
}

ul {
    list-style-type: none;
}

ul a {
    text-decoration: none !important;
}

.customLoader {
    position: absolute;
    z-index: 2;
    background-color: #ffffffb3;
    height: 100vh;
    width: 100vw;
    padding: 40vh 40vw;
    transition: 0.3s;
}

.hollowLoader {
    width: 3em;
    height: 3em;
    -webkit-animation: loaderAnim 1.25s infinite ease-in-out;
    animation: loaderAnim 1.25s infinite ease-in-out;
    outline: 1px solid transparent;
}

.hollowLoader .largeBox {
    height: 3em;
    width: 3em;
    background-color: #dd4432;
    outline: 1px solid transparent;
}

.hollowLoader .smallBox {
    height: 3em;
    width: 3em;
    background-color: #ffffff;
    z-index: 1;
    outline: 1px solid transparent;
    -webkit-animation: smallBoxAnim 1.25s alternate infinite ease-in-out;
    animation: smallBoxAnim 1.25s alternate infinite ease-in-out;
}

@-webkit-keyframes smallBoxAnim {
    0% {
        transform: scale(0.2);
    }

    100% {
        transform: scale(0.75);
    }
}

@keyframes smallBoxAnim {
    0% {
        transform: scale(0.2);
    }

    100% {
        transform: scale(0.75);
    }
}

@-webkit-keyframes loaderAnim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(90deg);
    }
}

@keyframes loaderAnim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(90deg);
    }
}

.file_preview_img {
    width: 45vw;
    margin: auto;
}

#pdf_doc_preview_div {
    display: flex;
    height: 75vh;
    overflow-y: scroll;
}

#doc_reader_div {
    display: flex;
    justify-content: start;
    height: 90vh;
    width: auto;
    overflow-y: scroll;
    overflow-x: scroll;
    margin: 0.5rem;
    transition: 0.3s;
    text-align: left;
}

.doc_controls_div {
    display: flex;
    justify-content: center;
}

.doc_page {
    display: flex;
    transition: 0.3s;
    height: 90vh;
    width: auto;
}

.doc_control_btn {
    font-size: 1.25rem;
    padding: 0 0.35rem;
    margin: 8px;
    border-radius: 25px;
}

.total_document_count_div {
    text-align: center;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    width: 16rem;
    border: 1px solid #ea8b80;
    border-radius: 18px;
}

#alphabet_btns_div,
.year_btns_div,
.category_name_btns_div,
.month_btns_div {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

#alphabet_btns_div {
    max-height: 60vh;
    overflow-y: scroll;
    padding: 2px;
}

.alphabetBtn {
    width: 18px;
    text-align: center;
}

.filterDivBtn {
    color: #555555;
    text-decoration: none;
    cursor: pointer;
    padding: 0 6px;
    margin: 2px;
    border-radius: 12px;
    transition: 0.3s;
}

.filterDivBtn:hover {
    scale: 120%;
    color: #000000 !important;
}

.accordion {
    font-size: 0.8rem;
    width: 100%;
    margin: none;
}

#login_form label,
#register_form label {
    font-family: "Montserrat", "sans-serif";
    font-weight: 500;
}

#img_drag_prevent {
    z-index: 5;
    position: absolute;
    background-color: #000000;
    opacity: 0.5;
    /* top: 3.5rem;
    left: 3.5rem; */
    top: 0;
    left: 0;
}

.filter_btns_div {
    font-size: 0.8rem;
    max-height: 60vh;
    overflow-y: scroll;
    padding: 2px;
}

.form-check-input:checked {
    background-color: #d43f3f;
    border-color: #ff3535;
}

.form-check-input:focus {
    border-color: #fe8686;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(253 13 13 / 25%);
}

.header-primary {
    color: #ff6868;
    font-family: "Montserrat", "sans-serif";
    
}

.font-400 {
    font-weight: 400 !important;
}

.font-600 {
    font-weight: 600 !important;
}