#more {display: none;}

.certifications img{
    height: 90px;
    margin-right: 40px;
    /*margin: 30px 80px 30px 0;*/
}


.body {
    height: 900px;
    margin: 0;
    display: grid;
    grid-template-rows: 600px 100px;
    grid-template-columns: 1fr 30px 30px 30px 30px 30px 30px 1fr;
    align-items: center;
    justify-items: center;
}
.office{
    margin-top: 40px;
}

main#carousel {
    grid-row: 1 / 2;
    grid-column: 1 / 9;
    width: 100vw;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 700px;
    --items: 6;
    --middle: 3;
    --position: 1;
    pointer-events: none;
}

div.item {
    position: absolute;
    width: 300px;
    height: 600px;
    background-color: #f0f0f0;
    --r: calc(var(--position) - var(--offset));
    --abs: max(calc(var(--r) * -1), var(--r));
    transition: all 0.25s linear;
    transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
    z-index: calc((var(--position) - var(--abs)));
}

div.item:nth-of-type(1) {
    --offset: 1;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
div.item:nth-of-type(2) {
    --offset: 2;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
div.item:nth-of-type(3) {
    --offset: 3;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
div.item:nth-of-type(4) {
    --offset: 4;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
div.item:nth-of-type(5) {
    --offset: 5;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
div.item:nth-of-type(6) {
    --offset: 6;
    background-color: #f0f0f0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

input:nth-of-type(1) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
input:nth-of-type(1):checked ~ main#carousel {
    --position: 1;
}

input:nth-of-type(2) {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ main#carousel {
    --position: 2;
}

input:nth-of-type(3) {
    grid-column: 4 /5;
    grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ main#carousel {
    --position: 3;
}

input:nth-of-type(4) {
    grid-column: 5 / 6;
    grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ main#carousel {
    --position: 4;
}

input:nth-of-type(5) {
    grid-column: 6 / 7;
    grid-row: 2 / 3;
}
input:nth-of-type(5):checked ~ main#carousel {
    --position: 5;
}
input:nth-of-type(6) {
    grid-column: 7 / 8;
    grid-row: 2 / 3;
}
input:nth-of-type(6):checked ~ main#carousel {
    --position: 6;
}


.flag{
    width: 40%;
    margin: 30px 0 20px 0;
}


/*scrool image */
.block {
    overflow: hidden;
    width: 100%;
    margin: 50px auto;
    background: #fff;
}
.animation {
    width: auto;
    height: 100px;
    font-size: 0px;
}
.animation div {
    display: inline-block;
    width: auto;
    float: none;
    padding: 0 10px;
}
/*scrool image */




.certifications{
    /*background: #1D1D1B;*/
    background:#575656;
    margin-bottom: 50px;
}
.certifications ul{
    list-style: none!important;
    display:flex!important;
    margin-top: 1%;
}

.certifications li img{
    margin-right: 50px!important;
}

/*.ex-section, .extra-section:after {
    background: #d71920;
}*/

/*.dark-bg {
    background-color: rgb(172 20 26);
}*/

footer.main-footer p {
    color: white;
}
footer.main-footer li {
    color: white;
}
footer.main-footer h2 {
    color: white;
}

footer.main-footer a {
    color: white;
}
.nav-link .fa-facebook-f,
.nav-link .fa-linkedin-in,
.nav-link .fa-instagram,
.nav-link .fa-twitter
{
    background: #434241;
    padding: 5px 5px 23px 5px;
    height: 15px;
    border: 1px solid #434241;
    border-radius: 6px;
    color: #fff;
}
.mainmenu .navbar-nav .social-icon {
    margin-left: 15px!important;
}
/*.main-header.affix .header-bottom .navbar-nav li a, .mainmenu .navbar-nav li.nav-item .dropdown-menu li a {
    color: #d71920;
}*/

.font50 {
    font-size: 45px;
}

/*.single-service:hover a h3 {
    color: #d71920;
}*/

/*.single-service:after {
    background-color: #d71920;
}*/

/*.main-btn.main-btn2 {
    background-color: #d71920;
    border-color: #d71920;
}*/

.search-submit {
    bottom: unset;
}

.search-submit:hover {
    background-color: #d71920;
}

/*.subscribe-btn {
    background-color: #d71920;
    border-color: #d71920;
}*/

/*.navbar .mainmenu .navbar-nav li a {
    color: #000000;
}*/

/*.navbar .mainmenu .navbar-nav li a:hover {
    color: #d71920;
}*/

/*.header-social li a{
    border: 2px solid #e1e1e1;
    width: 40px;
    height: 40px;
    text-align: center;
    display: block;
    line-height: 18px;
}*/
.mainmenu .navbar-nav li a:before {
    /*background: #d71920;*/
}

.main-header.affix .header-bottom .navbar-nav li a.active {
    color: #000000;
}

.affix .mainmenu .navbar-nav li a:before {
    /*background-color: #d71920;*/
}

@media (min-width: 992px){
    header.main-header.affix .header-bottom {
        height: 83px;
    }
    .navbar-expand-lg {
        margin-top: -20px;
    }

    .bottom-space {
        padding-bottom: 18px;
    }

    .margin-top-space{
        margin-top: -58px;
    }
    .equal-space {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}
