﻿* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}



body {
    font-family: 'Josefin Sans', sans-serif;
}




.mybox:hover {
    box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.7);
    border-radius: 20px;
}

.colorText {
    color: white;
}




.navbar {
    font-size: 18px;
    background: linear-gradient(to bottom, #e0ebeb 0%, #e0e0d1 90%);
    _border: 1px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 10px;
    min-height: 55px;
    z-index: 1000;
}

.main-nav {
    list-style-type: none;
    display: none;
    color: white;
    background: linear-gradient(to bottom, #e0ebeb 0%, #e0e0d1 90%);
}


.nav-links,
.logo {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.main-nav li {
    text-align: center;
    margin: auto;
    background: linear-gradient(to bottom, #e0ebeb 0%, #e0e0d1 100%);
    font-weight: bold;
}

    .main-nav li a {
        color: #003366;
    }

        .main-nav li a:hover {
            text-decoration: underline;
            box-shadow: 0px 0px 15px 1px rgba(0,0,0,0.7);
            _text-shadow: 0px 0px 15px 1px rgba(0,0,0,0.7);
            background: #27501b;
            color: #ffffff;
            border-radius: 10px;
        }

.logo {
    display: inline-block;
    font-size: 22px;
    margin-top: 10px;
    margin-left: 20px;
}

.navbar-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
}

.active {
    display: block;
}


@media screen and (min-width: 768px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        padding-bottom: 5px;
        height: 55px;
        align-items: center;
    }

    .main-nav {
        display: flex;
        margin-right: 30px;
        flex-direction: row;
        justify-content: flex-end;
    }

        .main-nav li {
            margin: 0;
            background: linear-gradient(to bottom, #e0ebeb 0%, #e0e0d1 90%);
        }

    .nav-links {
        margin-left: 40px;
        background: linear-gradient(to bottom, #e0ebeb 0%, #e0e0d1 90%);
    }

    .logo {
        margin-top: 0;
    }

    .navbar-toggle {
        display: none;
    }

    .logo:hover,
    .nav-links:hover {
        color: rgba(255, 255, 255, 1);
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: Verdana, sans-serif;
    margin: 0;
}

.mySlides {
    display: none;
    text-align: center;
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 72%;
    width: auto;
    padding: 16px;
    _margin-top: 160px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin-top: 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #33cccc;
    }

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .8;
        animation-name: slide;
    }

    to {
        opacity: 6;
    }
}

@keyframes fade {
    from {
        opacity: .8;
    }

    to {
        opacity: 6;
    }
}



/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px;
    }
}

.slideimg {
    width: 100%;
    height: 450px;
}


@media only screen and (max-width: 600px) {

    .slideimg {
        width: 100%;
        height: 230px;
    }
}


.AIM { float: right; width: 495px; height: 293px; background: url(images/slider.png) no-repeat 0 0; position: absolute; top: -32px; right: -19px; padding: 34px 44px; z-index: 1000;}
.AIM .flexslider { width: 497px; height: 288px; position: relative; }
.AIM .flexslider ul.slides { list-style: none; list-style-position: outside; position: relative; }
.AIM .flexslider ul.slides li { width: 497px; height: 288px; float: left; }
.AIM .flexslider ul.slides li img { width: 497px; height: 288px; }