@charset "utf-8";
/* CSS Document */

.navcontainer {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.menucontainer {
    background-color: #fff;
}

nav {
    background: transparent;
    padding: 0 15px;
    z-index: 9;
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1280px;
    transition: 0.3s;
}

.navimage {
    background-image: url('../images/CR-nav-wave-bkgd.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 120px;
}

nav.scrolled {
  background-color: #fff !important;
  transition: background-color 200ms linear;
}

nav a {
    color: #707070;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
}

.subsubitem a {
    font-weight: normal;
}

nav .active {
    background-color: #fff;
}

.menu,
.submenu, 
.subsubmenu {   
    list-style-type: none;
}
.submenu a {
    line-height: 14px;
}
#navlogo {
    height: 50px;
    max-height: 50px !important;
    padding: 0 5px;
    margin-top: 10px;
    transition: 0.3s;
}
.item {
    padding: 10px;
}
.item.button {
    padding: 4px 5px 0;
}
.item:not(.button) a:hover,
.item a:hover::after {
    color: #f47c23;
}
.current, .current a {
    color: #f47c23;
}
.menu li.button a {
    background-color: #fff;
}


/* Mobile menu */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.menu li a {
    display: block;
    padding: 10px 5px;
}
.menu li.subitem a {
    padding: 8px 10px;
}
.submenu li.subsubitem a {
    padding: 4px 30px;
}
.toggle {
    order: 1;
    font-size: 20px;
}
.item.button {
    order: 2;
}
.item {
    order: 3;
    width: 100%;
    text-align: center;
    display: none;
}
.active .item {
    display: block;
}
.button.secondary { /* divider between buttons and menu links */
    border-bottom: 1px #444 solid;
}
.menu-highlight {
    background-color: #f47c23;
    color: #ffffff;
	font-weight: bold;
	padding: 0 4px;
}



/* Submenu up from mobile screens */
.submenu, .subsubmenu {
    display: none;
}
.submenu-active .submenu, .subsubmenu-active .subsubmenu {
   display: block;
}
.has-submenu i, .has-subsubmenu i {
    font-size: 12px;
}
.has-submenu > a::after, .has-subsubmenu > a::after {
    font-family: "Font Awesome 5 Free";
    font-size: 12px;
    line-height: 16px;
    content: "\f0d7";
    font-weight: 900; 
    padding-left: 5px;
}
.subitem a, .subsubitem a {
    padding: 10px 15px;
}
.submenu-active {
    background-color: #ededed;
    border-radius: 3px;
}
.subsubmenu-active {
    background-color: #dbdcde;
    border-radius: 3px;
}

.menuhead {
    color: #78ad93 !important;
}


/* Tablet menu */
@media all and (min-width: 600px) {
    .menu {
        justify-content: center;
    }
    .logo {
        flex: 1;
    }
    #navlogo {
        height: 60px;
        max-height: 60px !important;
    }
    .navimage {
        height: 140px;
    }
    .item.button {
        width: auto;
        order: 1;
        display: block;
    }
    .toggle {
        flex: 1;
        text-align: right;
        order: 2;
    }
    /* Button up from tablet screen */
    .menu li.button a {
        padding: 6px 10px;
        margin: 0 0 0 80px;
    }
    .button a {
        background: #f47c23;
        border: 1px #f47c23 solid;
    }
    .button.secondary {
        border: 0;
    }
    .button.secondary a {
        background: #fff;
        border: 1px #f47c23 solid;  
    }
    .button a:hover {
        text-decoration: none;
    }
    .button:not(.secondary) a:hover {
        background: #f47c23;
        border-color: white;
    }
}


/* 750px menu */
@media all and (min-width: 750px) {
    .navimage {
        height: 160px;
    }
}


/* Desktop menu */
@media all and (min-width: 900px) {
    nav {
        background-color: transparent;
    }
    .menu {
        align-items: flex-start;     
        flex-wrap: nowrap;
        background: none;
    }
    .logo {
        order: 0;
    }
    .navimage {
        height: 170px;
    }
    .item {
        order: 1;
        position: relative;
        display: block; 
        width: auto;
    }
    .button {
        order: 2;
    }
    
    .buttonfloat {
        float: right;
    }

    .headerfloat {
        float: left;
    }

    .menu li.button a {
        margin: 9px 0;
    }
    .submenu-active .submenu {
        display: block;
        position: absolute;
        width: 220px;
        left: 0;
        top: 53px;
        background: #ededed;
        text-align: left;
        min-width: 180px;
    }
    .has-subsubmenu > a::after {
        content: "\f0da";
    }
    .subsubmenu-active .subsubmenu {
        position: absolute;
        left: 210px;
        width: 220px;
        top: 0;
        background: #ededed;
    }
    .subsubmenu-active .CFdrop {
        top: 40px;
        padding-top: 6px;
    }
    .subsubmenu-active .CDdrop {
        top: 80px;
        padding-top: 6px;
    }
    .subsubmenu-active .NGdrop {
        top: 160px;
        padding-top: 6px;
    }
    .subsubmenu-active .CAFdrop {
        top: 200px;
        padding-top: 6px;
    }
    .subsubmenu-active .ICdrop {
        top: 240px;
        padding-top: 6px;
    }
    .toggle {
        display: none;
    }
    .submenu-active {
        border-radius: 0;
    }
    .menu li a {
        padding: 10px 3px 0;
    }
}


/* 1000px menu */
@media all and (min-width: 1000px) {
    .navimage {
        height: 180px;
    }
}


/* 1100px menu */
@media all and (min-width: 1090px) {
    #navlogo {
        height: 70px;
        max-height: 70px !important;
    }
    .navimage {
        height: 190px;
    }
}


/* 1200px menu */
@media all and (min-width: 1180px) {
    .navimage {
        height: 200px;
    }
}


/* Large Desktop menu */
@media all and (min-width: 1280px) {
    .menu {
        width: 1200px;
    }
    .menu {
        margin-left: auto;
        margin-right: auto;
    }
    .navimage {
        height: 210px;
    }
}
