﻿/* ------------------------------------------------
	Style by : Hanieh shahriyari
	Email : Shahriyari.hanieh@gmail.com
------------------------------------------------ */

@import url('fontCustom.css');

html, body {
    font-size: 16px;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'IRANSans';
    direction: rtl;
    color: #333;
    text-align: right;
    background: #F3F3F3;
    overflow: hidden;
    min-height: 100%;
    height: 100vh;
    overflow: auto;
}

li, ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: #333;
}

    a:hover,
    a:focus {
        text-decoration: none;
    }

* {
    outline: none;
}

    *:hover,
    *:focus {
        outline: none;
        /*-webkit-transition:all .3s;-moz-transition:all .3s;transition:all .3s;*/
    }

.img-full {
    width: 100%;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(208, 208, 208, 0.4);
    }

::-webkit-scrollbar:horizontal {
    height: 6px;
}

::-webkit-scrollbar-track:horizontal {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:horizontal {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

.btn {
    background: #59617B;
    border-color: #59617B;
    height: 44px;
    border-radius: 50px;
    color: #fff;
    width: 220px;
    line-height: initial;
}

    .btn:hover,
    .btn:focus,
    .btn.focus {
        background: #fff;
        border-color: #59617B;
        color: #59617B;
        box-shadow: none;
    }

.btn-color {
    background: #FC3955;
    border-color: #FC3955;
}

    .btn-color:hover,
    .btn-color:focus {
        border-color: #FC3955;
        color: #FC3955;
    }


/*#region Login Page*/
.login {
    background: url(../img/back.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all 0.4s ease-in 0s;
    height: auto;
    min-height: 100%;
}

    .login .logo {
        width: 200px;
    }

    .login .forget, .form-check-label {
        font-size: 0.85rem;
        color: rgba(3,1,76,0.5);
    }

        .login .forget a {
            color: rgba(3,1,76,0.5);
        }

.moraje .form-row a.btn {
    width: 100%;
}

.login .form-row .text-left {
    direction: ltr;
}

.main-box {
    background: url(../img/back-main.jpg) no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border-radius: 20px;
    width: 800px;
    height: 560px;
    margin: auto;
    padding: 30px;
    -webkit-box-shadow: 5px 5px 16px 0px rgb(3 1 76 / 18%);
    -moz-box-shadow: 5px 5px 16px 0px rgba(3,1,76,0.18);
    box-shadow: 5px 5px 16px 0px rgb(3 1 76 / 18%);
    border: 1px solid #59617B;
}

    .main-box p {
        margin-bottom: 0;
        margin-top: 1rem;
        font-size: 0.8rem;
        padding-right: 5px;
        padding-left: 5px;
        text-align: justify;
    }

.yasan {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    margin-top: 1.55rem;
}

    .yasan img {
        width: 120px;
    }

/*#endregion Login Page*/
/*#region form Page*/
.moraje,
.dashboard,
.answer {
    background: url(../img/back2.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all 0.4s ease-in 0s;
    height: 113vh;
    min-height: 100%;
}

.form-box {
    width: 540px;
    background: rgba(255,255,255,0.76);
    border-radius: 20px;
    width: 500px;
    margin: auto;
    padding: 30px;
    -webkit-box-shadow: 5px 5px 16px 0px rgba(3,1,76,0.18);
    -moz-box-shadow: 5px 5px 16px 0px rgba(3,1,76,0.18);
    box-shadow: 5px 5px 16px 0px rgba(3,1,76,0.18);
}

    .form-box .error {
        font-size: 0.8rem;
        color: rgba(89,97,123,0.65);
    }

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

    .form-group i {
        position: absolute;
        right: 15px;
        line-height: 0;
        top: 9px;
    }

        .form-group i img {
            width: 18px;
        }

    .form-group .form-control {
        height: 44px;
        border-radius: 12px;
        padding-right: 42px;
        background: rgba(255,255,255,0.45);
        font-size: 0.8rem;
        border: 1px solid #D1D5DC;
    }


.form-group-readonly .form-control {
    background: rgba(89,97,123,0.7);
    color: #fff;
}

.form-group-readonly i {
    color: #fff;
}

.form-group-readonly ::placeholder {
    color: #FFF;
    font-size: 1.3rem;
}

.title {
    font-size: 1.2rem;
    color: #59617B;
}

.back {
}

    .back ul {
    }

        .back ul li {
            float: right;
            margin-top: 2px;
        }

            .back ul li a div {
                display: inherit;
            }

            .back ul li a i {
                font-size: 1rem;
                float: right;
                line-height: 0;
                margin-right: 5px;
                display: inline-block;
                margin-top: 7px;
            }

            .back ul li a span {
                float: right;
            }

.dashboard h4 {
    font-size: 0.9rem;
    color: rgba(89,97,123,0.65);
}

.dashboard ul li a {
    background: #9EC1D6;
    border: 1px solid #9EC1D6;
    height: 44px;
    border-radius: 50px;
    color: #fff;
    width: 100%;
    display: block;
    line-height: 44px;
    margin-bottom: 18px;
}

    .dashboard ul li a:hover {
        background: #fff;
        color: #9EC1D6;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

.dashboard ul li:last-child a {
    line-height: 27px;
    width: 220px;
    margin: auto;
    background: #59617B;
    border-color: #59617B;
}

    .dashboard ul li:last-child a:hover {
        background: #fff;
        color: #59617B;
    }
/*#endregion form Page*/
/*#region answer*/
.answer {
}

.answer-box {
    width: 540px;
    background: rgba(255,255,255,0.76);
    border-radius: 20px;
    width: 100%;
    margin: auto;
    -webkit-box-shadow: 5px 5px 16px 0px rgba(3,1, 76,0.18);
    -moz-box-shadow: 5px 5px 16px 0px rgba(3,1,76,0.18);
    box-shadow: 5px 5px 16px 0px rgba(3, 1, 76,0.18);
    overflow: hidden;
}

    .answer-box .header {
        background: rgba(89,97, 123,0.75);
        display: inline-block;
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
    }

        .answer-box .header a {
            font-size: 40px;
            border-radius: 50px;
            background: #fff;
            opacity: 1;
            text-shadow: none;
            color: #FC3955;
            float: right;
            padding: 23px 8.5px 17px;
            margin-top: 13px;
        }

            .answer-box .header a i {
                font-style: inherit;
                line-height: 0;
                float: right;
            }

        .answer-box .header img {
            width: 140px;
            float: left;
        }

        .answer-box .header ul {
        }

            .answer-box .header ul li {
            }

                .answer-box .header ul li a {
                    background: #fff;
                    color: #59617B;
                    font-size: 13px;
                    margin-right: 6px;
                    padding: 7px 10px;
                    margin-top: 17px;
                    -webkit-transition: all .3s;
                    -moz-transition: all .3s;
                    transition: all .3s;
                }

                    .answer-box .header ul li a:hover {
                        background: #59617B;
                        color: #fff;
                    }

.search {
    position: relative;
}

.form-control:focus {
    box-shadow: none;
}

.search .form-control {
    border-radius: 20px;
    border: 0;
    padding: 9px 5px;
    font-size: 0.9rem;
    width: 100%;
    border: 1px solid #59617B;
    background: #E8EDF0;
}

.search span {
    position: absolute;
    z-index: 2;
    display: block;
    text-align: center;
    pointer-events: none;
    color: #59617B;
    left: 26px;
    font-size: 1.3rem;
    top: 9px;
}

.search ::placeholder {
    color: rgba(31, 45, 96,0.5);
    font-size: 0.8rem;
}

.headerBar h3 {
    font-size: 0.9rem;
    margin: 0;
    color: #59617B;
    margin-bottom: 10px;
    margin-top: 10px;
}

.main-body {
}

.answer-table thead {
    font-size: 0.9rem;
    color: #59617B;
}

    .answer-table thead th:first-child {
        width: 70px;
        text-align: center;
    }

.answer-table tbody {
    font-size: 0.8rem;
    color: #59617B;
}
    .answer-table tbody tr td {
        min-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .answer-table tbody tr:nth-child(2n+1) td,
    .answer-table tbody tr:nth-child(2n+1) th {
        background: rgba(176,190,197,0.2);
    }

    .answer-table tbody tr th {
        border-radius: 0 30px 30px 0;
        text-align: center;
    }

    .answer-table tbody tr td:last-child {
        border-radius: 30px 0 0 30px;
        padding: 5px;
        width: 115px;
    }

    .answer-table tbody tr:hover td,
    .answer-table tbody tr:hover th {
        background: #59617B;
        color: #fff;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .answer-table tbody tr a {
        color: #fff;
        background: #59617B;
        border-radius: 30px;
        width: 100%;
        display: block;
        height: 33px;
    }

        .answer-table tbody tr a i {
            font-style: normal;
            line-height: 27px;
            display: block;
            border-radius: 100%;
            width: 25px;
            height: 25px;
            border: 1px solid #fff;
            text-align: center;
            font-size: 20px;
            float: right;
            margin-top: 4px;
            margin-right: 5px;
        }

        .answer-table tbody tr a span {
            float: right;
            margin: 7px 14px 0 0;
        }

        .answer-table tbody tr a.active {
            background: #9EC1D6;
            color: #59617B;
        }

            .answer-table tbody tr a.active i {
                border-color: #59617B;
            }

    .answer-table tbody tr:hover a {
        background: #fff;
        color: #59617B;
    }

        .answer-table tbody tr:hover a i {
            border: 1px solid #59617B;
        }

.paging {
}

    .paging li {
        margin: 3px;
        width: 38px;
        text-align: center;
        border-radius: 100%;
    }

    .paging .page-item .page-link {
        border-radius: 100%;
        color: #59617B;
        background-color: #fff;
        border: 1px solid #59617B;
    }

        .paging .page-item .page-link:focus {
            box-shadow: none;
        }

    .paging .page-item.active .page-link {
        z-index: 3;
        color: #fff;
        background-color: #59617B;
        border-color: #59617B;
    }

.search .form-select {
    position: relative;
    margin: 0 0 0 5px !important;
    /* width: 100px;*/
    float: left;
}

    .search .form-select select {
        color: #707070;
        font-size: 0.8rem;
        -webkit-appearance: none;
        padding: 12px 25px 11px 10px;
        border: 1px solid #1F2D60;
        border-radius: 24px;
    }

    .search .form-select i {
        position: absolute;
        top: 15px;
        font-size: 0.7rem !important;
        left: auto;
        color: #707070;
        right: 10px;
    }

.search .btn {
    width: 90px;
}
/*#endregion answer*/
/*#region form Modal*/
.modal-content {
    border-radius: 20px;
}

.modal-header {
    background: #9EC1D6;
    padding: 0 1rem;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom: 2px solid #59617B;
}

    .modal-header button {
    }

    .modal-header img {
        display: none;
        font-size: 30px;
        opacity: 1;
        text-shadow: none;
        padding: 17px 14.25px 21px;
    }

    .modal-header .close {
        font-size: 30px;
        border-radius: 50px;
        background: #FC3955;
        opacity: 1;
        text-shadow: none;
        color: #fff;
        padding: 27px 14.25px 21px;
        margin: 10px 0 0;
    }

        .modal-header .close span {
            line-height: 0;
            display: block;
        }
/*#endregion form Modal*/
.btn-inline .btn {
    width: 100%;
}

.nemodar-btn {
    display: flex;
}

    .nemodar-btn > div:first-child {
        margin-left: 8px;
    }
.nemodar-search{}
.patient-search .nemodar-btn{
    margin-top:-19px;
}
    .patient-search .nemodar-btn .btn{
        width:auto;
    }
.patient-search .search span {
    top: 13px;
}
    @media only screen and (max-width:991px) {
        .answer-table tbody tr td:last-child {
        width: 115px;
        display: inline-block;
    }
}

@media only screen and (max-width:767px) {
    .main-box {
        width: 100%;
        height: 350px;
    }
    .patient-search .nemodar-btn .btn {
        width: 100%;
    }
    .answer-table thead th:nth-child(3) {
        width: 100px;
        display: inline-block;
    }

    .form-box {
        width: 100%;
    }

    .answer-table thead {
        font-size: 0.7rem;
    }
    .nemodar-search {
        display: block !important;
        width: 100%;
    }
    .search .form-select {
        width: 100%;
    }
    .nemodar-btn {
        display: inline-block;
        width: 100%;
    }
        .nemodar-btn > div {
            margin-left: 0;
            margin-bottom:10px;
        }
    .nemodar-search .form-select select {
        margin:0 0 10px 0 !important;
    }
    .nemodar-search .form-select select,
    .nemodar-search .form-select table {
        width: 100% !important;
    }
    .nemodar-btn > div:first-child {
        margin-left: 0;
    }

    .nemodar-search .btn {
        width: 100%;
    }
    .patient-search .nemodar-btn > div {
        margin-left: 0;
        margin-bottom: 0;
        margin-top:10px;
    }
    .patient-search .col-md-3{
        padding:0;
    }
    .patient-search .nemodar-btn {
        margin-top: -5px;
    }
}

@media only screen and (max-width:575px) {

    .search .btn {
        width: 80%;
    }
    .nemodar-search .btn {
        width: 100%;
    }
}


.FSans {
    font-family: IRANSans;
    font-style: normal;
    font-size: 13px;
    width: 100% !important;
    height: 100% !important;
}

    .FSans img {
        width: 100%;
    }

.FSans-10 {
    font-family: IRANSans;
    font-style: normal;
    font-size: 10px;
}
