body {
    /*padding-top: 50px;*/
    padding-top: 0px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}


.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /*width: 50%;*/
}

.active {
    border: 1px solid white;
}

.first-paragraph {
    font-size: x-large;
    line-height: 200%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: justify;
}

.background-img {
    background-image: url('/images/header-background-bw.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    position: relative;
    margin-left: -50vw;
    left: 50%;
    padding-left: 0vw;
}

.page-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-title {
    font-weight: bold;
    color: white;
    letter-spacing: -2px;
    font-size: 8vmin;
    display: flex;
    justify-content: center;
    margin-top: 1.2em;
    margin-bottom: 1em;
}

.main-title {
    font-weight: bold;
    color: #81c94c;
    letter-spacing: -3px;
    font-size: 4.3em;
    margin-top: 1em;
    margin-bottom: 1em;
}

@media (min-width: 1901px) {
    /*.main-title {
        color: blueviolet;
    }*/
}

@media (min-width: 1501px) and (max-width: 1900px) {
    /*.main-title {
        color: aqua;
    }*/
}

@media (min-width: 1301px) and (max-width: 1500px) {
    /*.main-title {
        color: yellow;
    }*/
}

@media (min-width: 1101px) and (max-width: 1300px) and (max-height: 800px) {
    /*.main-title {
        color: gray;
    }*/
}

@media (min-width: 1101px) and (max-width: 1300px) and (min-height: 801px) {
    /*.main-title {
        color: cadetblue;
    }*/
}

@media (min-width: 901px) and (max-width: 1101px) and (max-height: 500px) {
    .main-title {
        /*color: green;*/
        font-size: 10vmin;
    }
}

@media (min-width: 901px) and (max-width: 1101px) and (min-height: 501px) and (max-height: 600px) {
    .main-title {
        /*color: red;*/
        font-size: 10vmin;
    }
}

@media (min-width: 901px) and (max-width: 1101px) and (min-height: 601px) and (max-height: 800px) {
    .main-title {
        /*color: magenta;*/
        font-size: 7vmin;
    }
}

@media (min-width: 901px) and (max-width: 1101px) and (min-height: 801px) {
    .main-title {
        /*color: brown;*/
        font-size: 5vmin;
    }
}

@media (min-width: 901px) and (max-width: 1101px) and (min-height: 1400px) {
    .main-title {
        /*color: tomato;*/
        font-size: 5.2vmin;
    }
}

@media (min-width: 768px) and (max-width: 900px) and (min-height: 601px) {
    .main-img {
        height: 18vh;
    }

    .main-title {
        font-size: 3.2em;
    }
}

@media (min-width: 768px) and (max-width: 900px) and (min-height: 401) and (max-height: 600px) {
    .main-title {
        /*color: pink;*/
        font-size: 20vmin;
    }
}

@media (min-width: 768px) and (max-width: 900px) and (max-height: 400px) {
    .main-title {
        /*color: gold;*/
        font-size: 12vmin;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .main-title {
        letter-spacing: -1px;
        font-size: 10.3vmin;
        margin-top: 1.5em;
        margin-bottom: 1.5em;
    }
    .page-title {
        letter-spacing: -1px;
    }
}

@media (min-width: 481px) and (max-width: 767px) and (min-height: 500px) {
    .main-title {
        /*color: blue;*/
        font-size: 6.4vmin;
        margin-top: 1.5em;
        margin-bottom: 1.5em;
    }
}

@media (min-width: 1px) and (max-width: 480px) {
    .first-paragraph {
        font-size: 5vw;
        line-height: 175%;
    }
    .page-title {
        letter-spacing: -1px;
    }
    .main-title {
        letter-spacing: -1px;
        /*color: orange;*/
        font-size: 1.3em;
        margin-top: 2em;
        margin-bottom: 2em;
    }
}

@media (min-width: 1px) and (max-width: 480px) and (max-height: 320px) {
    .main-title {
        font-size: 1.9em;
    }
}

.navbar-dynamic {
    background-color: transparent;
    color: white !important;
}

.navbar-scrolled {
    background-color: white;
    transition: background-color 200ms linear;
    color: black;
}

.navbar-brand {
    font-weight: bolder;
}

.navbar-brand-top {
    color: white;
}

.navbar-brand-scrolled {
    color: black;
}

.navbar-logged {
    background-color: black;
    color: white;
}

.navbar-toggle-btn {
    background-color: white;
}

.navbar-toggle-btn-scrolled {
    background-color: black;
}

/*smaller menu font-size for smaller screens*/
/*@media (min-width: 768px) and (max-width: 1000px) {
    .navbar-right {
        font-size: 1.2vw;
    }
    .navbar-nav > li {
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .navbar-nav > li > a {
        padding-left: 1px;
        padding-right: 1px;
        margin-left: 1px;
        margin-right: 1px;
    }
}*/

@media screen and (max-width: 767px) {
    .carousel-caption {
        display: none;
    }

    .navbar-collapse {
        background-color: white;
    }

    .navbar-menu {
        background-color: white;
        color: black;
    }
}
/*collapse earlier*/
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .navbar-header .collapse, .navbar-toggle {
        display: block !important;
    }

    .navbar-header {
        float: none;
    }
}