/*--------------------------------------------------------------
# Fonts
--------------------------------------------------------------*/
@font-face {
    font-family: General;
    src: url('../fonts/IRANSansRegular.ttf');
    font-weight: normal;
    font-style: normal;
}

.dropdown-toggle::after {
    display: none !important;
}
.dropdown-item {
    text-align: right !important;
}
body {
    background-color: #f5f5f5;
}
h1, h2, h3, h4, h5, h6, div, p, span, b {
    direction: rtl;
    text-align: justify;
    font-family: General;
    text-justify: inter-word;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(128, 128, 128, 0.7);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5221BD;
}
::placeholder {
    text-align: center;
}
label {
    font-weight: 900;
}
input[type="text"], input[type="number"], textarea {
    background-color : #F5F5F5 !important;
}
select {
    background-color : #e7e7e7 !important;
    border: none !important;
    height: 45px;
    box-shadow: 3px 3px 8px 0 rgba(128, 128, 128, 0.72);
    direction: rtl;
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    left: 15px;
    bottom: 15px;
    z-index: 996;
    background: #cc1616;
    width: 40px;
    height: 40px;
    transition: all 0.4s;
}
.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
}
.back-to-top:hover {
    background: #e72323;
    color: #fff;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero-section {
    background-image: url("/upload/assets/HeroSection.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 1vw;
}
.hero-section .layout {
    margin: 0;
    border-radius: 10px;
    aspect-ratio: 1 / 0.44;
    background-color: rgba(32,32,32,0.5);
}
.hero-section .layout h1 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 20px 10px;
    text-shadow: 2px 2px rgba(0, 0, 0, 0.75);
}
.slogan {
    margin-top: 6.5vw;
    margin-right: 8.5vw;
    width: 60%;
    max-width: 303px;
    height: auto;
}
.data-section {
    margin-top: 6.5vw;
    margin-right: 20vw;
}
.data-section img {
    width: 230px;
    max-width: 80%;
    height: auto;
}
.data-section a {
    display: block;
    width: 230px;
    max-width: 80%;
    min-height: 20px;
    max-height: 50px;
    background: #F5F5F5;
    border-radius: 1vh;
    text-align: center;
    padding: 0.375rem 1px;
    font-weight: 800;
    font-size: 2vmin;
    color: #202020;
    margin: 1vh 0;
    vertical-align: middle;
    text-decoration: none;
}
.hero-contact {
    min-height: 8vh;
    padding-top: 8vw;
}
.hero-contact p {
    margin: auto 0 0 0;
    font-size: 20px;
    text-align: left;
    color: #F5F5F5;
    padding-left: 20px;
}
/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq-title {
    font-weight: 900;
    font-size: 32px;
    text-align: center;
    color: #202020;
    margin: 50px 0;
}
.faq-container {
    background: #FFFFFF;
    border: 4px solid #5221BD;
    border-radius: 20px;
}
.faq-btn {
    width: 100%;
    padding: 1.6rem 2rem;
    font-size: 16px;
    cursor: pointer;
    background: inherit;
    border: none;
    outline: none;
    text-align: right;
    transition: all 0.5s linear;
}
.faq-btn p {
    display: inline-block;
    max-width: 90% !important;
    margin: 0;
}
.faq-btn:after {
    font-family: FontAwesome;
    content: "\f0dd" !important;
    font-size: 20px !important;
    float: left;
    transition: all 0.3s linear;
}
.faq-btn.is-open:after {
    transform: rotate(180deg);
}
.faq-btn:hover, .acc-btn.is-open {
    color: #000;
    font-weight: bold;
}
.faq-content {
    max-height: 0;
    color: rgba(0,0,0,0.75);
    font-size: 15px;
    margin: 0 2rem;
    padding-left: 1rem;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    border-bottom: 1px solid #ccc;
}
/*--------------------------------------------------------------
# posts
--------------------------------------------------------------*/
.post-banner {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}
.post-content {
    height: fit-content;
    min-height: 10vw;
    background: #FFFFFF;
    border: 4px solid #5221BD;
    border-radius: 5px;
    padding: 25px;
}
.post-content .title {
    font-size: 24px;
    font-weight: 900;
    line-height: 36px;
}
.post-content .content {
    font-size: 14px;
    overflow: hidden;
}
/*--------------------------------------------------------------
# register
--------------------------------------------------------------*/
.register-title {
    font-weight: 900;
    font-size: 32px;
    text-align: center;
    color: #202020;
}
.register-box {
    max-width: 410px;
    width: 100%;
    min-height: 270px;
    height: fit-content;
    background: #FFFFFF;
    border: 4px solid #5221BD;
    border-radius: 20px;
    margin: 45px 15px;
}
.register-box .content {
    text-align: center;
    font-weight: 900;
    font-size: 18px;
    margin: 25px 0;
    color: #202020;
}
.register-box .submit-btn {
    width: 270px;
    height: 40px;
    background: #00C800;
    border-radius: 5px;
    border: none;
    font-weight: 900;
    font-size: 15px;
}
/*--------------------------------------------------------------
# information
--------------------------------------------------------------*/
.info-head {
    font-weight: 900;
    font-size: 28px;
    text-align: center;
    margin: 50px auto;
}
.info-box {
    background: #FFFFFF;
    border: 4px solid #5221BD;
    border-radius: 20px;
    margin-bottom: 50px;
}
.info-box .info img {
    width: 40px;
    height: 40px;
    margin: 25px;
}
.info-box .info .content {
    font-weight: 900;
    font-size: 20px;
    color: #202020;
    margin: 0 15px;
}
.about-banner {
    width: 100%;
    height: auto;
    max-width: 440px;
    margin: 50px 0;
}
.about-subject {
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}
.about-content {
    font-size: 17px;
    padding: 0 3vw 15px 3vw;
}
/*--------------------------------------------------------------
# dashboard section
--------------------------------------------------------------*/
.accessibility {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 0 15px 3px rgba(128, 128, 128, 0.3);
    padding: 20px 8px;
    max-width: 1000px;
    margin: 0 auto;
}
.accessibility .links {
    display: inline-block;
    font-weight: 900;
    font-size: 15px;
    margin: 0 5px 0 0;
    text-decoration: none;
    color: #000000;
}
.accessibility .link-icon {
    display: inline-block;
    width: 25px;
    height: 25px;
}
.content-box {
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 0 15px 3px rgba(128, 128, 128, 0.3);
    padding: 50px 15px;
}
.content-box h1 {
    font-weight: 900;
    font-size: 18px;
    text-align: center;
    color: #202020;
    padding-bottom: 60px;
}
/*--------------------------------------------------------------
# back button
--------------------------------------------------------------*/
.back-button-box {
    display: none;
    margin: 20px 40px 0 0;
}
.back-button-box a {
    text-decoration: none;
    color: #4f4f4f !important;
    font-weight: 900;
    font-size: 16px;
}
.back-button-box a i {
    font-size: 20px;
}
@media (max-width: 990px) {
    .back-button-box {
        display: block;
    }
}
.help-block-error {
    color: red;
}