.TerminalMacOsPage {
    font-family: Geometria, sans-serif;
    background-color: #ffffff;
}

.TerminalMacOsPage__inner {
    max-width: 1000px;
    margin: 20px auto 0;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.TerminalMacOsPage__circleBackground {
    pointer-events: none;
}

/* =========================
   Hero
========================= */

.TerminalMacOsPage__hero {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
}

.TerminalMacOsPage__heroTop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.TerminalMacOsPage__titleRow {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.TerminalMacOsPage__mainTitle {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    color: #413422;
    padding-top: 8px;
}

.TerminalMacOsPage__storeRow {
    display: flex;
    align-items: center;
    padding-top: 0;
}

.TerminalMacOsPage__storeButtonBox {
    margin-right: 30px;
    padding-bottom: 10px;
}

.TerminalMacOsPage__downloadLink {
    text-decoration: none;
}

.TerminalMacOsPage__storeText {
    padding-bottom: 10px;
    padding-right: 20px;
    font-weight: 400;
    font-size: 18px;
    color: #413422;
}

.TerminalMacOsPage__heroText {
    padding-top: 30px;
    padding-bottom: 20px;
    font-weight: 400;
    font-size: 18px;
    color: #413422;
    line-height: 27px;
}

/* =========================
   Monitor slider
========================= */

.TerminalMacOsPage__monitorSection {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    background-color: #ffffff;

    padding-right: 35px;
    padding-left: 35px;
    box-sizing: border-box;

    margin-top: 10px;
    margin-bottom: 40px;
    overflow: visible;
}

.TerminalMacOsPage__monitorFrame {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;

    aspect-ratio: 1100 / 622;
}

.TerminalMacOsPage__monitorScreen {
    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 6px;
    background-color: #000000;
}

.TerminalMacOsPage__monitorScreenImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   Slider dots
========================= */

.TerminalMacOsPage__monitorDots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 24px;
    margin-top: 12px;

    position: relative;
    z-index: 100;
    overflow: visible;
}

.TerminalMacOsPage__monitorDot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;

    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50%;

    display: block;
    flex: 0 0 auto;

    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    appearance: none;
}

.TerminalMacOsPage__monitorDot:hover {
    background-color: rgba(0, 0, 0, 0.45);
}

.TerminalMacOsPage__monitorDot:focus-visible {
    outline: 2px solid #0069d4;
    outline-offset: 3px;
}

.TerminalMacOsPage__monitorDot--active {
    background-color: rgba(0, 0, 0, 0.65);
    transform: scale(1.1);
    cursor: default;
}

/* =========================
   Feature sections
========================= */

.TerminalMacOsPage__featuresSectionOut {
    background-color: #f2f2ee;
}

.TerminalMacOsPage__featuresSection {
    position: relative;
    z-index: 2;
    display: grid;
    grid-column-gap: 40px;
    padding-top: 40px;
}

.TerminalMacOsPage__featuresSection--imageLeft {
    grid-template-columns: 600px auto;
    padding-left: 0;
}

.TerminalMacOsPage__featuresSection--imageRight {
    grid-template-columns: auto 600px;
    padding-right: 0;
    padding-left: 0;
}

.TerminalMacOsPage__featureImageBox {
    position: relative;
    overflow: hidden;
}

.TerminalMacOsPage__featureImage {
    width: 857px;
    max-width: none;
    height: auto;
    object-fit: contain;
    display: block;
}

/*
   Без position: absolute, чтобы RevealOnScroll не схлопывал высоту контейнера.
*/

.TerminalMacOsPage__featureImageBox--left .TerminalMacOsPage__featureImage {
    margin-left: auto;
    margin-right: -3px;
}

.TerminalMacOsPage__featureImageBox--right .TerminalMacOsPage__featureImage {
    margin-left: -3px;
}

.TerminalMacOsPage__featureTextBox {
    position: relative;
}

.TerminalMacOsPage__featureTextBox--left {
    padding-left: 15px;
}

.TerminalMacOsPage__sectionTitle {
    padding: 0 30px 0 15px;
    font-size: 24px;
    line-height: 28px;
    color: #413422;
    font-weight: 700;
}

.TerminalMacOsPage__list {
    padding: 0;
    margin: 0;
}

.TerminalMacOsPage__featureTextBox--left .TerminalMacOsPage__list {
    padding-left: 15px;
}

.TerminalMacOsPage__listItem {
    position: relative;
    line-height: 27px;
    color: #413422;
    font-size: 16px;
    list-style: none;
    margin-top: 25px;
    padding-left: 22px;
}

.TerminalMacOsPage__listItem::before {
    content: "";
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #ff9306;
    position: absolute;
    left: 0;
    top: 8px;
}

/* =========================
   Decorative background
========================= */

.TerminalMacOsPage__featuresSection--imageLeft::before {
    content: "";
    height: 100%;
    width: 500px;
    position: absolute;
    top: 0;
    left: -500px;
    z-index: 1;
    background-color: #edf1f1;
}

.TerminalMacOsPage__featureImageBox--left::before {
    content: "";
    height: 100%;
    width: 200px;
    position: absolute;
    top: 0;
    left: -205px;
    z-index: 10;
    background-color: #edf1f1;
}

/* =========================
   Responsive
========================= */

@media only screen and (max-width: 1050px) {
    .TerminalMacOsPage__inner {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 1000px) {
    .TerminalMacOsPage__monitorFrame {
        max-width: 100%;
    }
}

@media only screen and (max-width: 970px) {
    .TerminalMacOsPage__featuresSection--imageLeft {
        grid-template-columns: auto 300px;
    }

    .TerminalMacOsPage__featuresSection--imageRight {
        grid-template-columns: 300px auto;
    }
}

@media only screen and (max-width: 800px) {
    .TerminalMacOsPage__inner {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }
}

@media only screen and (max-width: 700px) {
    .TerminalMacOsPage__heroTop {
        justify-content: center;
    }

    .TerminalMacOsPage__titleRow {
        flex-direction: column;
        align-items: flex-start;
    }

    .TerminalMacOsPage__hero {
        padding-right: 10px;
        padding-left: 10px;
    }

    .TerminalMacOsPage__mainTitle {
        font-size: 28px;
        line-height: 34px;
    }
}

@media only screen and (max-width: 600px) {
    .TerminalMacOsPage__inner {
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }

    .TerminalMacOsPage__monitorSection {
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }

    .TerminalMacOsPage__sectionTitle {
        padding-top: 20px;
        padding-left: 0;
    }

    .TerminalMacOsPage__featuresSection {
        display: flex;
        flex-direction: column;
        padding-right: 0;
        padding-left: 0;
    }

    .TerminalMacOsPage__featuresSectionOut {
        background-color: #ffffff;
    }

    .TerminalMacOsPage__featureTextBox {
        padding-left: 20px;
        padding-right: 20px;
    }

    .TerminalMacOsPage__featureTextBox--left {
        order: 1;
        padding-left: 20px;
    }

    .TerminalMacOsPage__featureTextBox--right {
        order: 1;
    }

    .TerminalMacOsPage__featureImageBox--left {
        order: 2;
    }

    .TerminalMacOsPage__featureImageBox--right {
        order: 2;
    }

    .TerminalMacOsPage__featureImageBox {
        position: relative;
        overflow: hidden;
    }

    .TerminalMacOsPage__featureImageBox--left .TerminalMacOsPage__featureImage,
    .TerminalMacOsPage__featureImageBox--right .TerminalMacOsPage__featureImage {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .TerminalMacOsPage__featureTextBox--left .TerminalMacOsPage__list {
        padding-left: 0;
    }

    .TerminalMacOsPage__featuresSection--imageLeft::before,
    .TerminalMacOsPage__featureImageBox--left::before {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .TerminalMacOsPage__storeRow {
        flex-direction: column;
        align-items: center;
    }

    .TerminalMacOsPage__storeButtonBox {
        margin-right: 0;
    }

    .TerminalMacOsPage__storeText {
        padding-right: 0;
    }

    .TerminalMacOsPage__heroText {
        font-size: 16px;
        line-height: 24px;
    }

    .TerminalMacOsPage__mainTitle {
        font-size: 25px;
        line-height: 31px;
    }
}

@media only screen and (max-width: 400px) {
    .TerminalMacOsPage__monitorDot {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
}
.IfYouHaveQuestions{
    display: flex;
    align-items: center;
}

.IfYouHaveQuestionsText{
    padding-left: 10px;
    font-size: 16px;
    line-height: 15px;
    color: black;
}


.IfYouHaveQuestionsTextLink{

    cursor: pointer;
    font-weight: 800;
}

.IfYouHaveQuestionsTextLinkText{
    color: #218ed2;
    text-decoration: underline;
}

.IfYouHaveQuestionsActive{
    position: fixed;
    z-index: 1000;
    /*top: 220px;*/
    top: calc(50% - 280px );

    right: calc(50% - 571px );
    width: 412px;
    border: 1px solid #8d8d8d;
    background-color: #f6f6f6;
}

@media only screen and (max-width: 1025px) {
    .IfYouHaveQuestionsText{
        padding-right: 15px;
    }
}
@media only screen and (max-width: 1200px) {
    .IfYouHaveQuestionsActive{
        right: calc(50% - 546px );
    }
}
@media only screen and (max-width: 1157px) {
    .IfYouHaveQuestionsActive{
        right: 25px;
    }
}

.IfYouHaveQuestionsAllBlack{
    position: fixed;
    z-index: 900;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.6);
}

.IfYouHaveQuestionsActiveIn{
    padding: 43px 37px 37px 37px;
}

.IfYouHaveQuestionsTop{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.IfYouHaveQuestionsTopTitle{
    font-size: 24px;
    font-weight: 500;
    color: #075a89;
    padding-bottom: 20px;
    border-bottom: 3px solid #d8d8d8;
    text-align: center;
}

.TextPlaceHolder{
    font-size: 13px;
    font-weight: 700;
    color: black;
}

.PersonalPageInputText{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}
/*.PersonalPageInputText:nth-of-type(2){*/
/*    margin-top: 15px;*/
/*}*/

.PersonalPageInputError>label>.IfYouHaveQuestionsActiveInputText,.PersonalPageInputError>label>.PersonalPageInputText>.IfYouHaveQuestionsActiveTextareaText{
    color: #c93838;
}
.PersonalPageInputError>label>.PersonalPageInputErrorText::before,.PersonalPageInputError>label>.PersonalPageInputErrorText::before{
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fb7b7b;
    border-radius: 8px;
    content: "";
    left: -25px;
    top: -4px;
}
.PersonalPageInputError>label>.IfYouHaveQuestionsActiveInput,.PersonalPageInputError>label>.IfYouHaveQuestionsTextarea{
    border: 1px solid red;
}
.PersonalPageInputError>label>.PersonalPageInputErrorText,.PersonalPageInputError>label>.PersonalPageInputText>.PersonalPageInputErrorText{
    display: flex;
    margin-left: 28px;
    margin-top: 5px;
    position: relative;
}

.PersonalPageInputErrorText{
    align-items: center;
    color: #c53838;
    font-size: 11px;
    display: none;
}

.IfYouHaveQuestionsActiveInput{
    width: calc(100% - 15px);
    height: 24px;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 30px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-radius: 3px;
}

.IfYouHaveQuestionsTextarea{
    height: 165px;
    width: calc(100% - 15px);
    font-size: 20px;
    font-weight: 500;
    padding-top: 30px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-radius: 3px;
}

.TraderFeedbackSuccess{
    display: flex;
    margin-top: 21px;
    align-items: center;
}
.TraderFeedbackSuccessTitle{
    color: #3b3b3b;
    font-size: 24px;
    font-weight: 500;
    margin-left: 15px;
}

/*.TraderFeedbackSuccess>img{*/
/*    margin-top: 60px;*/
/*    margin-bottom: 32px;*/
/*}*/

.IfYouHaveQuestionsActiveIn>.StandartNotVisible{
    display: none;
}

.IfYouHaveQuestionsTopExit{
    cursor: pointer;
    height: 16px;
    font-size: initial;
    position: relative;
    color: #515456;
    text-decoration: underline;
}

.IfYouHaveQuestionsTopExit>img{
    margin-left: 10px;
    position: relative;
    top: 2px;
}

@media only screen and (max-width: 470px) {
    .IfYouHaveQuestionsActive{
        right: calc(50% - 210px);
    }
}
@media only screen and (max-width: 400px) {
    .IfYouHaveQuestionsActive{
        right: 0;
        /*width: calc(100% - 20px);*/
    }
    .IfYouHaveQuestionsActiveIn{
        width: auto;
    }
}

@media only screen and (max-width: 400px) {
    .IfYouHaveQuestionsActive{
        width: 100%;
    }
}
.IfYouHaveQuestionsButtonOut{
    border: none;
}

.IfYouHaveQuestionsBottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 34px;

}

.IfYouHaveQuestionsBottom>button{
    padding: 0;
}

.IfYouHaveQuestionsActiveInputText{
    color: #a0a4b7;
    font-size: 16px;
    position: relative;
    font-weight: 800;
    top: 38px;
    left: 15px;
}

.IfYouHaveQuestionsActiveTextareaText{
    color: #a0a4b7;
    font-size: 16px;
    position: absolute;
    font-weight: 800;
    top: 18px;
    left: 15px;
}
.RevealOnScroll{
    opacity: 0;
    transform: translate3d(0,0,0);
    transition: opacity 520ms ease, transform 520ms ease;
    will-change: opacity, transform;
}

.RevealOnScroll-left{ transform: translate3d(-22px, 0, 0); }
.RevealOnScroll-right{ transform: translate3d(22px, 0, 0); }
.RevealOnScroll-up{ transform: translate3d(0, -22px, 0); }
.RevealOnScroll-down{ transform: translate3d(0, 22px, 0); }

.RevealOnScroll.isVisible{
    opacity: 1;
    transform: translate3d(0,0,0);
}
