body {
    background: -webkit-linear-gradient(left, #2E8BC0, #F6FAFA);
}

#home_page_row {
    margin-top: 15%;
}

.navbar {
    box-shadow: rgb(26 26 26 / 20%) 0px 0px 2px;
}

#navbar {
    background: #ffffff;
}

ul {
    padding-top: 5px;
}

#indexView {
    background: #ffffff;
    box-shadow: 1px 1px 7px;
}


/*Modal Dialog Box */

.loader {
    position: relative;
    text-align: center;
    margin: 15px auto 35px auto;
    z-index: 9999;
    display: block;
    width: 80px;
    height: 80px;
    border: 10px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

.header {
    padding: 7%;
    text-align: center;
    background: #808B96;
    color: white;
    font-size: 15px;
    height: 50px;
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}


/*
Form stylings
*/

.contact-form {
    background: #fff;
    margin: auto;
    /*width: 36%;*/
    border-radius: 50px;
}

.contact-form h3 {
    margin-bottom: 8%;
    margin-top: 4%;
    text-align: center;
    color: #2E8BC0;
}


/*
Modal Dialog for sign options*/

#close {
    color: white;
    float: right;
    font-size: 15px;
    font-weight: bold;
    background-color: #d9534f;
}

#saveImage {
    position: absolute;
    top: 90%;
    left: 41%;
    width: 130px;
    font-size: 12px;
}

#profileMenu {
    margin-right: 15px;
}

.moreInfo {
    width: 2px;
    height: 4px;
    border-radius: 50%;
    background-color: black;
    box-shadow: 0px 5px 0px black, 0px 10px 0px black;
    margin-top: 10%;
}

.moreInfoButton {
    width: 2px;
    height: 6px;
}

#statusDropdown {
    width: 65px;
}

.glyphicon-triangle-bottom {
    margin-left: 4px;
    color: #337ab7 !important;
    top: 3px !important;
}

.glyphicon-triangle-top {
    color: #337ab7 !important;
    top: 3px !important;
}

#docDetailDropDown {
    position: relative !important;
}

#dropdownRecipient {
    display: table !important;
}

.dropdown-menu:before {
    content: "";
    position: absolute;
    right: 23px;
    top: -10px;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #ffffff transparent;
    z-index: 9999;
}

#docDetailDropDown:before {
    content: "";
    position: absolute;
    right: 145px;
    top: -10px;
    border-style: solid;
    border-width: 0 9px 9px 1px;
    border-color: transparent transparent #ffffff transparent;
    z-index: 9999;
}

#loadingDraft .modal-dialog-centere{
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: auto;
    justify-content: flex-end;
}

.dropdown-menu {
    text-align: center !important;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    right: 25px !important;
}

.homePageButton {
    background-color: #337ab7;
}

#autoLogoutModalHeader {
    background-color: #ffc107;
}


/*Signup Page*/

.form-control {
    margin-top: -6px;
}

.form-group {
    margin-top: -4px;
}

.required {
    color: red;
    font-size: 19px;
}

#signUpSuccessBody {
    border-style: double;
    border-color: #74eb34;
    width: 475px;
    margin-left: 10px;
    border-radius: 21px;
}

#signUpSuccessContent {
    border-radius: 24px !important;
}


/*Dashboard page*/

.dataTables_wrapper .dataTables_filter {
    position: absolute;
    /* margin-left: 208px; */
    /*z-index: 99999;*/
    margin-top: -58px;
    color: black;
    right: 15px;
}

#sidebar {
    background: #0d253c;
}

table.dataTable td,
table.dataTable th {
    /*-webkit-box-sizing: content-box;*/
    box-sizing: border-box !important;
}

th {
    background-color:#0d253c;
    color: white;
    font-family: 'Montserrat', sans-serif !important;
} 

.table th,
.table td {
    /*padding: 0rem !important;*/
    vertical-align: middle !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(255 255 255) !important;
}

thead {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    line-height: 1.8;
    font-weight: normal;
    background: #fafafa;
    color: gray;
}

.dataTables_wrapper .dataTables_length {
    position: absolute;
    /*z-index: 99999;*/
    margin-top: -56px;
    color: #0c0e0e;
    /* margin-left: 488px; */
    right: -30%;
}

#sidebar ul li a {
    color: #79adbb;
}

.menuElement {
    font-size: 12px;
}

#sidebar .logo {
    color: #79adbb;
}

#recipientStat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
}
.scroll-container {
    max-height: 300px; /* Adjust the height as needed */
    overflow-y: auto;
}

.parent-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;    /* Center vertically */
    height: 100vh;          /* Make the container take the full height of the viewport */
}

/* Style the child element */
#recipientStat {
    width: max-content; /* Keep the width to max-content */
}


#editCheckBox {
    margin-left: 5px;
}

#enableSubscription {
    margin-left: 5px;
}

#loadingSpinner {
    background: url(../../images/loading.gif) no-repeat center center;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999999;
}

#loadingDraftContent {
    margin-left: 186%;
    margin-top: 76%;
}

#loadingDraft #loadingDraftContent {
    margin-left: 0;
    margin-top: 0;
}

.tableHeaders {
    width: auto !important;
}

.navbar-light .navbar-nav .nav-link {
    color: rgb(4 4 4);
}

/* new css styles */

.Rectangle-22 {
    width: 100vw;
    height: 100%;
    min-height: calc(100vh - 100px);
    margin-top: 100px;
    /* margin-left: 8%; */
    padding-left: 120px;
    margin-left: 0;
    /* margin-left: 20%; */
    /* width: 100%; */
    /* margin: 101px 0 0;
    padding: 41px 267.1px 134px 296px; */
    padding-bottom: 100px;
    background-color: #ededed;
  }

  .Nav_Previewr {
    width: 1440px;
    height: 102px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items:flex-end;
    /* margin: 0 0 768px; */
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #fff;
  }

  img.logo-frame {
    width: 80%;
    height: 73.7px;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 11.9px;
    padding: 0;
    object-fit: contain;
  }

  .nav-child-Frame {
    width: 100%;
    height: 92px;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    /* justify-content: flex-end; */
    justify-content:space-around;
    align-items:center;
    gap: 24px;
    padding: 0;
    /* margin-right: 8%; */
  }

  .name-frame {
    width: 132px;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 32px 24px;
  }

  .current-user {
    /* width: 84px;
    height: 24px; */
    flex-grow: 0;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 20px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #0d253c;
    text-wrap: nowrap;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logout-icon {
    width: 32px;
    height: 32px;
    flex-grow: 0;
    margin-top: 18%;
    padding: 1.1px 1.1px 1.1px 1.1px;
  }

  .navbar {
    overflow: hidden;
    background-color: #333;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    margin-left: 0px;
    padding-left: 0%;
    z-index: 1;
  }

  ul {
    list-style: none;
}

  nav {
    margin: 0;
    padding: 0;
}

.Nav-Bar-Side {
    width: 128px;
    height: 100%;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 101px 0 0;
    padding: 8px;
    background-color: #0d253c;
    /* overflow: scroll; */
    /* scrollbar-width: none;
    -ms-overflow-style: none;  */
}
  a {
    text-decoration: none;
    border-bottom: none !important;
  }

  .Line-Navbar {
    width: 1px;
    height: 50px;
    flex-grow: 0;
    margin-top: auto;
    /* transform: rotate(-270deg); */
    background-color: rgba(13, 37, 60, 0.16);
  }

  .Document-Heading {
    /* width: 145px; */
    width: auto;
    height: 29px;
    flex-grow: 0;
    margin-top: 5%;
    margin-left: 40%;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 24px;
    font-weight: 600;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #0d253c;
  }

  .Document-Subheading {
    width: 699px;
    height: 22px;
    flex-grow: 0;
    margin-top: 2%;
    margin-left: 25%;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 18px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #0d253c;
  }
  #navbarSupportedContent ul {
    margin: 0;
  }
  #navbarSupportedContent li {
    display: inline-block;
    margin: auto 6px;
    white-space : nowrap;
}

#dashBoardTableBody tr td:nth-child(2) {
    padding: 0;
    text-align: center;
}

#adminDashboardBody tr td:nth-child(2) {
    padding: 0;
    text-align: center;
}
  
.Recipient_container {
    padding-left: 8%;
    margin-left: 0;
}

#addRecipientButton{
    background-color: #F2994A;
    color: #fff;
    margin-top: 5%;
    margin-bottom: 5%;
    border-radius: 6px;
}

    @media only screen and (max-width: 1098px){
.dataTables_wrapper .dataTables_length {
    right: -20%;
}
}
@media only screen and (max-width: 992px){
    /* #navbarSupportedContent {
    height: 22px;
    display: flex;
    } */
    .navbar {
        z-index: 1000;
    height: auto;
    }
    .Frame-nav {
        margin-right: 0;
    }
    .Rectangle-22 {
        min-height: calc(100vh - 93px);
        margin-top: 93px;
    }
    .Nav-Bar-Side {
        margin-top: 111px;
    }
    .Document-Heading {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .Document-Subheading {
        width: 100%;
        height: auto;
        margin-left: 0;
        text-align: center;
    }
    .tableWrapper {
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-top: -40px !important;
    }
    .tableContainer {
        overflow: auto;
    }
    #dashboardTable {
        min-width: 700px;
    }
    #adminDashboard {
        min-width: 700px;
    }
    .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length  {
        position: unset;
        margin-left: 0;
        margin-top: 0;
    }
    #navbarSupportedContent ul {
        flex-direction: row;
    }
    .rectangle-view {
        max-width: 100%;
    }
    .Recipient_container .sideMenu .toggle {
        left: unset;
        right: 2px;
    }
    .Recipient_container .signHelpLabel {
        margin-left: 2px;
    }
    .nav-fill {
        margin: 0 8px;
    }
}


@media only screen and (max-width: 720px){
    .Nav-Bar-Side, #sidebar {
        width: 100%;
        height: auto;
        background-color: #0d253c;
    }
    .Nav-Bar-Side {
        margin-top: 91px;
        z-index: 100;
        height: 85px;
    }
    #navbarSupportedContent {
        margin: auto 7px;   
    }
    .Nav-Bar-Side #sidebar ul.components {
        flex-direction: row !important;
        justify-content: space-evenly;
    }
    #sidebar.active ul.components li {
        padding: 0 3px !important;
    }
    #addRecipientButton{
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        min-width: 62px;
    }
    .Rectangle-22 {
        margin-top: 176px;
        margin-right: 0;
        padding-right: 15px;
    padding-left: 15px;
    }

    .Nav-Bar-Side #sidebar {
        max-width: 100%;
    }
    .Document-Heading {
        margin-left: auto;
        margin-right: auto;
    }
    .Document-Subheading {
        width: 100%;
        height: auto;
        margin-left: 0;
        text-align: center;
    }
    .tableWrapper {
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-top: -40px !important;
    }
    .tableContainer {
        overflow: auto;
    }
    #dashboardTable {
        min-width: 700px;
    }
    #adminDashBoard {
        min-width: 700px;
    }
    .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_length  {
        position: unset;
        margin-left: 0;
        margin-top: 0;
    }
    .Recipient_container {
        margin-top: 100px;
    }
    .Recipient_container .sideMenu .signHelpLabel {
        margin-left: auto;
    }
    .Recipient_container .sideMenu .toggle {
        top: 56px;
        left: 33px;
        right: 30px;
    }
    .Recipient_container #pdf-prev, .Recipient_container #pdf-next {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 3px;
    padding-right: 3px;
    }
    .Recipient_container .paginationBar > div:nth-child(2) {
        flex-wrap: nowrap;
        display: flex;
        align-items: center;
    }
    .Recipient_container .signHelpLabel {
        text-align: center;
    }
    .Recipient_container #preview-container {
        width: 74vw !important;
    }
}

@media only screen and (max-width: 577px){
    #saveImage {
        left: 22%;
    }
    .nav-fill {
        margin: 0 8px;
    }
}
.dragging-visible {
    opacity: 0.5;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
