/*------------------------------------------
Project Name: Công Chứng Số 2 TP HCM - Tính phí công chứng
Teamplate: CtitSea - VueJS
Author: Thanh Nguyen
Create_at: 05/10/2021
--------------------------------------------*/

@font-face {
    font-family: 'RobotoCondensed-Regular';
    src: url('../fonts/RobotoCondensed-Regular.eot');
    src: local('☺'), url('../fonts/RobotoCondensed-Regular.woff') format('woff'), url('../fonts/RobotoCondensed-Regular.ttf') format('truetype'), url('../fonts/RobotoCondensed-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Light';
    src: url('../fonts/Roboto-Light.eot');
    src: local('☺'), url('../fonts/Roboto-Light.woff') format('woff'), url('../fonts/Roboto-Light.ttf') format('truetype'), url('../fonts/Roboto-Light.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'RobotoCondensed-Regular', sans-serif;
    margin: 0 auto;
}

.font-bold {
    font-family: 'RobotoCondensed-Regular', sans-serif;
    font-size: 1.25rem;
}

#app {
    height: 100vh;
    width: 100vw;
}

.calculator-wrap .header-area {
    padding-top: 3.5rem;
}

.calculator-wrap .header-area .logo-area img {
    max-width: 100%;
}

.calculator-wrap .body-area {
    font-size: 1.25rem;
    margin: 0 auto;
    padding: 2rem 3rem;
    width: 100%;
}

.calculator-wrap .body-area .header-title {
    color: rgba(64, 84, 178, 1);
    font-size: 1.8rem;
    margin: 2rem 0 3rem 0;
    text-transform: uppercase;
}

.body-area .col-form-label {
    text-align: right;
    font-size: 1.25rem;
}

.body-area .position-text {
    display: block;
    text-align: left;
}

.calculator-wrap .body-area .form-control, .calculator-wrap .body-area .btn {
    border-radius: .5rem;
    font-size: 1.25rem;
    height: auto;
    line-height: normal;
    padding: .5rem 1rem;
}

.calculator-wrap .body-area .form-control {
    cursor: pointer;
}

.calculator-wrap .body-area span {
    transition: all 5s ease;
}

.table-area {
    font-size: 1.2rem;
    margin-top: 2rem;
}

.table-area th {
    font-weight: 500;
}

.table-area th, .table-area td {
    vertical-align: middle !important;
}

.table-area tr td .btn-sm {
    color: #fff;
    cursor: pointer;
    font-size: unset;
    line-height: normal;
    border-radius: .2rem;
    padding: .35rem .5rem;
    margin: 0 .35rem;
}

.table-area tr td .btn-sm i {
    font-size: 1.2rem;
}
.survey-wrapper{
    background-color: #eff2f5;
    height: 100vh;
    padding-top: 3.5rem;
}
.survey-wrapper .header-area{ 
    margin-bottom: 2.5rem;
}
.survey-area{
    background-color: #fff;
    border-radius: max(0px, min(8px, calc((100vw - 4px - 100%) * 9999))) / 8px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    margin: 0 auto;
    max-width: 50%;
    padding: 20px;
    width: 100%;
}
.header-title{
    font-size: 1.6rem;
    margin-top: 1rem;
    text-align: center;
    text-transform: uppercase;
}
.check-box {
    display: block;
    margin: auto;
    margin-bottom: 10px;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}
.check-box span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}
.check-box span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #9098A9;
    transition: all 0.2s ease;
}
.check-box span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}
.check-box span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #506EEC;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}
.check-box span:last-child {
    padding-left: 8px;
}
.check-box:hover span:first-child {
    border-color: #506EEC;
}
.input-cbox:checked + .check-box span:first-child {
    background: #506EEC;
    border-color: #506EEC;
    animation: wave 0.4s ease;
}
.input-cbox:checked + .check-box span:first-child svg {
    stroke-dashoffset: 0;
}
.input-cbox:checked + .check-box span:first-child:before {
    transform: scale(3.5);
    opacity: 0;
    transition: all 0.6s ease;
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}

@media only screen and (max-width: 480px) {
    .calculator-wrap .header-area {
        padding-top: 1rem;
    }
    .calculator-wrap .body-area {
        font-family: 'Roboto-Light';
        padding: 0;
    }
    .calculator-wrap .body-area, .body-area .col-form-label, .calculator-wrap .body-area .form-control, .calculator-wrap .body-area .btn {
        font-size: 1.1rem;
    }
    .calculator-wrap .body-area .header-title {
        font-size: 1.35rem;
        font-family: 'RobotoCondensed-Regular', sans-serif;
        margin: 1rem auto;
        line-height: 1.5;
    }
    .body-area .col-form-label {
        text-align: left;
    }
    .body-area .position-text {
        text-align: right;
    }
    .calculator-wrap .body-area .form-control {
        margin-bottom: 1rem;
    }
    .table-area {
        overflow-x: auto;
    }
    .table-area .table {
        width: 1000px;
    }
    .style-list {
        font-size: 1.1rem;
        padding-left: 1rem;
    }
}

/*-------------------------------------------------
                Style Radio Button
---------------------------------------------------*/
.radio-box {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.5rem;    
}
.radio-box input {
    position: absolute;
    left: -9999px;
}
.radio-box input:checked + span {
    background-color: rgba(23, 162, 184, .2);
}
.radio-box input:checked + span:before {
    box-shadow: inset 0 0 0 6px #17a2b8;
}
.radio-box span {
    display: flex;
    align-items: center;
    padding: .5rem 1rem;
    border-radius: 99em;
    transition: 0.25s ease;
  }
 .radio-box span:hover {
    background-color: rgba(23, 162, 184, .2);
  }
.radio-box span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 3px #17a2b8;
  }
  
.form-area .other{
    display: none;
}
.rating-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
    padding: .5rem;
    width: 100%;
}
.rating-container label {
    margin: 0.5rem;
}
.icofont {
    cursor: pointer;
    color: rgb(255, 193, 14);
    font-size: 3rem;
}
input.rating-radio {
    position: absolute;
    opacity: 0;
}

input.rating-radio + .icofont {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

input.super-happy:hover + .icofont,
input.super-happy:checked + .icofont,
input.super-happy:focus + .icofont {
    color: rgb(0, 109, 217);
}

input.happy:hover + .icofont,
input.happy:checked + .icofont,
input.happy:focus + .icofont {
    color: rgb(0, 204, 79);
}

input.neutral:hover + .icofont,
input.neutral:checked + .icofont,
input.neutral:focus + .icofont {
    color: rgb(232, 214, 0);
}

input.sad:hover + .icofont,
input.sad:checked + .icofont,
input.sad:focus + .icofont {
    color: rgb(229, 132, 0);
}

input.super-sad:hover + .icofont,
input.super-sad:checked + .icofont,
input.super-sad:focus + .icofont {
    color: rgb(239, 42, 16);
}