html,
body {
    font-family: 'Merriweather', sans-serif !important;
    background-color: #F4F7F6;
    height: 100%;
}
#wrap {
    min-height: 100%;
}

#main {
    overflow: auto;
    padding-bottom: 72px;
}

/* must be same height as the footer */

#footer {
    position: relative;
    margin-top: -72px;
    /* negative value of footer height */
    height: 72px;
    clear: both;
}

/* navbar settings */
.bg-primary {
    background-color: #002B4D !important;
}

.btn-success {
    pointer-events: auto;
}

#btn-success {
    z-index: 3000;
}


#logged_out {
    padding: 0 0.5em 0.6em;
}


#nav-heading {
    padding-left: 0.5em;
}

.container {
    padding-top: 2em;
}

.editListing-body {
    padding: 2vh 2vh 2vh 2vh;
}

.new-listing-form input:invalid, select:invalid, textarea:invalid  {
    border-left: 3px solid salmon;
}

.new-listing-form input:required:valid, select:required:valid, textarea:required:valid  {
    border-left: 3px solid limegreen;
}

#form-home {
    padding-left:15%;
    padding-right:15%;
}

.form-group{
    padding: 0rem 1rem 1rem 0rem;
}

#button-blue {
    background-color:#002B4D;
}

#button-light {
    color:#002B4D;
}

#sig-canvas {
    border: 2px dotted #CCCCCC;
    border-radius: 15px;
    cursor: crosshair;
  }

.right-box{
    float: right 

}

.loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    animation: spin 2s linear infinite;
    display: none;
    position: relative;
    left: 50%;
    top: 50%;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8000;
}

#loading-spinner i {
    font-size: 500px;
}

/* Add CSS rules for the new overlay and loader */
#modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 8000;
  }
  
#modal-loading-spinner {
    position: absolute;
    top: 42%; /* eyeballed*/
    left: 45%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    width: 80px;
    height: 80px;
    margin: auto;
}

#cvModal {
    pointer-events: none;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.group-link {
    list-style-type: none; /* Removes the bullet points */
    padding-left: 3%; /* Removes the default padding */
    color: black; /* Changes the text color from blue to black */
    font-size: 1.2em; /* Increases the font size */
    font-weight: bold; /* Makes the text bold */
    text-decoration: none; /* Removes the underline */
    width: 100%; /* Makes the entire area clickable */
    display: block; /* Makes the entire area clickable */
}


.group-link.active {
    background-color: #a2a5a7; /* Light gray background */
}

/* The first groupList li should have margin on top */
#groupList li:first-child {
    margin-top: 10px;
}

/* The last groupList li should have margin on bottom */
#groupList li:last-child {
    height: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
}

#groupList li{
    border: #999;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    margin-right: 3%;
    margin-left: 3%;

}

.adminHeader{
    margin-left: 3%;
    border-bottom: 2px solid #363535;
    margin-right: 3%;
    margin-bottom: auto;
}

.bi-arrow-right{
    /* Place to arrow the right */
    float: right;
    margin-right: 3%;

}

#new-group-number {
    width: 80px;
    border-radius: 5px;
    border-color: black;
    color: black;
    margin-left: 3%;
    margin-top: 4px;
    margin-bottom: auto;
}
#new-group-name {
    border-radius: 5px;
    border-color: black;
    color: black;
    margin-left: 3%;
    margin-top: 4px;
}


#add-group-btn {
    float: right;
    height: 100%;
}

#subgroups-list li {
    border: #999;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    margin-right: 3%;
    margin-left: 3%;
}
#subgroups-list div {
    padding: 6px 0px 6px 0px;
}

/* The first groupList li should have margin on top */
#subgroups-list li:first-child {
    margin-top: 10px;
}


.btn-delete-subGroups {
    float: right;
}

#new-subgroup-number {
    width: 80px;
    border-radius: 5px;
    border-color: black;
    color: black;
    margin-left: 3%;
    margin-top: 4px;
    margin-bottom: auto;
}
#new-subgroup-name {
    border-radius: 5px;
    border-color: black;
    color: black;
    margin-left: 3%;
    margin-top: 4px;
    width: 180px;
}

#new-subgroup {
    border: #999;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    margin-right: 3%;
    margin-left: 3%;
    height: 40px;
    margin-bottom: 10px;
    margin-top: 10px;
}

#add-subgroup-btn{
    float: right;
}
/**
Dropdown menu
**/
#myInput[type=text] {
    width: 200px;
    box-sizing: border-box;
    border-top: 2px solid rgba(0, 0, 0, 0);
    border-left: 2px solid rgba(0, 0, 0, 0);
    border-right: 2px solid rgba(0, 0, 0, 0);
    border-bottom: 3px solid #1F4766;
    font-size: 16px;
    font-weight: bold;
    color: #999;
    background-color: rgba(0, 0, 0, 0);
    background-position: 10px 12px;
    background-repeat: no-repeat;
    padding: 12px 20px 12px 40px;
    text-align: left;
    transition: width 0.4s ease-in-out;
    font-family: 'gothic' !important;
}


#myInput[type=text]:focus {
    width: 100%;
    outline: none;
    border-bottom: 3px solid #1F4766;
}

.hover-bold:hover {
    font-weight: bold;
}

.dropdown2 {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 240px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    background-color: #f1f1f1
}

.show {
    display: block;
}

ul {
    padding: 0;
    list-style-type: none;
}

.inputkeyword {
    border-radius: 10px;
    border-color: black;
}

.btn-keyword {
    border-radius: 10px;
    border-color: black;
    color: black;
    font-weight: bold;
}
.keywordlimit {
    position: absolute;
    right: 0px;
    bottom: -5px;
    padding: 5px;
    width: 15px;
}

.selected {
    background: #ccc;
}

li a:hover {
    background: #ccc;
}