@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    height: 100%;
    font-size: 14px;
}

body {
    height: 100%;
    margin-bottom: 120px;
}

/*.nav-item.active {
    background-color: #5D79B5;
    color: white;
}*/

.nav-item {
    border-bottom: 5px solid transparent;
}

    .nav-item.active {
        border-bottom: 5px solid #5D79B5;
    }

.dropdown-item {
    border-bottom: 5px solid transparent;
    background-color: transparent !important;
}

    .dropdown-item.active, .dropdown-item:active {
        border-bottom: 5px solid #5D79B5;
        background-color: #cbd9f4 !important;
    }

.header-image {
    width: 100%;
    height: 15%;
    object-fit: cover;
    margin-top: 100px;
    margin-bottom: 10px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: white;
}

.last-body-element {
    margin-bottom: 120px;
}

#wrap {
    padding: 10px;
    min-height: -webkit-calc(100% - 100px); /* Chrome */
    min-height: -moz-calc(100% - 100px); /* Firefox */
    min-height: calc(100% - 100px); /* native */
}

.navbar-bottom {
    width: 100%;
    background-color: white;
    padding: 0px !important;
}

.footer-bottom {
    height: 120px;
    width: 100%;
    font-size: 10px;
    display: flex;
    align-content: center;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    vertical-align: middle !important;
    padding: 0px !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.home-title {
    color: #48577E !important;
}

.home-subtitle {
    color: #5D79B5 !important;
}

.page-title {
    color: #48577E !important;
}

.brand-name {
    display: inline-block;
    vertical-align: middle;
}

.location {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-top: 80px;
}

.portrait {
    max-width: 150px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    float: left;
    border-radius: 8px;
}

.logos {
    max-height: 40px;
    margin: 5px;
}

.google-map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    float: none;
}

.contact-form {
    background-color: #cbd9f4;
    padding: 5%;
}

.input-form {
    width: 100%;
    min-height: 40px;
    border-bottom-right-radius: 10px;
    border: 0px;
    margin-top: 2%;
    padding: 2%;
}

input[type=text] {
    width: 100%;
    margin-top: 3px;
    margin-bottom: 3px;
}

textarea {
    margin-top: 5px;
    margin-bottom: 5px;
    min-height: 100px;
    width: 100%;
}

input[type=submit] {
    padding: 2%;
    margin-top: 2%;
    background-color: #fcfffc;
    color: #0a100d;
    border-radius: 10px;
    border: 0px;
}

    input[type=submit]:hover {
        background-color: #2d3a3a;
        color: #fcfffc;
    }
/* The Modal (background) */
.dialog {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.dialog-content {
    background-color: #f2f2f2;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    /* border: 1px solid #0a100d; */
    width: 80%; /* Could be more or less, depending on screen size */
    /* height: 200px; */
    border-bottom-right-radius: 10px;
    border-top-left-radius: 10px;
}

.dialog-close {
    position: absolute;
    left: 50%;
    -ms-transform: translate(-50%, -25px);
    transform: translate(-50%, -25px);
}

.dialog-message {
    padding: 5%;
    text-align: center;
}

.contact-button {
    color: #cbd9f4 !important;
}

.align-items-center {
    display: flex;
    align-items: center !important;
}

.contact-item {
    margin-top: 12px;
    margin-bottom: 12px;
}

li > a {
    color: #5D79B5;
}

li > i {
    color: #ffffff;
}

.icon-background {
    color: #48577E;
}

.circle-icon {
/*    padding: 5px;*/
    color: #ffffff;
}

.no-padding {
    padding-right: 0 !important;
    padding-left: 0 !important;
}