﻿.Page {
    max-width: 63.5em;
    margin: 0 auto;
}
p b {
    font-weight: bold !important;
}
h1 {
    font-size: 250%;
    text-align: center;
}
h2 {
    font-size: 110%;
    text-align: center;
    margin: 5px 0 5px 0;
    line-height: 29px;
    color: #000000;
    font-family: "Rubik";
    font-weight: 500;
    text-align: center;
}
textarea {
    max-width: 100%;
    resize: vertical;
}
.HorizontalLine {
    border-top: 1px solid #acacac;
    width: 90%;
    margin: 10px auto;
}
.VerticalLine {
    border-left: 1px solid #acacac;
    width: 1px;
}

#Header p {
    font-size: 14px;
    line-height: 29px;
    font-family: 'Rubik';
}
.ArrowButton {
    margin-top: 3em;
    align-items: center;
}
    .ArrowButton img {
        width: 49px;
        cursor: pointer;
    }
    .ArrowButton > div:after {
        content: "";
        position: absolute;
        width: 1928px;
        height: 1080px;
        background-repeat: no-repeat;
        background-size: cover;
        background-image: url(../Images/BackgroundWood.png);
        left: -936px;
        top: -3.3em;
        z-index: -1;
    }


#ContractFormArea {
    margin-top: 3em;
    box-shadow: 0px 5px 21px rgba(0,0,0,0.16);
}
#ContractFormHeader {
        height: 1em;
        overflow: hidden;
    }
    #ContractFormHeader div {
        height: 100%;
        background-image: repeating-linear-gradient(45deg, #00bdd7, #00bdd7 30px, white 30px, white 60px);
    }
#ContractFormContent{
    background-color: white;
}
    #ContractFormContent > form > .mobile > div:first-child {
        border-top: 1px solid #acacac;
    }

.FormHeader {
    font-size: 14px;
    line-height: 18px;
    color: #666666;
    font-family: "Montserrat";
    font-weight: 400;
    margin: 10px 20px 10px 20px;
}
.FormTextbox {
    color: #020202;
    font-size: 14px;
    border: 0 none;
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
    padding: 8px 5px;
    transition: box-shadow 0.2s ease-in-out 0s;
    overflow: visible;
}
    .FormTextbox:focus {
        box-shadow: 0 0 3px 1px #5cb3fd;
        outline: 0 none;
    }

#TryButton {
    margin: 25px auto 25px auto;
}
    #TryButton > button {
        padding: 13px 25px 13px 25px;
        border: none;
        font-size: 16px;
        background-color: #00bdd7;
        color: white;
        cursor: pointer;
        border-radius: 25px;
        width: -moz-max-content;
        width: max-content;
    }

#ContactsPanelArea{
    z-index: 2;
}
    #ContactsPanelArea > div {
        margin-left: 2em;
        margin-top: 3em;
    }
    #ContactsPanelArea span {
        font-size: 11px;
        letter-spacing: 1px;
        line-height: 26px;
        color: #999999;
        font-family: "Montserrat";
        font-weight: 600;
    }
    #ContactsPanelArea h3 {
        font-size: 18px;
        color: #000000;
        font-family: "Rubik";
        font-weight: 700;
    }
    #ContactsPanelArea p {
        font-size: 16px;
        line-height: 24px;
        color: #000000;
        font-family: "Montserrat";
        font-weight: 300;
    }

#ContactsMap {
    width: 300vw;
    margin-left: calc(50% - 150vw);
    margin-top: 3em;
    padding-bottom: 5em;
}

@media only screen and (min-width: 480px) {
    #ContactsMap {
        width: 200vw;
        margin-left: calc(50% - 100vw);
        margin-top: 3em;
        padding-bottom: 1em;
    }
}

@media only screen and (min-width: 600px) {
    #ContactsMap {
        width: 140vw;
        margin-left: calc(50% - 70vw);
        margin-top: 3em;
        padding-bottom: 0em;
    }

    h1 {
        font-size: 300%;
    }

    h2 {
        font-size: 150%;
    }
}

@media only screen and (min-width: 1024px) {
    #ContractFormHeader {
        height: 2em;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }
        #ContractFormHeader div {
            height: 100%;
            background-image: repeating-linear-gradient(45deg, white, white 30px, #00bdd7 30px, #00bdd7 60px);
            margin-left: -30px;
        }

    .HorizontalLine {
        border-top: 1px solid #acacac;
        margin: -1px auto;
        width: 94%;
    }

    .FormHeader{
        margin: 0;
    }

    .FormTextbox {
        margin: 10px 0 0 0;
        width: calc(100% - 10px);
    }

    textarea.FormTextbox {
        resize: none;
        height: 110px;
    }

    #TryButton {
        margin: 3em auto 3em auto;
    }
        #TryButton > button {
            box-shadow: 2.572px -1.545px 18px rgba(0, 0, 0, 0.2);
            font-weight: bold;
        }

    #ContactsPanelArea {
        flex-direction: row;
        margin-bottom: 2em;
    }
        #ContactsPanelArea > div {
            margin-right: 2em;

        }

    #ContractFormArea {
        z-index:3;
    }

        #ContractFormArea:after {
            content: "";
            position: absolute;
            width: 320px;
            height: 320px;
            max-width: 741px;
            background-image: url('../Images/Flower.png');
            background-repeat: no-repeat;
            background-size: contain;
            left: 55em;
            top: 43em;
            cursor: default;
        }
    #TryButton:before {
        content: "";
        position: absolute;
        width: 128px;
        height: 128px;
        max-width: 741px;
        background-image: url('../Images/PaperClip.png');
        background-repeat: no-repeat;
        background-size: contain;
        left: 26em;
        top: 10em;
        cursor: default;
    }

    #ContactsMap {
        width: 1710px;
        max-width: 1710px;
        display: flex;
        margin-left: calc(50% - 855px);
        padding-bottom: 5em;
    }

    .DiaryLogo:after {
        content: "";
        position: absolute;
        width: 38em;
        height: 91em;
        max-width: 741px;
        background-image: url('../Images/ArrowContact1.svg');
        background-repeat: no-repeat;
        background-size: contain;
        left: -6em;
        margin-left: 0;
        transform: rotate(-1.5deg);
        top: 4.2em;
        z-index: 1;
        pointer-events: none;
    }

    #TryButton:after {
        content: "";
        position: absolute;
        width: 325px;
        height: 325px;
        max-width: 741px;
        background-image: url('../Images/PencilHome1.png');
        background-repeat: no-repeat;
        background-size: contain;
        left: -8.1em;
        top: 29.6em;
        transform: rotate(-80deg);
        cursor: default;
    }
}
