#top {
    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    width: 100%;
    box-shadow: 0px 0px 10px rgb(15, 15, 15);
    z-index: 20;
    top: 0;
    left: 0;
    position: relative;
}

#top h1, #top h2 {
    margin: 0px
}

#top h1 {
    font-weight: bold;
}

#top h1 a {
    text-decoration: none
}

@media (min-width: 992px) {
   #top {
        height: 85px;
   }

   #top .container {
       position: relative;
       top: 13px; /* TODO: CALCULATE */
   }

   #top h1 {
        line-height: 1.5em;
   }

   #top h2 {
       vertical-align: middle;
       line-height: 2em;
   }

   #top .icon {
       font-size: 1.5em;
       vertical-align: middle;
   }

   html {
       height: 100%;
   }
}

@media (max-width: 991px) {
    #top {
        padding-bottom: 1em;
        padding-top: 1em;
    }

    #top h1 {
        font-size: 30px;
    }

    #top h2 {
        vertical-align: middle;
        font-size: 24px;
    }

    #top .icon {
        font-size: 4em;
    }

    #top .iconcell {
        display: table-cell;
        vertical-align: middle;
        width: 6em;
    }

    #top .toptable {
       display: table;
    }
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #666666;
}

#footer {
    width: 100%;
    left: 0;
    bottom: 0px;

    background-color: rgb(20, 20, 20);
    color: rgb(200, 200, 200);
    box-shadow: 0px 0px 10px rgb(15, 15, 15);
    position: relative;
    z-index: 10;
    padding-bottom: 25px;
}

#footer h2 {
    color: rgb(200, 200, 200);
    font-weight: bold;
    margin-bottom: 5px;
}

#footer ul {
    padding-left: 0em;
}

#footer ul li {
    margin-left: 1.5em;
}

#carousel {
    background-color: #666666;
    width: 100%;
    position: relative;
}

#carousel div {
    width: 100%;
    height: 100%;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (min-width: 1441px) {
    #carousel div {
        background-size: cover;
    }
}


#carousel div a {
    display: block;
    width: 100%;
    height: 100%;
}

#carousel .slider-label, #carousel .slider-label-all {
    background-color: rgba(255, 255, 255, 0.7);
    bottom: 0;
    padding: 1em;
    display: table-cell;
    position: absolute;
}

#carousel .slider-label {
}

@media (max-width: 480px) {
    #carousel .slider-label {
        display: none;
    }
}

#carousel .slider-label-all {
    color: #333;
    right: 0;
}

.slick-prev {
    left: 25px;
}
.slick-next {
    right: 50px;
}
.slick-prev, .slick-next {
    width: 50px;
    height: 50px;
}
.slick-prev:before, .slick-next:before {
    font-size: 50px;
}
.slick-dots {
    top: 10px;
    bottom: auto;
}
.slick-dots li button:before {
    color: white;
    font-size: 20px;
    opacity: 0.5;
}
.slick-dots li.slick-active button:before {
    color: white;
    opacity: 1;
}
.slick-slider {
    margin-bottom: 0px;
}

a, a:active, a:focus, a:visited, a:link, a:hover {
    color: rgb(200, 200, 200);
}

a:hover {
    text-decoration: none;
}

.slider-label {
    color: #333;
    text-decoration: none;
}

#content {
    display: none;
    position: absolute;
    width: 100%;
}


#content-header {
    background-color: #444444;
    border-bottom: 1px solid #111111;
    color: rgb(200, 200, 200);
    width: 100%;

    min-height: 16px;
    padding: 15px;
    box-shadow: 0px 0px 10px rgb(15, 15, 15);
}

#content-close {
    text-decoration: none;
    font-size: 1.0em;
    position: absolute;
    right: 15px;
}

#content-title {
    margin: 0px;
}

#content-body {
    width: 100%;
    padding: 15px;
    color: white;
}

.modal_img {
    display: block;
    margin: 0 auto;
    max-width: 90%;
    height: auto;
    border: 1px solid black;
}

.picname {
    text-align: center;
}

#allslide a {
    float: left;
    display: block;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 4px;
}

#allslide .caption {
}

#allslide img {
    max-height: 300px;
    border: 1px solid black;
}


#allslide a, #allslide a:active, #allslide a:focus, #allslide a:visited, #allslide a:link, #allslide a:hover {
    color: white;
    text-decoration: none;
}

@media (max-width: 991px) {
    #allslide a {
        max-width: 100%;
    }

    #allslide img {
        margin-right: 10px;
        margin-bottom: 10px;
        max-width: 100%;
    }
}
