#markets-banner {
    background: url(../images/aboutbanner.png) no-repeat;
    background-size: cover;
    width: 100%;
    height: 540px;
}

#markets-banner h3 {
    color: white;
    margin-top: 428px;
    margin-left: 0;
    font-size: 46px;
}

#markets-banner h3 {
    margin-left: 69px;
    font-size: 45px;
    margin-top: 331px;
}


/*Who we are*/

#markets {
    padding-top: 60px;
    padding-bottom: 0;
}

#markets .container-fluid {
    width: 86%;
}

#markets .ef {
    margin-bottom: 150px;
    max-height: 220px;
}

#markets h4 {
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
    margin-top: 15px;
    margin-bottom: 5px;
    padding-bottom: 10px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: '';
}

.clearfix:after {
    clear: both;
}

#markets figure {
    position: relative;
    overflow: unset;
    height: auto;
    text-align: center;
    cursor: pointer;
}

#markets figure img {
    position: relative;
    display: block;
    min-height: 100%;
    max-width: 100%;
    opacity: 1;
}

#markets figure figcaption {
    padding: 2em;
    color: #fff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#markets figure figcaption::before,
#markets figure figcaption::after {
    pointer-events: none;
}

#markets figure figcaption,
#markets figure figcaption>a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#markets figure figcaption>a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

#markets figure.effect-chico img {
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}

#markets figure.effect-chico:hover img {
    opacity: 0.5;
    -webkit-transform: scale(1);
    transform: scale(1);
}

#markets figure.effect-chico figcaption {
    padding: 3em;
}

#markets figure.effect-chico figcaption a {
    color: red;
    text-decoration: none;
}

#markets figure.effect-chico figcaption::before {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid #fff;
    content: '';
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

#markets figure.effect-chico figcaption::before,
#markets figure.effect-chico p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

#markets figure.effect-chico h2 {
    padding: 20% 0 20px 0;
}

#markets figure.effect-chico p {
    margin: 64px auto;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

#markets figure.effect-chico:hover figcaption::before,
#markets figure.effect-chico:hover p {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}


/*partners*/

#partners {
    padding-top: 40px;
    padding-bottom: 70px;
}

#partners .container-fluid {
    width: 86%;
}

#partners .lin {
    background: #ed1c24;
    width: 1px;
    height: 70px;
    margin-top: 14px;
    margin: auto;
}

#partners img {
    width: 20%;
    margin: auto;
    display: block;
}

#partners h3 {
    text-align: center;
    color: #000;
    font-size: 26px;
    margin-top: 30px;
}

#partners p {
    text-align: center;
    color: #000;
    font-size: 14px;
    margin-top: 15px;
}

#partners .bxslider img {
    width: 65%;
    margin-top: 50px;
}

.bx-wrapper {
    width: 100%;
}

.bx-wrapper li {
    margin-top: -16px !important;
}

* {
    box-sizing: border-box;
}

.row>.column {
    padding: 0 8px;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.column {
    float: left;
    width: 25%;
}


/* The Modal (background) */

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: black;
}


/* Modal Content */

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 1080px;
    top: 13%;
    background: inherit;
    box-shadow: none;
    border: none;
    border-radius: 0px;
}


/* The Close Button */

.close {
    color: #ffff;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 40px;
    font-weight: normal;
    text-shadow: none;
}

.close:hover,
.close:focus {
    color: #ed1c24;
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}


/* Next & previous buttons */

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}


/* Position the "next button" to the right */

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}


/* On hover, add a black background color with a little bit see-through */

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Number text (1/3 etc) */

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media only screen and (min-width: 1920px) and (max-width: 2560px) {
    #markets {
        padding-top: 70px;
    }
}

@media only screen and (min-width: 1600px) and (max-width: 1919px) {
    #markets-banner h3 {
        margin-left: 0;
        background-size: 100% 100%;
    }
}

@media only screen and (min-width: 1440px) and (max-width: 1599px) {
    #markets-banner {
        height: 450px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 0;
        margin-top: 320px;
    }
}

@media only screen and (min-width: 1366px) and (max-width: 1439px) {
    #markets-banner {
        height: 380px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 0;
        font-size: 36px;
        margin-top: 265px;
    }
}

@media only screen and (min-width: 1280px) and (max-width: 1365px) {
    #markets-banner {
        height: 380px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 0;
        font-size: 36px;
        margin-top: 265px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1279px) {
    #markets-banner {
        height: 350px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 0;
        font-size: 34px;
        margin-top: 250px;
    }
    #markets .container-fluid {
        width: 90%;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    #markets-banner {
        height: 320px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 0;
        font-size: 30px;
        margin-top: 240px;
    }
}

@media only screen and (min-width: 768px) and (max-width :1023px) {
    #markets h4 {
        
        font-size: 10px !important;
     
    }

    
    #markets-banner {
        height: 300px;
        background-size: 100% 100%;
    }
    #markets-banner h3 {
        margin-left: 12px;
        font-size: 28px;
        margin-top: 222px;
    }
    #markets {
        padding-top: 60px;
    }
}

@media only screen and (min-width: 150px) and (max-width: 767px) {
    #markets h4 {
        
        font-size: 10px !important;
     
    }
    #markets-banner h3 {
        text-align: center;
        margin-top: 325px;
        margin-left: 0;
        font-size: 24px;
    }
    #markets-banner {
        background: url(../images/about-mobile.png) no-repeat;
        width: 100%;
        height: 440px;
    }
}

@media only screen and (max-width: 375px) {
    #partners .container-fluid {
        padding-top: 0px;
    }
}

@media only screen and (max-width: 360px) {}

@media only screen and (max-width: 320px) {
    #partners .container-fluid {
        padding-top: 0px;
    }
}

@media screen and (min-width: 1920px) {
    #markets-banner {
        background: url(../images/aboutbanner.png) no-repeat center center;
        background-size: cover;
        height: 640px; /* optional: increase height for big screens */
    }
}

@media screen and (min-width: 2560px) {
    #markets-banner {
        background: url(../images/aboutbanner.png) no-repeat center center;
        background-size: cover;
        height: 720px; /* adjust height if needed */
    }
}