html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-content: stretch;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    color: #777;
    font-size: 0.75rem;
}

#header_wrapper {
    padding: 20px 0;
    background-color: #333;
}
#header_wrapper #header {
    color: white;
}

#header_wrapper #header a {
    color: white;
    text-decoration: none;
}
#header_wrapper #header #header_left {
    display: flex;    
    float: left;
}
#header_wrapper #header #header_right {
    float: right;
    cursor: pointer;
}
#header_wrapper #header i {
    margin-right: 5px;
}
#header_wrapper #header span {
    margin: 0 20px;
}

#content {
    flex-grow: 1;
    overflow: auto;
}
#content #subheader_wrapper {
    /* background-color: #eee; */
    background-color: var( --color_frontend_company_bgnd_gray );
}
#content #subheader {
    display: flex;
    flex-direction: row;
    padding-top: 20px;
    column-gap: 16px;
    row-gap: 8xp;
}
#content #subheader_text {
    flex-basis: 75%;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var( --color_frontend_company_text_1 );
}
#content #subheader_text b {
    font-weight: 700;
}
#content #subheader_logo {
    flex-basis: 25%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* margin-left: 20px; */
}


#footer_wrapper {
    background-color: #000;
    /* background-color: var( --color_frontend_company_primary_red ); */
}
#footer_wrapper #footer {
    color: white;
    /* text-align: center; */
    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    row-gap: 15px;
}
#footer_wrapper #footer .brand {
    color: #aaa;
    text-decoration: none;
}
#footer_wrapper #footer #footer_legal {
    display: flex;
    flex-direction: row;
    column-gap: 4px;
    row-gap: 4px;
}
#footer_wrapper #footer #footer_legal a {
    color: white;
}
#footer_wrapper #footer_logo a {
    display: inline-block;
}
#footer_wrapper #footer img {
    height: 48px;
}
#footer_wrapper #footer #text_logo {
    font-family: "Oswald",arial,tahoma;
    text-transform: uppercase;
    color: #b99b5c;
    font-size: 30px;
}

/*********************************************************************************************/

.custom_width {
    max-width: 900px;
    margin: 0 auto;
}

.underline {
    text-decoration: underline;
}

@media only screen and (min-width: 1101px) {
    #footer_wrapper #footer { max-width: 1200px; }    
}
@media only screen and (max-width: 1100px) and (min-width: 601px) {
    #footer_wrapper #footer #footer_legal { flex-direction: column; text-align: center; }
    #footer_wrapper #footer #footer_legal .footer_legal_separator { display: none; }
}
@media only screen and (max-width: 600px) {
    #content #subheader { flex-direction: column; }
    
    #header_wrapper { text-align: center; }    
    #header_wrapper #header  { display: inline-block; }
    #header_wrapper #header #header_left { display: inline-block; }    
    #header_wrapper #header #header_left .separator { display: none; }
    #header_wrapper #header #header_right { float: none; }

    #footer { flex-wrap: wrap; }
    #footer span { flex-basis: 100%; text-align: center; }
    #footer_wrapper #footer #footer_legal { flex-direction: column; text-align: center; }
    #footer_wrapper #footer #footer_legal .footer_legal_separator { display: none; }
}
