﻿.hiddenImage {
    width: 0;
    height: 0;
    visibility: hidden;
}

.dataTable img {
    height: 60px
}
.dataTable{
    word-wrap:break-word;
}
.img-control {
    max-height: 200px;
    max-width: unset;
}

.breadcrumbs {
    background: none !important;
    padding: 0 !important;
    font-size: small !important;
    margin: 0 !important;
}

.sticky-wrapper {
    margin-bottom: 0px !important;
}

.btn-view {
    display: inline-block;
    color: #bcbcbc;
    margin: 0 5px;
    transition: color .5s;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    padding: 2px 6px 0;
    font-size: 1.1rem;
}

    .btn-view:hover {
        color: #007bff;
        border-color: #007bff;
    }

.messages .message .text_wrapper {
    min-width: 200px !important
}

.ltr {
    text-align: left;
    direction: ltr;
}

#sticker h2 {
    margin-bottom: 2px;
}

.breadcrumbs > li {
    font-size: .75rem !important;
    padding-right: 4px !important;
}
.field-validation-error{
    display:block !important
}

.upload-btn-wrapper .badge {
    max-width: 235px;
    /* display: block; */
    overflow: hidden;
    vertical-align: middle;
}
.select2-selection--single {
    min-height: 40px;
}

#collapseOne .card-body {
    margin-bottom: -13px;
}


[dir="ltr"] .breadcrumbs {
    float: left
}

.commonbtn {
    font-size: 1.2rem;
    /*display: inline-block;*/
    color: #bcbcbc;
    margin-right: 5px;
    transition: color .5s;
    cursor: pointer;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.03);
    border-radius: 0.2rem;
    padding: 3px 8px 2px;
    background-color:white;
}

    .commonbtn:hover {
        color: #20c997;
    }
#btnRejectSelected:hover {
    color:#dc3545
}
.comment-reply {
    float: left;
    position: absolute;
    left: 18px;
    bottom: 22px;
}

.imagePreview img {
 max-height:300px
}

.upload-btn-wrapper{
    margin:0 !important
}

.latest-tickets {
    height: 322px !important
}
.latest-comments {
    height: 380px !important;
}

.sub-nav li.active ul.sub-nav li.active > a {
    font-weight: bold;
}

.sidenav > nav > ul.nav > li.active > .sub-nav,
.sidenav > nav > ul.nav > li.active > .sub-nav > li.active > .sub-nav {
    max-height: 50rem;
}

/*منوی سه سطحی*/
@font-face {
    font-family: 'mdi';
    src: url('../fonts/mdi/materialdesignicons-webfont.eot');
    src: url('../fonts/mdi/materialdesignicons-webfont.woff') format('woff'), url('../fonts/mdi/materialdesignicons-webfont.ttf') format('truetype');
}
.sub.active .sub-nav .sub .sub-nav {
    display: none;
    max-height: initial !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    -webkit-transition: none !important;
    transition: none !important;
}

.sub.active .sub-nav .sub > a {
    background-color: #9370b5;
}
li.active > ul.sub-nav {
    display: block !important;
    height: auto;
}
.sub.active .sub-nav .sub {
    position: relative;
}

    .sub.active .sub-nav .sub > a::before {
        content: '\F141';
        margin-left: 6px;
        font-size: 18px;
        font-family: mdi;
        vertical-align: middle;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        display: inline-block;
    }

.sub .sub-nav .sub .sub-nav {
    padding: 0 !important;
}


li.active>a::before {
    -moz-transform: rotateZ(-90deg);
    -ms-transform: rotateZ(-90deg);
    -o-transform: rotateZ(-90deg);
    -webkit-transform: rotateZ(-90deg);
    transform: rotateZ(-90deg);
}

.sidenav {
    overflow-y: auto;
    scrollbar-width: thin;
}

    .sidenav::-webkit-scrollbar-track {
        background-color: #8a65af;
    }

    .sidenav::-webkit-scrollbar {
        width: 5px;
        background-color: #5d00ba;
    }

    .sidenav::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.50);
    }

    


.classyedit {
    width: 100% !important;
}

.rating span {
    margin-right: -8px !important;
}
.logo {
    background-size: contain;
}

/*گالری تصاویر*/


[draggable] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
}

.preview {
    border-radius: 9px;
    height: 194px;
    width: 160px;
    margin: 7px;
    position: relative;
    border: 1px solid gray;
}

    .preview:hover:before {
        opacity: 1;
    }

    .preview:hover .btn-cover {
        opacity: 1;
    }

    .preview:before {
        content: "";
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.4);
        opacity: 0;
        z-index: 9;
        -webkit-transition: all 200ms ease-in;
        -moz-transition: all 200ms ease-in;
        -ms-transition: all 200ms ease-in;
        -o-transition: all 200ms ease-in;
        transition: all 200ms ease-in;
        border-radius: 9px;
    }

    .preview:after {
        content: "";
        display: block;
        width: 6px;
        height: 10px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
        position: absolute;
        z-index: 666;
        top: -5px;
        opacity: 0;
    }

    .preview img {
        width: 150px;
        border-radius: 5px;
        /* border: 1px solid gray; */
        display: inline-block;
        width: 90%;
        max-height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        right: 5%;
    }

    .preview .btn-cover {
        position: absolute;
        bottom: 7px;
        font-size: 12px;
        left: 0;
        right: 0;
        z-index: 10;
        opacity: 0;
        width: 118px;
        height: 40px;
        line-height: 5px;
        padding: 0;
        margin: 0 auto;
        top: calc(50% - 20px);
        outline: none;
    }

    .preview .text-cover {
        position: absolute;
        right: 0;
        bottom: 0;
        background-color: #28a745;
        color: #fff;
        opacity: 0;
        z-index: 999;
        margin: 0;
        border-radius: 8px 0;
        padding: 4px;
    }

    .preview .form-radio {
        display: none;
    }

    .preview .remove {
        position: absolute;
        left: -10px;
        top: -12px;
        background: red;
        border-radius: 50%;
        border: none;
        color: white;
        font-size: 18px;
        z-index: 999;
        width: 26px;
        display: inline-block;
        height: 26px;
        padding: 0;
    }

.cover {
    border: 2px solid #28a745 !important;
}

    .cover:before {
        position: absolute;
        right: -10px;
        top: -12px;
        background: #28a745;
        border-radius: 50%;
        border: none;
        color: white;
        font-size: 18px;
        width: 26px;
        display: inline-block;
        height: 26px;
        padding: 0;
        opacity: 1;
    }

    .cover .text-cover {
        opacity: 1;
    }

    .cover:after {
        opacity: 1;
        transition-delay: 0.4s;
    }
.add {
    width: 166px;
    height: 196px;
    padding-right: 10px;
}

/*پایان گالری تصاویر*/