/* Changing the main styles
  ------------------------------------- */

.top--calltracking .main-section {
    padding-top: 135px;
}

.top--calltracking.top--light .main-section__pic {
    max-width: 467px;
    right: 1.2%; /*15px*/
    top: -25%;
}

.main-section .container {
    padding-bottom: 205px;
}

/* Styles of the this page
  ------------------------------------- */

.white-blocks .container {
    height: auto;
    transition: height 2s ease;
}

.white-blocks__items_hide,
.white-blocks__items {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-gap: 28px;
    padding: 54px 0 0 0;
}

.white-blocks__item {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: center;
    height: 290px;
    padding: 15px 15px 48px;
}

.white-blocks__item img {
    max-width: 200px;
    margin: 0 0 36px 0;
    max-height: 100px;
}

.white-blocks__item .title {
    width: 100%;
    text-align: center;
    margin: 0 0 30px 0;
}

.white-blocks__item .btn {
    margin: 0 auto !important;
}

.white-blocks__items_hide {
    display: none;
}
.white-blocks__items_hidden {
    display: none;
}
.items_show {
    display: grid;
}

.white-blocks .btn {
    margin: 55px auto 0;
}

/* ---- form ----*/
.right-block {
    min-height: 350px;
    overflow: hidden;
}

.right-block-content .content {
    margin-top: 67px;
}

.right-block-content .image {
    margin: 0;
}

.right-block-content .image h2 {
    top: 50px;
}

/* ---- Section with logos ---- */
.section-optimization .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-optimization__title {
    max-width: 515px;
    width: 100%;
}

.section-optimization__title h2 {
    margin: 0 0 30px 0;
}

.section-optimization__logos-wrapper {
    max-width: 650px;
    width: 100%;
}

.section-optimization__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.section-optimization__logos .section-optimization__logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 33.33%;
    margin-bottom: 48px;
}

/* ---- section goworks ---- */
.goworks .white-block{
    justify-content: space-between;
    padding: 75px 120px 60px 50px;
    margin: 0;
}

.goworks .goworks__box p {
    margin-bottom: 55px;
}

.goworks .goworks__box:nth-child(2) img{
    width: 95%;
}

/* ---- Modal ---- */
#certificateModal {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

#certificateModal .modal-dialog {
    position: relative;
    max-width: 720px;
    width: 100%;
    max-height: 508px;
    height: 100%;
    background: none;
    box-shadow: none;
}

#certificateModal .modal-body {
    position: relative;
    top: 30px;
    max-width: 692px;
    padding: 0 !important;
}

#certificateModal .modal-dialog img{
    width: 100%;
    height: auto;
}

#certificateModal .modal-dialog .close {
    position: absolute;
    top: 0;
    right: 0;
}

/* Responsive  */
@media screen and (max-width: 1211px) {
    .section-optimization__title {
        max-width: 100%;
    }

    .section-optimization__logos-wrapper {
        max-width: 100%;
    }

    .section-optimization__logos .section-optimization__logo {
        margin-bottom: 30px;
        justify-content: start;
    }

}

@media screen and (max-width: 1199px) {
    .section-optimization__logos .section-optimization__logo {
        justify-content: center;
    }

    .goworks .goworks__box:nth-child(2) img{
        width: 104%;
    }

    .goworks .white-block{
        padding: 60px 50px;
    }

}

@media screen and (max-width: 992px) {

    .top--calltracking .main-section {
        padding-top: 50px !important;
    }

    .white-blocks__items_hide,
    .white-blocks__items {
        grid-template-columns: 50% 50%;
    }

    .section-optimization__title h2 {
        margin: 60px 0 30px 0;
    }

    .goworks .goworks__box {
        width: 100%;
    }

    .goworks .goworks__box p {
        margin-bottom: 30px;
    }

    .goworks .goworks__box:nth-child(2),
    .goworks .goworks__box p br{
        display: none;
    }

}

@media screen and (max-width: 767px) {
    .white-blocks__items_hide,
    .white-blocks__items {
        grid-template-columns: 100%;
    }

    .white-blocks__item p {
        font-size: 18px;
    }
}

@media screen and (max-width: 605px) {
    .section-optimization__logos .section-optimization__logo {
        width: 50%;
    }
}

@media screen and (max-width: 576px){
    .right-block-content .content{
        margin-top: 30px;
    }
}

@media screen and (max-width: 465px) {
    .section-optimization__logos {
        flex-wrap: nowrap;
        overflow-x: scroll;
        margin: 0 15px;
    }

    .section-optimization__logos .section-optimization__logo {
        width: 100%;
        margin: 0 35px 0 0;
    }
}
