main > .container {
    padding: 0 15px 20px;
}

.footer {
    padding-top: 50px;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.main_label, a.main_label {
    font-family: Arial, sans-serif;
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #212529;
    text-decoration: none;
    text-align: center;
}

.sub_label {
    font-size: 10px;
    font-weight: lighter;
    letter-spacing: 8px;
    text-align: center;
}

.call_now {
    color: #212529;
    font-weight: 500;
    text-decoration: none;
    font-size: 20px !important;
    font-family: Arial, sans-serif !important;
}

.call_now:hover {
    color: #212529;
    text-decoration: none;
}

.slider__items div, h1 {
    font-family: 'Pt Serif', Arial, sans-serif;
    font-size: 72px;
    font-weight: 700;
}

.main_menu a:hover, .main_contact a:hover {
    color: #212529;
    text-decoration: none;
    font-weight: 700;
}

.main_menu a, .main_contact a {
    text-decoration: none;
    line-height: 28px;
    color: #212529;
    font-size: 14px;
    font-family: 'Pt Sans Caption', Arial, sans-serif;
    font-weight: 400;
    background-position: center center;
    border-color: transparent;
    border-style: solid;
}

.main_label {
    float: left;
}

.main_menu, .main_contact {
    float: right;
}

.call_now b {
    font-size: 40pt;
}

.call_now div {
    padding: 0 20px;
    display: inline;
    vertical-align: center;
}

.call_now div:first-child, .call_now div:last-child {
    font-weight: 700;
    font-size: 40px;
}

a.active {
    font-weight: bold;
}

.contact_bar {
    position: relative;
}

.contact_label {
    width: 300px;
    height: 300px;
    background: #fff;
    position: absolute;
    left: 50px;
    top: -365px;
    z-index: 10;
    text-align: left;
    padding-top: 40px;
    padding-left: 40px;
    font-size: larger;
}

.contact_label a, .contact_label a:hover {
    color: #212529;
    text-decoration: none;
}

.contact_label div {
    margin-bottom: 20px;
}

.sub_title {
    font-family: 'Pt Serif', Arial, sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.call_button_left {
    padding-right: 20px;
}

.call_button_right {
    padding-left: 20px;
}

.container {
    padding-top: 50px;
}

body {
    height: calc(100vh - 80px);
}

@media (max-width: 767px) {
    body {
        height: calc(100vh - 60px);
    }

    .container {
        padding-top: 0;
    }

    .call_button_left {
        padding-right: 10px;
    }

    .call_button_right {
        padding-left: 10px;
    }

    .nav li > form > button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

@media (max-width: 640px) {
    body {
        height: calc(100vh - 20px);
    }

    .sub_title {
        font-size: 20px;
    }

    .mobile {
        display: block;
        margin-left: -15px;
    }

    .desktop {
        display: none;
    }

    .call_now div {
        padding: 10px;
    }

    .slider__items div, h1 {
        font-size: 40px;
    }

    .navbar-toggler {
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 1px solid #212529;
        border-radius: 0.25rem;
    }

    .navbar-brand {
        font-size: 2rem;
        font-weight: 300;
    }

    .navbar-nav .nav-link {
        font-size: 2rem;
    }

    .footer > .container {
        margin-top: -40px!important;
    }
}

a {
    color: #212529;
}

@media (max-width: 320px) {
    .slider__items div, h1 {
        font-size: 38px;
    }
}
