﻿html {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header ------------------------------------- */

#header {
    background: #047;
    color: white;
    font-size: 0.9em;
    z-index: 1;
    padding: 10px 0;
}

#header a {
    color: white;
    margin: 0 5px;
}

#header a:hover {
    color: #fc0;
}

#header .logo {
    max-height: 40px;
    width: 80%;
}

#header .header-phone {
    font-weight: bold;
    font-size: 1.5em;
}

#header .header-customers a {
    font-weight: bold;
    color: #fc0;
}

#header .header-customers a:hover {
    color: white;
}

#header .nav {
    margin: 0 -10px;
    justify-content: center;
    align-items: center;
}

#header .nav .nav-item {
    margin: 0 5px;
}

#header .title {
    font-size: 1.5em;
    margin-left: 20px;
}

#header .title-col {
    text-align: center;
}

/* Footer ----------------------------------- */

#footer {
    border-radius: 0;
    border: none;
    margin: 0;
    padding: 5px 0;
    color: #ccc;
    font-size: 0.85em;
    background: #222;
}

#footer .footer-copyright {
    opacity: 0.7;
    font-size: 0.8em;
}

#footer .footer-user {
    margin-bottom: 1em;
}

#footer .footer-user .avatar {
    border-radius: 50%;
}

#footer .footer-user a {
    margin-right: 0.7em;
}

#footer a {
    color: #ccc;
}

#footer a:hover {
    color: #fc0;
}

#footer .nav {
    margin: 20px -10px;
}

#footer .nav .nav-item {
    margin: 0 10px;
}

#footer .nav .nav-item.has-children {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
}

#footer .nav .nav {
    margin: 0.25em -10px;
    font-size: 0.95em;
}

#footer .contact-us .fa {
    fill: #fc0;
}

#footer .footer-logo-ctm {
    width: 200px;
    height: auto;
}

/* Page Structure  -------------------------- */

#main {
    padding: 2em 0;
}

#title {
    margin-bottom: 1em;
    padding-top: 2em;
}

#title h1 {
    margin: 0;
}
