@media only screen and (min-width: 970px) {


    .navbar-header.container, header .container {
        padding-left: 0px;
        padding-right: 0px;

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

    .we-mega-menu-ul .dropdown-menu:hover > .we-mega-menu-submenu, .we-mega-menu-ul .dropdown-menu:focus > .we-mega-menu-submenu {
        display: block;

    }

    html .en .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul {
        font-family: "Open Sans", sans-serif;
    }

    .we-mega-menu-ul .dropdown-menu {
        position: initial;
    }

    .we-mega-menu-ul {
        margin-left: -3px !important;
        width: 101% !important;
    }

    .we-mega-menu-ul .dropdown-menu > a::after, .we-mega-menu-ul .dropdown-menu > span::after {

    }

    .we-mega-menu-ul .dropdown-menu > a::before, .we-mega-menu-ul .dropdown-menu > span::before {

    }

    .we-mega-menu-ul > .we-mega-menu-li > a, .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 26px !important;
        text-transform: none !important;
        font-weight: 400;
        color: black;
        background: none;
        border: none;
        border-left: none !important;
        border-right: none !important;
        background: white;
        cursor: pointer;
    }

    .we-mega-menu-ul > .we-mega-menu-li {
        border-left: none !important;
        /*padding-bottom: 1em;*/
        text-align: left;
        border-top: 0px solid #eee;
        width: 200px;
    }

    .ro .we-mega-menu-ul > .we-mega-menu-li:nth-of-type(1) {
        border-left: none !important;
        width: 30%;
        background: url('../images/logo_ro.png');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 5%;
        margin-bottom: 1em;
    }

    .en .we-mega-menu-ul > .we-mega-menu-li:nth-of-type(1) {
        border-left: none !important;
        width: 30%;
        background: url('../images/logo_tdh.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 5%;
        margin-bottom: 1em;
    }

    .we-mega-menu-ul > .we-mega-menu-li:nth-of-type(1) {
        border-left: none !important;
        width: 30%;
        background: url('../images/logo_ua.png');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 5%;
        margin-bottom: 1em;
    }

    .greek .we-mega-menu-ul > .we-mega-menu-li:nth-of-type(1) {
        border-left: none !important;
        width: 25%;
        background: url('../images/logo_tdh.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        margin-right: 5%;
        margin-bottom: 1em;
    }

    .we-mega-menu-ul {
        padding-left: 40px;
    }

    .we-mega-menu-ul > .we-mega-menu-li:nth-of-type(1) a {
        opacity: 0;
    }


    .we-mega-menu-ul > .dropdown-menu:hover > a, .we-mega-menu-ul > .dropdown-menu:hover > span, .we-mega-menu-ul > .dropdown-menu:focus > a, .we-mega-menu-ul > .dropdown-menu:focus > span {
        background: white;
    }

    .navbar-default {
        background-color: white;
        border-color: white;
    }

    .we-mega-menu-ul > .we-mega-menu-li.active > a, .we-mega-menu-ul > .we-mega-menu-li.active > a:hover, .we-mega-menu-ul > .we-mega-menu-li.active > a:focus, .we-mega-menu-ul > .we-mega-menu-li.active-trail > a, .we-mega-menu-ul > .we-mega-menu-li.active-trail > a:hover, .we-mega-menu-ul > .we-mega-menu-li.active-trail > a:focus {
        background: white;
        background-color: white;
        color: #F1840B;
    }

    .we-mega-menu-submenu .we-mega-menu-li, .we-mega-menu-submenu .we-mega-menu-li a, .we-mega-menu-submenu .we-mega-menu-li span {
        color: #f38500 !important;
        font-size: 20px !important;
        font-family: 'Roboto Condensed', sans-serif !important;
        text-transform: none !important;
        font-weight: 400 !important;
        border-bottom: none !important;
        border-top: 1px solid #eee;
        padding: 0.5em;
        width: 11em;
    }
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link, .we-mega-menu-submenu .we-mega-menu-li.menu-black-link a {
        color: #000 !important;
        font-size: 20px !important;
        font-family: 'Roboto Condensed', sans-serif !important;
        text-transform: none !important;
        font-weight: 400 !important;
        border-bottom: none !important;
        border-top: 0px solid #eee;
        width: 11em;
    }
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link a:hover,
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link a:hover,
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link a:hover {
        color: #f38500 !important;
    }
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link-header {
        border-bottom: 1px solid #eee !important;
    }
    .we-mega-menu-submenu .we-mega-menu-li.menu-black-link-header-right {
        border-bottom: 1px solid #eee !important;
        margin-right: 2em;
    }

    .we-mega-menu-col {
        padding-bottom: 4px;
    }
    .we-mega-menu-submenu {
        /* padding-left: 4px !important; */
    }

    .we-mega-menu-submenu .we-mega-menu-li:hover, .we-mega-menu-submenu .we-mega-menu-li a:hover, .we-mega-menu-submenu .we-mega-menu-li span:hover {
        color: #000 !important;
        background-color: #eee;
    }

    .we-mega-menu-submenu .we-mega-menu-li .we-mega-menu-submenu .we-mega-menu-li a, .we-mega-menu-submenu .we-mega-menu-li .we-mega-menu-submenu .we-mega-menu-li span {
        color: black !important;
        font-weight: 300 !important;
    }

    .we-mega-menu-submenu .we-mega-menu-li .we-mega-menu-submenu .we-mega-menu-li a:hover, .we-mega-menu-submenu .we-mega-menu-li .we-mega-menu-submenu .we-mega-menu-li span:hover {
        color: #f38500 !important;
        font-weight: 300 !important;
    }


    .we-mega-menu-submenu {
        -moz-box-shadow: none !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        border: none rgba(0, 0, 0, 0.1);
        border-bottom: 2px solid #f38500;
        padding-top: 0;
        padding-bottom: 0;
    }

    .photo1, .photo2, .photo3 {
        background: url('https://www.tdh.ch/sites/default/files/menuimage/photo-protection.jpg');
        padding-top: 60px !important;
        padding-bottom: 60px !important;
        background-size: 100% auto;
        display: inline-block;
    }

    .we-mega-menu-ul .view-footer {
        display: none !important;
    }

    .we-mega-menu-ul .views-col {
        padding-left: 0.5px !important;
        padding-right: 0.5px !important;
        position: relative;
    }


    .we-mega-menu-ul .views-field-title {

        top: 40%;
        font-family: 'Roboto Condensed', sans-serif !important;
    }

    .we-mega-menu-ul .views-field-title a, .we-mega-menu-ul .twocolumnmenu a, .we-mega-menu-ul .threecolumnmenu a {
        font-size: 24px !important;
        font-family: 'Roboto Condensed', sans-serif !important;
    }

    .we-mega-menu-ul .views-field-title a, .we-mega-menu-ul .views-field-title span, .we-mega-menu-ul .twocolumnmenu a, .we-mega-menu-ul .threecolumnmenu a {
        text-align: center !important;
        background-color: none !important;
        color: #fff !important;
        background: none !important;
        display: block !important;
        opacity: 1.0;
        z-index: 300;
        font-family: 'Roboto Condensed', sans-serif !important;
    }

    .we-mega-menu-col.span3:nth-of-type(1) > ul {
        margin-left: 4px;
    }
    .inner-right-col4 .we-mega-menu-submenu-inner {
        padding-right: 10px;
    }

    .we-mega-menu-col.span3:nth-of-type(4) > ul {
        text-align: left !important;
        /* padding-left: 4px; */
    }

    .twocolumnmenu, .threecolumnmenu {
        background: url('/themes/tdhcore/images/justice.jpg');
        background-size: cover;
        /*margin-right: 0px !important;*/
    }

    .threecolumnmenu.prog1 {
        background: url('/sites/default/files/styles/medium_darken/public/2020-02/Romania%2C child protection_High Res_89864.jpg?itok=D43g6wj2');
        background-size: cover !important;
    }

    .threecolumnmenu.prog2 {
        background: url('/sites/default/files/styles/medium_darken/public/2020-01/h16.jpg?itok=kbN7_lUN');
        background-size: cover !important;
    }

    .threecolumnmenu.prog3 {
        background: url('/sites/default/files/styles/medium_darken/public/2020-01/h7.jpg?itok=QZmg0m-Y');
        background-size: cover !important;
    }

    .twocolumnmenu.prog3 {
        background: url('/themes/tdhcore/images/migration.jpg') !important;
        background-size: cover !important;
    }

    .twocolumnmenu.news1 {
        background: url('/themes/tdhcore/images/newsel1.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.news2 {
        background: url('/themes/tdhcore/images/news2.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.news3 {
        background: url('/themes/tdhcore/images/news3.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.vac1 {
        background: url('/themes/tdhcore/images/vac1.png');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.vac2 {
        background: url('/themes/tdhcore/images/vac2.png');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.doc1 {
        background: url('/themes/tdhcore/images/doc1.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.doc2 {
        background: url('/themes/tdhcore/images/doc2.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.prog1 {
        background: url('/themes/tdhcore/images/cp.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu.prog3 {
        background: url('/themes/tdhcore/images/prog3.jpg');
        background-size: cover !important;
        background-position: center center;
    }

    .twocolumnmenu a, .threecolumnmenu a {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }


    .twocolumnmenu:nth-of-type(1), .threecolumnmenu:nth-of-type(1) {
        /*margin-right: 0.5px !important;*/
        /*margin-left:25px;*/
    }

    .twocolumnmenu:nth-of-type(2), .threecolumnmenu:nth-of-type(3) {
        /*margin-left: 0.5px !important;*/
    }

    .threecolumnmenu:nth-of-type(2) {
        /*	margin-left: 0.5px !important;
            margin-right: 0.5px !important;*/
    }

    .threecolumnmenu:nth-of-type(3) {
        /*margin-right: 0.5px !important;*/
    }

    .navbar {
        margin-bottom: 0px !important;
        border-radius: 0px !important;
    }


    .we-mega-menu-ul .views-col {
        padding-left: 0.8em !important;
        padding-right: 0.8em !important;
    }

    .we-mega-menu-ul #block-views-block-programmes-block-1 {
        margin-top: 0px !important;
        margin-bottom: 0px !important;
    }

    .we-mega-menu-ul .cols-3 .views-row {
        padding-bottom: 0em;
    }

    .we-mega-menu-ul .views-col .views-field-title a {
        font-size: 24px !important;
        padding-left: 30px;
        padding-right: 30px;
    }


    /*end of media query*/
}


#block-topmenu, #block-topmenu a {
    font-size: 16px;
    color: #1d1d1d;
    text-align: right;
}

#block-topmenu li {
    display: inline;
    padding-left: 1em;
}

#block-topmenu ul {
    margin-bottom: 0px !important;
}


@media (min-width: 1180px) and (max-width: 2000px) {
    html .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 20px !important;
    }

    html .en .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 20px !important;
    }
}

@media (min-width: 1110px) and (max-width: 1180px) {
    html .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 19px !important;
    }
}

@media (min-width: 1030px) and (max-width: 1110px) {
    html .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 18px !important;
    }
}

@media (min-width: 960px) and (max-width: 1030px) {
    html .we-mega-menu-ul > .we-mega-menu-li > a, html .we-mega-menu-ul > .we-mega-menu-li span {
        font-size: 17px !important;
    }
}


.mobile #block-topmenu .field--type-text-with-summary {
    margin-left: 0% !important;
    margin-right: 15% !important;
}

.we-mega-menu-submenu {
    left: unset;
}