﻿@font-face {
    font-family: 'Yekan';
    src: url('fonts/Yekan/Yekan.eot') format('embedded-opentype'), url('fonts/Yekan/Yekan.svg') format('svg'), url('fonts/Yekan/Yekan.ttf') format('truetype'), url('fonts/Yekan/Yekan.woff') format('woff');
}

@font-face {
    font-family: 'IRANSans';
    src: url('fonts/IranSans/IRANSansWeb_Light.woff') format('woff'), url('fonts/IranSans/IRANSansWeb_Light.eot') format('embedded-opentype'), url('fonts/IranSans/IRANSansWeb_Light.svg') format('svg'), url('fonts/IranSans/IRANSansWeb_Light.ttf') format('truetype');
}

body {
    width: 100% !important;
    margin-top: 10px;
    font-family: 'IRANSans';
    font-size: 12px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

#BodyContent {
    width:100%;
    padding:5px;
}
/* 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 width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}





/* My new css */


/* Top and Menu */
#topXS {
    margin:25px auto;
}

#searchBox {
    float: left;
    width: 250px;
    border: 1px solid #000000;
    padding-right: 30px;
    padding-left: 10px;
}

#searchBtn {
    float: left;
    border:0;
    background-color:transparent !important;
    margin-left: -25px !important;
    height: 24px;
    width: 24px;
}

#Emam {
    float: left;
}

#TopMenu {
    margin-top:-60px;
    color: red;
}

#Recommandations {
    margin-top:30px;
    margin-right:60px;
}

#AcmeTickerRecommandations {
    height: 0px;
    overflow-y: hidden !important;
}
    #AcmeTickerRecommandations ul li a {
        /*color: red;*/
    }
#AcmeTickerRecommandationsImg {
    padding-top: 7px;
    padding-left: 10px;
    display: inline;
    float: right;
}

.navbar-brand {
    font-size: 16px;
    color: red !important;
}

.navbar-toggler .collapsed {
    color:red !important;
}

.navbar-toggler-icon {
    color:red !important;
}
.nav-link {
    color: #000000 !important;
}

    .nav-link:hover {
        color: red !important;
    }

.navbar-toggler:not(:disabled):not(.disabled) {
    border: 0px !important;
}
/* Menu */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(+90deg);
        position: absolute;
        left: -10px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 3px;
        right: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
        margin-top: -2px;
        background-color: #e0e0e0;
    }

.dropdown-menu {
    border: 0px;
    margin-top: -5px;
    padding: 0;
}

.dropdown-item {
    color: #000000;
    font-size: 11px;
    margin-top: -1px;
    border: 1px solid gray;
    padding:5px;
    background-color: #feb3b3;
}

    .dropdown-item:hover {
        color: red;
    }



.FooterHr {
    border-top: 2px solid red !important;
}

#Tamas, #Yangin {
    
}

#BottomMenu {
    border-bottom: 1px solid red;
}


#googleMap-xs, #googleMap {
    width: 100%;
    height: 183px;
    border: 1px solid #838383;
}


#FooterAddress {
    margin-top: 60px;
    float: left;
    color: #797071;
    line-height: 24px;
}

#FooterAddress-xs {
    padding-top: 10px;
    border-top: 1px solid #797071;
    text-align: center;
    color: #797071;
}

#footerDiv {
    background-color: #797071;
    color: white;
    text-align: center;
    padding: 3px;
}

/* Go To Top */
#goToTop {
    position:sticky;
    bottom:0px;
}

#goToTop span {
    font-size: 24pt;
    color: red;
    position: absolute;
    bottom: 30px;
    right:20px;
}

/*max-width:575*/
@media (max-width: 767px) {
    #searchBox {
        width: 125px;
    }
}

.Post-Div {
    font-size: 11pt;
    text-align: justify;
    line-height: 32pt;
    font-weight: bold;
    padding: 20px !important;
}

    .Post-Div #Post-Title {
        font-size: 13pt;
        text-align: right;
        line-height: 30pt;
        color: red;
        font-weight: bold;
    }

    .Post-Div img {
        padding: 5px;
        max-width: 100%;
    }

.red-hr {
    border-top: 1px solid #fe8383;
    margin-top: -10px;
    margin-bottom: 30px;
}

.red-border {
    border: 1px solid #fe8383;
    padding: 5px;
}

.text-red {
    color: red !important;
}


/* Slider */
#mainPageSlider-indicators {
    right: auto !important;
    margin-left: 20px;
}

#hotnewsSlider-indicators {
    left: auto !important;
    margin-right: 20px;
}

    #mainPageSlider-indicators li, #hotnewsSlider-indicators li {
        width: 10px;
        height: 10px;
        border-radius: 100%;
    }



.carousel-item img {
    width: 100%;
    height:420px;
}

.slider-creator {
    display: block;
    width: 350px;
    background-color: red;
    border-radius: 5px 5px 0 0;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    position: relative;
    margin: -20px auto 0 auto;
}

.carousel-control-prev span, .carousel-control-next span {
    font-size: 64px !important;
    color: red;
}

.carousel-indicators li {
    background-color: hotpink;
}

.carousel-indicators .active {
    background-color: red !important;
}

.row .p-15 {
    padding: 0 15px;
}

#TopSlider {
    margin-bottom: 20px;
}

#News {
    margin-top: 20px;
}

#FireChief img {
    width: 100%;
    max-height: 300px;
}

#FireChief {
    text-align: center;
}

#HotNews {
    width:100%;
}
#HotNews img {
    height: 200px;
    margin-top:5px;
}


/* News Tab */
#NewsTabs {
    border-bottom: 1px solid red;
}

    #NewsTabs li a.show.active {
        background-color: red !important;
        border-radius: 5px 5px 0 0 !important;
    }

    #NewsTabs li a.active {
        color: #ffffff !important;
    }


/* teamMembersDetails */
#teamMembersDetails {
    padding-top:40px;
    background-color:#ffffff;
}
#teamDetailsHelp {
    border-right: 1px dashed #fe8383;
}
/* News Tab */
#teamDetailTabs {
    border-bottom: 1px solid red;
}

    #teamDetailTabs li a.show.active {
        background-color: red !important;
        border-radius: 5px 5px 0 0 !important;
    }

    #teamDetailTabs li a.active {
        color: #ffffff !important;
    }


/* News List */

.newsListItems {
    margin-bottom: 20px;
    margin-left: 10px;
}

.newsList img {
    width: 100%;
    min-height: 50px;
    border: 1px solid #dddddd;
}

.newsList .newsTitle {
    color: red;
    padding-top: 5px;
    text-align: justify;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.newsList .newsLead {
    padding-top: 5px;
    text-align: justify;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.newsList a {
    float: left !important;
}

.newsList hr {
    margin-top: 10px;
}


/* TitleLine */
.TitleLine {
    padding-top: 20px;
    padding-bottom: 10px;
    width: 100%;
}

    .TitleLine b {
        display: block;
        margin: 0 auto;
        text-align: center;
        color: red;
        background-color: #ffffff;
        z-index: 2;
        padding: 0 10px;
    }

    .TitleLine i {
        height: 2px;
        border-bottom: 1px solid red;
        width: 100%;
        margin-top: -10px !important;
    }

.GalleryCover {
    width: 100%;
    height: 200px;
    padding: 5px;
    border: 1px solid #dddddd;
}


/* Single News */
#SingleNews #News_Title {
    display: block;
    padding: 5px;
    color: #ffffff;
    background-color: red;
    border-radius: 5px 5px 0 0;
    font-size: 11pt;
}

#SingleNews #News_Lead {
    color: red;
    padding: 10px 5px;
    font-weight: bold;
    font-size: 11pt;
}

#SingleNews #News_DataTime {
    color: darkgray;
    font-size: 9pt;
    direction: rtl;
}

#SingleNews p {
    text-align: justify;
    line-height: 30pt;
}

#SingleNews a img {
    float: left;
    max-width: 250px;
    margin: 5px 10px 10px 0;
    border: 1px solid #dddddd;
    padding:5px;
}


#SingleNews p img {
    width: 100%;
    margin: 0px;
    border: 1px solid #dddddd;
    padding: 5px;
}

.DetailsModalImg {
    width: 100%;
    margin: 0px;
    border: 1px solid #dddddd;
    padding: 5px;
}

/* Galleries */
#GallerySlider-item img {
    width: 100%;
    max-height: 400px !important;
}



/* Modals */
.CenterModal {
    position: absolute;
    padding-top: 10%;
}


/* News Group */
.newsContentRow img {
    max-height: 250px;
    overflow: hidden;
    border: 1px solid #897506;
    width: 100%;
    padding: 5px;
    border-radius: 10px;
}

.newsContentRow a {
    padding-bottom: 20px;
    margin: 5px auto 0px auto;
    display: block;
    text-align: center;
    color: orange;
    font-size: 19px;
}

.newsContentRow h5 {
    margin-top: -15px;
    padding: 10px;
    text-align: justify;
    font-size: 14px;
}

.read-more {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 70px;
    height: 25px;
    padding: 5px;
    line-height:14px;
    display: block;
}

    .read-more a {
        color: #fff !important;
        margin-top: 0px;
        font-size: 12px !important;
        text-shadow: 2px 2px 5px #ffb366;
    }

.even {
    background-color: #c11616;
}

.odd {
    margin-bottom: 20px;
    background-color: green;
}

.content {
    margin-top: -30px;
    line-height: 36px;
}

.NewsTitleEven {
    margin-top: 15px;
    margin-bottom: -15px;
    padding: 20px 0;
    line-height: 25px;
}

    .NewsTitleEven h4 a, .NewsTitleOdd h4 a {
        display: block;
        background-color: #c11616;
        height: 30px;
        font-size: 16px;
        text-align: center;
        color: white;
        line-height: 10px;
        padding: 10px;
        border-radius: 10px 10px 0 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .NewsTitleEven hr, .NewsTitleOdd hr {
        display: block;
        width: 100%;
        border-width: 1px;
        border-color: #c11616;
        margin-top: -9px
    }

.NewsTitleOdd {
    margin-top: 15px;
    margin-bottom: -15px;
    padding: 20px 0;
    direction: ltr;
    line-height: 25px;
}

    .NewsTitleOdd h4 a {
        background-color: green !important;
    }

    .NewsTitleOdd hr {
        border-color: green !important;
    }

.NewsMainLink {
    color:#3f66c3;
}
.NewsMainLink a {
    border: 1px solid blue;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inherit;
    direction: ltr;
    text-align: left;
    padding: 2px 5px;
}


/* Paging */
.pagination-container {
    display: block;
    position: relative;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
}

#NewsTotalCount {
    display: block;
    position: relative;
    margin-right: auto;
    margin-left: auto;
}

.pagination li {
    border: 1px solid red;
    width: 20px;
    height: 20px;
    padding: 0 2px;
    margin: 0 2px;
}

    .pagination li a {
        color: red !important;
    }

    .pagination li.active {
        background-color: red;
        font-weight: bold;
    }

        .pagination li.active a {
            color: #ffffff !important;
        }

    .pagination li.PagedList-skipToNext, .pagination li.PagedList-skipToPrevious {
        border: 0;
        font-size: 14pt;
        margin-top: -4px;
    }


/* Stations */
#StationPage {
    font-size: 11pt;
    line-height: 34pt;
}

    #StationPage span {
        color: #797071;
        padding-right: 10px;
        font-size: 10pt;
    }

    #StationPage img {
        width: 100%;
        max-height: 240px;
    }

#currentStationMap {
    width: 100%;
    max-height: 300px !important;
    overflow: hidden;
}

.myMapLabel {
    display: block;
    background-color: #000000;
    padding: 0 5px;
    border-radius: 5px;
}


/* Office Sections */
#OfficeSectionsPage {
    font-size: 12pt;
    line-height: 36pt;
}

    #OfficeSectionsPage span {
        color: #797071;
        padding-right: 10px;
        font-size: 11pt;
    }

    #OfficeSectionsPage img {
        width: 100%;
        max-height: 435px;
    }
#sendPmHim{
    text-align: left;
}
    #sendPmHim a {
        color: orangered;
        font-size: 10pt;
    }
    #sendPmHim a:hover {
        color: red;
        text-decoration:none;
    }
        #sendPmHim a span {
            color: orangered;
            font-size: 9pt;
        }
            #sendPmHim a span:hover {
                color: red;
                text-decoration: none;
            }

/* Captcha */
#MsgCaptcha {
    background-image: url('/Dashboard/Captcha');
    background-position: left center;
    background-repeat: no-repeat;
}

#RefreshMsgCaptcha {
    font-size: 14pt;
    margin-top: 10px;
    color: #764ac8 !important;
    cursor: pointer;
}

    #RefreshMsgCaptcha:hover {
        text-decoration: none;
    }

/* Post List */

.PostsListItems {
    margin-bottom: 20px;
    padding-left: 10px;
    font-size: 10pt;
}

    .PostsListItems img {
        width: 100%;
        min-height: 100px;
        margin-top:10px;
        border: 1px solid #dddddd;
        padding:5px;
    }

    .PostsListTitle, .PostsListLead {
        padding-top: 5px;
        margin-top:0px;
        line-height:32px;
        text-align: justify;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    .PostsListTitle {
        color: red;
    }


.PostsListReadMore {
    float: left !important;
    margin-top: -16px;
}

.PostsListItems hr {
    margin-top: 10px;
}

/* Single Post */
#SinglePost #Post_Title {
    display: block;
    padding: 5px;
    color: #ffffff;
    background-color: green;
    border-radius: 5px 5px 0 0;
    font-size: 11pt;
}

#SinglePost #Post_Lead {
    color: green;
    padding: 10px 5px;
    font-weight: bold;
    font-size: 11pt;
}

#SinglePost #Post_DataTime {
    color: darkgray;
    font-size: 9pt;
    direction: rtl;
}

#SinglePost p {
    text-align: justify;
    line-height: 30pt;
}

#SinglePost a img {
    float: left;
    max-width: 250px;
    margin: 5px 10px 10px 0;
    border: 1px solid #dddddd;
    padding: 5px;
}

#SinglePost p img {
    width: 100%;
    margin: 5px;
    border: 1px solid #dddddd;
    padding: 5px;
}

.PostMainLink {
    color: #3f66c3;
}
    .PostMainLink a {
        border: 1px solid blue;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: inherit;
        direction: ltr;
        text-align: left;
        padding: 2px 5px;
    }

.lText {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical
}