#main-header{
    position: relative !important;
    z-index: 100;
}


#main-header:before{
    background-color: #D4D6D8;
    width: calc((100% - 1170px)/2);
    height: 40px;
    content: "";
    position: absolute;
    bottom: -35px;
    left: 0;
    z-index: 10;
}

#main-header:after{
    background-color: #D4D6D8;
    width: calc((100% - 1170px)/2);
    height: 40px;
    content: "";
    position: absolute;
    bottom: -35px;
    right: 0;
    z-index: 10;
}

/*
#main-header:before{
    background-color: #D4D6D8;
    width: 3%;
    height: 40px;
    content: "";
    position: absolute;
    bottom: -35px;
    left: 0;
    z-index: 10;
}

#main-header:after{
    background-color: #D4D6D8;
    width: 3%;
    height: 40px;
    content: "";
    position: absolute;
    bottom: -35px;
    right: 0;
    z-index: 10;
}
*/

#main-header.sticky{
    position: fixed !important;
    width: 100%;
    top: 0;
}

.logged-in #main-header.sticky{
    top: 32px;
}

.menu-item.current-menu-item:after {
    background-color: transparent !important;
}

#top-header {
    line-height: 20px !important;
}

.et_mobile_menu {
    width: calc(100vw - 38px);
    right: 0px;
    position: absolute;
    left: initial;
    margin-top: 10px !important;
    padding: 0 !important;
}

.mobile_nav.opened .et_mobile_menu{
    margin-top: 10px !important;
}

.mobile_nav.closed .et_mobile_menu{
    margin-top: 10px !important;
}

#header-line .et_pb_column {
    margin-bottom: 0 !important;
}

body #main-header .et_mobile_menu {
    border-color: #005596!important;
    border-top: 5px solid #005596!important;
    background-color: #0066b3!important;
}

body .mobile_menu_bar:before, .et_overlay:before {
    color: #0066b3 !important;
}

body .et_pb_menu_0.et_pb_menu .et_mobile_menu, body .et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
    background-color: #0066b3!important;
}

body .et_mobile_menu {
    border-color: #005596;
}

.mobile_menu_bar:before {
    font-size: 50px;
}

#header-line .bt_inscrevase{
    padding: 0;
    margin: -2px 10px 0 0 !important;
}

#header-line .bt_inscrevase a{
    background-color: #ed1b2f;
    padding: 9px;
    color: #fff !important;
    transition: all .2s ease-in-out;
}

#header-line .bt_inscrevase a:hover{
    border-radius: 10px;
    opacity: 1;
}


@media only screen and (max-width: 980px){
    #main-header:before, 
    #main-header:after{
        width: 5%;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1200px){
    .menu-hide-1 {
        display: none !important;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1300px){
    .menu-hide-2 {
        display: none !important;
    }
}

@media only screen and (min-width: 980px) {
    #header-line.et_pb_gutters1 .et_pb_column_1_4, #header-line.et_pb_gutters1.et_pb_row .et_pb_column_1_4{
        width: 20% !important;
    }
    #header-line.et_pb_gutters1 .et_pb_column_3_4, #header-line.et_pb_gutters1.et_pb_row .et_pb_column_3_4{
        width: 80% !important;
    }
}

@media only screen and (max-width: 981px){
    #main-header .et_pb_row.et_pb_equal_columns>.et_pb_column, #main-header .et_pb_section.et_pb_equal_columns>.et_pb_row>.et_pb_column{
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    #main-header .et_pb_row.et_pb_equal_columns, #main-header .et_pb_row_inner.et_pb_equal_columns, #main-header .et_pb_section.et_pb_equal_columns>.et_pb_row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        direction: ltr;
        
    }
    body .et_pb_menu_0.et_pb_menu .et_mobile_menu a{
        color: #fff !important;
    }

    #header-line .bt_inscrevase {
        margin: 0px 0px 0 0 !important;
    }
}