/****************************/
/* Global   				*/
/****************************/
:root {
    --white: #fff;
    --black: #000;
    --blue: #052963;
    --hocBlue: #036ca5;
    --dark: #373a3c;
    --grayLink: #a6b0cf;
    --grayDarkLink: #7f8387;
    --gray: #262b3c;
    --darkGray: #3c4054;
    --lightgray: #808390;
    --red: #FF0000;
    --darkGreen: #2e4b4f;
    --lightGreen: #28c76f;
    --darkOrange: #504448;
    --lightOrange: #ff9f43;
    --yellow: #ffc107;
}

body {
    font-size: 14px;
    font-weight: 300;
    color: var(--black);
}
#root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex-grow: 1;
    display: flex;
}

/* Fonts */
.bold {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

/* Links */
a,
a:visited {
    text-decoration: none !important;
}

a:not(.sidebar a),
a:visited:not(.sidebar a:visited) {
    color: var(--blue);
    outline: none;
}

/* a:hover {
    color: var(--red);
} */
li {
    list-style: none;
}

::-webkit-scrollbar {
    width: 0;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

/****************************/
/* Reusables   				*/
/****************************/

/* Positions */
.relative {
    position: relative;
}

.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.abs-mr {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

/* Displays */
.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
    justify-content: space-between;
}
.flex-grow {
    flex-grow: 1;
}

/* Heights */
.height-100 {
    height: 100vh;
}
/* Font Sizes */
.fs-11 {
    font-size: 11px;
}
.fs-13 {
    font-size: 13px;
}
.fs-16 {
    font-size: 16px;
}
.fs-20 {
    font-size: 20px;
}
.fs-2rem {
    font-size: 2rem;
}

/* Font Weights */
.fw-600 {
    font-weight: 600;
}

/* Text Transforms */
.uppercase {
    text-transform: uppercase;
}

/* Aligns */
.ta-center {
    text-align: center;
}

.ta-right {
    text-align: right;
}

/* Margins */
.no-margin {
    margin: 0 !important;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

/* Paddings */
.padding-vert-5 {
    padding: 5px 0;
}

.padding-vert-20 {
    padding: 20px 0;
}

.padding-40 {
    padding: 40px;
}
.padding-vert-40 {
    padding: 40px 0;
}
.padding-hor-40 {
    padding: 0 40px;
}
.padding-vert-90 {
    padding: 90px 0;
}

/* Colors */
.white {
    color: var(--white);
}

.black {
    color: var(--black) !important;
}

/* Widths */
.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

/* Sizes */
.cover {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

/* Borders */
.border-top-1 {
    border-top: 1px solid var(--gray);
}

.border-bottom-1 {
    border-bottom: 1px solid var(--gray);
}

/* Buttons */
.btn {
    color: var(--black) !important;
    background: transparent;
    padding: 10px 30px;
    border: 2px solid #000;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.btn:hover {
    color: var(--white) !important;
    background: var(--black);
}

/* Pointer */
.pointer {
    cursor: pointer;
}

/* Forms */
input, 
select,
textarea {
    width: 100%;
    outline: none;
    border: none;
    border-bottom: 1px solid var(--black);
    color: var(--black);
    padding: 10px;
}
/* .dashboard-content input {
    height: 39px;
} */
input[disabled],
textarea[disabled] {
    background: transparent;
}
textarea {
    height: 150px; 
    margin-top: 10px;
}
label {
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 11px;
    padding: 0 10px;
    color: var(--grayDarkLink);
    margin-bottom: 5px;
    transition: all .2s ease-in-out;
}
/* form input:not(:placeholder-shown) + label,
form input:focus + label,
form label.active
 {
    font-size: 11px;
    top: -10px;
} */
form .error {
    color: var(--red);
}

/* Searchbar */
.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1.25rem + 2px);
    padding: 0.625rem 1.1875rem;
    line-height: 1.5;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--black);
    background: no-repeat bottom,50% calc(100% - 1px);
    background-size: 0 100%,100% 100%;
    transition: background 0s ease-out;
}
.form-control:focus {
    outline: none;
    border-bottom-color: transparent;
    background-size: 100% 100%,100% 100%;
    transition-duration: .3s;
    box-shadow: none;
    background-image: linear-gradient(0deg,var(--blue) 2px,rgba(70,128,255,0) 0),linear-gradient(0deg,var(--grayLink) 1px,rgba(206,212,218,0) 0);
}

/* Tables */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--black);
    border-collapse: collapse;
}
.table thead tr {
    border-bottom: 1px solid #e2e5e8;
    font-size: 13px;
    color: var(--dark);
    background: #ecf0f5;
    text-transform: uppercase;
}
.table td,
.table tr {
    border-top: 1px solid #e2e5e8;
}
.table td,
.table th {
    border-top: 1px solid #e3eaef;
    padding: 1.5rem 0.75rem;
}

th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}
.table-hover tbody tr:hover {
    background-color: rgba(70, 128, 255, .03);
}

.table-link::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5em;
}

/* Spinner */
#loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: var(--red);
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
  }
  
@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

/* ReactQuill Editor */
/* .ql-editor {
    min-height: 200px;
} */

/****************************/
/* Header   				*/
/****************************/
header {
    position: fixed;
    top: 0;
    background-color: var(--white);
    width: 100%;
    /* border-bottom: 1px solid #dcdbdb; */
    z-index: 999;
}
.admin-menu {
    background: var(--blue);
}

header .logo-container {
    max-height: 60px;
}

header a,
.admin-menu a {
    color: var(--grayLink) !important;
    margin: 0 10px;
    transition: all .5s;
}

header a:hover,
.admin-menu a:hover {
    color: var(--white) !important;
}
.lang-switcher {
    font-size: 1.5rem;
}

/****************************/
/* Sidebar         			*/
/****************************/
.sidebar {
    height: calc(100vh - 27px);
    background-color: var(--white);
    border-right: 1px solid #dcdbdb;
    transition: width 0.3s ease;
}

.sidebar-closed {
    width: 50px !important;
    padding: 0 !important;
}

.sidebar-closed .sidebar-sticky {
    width: 0 !important;
}
.sidebar-sticky {
    position: sticky;
    overflow-y: scroll;
    height: 100%;
    padding-top: 50px;
}
.hamburger {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 9;
}
.hamburger .line{
    width: 30px;
    height: 2px;
    background-color: var(--blue);
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.hamburger.is-active .line:nth-child(2){
    opacity: 0;
}
.hamburger.is-active .line:nth-child(1){
    -webkit-transform: translateY(10px) rotate(45deg);
    -ms-transform: translateY(10px) rotate(45deg);
    -o-transform: translateY(10px) rotate(45deg);
    transform: translateY(10px) rotate(45deg);
}
.hamburger.is-active .line:nth-child(3){
    -webkit-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    -o-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}
/* SideBar Menu items*/
.sidebar-sticky li {
    padding: 3px 0;
}
.menu-title {
    padding: 16px 8px !important;
    margin-bottom: 3px;
    letter-spacing: .05em;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--black);
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all .5s ease;
}
.menu-title.active,
.menu-title:hover {
    background: #ecf0f5;
}
.menu-title .arrow {
    float: right;
    transition: transform 0.3s ease;
}
.menu-title .arrow-up {
    transform: rotate(-180deg);
}
.sub-menu-item-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
}
.sub-menu-item-container.open {
    grid-template-rows: 1fr;
}
.sub-menu-item-container ul {
    margin: 0;
    padding-left: 10px !important;
}
.sub-menu-items {
    overflow: hidden;
}
.nav-link {
    color: var(--dark);
    display: block;
    padding: 16px 8px !important;
    letter-spacing: .05em;
    font-size: 11px;
    position: relative;
    border-radius: 0.375rem;
    transition: all .5s;
}
.nav-link.active,
.nav-link:hover {
    background: rgba(70, 128, 255, .05);
}

/****************************/
/* Login         			*/
/****************************/
.login-wrapper {
    max-width: 50%;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .login-wrapper {
        max-width: 90%;
    }
    .login-header {
        font-size: 2rem;
    }
   .login-wrapper h2 {
        font-size: 2rem;
    }
    .row {
        margin-bottom: 0;
    }
    .row .col {
        margin-bottom: 20px;
    }
}

/****************************/
/* Dashboard      			*/
/****************************/
.dashboard-content {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 26.5px);
    transition: width 0.3s ease;
    overflow-y: scroll;
}
.dashboard-content.m12 {
    width: calc(100% - 50px) !important
}
g.recharts-layer.recharts-label-list text tspan {
    fill: #fff !important;
    font-weight: 900;
}

/****************************/
/* Lists          			*/
/****************************/
.status,
.municipality-status {
    padding: 5px 10px;
}
.status.Active {
    color: var(--lightGreen);
    background-color: var(--darkGreen);
}
.status.Pending,
.status.Draft {
    color: var(--lightOrange);
    background-color: var(--darkOrange);
}
.status.Inactive {
    color: var(--lightgray);
    background-color: var(--darkGray);
}
.status.Declined {
    color: var(--white);
    background-color: var(--red);
}
.status.Approved,
.municipality-status.Yes {
    color: var(--lightGreen);
    background-color: var(--darkGreen);
}
.status.New {
    color: var(--black);
    background-color: var(--lightOrange);
}
.municipality-status.No {
    color: var(--black);
    background-color: var(--yellow);
}

/****************************/
/* Homepage          		*/
/****************************/
.homepage {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}
.homepage-content {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    max-height: 100vh;;
    width: 50%;
}
@media (max-width: 1024px) {
    .homepage {
        flex-direction: column;
        min-height: auto;
    }
    .homepage-content {
        width: 100%;
        max-height: none;
        padding: 20px 10px;
    }
    .homepage-image {
        width: 100% !important;
        min-height: 200px;
        height: 100%;
    }
}
.homepage-content h1 {
    font-size: 4vw;
}
@media (max-width: 480px) {
    .homepage-content h1 {
        font-size: 2.2rem;
    }
}
.homepage-content .button {
    display: inline-flex;
    background-color: var(--hocBlue);
    color: var(--white);
    padding: 10px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.3rem;
}
.homepage-content .countdown-display {
    display: flex;
    gap: 2%;
    justify-content: center;
}
.homepage-content .countdown-display .countdown-number {
    font-size: 8vw;
    line-height: 8vw;
    font-weight: 900;
}
.homepage-content .countdown-display .countdown-label {
    font-size: 1.2vw;
    font-weight: 900;
    text-transform: uppercase;
}
@media (max-width: 1024px) {
    .homepage-content .countdown-display .countdown-label {
        font-size: 2vw;
    }
}
@media (max-width: 480px) {
    .homepage-content .countdown-display .countdown-label {
        font-size: 3vw;
    }
}
.homepage-content .countdown-display .countdown-separator {
    font-size: 1.5rem;
    align-self: center;
}
.homepage-image {
    width: 50%;
}

/****************************/
/* Application          	*/
/****************************/
.application-header {
    padding: 90px 0 40px 0;
}
@media (max-width: 1024px) {
    .application-header {
        padding: 20px 0 20px 0;
    }
    .application-header img {
        max-height: 120px;
    }
    .application h2 {
        font-size: 2rem;
    }
}
.application input,
.application textarea {
    border: 1px solid var(--lightgray);
    border-radius: 6px;
    height: 50px;
    padding: 30px 10px 20px 10px;
}
.application select {
    border: 1px solid var(--lightgray);
    border-radius: 6px;
    height: 50px;
    padding-top: 20px;
}
.application textarea {
    width: 100%;
    min-height: 80px;
    overflow: auto;
    resize: vertical;
}
.application input:focus,
.application select:focus,
.application textarea:focus {
    border-color: var(--hocBlue);
}
.application label {
    top: 5px;
}
.application .button {
    display: inline-flex;
    background-color: var(--hocBlue);
    color: var(--white);
    padding: 10px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.3rem;
}

/****************************/
/* Login          	    	*/
/****************************/
.auth-header {
    padding: 90px 0 40px 0;
}
@media (max-width: 1024px) {
    .auth-header {
        padding: 20px 0 20px 0;
    }
    .auth-header img {
        max-height: 120px;
    }
}
.auth input,
.auth textarea {
    border: 1px solid var(--lightgray);
    border-radius: 6px;
    height: 50px;
    padding: 30px 10px 20px 10px;
}
.auth select {
    border: 1px solid var(--lightgray);
    border-radius: 6px;
    height: 50px;
    padding-top: 20px;
}
.auth textarea {
    width: 100%;
    min-height: 80px;
    overflow: auto;
    resize: vertical;
}
.auth input:focus,
.auth select:focus,
.auth textarea:focus {
    border-color: var(--hocBlue);
}
.auth label {
    top: 5px;
}
.auth .button {
    display: inline-flex;
    background-color: var(--hocBlue);
    color: var(--white);
    padding: 10px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.3rem;
}

/****************************/
/* Pages                  	*/
/****************************/
.page li[data-list="bullet"] {
    list-style: disc;
}
.page li[data-list="ordered"] {
    list-style: decimal;
}
.page-header {
    padding: 90px 0 40px 0;
}