﻿body {
    padding: 0px;
    margin: 0px;
    font-family: Vazir !important;
    font-size: 13px;
    background-image: url('/Content/Images/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

#loginbox .panel {
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, .2) !important;
}


/* Set padding to keep content from hitting the edges */

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}


/* styles for validation helpers */

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}


/******************Powered by Varnanet.ir*******************/

.loading {
    background-image: url('Images/loading.gif');
    background-position: center center;
    background-size: 36px 36px;
    width: 36px;
    height: 36px;
    display: block;
    z-index: 1000;
    margin: 0 auto;
    text-align: center;
}

.loadingBar {
    direction: rtl;
    font-family: Vazir;
    font-size: 12px;
    width: 300px;
    z-index: 100100;
    display: block;
    background-color: #FFF;
    color: #2E2E2E;
    border: 1px solid #B3B3B3;
    -webkit-transform: scale(1);
    -ms-opacity: 1;
    opacity: 1;
    -webkit-box-shadow: 0px 0px 3px 0px;
    -ms-box-shadow: 0px 0px 3px 0px;
    box-shadow: 0px 0px 3px 0px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

.k-notification {
    border: 0;
}


/* Info template */

.k-notification-info.k-group {
    background: #000000;
    background: rgba(0, 0, 0, .7);
    color: #fff;
}


/* Error template */

.k-notification-error.k-group {
    background: red;
    color: #ffffff;
    -ms-opacity: 0;
    opacity: 0;
}

.wrong-pass {
    width: 300px;
    height: auto;
    padding: 10px;
    overflow: hidden;
}

.wrong-pass h3 {
    font-size: 13px;
    font-family: Vazir;
    font-weight: normal;
    font-variant: normal;
    font-stretch: normal;
    text-align: justify;
}

.wrong-pass img {
    float: left;
}


/* Success template */

.k-notification-success.k-group {
    background: #337ab7;
    color: #fff;
    opacity: 0;
}

.success {
    width: 300px;
    height: auto;
    padding: 10px;
    overflow: hidden;
}

.success h3 {
    font-size: 13px;
    font-family: Vazir;
    font-weight: normal;
    font-variant: normal;
    font-stretch: normal;
    text-align: justify;
}

.success img {
    float: left;
}

.control-label,
label {
    font-size: 12px;
    font-family: Vazir;
    font-weight: normal;
    font-stretch: normal;
    font-variant: normal;
}

.searchPanelFrm .control-label {
    margin-top: 3px;
}

.k-textbox {
    width: 100%;
}

.k-notification {
    width: 300px !important;
    max-width: 300px !important;
}

.btn {
    font-size: 12px;
}

.panel-title {
    font-size: 14px;
}

#gridPanel {
    overflow-x: auto;
}

#gridPanel td {
    text-align: center;
}

#gridPanel .k-header {
    text-align: center !important;
}

.editBtn {
    background-image: url('Images/Icons/Flat/edit.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.deleteBtn {
    background-image: url('Images/Icons/Flat/delete.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.itemsBtn {
    background-image: url('Images/Icons/Flat/items.png');
    background-position: center center;
    -ms-background-size: 18px 18px;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.viewBtn {
    background-image: url('Images/Icons/Flat/view.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.answerBtn {
    background-image: url('Images/Icons/Flat/contact.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.contactBtn {
    background-image: url('Images/Icons/Flat/contact.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.linkBtn {
    background-image: url('Images/Icons/Flat/link.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.resetPasswordBtn {
    background-image: url('Images/Icons/Flat/resetPassword.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.activeBtn {
    background-image: url('Images/Icons/Flat/active.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.emailBtn {
    background-image: url('Images/Icons/Flat/email.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.usersBtn {
    background-image: url('Images/Icons/Flat/Users.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: block;
    cursor: pointer;
    float: left;
    margin: 1px;
}

.k-grid-content {
    height: auto !important;
    min-height: 215px !important;
}

.k-grid-toolbar {
    text-align: left;
}

.footer {
    color: #b8c7ce;
    text-align: left;
    padding: 10px;
}

.footer a {
    color: #b8c7ce;
    text-decoration: none;
}

.cke_reset_all,
.cke_reset_all *,
.cke_reset_all a,
.cke_reset_all textarea {
    font-family: Vazir !important;
}

.cke_menubutton_label {
    font-family: Vazir !important;
}

.material-switch>input[type="checkbox"] {
    display: none;
}

.material-switch>label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

.material-switch>label::before {
    background: rgb(0, 0, 0);
    -webkit-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    -ms-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    -ms-border-radius: 8px;
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    -ms-opacity: 0.3;
    opacity: 0.3;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch>label::after {
    background: rgb(255, 255, 255);
    -ms-border-radius: 16px;
    border-radius: 16px;
    -webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch>input[type="checkbox"]:checked+label::before {
    background: inherit;
    -ms-opacity: 0.5;
    opacity: 0.5;
}

.material-switch>input[type="checkbox"]:checked+label::after {
    background: inherit;
    left: 20px;
}

.tooltip-inner {
    width: 100px;
    padding: 5px;
}

.checked {
    background-image: url('Images/Icons/Flat/active.png');
    background-position: center center;
    background-size: 18px 18px;
    width: 18px;
    height: 18px;
    display: inline-grid;
}

.k-loading-image {
    background-image: url('Images/loading.gif') !important;
    background-size: 48px !important;
    border: 0 !important;
}

#ParsMyNotifications .alert,
#ParsNotifications .alert {
    border-radius: 4px;
}

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline>li {
    margin-bottom: 20px;
    position: relative;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li>.timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 20px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline>li>.timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline>li>.timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline>li>.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #999999;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body>p,
.timeline-body>ul {
    margin-bottom: 0;
}

.timeline-body>p+p {
    margin-top: 5px;
}

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }
    ul.timeline>li>.timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }
    ul.timeline>li>.timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }
    ul.timeline>li>.timeline-panel {
        float: right;
    }
    ul.timeline>li>.timeline-panel:before {
        border-left-width: 0;
        border-right-width: 15px;
        left: -15px;
        right: auto;
    }
    ul.timeline>li>.timeline-panel:after {
        border-left-width: 0;
        border-right-width: 14px;
        left: -14px;
        right: auto;
    }
}

.open .dropdown-menu {
    display: contents !important;
}