.flex-container-work {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
}

.flex-container-work .col-xl-6, .flex-container-work .col-md-6{
    max-width: 49%;
}

.grid-images img {
    object-fit: cover;
}

ul.main {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.arrow {
    box-sizing: border-box;
    height: 15px;
    width: 15px;
    border-style: solid;
    border-color: #27BDBE;
    border-width: 0px 1px 1px 0px;
    transform: rotate(45deg);
    transition: border-width 150ms ease-in-out;
}

#body-child {
    position: relative;
}

#body-child .popup-content {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: 9999;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

#body-child .popup-content-body {
    /*overflow-y: auto;*/
    height: auto;
}

#body-child .popup-content-show {
    visibility: visible;
    opacity: 1;
    z-index: 9999;
    transform: translateY(0%);
    /*transition-delay: 0s, 0s, 0.3s;*/
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
    /*position: fixed;*/
}

#body-child .popup-content .popup-content-container {
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 45px 40px 60px 46px;
    height: 100%;
    overflow-y: auto;
}

/* Hidden scrollbar popup */
#body-child .popup-content .popup-content-container::-webkit-scrollbar {
    display: none;
}

.popup-content .popup-content-container .close-icon {
    position: relative;
    float: right;
    margin-top: -33px;
    margin-right: 33px;
}

.popup-content-container .close-icon .closei:before,
.popup-content-container .close-icon .closei:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 23px;
    width: 5px;
    background-color: #FFFFFF;
}

.closei:before {
    transform: rotate(45deg);
}

.closei:after {
    transform: rotate(-45deg);
}

.popup-content .popup-content-container .title {
    color: #27BDBE;
    font-weight: bold;
    text-transform: uppercase;
    clear: right;
    margin-bottom: 30px;
    font-size: 24px;
}

.popup-content .popup-content-container p {
    color: #FFFFFF;
    font-size: 16px;
}

.popup-content .popup-content-container .big-data-block {
    background-color: #ccbfbf;
    height: 500px;
    margin-bottom: 15px;
}

.popup-content .popup-content-container .small-data-block {
    margin-bottom: 15px;
}

.popup-content .small-data-block .wrapper {
    display: flex;
}

.popup-content .small-data-block .column {
    background-color: #ccbfbf;
    flex: 49%;
    height: 300px;
}

.popup-content .small-data-block .wrapper div:first-child {
    margin-right: 0.8px;
}

.popup-content .small-data-block .wrapper div:nth-child(2) {
    margin-left: 0.8px;
}

.popup-content .popup-content-container .last-content {
    margin-bottom: 0;
}

.popup-content .close-button {
    /*margin-top: 40px;*/
}

.popup-content .popup-content-footer {
    margin-top: 40px;
}

.popup-content .close-button span {
    color: #27BDBE;
    font-size: 16px;
    border: solid 1px #27BDBE;
    padding: 10px 25px 10px 25px;
    border-radius: .25rem;
    cursor: pointer;
    text-transform: uppercase;
    background: rgba(32, 189, 190, 0.3);
}

@media all and (max-width: 959px) {
    .popup-content .popup-content-container p {
        font-size: 14px;
    }

    .popup-content .close-button span {
        font-size: 14px;
    }

    #body-child .popup-content .popup-content-container {
        padding: 45px 15px 60px 15px;
    }

    .popup-content .popup-content-container .big-data-block {
        height: 324px;
    }

    .popup-content .small-data-block .column {
        height: 325px;
    }
}

/* Fix somethings */
@media all and (max-width: 959px) {

}

@media all and (max-width: 767px) {
    .grid-images {
        margin-right: -15px;
        margin-left: -15px;
    }

    .grid-images .img-title {
        font-size: 16px;
    }

    .flex-container-work .col-12 {
        max-width: 99.339%;
    }

    .flex-container-work .col-8 {
        max-width: 66.1%;
    }

    .flex-container-work .col-4 {
        max-width: 32.804%;
    }

    /*.grid-images .img-title {*/
        /*height: 63%;*/
    /*}*/

    /*.grid-images img {*/
        /*height: 63%;*/
    /*}*/

    .block-info {
        margin-top: 0;
    }

    .block-body p {
        padding: 0 !important;
    }

    .popup-content .popup-content-container .big-data-block {
        height: 200px;
    }

    .popup-content .small-data-block .column {
        height: 191px;
    }
}

@media all and (max-width: 600px) {

    .container-wrapper {
        flex-wrap: wrap;
    }

    .container-wrapper > li {
        flex-basis: 50%;
    }
	.grid-images .img-title {font-size: 14px !important;}
}

@media all and (max-width: 400px) {
    .container-wrapper > li {
        flex-basis: 100%;
    }
}
/* End Footer Css */

