/*
Tadbir Arzyabi 97 Custom Styles
 Colors:
 #34386d
 #9d9e9e
 #00d8d6
 #00C6C4
 #ebecf1
*/

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/material/MaterialIcons-Regular.eot');
    src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url('../fonts/material/MaterialIcons-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/material/MaterialIcons-Regular.woff2') format('woff2'),
    url('../fonts/material/MaterialIcons-Regular.woff') format('woff'),
    url('../fonts/material/MaterialIcons-Regular.ttf') format('truetype'),
    url('../fonts/material/MaterialIcons-Regular.svg') format('svg');
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/vazir/Vazir-FD.eot?#') format('eot'),
    url('../fonts/vazir/Vazir-FD.woff') format('woff'),
    url('../fonts/vazir/Vazir-FD.woff2') format('woff2');
}

html, body {
    font-family: "Vazir", "IRANSans-web", sans-serif;
    font-size: 14px;
}

h1, h2, h3, h4, h5, h6, span, div {
    font-family: "Vazir", "IRANSans-web", sans-serif;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: rtl;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
    vertical-align: middle;
}

/*
Layout
====================================
*/

.skin-1 #page-wrapper {
    background-color: #ebecf1;
}

.skin-1 .wrapper-content {
    padding-top: 60px;
}

.alerts .alert {
    margin-top: 30px;
    margin-bottom: 10px;
}

.login-body {
    background-color: #9d9e9e;
}

.login-body:before {
    content: "";
    position: absolute;
    background-color: #34386d;
    width: 100%;
    height: 75%;
    top: -25%;
    transform: skew(0deg, -8deg);
}

.login-body .content-wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.login-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 50px 30px 30px 30px;
    /*
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17);
        border-radius: 5px;*/
    background-color: #ffffff;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .15);
    border-radius: 12px;
    text-align: center;
}

.login-logo {
    position: absolute;
    height: 80px;
    width: 140px;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.login-logo > img {
    margin: 10px auto;
}

.navbar {
    position: relative;
    padding: 5px 0;
    margin-bottom: 0;
}

.topbar-right {
    float: right;
}

.topbar-logo-wrap {
    height: 100%;
    display: inline-block;
    margin-left: 15px;
}

.topbar-hint {
    display: inline-block;
    padding: 6px;
    margin-top: 12px;
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
    border-radius: 4px;
}

.nav-btns {
    float: left;
}

.nav-btns a {
    color: #ffffff;
}

.nav-btns a:hover {
    color: #ffffff;
}

.logout-btn {
    line-height: 40px;
    padding: 0 15px;
}

i.fa {
    vertical-align: middle;
}

.slogan {
    font-size: 1.5em;
    font-weight: bold;
}

.slogan-year {
    display: inline-block;
    background-color: #34386d;
    color: #ffffff;
    padding: 5px;
    border-radius: 10px;
    animation-duration: 5s;
}

.powered-by {
    float: left;
}

/*
Buttons & Forms
====================================
*/

.btn {
    height: 40px;
    white-space: nowrap;
    background-color: #00d8d6;
    border: none;
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    border-radius: 4px;
    transition: all .15s ease;
}

.btn:hover {
    background-color: #00C6C4;
    /*transform: translateY(-1px);*/
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
}

.btn:focus, .btn:active {
    background-color: #00C6C4 !important;
    box-shadow: none;
}

.btn-danger {
    color: #FFFFFF;
    background-color: #ed5565;
    border-color: #ed5565;
}

.btn-danger:hover, .btn-danger:active, .btn-danger:focus {
    color: #ffffff !important;
    background-color: #ec4758 !important;
    border-color: #ec4758 !important;
}

.form-control {
    height: 40px;
    border: 1px solid #9d9e9e;
    border-radius: 4px;
    transition: all .15s ease;
    /*box-shadow: 0 4px 6px rgba(50,50,93,.11), 0 1px 3px rgba(0,0,0,.08);*/
}

.form-control:focus {
    border-color: #00C6C4 !important;
}

/*
Components
====================================
*/

.widget-box {
    position: relative;
    background-color: #ffffff;
    text-align: center;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .15);
    border-radius: 12px;
    padding: 60px 20px 20px 20px;
    margin-bottom: 80px;
}

.widget-header {
    width: 90%;
    min-height: 80px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 15px;
    text-align: right;
    background-color: #34386d;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .15);
    border-radius: 5px;
}

.widget-heading {
    margin-top: 0;
    font-size: 1.4em;
    color: #ffffff;
    font-weight: bold;
}

.widget-header > p {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 0.9em;
    color: #ffffff;
    font-weight: 100;
}

.person-item {
    min-height: 40px;
    margin-bottom: 10px;
    padding: 0 15px;
    line-height: 40px;
    border: 1px solid #9d9e9e;
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    transition: all .15s ease;
}

.person-item:hover {
    background-color: #00d8d6;
    border-color: #ffffff;
}

.persons-list a {
    color: #676a6c;
}

.persons-list a:hover {
    color: #ffffff;
}

.persons-list a:hover .status-filled, .person-item .item-info .status-not-filled {
    color: #ffffff;
}

.person-item .item-info {
    height: 100%;
    float: right;
}

.person-item .item-info .status-filled {
    color: #00d8d6;
}

.person-item .item-info .status-not-filled {
    color: #ed5565;
}

.person-item .item-label {
    float: left;
}

.person-name {
    display: inline-block;
    text-align: right;
    font-weight: bold;
}

.person-name.same-lh {
    line-height: 40px;
}

.person-company {
    display: inline-block;
    text-align: right;
    font-weight: 100;
    font-size: 0.9em;
}

.person-item .item-label {
    /*background-color: #9d9e9e;
    border-radius: 10px;
    height: 20px;*/
    line-height: 40px;
}

.person-item .item-label .label {
    background-color: #34386d;
    padding: 2px 12px;
    font-family: "Vazir";
    font-size: 0.9em;
    font-weight: 100;
    user-select: none;
}

.person-item-danger {
    border: 1px solid #ed5565;
}

.person-item-success {
    border: 1px solid #00d8d6;
}

/*
User Dashboard
====================================
*/

.widget-user {
    /*background-color: #34386d;
    color: #ffffff;*/
    padding: 80px 20px 20px 20px;
    margin-bottom: 80px;
}

.widget-user-avatar {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 10px;
    background-color: #ffffff;
    box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .15);
    border-radius: 5px;
}

.widget-result .row {
    display: none;
}

.eval-report {
    height: 100px;
    width: 100%;
    line-height: 100px;
    border: 1px solid #9d9e9e;
    border-radius: 5px;
    font-size: 1.2em;
    transition: all .15s ease;
}

.eval-report a {
    color: #202020;
}

.eval-report:hover {
    background-color: #00d8d6;
    border-color: #ffffff;
}

.eval-report:hover a {
    color: #ffffff;
}

.widget-comments textarea, #formExtraNotes {
    resize: none;
}

.widget-article .widget-header {
    text-align: center;
    line-height: 50px;
}

.widget-article article {
    text-align: right;
}

.eval-form-profile {
    text-align: right;
}

#tblForm thead {
    color: #ffffff;
}

#tblForm thead tr td {
    background-color: #34386d;
}

#tblForm textarea {
    resize: none;
    min-height: 100px;
}

.widget-eval-form {
    margin-bottom: 40px;
}

.widget-eval-form .alert {
    margin-bottom: 0;
}

/*
Admin Dashboard
====================================
*/

.dashboard-charts {
    width: 100% !important;
    height: 400px;
}

.chart-wrap {
    padding: 15px;
}

.holding-chart {
    min-height: 140px;
}


.widget-chart .widget-heading {
    text-align: center;
    line-height: 50px;
}

.widget-chart .chart-subheading {
    margin: 5px 0;
    font-size: 0.9em;
}

.widget-persons {
    margin-bottom: 60px;
}

.widget-persons-list {
    margin-bottom: 40px;
}

.widget-persons-list .widget-heading {
    text-align: center;
    line-height: 50px;
}

.widget-persons-list .widget-header + .text-center {
    margin-bottom: 15px;
}

.table-top-btn {
    line-height: 40px;
    padding-top: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
    padding-left: 0;
}

div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
    padding-right: 0;
}

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0;
    margin-right: 0.5em;
}

div.dataTables_wrapper div.dataTables_info {
    text-align: right;
}

#dataTables thead tr th {
    background-color: #34386d;
    color: #ffffff;
}

#dataTables .name, #dataTables .fullname, #dataTables .company, #dataTables .position {
    width: 10%;
}

#dataTables .msg {
    font-weight: 100;
    text-align: right;
}

.widget-tree-top {
    margin-bottom: 10px;
}

.widget-tree {
    margin-bottom: 30px;
    padding-top: 20px;
    text-align: right;
    overflow: auto;
}

.dataTables_length .form-control.input-sm {
    height: 40px;
}

/*
Responsive
====================================
*/

@media screen and (max-width: 1550px) {
    .widget-header > p {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 768px) {
    .eval-report {
        margin-bottom: 15px;
    }

    .slogan {
        font-size: 1em;
    }
}

@media screen and (min-width: 551px) and (max-width: 1310px) {
    .topbar-hint {
        float: right;
        width: 65%;
        margin-bottom: 10px;
    }

    .logout-btn {
        float: left;
        width: 30%;
        margin-top: 20px;
    }
}

@media screen and (min-width: 551px) and (max-width: 990px) {
    .topbar-right {
        width: 100%;
        float: none;
        line-height: 60px;
    }

    .topbar-logo-wrap {
        float: right;
        width: 30%;
        text-align: right;
    }

    .slogan {
        width: 65%;
        float: left;
        text-align: left;
    }
}

@media screen and (max-width: 990px) {
    .topbar-hint {
        font-size: 0.9em;
    }
}

@media screen and (min-width: 720px) and (max-width: 1200px) {
    .nav-btns {
        width: 100%;
        text-align: center;
    }

    .topbar-right {
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 550px) {

    .dataTables_wrapper {
        padding: 5px;
    }

    .topbar-hint {
        margin-top: 0;
        margin-bottom: 10px;
        width: 100%;
    }

    .logout-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .topbar-right {
        float: none;
        width: 100%;
        text-align: center;
    }

    .topbar-logo-wrap {
        width: 100%;
        display: block;
        margin-bottom: 10px;
    }

    .slogan {
        display: inline-block;
        font-size: 0.9em;
        margin-bottom: 10px;
    }

    .powered-by {
        float: none;
        width: 100%;
        font-size: 0.9em;
        text-align: center;
        margin-bottom: 10px;
    }

    .copyright {
        width: 100%;
        font-size: 0.9em;
        text-align: center;
    }

    .table-top-btn {
        width: 100%;
        margin-bottom: 5px;
    }

}

@media screen and (max-width: 425px) {
    .login-box {
        margin: 15px;
        padding: 50px 15px 15px 15px;
    }

    .person-item .item-info {
        float: none;
        width: 100%;
        text-align: right;
    }

    .person-name, .person-name, .item-label {
        font-size: 0.8em;
    }

    .person-item {
        padding: 0 5px;
    }

    .person-item-seperator {
        display: none;
    }

    .widget-box {
        padding-top: 120px;
    }

    .widget-persons-list {
        padding-top: 60px;
    }

    .widget-tree-top {
        padding: 25px;
    }

    .widget-tree {
        padding-top: 20px;
        margin-bottom: 45px;
    }

}