/* main */

.section {
    align-items: center;
}

h2 {
    text-align: center;
}

@media (max-width: 599px) {
    .content {
        display: flex;
        flex-direction: column;
    }

    .content p {
        margin-bottom: 20px;
        text-align: justify;
    }

    .content p:last-child {
        margin-bottom: 0px;
    }

    br {
        display: none;
    }
}

@media (min-width: 600px) {
    .content {
        display: grid;
        grid-template-columns: 175px auto;
        gap: 15px;
    }

    .content h3 {
        text-align: right;
    }
}

/* sticky box */

.stickybox {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 160px;
    height: 120px;
    background-color: #E27193;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px;
    border-radius: 10px 10px 10px 0;
}

.stickybox p {
    color: white;
    text-align: center;
}

.stickybox::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -35px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid #E27193;
    border-top: 20px solid transparent;
}

/* commission process */

#process svg {
    width: 100%;
    max-width: 800px;
    padding: 10px 0;
}

@media (max-width: 599px) {
    #process svg {
        display: none;
    }
}

/* price guide */
#price .container > div {
    display: none;
}

@media (max-width: 649px) {
    #price .container .list {
        display: grid;
        grid-template-columns: repeat(2, auto);
    }

    #price .list .spanrow {
        grid-column: span 2;
        padding-top: 20px;
        text-align: center;
    }

    #price .list .spanrow:first-child {
        padding-top: 0px;
    }
    
    #price .list .r {
        text-align: right;
        white-space: pre;
    }
}

@media (min-width: 650px) and (max-width: 899px) {
    #price .container .smalltable {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 1px;
    }

    #price .smalltable .spanrow {
        grid-column: span 3;
        border: none;
        padding-top: 20px;
    }

    #price .smalltable .spanrow:first-child {
        padding-top: 0px;
    }

    #price .smalltable div {
        text-align: center;
        padding: 5px 15px;
    }

    #price .smalltable div:not(.spanrow) {
        outline: 1px solid #C6C6C6;
    }
}

@media (min-width: 900px) {

    #price .container .table {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 1px;
    }

    #price .table div:nth-child(5n + 1), /* column 1-2 */
    #price .table div:nth-child(5n + 2) {
        text-align: right;
        font-weight: bold;
        padding: 5px 10px 5px 15px;
    }

    #price .table div:nth-child(5n + 3), /* column 3-5 */
    #price .table div:nth-child(5n + 4),
    #price .table div:nth-child(5n + 5) {
        text-align: center;
        padding: 5px 15px;
    }

    #price .table div:nth-child(-n + 5) {
        font-weight: bold;
    }

    #price .table div {
        outline: 1px solid #C6C6C6;
    }
}

#price .disclaimer {
    text-align: center;
    color: #C6C6C6;
    font-size: 20px;
    margin-top: 5px;
}
