         /*Tax Calculator*/
.calc-header{
    position: relative;
    margin-bottom: 30px;
}
.calc-header .header-img-wrap{}
.calc-header .header-img-wrap img{}
.calc-header .header-title-wrap{
    background: rgba(0,0,0,.6);
    padding: 12px 25px;
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
}
.calc-header .header-title-wrap .header-title{
    padding: 0;
    margin: 0;
    color: inherit;
    line-height: 1;
}
.calc-header .header-title-wrap .header-desc{
    padding: 0;
    margin: 0;
    line-height: 1;
}
.calc-header{}
.calc-header{}
    /*Tax Calculator*/


.calc-tab-container{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0 0 45px;
}
/*main tab nav*/
.calc-main-cats{
    list-style: none;
    padding: 0 !important;
    display: flex;
    max-width: 450px;
    margin: 0 auto;
}
.calc-main-cats li{
    width: 50%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    position: relative;

    background: linear-gradient(to bottom,  rgba(162,171,179,1) 0%,rgba(95,109,123,1) 100%);

}
.calc-main-cats li:after{
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background-color: #bea98a;
}
.calc-main-cats li:last-child:after{
    content: none;
}
.calc-main-cats li a{
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 12px 10px;
    font-size: 24px;
    text-align: center;
    color: #fff;
    line-height: 1;
}
.calc-main-cats li a span{
    color: #bda98a;
    font-size: 75%;
}
/*.calc-main-cats li.active{
    background-color: #354649;
}*/
.calc-main-cats li.active{
    background: #3b5566;
    background: -webkit-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -moz-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -ms-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -o-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background-size: 500% 100%;
    -webkit-animation: errorBg 2s linear infinite;
    -moz-animation: errorBg 2s linear infinite;
    animation: errorBg 2s linear infinite;
}

@-webkit-keyframes errorBg {
    0% {
        background-position: 100% 0%
    }
    100% {
        background-position: 15% 100%
    }
}

@-moz-keyframes errorBg {
    0% {
        background-position: 100% 0%
    }
    100% {
        background-position: 15% 100%
    }
}

@keyframes errorBg {
    0% {
        background-position: 100% 0%
    }
    100% {
        background-position: 15% 100%
    }
}



.calc-main-cats li.active:after{
    content: none;
}
.calc-main-cats li.active a{
    color: #fff;
}

.calc-cats-wrap{
 /*background-color: #fdfdfd;*/
 /*border: 1px solid #eff2f4;*/
 margin-bottom: 50px;
}

.main-tab{
    display: none;
    background-color: #f6f6f6;
    box-shadow: 0 0 12px rgba(0,0,0,25%);
    padding-top: 30px;
    margin-top: -30px;
}
.main-tab.active{
    display: block;
}

/*nav*/
.calc-tab-container .tabs-nav-wrap{
}
.calc-tab-container .tabs-nav{
    list-style: none;
    padding: 20px 0 50px; 
    margin: 0;
    display: flex;
    flex-wrap: wrap;
        /*max-width: 600px;*/
    margin: 0 auto;
}
.calc-tab-container .tabs-nav li{
    border-radius: 10px;
    /*margin-bottom: 20px !important;*/
    transition: all 0.5s ease-out;
    width: 25%;
    padding: 20px;
}
@media (max-width:768px){
    .calc-tab-container .tabs-nav li{
        width: 50%;
    }
}
.calc-tab-container .tabs-nav li:last-child{
    margin-bottom: 0;
}
.calc-tab-container .tabs-nav li a{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    padding-top: 10%;
    aspect-ratio: 1/1;
    background-image: url(/wp-content/uploads/2023/10/calc-item-bg-scaled.jpg);
    background-size: auto 500%;
    justify-content: flex-start;
}
.calc-tab-container .tabs-nav li:nth-child(1) a{
    background-position: 62% 40%;
}
.calc-tab-container .tabs-nav li:nth-child(2) a{
    background-position: 81% 40%;
}
.calc-tab-container .tabs-nav li:nth-child(3) a{
    background-position: 100% 40%;
}
.calc-tab-container .tabs-nav li:nth-child(4) a{
    background-position: 62% 70%;
}
.calc-tab-container .tabs-nav li:nth-child(5) a{
    background-position: 81% 70%;
}
.calc-tab-container .tabs-nav li:nth-child(6) a{
    background-position: 100% 70%;
}
.calc-tab-container .tabs-nav li:nth-child(7) a{
    background-position: 62% 100%;
}
.calc-tab-container .tabs-nav li:nth-child(8) a{
    background-position: 81% 100%;
}
.calc-tab-container .tabs-nav li:nth-child(9) a{
    background-position: 100% 100%;
}
.calc-tab-container .tabs-nav li a:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #314554;
    opacity: 0.9;
}
.calc-tab-container .tabs-nav li.active a, 
.calc-tab-container .tabs-nav li:hover a{
}
.calc-tab-container .tabs-nav li a .menu-icon{
    width: 110px;
    height: 70px;
    margin-bottom: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}
@media (max-width:768px){
    .calc-tab-container .tabs-nav li a .menu-icon{
        width: 80px;
        height: 50px;
    }
}
.calc-tab-container .tabs-nav li:hover a .menu-icon{
    /*opacity: 0.8;*/
}
.calc-tab-container .tabs-nav li.active a .menu-icon{
    /*border: #dbccb5 solid 3px;*/
}
.calc-tab-container .tabs-nav li a .menu-icon i{
    font-size: 49px;
    color: #D0C2AE;
}
.calc-tab-container .tabs-nav li a .menu-icon img{
    width: 65%;
}
.calc-tab-container .tabs-nav li:hover a .menu-icon img,
.calc-tab-container .tabs-nav li.active a .menu-icon img{
    filter: brightness(0) invert(1);
}
.calc-tab-container .tabs-nav li a .menu-name{
    font-size: 15px;
    line-height: 1.1;
    font-weight: 600;
    color: #fff;
    text-align: center;
    position: relative;
}
.calc-tab-container .tabs-nav li a .menu-name span{
    font-weight: 400;
}
.calc-tab-container .tabs-nav li:hover a .menu-name{
    /*color: var(--body_typography-color);*/
}

/*tab*/
.calc-tab-container .tabs {
    display: flex;
}
.calc-tab-container .tabs .tab-content {
    display: none;
    width: 100%;
}
.modal .calc-tab-container .tabs .tab-content {
    display: block !important;
}
.calc-tab-container .tabs .tab-content.active {
    display: block;
}
.calc-tab-container .tabs .tab-title{
    font-size: 30px;
    text-align: left;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 0.1px solid;
}
.calc-tab-container .tabs .tab-title span{
    font-weight: 400;
}
.calc-tab-container .tabs p{
    font-size: 120%;
    text-align: justify;
}
.calc-tab-container .tabs p .btn{
    display: inline-block;
    text-align: right;
    /* float: right; */
    background: #029718;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    margin-top: 3px;
    border: 0;
    text-transform: none;
}
.calc-tab-container .tabs .btn-note{
    font-size: 10px;
    padding-top: 5px;
    display: block;
}
.calc-tab-container .tabs .form {
    background-color: #f6f6f6;
    box-shadow: 0 0 12px rgba(0,0,0,25%);
    padding: 25px 40px;
}
.calc-tab-container .tabs .form .form-wrap{
    margin-bottom: 20px;
}
.calc-tab-container .tabs .form .form-wrap i.fa{
    font-size: 150%;
}
.calc-tab-container .tabs .form label{
    font-weight: 600;
    font-size: 120%;
    display: inline-block;
    text-align: left;
}
.calc-tab-container .tabs .form .form-wrap label span{
    opacity: 0.3;
}
.calc-tab-container .tabs .form .form-wrap.active label span{
    opacity: 1;
}
.calc-tab-container .tabs .form .form-wrap input[type=text]{
    width: 100%;
    display: block;
    border: 0;
    border-radius: 0;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 3px 10px;
    max-width: 265px;
    color: #2f828c;
    font-size: 20px;
    font-weight: 500;
    box-shadow: 0 0 12px rgba(0,0,0,25%);
}
/*.calc-tab-container .tabs .form .form-wrap input::-webkit-input-placeholder,
.calc-tab-container .tabs .form .form-wrap input::-moz-placeholder,
.calc-tab-container .tabs .form .form-wrap input:-ms-input-placeholder,
.calc-tab-container .tabs .form .form-wrap input:-moz-placeholder,
.calc-tab-container .tabs .form .form-wrap input::placeholder {
    color: #E5E5E5;
}*/

.calc-tab-container .tabs .form .form-wrap input[type=radio]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:checked + label,
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    margin: 10px 0;
    font-weight: 400;
}
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:checked + label:before,
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:checked + label:after,
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #BEA98A;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
.calc-tab-container .tabs .form .form-wrap input[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}


.calc-tab-container .tabs .form button{
    border: 0;
    background-color: #263a4a;
    border-radius: 4px;
    color: #fff;
    padding: 8px 28px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.calc-tab-container .tabs .form button:hover{
    background-color: #4b6a7d;
}
.calc-tab-container .tabs .form button .icon{
    display: inline-block;
    height: 25px;
    width: 25px;
    margin-right: 7px;
    background-image: url(/wp-content/themes/primera-child/img/icons/icon-calc.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
.calc-tab-container .tabs .result{
    background-color: #ececec;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 0px 15px rgba(0,0,0,100%), inset 0px 3px 9px -7px #000;
    padding: 25px 40px;
    border-radius: 0 0 15px 15px;
}
.calc-tab-container .tabs .result .form-wrap{}
.calc-tab-container .tabs .result .form-wrap label{
    font-weight: 600;
    font-size: 18px;
}
.calc-tab-container .tabs .result .form-wrap label span{
    font-weight: 400;
}
.calc-tab-container .tabs i{
    color: #85a42d;
}
.calc-tab-container .tabs .calc-result{
    border: 2px solid #85a42d;
    background-color: transparent;
    border-radius: 10px;
    color: var(--awb-text-color);
    padding: 5px 20px;
    font-size: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.calc-tab-container .tabs .calc-result.tax{
    color: #2E828C;
}
.calc-tab-container .tabs .calc-result.total{}
.calc-tab-container .tabs .calc-note-wrap{
    margin: 50px -40px -30px;
    font-size: 20px;
    font-weight: 600;
    position: relative;
    color: #fff;
    line-height: 25px;
}
.calc-tab-container .tabs .calc-note{
    background-color: #6D7A8A;
    padding: 10px 20px;
    border-radius: 10px;
}
.calc-tab-container .tabs .calc-note:after{
    content: "";
    position: absolute;
    bottom: 100%;
    left: 100px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 30px 20px;
    border-color: transparent transparent #6D7A8A transparent;
}

.calc-note-tooltip{
    display:none;
    position:absolute;
    z-index:100;
    color: #fff;
    line-height: initial;
    width: 500px;
    max-width: 70vw;
}
.calc-tab-container .tabs .calc-note.to-right{
    margin: 0px auto 0px;
    position:relative;
    top:4px;
    left:12px;
}
.calc-tab-container .tabs .calc-note.to-right:after{
    content: "";
    position: absolute;
    top:13px;
    left:-20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 10px;
    border-color: transparent #6D7A8A transparent transparent;
}
.calc-tab-container .tabs .calc-note.to-right ul{
    min-width:200px;
}

.calc-tab-container .tabs .calc-note ul{
    margin: 0;
    list-style: none;
}
.calc-tab-container .tabs .calc-note ul li{
    padding-left: 20px;
    position: relative;
    margin: 5px 0;
    text-align: left;
}
.calc-tab-container .tabs .calc-note ul li:before{
    content: "";
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    top: 7px;
    background-color: #fff;
    height: 7px;
    width: 7px;
    border-radius: 50%;
}
/*Tax Calculator end*/

.notax {
    text-align: center;
    margin: 20px auto;
    border: 1px solid #bfa98a;
    padding: 30px 0px;
    border-radius: 10px;
}
.vatformrow label {
  /*color: #4a4a4a;*/
  font-weight: 600;
  text-align: center;
  padding: 0px 0px 15px 2px;
  display: block;
}
.vatformrow .fields {
  width: 100%;
}
.cntr, .vatformrow.cntr label {
  /*text-align: center;*/
}
#taxamount, #tax01, #tax02, #tax03, #tax04, #taxpropertyamount, #taxsalesamount, #taxtouristamount, #taxtouristx {
  font-size: 15px;
  display: table;
  margin: 0 auto;
  padding: 3px 15px;
  border: 1px solid  #cbec6d;
  border-radius: 20px;
}
#content .trformula p {
  text-align: center;
}
#content p {
  /*line-height: 20px;*/
  margin: 10px 0px 15px;
}
.vatformrow.cntr label.formula {
  font-style: italic;
  font-weight: normal;
}
.vatformrow .productradio label {
  display: inline-block;
  padding: 0px 0px 0px 2px;
}

.calc-result{
  width: 100%;
}

/* calc-sub-tabs */
.calc-sub-tabs{
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    background-color: #f8f8f8;
    border: 1px solid #f2f3f5;
    border-radius: 10px;
}
.calc-sub-tabs li{
    border-radius: 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    position: relative;
}
.calc-sub-tabs li:after{
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background-color: #bea98a;
}
.calc-sub-tabs li:last-child:after{
    content: none;
}
.calc-sub-tabs li span{
    display: block;
    width: 100%;
    text-decoration: none;
    padding: 10px 10px;
    font-size: 19px;
    font-weight:bold;
    text-align: center;
    color: #354649;
}
.calc-sub-tabs li span small{
    display: block;
    font-size: 14px;    
}
.calc-sub-tabs li.active{
    background: #3b5566;
    background: -webkit-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -moz-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -ms-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: -o-linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background: linear-gradient(135deg, #3b5566 0%, #0e0e0e 33%, #3b5566 66%, #0e0e0e 100%);
    background-size: 500% 100%;
    -webkit-animation: errorBg 2s linear infinite;
    -moz-animation: errorBg 2s linear infinite;
    animation: errorBg 2s linear infinite;
    height: 75px;
}
.calc-sub-tabs li.active span{
    color: #fff;
}

.calcModal{}
.calcModal .modal-dialog{
    width: 660px;
    max-width: 90%;
}
.calcModal .modal-content{
    overflow: hidden;
}
.calcModal .modal-body{
    padding: 0;
}
.calcModal .modal-body .modal-calc-body{
    display: flex;
    flex-wrap: wrap;
}
.calcModal .modal-body .modal-calc-body .modal-calc-left{
    width: 41%;
    background-image: url(/wp-content/uploads/2023/11/modal-calc-bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 40px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
@media (max-width:768px){
    .calcModal .modal-body .modal-calc-body .modal-calc-left{
        width: 100%;
    }
    .calcModal .modal-body .modal-calc-body .modal-calc-left{
        background-image: url(/wp-content/uploads/2023/11/modal-calc-bg-xs.jpg);
    }
}
.calcModal .modal-body .modal-calc-body .modal-calc-left .calc-icon{}
.calcModal .modal-body .modal-calc-body .modal-calc-left .calc-name{
    text-align: center;
    font-weight: 600;
    font-size: 27px;
    padding: 10px;
    line-height: 1;
}
.calcModal .modal-body .modal-calc-body .modal-calc-left .pmg-logo{
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 40px;
}
.calcModal .modal-body .modal-calc-body .calc-tab-container{
    width: 59%;
    margin: 0;
}
@media (max-width:768px){
    .calcModal .modal-body .modal-calc-body .calc-tab-container{
        width: 100%;
    }
}
.calcModal .calc-tab-container .tabs .form{
    padding: 25px 30px;
    box-shadow: none;
    background-color: transparent;
}
.calcModal .calc-tab-container .tabs .tab-title{
    line-height: 1;
    border: 0;
    padding: 0;
    margin-bottom: 10px;
}
.calcModal .calc-tab-container .tabs .tab-text{
    font-size: 12px;
    line-height: 1.3;
}
.calcModal .calc-tab-container .tabs p{
    font-size: unset;
}
.calcModal .calc-tab-container button.close{
    position: absolute;
    top: 15px;
    right: 15px;
    text-shadow: none;
    background-color: #7f7f7f;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 200;
    line-height: 1;
    padding: 6px;
    font-size: 25px;
    border-radius: 5px;
}
.calcModal .calc-tab-container button.close>span{
    font-size: inherit;
}
.calcModal .calc-tab-container .tabs .result{
    background-color: transparent;
    max-width: 700px;
    margin: 0;
    box-shadow: none;
    padding: 15px 30px;
    border-radius: 0;
}
.calcModal .calc-tab-container .tabs .result .form-wrap label{
    font-size: 12px;
    line-height: 1.6;
}
.calcModal .calc-tab-container .tabs .calc-result{
    background-color: transparent;
    padding: 5px 10px;
    font-size: 17px;
    height: auto;
}
.calcModal .calc-note-tooltip{
    position: relative;
    max-width: 100%;
    display: block;
    width: unset;
    margin: 10px 0;
    font-size: 13px;
}
.calcModal .calc-tab-container .tabs .calc-note.to-right{
    top: 0;
    left: 0;
    margin-bottom: 10px !important;
}
.calcModal .calc-tab-container .tabs .calc-note.to-right:after{
    left: 13px;
    top: -20px;
    border-color: transparent transparent #6D7A8A transparent;
}


.calc-banner{
    background-image: url(/wp-content/uploads/2023/11/calc-banner-bg.jpg);
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 35px 30px;
        margin-top: 10px;
}
.calc-banner:hover{
    opacity: 0.8;
}
.calc-banner .calc-banner__icon{
    width: 65px;
}
.calc-banner .calc-banner__icon img{}
.calc-banner .calc-banner__title{
    color: #fff;
    font-size: 25px;
    padding: 10px 12px;
    text-shadow: 0 0 5px #000;
}
@media (max-width:768px){
    .calc-banner{
        align-items: center;
        justify-content: center;
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    .calc-banner .calc-banner__icon {
        width: 45px;
    }
    .calc-banner .calc-banner__title {
        font-size: 15px;
        padding: 10px 10px 0;
        line-height: 1.2;
    }
}








