@font-face {
    font-family: "my";
    src: url("../../fonts/woff2/IRANSansXFaNum-Medium.woff2") format('woff2'),
    url("../../fonts/woff/IRANSansXFaNum-Medium.woff") format('woff'),
    url("../../fonts/IRANSansXFaNum-Black.ttf") format('truetype');

}

@font-face {
    font-family: "report";
    src: url("../../fonts/woff2/IRANSansXFaNum-Light.woff2") format('woff2'),
    url("../../fonts/woff/IRANSansXFaNum-Light.woff") format('woff'),
    url("../../fonts/iransansweb.ttf") format('truetype');

}

.menu {
    width: auto;
    height: 65px;
    flex-shrink: 0;
    border-bottom: 1.5px solid #5B79C6;
    background: #E9EFFB;
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.05);
}

.navbar {
    margin-top: 15px;
    margin-right: 35%;
}

.nav-tabs {
    border-bottom: 0;
}

.logo {
    display: flex;
    max-width: 85%;
    min-width: 85%;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-left: 1px;
    margin-bottom: 15px;
}

.nav-item a span {
    color: #2B2B2B;
    text-align: right;
    font-family: my, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.nav-item a {
    color: #2B2B2B;
    text-align: right;
    font-family: my, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.dropdown-menu {
    border: 1px solid #999999;
    border-radius: 8px;
    width: auto;
    right: -1.8rem;
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-item:hover > span, .dropdown-item:hover > svg {
    /*color: #5B79C6;*/
    color: #3D5DAD;
}

.dropdown-item svg path {
    fill: currentColor;
}

.dropdown-item {
    padding: 0.815rem;
}

.dropdown-item:hover {
    background-color: whitesmoke;
}

.dropdown-item:first-child:hover {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child:hover {
    border-radius: 0 0 8px 8px;
}

.dropdown-divider {
    margin: 0;
}

.logout {
    color: #F43733;
    font-family: my, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;

    &:hover {
        #logout-svg {
            fill: #5B79C6;
        }
    }

}

@media (max-width: 1024px) {
    .navbar {
        margin-right: 20%;
    }
}

::-webkit-scrollbar {
    width: 2px;
    height: 0px;
    padding-top: 50px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    margin-top: 80px;
    margin-bottom: 40px;
}

::-webkit-scrollbar-thumb {
    background: #849BD4;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7e97d6;

}

.content {
    overflow-x: hidden;
    width: 100%;
    height: 69vh;
    /*height: 35vw;*/
    box-shadow: 0px 8px 24px rgba(6.52, 31.23, 91.23, 0.08);
    border-radius: 12px;
    -ms-overflow-x: scroll;
    border: 2px #ABBBE3 solid;
    position: relative;
    font-family: my, sans-serif;
    background-color: #FFFFFF;
}

.big-content {
    overflow-x: hidden;
    width: 100%;
    height: 43.5rem;
    box-shadow: 0px 8px 24px rgba(6.52, 31.23, 91.23, 0.08);
    border-radius: 12px;
    -ms-overflow-x: scroll;
    border: 2px #ABBBE3 solid;
    position: relative;
    font-family: my, sans-serif;
    background-color: #FFFFFF;
}

.empty-content {
    width: 98%;
    padding: 10px;
    margin: 20px;
    text-align: center !important;
    border-radius: 5px;
    background-color: #E9EFFB;
}

.table-header {
    background-color: #FFFFFF;
    height: 70px;
    border-bottom: 1px solid #ABBBE3;
    top: 0;
    left: 0;
    right: 0;
    position: sticky;
    z-index: 2;

    .th {
        color: #626262;
        font-size: 14px;
        font-weight: 600;

    }
}

.table-body {
    min-height: 33.8rem;
    background-color: #FFFFFF;

    .tr-even {
        background-color: #E9EFFB;
    }

    .row:hover .item-table, .row:hover .edit, .row:hover .showOption {
        /*box-shadow: rgba(2, 9, 26, 0.14) 0px 10px 4px;*/
        /*-moz-box-shadow: 0 4px 1px -0.01px rgba(2, 9, 26, 0.14);*/
        /*-webkit-box-shadow: 0 4px 1px -0.01px rgba(2, 9, 26, 0.14);*/
        /*box-shadow: 0 2px 0.5px -0.01vw rgba(2, 9, 26, 0.08);*/
        background-color: #D0DDF7;
    }

}

.table-footer {
    background-color: #FFFFFF;
    height: 53px;
    border-top: 1px solid #ABBBE3;
    bottom: 0;
    left: 0;
    right: 0;
    position: sticky;
    max-height: 53px;
    min-height: 53px;
}

.my-pagination {
	float: left;
	direction: ltr;
	width: 34%;
	padding: 12px;
}
.my-pagination .a-tag {
        text-decoration: none;
        padding-right: 12px;
        padding-left: 12px;
        border: 2px solid transparent;
        color: #7A7A7A;
        margin-top: 12px;
    }

.my-pagination .a-tag:not(.active) {
        border: 2px solid #D1D1D1;
        border-radius: 5px;
    }

.my-pagination .a-tag:not(.active):hover {
        background-color: #D1D1D1;
        color: #000000;
    }

.my-pagination .active {
        background-color: #3D5DAD;
        border: 2px solid #3D5DAD;
        border-radius: 5px;
        color: #FFFFFF;
    }

.my-pagination li {
        list-style-type: none;
    }


.goto {
    float: left;
    margin-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    border-left: 2px solid #ABBBE3;
    display: flex;
    direction: ltr;

    span {
        padding-top: 8px;
        color: #7A7A7A;
    }

}

.goto .page-no {
    border: 1px solid #D1D1D1;
    border-radius: 5px;
    display: flex;
    max-width: 30%;
    margin-left: 15px;
    height: 38px;
}

.goto .page-no input {
    border: none;
    margin-left: 5px;
    width: 100%;
    height: 100%;
    font-family: my, sans-serif;

}

.btn-link {
    text-decoration: none;
}

/*/////////// Show ////////////////////////////////////////////////*/
.input {
    border: solid 0.5px #959595;
    height: 45px;
    width: 100%;
    border-radius: 8px;
    background-color: #FFFFFF;
    padding: 0;
    font-family: my, sans-serif;
    direction: rtl;
}

.input .span {
    background-color: #FFFFFF;
    width: max-content;
    margin-top: -15px;
    margin-right: 15px;
    padding: 0 10px;
    z-index: 1;
    font-size: 13px;
    font-weight: 300;
}

.input .my-input {
    height: 36px;
    width: 95%;
    padding-right: 10px;
    border: none;
    margin-right: 2%;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.input .my-text-area {
    height: 70px;
    width: 95%;
    border: none;
    text-align: right !important;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    padding-right: 15px;
}

.required::after {
    content: ' *';
    color: red;
}

.details {
    color: #959595;
    font-size: 14px;
    font-family: my, sans-serif;
    font-weight: 600;
    border-radius: 12px;
}

.nth:first-child {
    border-radius: 12px 12px 0 0;
}

.nth:last-child {
    border-radius: 0 0 12px 12px;
}

.nth {
    background-color: #E9EFFB;

}

.btn-edit {
    color: #082C86;
    font-size: 14px;
    font-family: my, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 2px solid #082C86;
    padding: 10px 10% 10px 10%;


}
.btn-edit:hover {
	color: #FFFFFF;
	background-color: #082C86;
	transition: background-color 400ms;

	#btn-edit-svg {
		fill: #FFFFFF;
	}
}
.btn-delete {
    color: #F43733;
    font-size: 14px;
    font-family: my, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 2px solid #F43733;
    padding: 10px 12% 10px 12%;


}
.btn-delete:hover {
	color: #FFFFFF;
	background-color: #F43733;
	transition: background-color 400ms;

	#btn-delete-svg {
		fill: #FFFFFF;
	}
}
.btn-restore {
    color: #f4c733;
    font-size: 14px;
    font-family: my, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 2px solid #f4c733;
    padding: 10px 10% 10px 10%;


}
.btn-restore:hover {
	color: #666666;
	background-color: #f4c733;
	transition: background-color 400ms;

	#btn-restore-svg {
		fill: #666666;
	}
}
.btn-cancel {
    color: #959595;
    font-size: 14px;
    font-family: my, sans-serif;
    font-weight: 600;
    word-wrap: break-word;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 2px solid #959595;
    padding: 10px 10% 10px 10%;
}
.btn-cancel:hover {
	color: #FFFFFF;
	background-color: #959595;
	transition: background-color 400ms;

}
.error-details {
    color: #F43733;
    font-weight: 300;
    font-size: 13px;
}

.error-div {
    border: solid 2px #F43733;
}

.select2-search__field {
    outline: none;
    border-radius: 8px;
    height: 42px;
}

.select2-selection {
    border: none !important;
}

input {
    font-family: my, sans-serif !important;
    outline: none;
}

.input {
    outline: none;

    &:focus-within {
        border: 2px solid #3D5DAD;
    }
}

select {
    background-color: #FFFFFF;
}

.mds-bs-persian-datetime-picker-popover {
    font-family: my, sans-serif;
    font-weight: 900;
    border-radius: 4px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #D0DDF7;
    border-top: 1px solid #5B79C6;
    height: 55px;
}

.footer-content {
    font-family: my, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.popover {
    max-width: none;
}

td[data-nm] {
    color: #EEEEEE !important;
}

td[data-day] {
    cursor: pointer;
}

.active-list span {
    font-weight: 750;
}

::placeholder {
    color: #cccccc;
    font-weight: 50;
}

.btn-link[name="sort"] {
    color: #000000;
}

.btn-link[name="sort"]:hover {
    color: #204293;
    font-weight: 700;
}

/*////////////////////// Public /////////////////////////////////////////////*/

.title-div {
    width: 40px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 24px 2px 2px 2px;
    background: #ABBBE3;
}

.title-span {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
    color: #072878;
    padding-right: 16px;
}

.new {
    display: inline-flex;
    padding: 12px 24px;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #204293;
    text-decoration: none;
    color: #FFFFFF;
}
.new:hover {
	color: #FFFFFF;
	background-color: #082C86;
}
.lists {
    display: flex;
    flex-direction: row;
    border-radius: 8px;
    border: 1px solid #D1D1D1;
    background: #FFF;
    /*padding: 4px;*/
}

.list {
    margin: 15px;
    text-decoration: none;
    color: #7A7A7A;
}

.active-list {
    border-bottom: 2px solid #072878;

    .list {
        color: #072878;
        font-weight: 600;
    }
}

.open-search {
    width: auto;
    color: #082C86;
    font-size: 14px;
    font-weight: 600;
    word-wrap: break-word;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 57px;
    border: 2px solid #082C86;
    min-width: 200px;
}

.search {
    color: #FFFFFF;
    padding: 8px 57px;
    /*padding: 8px 50px;*/
    border: none;
    background: #204293;
    min-width: 200px;
}
.search:hover {
	background-color: #082C86;
}

.search-items {
    outline: none;
    border: none;
    width: 100%;
    display: none;
    font-family: my, sans-serif;
}

.search-items::-webkit-search-decoration,
.search-items::-webkit-search-cancel-button,
#search-close {
    display: none;
}

.my {
    padding: 7px 10px 7px 32px;
    width: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
}

.my2 {
    width: 70%;
    background-color: #fff;
    border: solid 1px #ccc;
}

a.new {
    min-width: 200px;
}

.actionsOption {
    position: absolute;
    left: 95px;
    top: 25px;
    z-index: 1;
    width: 125px;
    height: 130px;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px #02091A33;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;

    .option {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        cursor: pointer;
        padding: 8px;

        &:not(:last-child) {
            border-bottom: 1px solid #ABBBE3;
        }
    }

    :hover {
        background-color: #F2F2F2;
    }
}

.actionsOption2 {
    position: absolute;
    left: 95px;
    top: 25px;
    z-index: 1;
    width: 125px;
    height: 45px;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
    box-shadow: 0px 0px 4px 0px #02091A33;
    background-color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;

    .option {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        cursor: pointer;
        padding: 8px;

        &:not(:last-child) {
            border-bottom: 1px solid #ABBBE3;
        }
    }

    :hover {
        background-color: #F2F2F2;
    }
}

.showOption {
    position: relative;
}

.reminded {
    padding-right: 15px;
    padding-left: 15px;
    border-left: 2px solid #ABBBE3;
    height: 40px;
    margin-top: 5px;
    display: inline-flex;

    span {
        margin-top: 8px;
    }
}

.inquiry {
    width: auto;
    color: #082C86;
    font-size: 14px;
    font-weight: 600;
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 10px 20px;
    border: 2px solid #082C86;
    text-decoration: none;

    &:hover {
        background-color: #082C86;
        color: #FFFFFF;
    }
}

.searched{
    display: flex;
    margin-left: 20%;
    margin-right: 5%;
}
.searched input{
    width: 15rem;
    margin-left: 2%;
}

/*////////////////////// Dash Board /////////////////////////////////////////*/
.operation-label {
    border-right: 2px solid #cccccc;
}

.welcomes {
    height: 84px;
    background-color: #204293;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 800;
}

.fast {
    margin-top: 18px;
    border-right: 2px solid #999999;
    padding-right: 10px;
}

.operation {

    height: 15vh;
    width: 30%;
    /*padding: 4%;*/
    margin: 2% 1% 1% 2%;
    text-align: center;
    background-color: #FFFFFF;
    border: 0.5px solid #7A7A7A;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.operation > a {
    color: #7A7A7A;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.operation:hover {
    background-color: #D0DDF7;
    border: solid 1px #072878;
}

.operation:hover a {
    color: #3D3D3D;
}

/*////////////////////// Report /////////////////////////////////////////////*/

.options {
    border-radius: 12px;
    border: #ABBBE3 solid 2px;
    background-color: #FFFFFF;
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 25px;
    padding-bottom: 25px;
    box-shadow: 0 8px 24px 0 #071F5B14;

    .row {
        min-height: 45px
    }
}

.option-title {
    border-right: 3px solid #082C86;
}
