﻿.head-policy {
    margin-bottom: 5%;
    font-weight: bold;
    color: #00A053;
    font-size: 2.8rem;
}
#policy-data-admin > .head-policy {
    margin-top: 5%;
    margin-bottom: 5%;
    font-weight: bold;
    color: #00A053;
    font-size: 3.8rem;
}
#policy-data-lifestyle > .head-policy {
    margin-top: 5%;
    margin-bottom: 5%;
    font-weight: bold;
    color: #00A053;
    font-size: 1.8rem;
    font-family: "Noto Sans Thai",sans-serif;
}
.head-description {
    color: #000;
    font-size: 1.6rem;
    margin-bottom: 5%;
}
#policy-data-admin > .head-description {
    color: #000;
    font-size: 2.0rem;
}
#policy-data-lifestyle > .head-description {
    color: #000;
    font-size: 1.1rem;
}
.title-policy {
    color: #00A053;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5%;
    margin-top: 5%;
}
#policy-data-admin > .title-policy {
    color: #00A053;
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 5%;
    margin-top: 5%;
}
#policy-data-lifestyle > .title-policy {
    color: #00A053;
    font-size: 1.7rem;
    font-weight: bold;
    font-family: "Noto Sans Thai",sans-serif;
    margin-bottom: 5%;
}
.description {
    color: #9e9e9e;
    font-size: 1.6rem;
}
#policy-data-admin > .description {
    color: #9e9e9e;
    font-size: 2.0rem;
    margin-bottom: 5%;
}
#top-page {
    margin-top: 5%;
}
#top-page-page {
    margin-bottom: 5%;
    margin-top: 5%;
}
.top-content {
    color: #000;
    font-size: 1.3rem;
}
#top-page-admin > .top-content {
    color: #000;
    font-size: 1.8rem;
}
#top-page-lifestyle > .top-content {
    color: #000;
    font-size: 0.9rem;
}
#policy-area {
    width: 350px;
    margin-left: auto;
    margin-right: auto;
}
#chk_policy {
    height: 25px;
    width: 25px;
    position: relative;
    left: -10px;
    top: 8px;
    opacity: 5;
}
#chk_policy_lifestyle {
    height: 25px;
    width: 25px;
    position: relative;
    left: -10px;
    top: 8px;
    opacity: 5;
}
#chk_policy_page {
    height: 25px;
    width: 25px;
    position: relative;
    left: -10px;
    top: 8px;
    opacity: 5;
}
#chk_policy_admin {
    height: 20px;
    width: 20px;
    position: relative;
    left: -10px;
    top: 8px;
    opacity: 5;
}
#policy-window {
    position: fixed;
    bottom: 0px;
    background: #fff;
    height: 150px;
    width: 100%;
    padding: 2%;
    box-shadow: 0 1px 5px 0 #202;
}
#policy-window-modal {
    position: relative;
    bottom: 0px;
    background: #fff;
    
    width: 100%;
    padding-top: 2%;
    
}
#policy-button-area {
  
}
.modalPolicy {
    width: 40%;
    overflow: hidden;
}
#privacy-policy-area-modal {
    overflow-y: auto;
    overflow-x: unset;
    height: calc(60vh);
}
#privacy-policy-area-admin {
    overflow-y: auto;
    overflow-x: unset;
    height: calc(50vh);
}
.modalPolicy > .modal-content {
    min-height: calc(100vh);
    border-radius: 0;
    position: relative;
}

.modalPolicy > .policy-window-modal {
    border-radius: 0;
    bottom: 0px;
    position: absolute;
    width: 100%;
}
/* Scrollbar Styling */
#privacy-policy-area-modal::-webkit-scrollbar {
    width: 7px;
    cursor: pointer;
}
#privacy-policy-area-modal::-webkit-scrollbar-track:hover {
    background-color: #f4f4f4
}
#privacy-policy-area-modal::-webkit-scrollbar-track {
    background-color: #babac0;
    border-radius: 16px;
    border: 5px solid #fff
}

#privacy-policy-area-modal::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #6d6d6d;
}
/* Loading Styling */
.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-left:45%;
    margin-top:45%;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #6d6d6d;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) {
  
    #footer-area {
        padding-bottom: 20% !important;
    }
    .modalPolicy {
        width: 70%;
        overflow: hidden;
    }
    #privacy-policy-area-modal {
        height: calc(65vh) !important;
    }
    #privacy-policy-area-admin {
        height: calc(55vh) !important;
    }
}
@media only screen and (max-width: 450px) {
    

    #policy-window {
        padding-top: 5% !important;
    }

    #policy-area {
        width: 270px !important;
    }
    #policy-button-area {
        width: 100% !important;
    }
    #footer-area{
        padding-bottom:35% !important;
    }
    .modalPolicy {
        width: 100% !important;
        top: 0% !important;
        max-height: 100% !important;
    }
    .lds-roller {
        margin-top: 80% !important;
        margin-left: 40% !important;
    }
    #privacy-policy-area-modal {
        height: calc(75vh) !important;
    }
    #privacy-policy-area-admin {
        height: calc(75vh) !important;
    }
}

