﻿#thanks-wrapper .main-content { min-height: 500px; margin: 100px 0 0 0; }

@media(max-width: 767px) {
    #thanks-wrapper .main-content {
        /*min-height: calc(100vh - 333px);*/
    }

    #thanks-wrapper #dbr #main-header {
        height: 280px;
    }

    #thanks-wrapper #header-space {
        height: 280px;
    }
}

#thanks-wrapper {
    overflow: hidden;
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}


/* thanks part */
    #thanks-wrapper #main-header {
        height: 240px;
        background: #F5F5F5 0% 0% no-repeat padding-box;
        width: 100%;
        position: absolute;
        left: 0px;
    }

#thanks-wrapper #other #main-header {
    background-color: unset;
}

#thanks-wrapper #header-space {
    height: 240px;
}

#thanks-wrapper #main-header h1,
#thanks-wrapper #main-header p,
#thanks-wrapper #main-title {
    margin: auto;
    text-align: center;
    color: #606060;
}

#thanks-wrapper #main-title {
    padding-top: 61px;
    padding-bottom: 70px;
}

#thanks-wrapper #main-header h1 {
    padding-top: 66px;
}

#thanks-wrapper #main-header p {
    margin-top: 12px;
}

#thanks-wrapper #detail {
    margin-bottom: 106px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

#thanks-wrapper #left-wrapper {
    margin-right: 75px;
    width: 440px;
    display: inline-block;
    text-align: left;
}

#thanks-wrapper h1 {
    font-weight: 400;
    font-size: 4rem;
    color: #606060 !important;
}

#thanks-wrapper #left-wrapper h4 {
    font-weight: normal;
    font-size: 2.5rem;
}

#thanks-wrapper #upper-block {
    padding-bottom: 68px;
}

#thanks-wrapper .block {
    width: 100%;
}

    #thanks-wrapper .block a,
    #thanks-wrapper #retry, #thanks-wrapper #retryOther {
        color: #50A8E1;
    }

#thanks-wrapper .block p {
    color: #606060;
    font-size:2rem;
}

#thanks-wrapper div#img-wrapper {
    display: inline-block;
    width: 45%;
    background-color: #F5F5F5;
    vertical-align: top;
    position: relative;
    padding-bottom: 27%;
}

#thanks-wrapper #img-wrapper img {
    width: 70%;
    /* height: 80%; */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
}
/* end thanks part */


#thanks-wrapper #other #main-header {
    /*min-height: calc(100vh - 387px);*/
    display: table-cell;
    vertical-align: middle;
}

@media(max-width: 767px) {
    #thanks-wrapper #other #main-header {
        /*min-height: calc(100vh - 333px);*/
    }

    #thanks-wrapper #other #content-wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }

    #thanks-wrapper #left-wrapper {
        width: auto !important;
        margin-right: 0px;
    }
}

#thanks-wrapper #other #content-wrapper {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

