﻿@font-face {
    src: url("/assets/fonts/vazir.ttf");
    font-family: vazir;
}

@font-face {
    src: url("/assets/fonts/vazir-bold.ttf");
    font-family: vazir-bold;
}

h1, h2, h3, h4, h5, strong, b {
    font-family: vazir-bold;
}

body {
    font-family: vazir;
}

.content-title {
    font-family: vazir-bold;
    font-size: 20px;
    font-weight: bolder;
    margin: 40px 0 20px 0;
}

.content-title2 {
    font-family: vazir-bold;
    font-size: 18px;
    color: darkblue;
    background-color: lightblue;
    font-weight: bolder;
    margin: 30px 0 0 0;
    border: 1px solid darkblue;
    border-radius: 10px;
    border-bottom: none;
    text-align: center;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 100%;
}

.content-title-3 {
    font-family: vazir-bold;
    font-size: 18px;
    color: darkblue;
    font-weight: bolder;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 10px 0 0;
}

.content-title-bkg {
    background-color: #e8ecee;
    border-bottom: 1px dashed darkblue;
}




.flex-row {
    display: flex;
    flex-direction: row;
}


/* ----------------------------------------------------------------- header --------------------------------------------- */
#topBar {
    background-color: #353535;
    color: white;
    font-family: vazir-bold;
    font-size: 14px;
    padding: 8px 0;
}

.date-day {
    color: white;
}

.date-day {
    margin: 0 5px 0 15px;
}

.topHeaderSpans {
    color: white !important;
    font-family: vazir;
    margin: 0 5px 0 15px;
}




#header-middle {
    height: 200px;
    width: 100%;
    background-image: url("/picture/header.jpg");
    background-attachment: inherit;
    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: start;
    padding: 0;
}



#topNav {
    background-color: #353535;
    font-family: vazir-bold;
}

#searchBtn {
    color: white;
}

#topMain.nav-pills > li > a {
    color: white !important;
    font-size: 14px;
}

.searchBox {
    display: none;
}

.search-box-appear {
    display: inline !important;
    border: none;
}

#closeSearchBtn {
    background: inherit;
}


@media only screen and (max-width: 993px) {
    .header-mid-in {
        justify-content: start;
    }

    .header-logo-order {
        order: 2;
    }

    #topNav {
        order: 1;
    }

    .header-main-nav {
        order: 3;
        width: 100%;
    }
}

@media only screen and (max-width: 1200px) {
    #topMain.nav-pills > li > a {
        font-size: 13px !important;
    }

    #topMain2.nav-pills > li > a {
        font-size: 13px !important;
    }
}


@media only screen and (max-width: 992px) {
    #topMain li a {
        text-align: right !important;
    }
}

@media only screen and (max-width: 500px) {
    .header-quick-links {
        display: none !important;
    }


}

@media only screen and (max-width: 300px) {
    .header-date {
        font-size: 12px;
    }
}





/*  ------------------------------------------footer----------------------------------------  -->*/

#topMain2.nav-pills > li > a {
    font-size: 16px;
}

#topMain2 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    height: 60px;
    align-items: center;
}

.footer-menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

#footer > .container {
    padding-top: 0 !important;
}

.footer-image {
    background-image: url("/picture/footer.jpg");
    background-attachment: inherit;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    height: 150px;
}

#footer {
    background-color: darkblue !important;
    color: white;
}

.copyright {
    text-align: center;
    background-color: grey;
    padding: 5px !important;
}

    .copyright p {
        margin: 0;
        line-height: 30px !important;
    }

.copyright-txt1 {
    display: inline;
}


/*  ----------------------------------------------------- slider ----------------------------------------------------- */

.flex-caption {
    width: 300px;
    max-width: 300px;
    bottom: 20px;
    margin: 0;
}

.slider-caption {
    font-family: vazir-bold;
    font-size: 14px;
    color: white;
    width: 280px;
    text-align: right;
    padding: 10px;
}

/* ------------------------------------------------------ news tab --------------------------------------------------*/
.news-post-link {
    color: black;
    font-family: vazir-bold;
    font-size: 12px;
}

    .news-post-link::before {
        content: "";
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: darkblue;
        margin-left: 5px;
    }

.news-post-link-etc {
    color: black;
    font-family: vazir-bold;
    font-size: 10px;
}

.rgbaBG {
    background-color: #e8ecee;
}

.rgbaBG2 {
    font-family: vazir;
    font-size: 14px;
    background-color: blue;
    color: white;
    border-radius: 10px;
    padding: 7px 20px;
    display: inline-block;
    margin: 0 0 10px 0 !important;
}

.news-post-cell {
    padding: 10px 5px;
    margin: 0;
    border-bottom: 1px dashed darkblue;
}

.latest-news {
    margin-left: 40px;
}






/* --------------------------------------------------------- news-post -------------------------------------------------- */
.news-post-center {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.news-post-center-item {
    padding: 20px;
    margin: 0 auto;
    cursor: pointer;
    border-bottom: 1px solid #E8EAF6;
    width: 100%;
}

    .news-post-center-item:hover {
        background-color: rgba(0,0,0,0.1);
    }

.news-post-center-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: start;
    font-family: vazir-bold;
}

.news-post-center-img {
    width: 150px;
    height: 100px;
}

.news-post-center-title-mini {
    font-size: 12px;
    color: gray;
    text-align: right;
    margin: 0;
}

.news-post-center-txt {
    margin: 0;
    font-size: 12px;
    font-family: vazir;
    color: rgba(0,0,0,0.7);
    font-weight: 100;
    text-align: right;
}

.news-post-center-title {
    font-size: 14px;
    color: black;
    margin: 0;
    text-align: right;
    padding: 10px 0 5px 0;
    height:52px;
}

.news-post-center-date {
    font-size: 10px;
    color: blue;
}



@media only screen and (max-width: 450px) {


    .news-post-center-img {
        width: 60px;
        height: 50px;
    }
}








.news-post-center-titles {
    direction: rtl !important;
    text-align: right !important;
    margin-right: 15px !important;
}

.news-post-center-txt {
    margin: 0;
    font-size: 12px;
    font-family: vazir;
    color: rgba(0,0,0,0.7);
    font-weight: 100;
    text-align: right;
}
/* --------------------------------------------- ads --------------------------------------------------------------------*/
.ads-group {
    margin-top: 30px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

@media only screen and (max-width: 625px) {
    .ads-group {
        justify-content: center;
    }
}

.ads-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 20px 0;
    cursor: pointer;
}

/* --------------------------------------------------------------- news list -----------------------------------------------*/

.news-list-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: start;
}

.news-list-title-mini {
    font-size: 13px;
    font-family: vazir-bold;
    color: blue;
    margin: 0 10px 0 0;
}

.news-list-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.news-list-txt {
    font-family: vazir-bold;
    font-size: 12px;
    margin: 5px 0 0 0;
    text-align: right;
}



.news-list-header-left {
    display: flex;
    flex-flow: row nowrap;
    justify-content: start;
    align-items: start;
}



.news-list-img-sm {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}



.news-list-title-mini-left {
    font-size: 13px;
    font-family: vazir-bold;
    color: blue;
    margin: 0 10px 0 0;
}


.news-list-item {
    cursor: pointer;
    padding: 20px 5px;
    border-bottom: 1px dashed #C5CAE9;
}


    .news-list-item:hover {
        background-color: rgba(0,0,0,0.1);
    }

.news-list-title-left {
    font-size: 14px;
    color: black;
    margin: 0;
    text-align: right;
}

.news-list-titles-left {
    margin-right: 10px;
}

.news-categ-img {
    width: 100%;
    height: 150px;
    margin: 0;
    max-width:100%;

}

.news-categ-item {
    cursor: pointer;
    text-align: right;
    padding: 0 10px 10px 10px;
    min-width: 33%;
}

.news-categ-text {
    background-color: darkblue;
    color: white;
    padding: 5px 10px;
}

.news-categ-item:hover {
    background-color: rgba(0,0,0,0.1);
}

.news-categ {
    width: 100%;
    margin: 0;
    padding: 10px 0;
    border: 1px dashed darkblue;
    border-bottom: 0;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}

#center-aside2 {
    padding: 0 !important;
}

.news-categ-pkg {
    margin-bottom: 30px;
    max-width: 100%;
    padding: 0 10px 10px 10px;
    margin: 0 auto;
}

.news-categ-pkg-header {
    border: 1px solid darkblue;
    border-radius: 10px;
    border-bottom: 0;
    background-color: #e8ecee;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.conversation-list {
    width: 100%;
}

@media only screen and (max-width: 992px) {
    .conversation-list {
        margin-top: 40px;
    }
}

@media only screen and (max-width: 800px) {
    .news-categ-item {
        max-width: 200px;
    }

    .news-categ-pkg {
        max-width: 700px;
    }
}

@media only screen and (max-width: 700px) {
    .news-categ-item {
        max-width: 180px;
    }

    .news-categ-pkg {
        max-width: 600px;
    }
}

@media only screen and (max-width: 600px) {


    .news-categ-pkg {
        display: none;
    }
}
/* ------------------------------------------------------ media screen --------------------------------------------------*/


#right-aside {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    direction: rtl;
    text-align: right;
    padding: 25px 0 0 20px;
}

@media only screen and (max-width: 630px) {
    #right-aside {
        justify-content: center;
    }
}





.d-none {
    display: none;
}

@media only screen and (min-width: 1200px) {

    .d-lg-block {
        display: block;
    }
}

.post-center-title {
    display: none;
}

@media only screen and (max-width: 600px) {
    .post-center-title {
        display: block;
    }
}


#left-aside {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    max-width:100%;
}

@media only screen and (max-width: 630px) {
    #left-aside {
        justify-content: center;
    }
}

@media only screen and (max-width: 992px) {
    #left-aside {
        margin: 40px 10px;
    }

    .content-title2 {
        margin: 0px;
    }
}




.news-list-tabs {
    display: table-cell !important;
    width: 1%;
}

@media only screen and (max-width: 479px) {
    .nav-tabs > li {
        display: table-cell !important;
    }

    .news-list-tabs {
        display: table-cell !important;
    }
}

#left-aside2 {
    max-width: 100%;
    margin: 0 auto;
}

@media only screen and (max-width: 600px) {
    #left-aside2 {
        display: none;
    }

    .news-post-center {
        width: 100%;
        max-width: 300px;
        margin: 0 auto !important;
    }

    .news-post-center-title-mini {
        font-size: 10px;
        display: inline;
    }

    .news-post-center-txt {
        display: none;
    }

    .news-post-center-title {
        font-size: 11px;
        padding-top: 0;
    }

    .news-post-center-date {
        display: none;
    }

    .content-title2 {
        width: 300px;
    }

    .news-post-center-img {
        width: 70px;
        height: 50px;
    }
}

@media only screen and (max-width: 1192px) {
    #right-aside {
        padding-left: 0px;
    }
}

@media only screen and (max-width: 992px) {
    #left-aside {
        padding: 0;
    }
}

@media only screen and (max-width: 770px) {
    #left-aside {
        padding: 0 20px;
    }
}


#topMain2 {
    flex-direction: row;
}

@media only screen and (max-width: 850px) {
    #topMain2 {
        display: none;
    }
}

.search-box-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    opacity: 0.8;
}

.search-box-header-input {
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-box-header-btn {
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


.image-slider-home {
    max-width: 1300px;
    max-height: 400px;
}

.fa-bars {
    color: white !important;
}


.page-header {
    display: flex;
    flex-flow: row nowrap;
    background: rgba(0,0,0,0.05);
    font-family: vazir-bold;
    font-size: 16px;
    justify-content: start;
    align-items: center;
    padding: 20px;
    margin: 0 0 10px 0 !important;
    border-bottom: 1px solid #BDBDBD;
}


.header-article-news-categ::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-image: url("/picture/location.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 5px;
    background-position: bottom;
    transform: translateY(2px);
}

.header-article-news-type::before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-image: url("/picture/arrowleft.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 5px;
    background-position: bottom;
    transform: translateY(2px);
}

.header-article-news-type {
    margin-left: 20px;
    color: blue;
}

.header-article-news-categ {
    color: darkblue;
    cursor: none;
}

    .header-article-news-categ:hover {
        color: darkblue;
        cursor: default;
    }


#alertSuccess {
    background-color: seagreen !important;
    color: white;
}

#alertFailed {
    background-color: darkred !important;
    color: white;
}

.top-bar-socail-icon {
    margin-right: 10px;
}

.top-bar-socail-icon-img {
    transform: translate(0,-1px);
}
.container{
    padding: 0 10px!important;
}

.deactiveBtn{
    opacity:0.5;
    cursor:default!important;

}