/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
    color: #00109f;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
    color: #333;
    text-shadow: none;
 /* Prevent inheritance from `body` */
    background-color: #fff;
    border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
}

body {
    display: -ms-flexbox;
    display: flex;
    color: #fff;
}

h1{
    font-weight: 700;
}

h2 {
    font-weight: 300;
}

h4{
    font-weight: bold;
    color: #00109f;
    margin-bottom: 50px;
}

h5 span{
    padding: 5px 10px;
    background-color: #00109f;
    border-radius: 7px;
}

h5.address{
    color: #00109f;
    font-weight: bold;
    margin: 25px 0 35px;
}

.bg-image {
    background: linear-gradient(to top, rgb(255 255 255) 30%,rgb(255 255 255 / 10%) 100%), url(../images/bg-image.jpg) no-repeat center center;
    background-size: cover;
}

/*
 * Header
 */
.masthead {
    margin-bottom: 2rem;
}

.masthead-brand {
    margin-bottom: 0;
}

.nav-masthead .nav-link {
    padding: .25rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
    background-color: transparent;
    border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
    border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
    margin-left: 1rem;
}

.nav-masthead .active {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 48em) {
    .masthead-brand {
        float: left;
    }

    .nav-masthead {
        float: right;
    }
}


/*
 * Cover
 */
.cover {
    padding: 0 1.5rem;
}

.cover .btn-lg {
    padding: .75rem 1.25rem;
    font-weight: 700;
}

.cover #clockdiv {
    line-height: normal;
}

.cover #clockdiv .count {
    color: #F8E600;
    font-size: 4.5em;
    font-weight: 800;
    margin: 0px 20px;
}

.cover #clockdiv .label {
    color: #fff;
    font-size: 1.2em;
    font-weight: 300;
}

.cover ul > li > a:hover {
    color: #72c6ef;
}

.cover .fa-inverse {
    color: ##ffffff;
}


/*
 * Footer
 */
.mastfoot {
    color: rgba(77, 77, 79, 1.0);
    font-weight: 300;
}

.mastfoot .inner p > a {
    text-decoration: none;
}

.mastfoot .inner p > a:hover {
    color: #72c6ef;
}

@media (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .text-center-res {
        text-align: center!important;
    }

}

@media (min-width: 576px) and (max-width: 590px) {
    .container {
        max-width: 700px;
    }
}

@media (max-width: 575px) {

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    #logo-taberla {
        width: 35% !important;
    }

    .cover #clockdiv .count {
        font-size: 3.5em;
        margin: 0px 20px;
    }

    .cover #clockdiv .label {
        font-size: 0.7em;
    }

    .mastfoot {
        font-size: 0.8rem;
    }

}

@media (max-width:425px) {
    .cover #clockdiv .count {
        font-size: 2.5rem;
        margin: 0px 15px;
    }

    .cover #clockdiv .label {
        font-size: 0.5rem;
    }
}

@media (max-width:375px) {
    .cover #clockdiv .count {
        font-size: 1.5rem;
    }

    .cover #clockdiv .label {
        font-size: 0.5rem;
    }
}

@media (max-width:320px) {
    .cover #clockdiv .count {
        font-size: 1rem;
    }

    .cover #clockdiv .label {
        font-size: 0.5rem;
    }
}
