﻿:root {
    --primary: #02346d;
    /*--primary: rgba(2, 52, 109);*/
    --secondary: #428bca;
    --danger: #bd2f34;
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../Fonts/IRANSansWeb.eot');
    src: url('../Fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../Fonts/IRANSansWeb.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../Fonts/IRANSansWeb.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../Fonts/IRANSansWeb.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../Fonts/IRANSansWeb_Bold.eot');
    src: url('../Fonts/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */
    url('../Fonts/IRANSansWeb_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/
    url('../Fonts/IRANSansWeb_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../Fonts/IRANSansWeb_Bold.ttf') format('truetype');
}


html {
    font-size: 13px;
    font-family: IRANSans;
}

@media (min-width:576px) {
    html {
        font-size: 13.5px;
        font-family: IRANSans;
    }
}

@media (min-width:768px) {
    html {
        font-size: 14px;
        font-family: IRANSans;
    }
}

@media (min-width:992px) {
    html {
        font-size: 14.5px;
        font-family: IRANSans;
    }
}

@media (min-width:1200px) {
    html {
        font-size: 15px;
    }
}

* {
    font-family: IRANSans;
    transition: 0.3s ease-out !important;
}

body {
    padding-top: 55px;
    min-height: 100vh;
    background-color: rgba(0,0,0,0.05);
    position: relative;
    padding-bottom: 7em;
}

.body-content {
    padding-bottom: 3em;
    z-index: 7;
}



/***Navbar***/
.navbar {
    background-color: var(--primary) !important;
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.3em 1em;
    z-index: 10;
}

    .navbar .container > div {
        position: relative;
        width: 100%;
    }

    .navbar .navbar-toggler {
        padding-right: 0;
    }

    .navbar .navbar-toggler {
        height: 50px;
    }

    .navbar a.navbar-brand {
        height: 50px;
        position: absolute;
        left: 0;
        margin-left: 0;
        margin-right: 1em;
        z-index: 15;
        display: inline-flex;
    }

        .navbar a.navbar-brand.navbar-refer {
            margin-left: 2.9em;
        }

nav a.navbar-brand > img {
    height: 100%;
    object-fit: contain;
    object-position: center left;
    border-radius: 0.1em;
    /*float:left;*/
}
/*nav a.navbar-brand > img:nth-of-type(2){
        margin-left:0.5em;
    }*/
.navbar-nav {
    padding: 0.4em 0;
}

.dropdown .dropdown-menu .dropdown-item:active, .dropdown .dropdown-menu .dropdown-item:hover, .dropleft .dropdown-menu .dropdown-item:active, .dropleft .dropdown-menu .dropdown-item:hover, .dropright .dropdown-menu .dropdown-item:active, .dropright .dropdown-menu .dropdown-item:hover, .dropup .dropdown-menu .dropdown-item:active, .dropup .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary);
}

.navbar .nav-item .nav-link {
    padding: 0.65em 1em;
}

@media (max-width:992px) {
    .navbar .nav-item .nav-link {
        padding: 0.8em 1em;
    }
}

.dropdown .dropdown-menu.dropdown-primary .dropdown-item.active, .dropdown .dropdown-menu.dropdown-primary .dropdown-item:active, .dropdown .dropdown-menu.dropdown-primary .dropdown-item:hover, .dropleft .dropdown-menu.dropdown-primary .dropdown-item.active, .dropleft .dropdown-menu.dropdown-primary .dropdown-item:active, .dropleft .dropdown-menu.dropdown-primary .dropdown-item:hover, .dropright .dropdown-menu.dropdown-primary .dropdown-item.active, .dropright .dropdown-menu.dropdown-primary .dropdown-item:active, .dropright .dropdown-menu.dropdown-primary .dropdown-item:hover, .dropup .dropdown-menu.dropdown-primary .dropdown-item.active, .dropup .dropdown-menu.dropdown-primary .dropdown-item:active, .dropup .dropdown-menu.dropdown-primary .dropdown-item:hover {
    background-color: var(--primary) !important;
}






/***Footer***/
footer.page-footer {
    /*background-color: gray;*/
    position: absolute;
    border-top: solid 1px rgba(112, 112, 112, 0.2);
    font-size: 0.9em;
    padding: 0.2em 5% 0.6em;
    /*margin-top: 2em;*/
    line-height: 1.7;
    bottom: 0;
    width: 100%;
    left: 0;
}

    footer.page-footer .footer-copyright {
        background-color: transparent;
        color: rgba(0,0,0,0.55);
        font-weight: 400;
    }

        footer.page-footer .footer-copyright a {
            transform: translateY(-0.05em);
            display: inline-block;
            color: inherit;
            font-weight: 600;
        }

            footer.page-footer .footer-copyright a:hover {
                color: var(--primary);
            }






.page-banner {
    /*height: 17em;*/
    height: 18em;
    width: 100%;
    left: 0;
    position: relative;
    z-index: 2;
    position: relative;
}

    .page-banner.page-banner-contain {
        display: table;
        height: auto;
    }

        .page-banner.page-banner-contain img {
            object-fit: contain;
        }

    .page-banner > h1 {
        position: absolute;
        left: 1em;
        right: 1em;
        bottom: 3.4em;
        z-index: 3;
        text-align: center;
        font-size: 2.6em;
        color: #fff;
        opacity: 0.9;
        font-weight: 600;
    }

@media (max-width:576px) {
    .page-banner > h1 {
        bottom: 2.9em;
    }
}

.page-banner > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.22;
}

.page-banner:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
}



.page-banner + .page-container {
    /*margin-top: -6em;*/
    margin-top: -4.5em;
    z-index: 3;
    position: relative;
}

@media (max-width:576px) {
    .page-banner + .page-container {
        margin-top: -3.5em;
    }
}








.card {
    /*padding: 0.5em 0;*/
    padding: 2em 0 1.5em;
    border-radius: .35rem;
}

/*.card-title {
    display: block;
    width: 100%;
    border-bottom: solid 1px rgba(0,0,0,0.1);
    padding: 1em;
}

    .card-title > h1 {
        display: inline-block;
        width: calc(100%-5em);
        font-size: 1.9em;
        color: var(--primary);
        font-weight: 600;
        padding: 0.15em 0.5em;
    }


@media (max-width: 576px) {
    .card-title > h1 {
        width: 100%;
        text-align: center;
        margin-bottom: 0.7em;
    }
}
.card-title > a {
    float: left;
    margin: 0;
    margin-left: 1.2em;
    background-color: var(--primary) !important;
}

@media (max-width: 576px) {
    .card-title > a{
        display: block;
        float: none;
    }
}*/








.file-field .btn {
    margin: 0.2em;
    margin-left: 1em;
}

.file-field .file-path-wrapper {
    font-size: 0.9em;
}

.file-field .attach-tooltip {
    display: block;
    margin-top: 2em;
    font-size: 0.83em;
}

    .file-field .attach-tooltip > img {
        width: 16px;
        height: 16px;
        object-fit: contain;
        object-position: center;
    }

    .file-field .attach-tooltip > span {
        margin-right: 0.5em;
        color: #ae2828;
    }







.side-menu {
    width: 18em;
    padding: 0;
    padding-left: 2em;
    display: block;
    float: right;
    position: sticky;
    top: 3em;
}

    .side-menu.have-more {
        padding-bottom: 7.8em;
    }


        .side-menu.side-menu-expandable i.expandicon {
            display:none;
        }


@media(max-width:768px) {
    .side-menu.side-menu-expandable {
    }

        .side-menu.side-menu-expandable i.expandicon {
            position: absolute;
            font-size: 0.95em;
            left: 1.3em;
            top: 1em;
            color: rgba(0,0,0,0.8);
            display: inline-block;
            transform-origin: center;
            transform: rotateX(0);
        }
            .side-menu.side-menu-expandable.active i.expandicon{
                transform:rotateX(180deg);
            }

            .side-menu.side-menu-expandable .card-header {
                cursor: pointer;
            }

        .side-menu.side-menu-expandable .card-body {
            opacity: 0;
            overflow: hidden;
            max-height: 0;
        }

        .side-menu.side-menu-expandable.active .card-body {
            max-height: 100em;
            opacity: 1;
        }

    .side-menu, .side-menu.have-more {
        position: relative;
        width: 100%;
        padding: 0;
        padding-bottom: 5em;
    }
}

@media (max-width:576px) {
    .side-menu,
    .side-menu.have-more {
        top: 0;
        padding-bottom: 2.5em;
    }
}

.side-menu .switch label input[type="checkbox"]:checked + .lever {
    background-color: rgba(66, 139, 202, 0.3);
}

.switch label input[type="checkbox"]:checked + .lever::after {
    background-color: var(--secondary);
}

.side-menu .card {
    overflow: hidden;
    width: 100%;
    font-size: 0.95em;
    padding: 0;
    margin-bottom: 2.5em;
}

    .side-menu .card:last-of-type {
        margin-bottom: 0;
    }

.side-menu .card-body {
    padding: 0.5em 1.4em 1em;
}

.side-menu .unread .card-body {
    padding: 1.4em 0.4em 0.7em 1em;
}

.side-menu .filter .card-body {
    padding: 0;
}

@media(max-width:768px) {
    .side-menu .filter {
        display: none;
    }
}

.side-menu .mobile-filter {
    display: none;
    overflow: visible;
}

@media(max-width:768px) {
    .side-menu .mobile-filter {
        display: block;
    }
}

.side-menu > a {
    padding: 0.5em !important;
    background-color: #fff;
    border: solid 1px var(--secondary);
    color: var(--secondary);
    margin: 0;
    margin-top: 2.5em !important;
}

@media(max-width:768px) {
    .side-menu > .filter + a {
        margin-top: 0 !important;
    }
}

.side-menu > a:hover {
    background-color: var(--secondary);
    color: #fff;
}

.side-menu .card-body .md-form input:focus,
.side-menu .card-body .md-form input:active {
    border-bottom: 1px solid var(--secondary) !important;
    box-shadow: 0 1px 0 0 var(--secondary) !important;
}

.side-menu .card-header {
    background-color: rgba(0,0,0,.05);
    border-bottom: 1px solid rgba(0,0,0,.2);
    font-size: 1.2em;
    font-weight: bold;
}

    .side-menu .card-header > i {
        font-size: 1.2em;
    }

    .side-menu .card-header.expandable {
        cursor: pointer;
    }

        .side-menu .card-header.expandable:after {
            content: "\f107";
            font-family: FontAwesome;
            left: 0.9em;
            top: 0.7em;
            font-size: 1.1em;
            position: absolute;
            transition: 0.3s;
            transform: rotate(0) translateY(0);
            opacity: 0.7;
        }

        .side-menu .card-header.expandable[aria-expanded='true']:after {
            transform: rotate(180deg) translateY(0.1em);
        }


.side-menu .card-body a.list-group-item {
    border-left: none;
    border-right: none;
}

    .side-menu .card-body a.list-group-item.active {
        background-color: rgb(66, 139, 202);
        border-color: rgb(66, 139, 202);
    }
















/*mdb*/
.md-form label {
    left: unset;
    right: 0;
    transform-origin: right;
}

.select-wrapper + label {
    transform-origin: right;
}

    .select-wrapper + label.active {
        left: unset;
        right: 15px;
    }

/*.multifield .select-wrapper + label.active {
    right: 0 !important;
}*/

.select-wrapper span.caret {
    right: unset;
    left: 0;
}

.select-wrapper .select-dropdown {
    padding: 0;
}

.dropdown-content li {
    padding: 0.1em 0.4em;
    text-align: right;
}

    .dropdown-content li.active, .dropdown-content li:hover {
        /*background-color: var(--primary);*/
        background-color: var(--secondary);
    }

        .dropdown-content li.active span, .dropdown-content li:hover span {
            color: #ffffff;
        }

.md-form input:not([type]):focus:not([readonly]), .md-form input[type="date"]:not(.browser-default):focus:not([readonly]), .md-form input[type="datetime-local"]:not(.browser-default):focus:not([readonly]), .md-form input[type="datetime"]:not(.browser-default):focus:not([readonly]), .md-form input[type="email"]:not(.browser-default):focus:not([readonly]), .md-form input[type="number"]:not(.browser-default):focus:not([readonly]), .md-form input[type="password"]:not(.browser-default):focus:not([readonly]), .md-form input[type="search-md"]:focus:not([readonly]), .md-form input[type="search"]:not(.browser-default):focus:not([readonly]), .md-form input[type="tel"]:not(.browser-default):focus:not([readonly]), .md-form input[type="text"]:not(.browser-default):focus:not([readonly]), .md-form input[type="time"]:not(.browser-default):focus:not([readonly]), .md-form input[type="url"]:not(.browser-default):focus:not([readonly]), .md-form textarea.md-textarea:focus:not([readonly]) {
    /*border-bottom: 1px solid var(--primary);
    box-shadow: 0 1px 0 0 var(--primary);*/
    border-bottom: 1px solid var(--secondary);
    box-shadow: 0 1px 0 0 var(--secondary);
}

.form-check-input[type="checkbox"] + label, label.btn input[type="checkbox"] + label {
    padding-left: 0;
    padding-right: 35px;
}

    .form-check-input[type="checkbox"] + label::before, .form-check-input[type="checkbox"]:not(.filled-in) + label::after, label.btn input[type="checkbox"] + label::before, label.btn input[type="checkbox"]:not(.filled-in) + label::after {
        left: unset;
        right: 0;
        transform-origin: top;
    }

.form-check-input[type="checkbox"]:checked + label::before, label.btn input[type="checkbox"]:checked + label::before {
    left: unset;
    right: -5px;
    transform-origin: top;
}

.form-check-input[type="checkbox"]:checked + label::before {
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
}

.select-toggle-all .form-check-input[type="checkbox"]:checked + label::before {
    /*border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);*/
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.md-form input:not([type]):focus:not([readonly]) + label, .md-form input[type="date"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="datetime-local"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="datetime"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="email"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="number"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="password"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="search-md"]:focus:not([readonly]) + label, .md-form input[type="search"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="tel"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="text"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="time"]:not(.browser-default):focus:not([readonly]) + label, .md-form input[type="url"]:not(.browser-default):focus:not([readonly]) + label, .md-form textarea.md-textarea:focus:not([readonly]) + label {
    color: #757575;
}






.form-check-input[type="radio"]:checked + label,
.form-check-input[type="radio"]:not(:checked) + label,
label.btn input[type="radio"]:checked + label,
label.btn input[type="radio"]:not(:checked) + label {
    padding-left: 15px;
    padding-right: 30px;
}

.form-check-input[type="radio"] + label::after,
.form-check-input[type="radio"] + label::before,
label.btn input[type="radio"] + label::after,
label.btn input[type="radio"] + label::before {
    left: auto;
    right: 0;
}

.form-check-input[type="radio"] + label::after,
.form-check-input[type="radio"] + label::before,
label.btn input[type="radio"] + label::after,
label.btn input[type="radio"] + label::before {
    left: auto;
    right: 0;
}


.form-check-input[type="radio"].with-gap:checked + label::after,
.form-check-input[type="radio"]:checked + label::after,
label.btn input[type="radio"].with-gap:checked + label::after,
label.btn input[type="radio"]:checked + label::after {
    background-color: var(--secondary);
}

.form-check-input[type="radio"].with-gap:checked + label::after,
.form-check-input[type="radio"].with-gap:checked + label::before,
.form-check-input[type="radio"]:checked + label::after,
label.btn input[type="radio"].with-gap:checked + label::after,
label.btn input[type="radio"].with-gap:checked + label::before,
label.btn input[type="radio"]:checked + label::after {
    border: 2px solid var(--secondary);
}






table.dataTable tbody td {
    position: relative;
    vertical-align: middle;
}

    table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox.select-checkbox-all::before, table.dataTable thead td.select-checkbox::before, table.dataTable thead th.select-checkbox.select-checkbox-all::before {
        content: " ";
        border: 2px solid #5a5a5a;
        border-radius: 3px;
    }

    table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody td.select-checkbox-all::before, table.dataTable tbody td.select-checkbox-all::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after, table.dataTable tbody th.select-checkbox-all::before, table.dataTable tbody th.select-checkbox-all::after, table.dataTable thead td.select-checkbox::before, table.dataTable thead td.select-checkbox::after, table.dataTable thead td.select-checkbox-all::before, table.dataTable thead td.select-checkbox-all::after, table.dataTable thead th.select-checkbox::before, table.dataTable thead th.select-checkbox::after, table.dataTable thead th.select-checkbox-all::before, table.dataTable thead th.select-checkbox-all::after {
        position: absolute;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        left: 50%;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        width: 20px;
        height: 20px;
    }

table.dataTable tr.selected td.select-checkbox::after, table.dataTable tr.selected th.select-checkbox::after {
    margin-top: 0;
    text-align: center;
    font-family: 'FontAwesome';
    font-size: 0.9rem;
    font-weight: 600;
    content: "\f00c";
    background-color: var(--secondary);
    -webkit-box-shadow: 0 0 1em #5a5a5a;
    box-shadow: 0 0 1em #5a5a5a;
    color: #fff;
    border-radius: 3px;
}

table.dataTable tbody td.select-checkbox::before, table.dataTable tbody td.select-checkbox::after, table.dataTable tbody td.select-checkbox-all::before, table.dataTable tbody td.select-checkbox-all::after, table.dataTable tbody th.select-checkbox::before, table.dataTable tbody th.select-checkbox::after, table.dataTable tbody th.select-checkbox-all::before, table.dataTable tbody th.select-checkbox-all::after, table.dataTable thead td.select-checkbox::before, table.dataTable thead td.select-checkbox::after, table.dataTable thead td.select-checkbox-all::before, table.dataTable thead td.select-checkbox-all::after, table.dataTable thead th.select-checkbox::before, table.dataTable thead th.select-checkbox::after, table.dataTable thead th.select-checkbox-all::before, table.dataTable thead th.select-checkbox-all::after {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    left: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 1.5em;
    height: 1.5em;
}

table.dataTable tbody tr.selected {
    background-color: rgba(66, 139, 202,0.1);
}

table.dataTable thead th, table.dataTable thead td {
    padding: 0.9em 1em;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 0.9em 0.7em;
}

.table-container table td.resolved {
    background-color: #caffcb !important;
    color: #1a8042;
}

.table-container table td.canceled {
    background-color: #f7bbb5 !important;
    color: #931a1d;
}













/*modal*/
.modal {
    overflow: hidden !important;
    background-color: rgba(0,0,0,0.25);
}

    .modal .modal-dialog {
        position: absolute !important;
        left: 0 !important;
        width: 100% !important;
        bottom: 0 !important;
        margin: 0 !important;
        max-width: none;
        border-radius: 1em 1em 0 0;
        overflow: hidden;
    }

    .modal .modal-content {
    }

    .modal .modal-header {
        background-color: var(--secondary);
        padding: 1.3em 1em;
    }

    .modal .modal-danger .modal-header {
        background-color: var(--danger) !important;
    }

    .modal .modal-header.edit {
        background-color: #e2ab06;
    }

    .modal .modal-header > .row {
        width: 100%;
        margin: 0;
    }

    .modal .modal-header .heading {
        display: inline-block;
        padding: 0;
    }

    .modal .modal-header .close {
        color: #fff;
        margin: 0;
        margin-top: 0.1em;
        padding: 0;
    }


    .modal .modal-footer .btn {
        color: var(--secondary) !important;
        background-color: transparent !important;
        border: 2px solid var(--secondary) !important;
        border-radius: 2em;
        padding: .7em 2.5rem;
        font-weight: 600;
        width: auto;
    }

    .modal .modal-footer.edit .btn {
        color: #e2ab06 !important;
        border-color: #e2ab06 !important;
    }

    .modal .modal-danger .modal-footer .btn {
        color: var(--danger) !important;
        background-color: transparent !important;
        border: 2px solid var(--danger) !important;
    }

    .modal .modal-footer .btn.submit {
        background-color: var(--secondary) !important;
        color: #ffffff !important;
        border: 2px solid var(--secondary) !important;
    }

    .modal .modal-footer.edit .btn.submit {
        background-color: #e2ab06 !important;
        border-color: #e2ab06 !important;
    }

    .modal .modal-danger .modal-footer .btn.submit {
        color: #fff !important;
        background-color: var(--danger) !important;
        border-color: var(--danger) !important;
    }

@media(max-width:576px) {
    .modal .modal-footer .btn {
        width: 100%;
    }
}

.modal .modal-body {
    padding: 2em 1.5em 1.5em !important;
}

    .modal .modal-body li {
        display: inline-block;
        width: 100%;
        list-style: none;
        margin-bottom: 0.7em;
        padding-bottom: 0.7em;
        border-bottom: solid 1px rgba(0,0,0,0.08);
    }

        .modal .modal-body li:last-of-type {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .modal .modal-body li > h2,
        .modal .modal-body li > span,
        .modal .modal-body li > div {
            margin: 0 -2px;
            display: inline-block;
        }

        .modal .modal-body li > h2 {
            font-size: 1em;
            color: rgba(0,0,0,0.85);
            text-align: right;
            vertical-align: top;
        }

        .modal .modal-body li > span {
            font-size: 0.9em;
            color: rgba(0,0,0,0.73);
            text-align: left;
        }

        .modal .modal-body li > div input,
        .modal .modal-body li > div textarea {
            border: 1px solid #ced4da !important;
            border-radius: 0.3rem !important;
            padding: 0.3em;
        }

            .modal .modal-body li > div input:focus,
            .modal .modal-body li > div textarea {
                box-shadow: none !important;
            }

@media(max-width:576px) {
    .modal .modal-body li > h2 {
        text-align: center;
    }

    .modal .modal-body li > span {
        text-align: center;
    }
}






/*#toast-container.md-toast-bottom-center > div,
#toast-container.md-toast-top-center > div {
    width: 18.75rem;
    margin: auto;
}*/
@media (min-width:576px) {
    #toast-container.md-toast-bottom-center > div,
    #toast-container.md-toast-top-center > div {
        width: 30rem;
        margin: auto;
    }
}






.invalid-feedback {
    position: absolute;
}

.invalid .invalid-feedback {
    display: block;
    bottom: -1.8em;
}

.invalid .mdb-main-label + .invalid-feedback {
    bottom: 0;
}

.modal .modal-body li div.md-form input.invalid,
.modal .modal-body li div.md-form textarea.invalid {
    border: solid 1px #f44336 !important;
}




.mds-bootstrap-persian-datetime-picker-container button {
    margin: 0;
}
