.modal-dialog {
  position: relative;
}

#pmg-calculator-modal {
    font-size:12px;
}
#pmg-calculator-modal .modal-content {
    border-radius: 7px;
    overflow: auto;
    max-height: 90vh;
}
#pmg-calculator-modal .modal-content .close {
    position: absolute;
    z-index: 1;
    right: 16px;
    top: 16px;
    width: 30px;
    height: 25px;
    border-radius: 3px;
    opacity: 1;
    background-color: #D4D9DE;
}
#pmg-calculator-modal .modal-content .close:hover {
    opacity: 0.3;
}
#pmg-calculator-modal .modal-content .close:before, .close:after {
    position: absolute;
    left: 14px;
    top: 6px;
    content: ' ';
    height: 13px;
    width: 2px;
    background-color: #fff;
}
#pmg-calculator-modal .modal-content .close:before {
    transform: rotate(45deg);
}
#pmg-calculator-modal .modal-content .close:after {
    transform: rotate(-45deg);
}
.modal-dialog {
    width: 920px !important;
    margin: 30px auto;
}
.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
@media (max-width: 992px) {
    .modal-dialog {
        width: 600px !important;
        max-width: 95vw;
    }
}


/*Tax Calculator*/
.calc-tab-container{
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    margin: 0;
    position: relative;
}
.calc-tab-container .share-btn{
    position: absolute;
    top: 12px;
    right: 59px;
    z-index: 6;
    border: 0;
    background: #f4cb6e;
    background: -moz-linear-gradient(top,#f4cb6e 0,#8e6915 100%);
    background: -webkit-linear-gradient(top,#f4cb6e 0,#8e6915 100%);
    background: linear-gradient(to bottom,#f4cb6e 0,#8e6915 100%);

    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, #af9c7e 0%, #cab799 33%, #af9c7e 66%, #cab799 100%);
    background-size: 500% 100%;
    -webkit-animation: errorBg 2s linear infinite;
    -moz-animation: errorBg 2s linear infinite;
    animation: errorBg 2s linear infinite;

    
    border-radius: 4px;
    color: #fff;
    padding: 5px 15px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.5s ease-out;
}
.calc-tab-container .share-btn:hover{
    background: #8e6915;
    background: -moz-linear-gradient(top,#8e6915 0,#f4cb6e 100%);
    background: -webkit-linear-gradient(top,#8e6915 0,#f4cb6e 100%);
    background: linear-gradient(to bottom,#8e6915 0,#f4cb6e 100%);
}
.calc-tab-container .share-btn span{}
.calc-tab-container .share-btn img{
    width: 20px;
    display: block;
    margin-left: 5px;
}

/*calc steps */
.calc-tab-container .calc-step{
    display: none !important;
}
.calc-tab-container .calc-step.active{
    display: block !important;
}

.calc-modal-wrap{
    display: flex;
}
@media (max-width: 992px) {
    .calc-modal-wrap{
        flex-direction: column;
    }
}

.calc-tab-container .calc-header{
    background-image:url(https://www.wohnsitz-ausland.com/tax-calculators/img/header-bg.jpg);
    background-size: cover;
    background-position: center;
    width: 41%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 40px 30px;
}
@media (max-width: 992px) {
    .calc-tab-container .calc-header{
        width: 100%;
    }
}
.calc-tab-container .calc-header .calc-header__icon{
    width: 94px;
    margin-bottom: 12px;
    margin-top: 11px;
}
.calc-tab-container .calc-header .calc-header__icon img{
    display: block;
    width: 100%;
}
.calc-tab-container .calc-header .calc-header__title{
    font-size: 29px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 28px;
    text-align: center;
}
.calc-tab-container .calc-header .calc-header__title span{
    letter-spacing: 1px;
    line-height: 1;
    color: #bda98a;
    font-weight: 400;
}
.calc-tab-container .calc-step2 .calc-header .calc-header__icon img{
    display: none;
    width: 100%;
}
.calc-tab-container .calc-step2 .calc-header .calc-header__icon img.active{
    display: block;
}
.calc-tab-container .calc-step2 .calc-header .calc-header__title{
    display: none;
}
.calc-tab-container .calc-step2 .calc-header .calc-header__title.active{
    display: block;
}
.calc-tab-container .calc-header .calc-header__desc{
    text-align: center;
    font-size: 18px;
    /*line-height: 1.1;*/
    letter-spacing: -0.5px;
}
.calc-tab-container .calc-header .calc-header__cert{
    position: absolute;
    bottom: 9px;
    right: 16px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}
.calc-tab-container .calc-header .calc-header__cert:hover{
    color: #bda98a;
}
.calc-tab-container .calc-header .calc-header__cert span{}
.calc-tab-container .calc-header .calc-header__cert img{
    width: 65px;
    margin-left: 6px;
}

.calc-tab-container .calc-body{
    width: 59%;
    padding: 40px;
    background-color: #FDFDFD;
    min-height: 502px;
}
@media (max-width: 992px) {
    .calc-tab-container .calc-body{
        width: 100%;
    }
}
.calc-tab-container .calc-body .switch-calc-step{
    border: 0;
    background: #f4cb6e;
    background: -moz-linear-gradient(top,#f4cb6e 0,#8e6915 100%);
    background: -webkit-linear-gradient(top,#f4cb6e 0,#8e6915 100%);
    background: linear-gradient(to bottom,#f4cb6e 0,#8e6915 100%);
    border-radius: 4px;
    color: #fff;
    padding: 5px 10px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.5s ease-out;
}
.calc-tab-container .calc-body .switch-calc-step:hover{
    background: #8e6915;
    background: -moz-linear-gradient(top,#8e6915 0,#f4cb6e 100%);
    background: -webkit-linear-gradient(top,#8e6915 0,#f4cb6e 100%);
    background: linear-gradient(to bottom,#8e6915 0,#f4cb6e 100%);
}
.calc-tab-container .calc-body .switch-calc-step i{
    margin-right: 10px;
}

/*main tab nav*/
.calc-main-cats{
    list-style: none;
    padding: 0 !important;
    display: flex;
    max-width: 400px;
    margin: 20px auto 25px;
    border-radius: 7px;
    overflow: hidden;
}
.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: 10px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    line-height: 1;
    font-weight: 600;
}
.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;
}
.main-tab.active{
    display: block;
}

/*nav*/
.calc-tab-container .tabs-nav-wrap{
}
.calc-tab-container .tabs-nav{
        list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    max-width: 358px;
    margin: 0 auto;
}
.calc-tab-container .tabs-nav li{
        transition: all 0.5s ease-out;
    width: 50%;
    padding: 6px;
}
@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: 10% 10px 10px;
     aspect-ratio: 10/9;
     background-image: url(https://www.wohnsitz-ausland.com/tax-calculators/img/calc-item-bg-scaled.jpg);
     background-size: auto 500%;
     justify-content: flex-start;
     border-radius: 7px;
     overflow: hidden;
}
.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: 62% 67%;
}
.calc-tab-container .tabs-nav li:nth-child(4) a{
    background-position: 81% 67%;
}
.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: 12px;
    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: 13px;
    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: 19px;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 600;
}
.calc-tab-container .tabs .tab-title span{
    font-weight: 400;
}
.calc-tab-container .tabs p{
    text-align: justify;
    margin-top: 0;
}
.calc-tab-container .tabs p .btn{
    display: inline-block;
    text-align: right;
    /* float: right; */
    background: #00cb1e;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #fff;
    margin-top: 3px;
    border: 0;
    text-transform: uppercase;
}
.calc-tab-container .tabs .btn-note{
    font-size: 10px;
    padding-top: 5px;
    display: block;
}
.calc-tab-container .tabs .form {
}
.calc-tab-container .tabs .form .form-wrap{
    margin-bottom: 10px;
    position: relative;
}
.calc-tab-container .tabs .form .form-wrap i.fa{
    font-size: 150%;
}
.calc-tab-container .tabs .form label{
    font-weight: 600;
    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;
    color: #2f828c;
    font-size: 17px;
    font-weight: 500;
    box-shadow: 0 0 10px rgba(0,0,0,25%);
    height: 40px;
}
/*.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: 4px;
    left: 4px;
    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 pre{
    font-family: inherit;
    background-color: #f2f1f1;
    border: 0;
    margin: 10px 0;
    padding: 5px 10px;
}
.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;
    font-family: inherit;
}
.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(https://www.wohnsitz-ausland.com/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 .form .code-instruction{
    font-size: 75%;
    background-color: #f2f1f1;
    padding: 0 10px;
}
.calc-tab-container .tabs .form .code-instruction .code-instruction-content{
    max-height: 200px;
    overflow: auto;
}
.calc-tab-container .tabs .form .code-instruction .code-instruction-content ol,
.calc-tab-container .tabs .form .code-instruction .code-instruction-content ul{
    padding-left: 10px;
}
.calc-tab-container .tabs .result{
}
.calc-tab-container .tabs .result .form-wrap{}
.calc-tab-container .tabs .result .form-wrap label{
    font-weight: 600;
    font-size: 17px;
}
.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;
    margin-bottom: 10px;
}
.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 0 0;
    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;
    top: 35px;
    right: 0;
    left: 0;
    z-index:100;
    color: #fff;
    line-height: initial;
    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-bottom{
    margin: 0px auto 0px;
    position:relative;
    /* top:4px; */
    bottom: 0;
    line-height: 1.2;
    font-size: 10px;
}
.calc-tab-container .tabs .calc-note.to-bottom:after{
    content: "";
    position: absolute;
    top: -19px;
    left: auto;
    right: 5%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 10px;
    border-color: transparent transparent #6D7A8A transparent;
}
.calc-tab-container .tabs .calc-note.to-right ul{
    min-width:200px;
    padding: 0;
}

.calc-tab-container .tabs .calc-note p{
    margin-bottom: 5px;
    /* font-size: 13px; */
}
.calc-tab-container .tabs .calc-note ul{
    margin: 0;
    list-style: none;
    padding: 0;
}
.calc-tab-container .tabs .calc-note ul li{
    padding-left: 15px;
    position: relative;
    margin: 0;
    text-align: left;
    line-height: 1.2;
}
.calc-tab-container .tabs .calc-note ul li:before{
    content: "";
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    top: 7px;
    background-color: #fff;
    height: 4px;
    width: 4px;
    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(https://www.wohnsitz-ausland.com/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(https://www.wohnsitz-ausland.com/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(https://www.wohnsitz-ausland.com/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;
    }
}

/* show calc in the end */
.pmg-calculator-init-hidden {
    display:block;
}
