﻿/*خط قرمز زیر منوها صفحه اصلی*/
.hvr-underline-from-center {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden
}

    .hvr-underline-from-center:before {
        content: "";
        position: absolute;
        z-index: -1;
        left: 50%;
        right: 50%;
        bottom: 0;
        background: #92212a;
        height: 4px;
        -webkit-transition-property: left,right;
        transition-property: left,right;
        -webkit-transition-duration: .3s;
        transition-duration: .3s;
        -webkit-transition-timing-function: ease-out;
        transition-timing-function: ease-out
    }

    .hvr-underline-from-center:active:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:hover:before {
        left: 0;
        right: 0
    }
/*خط قرمز زیر منوها صفحه اصلی*/

/*سایز لوگو زبانها*/
.flag-icon {
    width: 27px;
    height: 20px;
}
/*سایز لوگو زبانها*/

/*عنوان صفحه*/
.tagline {
    color: #92212a !important;
    font-family: Arial, sans-serif;
    font-style: italic;
}
/*عنوان صفحه*/

/*لاگین*/
.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

    .form-signin .checkbox {
        font-weight: 400;
    }

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
/*لاگین*/

/*سایز تصاویر دانشگاه های برتر صفحه اصلی*/
.top-ranking-univ-img-thumb {
    max-width: 48px;
    max-height: 48px;
}
/*سایز تصاویر دانشگاه های برتر صفحه اصلی*/

/*SweetAlert Customize*/
.sweet-alert p {
    font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.sweet-alert button {
    font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
}
/*End SweetAlert Customize*/
/*styling thumbnails and modals */





.btn-primary {
    background-color: #92212a;
    border-color: #92212a;
}

.btn-info {
    background-color: #A8ADD7;
    border-color: #A8ADD7;
}


.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #92212a;
    border-color: #92212a;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    background-color: #858AB9;
    border-color: #858AB9;
}

.modal-body .pull-left {
    padding-right: 1em;
}

.modal-body .pull-right {
    padding-left: 1em;
}

.modal-footer {
    clear: both;
}

.hideselect {
    display: none !important
}

.showselect {
    display: inherit
}

.input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.RankingInputGroup {
    margin-top: 1em;
    margin-bottom: 1em;
}

.tooltip.top .tooltip-arrow {
    bottom: 0;
    left: 50%;
    margin-left: -5px;
    border-top-color: #92212a;
    border-width: 5px 5px 0;
}

.tooltip-inner {
    color: #000;
    background: #fff;
    border: solid 1px #92212a;
    font-family: 'shabnam-light-fd', sans-serif !important;
    font-size: small;
}

/*Ranking Iran Univ*/
.ranking-univ-img-thumb {
    max-width: 48px;
    max-height: 48px;
    padding: 0px 8px 0px 8px;
}

a.ranking-univ-a {
    color: #444;
}
/*End Ranking Iran Univ*/

.rank-th {
    width: -moz-min-content;
    width: -webkit-min-content;
    width: min-content;
}

.navbar-font {
    /*font-family: BYekan,'BYekan',tahoma;*/
    font-size: 17px;
}


body {
    padding-top: 10px;
    padding-bottom: 20px;
}

.media {
    font-family: BYekan,'BYekan',tahoma;
}

.footable > thead > tr > th {
    text-align: center;
}

.text-muted {
    color: #777;
}

.text-primary {
    color: #ae212a;
}

p {
    font-size: 14px;
    line-height: 1.75;
}

    p.large {
        font-size: 16px;
    }

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #ae212a;
}

    a:hover,
    a:focus,
    a:active,
    a.active {
        color: #6b212a;
    }

h1,
h2,f
h3,
h4,
h5,
h6 {
    /*text-transform: uppercase;*/
    /*font-family: BYekan,'BYekan',tahoma;*/
    font-weight: bold;
}

td {
    text-transform: uppercase;
    /*font-family: BYekan,'BYekan',tahoma !important;*/
    font-size: small;
}

th {
    /*text-transform: uppercase;*/
    /*font-family:BHoma,'BHoma',tahoma;*/
    font-size: large;
}

.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
    border: 1px solid #ddd;
}

.RankTh {
    /*font-family: BYekan,'BYekan',tahoma;*/
    font-size: small;
}

.footable > thead > tr > th {
    text-align: center;
}

.footable > tbody > tr > .td-rank {
    vertical-align: middle;
    text-align: center;
}

.footable > tbody > tr > .td-name {
    vertical-align: middle;
    font-size: 14px;
    text-align: center;
}

/*footable customize*/
.footable > thead > tr > th {
    text-align: center;
}

/*end customize*/
li.nav-item > button {
    font-size: 14px;
}

.footable > tbody > tr > .td-name {
    font-size: 18px;
    vertical-align: middle;
}
/* university rankink header style */
/*.justify-right {
    justify-content: right;
}*/
.rank-th {
    width: -moz-min-content;
    width: -webkit-min-content;
    width: min-content;
}

.footable.metro-purple thead > tr > th.footable-rank-th {
    text-align: center;
    text-align: -moz-center;
    text-align: -ms-center;
    text-align: -webkit-center;
    text-align: -o-center;
    display: table-cell;
    vertical-align: bottom;
}
/* end university rankink header style */

/*Top universities tab style*/
.nav-tabs > li.nav-item > button {
    border: none;
}

    /* active tab color */
    .nav-tabs > li.nav-item > button.active {
        color: #FFFFFF;
        background-color: #92212a;
        border: 1px solid #92212a;
    }

/*Span Round Image*/
span .img-rounded {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    border: 1px solid #808080;
    height: 140px;
    width: 140px;
    display: inline-block;
    margin: 10px;
}

    span.img-rounded > img {
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        height: 140px;
        width: 140px;
    }
/*End Span Round Image*/

/*Polaroid Image Effect*/
.polaroid {
    position: relative;
    width: 220px;
}

    .polaroid img {
        border: 10px solid #fff;
        border-bottom: 45px solid #fff;
        -webkit-box-shadow: 3px 3px 3px #777;
        -moz-box-shadow: 3px 3px 3px #777;
        box-shadow: 3px 3px 3px #777;
    }

    .polaroid p {
        /*position: absolute;*/
        text-align: center;
        width: 100%;
        bottom: 0px;
        /*font: 400 18px/1 'Kaushan Script', cursive;*/
        color: #888;
    }
/*End Polaroid Image Effect*/

/* دکمه اطلاعیه صفحه خانه */
.notice-button {
    background-color: #ffef04;
    border-color: #92212a;
    color: #92212a !important;
    font-size: 20px;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

    .notice-button:hover {
        transform: scale(1.1);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    .notice-button:focus {
        outline: none;
        box-shadow: none;
    }
/* دکمه اطلاعیه صفحه خانه */

/*جدول مربوط به دانشگاه ها و پژوهشگاه های برتر صفحه اصلی*/
.topten-table {
    border: 3px solid #92212a;
    width: 100%;
}

    .topten-table > thead > tr > th {
        background-color: #92212a;
        border: 1px solid #92212a;
        color: #fff;
        border-top: 0;
        border-left: none;
        font-weight: normal;
        text-align: center;
    }

    .topten-table > tbody > tr > td {
        text-align: center;
        padding: 4px;
        vertical-align: middle;
    }

.topten-ranking-univ-img-thumb {
    max-width: 48px;
    max-height: 48px;
}

.nav-justified > li.nav-item {
    flex-basis: fit-content !important;
}
/*جدول مربوط به دانشگاه ها و پژوهشگاه های برتر صفحه اصلی*/


@media (min-width: 768px) {
    /*.logo {
        text-align: left;
    }

    .tagline {
        font-size: 1.8em;
        text-align: right;
        padding-top: 0.5em;
    }

    form {
        width: 750px;
        margin: 0 auto;
    }

    section {
        padding: 45px 0;
    }*/

    .TopTenUnivRow {
        display: table;
        width: 100%;
    }

    .TopTenUnivCol {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }

    /*.DashboardMainScoreRow {
        display: table;
        width: 100%;
    }

    .DashboardMainScoreCol {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }

    .clients-row {
        display: table;
        width: 100%;
    }

    .clients-col {
        display: table-cell;
        vertical-align: middle;
        float: none;
    }*/

    .FractionTop {
        font-weight: bold;
        color: #92212a;
        font-size: x-large;
        margin-bottom: 5px;
    }

    .FractionBottom {
        font-size: medium;
        border-top: 1px solid #000;
        display: block;
        font-weight: bold;
    }
    
   /* .Fraction {
        display: inline-block;
        text-align: center;
    }*/
    .text-danger {
        color: #92212a !important;
    }
/*    .Fraction {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .FractionTop {
        font-weight: bold;
        color: #92212a;
        font-size: x-large;
        margin-bottom: 5px;
    }

    .FractionBottom {
        font-size: medium;
        border-top: 1px solid #000;
        padding-top: 4px;
        font-weight: bold;
    }*/
    .Fraction, .FractionTop, .FractionBottom {
        padding: 0 5px;
    }
    
    .footable > tbody > tr > .td-name {
        font-size: 18px;
        vertical-align: middle;
    }

    .ranking-univ-img-thumb {
        max-width: 96px;
        max-height: 96px;
        padding: 0px 8px 0px 8px;
    }

    .RankTh {
        text-transform: uppercase;
        /*font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;*/
        /*font-family: BYekan,'BYekan',tahoma;*/
        font-size: medium;
    }
}

/*صفحه درباره ما*/
section {
    padding: 30px 0;
}

    section h2 {
        text-transform: uppercase;
/*        font-family: BFarnaz,'BFarnaz',tahoma;
*/        font-weight: 700;
    }

        section h2.section-heading {
            margin-top: 0;
            margin-bottom: 15px;
            font-size: 30px;
        }

    section h3.section-subheading {
        margin-bottom: 75px;
        text-transform: none;
        /*font-family: BYekan,'BYekan',tahoma;*/
        font-size: 18px;
        font-style: italic;
        font-weight: 400;
    }
/*صفحه درباره ما*/
