/*
 * Module styles
 */
.top-menu-wrapper {
    width: 100%;
    margin-left: 0
}

.top-menu-wrapper > .container {
    padding: 0
}

#cttopmenu {
    padding: 0;
    width: 100%;
}

#cttopmenu #navbarNavAltMarkup {
    padding-top: 15px
}

#cttopmenu .dropdown-menu {
    z-index: 10;
    font-size: 1.2em;
    height: auto !important;
}


#cttopmenu .dropdown-menu > div > a {
    width: 100%;
    display: block;
    line-height: 130%;
    padding: 0 0 6px 0;
    color: #FFFFFF;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.15);
    font-size: 0.9375em;
}

#cttopmenu .dropdown-menu > div > a:hover {
    opacity: 0.9
}

#cttopmenu .dropdown-content {
    padding: 10px 15px;
}

#cttopmenu .sub-list {
    padding-left: 1.35em;
    list-style: disc;
}

@media (min-width: 768px) {
    #cttopmenu-navbar-collapse {
        padding-left: 0;
    }
}

/*
 * Wide menu
 */
ul.navbar-nav {
    width: 100%;
}

ul.navbar-nav > li {
    width: 33%; /*3.33%;*/
    margin: 0 10px;
}

ul.navbar-nav > li:first-child {
    margin-left: 0;
}

ul.navbar-nav > li:last-child {
    margin-right: 0;
}

ul.navbar-nav > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    padding: 0;
    border-radius: 5px;
    font-size: 1.125em;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    color: white;
}

ul.navbar-nav > li > a .icon {
    position: relative;
    top: 0px;
    font-size: 22px
}

ul.navbar-nav > li > .dropdown-menu {
}

#cttopmenu .dropdown-toggle::after {
    content: none
}

#cttopmenu .navbar-nav .wide.orange > a,
#cttopmenu .navbar-nav .wide.orange .dropdown-menu {
    background: #F5AD2F
}

#cttopmenu .navbar-nav .wide.blue > a,
#cttopmenu .navbar-nav .wide.blue > .dropdown-menu {
    background: #49A5EA
}

#cttopmenu .navbar-nav .wide.red > a,
#cttopmenu .navbar-nav .wide.red > .dropdown-menu {
    background: #DC4E3D
}

#cttopmenu .navbar-nav .wide.cyan > a,
#cttopmenu .navbar-nav .wide.cyan > .dropdown-menu {
    background: #0F8562
}


#cttopmenu .dropdown-menu > div {
    padding: 5px 15px;
}


/* Wide menu xxl */
@media (min-width: 1366px) {
    #cttopmenu .dropdown-menu > div {
        column-count: 5;
        -moz-column-count: 5;
        -webkit-column-count: 5;
    }
}

/* Wide menu xl */
@media (min-width: 1200px) and (max-width: 1365px) {
    #cttopmenu .dropdown-menu > div {
        column-count: 4;
        -moz-column-count: 4;
        -webkit-column-count: 4;
    }
}

/* Wide menu l */
@media (min-width: 992px) and (max-width: 1199px) {
    #cttopmenu .dropdown-menu > div {
        column-count: 4;
        -moz-column-count: 4;
        -webkit-column-count: 4;
    }
}

/* Mobile menu */
@media (max-width: 991px) {
    #cttopmenu #navbarNavAltMarkup {
        padding-top: 0
    }

    ul.navbar-nav > li {
        width: 100%;
        margin: 0;
    }

    #cttopmenu .dropdown-menu {
        border-radius: 0;
        border: none;
        margin: 0;
        border-top: 2px solid rgba(255, 255, 255, 0.5);
    }

    #cttopmenu .dropdown-menu > div {
        column-count: 3;
        -moz-column-count: 3;
        -webkit-column-count: 3;
        width: 100%;
        padding: 5px 27px;
    }

    #cttopmenu .dropdown-menu > div > * {
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    ul.navbar-nav > li > a {
        border-radius: 0;
    }

    #cttopmenu .dropdown-menu a:hover {
        color: rgba(255, 255, 255, 0.85)
    }

    #cttopmenu .dropdown-menu .cttm-item-sub-category-link {
        line-height: 130%;
        font-size: 0.885em;
        display: inline-block;
        width: 100%;
        color: #FFFFFF;
    }
}

@media (max-width: 768px) {
    #cttopmenu .dropdown-menu > div {
        column-count: 2;
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-gap: 20px;
    }
}

@media (max-width: 600px) {
    #cttopmenu .dropdown-menu > div {
        column-count: 1;
        -moz-column-count: 1;
        -webkit-column-count: 1;
    }
}

/* Change this breakpoint if you change the breakpoint of the navbar */
.animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
        height: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
        height: 100%;
    }
    0% {
        transform: translateY(1rem);
        opacity: 0;
        height: 0
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }
    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}