﻿/* Move down content because we have a fixed navbar that is 50px tall */
* {
    font-family: "Vazirmatn FD", "Vazir FD", "Vazirmatn", "Vazir", sans-serif;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    Height: 80vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed
}

.btn-info {
    background-color: #f0fcff;
}

    .btn-info:hover {
        background-color: #d3e6ff;
    }

.btn-outline-info:hover {
    background-color: #d3f8ff;
}


.body-content {
    padding-inline: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-form-control-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    appearance: none;
    border-radius: .875rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

/* jumbotron for booksearchbar*/
#booksearchbar {
    padding: 15px;
    border-radius: 10px;
    background-color: #f5bb5b;
}

#search-title {
    font-size: 1.5rem;
    color: white;
    white-space: nowrap;
    background: #587295;
    padding: 5px;
    border-radius: 5px;
}

#booksdisplay {
    border-radius: 8px;
    background-color: white;
}

ul li {
    margin: 0px 5px;
}

.bg-dedicated {
    background: #ffffff;
    border-radius: 8px;
}

.d-inline {
    display: inline;
}

.m-l-50 {
    margin-left: 50px;
}

.book-image {
    width: 250px;
    height: auto;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

td {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    vertical-align: middle !important;
}

a {
    text-decoration: none !important;
}

.m-0 {
    margin: 0px;
}

footer {
    color: white !important;
}

.bg-dedicated td {
    vertical-align: middle !important;
    padding-bottom: 0px;
}

    .bg-dedicated td:hover {
        cursor: pointer;
        border-radius: 10px;
        vertical-align: middle !important;
        box-shadow: rgba(149, 157, 165, 0.15) 0px 8px 24px;
    }


.bg-body-tertiary {
    --bs-bg-opacity: 1;
    background-color: #f3f8ff !important;
}

.I404 {
    background: #dfedff;
    padding: 30px 40px;
    font-size: 1.5rem;
    border-radius: 15px;
    margin: 10px;
}

.f10 {
    font-size: 1rem;
}

.f12 {
    font-size: 1.2rem;
}

.f20 {
    font-size: 2rem;
}

.marginstyle {
    margin-right: 20%;
}

.wrapping {
    margin: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 280px;
}

#search-title {
    background-color: #1f3642;
    padding-inline: 20px;
}

.messagealert {
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 100000;
    padding: 0;
    font-size: 15px;
}

#UserPurchaseHistory {
    border-radius: 40px;
}

.pdr {
    padding-right: 20px;
    transition: all 2s linear;
}

#preloader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

.dir-ltr {
    direction: ltr;
}

.dir-rtl {
    direction: rtl;
}

.w-80 {
    width: 80% !important;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #1a3969;
    border-bottom-color: #ffc107;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.IsSimacUser,
.EmailConfirmed {
    background: #d0e0ff;
    border-radius: 15px;
    padding: 6px;
    display: block;
    transition: 0.3s;
}

.IsSimacUser {
    background: #d0e0ff;
}

    .IsSimacUser:hover {
        background: #b8ccf4;
    }

.EmailConfirmed {
    background: #d1e7dd;
}

    .EmailConfirmed:hover {
        background: #bbdacc;
    }

.span:hover {
    background: #eef3fc;
    border-radius: 15px;
    padding: 6px;
    display: block;
    transition: 0.2s;
}

td a {
    padding: 5px;
    background: #faa71b;
    border-radius: 4px;
    margin: 0px 5px;
    color: #143b4a;
}

img[alt="Captcha"] {
    border-radius: 1rem;
    width: 150px;
    height: auto;
}

#booksdisplay tbody, td, tfoot, th, thead, tr {
    padding-inline: 0;
}
