﻿@media screen and (max-width: 980px) {

    .topTitle {
        padding-left: 15px;
    }

    #JadvalOghat {
        font-size: 10px;
    }

    #OghatTable {
        font-size: 8px;
    }

    #div_userdate {
        position: relative;
        top: 0;
        text-align: center;
    }

    #PrayTimesPanel li {
        padding: 10px 0px !important;
        font-size: 14px !important;
    }

    #PrayTimesPanel ul {
        width: 100% !important;
    }

    .setdate {
        margin-bottom: 25px !important;
    }

        .setdate input[type=text] {
            width: 32px !important;
        }

    #ctl00_cphMaster_rblCalendar {
        position: absolute;
    }

    #bd-root-userdate {
        bottom: 17px;
    }

    .contentbox {
        margin: 10px 0 !important;
        padding: 10px !important;
    }

    .curDate {
        font-size: 20px !important;
        margin: 15px !important;
    }

    .ptimes {
        display: contents !important;
    }

        .ptimes table {
            display: contents !important;
        }

            .ptimes table td {
                width: 30%;
            }

    .attrcontent {
        height: auto !important;
        padding: 0 !important;
        font-size: 13px !important;
    }

    .detailimage {
        width: auto !important;
        margin-left: 0 !important;
        margin-top: 12px !important;
    }

    #album img {
        width: 100% !important;
    }

    .listlastnews {
        width: 91% !important;
    }

    .listalbum {
        width: 97% !important;
        overflow: hidden !important;
        height: 190px !important;
    }

    .darkshadowalb {
        width: 100% !important;
        height: 190px !important;
    }

    .imgalbum {
        width: 100% !important;
        height: auto !important;
    }

    .lst_album a {
        top: 130px !important;
    }

    .boxShadow {
        border: none !important;
    }

    .darkshadow {
        height: 245px !important;
        top: 5px !important;
        width: 100% !important;
    }

    #h1header h1 {
        color: #fff !important;
    }


    .div_listnews {
        margin-right: 0 !important;
    }

    .listonesnews {
        margin-right: 0 !important;
    }

    .topPictorialNews_small {
        float: none !important;
        width: auto !important;
        margin: 10px 0px 10px 0 !important;
    }

    #middlecontent {
        width: 100% !important;
    }

    #float_header_res {
        position: fixed;
        width: 100%;
        z-index: 9;
        height: 54px;
        box-shadow: none;
        transition: box-shadow 0.5s;
        background-color: #000;
    }

        #float_header_res.active {
            box-shadow: 0 0 10px rgba(0,0,0,0.4);
            border-bottom: 1px solid #12202c;
            background-color: #000;
        }

    #divtopmenu li {
        padding-left: 4px !important;
        letter-spacing: 1px !important;
    }

        #divtopmenu li a {
            font-size: 14px;
        }

    #menubtn {
        display: block !important;
    }

    #divtopmenu {
        display: none;
    }

    #currentdate {
        font-size: 15px;
        margin-top: 65px !important;
    }

    #language {
        display: none;
    }

    #account {
        display: none;
    }

    #register {
        display: none;
    }

    #nojumilogo {
        background: no-repeat top right url(/Images/General/logo-3x-small.png) !important;
        height: 30px !important;
        width: 30px !important;
        left: 20px !important;
        top: 13px !important;
        float: left !important;
        right: unset !important;
    }

    #h1header {
        font-size: 7px !important;
        margin-right: 63px !important;
        top: 19px !important;
        position: absolute !important;
        letter-spacing: 0 !important;
    }

    .site-title {
        font-size: 7px !important;
        letter-spacing: 0 !important;
    }

    #h1header_en {
        display: none;
    }

    .site-subtitle {
        display: none;
    }

    #divheader {
        height: 155px !important;
    }

    #language {
        display: none;
    }

    #SearchResult {
        height: 458px !important;
        top: 140px !important;
        right: 9px !important;
        width: 93% !important;
    }

    #div_rcontent {
        width: 100%;
    }




    .topPictorialNews {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        height: 240px !important;
    }

    .listnews {
        width: 91% !important;
        display: block !important
    }

    .listonesnews {
        margin-right: 4px !important;
    }

    #div_lcontent {
        width: 100% !important;
    }

    #divfooter {
        display: none;
    }

    #nojumi_footer_logo {
        background-size: 40px 40px !important;
        height: 40px !important;
        width: 40px !important;
    }

    #footer_sitetitle {
        font-size: 11px !important;
        right: 95px !important;
    }

    #footer_ensitetitle {
        font-size: 8px !important;
        right: 37px !important;
    }
}

@media screen and (max-width: 1150px) and (min-width: 800px) {
    .listnews {
        width: 95% !important;
    }

    #divtopmenu li {
        padding-left: 10px !important;
        letter-spacing: 1px !important;
    }

        #divtopmenu li a {
            font-size: 15px;
        }
}



body {
    margin: 0 auto;
    direction: rtl;
    font-family: IranSansmed;
    background-color: #f4f4f2;
    background-repeat: repeat;
    background-size: inherit;
    background-attachment: scroll;
    background-position: center top;
}

#divfooter {
    width: 100%;
    height: 310px;
    border-top: 1px solid #ccc;
    background-color: #e0e0e0;
    padding: 20px 0;
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
}

#divtopmenu {
    text-align: center;
    height: 40px;
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    position: relative;
    top: 53px;
}

#divcontent {
    margin-bottom: 10px;
    float: right;
    width: 930px;
}



.topTitle {
    color: #fff;
    letter-spacing: 1px;
    position: absolute;
    bottom: 78px;
    right: 20px;
    z-index: 1;
    font-size: 18px;
    padding-left: 18px;
}

.topPictorialNews {
    width: 595px;
    float: right;
    height: 338px;
    margin: 0 10px 10px 0;
    padding-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.imgtopNews {
    max-width: 597px;
    max-height: 350px;
}

.topPictorialNews_small {
    width: 291px;
    float: right;
    height: 220px;
    margin: 0 13px 10px 0;
    padding-bottom: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #dcdcda;
}



.topTitle_small {
    color: #f9fcfd;
    position: absolute;
    bottom: 10px;
    right: 20px;
    z-index: 1;
    font-size: 15px;
    margin-left: 12px;
}



.continue {
    text-align: right;
    float: left;
    width: 80px;
    position: relative;
    top: 4px;
}

.imglst_news {
    float: right;
    width: 110px;
    margin-left: 10px;
}



.lst_tnews a {
    font-size: 12px;
    color: #333;
    font-weight: 500;
    top: 7px;
    position: absolute;
    padding-left: 6px;
    right: 120px;
    overflow: hidden;
    height: 78px;
}


.imgnews {
    max-width: 100px;
    max-height: 67px;
}


.topicstitle {
    float: left;
    width: 60%;
    margin-top: 8px;
    font-size: 13px;
    overflow: hidden;
    height: 62px;
}



.topicsrow {
    height: 100px;
    position: relative;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

.eventtopicdate {
    font-size: 10px;
    color: #666;
    bottom: 0;
    position: absolute;
    left: 0;
}



#contentdetail {
    padding: 20px 25px;
    background-color: #fff;
    margin-left: 10px;
    border: 1px solid rgb(224, 224, 224);
}



.textboxOghat {
    padding: 4px 8px;
    font-family: iransans;
    color: #49779b;
    margin: 8px;
    width: 200px;
    text-align: center;
}



#contentbody {
    color: #333;
    line-height: 36px;
    text-align: justify;
}



#divtopmenu li {
    padding-left: 10px;
    letter-spacing: 1px;
    position: relative;
    border-left: 1px solid #ccc;
    margin-left: 4px;
    margin-top: 8px;
}



#currentdate {
    color: #666;
    text-align: left;
    margin-left: 20px;
    float: left;
    margin-top: 10px;
}

#nojumilogo {
    background: no-repeat top right url(/Images/General/logo-m.png);
    background-size: 150px 150px;
    position: absolute;
    height: 150px;
    width: 150px;
    background-position: 0px 0px;
    right: 21px;
    top: 16px;
}

#nojumi_footer_logo {
    background: no-repeat top right url(/Images/General/logo-gray.png);
    background-size: 70px 70px;
    height: 80px;
    width: 80px;
    position: absolute;
    margin-right: 33px;
    margin-top: 10px;
}

#h1header {
    position: relative;
    margin-right: 185px;
    top: -7px;
    font-size: 14px;
    font-family: IranSans_light;
    letter-spacing: 2.0px;
    clear: both;
    width:fit-content;
}



#h1header_en {
    position: relative;
    right: 180px;
    bottom: 13px;
    font-size: 13px;
    color: #5d6d82;
    direction: rtl;
    letter-spacing: 5.6px;
    font-family: adobe arabic;
    width: fit-content;
}

/* استایل برای صفحات فرعی - همان استایل h1 */
.site-title {
    margin: 0 auto;
    color: #333;
    font-size: 2em;
    font-family: IranSans_light;
    letter-spacing: 2.0px;
    font-weight: normal;
}

/* استایل برای صفحات فرعی - همان استایل h2 */
.site-subtitle {
    font-size: 1.5em;
    color: #5d6d82;
    direction: rtl;
    letter-spacing: 5.6px;
    font-family: adobe arabic;
    font-weight: normal;
}

#footer_sitetitle {
    font-size: 17px;
    color: #9E9E9E;
    font-family: adobe arabic;
    position: absolute;
    right: 123px;
}

#footer_ensitetitle {
    font-size: 12px;
    color: #757575;
    text-align: center;
    direction: ltr;
    position: absolute;
    margin-top: 56px;
    right: 123px;
}


#searchbox {
    position: relative;
    right: 188px;
    width: 530px;
    top: 0;
}



#SearchResult {
    direction: rtl;
    box-shadow: -1px 4px 10px 0 rgba(0,0,0,.2);
    overflow-y: scroll;
    height: 440px;
    right: 188px;
    position: absolute;
    z-index: 999;
    width: 528px;
    background-color: #f9fcfd;
    padding: 0;
    border: 1px solid #ccc;
    display: none;
    top: 185px;
}

#language {
    background: no-repeat right top url(/Images/General/lang.png);
    background-size: 23px;
    color: #666;
    text-align: right;
    margin-left: 10px;
    margin-top: 10px;
    padding-right: 32px;
    padding-left: 15px;
    border-left: 1px solid #666;
    float: left;
}



#account {
    background: no-repeat right top url(/Images/General/account-outline.png);
    background-size: 23px;
    color: #9eb4cc;
    text-align: right;
    padding-right: 27px;
    padding-left: 7px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

#register {
    background: no-repeat right top url(/Images/General/account-plus-outline.png);
    background-size: 23px;
    color: #9eb4cc;
    text-align: right;
    padding-right: 28px;
    padding-left: 15px;
    border-left: 1px solid #666;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}

.ResultSearchRow {
    min-height: 40px;
    padding: 10px 10px 16px 10px;
    border-bottom: 1px solid #CCC;
    direction: rtl;
}

    .ResultSearchRow img {
        width: 50px;
        border-radius: 35px;
        height: 50px;
    }

.loader {
    height: 40px;
    width: 40px;
    position: absolute;
    top: calc(50% - 20px);
    right: calc(50% - 20px);
    -webkit-transform: translate(-50% 50%);
    -moz-transform: translate(-50% 50%);
    -ms-transform: translate(-50% 50%);
    -o-transform: translate(-50% 50%);
    transform: translate(-50% 50%);
    border-radius: 50%;
    border: .25rem solid rgba(0,0,0,.2);
    border-top-color: #777;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    z-index: 3;
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dropdown {
    font-family: iransans;
    background-color: #173862;
    color: #f9fcfd;
    padding: 5px;
    margin: 8px;
}

.dropdown_oghat {
    font-family: iransans;
    color: #f9fcfd;
    padding: 5px;
    margin: 8px;
    background: #2196F3;
    border: 1px solid #3F51B5;
    border-radius: 3px;
}

#news_list img {
    width: 100%;
    max-height: 165px;
}

#news_list .newsrow {
    height: 165px;
    background-color: #000;
    border: 1px solid #d2d3d4;
    margin: 10px 0px 5px 10px;
    padding: 10px;
    width: 97%;
    float: right;
    position: relative;
    opacity: 0.9;
}

    #news_list .newsrow a {
        font-size: 18px;
        color: #f9fcfd;
    }

#news_list .detail {
    font-size: 14px;
    color: #f9fcfd;
    position: relative;
    top: 60px;
    right: 25px;
}

.PageIndex_div {
    color: #9eb4cc;
    margin: 5px auto;
    width: 90%;
    height: 30px;
    text-align: center;
    padding: 7px 0 0;
    direction: rtl;
    border-radius: 5px;
}

.leftTitle {
    color: #fff;
    background-color: #0276a4;
    padding: 13px 45px;
    letter-spacing: 1px;
}



#crescent {
    background-color: #213046;
    padding: 20px;
    margin-left: 10px;
}

#list-group li {
    display: block;
    text-align: right;
    margin: 10px 0px;
    border-bottom: 1px solid #CCC;
    padding-bottom: 10px;
    padding-right: 20px;
}



.sider_hdtxt {
    position: absolute;
    color: #f9fcfd;
    top: 110px;
    left: 20px;
    letter-spacing: 5px;
    font-size: 10px;
}

.sider_hdsbtxt {
    position: absolute;
    color: #f9fcfd;
    top: 81px;
    right: 20px;
    letter-spacing: 1px;
    font-size: 10px;
}


.ptimes {
    width: 32%;
    display: inline-block;
    border-left: 2px solid #00BCD4;
    transition: 0.2s opacity;
}



#PrayTimesPanel li {
    width: 45%;
    text-align: right;
    padding: 5px;
    font-size: 18px;
    direction: ltr;
}

    #PrayTimesPanel li:nth-of-type(odd) {
        border-left: 1px solid #00BCD4;
        color: #4e5e73;
    }

.btnOghat {
    padding: 12px 15px !important;
    color: #fff !important;
    background: #2196F3 !important;
    border: 1px solid #3F51B5 !important;
    text-shadow: none !important;
    transition: all 400ms ease-in-out;
    z-index: 0;
    font-family: iransans;
    border-radius: 3px;
    width: 230px;
    cursor: pointer;
    margin: 5px;
}

.btnExOghat {
    padding: 12px 15px !important;
    color: #fff !important;
    background: #00bcd4 !important;
    border: 1px solid #0398ab !important;
    text-shadow: none !important;
    transition: all 400ms ease-in-out;
    z-index: 0;
    font-family: iransans;
    border-radius: 3px;
    width: 230px;
    cursor: pointer;
    margin: 5px;
}

.submenu {
    position: absolute;
    background-color: #2b8cbe;
    width: 150px;
    text-align: right;
    padding: 8px;
    font-size: 13px;
    z-index: 9;
    right: -11px;
    top: 28px;
    color: #CCC;
    border: 1px solid #999;
    display: none;
}

    .submenu a {
        font-size: 13px !important;
    }

        .submenu a:hover {
            border: none !important;
        }



.td_oghat {
    width: 10%;
    border: 1px solid #ccc;
}

.li_oghat {
    width: 10%;
    border: 1px solid #ccc;
    background-color: #ededed;
}



.tblOghat {
    width: 98%;
    text-align: center;
    border-collapse: collapse;
}

.hdttlbox {
    font-size: 20px;
    color: #1565c0;
    border-bottom: 1px dashed;
}

.atitlenews {
    text-align: right;
    vertical-align: top;
    font-size: 12px;
    color: #333;
    font-weight: 500;
}


.prayertimepage {
    direction: rtl;
    margin: 20px;
}

#loadin {
    height: 20px;
    width: 20px;
    right: 495px;
    position: absolute;
    top: 7px;
    display: none;
}

.tablinks {
    padding: 3px 15px;
    cursor: pointer;
    transition: 0.3s;
    float: right;
}
