﻿/* ==== 
www.freshdesignweb.com
 ==== */

/* ==== Google font ==== */
@import url('http://fonts.googleapis.com/css?family=Raleway:400,900,700|Open+Sans:300,400,600,700');
/* === fontawesome === */
@import url('font-awesome.css');
/* === custom icon === */
body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    background-color: #ffffff;
}

.bold {
    font-weight: 900;
}

/* --- header -- */
header {
    background: url(../img/menubackground.png) repeat;
    margin: 0 auto; /* 🛠 ADD THIS */
    width: 760px;
    padding: 5px 0 5px;
    border-top-left-radius: 10px 10px;
    border-top-right-radius: 10px 10px;
    border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
    position: relative;
    z-index: 2000;
    text-align: center;
}

    /* --- menu --- */

    header .navigation {
        float: none;
        margin: 0 auto;
        text-align: center;
    }

    header ul.nav li {
        border: none;
        margin: 0;
    }

        header ul.nav li a {
            border: none;
            font-weight: 400;
        }

        header ul.nav li ul {
            z-index: 1000;
            margin-top: 1px;
        }

            header ul.nav li ul li ul {
                margin: 1px 0 0 1px;
            }

        header ul.nav li a i {
            color: #fff;
        }

.container,
.navbar-static-top .container {
    width: 760px;
}

.container {
    margin: 0 auto;
    *zoom: 1;
}


    .container:before,
    .container:after {
        display: table;
        line-height: 0;
        content: "";
    }

    .container:after {
        clear: both;
    }


.dropdown {
    position: relative;
}

.nav {
    width: auto;
    margin: 20px 0;
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    padding-left: 0;
    gap: 10px; /* spacing between menu links */
}


    .nav > li > a {
        display: block;
    }

        .nav > li > a:hover,
        .nav > li > a:focus {
            text-decoration: none;
            background-color: #eeeeee;
        }

    .nav > .dropdown.active > a:hover,
    .nav > .dropdown.active > a:focus {
        cursor: pointer;
    }


.navbar .nav a:hover {
    background: #333333;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover {
    font-weight: 600;
}

    .navbar .nav > .active > a:active, .navbar .nav > .active > a:focus {
        background: #333333;
        outline: 0;
        font-weight: 600;
    }

.navbar .nav li .dropdown-menu {
    z-index: 1000;
}

.navbar .nav {
    float: none;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}


.navbar .nav > li {
    float: none;
    padding:2px 8px 2px 2px;
}

.navbar .nav > li > a {
    float: none;
    padding: 2px 10px 2px;
    color: #777777;
    text-decoration: none;
    text-shadow: 0 1px 0 #ffffff;
}

.navbar .nav > li > a:focus,
.navbar .nav > li > a:hover {
    color: #333333;
    text-decoration: none;
    background-color: transparent;
}

    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus {
        color: #555555;
        text-decoration: none;
        background-color: #e5e5e5;
        -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
        box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125);
    }

    .navbar .nav > li > .dropdown-menu:before {
        position: absolute;
        top: -7px;
        left: 9px;
        display: inline-block;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #ccc;
        border-left: 7px solid transparent;
        border-bottom-color: rgba(0, 0, 0, 0.2);
        content: '';
    }

    .navbar .nav > li > .dropdown-menu:after {
        position: absolute;
        top: -6px;
        left: 10px;
        display: inline-block;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #ffffff;
        border-left: 6px solid transparent;
        content: '';
    }

.dropdown-menu {
    *border-right-width: 0;
    *border-bottom-width: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

    .dropdown-menu .dropdown i {
        position: absolute;
        right: 0;
        margin-top: 3px;
        padding-left: 5px;
    }

.dropdown-submenu > .dropdown-menu {
    -webkit-border-radius: 0 0 0 0;
    -moz-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
}

    .navbar .nav > li > a {
        float: none;
        font-size: 15px;
        margin-left: 0px;
        margin-right: 0;
        text-decoration: none;
        text-shadow: none;
        border-right: none;
        border-left: none;
        color: #fff;
        border: 2px solid transparent;
        padding: 2px 5px 2px 5px;
        background-image: none;
        background: none;
    }

        .navbar .nav > li > a:hover,
        .navbar .nav > li > a:focus {
            color: #dddddd;
            background-color: none;
            background-image: none;
            background-repeat: repeat-x;
            filter: none;
            text-decoration: none;
            -webkit-box-shadow: none;
            -moz-box-shadow: none;
            box-shadow: none;
            border: 2px solid #302f2f;
            padding: 2px 5px 2px 5px;
            background: #343434;
            -webkit-border-radius: 6px;
            -moz-border-radius: 6px;
            border-radius: 6px;
            -moz-box-shadow: inset 0 0 1px #555;
            -webkit-box-shadow: inset 0 0 1px #555;
            box-shadow: inset 0 0 1px #555;
        }

    .navbar .nav > .active > a,
    .navbar .nav > .active > a:hover,
    .navbar .nav > .active > a:focus {
        color: #fff;
        border: 2px solid #302f2f;
        padding: 2px 10px 2px 10px;
        background-image: none;
        background: #343434;
        filter: none;
        text-decoration: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        -moz-box-shadow: inset 0 0 1px #555;
        -webkit-box-shadow: inset 0 0 1px #555;
        box-shadow: inset 0 0 1px #555;
    }

    .navbar .nav > a i[class^="icon-"] {
        color: #fdfdfd;
    }

ul.nav li.dropdown a {
    z-index: 1000;
    display: block;
}

ul.nav li.dropdown ul li ul.dropdown-menu {
    margin-left: 0px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

ul.nav li.dropdown ul li i {
    margin-right: 40px;
}

select.selectmenu {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: none;
    min-width: 170px;
    padding: 0;
    margin: 2px 0 0;
    list-style: none;
    background: #386A57;
    border: none;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border: 2px solid #302f2f;
    border-top: none;
    -webkit-background-clip: none;
    -moz-background-clip: none;
    background-clip: none;
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}

    .dropdown-menu li {
        margin: 0;
        padding: 0;
    }

        .dropdown-menu li a {
            color: #ddd;
            font-size: 15px;
            padding: 5px 7px 5px 7px;
            margin: 0;
            text-shadow: none;
            border-bottom: 1px solid #303030;
            text-decoration: none;
        }

        .dropdown-menu li > a:hover,
        .dropdown-menu li > a:focus,
        .dropdown-submenu:hover > a,
        .dropdown-menu .active > a,
        .dropdown-menu .active > a:hover {
            color: #ffffff;
            text-decoration: none;
            background-image: none;
            background-image: none;
            background-image: none;
            background-image: none;
            background-image: none;
            background-repeat:inherit;
            filter: none;
        }

    .dropdown-menu .sub-menu-level1, .dropdown-menu .sub-menu-level2 {
        left: 100%;
        position: absolute;
        top: 0;
        visibility: hidden;
        margin-top: 0;
    }

    .dropdown-menu li:hover .sub-menu-level1 {
        visibility: visible;
    }

    .dropdown-menu li li:hover .sub-menu-level2 {
        visibility: visible;
    }



@media (min-width: 760px) {
    .container,
    .navbar-static-top .container {
        width: 760px;
    }
}

@media (min-width: 760px) {
    .container,
    .navbar-static-top .container {
        width: 760px;
    }
}

/* MOBILE RULES: (everything below 760px wide) */
@media (max-width: 760px) {
    .navbar-static-top {
        margin-right: -10px;
        margin-left: -10px;
    }

    .container {
        width: auto;
    }

    nav ul li {
        display: none;
    }

    header .navigation {
        margin: 0 auto;
        text-align: center;
        width: 95%;
        float: none;
    }

    select.selectmenu {
        display: block;
        width: 100%;
        float: none;
        margin-bottom: 20px;
        color: #111;
        margin-right: 10px;
        line-height: 30px;
        font-size: 13px;
    }

        select.selectmenu .bold {
            font-weight: bold;
        }

    /* ➡️ Added: new mobile adjustments for header, tagline, images, footer */
    .header-container {
        flex-direction: column;
        align-items: center;
    }

    .tagline {
        font-size: 18px;
        text-align: center;
        margin-top: 10px;
    }

        /* Make table cells stack */
    .bottom-images-table td {
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    /* Resize images inside the table */
    .bottom-images-table img {
        width: 90%;
        max-width: 300px;
        height: auto;
    }

/* VERY SMALL SCREEN RULES: (tiny phones, under 350px) */
@media (max-width: 350px) {
    .headnav {
        text-align: center;
        float: none;
        margin: 10px 0 0 0;
    }
}

/* Hide menu by default (outside media) */
#menu {
    display: none;
}
