.megamenu {
    float: left;
    overflow: hidden;
}
.megamenu-content {
    z-index: 1000;
}
.submegamenu {
    width: 100%;
}

.megamenu {
    float: left;
    text-transform: uppercase;
    padding-bottom: 75px;
}

#nav_row {
    height: 141px;
}

.megamenu-content h1 {
    font-size: 12px;
    text-transform: uppercase;
    color: #a1806e;
}
.megamenu-content .megamenu {
    width: 100%;
    display: table;
    min-height: 100px;
}
.megamenu-content .megamenu a {
    color: #a1806e !important;
    display: table-cell;
    vertical-align: middle;
}
.megamenu-content .megamenu a span div img {
    max-width: 50%;
}
.megamenu p {
    font-size: 12px;
    text-transform: uppercase;
    line-height: 1;
}

.megamenu .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font: inherit;
    margin: 0;
}

.navbar a:hover,
.megamenu:hover .dropbtn {
    /* background-color: red; */
}
.perslevel:hover {
    background-color: white;
}

.megamenu-content {
    display: none;
    position: fixed;
    /*top: 162px; no stiky*/
    top: 120px; /*sticky*/
    left: 0;
    background-color: white;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.sticky .megamenu-content {
    top: 120px;
}

.megamenu-content .header {
    background: red;
    padding: 16px;
    color: white;
}
.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.col-sm-3-test {
    width: 25%;
    float: left;
    margin-left: auto;
    margin-right: auto;
}

.megamenu:hover .megamenu-content {
    text-align: center;
    display: block;
    padding: 0 15%;
    margin-top: -15px;
}

.cat-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-position: center;
    padding: 1rem 1rem 0 1rem;
}

.cat-image-container img {
    object-fit: cover;
}

.cat-image-container2 img {
    min-height: 100%;
    min-width: 100%;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

.cat-image-centered {
    height: 140px;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -70px;
}

/* PERSLEVEL */
.navigation .perslevel .megamenu > .level-top {
    padding: 0 4px !important;
}
.sticky .navigation .perslevel .megamenu > .level-top span {
    padding: 0 0 !important;
}
.ves-header .navigation .perslevel {
    margin-right: 0;
}
.ves-header .navigation .perslevel .megamenu > .level-top {
    color: #9d9d9d;
    font-family: "Open Sans";
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
.ves-header .navigation .perslevel .megamenu > .level-top:hover span {
    color: black !important;
}
.ves-header .navigation .perslevel .megamenu > .level-top span {
    /*padding: 20px 10px;*/
    font-size: 11px;
    color: #a1806e;
    background-color: transparent !important;
    font-weight: 700;
    text-transform: uppercase;

    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.ves-header .navigation .level0 {
    float: left;
}

.ves-header .navigation .perslevel .megamenu > .level-top {
    line-height: 55px;
    text-transform: uppercase;
}
/* end perslevel */

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
}

@media screen and (max-width: 1199px) {
    .megamenu-content {
        display: none;
        position: relative;
        top: 0px;
        left: 0;
        background-color: white;
        width: 100%;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .megamenu {
        float: none;
        padding-bottom: 5px;
    }

    .ves-header .navigation .level0 {
        float: none;
        clear: both;
    }

    a.dropbtn.level-top {
        pointer-events: none;
        cursor: not-allowed;
    }

    .perslevel {
        display: block;
        float: none;
        clear: both;
    }

    .ves-header .navigation .perslevel .megamenu > .level-top {
        padding-right: 20px !important;
        pointer-events: all !important;
        cursor: default !important;
    }
    .navigation .parent .level-top:after {
        right: 0px;
        top: 5px;
    }

    .ves-header .navigation .perslevel .megamenu > .level-top-container:after {
        font-size: 18px;
        line-height: inherit;
        color: inherit;
        content: "\e622";
        font-family: "luma-icons";
        vertical-align: middle;
        display: inline-block;
        font-weight: normal;
        overflow: hidden;
        speak: none;
        text-align: center;
    }
}
