@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

html,body{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6em;
    margin: 0;
    color: #332e2e;
    height: 100%;
}

.body-wrapper{
    display: flex;
    flex-flow: column;
    height: 100%;
}

.header-wrapper{
    flex: 0 1 auto;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.header-wrapper-no-margin{
    margin-bottom: 0 !important;
}

.content-wrapper{
    flex: 1 1 auto;
}

.footer-wrapper{
    flex: 0 1 auto;
    background: #2d343e;
    color: #ddd;
    padding: 2rem;
    margin-top: 1rem;
}

ul,ol{
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: lighter;
}

h1, h2, h3 {
    line-height: 40px;
}

h1{
    font-size: 38.5px;
}

h2 {
    font-size: 31.5px;
}

h3 {
    font-size: 24.5px;
}

h4 {
    font-size: 17.5px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 11.9px;
}

p{
    font-size: 15px;
}

a{
    text-decoration: none;
    color: inherit;
}

a:hover{
    color: #b90000;
}

.tab-content-wrapper .tab-content-left{
    padding: 1rem;
}

.hidden{
    display: none !important;
}

img {
    max-width: 100%;
}

/* Navigation */
.logo-wrapper img{
    height: 40px;
    width: 221px;
}

.main-nav{
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
}

.main-nav ul li{
    padding: 0 8px;
    display: inline-block;
}

.main-nav ul li{
    color: #666;
    font-size: 15px;
}

/* Tab */
.tab{
    display: flex;
    flex-direction: column;
}

.tab .tab-headers{
    display: flex;
    justify-content: center;
}

.tab .tab-headers .tab-header{
    width: 130px;
    padding: 30px 10px 30px 10px;
    margin-right: 4px;
    border-radius: 0;
    background: #f0f0f0;
    color: #999;
    cursor: pointer;
}

.tab .tab-headers .tab-header.active
{
   background-color: #767676;
   color: #fff;
}

.tab .tab-headers .tab-header:hover{
    background-color: #b90000;
    color: #f0f0f0;
}

.tab .tab-headers .tab-header{
    text-align: center;
}

.tab .tab-headers .tab-header .fa{
    font-size: 3rem;
}

.tab .tab-contents{
    margin-top: 3rem;
}

.tab-content-wrapper{
    display: flex;
    flex-direction: row;
    text-align: center;
}

.tab-content-wrapper {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}

.tab-content-wrapper > div{
    flex-grow: 1;
    flex-basis: 0;
}


/* FORM */

.form-group{
    margin-bottom: 1rem;
    width: 100%;
}

.form-group label{
    margin-bottom: 0.5rem;
}

label{
    font-size: 18px;
    display: block;
}

input[type=text],
input[type=password],
input[type=number],
input[type=date],
textarea{
    display: block;
    width: 100%;
    height: 30px;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 30px;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-sizing: border-box;
    font-family: inherit;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

input[type=number]{
    padding-right: 0 !important;
}

input:disabled{
    background-color: #ccc;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=number]:focus,
input[type=date]:focus,
textarea:focus{
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
}

input[type=date]{
    cursor: pointer;
}

input[type=text].error,
input[type=password].error,
input[type=number].error,
input:invalid,
textarea:invalid {
    border: 1px solid #fbc2c2  !important;
}

input[type=checkbox]{
    background-color: #D9D9D9;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
    font-family: inherit;
    font-style: inherit;
}

.check-box label{
  cursor: pointer;
  display: inline-block;
}

textarea{
    line-height: 1.5;
    height: 70px;
}

button{
    display: inline-block;
    cursor: pointer;
    padding: 10px 20px;
    font-weight: bold;
    color: white;
    border: none;
    background-color: #b90000;
    width: fit-content;
    border-radius: 3px;
    margin-top: 5px;
}

button:hover{
    background-color: #9b0b01;
}

span{
    font-size: 14px;
}

.error-message{
    padding: 5px;
    color: grey;
}

table{
    width: 100%;
    border-collapse: collapse;
}

table th{
    padding: 5px;
    text-align: center;
    color: white;
    background-color: #b90000;
}

table td{
    padding: 5px;
}

table tbody td{
    border-bottom: 1px #CCCCCC solid;
}

.bold{
    font-weight: bold;
}

iframe{
    max-width: 100%
}

#profile-user-welcome-message {
    margin-bottom: 0;
}
.profile-user-statement {
    margin-top: 0;
    font-weight: bold;
}

@media (max-width: 768px) { 
    .tab-content-wrapper{
        padding: 1rem;
        flex-direction: column !important;
    }

    .container{
        padding: 1rem !important;
        margin: auto !important;
    }

    .main-nav{
        flex-wrap: wrap !important;
    }

    .main-nav li{
        margin-top: 1rem;
    }

    .login-form{
        padding: 1rem !important;
    }

    .feature-list{
        flex-direction: column;
    }

    h2, h1{
        font-size: 18px;
        line-height: 18px;
    }
}

@media (min-width: 768px) { 
    .container{
        padding: 1rem !important;
        margin: auto !important;
    }

    .main-nav{
        flex-wrap: wrap;
    }
 }

@media (min-width: 992px) { 
    .container{
        margin: auto;
    }
 }

@media (min-width: 1200px) { 
    .container{
        margin: auto;
        width: 1024px;
    }
}