body {
    font-size: 11px;
}

h6 {
    font-size: 0.7rem;
}

h5 {
    font-size: 0.75rem;
}

h4 {
    font-size: 0.8rem;
}

h3 {
    font-size: 0.9rem;
}

.error {
    color:red !important;
    font-style: italic;
    font-size: 12px;
}

table thead th {
    text-align: center;
}


a.download i {
    font-size: 0.9rem;
}


#business-logo-form {
    position: absolute;
    top: -1000px;
}


.logo-edit {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 28px;
    inset-inline-end: 0;
    background: #d5d4e0;
    margin: 0 auto;
    text-align: center;

}


.main-img-user {
    border:2px solid #ccc;
}

.business-logo {
    height: 40px;
    width: auto;
}

.swal-overlay {
    z-index: 100000 !important;
}

.work-schedule {
    background-color: #0a53be;
    color:white;
}

ul {
    list-style-type: disc;
    padding-left: 30px;
}

ul li{
    padding: 5px 10px;
}

.rtl {
    direction: rtl;
}

fieldset {
    border: 1px solid #cccccc;
width: 100%;

}

legend {
    width: auto;
    font-size: 0.6rem;
    padding:0px 5px;
font-weight: bold;
    float: none;
    margin-left: 15px;
}


.note-editor.note-airframe .note-editing-area .note-editable, .note-editor.note-frame .note-editing-area .note-editable {
    min-height: 225px;
}

#payments thead tr:nth-child(1) th:nth-child(3) {
    width: 260px !important;
}

#payments thead tr:nth-child(1) th:nth-child(4) {
    width: 155px !important;
}






#wizard-contract > .content,#wizard-contract > .actions  {
    width: 80% !important;
}
#wizard-contract > .steps {
    width: 15% !important;
}

#contracts-table thead th:nth-child(10) {
    width: 230px !important;
}

.pic-edit-contract {
    height: 50px;
    width: auto;
}
.pic-transfer {
    height: 50px;
    width: 50px;
}

.payment-system-table thead tr th{
    background-color: var(--primary-bg-color);

    color: white;
}

.payment-system-table tbody tr:first-child td:nth-child(3) {
    background-color: #4fa852;
    color: white;
}




.payment-system-table tbody tr:last-child td:nth-child(2) {
    background-color: #458f47;
    color: white;
}



#contracts-table tbody thead tr th:nth-child(11) {
    width: 480px !important;
}



.payment-system-table thead tr th,.payment-system-table tbody tr td {
    vertical-align: middle;
    text-align: center;
}


.payment-system-table thead tr th {
    font-size: 0.45rem !important;
}
.contract-header {
    /*background-color: rgba(3, 148, 252,0.5);*/
background-color: var(--primary-5);
}

.content-header {
    background-color: var(--primary-3);
}

.c-applicant-picture {
    position: absolute;
    top: -75px;
    height: 180px;
    width: 180px;
    border-radius: 100%;
    border:3px solid #ccc;
    box-shadow: 0px 0px 27px 0px rgba(0,0,0,0.6);
    -webkit-box-shadow: 0px 0px 27px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 0px 27px 0px rgba(0,0,0,0.6);

}

.c-notification-box {
    display: flex;
    border: 2px solid #cccccc;
}

.c-notification-box .icon-box{
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--primary-2);
    color: var(--primary-8);
    align-self: stretch;
    font-size: 30px;
}

.c-notification-box .content-box{
    display: flex;
    align-items: center;
    align-self: stretch;
    padding: 10px;
}

.content-box-wrapper {
    display: flex;
}

.content-box-wrapper .left-side {
 display: flex;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 20px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border-right-width: 0px;

}

.content-box-wrapper .right-side {
    display: flex;
    padding: 8px 15px;
    border: 1px solid #cccccc;
    border-radius: 20px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-left-width: 0px;

}

.c-subcard-header {
    background-color: var(--primary-2);
}

.contract-detail-table tbody tr td:first-child {
    text-align: right;
}

.contract-detail-table tbody tr td:last-child {
    text-align: left;
}


.contract-document-pic {
    height: 100px;
    border: 2px solid #cccccc;
}

.contract-progress {
    position: relative;
}

.c-progressbar-text {
    color: var(--primary-8);
    text-align: center;

}





/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}



/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close-image-modal{
    position: absolute;
    top: 75px;
    right: 50px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close-image-modal:hover,
.close-image-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}


label.file-error {
    color: red;
}

#circle-c-contract {
    position: relative;
}

#percent-anim {
position: absolute;
    top: 80px;
    right: 0px;
    left: 0px;
    font-size: 32px;
    text-align: center;
}


.progress-bar-wrapper {
    position: relative;
}

.progress-block {
    display: inline-block;
    width: 15px;
    height: 25px;

    background-color: #cfd0d1;

}

.progress-bar-container {
    border:1px solid #adadad;
}


.progress-bar-background {
    width: 180px;
    height: 25px;
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
border: 1px solid #8c8c8c;
    border-radius:6px ;
    font-size: 12px;
    background: linear-gradient(75deg, rgba(247,247,247,1) 0%, rgba(255,255,255,1) 10%, rgba(242,204,48,1) 25%, rgba(242,204,48,1) 35%, rgba(179,241,41,1) 50%, rgba(185,235,24,1) 60%, rgba(89,152,4,1) 75%, rgba(89,152,4,1) 85%, rgba(255,0,0,1) 95%, rgba(255,0,0,1) 100%);
    box-shadow: inset 0 0 5px #7a7a7a;
}

.progress-bar-mover {
    width: 100%;
    height: 23px;
    background-color: #ededed;
    box-shadow: 0 0 3px  #7a7a7a;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    border: 1px solid #8c8c8c;
}

.progress-block:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.progress-block:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.progressbar-text {
    color: white;
    text-align: center;
    position: absolute;
    box-shadow: 0 0 4px  #7a7a7a;
    top: 4px;
    margin: 0;

    font-size: 0.6rem;
    padding: 1px;
    background-color: rgba(0,0,0,0.5);
}

.modal-backdrop.show {
    display: none;
}


/*#contracts-table tbody td:nth-child(3),#contracts-table tbody td:nth-child(8) {*/
/*    direction: rtl;*/
/*}*/
