a:hover {
    color: white;
}

section#network-section a{
    color: inherit;
    text-decoration: underline;
}

#history{
    position: relative;
    background-image: url("/dist/images/member-header-img.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.objectives{
    display: flex;
    justify-content: space-between;
    padding: 0px 110px;
    margin-top: 120px;
}

div.objectives > ol{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    counter-reset: my-counter;
    column-gap: 30px;
    width: 100%;
    list-style: none;
    padding: 0;
}

div.objectives > ol > li{
    counter-increment: my-counter;
}

div.objectives > ol > li::before{
    content: counter(my-counter);
    position: absolute;
    opacity: 0.2;
    font-size: 157px;
    line-height: 0.14;
    letter-spacing: normal;
}

div.objectives > ol > li:nth-child(even):before{
    color: #e6404d;
}

div.objectives > ol pre{
    white-space: pre-wrap;
    font-family: "Avenir Next", 'Open Sans', sans-serif;
    font-size: 1rem;
}

.objective{
    position: relative;
    margin: 0px auto;
    padding-right: 30px;
}

.objective-number{
    position: absolute;
    opacity: 0.2;
    font-size: 157px;
    line-height: 0.14;
    letter-spacing: normal;
    top: 5px;
}

#policy-paper{
    background-color: #f6f6f6;
}

#management{
    position: relative;
    background-image: url("/dist/images/management-img.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 5px;
}

#management .section-title::after{
    border-color: #e63946;
}

.management-group{
    margin-bottom: 75px;
}


.group-title{
    position: relative;
    font-size: 23px;
    line-height: 0.96;
    text-align: center;
    color: #e63946;
    margin-bottom: 2px;
}

.group-description{
    position: relative;
    font-size: 18px;
    line-height: 1.72;
    text-align: center;
    color: #ffffff;
    margin-bottom: 20px;
}

.group-members-container{
    font-size: 18px;
    line-height: 1.72;
    text-align: center;
}

.group-members-container > ul{
    list-style: none;
    padding: 0;
}

.group-members-container > ul > li{
    color: white;
    position: relative;
    margin-bottom: 5px;
    text-align: left;
}

.group-members-container > ul > li img{
    border-radius: 40px;
    margin-right: 15px;
}

.group-members-container > ul > li > a{
    color: white;
    font-weight: bold;
}

.group-members-container > ul > li > a:hover{
    text-decoration: underline;
}

/*MEMBER LIST*/
.members-functionality{
    width: 100%;
    margin-top: 36px;
    /*padding: 0px 110px;*/
    /*margin: 0px;*/
}

.members-functionality .row{
    margin-right: 0px;
    margin-left: 0px;
}

.members-map{
    /*width: 581px;*/
    height: 729.5px;
    /*background-image: url("/dist/images/map-img.png");*/
    background-size: cover;
    display: inline-block;
    margin-top: -5px;
}

.members-list{
    display: inline-block;
}


.member-item{
    position: relative;
    width: 500px;
    /*height: 110px;*/
    object-fit: contain;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.13);
    /*background-color: #ffffff;*/
    /*margin-bottom: 12px;*/
    padding: 0px 10px;
    background-clip: content-box;
}

/*.first-member{*/
    /*margin: 0px;*/
/*}*/

.member-number{
    display: inline-block;
    height: 100%;
    width: 40px;
    text-align: center;
    padding: 42px 0px;
    border-right: 1px solid rgba(151, 151, 151, 0.3);
}

.member-main-info{
    display: inline-block;
    margin-left: 7px;
    vertical-align: middle;
    max-width: 55%;
}

.member-logo{
    width: 68px;
    height: 68px;
    margin-left: 28px;
}

.member-name{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
    color: #1d3557;
    /*max-width: 310px;*/

}

.member-url{
    word-break: break-all;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.47;
    color: #e63946;
    margin-bottom: 0px;
}

.member-country{
    width: 110px;
    display: inline-block;
    height: 100%;
    text-align: center;
    border-left: 1px solid rgba(151, 151, 151, 0.3);
    position: absolute;
    right: 0px;
    top: 0px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*MEMBER LIST*/
/* ->SLICK*/
.slick-slide img {
    display: inline-block;
    object-fit: contain;
    margin-left: 10px;
}

.slick-slide {
    margin: 5px 0px;
}

.slick-list {
    margin: -5px 0px;
}

a:not([href]):not([tabindex]) {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
    color: #1d3557;
    opacity: 0.5;
}

.slick-dots .slick-active .dot{
    opacity: 1;
}

.slick-dots li {
    width: auto;
}

.slick-dots {
    bottom: -36px;
    text-align: right;
    padding-right: 15px;
}

.dot-arrow, .dot-double-arrow, .dot{
    margin-left: 10px;
}

/*JOINT THE NETWORK*/
#join-network{
    background-image: url("/dist/images/about-ean-img.jpg");
}

#join-network .section-title::after{
    border-color: #e63946;
}

div#join-network > .learn-more-button{
    max-width: 160px;
    height: 45px;
    background-color: #e63946;
    margin: auto;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 36px;
}

a.learn-more-button:not([href]):not([tabindex]) {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    color: white;
    opacity: inherit;
}

a.learn-more-button:not([href]):not([tabindex]):focus {
    color: white;
}

@media (max-width: 1439px) {

    .member-main-info{
        max-width: 50%;
    }

    .member-url{
        font-size: 11px;
    }

    .member-country{
        width: 100px;
    }

    /*.member-url{*/
    /*    max-width: 19rem;*/
    /*}*/

}

@media (max-width: 1199px) {

    .member-url{
        /*max-width: 14rem;*/
    }

    .member-main-info{
        display: inline-block;
        margin-left: 7px;
        vertical-align: middle;
    }

    .member-item{
        padding: 0px;
    }

    .slick-dotted.slick-slider {
        padding: 14px 0px 0px 0px;
    }

    .slick-vertical .slick-slide {
        width: 100% !important;
    }

}

@media (max-width: 969px){
    div.objectives > ol{
        grid-template-columns: 1fr;
        row-gap: 80px;
    }

    .members-list {
        padding: 15px 0px 0px;
    }

    .member-item{
        width: 100%;
        height: 175px;
        display: flex;
        padding-top: 20px;
        margin-bottom: 15px;
    }

    .member-number{
        display: none;
    }

    /*.member-main-info{*/
    /*    display: block;*/
    /*}*/

    .member-main-info{
        display: inline-block;
        margin-left: 7px;
        vertical-align: middle;
        max-width: 70%;
    }

    .member-country {
        width: 100%;
        height: 60px;
        border-left: 0px;
        border-top: 1px solid rgba(151, 151, 151, 0.3);
        margin-top: 110px;
        padding-top: 5px;
    }

    .member-logo {
        width: 90px;
    }

    /*.member-name {*/
    /*    max-width: 350px;*/
    /*    margin-left: 90px;*/
    /*}*/

    /*.member-url {*/
    /*    margin-left: 92px;*/
    /*}*/
}

@media (max-width: 749px) {

    .member-name {
        /*max-width: 385px;*/
        font-size: 14px;
    }

    /*.member-url {*/
    /*    position: absolute;*/
    /*    bottom: 10px;*/
    /*    z-index: 9;*/
    /*    right: 10px;*/
    /*    margin-left: 0px;*/
    /*}*/

    .member-url {
        left: 0;
        right: 0;
        /*margin: auto;*/
        width: fit-content;
        margin: 1%;
    }

    /*.member-country {*/
    /*    display: flex;*/
    /*    justify-content: flex-start;*/
    /*    padding-left: 10px;*/
    /*}*/
    .member-country {
        justify-content: center;
        height: 70px;
    }

}

/*.member-url*/

@media (max-width: 599px) {
    .member-item{
        height: 18rem;
    }

    .member-url {
        position: relative;
        width: 100%;
        padding-right: 10px;
    }
    .member-country{
        position: absolute;
        top: 75%;
        margin-top: 0;
    }


    .slick-slide img {
        display: block;
        margin: 0 auto;
    }

    .member-main-info {
        display: block;
        text-align: center;
        max-width: 100%;
    }

}

@media (max-width: 479px) {
    .slick-dots{
        text-align: center;
    }

    .slick-slide {
        margin: 15px 0px;
    }

    .objectives{
        padding: 0px 50px;
    }



    /*.member-country {*/
    /*    justify-content: center;*/
    /*    height: 70px;*/
    /*}*/

    /*.member-url {*/
    /*    left: 0;*/
    /*    right: 0;*/
    /*    !*margin: auto;*!*/
    /*    width: fit-content;*/
    /*}*/

    /*.member-name {*/
    /*    font-size: 12px;*/
    /*}*/
}