/*

Theme Name: WMD Theme

*/



/*html :where(img){height:inherit;max-width:none;}*/

nav#top-menu-nav ul#top-menu,.logo_container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav#top-menu-nav> ul {
    display: flex;
}

#et-top-navigation {
    float: none;
}
body.has-mtsnb{
    width: 98% !important;
}

#top-menu-nav li.menu-item-has-children ul.sub-menu {
    list-style: none;
    min-width: 220px;
    left: 5px;
    transition: 0.3s ease;
    position: absolute;
    padding: 20px 0;
    z-index: 9999;
    width: 240px;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    border-top: 3px solid #2ea3f2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    -webkit-transform: translateZ(0);
    text-align: left;
}

li.menu-item-has-children {
    position: relative;
}

#top-menu-nav li.menu-item-has-children ul.sub-menu li {
    /* border: 1px solid; */
    margin: 0;
}

#top-menu-nav li.menu-item-has-children ul.sub-menu li a {
    padding: 12px 20px;
}

#top-menu-nav li.menu-item-has-children:hover ul.sub-menu {
    transform: translateY(10px);
    visibility: visible;
    opacity: 1;
    transition: 0.3s ease;
}

nav#top-menu-nav ul {
    list-style: none;
}

nav#top-menu-nav ul li a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    display: block;
    position: relative;
    -webkit-transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
        font-size: 14px;
    font-weight: 600;
}

ul#top-menu li.menu-item-has-children:after {
    content: "\f107";
    position: absolute;
    top: 12px;
    font-family: 'fontAwesome';
    right: -4px;
}

ul#top-menu li.menu-item-has-children {
    position: relative;
}

#top-menu-nav li.menu-item-has-children:hover ul.sub-menu li:hover a {
    background: #f3f3f3;
}
.fondoeuropeoparalapaz .container,.container {
    max-width: 1370px;
    width: 96%;
    margin: auto;
}
#top-menu .menu-item-has-children>a:first-child:after{
    display: none;
}
#top-menu .menu-item-has-children>a:first-child{
    padding-right: 4px !important; 
}



    .fondoeuropeoparalapaz h1 {
        font-size: 35px;
        line-height: 1;
        margin-bottom: 7px;
    }

    .fondoeuropeoparalapaz h2 {
        font-size: 32px;
        line-height: 1;
        margin: 0;
        margin-bottom: 7px;
    }

    .fondoeuropeoparalapaz h3 {
        font-size: 28px;
        line-height: 1;
        margin: 0;
        margin-bottom: 7px;
    }

    .fondoeuropeoparalapaz h4 {
        font-size: 25px;
        line-height: 1;
        margin: 0;
        margin-bottom: 7px;
    }

    .fondoeuropeoparalapaz h5 {
        font-size: 22px;
        line-height: 1;
        margin: 0;
        margin-bottom: 7px;
    }

    .fondoeuropeoparalapaz h6 {
        font-size: 20px;
        line-height: 1;
        margin: 0;
        margin-bottom: 7px;
        text-transform: none;
    }

    .fondoeuropeoparalapaz p {
        font-size: 18px;
        margin: 0;
        margin-bottom: 20px;
        line-height: 28px;
    }

    .fondoeuropeoparalapaz ol {
        font-size: 18px;
        margin: 20px;
        padding: 0;
        list-style: decimal;
    }

    .fondoeuropeoparalapaz ul {
        font-size: 18px;
        padding-left: 35px;
        list-style: disc;
    }
body.has-mtsnb{
    /* width: auto !important; */
}
img.aligncenter {
    margin: auto;
    display: block;
}


    table tr th {
        background: #1fb0176b;
    }
    .fondoeuropeoparalapaz li {
        line-height: 30px;
    }
    .fondoeuropeoparalapaz table tr td {
        border: 1px solid #b6acac;
        padding: 10px;
        font-size: 18px;
    }
    .fondoeuropeoparalapaz table tr td b {
        font-weight: 700;
    }
    .fondoeuropeoparalapaz table {
        margin: 25px 0;
        border-collapse: collapse;
        width: 100%;
    }
    .table-auto {
        overflow-x: auto;
    }
    a.campaign-list-item_cta-btn {
        color: #fff !important;
        text-decoration: none;
    }
    .fondoeuropeoparalapaz table tr td,
    .fondoeuropeoparalapaz table tr th {
        border: 1px solid #b6acac;
        padding: 10px;
        font-size: 18px;
        text-transform: initial;
        color: #000;

        text-align: start;
    }
    .table-auto {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .fondoeuropeoparalapaz table tr td {
        white-space: nowrap;
    }
    .fondoeuropeoparalapaz dl {
        background: #f1f1f1;
        padding: 30px;
        border-radius: 5px;
        margin: 0 0 20px 0;
        font-size: 18px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.7px);
        -webkit-backdrop-filter: blur(7.7px);
        border: 1px solid #bababa;
    }

    .fondoeuropeoparalapaz dt {
        border-radius: 5px;
        padding: 10px;
        background: #d1d1d1;
    }

    .fondoeuropeoparalapaz dd {
        margin-left: 15px;
        padding: 15px;
    }

    .fondoeuropeoparalapaz blockquote {
        position: relative;
    }

        .fondoeuropeoparalapaz-author-container {
        border: 1px solid #0a162c;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 8px;
        background-color: #fff;
        margin: 20px 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(7.7px);
        -webkit-backdrop-filter: blur(7.7px);
        border: 1px solid #d4d4d4;
    }

    .author-img-con img {
        height: 65px;
        width: 65px;
        object-fit: contain;
        border-radius: 50px;
        border: 2px solid #6468dc;
    }

    .author-img-con {
        border: 2px dotted #568187;
        border-radius: 64px;
        padding: 4px 4px 1px;
    }

    .author-img-con {
        position: relative;
        border: 2px dashed transparent;
        border-radius: 64px;
        padding: 4px 4px 1px;
    }


    .author-img-con::before {
        content: "";
        position: absolute;
        inset: 0;
        border: 2px dashed #568187;
        border-radius: 64px;
        animation: rotate-border 8s linear infinite;
        pointer-events: none;
    }

    /* Rotate animation */
    @keyframes rotate-border {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .date-container {
        height: 50px;
    }

    .date-author-cl span {
        font-size: 18px;
        color: #000;
    }

    span.posttim.posdate a {
        color: #000;
    }

    .last_updated_date p {
        font-size: 18px;
        color: #000;
    }

    /* section.main-content {
        padding: 30px 0;
    }

    .profile-header-container {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .header-name-container h1 {
        font-size: 30px;
    }

    .profile-fields-group {
        border: 1px solid #d1d1d1;
        border-radius: 5px;
        padding: 10px 20px;
    }

    h2.group-title {
        font-size: 28px;
    }

    .author-f-name {
        font-size: 18px;
        display: flex;
        gap: 7px;
        line-height: 27px;
    }

    .author-f-name .label {
        font-weight: 400;
    }

    .author-description-name .label {
        font-weight: 700;
        font-size: 18px;
    } */
    section.main-content {
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .profile-header-container {
        display: flex;
        align-items: center;
        gap: 20px;
        margin-bottom: 25px;
        padding: 10px 20px;

        background: #ffffff70;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4.7px);
        -webkit-backdrop-filter: blur(7.7px);
        border-bottom: 1px solid #d4d4d4;
        z-index: 999;
        position: relative;
        margin: 10px auto;
        width: auto;
        border-radius: 30px;
        border: 1px solid #d2d2d2;
    }

    .header-avatar-container img {
        border-radius: 50%;
        border: 3px solid #4e73df;
        width: 90px;
        height: 90px;
        object-fit: cover;
    }

    .header-name-container h2 {
        font-size: 28px;
        font-weight: 700;
        color: #222;
    }

    .profile-fields-group {
        padding: 10px 20px;
        background: #ffffff70;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4.7px);
        -webkit-backdrop-filter: blur(7.7px);
        border-bottom: 1px solid #d4d4d4;
        z-index: 999;
        position: relative;
        margin: 10px auto;
        width: auto;
        border-radius: 30px;
        border: 1px solid #d2d2d2;

    }

    h2.group-title {
        font-size: 28px;
        /* color: #4e73df; */
        border-bottom: 2px solid #000000;
        display: inline-block;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }

    .author-f-name,
    .author-description-name {
        /* margin-bottom: 12px; */
        display: flex;
        gap: 10px;
    }

    .author-f-name .label,
    .author-description-name .label {
        font-weight: 700;
        font-size: 18px;
    }

    .author-f-name .data,
    .author-description-name .data {
        /* color: #555; */
        font-size: 17px;
        line-height: 1.6;
    }


    .data p {
        font-size: 17px;
        margin: 0;
    }

    .site-logo-image a {
        color: #000;
        text-decoration: none;
        font-size: 18px;
    }
    #footer-bottom #footer-info::before{
        display: none;
    }
    #footer-info{
            text-align: center;
    margin: auto;
    }

@media(max-width:991px){
    .fondoeuropeoparalapaz table {
    display: block;
    width: auto;
    overflow-x: scroll;
}
}

/* Hide toggle on desktop */
#menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile styles */
@media (max-width: 980px) {

    #menu-toggle {
        display: block;
    }

    #top-menu-nav {
        display: none;
        width: 100%;
    }
    .et_header_style_centered nav#top-menu-nav.active{
        display: block;
    }

    #top-menu-nav.active {
        display: block;
    }

    #top-menu {
        flex-direction: column;
    }

    #top-menu li {
        display: block;
        width: 100%;
        padding: 0 !important;
    }

    #top-menu li a {
        display: block;
        padding: 12px;
    }
    #top-menu-nav li.menu-item-has-children ul.sub-menu{
        visibility: visible;
        opacity: 1;
        position: relative;
        width: 90%;
    }
    nav#top-menu-nav ul#top-menu{
        padding: 0;
        width: 96%;
        margin: auto;
    }
    img.logo{
    max-width: 300px;
    width: 100%;
    object-fit: contain;
}
ul#top-menu li.menu-item-has-children:after{
    right: 4px;
}
}
