﻿html,
body {
    font-family: IRANSans,IranYekan, Tahoma;
}

:root {
    --mainColor: #355473;
    --secoundColor: rgb(26 170 157 / 58%);
    --backgorundColor: #e1e1e1;
    --primaryColor: #355473;
}

main {
    min-height: 373px;
}
#header {
    width: 100%;
    background-color: #355473;
    border-bottom: 1px solid #355473;
    background-image: url(../../images/header.jpg);
    height: 135px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 133px;
}
.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}
table {
    width: 100%;
}

tbody, td, tfoot, th, thead, tr {
    border-width: 1px;
}

main {
    margin-top: 25px;
}

a {
    text-decoration: none;
}

    a.btn, button.btn, label {
        font-size: 12px !important;
    }

span.field-validation-error {
    font-size: 10px;
}

.form-control {
    font-size: 13px;
}

.text-justify {
    text-align: justify;
}

.text-10 {
    font-size: 10px;
}

.text-11 {
    font-size: 11px;
}

.text-12 {
    font-size: 12px;
}

.text-13 {
    font-size: 13px;
}

.text-14 {
    font-size: 14px;
}

.text-15 {
    font-size: 15px;
}

.text-16 {
    font-size: 16px;
}

.text-17 {
    font-size: 17px;
}

.text-18 {
    font-size: 18px;
}

.text-19 {
    font-size: 19px;
}

.text-20 {
    font-size: 20px;
}

.bg-main {
    background-color: var(--mainColor);
}

.btn-main {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: white;
    font-size: 15px;
    font-weight: 300;
}

    .btn-main:hover {
        background-color: var(--primaryColor);
        border-color: var(--primaryColor);
        color: white;
    }
/*#region navbar*/
.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar ul.navbar-nav li.nav-item a.nav-link {
    line-height: 40px;
    font-size: 15px;
    padding: 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-light .navbar-toggler {
    border: 0;
}

.navbar-text a {
    font-size: 14px;
    color: white !important;
}

.navbar-text span {
    color: #ccc;
}
/*#endregion*/

/*#region dropDownMenu*/
.dropdownMenu:before {
    content: '';
    position: absolute;
    display: block;
    top: -10px;
    right: 0px;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent white transparent;
}

.dropdownMenu .nav-item {
    padding-top: 0;
}

.dropdownMenu {
    background-color: white;
    min-width: 220px;
    position: absolute;
    border-top: 0px solid #4a90e2;
    border-right: 1px solid#DFDDCE;
    border-left: 1px solid#DFDDCE;
    border-bottom: 1px solid#DFDDCE;
    display: none;
    top: 80%;
    padding: 0;
    text-align: right;
    z-index: 50;
}

    .dropdownMenu li {
        position: relative;
        padding: 0;
        border-bottom: 1px solid #f3f3f3;
    }

        .dropdownMenu li:last-child {
            border-bottom: none;
        }

    .dropdownMenu .nav-item .nav-link {
        padding: 10px 25px 10px 25px;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 15px;
        color: #333;
    }

    .dropdownMenu .nav-item:nth-child(1) .nav-link {
        padding-top: 10px;
    }

    .dropdownMenu .nav-item:last-child .nav-link {
        padding-bottom: 10px;
    }
/*#endregion*/

/*#region page links*/
.page-item.active .page-link {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}

.page-link {
    color: var(--mainColor);
    border-radius: 5px;
}

    .page-link:hover {
        color: var(--mainColor);
    }
/*#endregion*/

/*#region breakPoints*/
@media screen and (min-width:991px) {
    .nav-item:hover .dropdownMenu, .dropdownMenu .nav-item:hover .dropdownMenu {
        display: block;
    }

    .dropdownMenu > .nav-item:hover .subdropdownMenu {
        display: block;
    }

    .dropdownMenu .nav-link {
        line-height: 22px !important;
    }

    .dropdownMenu .nav-item, .dropdownMenu .nav-link {
        transition: none !important;
    }

    .dropdownMenu > .nav-item:hover {
        background-color: #f7f7f7;
    }

        .dropdownMenu > .nav-item:hover > .nav-link {
            color: var(--mainColor) !important;
        }
}

@media screen and (max-width:991px) {
    .dropdownMenu {
        min-width: 100%;
        position: static;
        border: none;
        display: inline-block;
        padding: 0;
        text-align: start;
    }

        .dropdownMenu .nav-link {
            padding-right: 40px;
            line-height: 12px;
        }

    main {
        margin-top: 102px;
    }

    section.header-section {
        margin-top: 56px;
    }
}
/*#endregion*/

/*#region forum*/
.forums h1{
    font-size:25px;
}
.forum-warpper .forum-title {
    padding: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
    .forum-warpper .forum-title a{
        color:black;
    }
    .forum-warpper .forum-title:nth-child(odd) {
        background-color: #459fe6;
    }
    .forum-warpper .forum-title:nth-child(even) {
        background-color: #21af2f;
    }

.forum-warpper .forum-title h2 {
    font-size: 18px;
    margin: 0;
}
forums.forum-warpper .forum-title h2 a{
    color: white;
}
.forum-warpper .forum-title h2 a:hover{
    color: goldenrod;
}

.section-warpper {
    border: 1px solid #ccc;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

    .section-warpper th, .section-warpper td {
        font-size: 12px;
    }

    .section-warpper .section:not(:last-child) {
        border-bottom: 1px solid #ccc;
    }

.section-content {
    display: flex;
}

    .section-content i {
        font-size: 40px;
        padding-top: 5px;
    }

    .section-content .section-header {
        margin-right: 30px;
    }

        .section-content .section-header h3 {
            font-size: 16px;
        }

        .section-content .section-header h6 {
            font-size: 12px;
        }

.section-subject {
    display: flex;
    justify-content: flex-start;
    margin-top: 8px;
    margin-right: 30px;
    flex-wrap: wrap;
}
.section-subject ul {
    list-style: none;
}
a.subject-link {
    cursor:pointer;
    color:black;
    font-size:15px;
}
a.subject-link:hover {
    color: var(--primaryColor);
}
a.subject-link:hover i {
    color: var(--primaryColor);
}
/*#endregion*/

/*#region section*/
.section-dt h1{
    font-size:20px;
}
.section-dt td h2 {
    font-size: 18px;
    display: flex;
    flex-wrap: wrap;
}
.section-dt td h2 i{
    font-size:30px;
}
    .section-dt td h2 span {
        padding-top: 8px;
        padding-right: 10px;
        padding-left: 60px;
    }
/*#endregion*/

/*#region subjects*/
.subject-dt{
    display:flex;
}
    .subject-dt h1, .subject-dt h2, .subject-dt h3{
        font-size:20px;
    }
    .subject-dt i {
        margin-top: 5px;
    }
.subject-dt-tbl .subject-td-date{
    font-size:13px;
}
.subject-dt-tbl .subject-td-comment-count {
    font-size: 13px;
}
.subject-dt-tbl .subject-td-last-comment {
    font-size: 13px;
}
.subject-dt-tbl .subject-td-user {
    font-size: 13px;
}
/*#endregion*/

/*#region subjects*/
.comment-dt {
    display: flex;
}
    .comment-dt h1, .comment-dt h2, .comment-dt h3 ,.comment-dt h4 {
        font-size: 20px;
    }
    .comment-dt i {
        margin-top: 5px;
    }

.comment-date {
    display: flex;
    justify-content: space-between;
    background-color: #79c478;
    color: white;
    padding: 7px;
    font-size: 13px;
}
.comment-date-2n {
    display: flex;
    justify-content: space-between;
    background-color: #2c138f;
    color: white;
    padding: 7px;
    font-size: 13px;
}
.comment-footer {
    background-color: #79c478;
    color: white;
    padding: 7px;
    font-size: 13px;
}
.comment-footer-2n {
    background-color: #2c138f;
    color: white;
    padding: 7px;
    font-size: 13px;
}
.comment-warpper {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
}
.comment-footer a,.comment-footer-2n a{
    cursor:pointer;
}
.comment-text {
    font-size: 14px;
}
.comment-reply {
    background-color: #ccc;
    padding: 5px;
    margin: 4px;
    border-radius: 5px;
    font-size: 13px;
}
.comment-info {
    padding: 5px;
    border-left: 1px solid #ccc;
}
    .comment-info ul {
        list-style: none;
        display: flex;
        justify-content: space-between;
        padding: 0;
        font-size: 14px;
    }
/*#endregion*/
/*#region footer*/
footer {
    width: 100%;
    background-color: var(--mainColor);
    padding: 15px;
}
    footer div.st-warpper {
        border: 1px solid white;
        border-radius: 5px;
        background-color: white;
        margin-bottom: 50px;
        font-size: 14px;
    }
        footer div.st-warpper ul {
            padding: 0;
            color: #413f3f;
        }

    footer ul {
        list-style: none;
        display: flex;
        justify-content: space-between;
        color: white;
        flex-wrap: wrap;
    }

        footer ul li a {
            color: white !important;
            font-size: 15px;
            line-height: 35px;
        }

            footer ul li a.footer-icon {
                font-size: 14px;
                position: relative;
            }

                footer ul li a.footer-icon i {
                    font-size: 30px;
                    position: relative;
                    top: 5px;
                }

    footer .footer-logo {
        display: flex;
        justify-content: center;
    }

    footer a.footer-social {
        color: white !important;
        padding: 10px;
    }

    footer .footer-social i {
        font-size: 35px;
    }

    footer .copy-right p {
        font-size: 13px;
        color: white;
    }
/*#endregion*/
