html,
body {
    height: 100%;
    font-weight: 300;
    position: relative;
    font-size: 16px;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.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;
}

a {
    color: #00c7e5;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
}

.wrap > .header {
    height: 130px;
    background: #fff;
    width: 100%;
    overflow: hidden;
}

.header.sticky {
    height: 60px;
    position: fixed;
    top: 0;
    box-shadow: 0 3px 5px 0 RGBA(0, 0, 0, 0.3);
    z-index: 5;
}

.header a.logo {
    height: 87px;
    width: 245px;
    background: url('../img/logo.png');
    margin: 20px;
    float: left;
    transition: 0.3s;
    display: block;
}

.header.sticky a.logo {
    height: 60px;
    background: url('../img/logo-small.png') center;
    margin: 0 20px;
}

.headerNav {
    overflow: hidden;
    float: right;
    margin: 0 20px;
}

.headerNav .phone {
    margin: 12px 0 0;
    font-size: 2.6em;
}

.header.sticky .headerNav .phone {
    display: none;
}

.navigation {
    margin-top: 10px;
}

.navigation .nav > li > a:focus {
    background: none;
}

.navigation .nav > li > a {
    position: relative;
    display: block;
    padding: 5px 10px;
    margin: 0 15px;
    font-size: 1.3em;
    font-weight: 300;
    color: #384045;
}

.navigation .nav > li.active > a,
.navigation .nav > li > a:hover {
    background: none;
    border-bottom: 4px solid #c53827;
}

.wrap section {
    font-size: 1.3em;;
}

.wrap section .container {
    overflow: hidden;
}

section.black {
    background: #1b272d;
    color: #ffffff;
}

.wrap section.grey {
    background: #f3f3f3;
    color: #1b272d;
}

.wrap section.about {
    padding: 20px 0 40px;
}

.wrap section h2 {
    border-left: 5px solid #00c7e5;
    padding-left: 15px;
    font-weight: 100;
    font-size: 2em;
}

.wrap section.features {
    padding: 20px 0;
    text-align: center;
}

.box {
    width: 250px;
    display: inline-block;
    margin: 0 15px 20px;
    vertical-align: top;
    font-size: 16px;
}

.features img {
    margin: 0 auto 10px;
    display: block;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: url('../img/overlay.png');
    width: 100%;
    height: 100%;
}

.card-wrapper {
    margin: 20px -20px;
    text-align: center;
}

.card {
    width: 250px;
    height: 230px;
    display: inline-block;
    box-shadow: 0 0 10px 0 RGBA(0, 0, 0, 0.3);
    margin: 20px;
}

.card:hover {
    box-shadow: 0 0 15px 0 RGBA(0, 0, 0, 0.7);
}

.card-header {
    height: 140px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.card-body {
    padding: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.card-license-wrapper {
    text-align: center;
    margin: 40px -45px;
}

.card-license {
    height: 240px;
    width: 210px;
    display: inline-block;
    margin: 0 45px;
    overflow: hidden;
}

.card-license:hover {
    box-shadow: 0 0 15px 0 RGBA(0, 0, 0, 0.7);
}

.card-license-header {
    color: #ffffff;
    height: 120px;
    padding-top: 30px;
}

.card-license-header.red {
    background: #c53827;
}

.card-license-header.blue {
    background: #31cbf7;
}

.card-license-header.orange {
    background: #ff6f42;
}

.card-license-header.grey {
    background: #9f9f9f;
}

.card-license-body {
    font-size: 16px;
    font-weight: 300;
    padding: 20px 10px;
    height: 120px;
    color: #ffffff;
    background: #1b272d;
    text-align: left;
}

.card-client-wrapper {
    margin: 20px -25px;
    text-align: center;
}

.card-client {
    height: 460px;
    width: 340px;
    background: #dedede;
    font-size: 16px;
    margin: 15px 25px;
    display: inline-block;
}

.card-client:hover {
    box-shadow: 0 0 15px 0 RGBA(0, 0, 0, 0.7);
}

.card-client-header {
    height: 215px;
    position: relative;
    overflow: hidden;
}

.card-client-title {
    height: 55px;
    width: 310px;
    margin: 0 auto;
    line-height: 55px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #b3b3b3;
}

.card-client-body {
    height: 140px;
    padding: 10px 15px;
    overflow: hidden;
    text-align: left;
}

.read-more:focus,
.read-more:active {
    outline: none;
}

.card-client .read-more {
    height: 50px;
    width: 310px;
    margin: 0 auto;
    display: block;
    background: none;
    border: none;
    border-top: 1px solid #b3b3b3;
    text-align: center;
    font-weight: bold;
}

.card-client.additional {
    display: none;
}

button.show-all {
    color: #00c7e5;
    font-size: 18px;
    background: none;
    border: none;
    margin: 0 auto 20px;
    display: block;
}

button.show-all:focus {
    outline: none;
}

.card:hover,
.card-license:hover {
    cursor: pointer;
}

.card,
.card-license,
.card-client {
    overflow: hidden;
}

.contacts {
    height: 500px;
    width: 100%;
    position: relative;
}

.contacts #map {
    height: 500px;
    width: 100%;
}

.contacts .container {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -585px;
}

.footer {
    background: #1b272d;
    color: #999999;
}

.footer a {
    color: #ffffff;
}

.footer .navbar-nav,
.footer .navbar-nav > li {
    float: none !important;
}

.footer .navbar-nav {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer .nav > li > a:focus {
    background: none;
    outline: none;
}

.footer .nav > li > a {
    position: relative;
    display: block;
    padding: 10px 20px;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 300;
    border-bottom: 1px solid #4F5E60;
}

.footer .nav > li > a:hover {
    background: #2F373C;
}

.logo-footer {
    height: 81px;
    width: 221px;
    margin-top: 30px;
    background: url('../img/logo-footer.png');
}

.footer .column {
    padding-top: 20px;
}

.footer .column p {
    padding: 9px 20px;
    border-bottom: 1px solid #4F5E60;
    font-size: 16px;
    margin: 0;
}

.modal-body img {
    max-width: 100%;
}

.spinner-box {
    width: 100%;
    height: 50px;
    text-align: center;
    margin: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid #777777;
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: spin 700ms infinite linear;
}

@keyframes spin {
    100%{ transform: rotate(360deg); }
}

@media (max-width: 970px) {
    .headerNav {
        display: none;
    }
    .header a.logo {
        margin: 20px auto;
        float: none;
        display: block;
    }
    .header.sticky a.logo {
        margin: 0 auto;
    }
}