@import "fontiran.css";
@import "icomoon.css";
@import "bootstrap-reset.css";
@import "helpers.css";

/* variables */
:root {
    --defautlPadding: 27px;
    --colorMainRGB: 24,145,202;
    --colorMain: #1891ca;
    --colorMainDark: #0a2b3b;
    --colorMainSemiDark: #114258;
    --colorMainLight: #E2FDFF;
    --colorLink: #3191ff;
    --colorLinkHover: #103d71;
    --colorGreyLight: #D6D6D6;
    --colorGreyDark: #939598;
    --colorGreen: #11D968;
    --colorBlack: #303030;
    --colorRed: #e71313;
}

body{
    font-family: dana ,sans-serif!important;
    background: var(--colorMainLight);
    color: var(--colorBlack);
    font-size: 15px;
    direction: rtl;
    text-align: right;
}

.signin-page{
    position: fixed;
    width: 100%;
    display: flex;
    height: 100%;
}

.signin-page .right{
    width: 50%;
    height: 100%;
    text-align: center;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.signin-page .right .logo{
    width: 250px;
    height: auto;
    margin-bottom: 30px;
}
.signin-box{
    background: #fff;
    border-radius: 10px;
    box-shadow: -6px 2px 15px rgba(var(--colorMainRGB),0.3);
    width: 350px;
    margin: 0 auto;
    padding: 25px;
}


.signin-page .left{
    width: 50%;
    height: 100%;
    background: var(--colorGreyDark) no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.signin-page .left-content{
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 60px 20px 80px;
    background: linear-gradient(0deg,var(--colorBlack),transparent);
    width: 100%;
    color: #fff;
}
.signin-page .left-content h1{
    text-shadow: 1px 1px 2px #000;
}


/***************************** header *****/
.header{
    background: #fff;
    box-shadow: -2px 2px 10px rgba(var(--colorMainRGB),0.2);
}
.header-content{
    display: flex;
    align-items: center;
    height: 80px;
}
.header-logo{
    height: 60px;
    width: auto;
    margin-left: 60px;
    flex-shrink: 0;
}
.header-items{
    cursor: default;
    display: flex;
    width: 100%;
    align-items: center;
}
.header-items > ul > li{
    position: relative;
    display: inline-block;
}
.header-items > ul > li > a{
    color: var(--colorBlack);
    position: relative;
    transition: 200ms;
    padding: 5px 10px;
}

.header-items > ul > li > a:before{
    width: 6px;
    height: 6px;
    background: var(--colorMain);
    display: inline-block;
    content: '';
    position: absolute;
    opacity: 0;
    bottom: -12px;
    right: 0;
    left: 0;
    margin: auto;
    border-radius: 50%;
    transition: 200ms;
}
.header-items > ul > li > a:hover{
    color: var(--colorMain);
}
.header-items > ul > li > a:hover:before{
    bottom: -6px;
    opacity: 1;
}
.header-items > ul > li > ul{
    position: absolute;
    top:0;
    right: -34px;
    width: 136px;
    background: #fff;
    border-radius: 4px;
    box-shadow: -4px 2px 15px rgba(0,0,0,0.15);
    z-index: 3;
    text-align: center;
    padding: 10px!important;
    visibility: hidden;
    opacity: 0;
    transition: 250ms;
}
li.has-dropdown > a:after{
    content: "\e90b";
    font-family: 'icomoon' !important;
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px;
    color: #777;
}

.header-items > ul > li:hover > ul{
    top: calc(100% + 10px);
    opacity: 1;
    visibility: visible;
}
.header-items > ul > li > ul li{
    display: block;
}
.header-items > ul > li > ul li a{
    display: block;
    padding: 5px;
    color: var(--colorBlack);
    transition: 100ms;
}
.header-items > ul > li > ul li:hover a{
    background: var(--colorMainLight);
    color: var(--colorMain);
}

li#closeMenu{
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 46px;
    background: #fff;
    text-align: center;
    color: var(--colorBlack);
    z-index: 2;
}

#openMenu{
    font-size: 28px;
    margin-right: auto;
    width: 50px;
    text-align: left;
    line-height: 74px;
    height: 60px;
    cursor: pointer;
    display: none;
}

.box{
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: -2px 2px 12px rgba(var(--colorMainRGB),0.3);
}

.user-sidebar{
    text-align: center;

}
.user-sidebar img{
    width: 110px;
    height: 110px;
    border-radius: 50%;
}
.user-sidebar .name{
    font-weight: 700;
    font-size: 20px;
    display: block;
    margin-top: 20px;
}
.user-sidebar .mobile{
    letter-spacing: 2px;
}

.user-sidebar-link{
    background: var(--colorMainLight);
    display: block;
    padding: 10px 10px 10px 4px;
    text-align: right;
    position: relative;

}
.user-sidebar-link:before{
    content: '';
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: var(--colorMain);
    z-index: 0;
    transition: 600ms;
}

.user-sidebar-link.active:before{
    width: 4px;
}
.user-sidebar-link:hover:before{
    width: 100%!important;
}




.user-sidebar-link i{
    color: var(--colorMain);
    margin-left: 8px;
    font-size: 18px;
    vertical-align: sub;
    z-index: 1;
    position: relative;
    transition: 600ms;

}

.user-sidebar-link span{
    color: var(--colorBlack);
    font-weight: 500;
    z-index: 1;
    position: relative;
    transition: 600ms;
}

.user-sidebar-link:hover span,
.user-sidebar-link:hover i{
    color: #fff;
}


.box-title:before{
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--colorMain);
    margin-left: 8px;
}

.view-switch{
    flex-shrink: 0;
    display: block;
    cursor: pointer;
}
.view-switch:hover{
    opacity: 0.7;
}
.view-switch span{
    margin-right: 4px;
}

.view-switch.active{
    color: var(--colorMain);
}

.filters-toggle{
    display: none;
    cursor: pointer;
}

#closeFilters{
    display: none;
    margin-bottom: 20px;
    background: var(--colorRed);
    color: #fff;
    padding: 6px 12px;
    cursor: pointer;
}




.poster-item{
    display: flex;
}
.poster-item.panel{
    border: 1px solid var(--colorGreyLight);
    padding: 15px;
    border-radius: 5px;
}
.poster-item.danger{
    border-color:red;
    background: #ffe0e0;
}

.poster-item img{
    width: 90px;
    border-radius: 4px;
    height: max-content;
    margin-left: 10px;
}
.poster-item-content{
    display: flex;
    flex-direction: column;
    width: calc(100% - 95px);
}
.poster-item .title{
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    white-space: nowrap;
}
.poster-item-author{
    display: flex;
    align-items: center;
    margin-top: 8px;
}
.poster-item .category{
    color: var(--colorLink);
}
.poster-item .stars-image{
    width: 80px!important;
    height: auto;
}
.poster-list{
    padding: 15px;
    border-bottom: 1px solid;
    border-color: #eee!important;
    transition: 300ms;
}
.poster-list:hover{
    box-shadow: 0 0 15px rgba(0,0,0,0.15);
}
.poster-grid{
    border: none!important;
}
.poster-grid .poster-item{
    flex-direction: column;
}

.poster-grid .poster-item img{
    width: 100%;
    height: auto;
}

.poster-grid .poster-item .title{
    overflow: visible;
    white-space: normal;
    line-height: 26px;
    margin: 10px 0;
}
.poster-grid .poster-item .poster-item-content{
    width: 100%;
}
.poster-grid .poster-item .buttons,
.poster-grid .poster-item .category{
    display: none!important;
}
.poster-grid .poster-item .poster-item-author{
    flex-direction: column;
    align-items: start;
    margin-top: 0;
}
.poster-grid .poster-item .poster-item-author span{
    margin-top: 8px;
}


.btn-load-more{
    display: block;
    width: 220px;
    cursor: pointer;
    border: 2px solid var(--colorGreyDark);
    border-radius: 4px;
    text-align: center;
    padding: 10px 0;
    font-weight: 500;
    font-size: 16px;
    color: var(--colorBlack);
    margin: 25px auto;
    transition: 200ms;
}
.btn-load-more i, .btn i{
    display: none;
}
.btn-load-more.loading i,
.btn.loading i {
    display: inline-block;
    animation: rotating 1s linear infinite;
}
@keyframes rotating {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}
.btn-load-more.loading,.btn.loading{
    pointer-events: none;
    opacity: 0.7;
}
.btn-load-more:hover{
    background: var(--colorGreyDark);
    color: #fff;
}
.footer-bg{
    background: var(--colorMainDark);
    padding: 20px 15px;
    color: #fff;
    border-top: 4px solid var(--colorMain);
}
.social-icon{
    font-size: 20px;
    display: inline-block;
    color: #fff;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    border-radius: 4px;
}
.social-icon:hover{
    background: #fff;
    color: var(--colorMain);
}
.copyright{
    background: var(--colorMainSemiDark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}
.copyright a{
    color: #ffc107!important;
}
#userDropDown img{
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-left: 8px;
}
#userDropDown .name{

}
#btnResend.opacity-50{
    pointer-events: none;
    cursor: wait;
}









@media (max-width: 992px){

    .poster-list{
        border: none!important;
        border-bottom: 1px solid #eee!important;
    }
    .poster-list:last-of-type{
        border: none!important;
    }
    .container{
        max-width: 100%!important;
    }
    .filters-toggle{
        display: block;
    }
    #closeFilters{
        display: inline-block;
    }
    .filters{
        transition: 250ms;
        padding: 20px;
        position: fixed;
        z-index: 6;
        width: 100%;
        height: 100%;
        bottom: -100%;
        right: 0;
        background: var(--colorMainLight);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }
    .filters.show{
        bottom: 0;
        opacity: 1;
        visibility: visible;
    }
}



/*************** file upload style ***************/
.file-upload {
}

.file-upload-btn {
    width: 100%;
    margin: 0;
    color: var(--colorBlack);
    background: #ddd;
    border: none;
    padding: 10px;
    border-radius: 4px;
    transition: all .2s ease;
    font-weight: 700;
}

.file-upload-btn:hover {
    background: #bbb;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
}

.file-upload-btn:active {
    border: 0;
    transition: all .2s ease;
}

.file-upload-content {
    display: none;
}

.file-upload-input {
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    outline: none;
    opacity: 0;
    cursor: pointer;
}

.image-upload-wrap {
    border: 3px dashed #bbb;
    border-radius: 4px;
    position: relative;
    background: #eee;
}

.image-dropping,
.image-upload-wrap:hover {
    background-color: #ddd;
}

.image-title-wrap {
    padding: 0 15px 15px 15px;
    color: #222;
}

.drag-text {
    text-align: center;
}

.drag-text h3 {
    font-weight: 300;
    font-size: 25px;
    text-transform: uppercase;
    color: var(--colorGreyDark);
    padding: 30px 0;
    margin: 0;
}

.file-upload-image {
    max-height: 200px;
    max-width: 200px;
    margin: auto;
    padding: 20px;
}

.remove-image {
    width: 200px;
    margin: 0;
    color: #fff;
    background: #cd4535;
    border: none;
    padding: 10px;
    border-radius: 4px;
    border-bottom: 4px solid #b02818;
    transition: all .2s ease;
    outline: none;
    text-transform: uppercase;
    font-weight: 700;
}

.remove-image:hover {
    background: #c13b2a;
    color: #ffffff;
    transition: all .2s ease;
    cursor: pointer;
}

.remove-image:active {
    border: 0;
    transition: all .2s ease;
}



.img-small{
    width: 80px;
    height: auto;
    border-radius: 4px;
}

.poster-image{
    cursor: pointer;
}
.event-item .title{
    font-size: 19px;
    font-weight: 600;
    color: var(--colorBlack)!important;
    line-height: 30px;
}
.event-item img{
    border-radius: 6px;
}
.event-item{
    direction: rtl;
    position: relative;
    padding: 15px;
    transition: 150ms;
    border-radius: 8px;
}
.event-item:hover{
    background: #eee;
}
.event-item .label{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    padding: 10px 15px;
    background: var(--colorRed);
    color: #fff;
    border-radius:10px 0;
}
.event-item .label.active{
    background: var(--colorGreen)!important;
}
.events-slider .slider-arrow{
    opacity: 1!important;
    width: 50px!important;
}
.events-slider .slider-arrow i{
    font-size: 30px!important;
    width: 40px!important;
    height: 40px!important;
    line-height: 40px!important;
    background: var(--colorMain)!important;
}

.list-item-error{
    background: #ffdfdf;
    color: #d10000;
    margin: 4px;
    padding: 2px 8px;
    border-radius: 4px 0 0 4px;
    border-right: 3px solid;
    font-size: 15px;
    display: inline-block;
}

/** rating **/
div.stars {
    display: inline-block;
}

input.star { display: none; }

label.star {
    float: left;
    padding: 5px;
    font-size: 17px;
    color: #444;
    transition: all .2s;
}

input.star:checked ~ label.star:before {
    content: '\e9d9';
    font-family: 'icomoon' !important;
    color: #F62;
    transition: all .25s;
}

input.star-5:checked ~ label.star:before {
    color: #F62;
    text-shadow: 0 0 5px rgba(255, 102, 34, 0.48);
}

input.star-1:checked ~ label.star:before { color:
        #F62; }

label.star:hover { transform: rotate(-15deg) scale(1.3); }

label.star:before {
    content: '\e9d7';
    font-family: 'icomoon' !important;
}


.horline > li:not(:last-child):after {
    content: " |";
}
.horline > li {
    font-weight: bold;
    color:
            #ff7e1a;

}
.stars-container .field-loader{
    opacity: 0;
    visibility: hidden;
    right: 50%;
}
.stars-container.loading .field-loader{
    opacity: 1;
    visibility: visible;
    right: 0;
}
.field-loader{
    width: 100%;
    height: 100%;
    background:#fff;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 5px;
    z-index: 2;
    transition: 200ms;
}
.field-loader:after{
    content: "\e922";
    font-family: 'icomoon' !important;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    display: block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    color: var(--colorMain);
    animation: rotating 1s linear infinite;
}
.stars-viewer span:before{
    content: '\e9d7';
    font-family: 'icomoon' !important;
}
.stars-viewer span.active:before,
.stars-viewer span.active ~ span:before
{
    content: '\e9d9'!important;
    font-family: 'icomoon' !important;
    color: #F62;
    transition: all .25s;
}
/** end rating **/



/**** pagination **/
.custom-pagination {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    cursor: default;
    text-align: center;
    padding: 30px 0;
}

.paginator-item {
    display: inline-block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    margin: 4px 2px !important;
}

.paginator-link {
    width: 100%;
    height: 100%;
    display: block;
    color: #444 !important;
    border-radius: 10px !important;
    background: #e8e8e8;
    user-select: none;
    font-weight: 400;
    font-size: 15px;
}

.paginator-item.active span {
    color: var(--colorMain) !important;
    background: var(--colorBlack) !important;
}

.paginator-item.disabled .paginator-link {
    cursor: default;
    opacity: .5;
}

.paginator-link:hover {
    background: #d2d2d2;
}

.payment-row{
    background: #eee;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.payment-cell{
    display: flex;
    flex-direction: column;
}
.form-check-label img{
    cursor: pointer;
    border: 3px solid #ddd;
    border-radius: 10px;
    width: 70px;
    height: auto;
    transition: 250ms;
}
.form-check.image-check{
    padding-right: 0!important;
}
.form-check.image-check input{
    display: none!important;
}
.form-check-input:checked + .form-check-label img{
    border-color: var(--colorMain);
}

/*** loader **/
.screen-loader {
    display: none;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999999;
    user-select: none;
}

.screen-loader:before {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.screen-loader:after {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    border: 7px solid transparent;
    border-right-color: #fff;
    border-radius: 50%;
    animation: rotating 500ms infinite linear;
    display: block;
}
.qr-code svg{
    width: 100%;
    height: auto;
}

.filter-search {
    display: flex;
    align-items: center;
    height: 36px;
}

.filter-search input {
    border-left: none;
    height: 100%;
    padding: 0 8px;
    width: 100%;
    border-radius: 0 5px 5px 0;
}

.filter-search input::placeholder {
    font-size: 13px;
    color: var(--colorGreyDark);
}

.filter-search input:focus {
    border-color: var(--colorMain);
}


.filter-search .btn {
    height: 100%;
    flex-shrink: 0;
    font-size: 17px;
    line-height: 32px;
    width: 36px;
    padding: 0;
    border-radius: 5px 0 0 5px;
}

.fullscreen-image{
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.94);
    top: -50%;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: 400ms;
    text-align: center;
}
.fullscreen-image.show{
    opacity: 1;
    visibility: visible;
    top: 0;
}
.fullscreen-image.portrait img{
    width: auto;
    max-width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
}
.fullscreen-image.landscape img{
    width: 100%;
    height: auto;
    bottom: 0;
    top: 0;
    margin: auto;
    position: absolute;
    left: 0;

}
.fullscreen-image img{
    margin: auto;
    border-radius: 0;
}
.fullscreen-image.full.portrait img{
    position: static!important;
    width: 100%!important;
    max-width: 100%!important;
    height: auto!important;
}
.fullscreen-image.full.landscape img{
    position: static!important;
    width: auto!important;
    max-width: none!important;
    height: 150%!important;
}

.fullscreen-image .close{
    cursor: pointer;
    display: inline-block;
    position: fixed;
    top: 0;
    right: 0;
    padding: 15px 25px;
    background: var(--colorRed);
    color: #fff;
    text-align: center;
    font-size: 18px;
    z-index: 2;
}

.fullscreen-image .make-full{
    cursor: pointer;
    display: inline-block;
    position: fixed;
    top: 0;
    right: 150px;
    padding: 15px 25px;
    background: var(--colorMain);
    color: #fff;
    text-align: center;
    font-size: 18px;
    z-index: 2;
}

.fullscreen-image .close:hover{
    background: darkred;
}
.fullscreen-image-footer{
    position: fixed;
    bottom: 0;
    right: 0;
    background: #00000085;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.video-player{
    width: 100%!important;
    height: 200px!important;
    background: black;
}


.context-body img{
    max-width: 100%;
}
.categories-list{
    max-height: 280px;
    overflow-x: auto;
    direction: ltr;
}
.categories-list::-webkit-scrollbar {
    width: 8px;
}
.categories-list::-webkit-scrollbar-thumb {
    background-color: #cecece;
}
.categories-list::-webkit-scrollbar-thumb:hover{
    background-color: #777;
}
.categories-list::-webkit-scrollbar-track {
    background-color: #eee;
}

@media (max-width: 768px) {
    .fullscreen-image .close,
    .fullscreen-image .make-full{
        padding: 5px 10px;
        font-size: 15px;
    }
    .fullscreen-image .make-full{
        right: auto;
        left: 0;
    }

    .fullscreen-image img{
        width: 100%;
        max-width: 100%;
    }
    #userDropDown.btn-light{
        background: #fff!important;
    }
    .view-switch span{
        display: none;
    }

    .signin-page{
        position: static!important;
        flex-direction: column;
    }

    .signin-page .right{
        width: 100%;
        padding: 30px 20px;
    }
    .signin-box{
        width: 100%;
    }
    .signin-page .left{
        display: none;
    }

    .signin-page .right .logo{
        width: 220px;
    }

    .header-items{
        position: fixed;
        z-index: 8;
        top: 0;
        right: -100%;
        height: 100%;
        width: 100%;
        background: var(--colorMainDark);
        color: #fff;
        transition: 300ms;
        flex-direction: column;
    }
    .header-items > ul{
        width: 100%;
    }
    .header-items.show{
        right: 0!important;
    }
    .header-items > ul > li{
        display: block;
        width: 100%;
    }
    .header-items > ul > li > a{
        color: #fff;
        padding: 12px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .header-items > ul > li > a:before{
        border-radius: 0;
        height: 2px;
        bottom: 0!important;
    }
    .header-items > ul > li > a:hover:before{
        width: 100%;
    }
    .header-items > ul > li:last-of-type a{
        border-bottom: none;
    }
    .header-items{
        padding-top: 40px!important;
    }
    #openMenu{
        display: block;
    }
    .header-items > ul > li > ul{
        position: static;
        width: 100%;
        background: rgba(255,255,255,0.1);
        opacity: 1;
        visibility: visible;
        text-align: revert;
        border-radius: 0;
    }

    .header-items > ul > li > ul li a{
        color: #fff;
    }
    li.has-dropdown{
        border-right: 5px solid var(--colorMain);
    }
    li.has-dropdown > a{
        display: flex!important;
        justify-content: space-between;
    }
    li.has-dropdown > ul{
        display: none;
    }
    li.has-dropdown > a:after{
        color: #fff;
    }
    li#closeMenu{
        display: block;
    }
    .header-items .btn-primary{
        width: calc(100% - 22px);
        margin: 15px auto;
    }

    .user-dropdown{
        width: 100%!important;
        margin: 0!important;
        padding: 10px!important;
    }
    #userDropDown.btn-light{
        background: var(--colorMain)!important;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

}
