.agency-header-title {
    font-size: 40px;
    text-align: center;
    max-width: 600px;
    font-weight: 500;
}

.agency-header-title-big {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    max-width: 80vw;
    color: #444;
}

.agency-header-description {
    font-size: 16px;
    max-width: 425px;
    text-align: center;
    margin-right: auto;
    margin-top: 20px;
    line-height: 1.5;
    margin-left: auto;
}

.agency-text-area {
    position: relative;
    margin: auto;
    min-width: 400px;
    margin-top: 140px;
    letter-spacing: 0.05em;
    height: 120px;
    color: white;
    line-height: 1.2;
}

.agency-section-full {
    padding-top: 16px;
    text-align: left;
}

.agency-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content !important;
    height: min-content !important;
    align-items: center;
    background-size: 800px auto;
    letter-spacing: 0.02em;
    font-weight: 500;
    font: 400 14px/22px Roboto,sans-serif;
    font-family: Roboto, sans-serif;
    background: url(static/agency/figures.svg);
    background-size: auto 300px;
    background-repeat: repeat-x;
    background-position: top;
}

.agency-block {
    position: relative;
    display: flex;
    flex-direction: row;
    height: 470px;
    width: 100%;
    max-width: 1280px;
    min-width: 320px;
    padding: 24px;
    padding-left: 64px;
    padding-right: 64px;
}

.agency-hex-1, .agency-hex-2, .agency-hex-3, .agency-hex-4 {
    position: absolute;
    display: flex;
    align-items: center;
    width: 17vw;
    height: 17vw;
    cursor: pointer;
    border-radius: 100%;
    z-index: 6;
}

.picture-hex-1, .picture-hex-2, .picture-hex-3, .picture-hex-4
{
    position: absolute;
    display: flex;
    align-items: center;
    width: calc(19.4vw + 2px);
    margin-left: -1.2vw;
    height: calc(17vw + 2px);
    z-index: -33;
}

.hex-inactive, .hex-active {
    position: absolute;
    z-index: 5;
    background-size: cover;
    background-repeat: no-repeat;
}

.hex-inactive {
    background-image: url(static/agency/hex.svg) !important;
    background-size: cover;
}

.hex-active {
    background-image: url(static/agency/hex-active.svg) !important;
    background-size: cover;
}

.agency-hex-1 p, .agency-hex-2 p, .agency-hex-3 p, .agency-hex-4 p {
    padding: 10px 15px 0 15px;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 1.5;
    text-align: center;
    font-size: calc(1.3vw - 1.5px);
    font-weight: 500;
    color: white;
    letter-spacing: 0.03em;
    vertical-align: center;
    text-align: center;
}

.zorka-agency, .mgid-agency, .adcombo-agency {
    background-size: 32px 32px;
    background-position: left center;
    min-height: 40px;
    padding-left: 48px;
}

.zorka-agency {
    background: url(static/admitad_dark.png) no-repeat;
    background-size: 162px;
    background-position: 0px -86px;
}

.adcombo-agency {
    background: url(static/adcombo-swap.png) no-repeat;
    background-size: 206px;
    background-position: 0px -86px;
}

.mgid-agency {
    background: url(static/mgid-swap.png) no-repeat;
    background-size: 181px;
    padding-left: 86px;
    background-position: -100px -86px;
}

.hex-blue-font p {
    color: #7786e5 !important;
}

.agency-hex-1, .picture-hex-1 {
    left: 1.5vw;
    top: 14.0vw;
}

.picture-hex-1 {
    transform: rotate(103deg);
}

.agency-hex-2, .picture-hex-2 {
    left: 19.5vw;
    top: 20.5vw;
}

.picture-hex-2 {
    transform: rotate(52deg);
}

.agency-hex-3, .picture-hex-3 {
    left: 34.0vw;
    top: 8vw;
}

.agency-hex-4, .picture-hex-4 {
    left: 16.5vw;
    top: 0.5vw;
}

.agency-benefits {
    height: 540px !important;
    margin-left: 32px;
    width: 100%;
}

.agency-features {
    height: fit-content;
    height: min-content;
    padding-bottom: 0px;
}

.svg-abs-block {
    position: absolute;
    width: calc(100%);
    height: calc(100%);
    top: 0px;
    left: 0px;
}

.svg-abs-block.bl-0 svg {
    position: absolute;
    bottom: 0px;
    display: block;
    width: auto;
    left: 37px;
    height: 431px;
}

.svg-abs-block.bl-1 svg {
    position: absolute;
    bottom: 0px;
    display: block;
    width: auto;
    height: 462px;
}

.svg-abs-block.bl-2 svg {
    position: absolute;
    bottom: 0px;
    display: block;
    width: auto;
    height: 420px;
}

.agency-title {
    display: block;
    position: absolute;
    z-index: 17;
    background: white;
    font-size: 24px;
    font-weight: bold;
    top: -12px;
    left: 0px;
    width: fit-content;
    width: min-content;
    max-width: 15em;
    line-height: 1.5;
    min-height: 2em
}

.agency-title2, .agency-title3 {
    display: block;
    font-weight: normal;
    font-size: 40px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    font-weight: 500;
}

.agency-title2 {
    text-align: left;
    position: relative;
    color: #0273d4;
}

.agency-2x3-flex {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 50px;
}

.agency-2x3-flex .benefit-title {
    display: block;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.agency-2x3-flex .benefit-text {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.agency-2x3-block {
    display: flex;
    position: relative;
    flex-direction: row;
    width: 38%;
    height: fit-content;
    height: min-content;
    min-height: 150px;
    margin-left: 9%;
    margin-right: 4%;
}

.agency-title3 {
    position: absolute;
    color: #3ab54a;
    top: 22px;
    left: 74px;
}

.agency-container .content-block {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.agency-container .content-cell-3x {
    width: 28.0%;
    margin-left: 1%;
    background-color: white;
    margin-left: 1%;
    border-radius: 16px;
    padding: 20px;
    border: 0px solid #bbbbbb;
    display: block;
    flex-direction: column;
    vertical-align: top;
}

.agency-subtitle2 {
    display: block;
    position: relative;
    font-size: 20px;
    color: #cc0001;
    line-height: 1.5;
    margin-bottom: 16px;
}

.agency-line-1, .agency-line-2, .agency-line-3, .agency-line-4 {
    position: absolute;
    right: 45px;
}

.agency-button-under {
    display: block;
    position: absolute;
    min-width: 150px;
    height: auto;
    font-size: 12px;
}

.agency-flex-h
{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}

.agency-left {
    margin-top: 40px;
    display: flex;
    position: relative;
    height: 100%;
    width: 50%;
    flex-direction: column;
}

.agency-img {
    position: absolute;
    width: 100%;
    max-width: 1064px;
    right: 2%;
    top: calc(-0.5vw + 0px);
}

.agency-right {
    margin-top: 40px;
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    margin-left: 12px;
    font-size: 18px;
}

.agency-line-1,
.agency-line-2,
.agency-line-3,
.agency-line-4 {
    display: block;
    position:absolute;
    width: 100%;
    height: 50%;
}

.agency-line-1 {
    top: 0px;
}

.agency-line-2 {
    top: 22%;
}

.agency-line-3 {
    top: 44%;
}

.agency-line-4 {
    top: 50%;
}

.agency-feature-text {
    display: block;
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.6;
    color: #333;
    left: 20px;
    top: 10px;
    width: 370px;
    text-align: left;
}

.agency-line-4 .agency-feature-text {
    top: 80px;
}

.text-red{
    font-size: 18px;
    line-height: 1.5;
    font-weight: 300;
    text-align: left;
    letter-spacing: 0.05em;
    color: #cc0000
}

.img-benefit-1, .img-benefit-2, .img-benefit-3, .img-benefit-4, .img-benefit-5, .img-benefit-6 {
    background-size: cover;
    position: absolute;
    left: -92px;
    width: 77px;
    height: 77px;
    margin-top: 8px;
    margin-bottom: auto;
}

.benefit-desc {
    display: flex;
    flex-direction: column;
}

.img-benefit-1 {
    background-image: url(static/01.png);
}
.img-benefit-2{
    background-image: url(static/02.png);
}
.img-benefit-3{
    background-image: url(static/03.png);
}
.img-benefit-4{
    background-image: url(static/04.png);
}
.img-benefit-5{
    background-image: url(static/05.png);
}
.img-benefit-6{
    background-image: url(static/06.png);
}

.feature-pic-small-1, .feature-pic-small-2, .feature-pic-small-3, .feature-pic-small-4
{
    position: absolute;
    display: block;
    width: 80px;
    left: 401px;
    top: -6px;
    height: 80px;
    background-position: top center;
    background-size: 80px 80px;
}

.agency-pic-1, .agency-pic-2, .agency-pic-3, .agency-pic-4
{
    background-size: 100%;
    background-repeat: no-repeat;
    display: block;
    max-width: 280px;
    max-height: 280px;
    width: 19vw;
    height: 19vw;
    margin: 25px;
}
.feature-pic-small-4, .agency-pic-4
{
    background-image: url(static/track.png);
}
.feature-pic-small-2, .agency-pic-2
{
    background-image: url(static/optimize.png);
}
.feature-pic-small-3, .agency-pic-3
{
    background-image: url(static/analyze.png);
    top: -6px;
}
.feature-pic-small-1, .agency-pic-1
{
    background-image: url(static/scale.png);
    top: 64px;
}

.agency-features .agency-right
{
    width: 62vw;
    margin-top: 34px;
}

.agency-features .agency-left
{
    width: 38vw;
    align-items: center;
}

.agency-title
{
    position: absolute;
    color: #7786e5;
    display: block;
    font-weight: normal;
    font-size: 40px;
    letter-spacing: 0.02em;
    line-height: 1.5;
    top: -2px;
    font-weight: 500;
    left: 28px;
}

.agency-use-cases
{
    flex-direction: column;
    font-size: 16px;
    padding-right: 300px;
    margin-right: -285px;
    letter-spacing: 0.05em;
    height: 600px;
    padding-top: 0px !important;
    padding-bottom: 0px;
}

.agency-section-line-2 .agency-flex-left, agency-section-line-2 .agency-flex-right
{
    width: 50% !important;
    max-width: none !important;
}

.agency-title-line
{
    display: flex;
    flex-direction: row;
    height: fit-content;
    height: min-content;
    width: 100vw;
    margin-left: -10000px;
    margin-right: -10000px;
    padding-left: 10000px;
    padding-right: 10000px;
    background: rgb(232,238,244);
    padding: 16px 0px;
    font-weight: 500;
    font-size: 24px;
    align-items: center;
    text-align: center;
    line-height: 1.5;
}

.agency-title-block.font-blue
{
    margin-left: 124px;
}

.agency-title-block
{
    height: calc(100% - 4px);
    width: 50vw;
    max-width: 640px;
}

.agency-title-block:nth-child(1)
{
    padding-left: 140px;
}

.agency-title-block:nth-child(2)
{
    padding-right: 100px;
}

.agency-case-line
{
    display: flex;
    flex-direction: row;
    border-bottom: #ddd solid 1px;
    height: 25%;
    width: calc(100% + -28px);
    background: rgb(232,238,244);
    background: linear-gradient(90deg, rgb(232,238,244) 0%, rgb(232,238,244) 50%, rgb(255,255,255) 100%);
}


.agency-footer, .agency-footer-2
{
    display: flex;
    position: relative;
}

.agency-footer
{
    height: 300px;
    margin-left: -2000px;
    margin-right: -2000px;
    top: -60px;
}

.agency-footer-en
{
    height: 360px !important;
}

.agency-footer-2
{
    height: fit-content;
    height: min-content;
    margin-bottom: 32px;
}

.agency-footer-2 .agency-text-area
{
    margin-top: 0px;
}

.agency-footer:nth-child(1)
{
    background-image: url(static/agency/agency-header.svg);
    background-size: auto 399px;
    background-repeat-x: repeat;
}

.agency-middle
{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.w-peerclick
{
    position: relative;
    display: flex;
    background: white;
    z-index: 17;
    width: 53%;
    height: 100%;
}

.w-peerclick-arrow
{
    position: absolute;
    display: flex;
    width: 102.5%;
    height: 100%;
    background-image: url(static/agency/bottom_white.svg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 9999999;
    background-position-y: center;
}


.agency-hexes-container
{
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 52.5vw;
    height: 40vw;
    max-height: 560px;
    max-width: 770px;
}

.agency-button
{
    width: fit-content;
    width: min-content;
    line-height: 48px;
    font: 500 14px/24px Roboto,sans-serif !important;
    height: 48px;
    padding-left: 16px;
    padding-right: 16px;
    align-self: center;
    letter-spacing: 0.05em;
}


.svg-abs-benefits-btn
{
    position: absolute;
    bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    left: calc(50% - 112px);
    align-items: center;
    width: 100%;
    z-index: 8888;
    height: fit-content;
    height: min-content;
}

.big-agency-area
{
    height: fit-content !important;
    height: min-content !important;
}

.agency-section-full-2
{
    display: flex;
    padding-top: 16px;
    text-align: left;
    width: 100%;
    max-width: 1280px;
    flex-direction: row;
}

.agency-join-subtitle
{
    display: block;
    position: relative;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: 0.03em !important;
    text-align: left;
}

.agency-section-full .agency-header-title
{
    text-align: left;
    margin-left: 32px !important;
    margin-right: auto !important;
    max-width: none !important;
}

.agency-section-line-2
{
    padding: 64px 0;
    width: 100%;
    height: fit-content;
    height: min-content;
    display: flex;
}

.agency-flex-left-2
{
    width: 60% !important;
    margin-right: 16px !important;
}

.agency-flex-right-2
{
    width: 40% !important
}

.agency-flex-left h1
{
    padding-bottom: 48px;
    font-size: 32px;
    color: #333;
    font-weight: 500;
    line-height: 1.2;
}

.agency-flex-left, .agency-flex-right
{
    display: flex;
    width: 50%;
    margin-right: 96px;
    flex-direction: column;
}

.agency-hint, .agency-link
{
    width: 100%;
    font-size: 14px;
    line-height: 1.5em;
}

.agency-link{
    text-transform: none !important;
}

.agency-hints-links
{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    margin-left: 32px;
    justify-content: space-evenly;
}

.m-l-0
{
    margin-left: 0px !important;
}

.border-dot-right
{
    border-right: #d7d7d7 dotted 2px;
}

.agency-flex-left
{
    max-width: 415px;
    width: 33% !important;
    margin-left: 32px;
}

.agency-flex-left h3
{
    font-size: 16px;
    line-height: 3.5;
    padding-right: 80px;
    font-weight: 500;
}

.agency-flex-left p
{
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 16px;
    padding-right: 80px;
    font-weight: 300;
}

.agency-button-flex-container
{
    display: flex;
    width: fit-content;
    width: min-content;
    height: fit-content;
    height: min-content;
    margin-bottom: 32px;
    margin-left: auto;
    margin-right: auto;
}

.big-awful-button
{
    width: 100%;
    height: 100%;
    margin-bottom: 32px;
}

.awful-starter-for-free
{
    margin: auto;
    font-size: 40px;
}

.agency-section-full-3
{
    background: #0273d4;
    color: white;
    height: fit-content;
    height: min-content;
    padding-top: 32px;
    padding-bottom: 32px;
}

.agency-section-full-3 h1
{
    font-size: 40px;
    line-height: 1.5;
    font-weight: 500;
}

.big-awful-button .agency-button
{
    width: 100%;
    max-width: 100%;
    margin: 0px !important;
    height: 100%;
}

.agency-middle .agency-left
{
    max-width: 415px;
}

.agency-middle .agency-right
{
    margin-top: 24px !important;
}

.agency-section-full-2 .agency-button-flex-container
{
    margin-left: none !important;
    margin-right: none !important;
}

.agency-middle
{
    height: 34.6vw;
    min-height: 200px;
}

.abs-hex
{
    position: absolute;
    background: url(static/agency/hex.svg);
    width: 240px;
    height: 240px;
    background-size: 240px 240px;
    z-index: 9999
}

.abs-hex-1{
    bottom: -22px;
    right: 115px;
}

.abs-hex-2{
    top: 34px;
    left: -175px;
}

.abs-hex-3{
    bottom: 150px;
    right: 9790px;
    transform: rotate(48deg);
}


@media handheld and (max-width: 600px), screen and (max-width: 600px)
{
    .agency-header-description-en
    {
        font-size: 2.8vw;
    }
}

@media handheld and (max-width: 750px), screen and (max-width: 750px)
{
    .abs-hex-3 {
        display: none !important;
    }

    .agency-middle {
        margin-left: 32px !important;
        height: 80.0vw;
        flex-direction: column;
    }

    .agency-title2 {
        font-size: 4.5vw !important;
        text-align: center;
    }

    .agency-subtitle2 {
        font-size: 3vw !important;
        text-align: center;
    }

    .agency-middle .agency-left {
        margin-left: auto;
        margin-right: auto;
        width: 80vw;
        max-width: 580px;
    }

    .agency-img{
        width: calc(106% - 15px);
        top: calc(-13vw + 15px);
    }
}

@media handheld and (max-width: 800px), screen and (max-width: 800px)
{
    .agency-header-description
    {
        max-width: 90vw;
    }

    .scalable-h1{
        font-size: 4.5vw !important;
    }

    .agency-section-line-2
    {
        transform: scale(0.75);
    }

    .agency-section-line-2 .agency-flex-left
    {
        min-width: 196px !important;
        margin-left: 0px !important
    }

    .agency-section-line-2 .agency-flex-right
    {
        display: flex !important;
    }

    .agency-hex-1, .agency-hex-2, .agency-hex-3, .agency-hex-4
    {
        width: 25vw;
        height: 25vw;
    }

    .picture-hex-1, .picture-hex-2, .picture-hex-3, .picture-hex-4
    {
        width: 29.3vw;
        margin-left: -2.0vw;
        height: 25.8vw;
    }

    .agency-hex-1 p, .agency-hex-2 p, .agency-hex-3 p, .agency-hex-4 p
    {
        font-size: calc(1.95vw - 1px) !important;
        padding: 20px 10px 0px 10px;
    }

    .agency-hex-1, .picture-hex-1 {
        left: 4vw;
        top: 25vw;
    }

    .agency-hex-2, .picture-hex-2 {
        left: 34.5vw;
        top: 36.5vw;
    }

    .agency-hex-3, .picture-hex-3 {
        left: 60vw;
        top: 16vw;
    }

    .agency-hex-4, .picture-hex-4 {
        left: 29.5vw;
        top: 2.5vw;
    }

    .agency-flex-right {
        display: none;
    }

    .agency-pic-1, .agency-pic-2, .agency-pic-3, .agency-pic-4
    {
        width: 50vw;
        height: 50vw;
        max-width: 200px !important;
        max-height: 200px !important;
    }

    .agency-features, agency-middle
    {
        width: 100% !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .agency-right:not(.agency-not-800), .agency-left:not(.agency-not-800)
    {
        height: fit-content !important;
        height: min-content !important;
        width: 100% !important;
    }

    .agency-header-title-big
    {
        font-size: 6vw;
    }

    .agency-header-title-big
    {
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
    }

    .agency-features
    {
        flex-direction: column;
        height: fit-content !important;
        height: min-content !important;
    }

    .agency-hexes-container
    {
        width: 90vw;
        height: 68.57vw;
        min-height: none !important;
        min-width: none !important;
        max-height: none !important;
        max-width: none !important;
    }
}

@media handheld and (max-width: 900px), screen and (max-width: 900px)
{
    .agency-flex-left {
        width: 100% !important;
        margin-right: 16px;
        max-width: 800px !important;
    }

    .agency-title-block:nth-child(1) {
        padding-left: 90px;
    }

    .agency-title-block:nth-child(2) {
        padding-right: 55px;
    }

    .agency-title-block.font-blue {
        margin-left: 32px;
    }

    .agency-title-block
    {
        font-size: 3vw;
    }

    .agency-container .content-block {
        flex-direction: column;
    }

    .agency-container .content-cell-3x {
        width: calc(100% - 64px);
        background-color: white;
        border-radius: 16px;
        padding: 16px;
        margin: 8px;
        border: 0px solid #bbbbbb;
        display: block;
        flex-direction: column;
        vertical-align: top;
    }

    .agency-section-full .agency-header-title {
        font-size: 4vw
    }

    .agency-benefits {
        height: fit-content !important;
        height: min-content !important;
        padding-bottom: 64px !important;
    }

    .agency-2x3-block {
        width: calc(90% - 100px);
        margin-left: 100px !important;
        min-height: fit-content;
        min-height: min-content;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .benefit-desc {
        text-align: left;
    }

    .agency-benefits {
        padding-left: 64px !important;
        padding-right: 64px !important;
    }
}

@media handheld and (max-width: 1100px), screen and (max-width: 1100px)
{
    .agency-title2{
        font-size: 3vw;
    }

    .agency-subtitle2{
        font-size: 2vw;
    }
}

@media handheld and (min-width: 1350px), screen and (min-width: 1350px)
{
    .agency-middle
    {
        height: 470px !important;
    }

    .agency-img
    {
        top: -15px !important;
    }
}

@media handheld and (min-width: 1480px), screen and (min-width: 1480px)
{
    .picture-hex-1, .picture-hex-2, .picture-hex-3, picture-hex-4
    {
        width: 260px;
        height: 260px;
    }

    .picture-hex-1
    {
        top: 214px;
        left: 36px;
    }
    .picture-hex-2
    {
        top: 292px;
        left: 292px;
    }
    .picture-hex-3
    {
        left: 509px;
        top: 111px;
    }

    .hex-active, .hex-inactive
    {
        background-size: 260px 260px !important;
    }

    .picture-hex-4
    {
        left: 248px;
        top: -10px;
        background-size: 271px 271px !important;
    }

    .agency-hex-1, .agency-hex-2, .agency-hex-3, .agency-hex-4
    {
        width: 260px;
        height: 260px;
    }

    .agency-hex-1 p, .agency-hex-2 p, .agency-hex-3 p, .agency-hex-4 p
    {
        font-size: 16px !important;
        padding: 0 35px;
    }

    .agency-hex-1 {
        left: 18px;
        top: 220px;
    }

    .agency-hex-2 {
        left: 275px;
        top: 300px;
    }

    .agency-hex-3 {
        left: 492px;
        top: 116px;
    }

    .agency-hex-4 {
        left: 236px;
        top: 5px;
    }
}