/*
source:
    https://fonts.google.com/specimen/Source+Sans+Pro?preview.text=Source%20Sans%20Pro&preview.text_type=custom&query=Source+Sans+Pro#standard-styles

    font-family: 'Bree Serif', serif;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    font-weight: 700;
*/
@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Source+Sans+Pro:wght@400;700&display=swap');

.font-bree{font-family: 'Bree Serif', serif;}
.font-sourceSansPro{font-family: 'Source Sans Pro', sans-serif;}

.color1{color:rgb(208,170,87);}
.color2{color:rgba(112,112,112);}
.color3{color:#fff;}


.menu__position{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background:  #fff;
    z-index: 1000;
}
.menu {max-width: 1200px;max-width: 1426px;height: 110px;margin: 0 auto;display: flex;width: 100%;/* background: yellow; *//* position: fixed; *//* top: 0; *//* width: 100%; */background: #fff;}
.menu-height-placeholder {height:  98px;}

.menu-logo {
    /* padding: 5px 0; */
    background: url("/media/images/mhc_logo.jpg");
    /* height: 100%; */
    width: 158px;
    background-repeat: no-repeat;
    background-size: contain;
    /* box-sizing: border-box; */
    display: block;
    /* background-color: orange; */

    /* 5px of white space below/above image */
    height: calc(100% - 5px - 5px);
    transform: translateY(5px);
    cursor: pointer;
}

.mhc-logo {
padding:0px;
}
/*
.logo-cell {
    border: 1px solid green;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: inline-block;
}
.logo-cell .logo-icon {
    opacity: 0.5;
    _max-width: 32px;
    width: 16px;
    _max-height: 32px;
    height: 16px;

}
.logo-cell .logo-icon:hover {
    cursor: pointer;
    opacity: 1;
}
*/
.menu-logo:before {content:"";height: 19px;display: block;}
.menu-logo:after {content:"";}

.menu-items-container {
    max-width: 1200px;
    width: 100%;
}
.menu-items-position {
    height: 100%;
    display:  flex;
}
    .menu-items {
        /* background: red; */
        /* flex-grow: 1; */
        display: flex;
        flex-direction: row;
        text-align: right;
        margin: 0 0 0 auto;
        height: 100%;
        /* margin: 0 -30px 0 -30px; */
    }
        /* bold font changes font width -> */
        .menu-item {
            font-size: 16px;
            padding: 0 30px;
            /* border: 1px solid oldlace; */
            display: flex;
            align-items: center;
            color: transparent;
            font-weight: bold; /* -> allocate maximum font width (bold font face) */
            cursor:pointer;
            /* transition: color 0.2s ease-in-out; */
        }
        .menu-item:before {
            content:attr(data-text);
            content:attr(data-text) / ""; /* hide from screen reader */
            font-weight: normal;
            position: absolute; /* -> remove from layout */
            color: #707070;
            /* transition: color 0.2s ease-in-out; */
        }
        .menu-item:hover:before {
            color:rgb(208,170,87);
            font-weight:bold;
        }

    .mhc-search {
        padding: 4px 10px !important;
    }
    .mhc-search:hover {
        padding: 4px 10px !important;
        background-color:#4267B2;
    }
    .mhc-search:hover i {
        color:#ffffff;
    }
    .menu-socials-fb {
        padding: 8px 10px !important;
        background-color:#ffffff;
    }

    .menu-socials-fb i {
        color:#4267B2;
    }

    .menu-socials-fb:hover {
        background-color:#4267B2;
    }

    .menu-socials-fb:hover i {
        color:#ffffff;
    }

    .menu-socials-in {
        padding: 8px 10px !important;
        background:#ffffff;
    }
    .menu-socials-in i {
        color:#2867B2;
    }

    .menu-socials-in:hover {
        background-color:#2867B2;
    }

    .menu-socials-in:hover i {
        color:#ffffff;
    }

    .menu-socials-phone {
        padding: 8px 10px !important;
        background-color:#ffffff;
    }

    .menu-socials-phone i {
        color:#4267B2;
    }

    .menu-socials-phone:hover {
        background-color:#4267B2;
    }

    .menu-socials-phone:hover i {
        color:#ffffff;
    }

        .menu-social {
            padding: 0 30px;
            display: flex;
            align-self: center;
            width: 21px;
            /* height: 26px; */
            height: 100%;
            background-repeat: no-repeat;
            background-position: center center;
            display: block;
            cursor: pointer;
        }
    .menu-languages-position {
        margin: 0 0 0 30px;
        width: 42px;
        padding: 0 25px 0 0;
        position: relative;
    }
    .menu-languages {
        /* background: blue; */
        /* margin: 0 0 0 30px; */
        float: right;
        border: 1px solid #707070;
        border-radius: 6px;
        /* height: 42px; */
        /* display: flex; */
        /* align-items: center; */
        padding: 0 12px 0 9px;
        /* put center of languages into center of language menuitem */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-20px);
        overflow: hidden;
        background: #fff;
    }
        .menu-languages-top  {
            /* border: 1px solid #707070; */
            height: 42px;
            display: flex;
            align-items: center;
            /* padding: 0 12px 0 9px; */
        }
            .menu-language  {
                font-size: 16px;
                margin: 9px 0;
            }
            .menu-language-toggle  {}
            .menu-language-toggle--is-closed {}
        .menu-language_list  {
            /* display: none; */
            margin: -11px 0 0 0;
            max-height: 0;
            
            transition: max-height 0.3s ease-in-out;
        }
    .menu-languages:hover .menu-language_list {
        max-height: 158px;
    }

    .menu-groups-position {
        margin: 0 0 0 30px;
        width: 42px;
        padding: 0 25px 0 0;
        position: relative;
    }
    .menu-groups {
        /* background: blue; */
        /* margin: 0 0 0 30px; */
        float: right;
        border: 1px solid #707070;
        border-radius: 6px;
        /* height: 42px; */
        /* display: flex; */
        /* align-items: center; */
        padding: 0 12px 0 9px;
        /* put center of languages into center of language menuitem */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-20px);
        overflow: hidden;
        background: #fff;
    }
        .menu-groups-top  {
            /* border: 1px solid #707070; */
            height: 42px;
            display: flex;
            align-items: center;
            /* padding: 0 12px 0 9px; */
        }
            .menu-group  {
                font-size: 16px;
                margin: 9px 0;
            }
            .menu-group-toggle  {}
            .menu-group-toggle--is-closed {}
        .menu-group_list  {
            /* display: none; */
            margin: -11px 0 0 0;
            max-height: 0;

            transition: max-height 0.3s ease-in-out;
        }
    .menu-groups:hover .menu-group_list { max-height: 158px; }



/*
    HAMBURGER
*/

    .menu-items-hamburger__position {
        position: relative;
        right: 0;
        top: 50%;
        z-index: 2;
        margin: -13px 43px 0 auto;
        display: block;
        width: 44px;

        display:  none;
    }
    .menu-items-hamburger__clicker {
        background: rgba(238, 130, 238, 0);
        width: 44px;
        height: 35px;
        display: inline-block;
        position: relative;
    }

        .menu-items-hamburger {
            display: block;
            top: 50%;
            margin-top: -2px;
            left: 2px;
        }

        .menu-items-hamburger,.menu-items-hamburger:before, .menu-items-hamburger:after  {
            width: 40px;
            height: 4px;
            background-color: #707070;
            border-radius: 4px;
            position: absolute;
            transition-property: transform;
            transition-duration: 0.15s;
            transition-timing-function: ease;
        }

        .js-mobile-menu-opened .menu-items-hamburger,
        .js-mobile-menu-opened .menu-items-hamburger:before, 
        .js-mobile-menu-opened .menu-items-hamburger:after  {
            background-color: #ffffff;
        }

        .menu-items-hamburger:before
        {
            content: "";
            display: block;
            top: -10px;
        }

        .js-mobile-menu-opened .menu-items-hamburger:before {
            top: 0;
            opacity: 0;
            transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
        }

        .menu-items-hamburger:after  {
            content: "";
            display: block;
            bottom: -10px;
            transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
        }

        .js-mobile-menu-opened .menu-items-hamburger:after {
            bottom: 0;
            transform: rotate(-90deg);
            transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
        }



/* 
    ON RESIZE 
*/

    .js-menu-is-hamburger .menu-items-position {
        display:  none;
    }
    .js-menu-is-hamburger .menu-items-container {
        /* position: relative; */
        max-width: 1200px;
        width: 100%;
    }
    .js-menu-is-hamburger .menu-items-position {
        background: white;

        /*
        position: absolute;
        left: 0;
        top: 153px; // menu height 
        max-width: 500px; // for hd displays
        z-index: 100;
        width: 100%;
        height: auto;
        padding: 20px 0 20px 0;
        */


        position: fixed;
        width: 100%;
        /* border: 3px solid red; */
        overflow-y: auto;
        height: 580px;
        /* background: #fff; */
        z-index: 500;
        top: 50px;
        top: 80px;
        left: 10px;
        width: 296px;
        max-height: 70%;
        top: 79px;        
    }

    .u-custom-overflow-scrollbar::-webkit-scrollbar {
        width: 20px;
    }
    .u-custom-overflow-scrollbar::-webkit-scrollbar-track {
        /*-webkit-box-shadow: inset 0 0 6px rgb(0, 255, 15);*/
        background-color:#ffffff;
    }
    .u-custom-overflow-scrollbar::-webkit-scrollbar-thumb
    {
        background-color: #D0AA57;
    }


    .js-menu-is-hamburger .menu-items {
        display: flex;
        flex-direction: column;
        display: block;
    }
    .js-menu-is-hamburger .menu-items-hamburger__position {display:  block;}
    .js-menu-is-hamburger .menu-item {padding: 15px 45px;justify-content: center;margin: 5px 0;}
    .js-menu-is-hamburger .menu-social {height: 60px;/* display: inline-block; */width: 100%;box-sizing: border-box;}
    .js-menu-is-hamburger .menu-items-background-overlay {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 200%;
        background: rgba(0,0,0,0.5);        

        display:  none;
    }
    .js-mobile-menu-opened .menu-items-background-overlay {
        display:  block;
    }
    .js-mobile-menu-opened .menu-items-position {
        display:  block;
    }
    /* do not allow mousewheel to scroll background page when menu is opened */
    .js-mobile-menu-opened body { 
        overflow:  hidden;
    }

.menu-divider {
    display: grid;
    grid-template-rows: 50% 50%;
    border: 0px solid blue;
}

.selected {
 /*   color:rgb(208,170,87); */
    font-weight:bold;
    text-decoration:none;
}

.white-background {
background-color:#ffffff;
}

.bottom-border-1px {
border-bottom: 1px solid #dddddd;
}

/*
    < 600px width top bar not fixed
*/
@media only screen and (max-width: 1200px) {
    .mhc-menu2 .w3-bar-item {
        padding: 8px 6px !important;
        font-size:16px;
            }
}

@media only screen and (max-width: 990px) {
    .menu-height-placeholder {
        display:none;
    }
    .w3-top {
        position:static;
    }
}