@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    /* font-family: 'Verdana', 'Arial', 'SunSans-Regular', 'Sans-Serif'; */
    font-family: 'Lato', sans-serif !important;
    font-size: 1rem;
    background-color: #FFF;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;

    font-weight: 400;
    line-height: 1.5;
    color: #212529;

    /* text-align: center; */
    --dark: #23424a;
    --mid: #136c72;
    --light: #38cfd9;
    --purple: #87629a;
    --white: #fff;
    --offWhite: #e4e4e4;
    --black: #444;
    --grey: #ced4da;
    --primary-blue: #007bff;
}

p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: var(--black);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    /* font-size: 2rem; */
    font-size: 1.2rem;
    line-height: 1.2;
}

.center {
    text-align: center;
}

.error-text {
    color: #F00;
}

.section-header-text-decoration {
    text-align: center;
    font-weight: bold;
    word-spacing: 0.2em;
    letter-spacing: 0.11em;
}

/* form {
    display: flex;
    flex-direction: column;
} */

.page-conatiner {
    /* display:inline-block; */
    /* border: 1px solid #006400; */
    max-width: 1200px;
    padding-top: 9rem;
    /* padding-left: .45rem; */
    /* padding-right: .45rem; */
    text-align: left;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
}

.top-buttons-conatiner {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    padding-left: -1px;
    padding-right: -1px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.page-content-box {
    width: 100%;
    padding: 10px;
}

.primary-button {
    background-color: #07006F;
    border: none;
    color: white;
    width: auto;
    padding: 8px 8px;
    text-align: center;
}

.page-header-text {
    font-size: 1.4rem;
    font-weight: bold;
    /* color: #00008B; */
    color: #3f6433;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.default-button {
    width: 150px;
    padding: 5px;
    height: 30px;
}

.failed-input {
    border: 1px solid red !important;
}

.form-validation-error-label {
    margin-top: .25rem;
    padding-left: .2rem;
    padding-top: .2rem;
    padding-right: .2rem;
    padding-bottom: .5rem;
    font-size: 1rem;
    line-height: 1;
    color: #f00;
    text-align: left;
}

.generic_message_box {
    background-color: #f2f2f2;
    border: 1px solid #f2f2f2;
    padding: 10px;
    color: #000000;
    font-size: 1rem;
    text-align: center;
}

.error_message_box {
    background-color: #FCEEE8;
    border: 1px solid #FCEEE8;
    padding: 10px;
    color: #F00000;
    font-size: 1rem;
    text-align: center;
}

.success_message_box {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #DCEDC8;
    padding: 10px;
    background-color: #DCEDC8;
    color: #000000;
    font-size: 1.2rem;
    text-align: center;
}

.info-message-with-bigger-font {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Page Top Header  */

img {
    max-width: 100%;
    height: auto;
    width: auto\9;
    /* ie8 */
}

a.generic-link-decoration {
    color: #3f6433;
    text-decoration: none;
}

a.generic-link-decoration:hover, a.generic-link-decoration:active {
    text-decoration: underline;
}

.desktop-top-menu-bar {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.button {
    background-color: #07006F;
    border: none;
    color: white;
    width: auto;
    padding: 8px 8px;
    text-align: center;
    display: inline-block;
}

.forms-center-conatiner {
    text-align: center;
    display: flex;
    justify-content: center;
}

.align-item-right {
    text-align: right;
    display: flex;
    justify-content: center;
}

.primary-button-for-forms {
    background-color: #749447;
    border: 0;
    border-radius: 0 !important;
    color: white;
    font-size: 1rem;
    line-height: 1.33333;
    font-weight: 400;
    min-width: 170px;
    padding: 12px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.primary-button-for-forms:disabled {
    background-color: lightgray;
    color: #000;
    cursor: not-allowed;
}

.primary-button-for-forms:disabled:hover {
    background-color: lightgray;
    color: #000;
    cursor: not-allowed;
}

.small-button {
    background-color: #a1be37;
    border: 0;
    border-radius: 0 !important;
    color: white;
    font-size: 1rem;
    line-height: 1.33333;
    font-weight: 400;
    min-width: 150px;
    padding: 5px 10px 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.primary-button-for-forms:hover,
.small-button:hover {
    background-color: #91B32B;
}

.edit-record-button {
    background-color: #007bff;
    border: 0;
    border-radius: 0 !important;
    color: white;
    font-size: 1rem;
    line-height: 1.33333;
    font-weight: 400;
    min-width: 90px;
    padding: 5px 5px 5px 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-record-button:hover {
    background-color: #053a74;
}

.delete-record-button {
    background-color: #FF0000;
    border: 0;
    border-radius: 0 !important;
    color: white;
    font-size: 1rem;
    line-height: 1.33333;
    font-weight: 400;
    min-width: 90px;
    padding: 5px 5px 5px 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.delete-record-button:hover {
    background-color: #880707;
}

.top-menu-button {
    /* background-color: #a1be37; */
    background-color: #FFF;
    text-transform: uppercase;
    border: 0;
    border-radius: 0 !important;
    color: #555;
    width: auto;
    font-size: 1rem;
    line-height: 1.33333;
    font-weight: 600;
    padding: 12px 12px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
}

.print-button {
    background-color: #749447;
    border: 0;
    border-radius: 0 !important;
    color: #FFF;
    width: auto;
    font-size: 1rem;
    line-height: 1.33333;
    padding: 6px 6px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
}

.top-menu-button:hover {
    background-color: #91B32B;
    color: white;
}

.print-button:hover {
    background-color: #91B32B;
    color: white;
}

.top-button-item-container {
    padding: 5px 5px;
}

.top-button-item-container:not(:last-child) {
    border-right: 2px solid lightgray;
}

.top-button-item-container-no-separator {
    padding: 5px 5px;
    border-right: 0px solid lightgray;
}

/*  new header code */

/* ::-moz-selection {
    background: #F34A4E;
    color: #FFF;
}

::selection {
    background: #F34A4E;
    color: #FFF;
} */

.sr-only {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.page-top-header {
    background-color: #3f6433;
    color: #fff;
    height: auto;
    border-bottom: 0.5rem solid #a1be37;
    font-size: 1.4rem;
    line-height: 1.42857;
    font-weight: 600;
    width: 100%;
}

.ait-logo {
    margin: 0 0 -10px;
}

/**
 * Flex & layout things:
 * — Mobile first
 * — Responsive
 */
img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    /* padding: 1em 0.5em; */
    padding: 1.5rem 1rem;
    margin: 0 auto;
}

.top-menu-position {
    /* padding-top: 7.05rem; */
    padding-top: 7.75rem;
}

.width-100 {
    width: 100%;
}

.page-top-header .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.page-top-header-fixed {
    position: fixed;
    width: 100%;
}

.left-menus-container {
    display: flex;
    flex-direction: row;
}

.right-menus-container {
    display: flex;
    flex-direction: row;
}

/* ******************************* */
/*       Responsive Nav Bar        */
/* ******************************* */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #3f6433;
    color: white;
    padding: 15px 0;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

nav .nav-link:first-child {
    padding-left: 0;
}

.nav-link {
    padding: 10px 15px;
    display: inline-block;
    font-size: 1rem;
    text-transform: uppercase;
}

main {
    padding-bottom: 5rem;
    width: 100%;
}

.min-height-80 {
    min-height: 89%;
}

.padding-inline-2 {
    padding-inline: 2.5em;
}

.ham-berger-position {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    margin-top: -110px;
    margin-left: -10px;
    color: white;
}

.mobile-sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(49, 82, 38, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.mobile-sidenav a {
    /* padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 16px;
    color: #FFF;
    display: block;
    transition: 0.3s; */
    display: block;
    transition: 0.3s;
    text-transform: uppercase;
    border: 0;
    border-radius: 0 !important;
    color: white;
    width: auto;
    font-size: 1rem;
    /* line-height: 1.33333; */
    font-weight: 400;
    padding: 8px 8px 8px 32px;
    border: none;
    border-radius: 0px;
    cursor: pointer;
    text-decoration: none;
}

.mobile-sidenav a:hover {
    /* color: #f1f1f1; */
    background-color: #91B32B;
}

.mobile-sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    color: white;
}

.form-button-card {
    display: flex;
    justify-content: center;
    background-color: #f2f2f2;
    padding: 5px;
    border-radius: 4px;
    margin-top: 3px;
}

@media (min-width:600px) {
    .page-top-header .container {
        justify-content: space-between;
    }

    .ham-berger-position {
        visibility: hidden;
    }
}

@media screen and (max-height: 450px) {
    .mobile-sidenav {
        padding-top: 15px;
    }

    .mobile-sidenav a {
        font-size: 16px;
    }
}

/* Mobile */
@media only screen and (max-width: 1024px) {
    .min-height-80 {
        min-height: auto;
    }

    .page-conatiner {
        padding-top: 9rem;
    }

    #footer.footer {
        padding: 15px 0;
    }

    .hide-mobile {
        display: none;
    }

    .primary-button-for-forms {
        width: 100%;
    }

    .ham-berger-position {
        visibility: visible;
    }
}