@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://hayyatapps.com/ICONS/icons.css");

/* ========= css: main.css ========= */


[happs-wrapper="smc"]
.hayyat-apps-calculator {
    background-color: var(--happs-smc-bg_color);
	min-height: 200px;
	min-width: 250px;
	padding: 20px;
	border-radius: 12px;
    font-family: var(--happs-smc-font);
}

[happs-wrapper="smc"] [shadow="happs-smc-shadow"]{
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    border-radius: 12px;
}


[happs-wrapper="smc"] .hayyat-apps-calculator [res="loan-statement"] strong {

    color: var(--happs-smc-theme);
}
[happs-wrapper="smc"] .hayyat-apps-calculator [visible="show"] {

    display: block;
}
[happs-wrapper="smc"] .hayyat-apps-calculator [visible="hide"] {

    display: none;
}
[happs-wrapper="smc"] .hayyat_apps_card {

    -webkit-box-shadow: 2px -1px 17px -4px rgba(0,0,0,0.2);
-moz-box-shadow: 2px -1px 17px -4px rgba(0,0,0,0.2);
box-shadow: 2px -1px 17px -4px rgba(0,0,0,0.2);

}
[happs-wrapper="smc"] .hayyat_apps_color_card {

    background-color: #9c27b014;
}
[happs-wrapper="smc"] [happs-content="mobile"] {
display: none;}
[happs-wrapper="smc"] [hayyat-apps-field] {

    font-family: inherit;
    margin-bottom: 30px;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-label {

    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #000;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-tooltip {

    display: inline-block;
    background: #e9e9e9;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    text-align: center;
    line-height: 16px;
    font-size: 12px;
    cursor: pointer;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-input-wrapper {

    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--happs-smc-theme);
    border-radius: 6px;

    max-width: 250px;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-symbol {

    background-color: var(--happs-smc-theme);
    padding: 8px 12px;
    color: white;
    border-radius: 5px 0 0 5px;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-symbol.right-symbol {

    border-radius: 0px 5px 5px 0px;
}
[happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="text"], [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="number"], [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="email"], [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="phone"] {

    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 18px;
    padding: 0 12px;
    color: #000;
    height: 37px;
}
[happs-wrapper="smc"] .hayyat-apps-calculator select.happs-select {

    max-width: 250px;
    background-color: white;
    border: 1px solid #c9c9c9;
    color: #181616;
}
[happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="text"]::placeholder, [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="number"]::placeholder, [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="email"]::placeholder, [happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[type="phone"]::placeholder {

    color: #bbb;
}
[happs-wrapper="smc"] .hayyat-apps-calculator [hayyat-apps-field] input.smc-input[name="down_payment_perc"] {

    width: 30%;
    padding: 0px 2px;
    border-radius: 0;
    text-align: center;
    background-color: #0000000d;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-input-wrapper {

    transition: all 0.15s ease-in-out;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-input-wrapper:focus-within {

    border: 2px solid var(--happs-smc-theme);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--happs-smc-theme) 30%, transparent);
}
[happs-wrapper="smc"] .a1-happs-btn {

    font-weight: bold;
    color: var(--happs-smc-theme);
    cursor: pointer;
    border-bottom: 1px dotted;
}
[happs-wrapper="smc"] .a1-happs-btn:after {

	content:"\00a0 \f107";
	font-family: "Font Awesome 5 Pro";
    font-weight: 900;
}
[happs-wrapper="smc"] .hayyat-apps-calculator button.hayyat-apps-btn {

width: 100%;
max-width: 250px;
color: white;
background-color: var(--happs-smc-theme);
padding: 12px;
border:1px solid white;
}
[happs-wrapper="smc"] .hayyat-apps-calculator button.hayyat-apps-btn:hover {

color: var(--happs-smc-theme);
background-color: transparent;
padding: 12px;
border:1px solid var(--happs-smc-theme);
transition: 0.2s;
}
.happs-tooltip {

    background: #000 !important;
    color: #fff !important;
    font-size: 12px !important;
    padding: 6px 10px;
    border-radius: 4px;
    border: none !important;
    box-shadow: 0 0px 0px rgba(0,0,0,0)!important;
}
.happs-tooltip .ui-tooltip-content {

    background: transparent !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 300;
}
[happs-wrapper="smc"] span.happs_red {

    color: #E91E63;
    font-weight: 500;
}
[happs-wrapper="smc"] span.happs_green {

    color: #4CAF50;
    font-weight: 500;
}
[happs-wrapper="smc"] .happs-flexer {

    display: flex;
    justify-content: space-between;
  }
[happs-wrapper="smc"] .happs-flexer > div:nth-child(1) {
width: 40%;border:0px solid red;min-width: 250px;height: 100%;}
[happs-wrapper="smc"] .happs-flexer > div:nth-child(2) {
width: 60%;margin-left: 25px;border:0px solid red}
[happs-wrapper="smc"] input.happs_checkbox[type="checkbox"]:before {

	content:"\f0c8";
	font-family: "Font Awesome 5 Pro";
    font-weight: 400;
}
[happs-wrapper="smc"] .hayyat_apps_noselect {

  -webkit-touch-callout: none; 
    -webkit-user-select: none; 
     -khtml-user-select: none; 
       -moz-user-select: none; 
        -ms-user-select: none; 
            user-select: none; 
}
[happs-wrapper="smc"] p[happs-support-msg] {

    color: #ff0000;
    font-weight: 500;
    text-align: center;
    background-color: #ff00000f;
    width: fit-content;
    margin: 20px auto;
    padding: 12px;
    display: none;
}
[happs-wrapper="smc"] .happs-smc-loader {

  border: 5px solid #f3f3f3;
    -webkit-animation: spin_happs 1s linear infinite;
    animation: spin_happs 1s linear infinite;
    border-top: 5px solid var(--happs-smc-theme);
    border-radius: 50%;
    width: 40px;
    height: 40px;
  
}


@-webkit-keyframes spin_happs {

[happs-wrapper="smc"] 0% {
 -webkit-transform: rotate(0deg); }
[happs-wrapper="smc"] 100% {
 -webkit-transform: rotate(360deg); }
}
[happs-wrapper="smc"] @keyframes spin_happs {
  0% { transform: rotate(0deg); }
  100% {
 transform: rotate(360deg); }
}   

    

@media screen and (max-width: 600px) {

[happs-wrapper="smc"] .happs-flexer {

    flex-direction: column;
  }
[happs-wrapper="smc"] .happs-flexer > div:nth-child(1) {
width: 100%;max-width: 1200px;}
[happs-wrapper="smc"] .happs-flexer > div:nth-child(2) {
width: 100%;margin-left: revert;}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-input-wrapper {

    max-width: 98%;
}
[happs-wrapper="smc"] [happs-content="mobile"] {
display: block;}



}






/* ========= css: checkbox.css ========= */


[happs-wrapper="smc"] [hayyat-apps-field] .happs_checkbox {

    position: absolute;
    opacity: 0;
    pointer-events: none;
}
[happs-wrapper="smc"] [hayyat-apps-field] .smc-label {

    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
}
[happs-wrapper="smc"] [hayyat-apps-field] .happs-checkmark {

    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Pro";
    font-size: 20px;
    color: var(--happs-smc-theme);
    flex-shrink: 0;
    vertical-align: middle;
}
[happs-wrapper="smc"] [hayyat-apps-field] .happs_checkbox + .happs-checkmark:before {

    content: "\f0c8"; 
    font-weight: 400;
}
[happs-wrapper="smc"] [hayyat-apps-field] .happs_checkbox:checked + .happs-checkmark:before {

    content: "\f14a"; 
        font-weight: 900;

}


/* ========= css: charts.css ========= */


[happs-wrapper="smc"] #happs-smc-payment-chart-wrapper {

    position: relative;
}
[happs-wrapper="smc"] .happs-smc-center-text {

    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}
[happs-wrapper="smc"] .happs-center-title {

    font-size: 14px;
    color: #000;
}
[happs-wrapper="smc"] .happs-center-value {

    font-size: 28px;
    font-weight: bold;
    color: #000;
}
[happs-wrapper="smc"] .hayyat-apps-calculator table.happs-legends {

    border:0;
    width:100%;
    max-width: 350px;
    margin: auto;
    text-align: left;
}
[happs-wrapper="smc"] .hayyat-apps-calculator table.happs-legends td {

    border: 0;
    padding: 5px 0;
    border-bottom: 1px solid #d3d3d3;
}
[happs-wrapper="smc"] .hayyat-apps-calculator table.happs-legends td:nth-child(2) {

    text-align: right;
}
[happs-wrapper="smc"] .happs-mp-txt {

    text-align: center;
    font-weight: 600;
    background: color-mix(in srgb, var(--happs-smc-theme) 8%, transparent);
    width: fit-content;
    margin: auto;
    color: var(--happs-smc-theme);
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 23px;
}


@media(max-width: 350px) {

[happs-wrapper="smc"] .happs-center-value {

        font-size: 22px;
    }
[happs-wrapper="smc"] .happs-center-title {

        font-size: 12px;
    }

    

}


@media screen and (max-width: 600px) {

[happs-wrapper="smc"] .happs-smc-center-text {

    top: 50%;
    left: 50%;
}

}


/* ========= css: table.css ========= */


[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table {

    width: 100%;
    border: 0;
    border-collapse: collapse;
    font-family: inherit;
    margin-top: 20px;
    background: transparent;
    text-align: center;
}
[happs-wrapper="smc"] .hayyat-apps-calculator table.happs-amort-table, [happs-wrapper="smc"] td, [happs-wrapper="smc"] th {

    border: 1px solid #ffffff;
}
[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table thead th {

    text-align: center;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: white;
    border-bottom: 0px solid #e5e5e5;
    background: var(--happs-smc-theme);
}
[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table tbody td {

    padding: 14px 12px;
    font-size: 15px;
    color: #000;
    border-bottom: 1px solid #e5e5e5;
}
[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table tbody tr:nth-child(even) {

    background: color-mix(in srgb, var(--happs-smc-theme) 8%, transparent);
}
[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table tbody tr:last-child td {

    border-bottom: 0px solid #e5e5e5;
}
[happs-wrapper="smc"] .hayyat-apps-table-div {

        overflow-y: auto;
        max-height:600px;
        position: relative;
    }
[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table thead {

        position: sticky;
        top: 0;
    }


@media (max-width: 480px) {

[happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table thead th, [happs-wrapper="smc"] .hayyat-apps-calculator .happs-amort-table tbody td {

            font-size: 12px;
    }

    

}


/* ========= css: contact-form.css ========= */


[happs-wrapper="smc"] .hayyat-apps-calculator .happs-lead-magnet {

    width: 100%;
    display: flex;
    justify-content: center;

    box-sizing: border-box;
}
[happs-wrapper="smc"] .happs-lead-wrapper {

    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
[happs-wrapper="smc"] .happs-lead-wrapper .form-img {

    position: absolute;
    bottom: 0%;
    right: -9%;
}
[happs-wrapper="smc"] .happs-lead-cover {

    width: 45%;
    min-height: 480px;

background: linear-gradient(
  187deg,
  color-mix(in srgb, var(--happs-smc-theme) 40%, transparent),
  color-mix(in srgb, #03a9f4 30%, transparent)
);

    color: white;
    padding: 40px 30px;
    box-sizing: border-box;

    align-items: center;
    justify-content: center;

    position: relative;
}
[happs-wrapper="smc"] .happs-cover-bg h1 {

    font-size: 42px;
    line-height: 44px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}
[happs-wrapper="smc"] .happs-cover-bg p {

    font-size: 16px;
    opacity: 0.9;
    color: #373737;
}
[happs-wrapper="smc"] .happs-lead-form-box {

    width: 55%;
    
    background: linear-gradient(
  30deg,
  color-mix(in srgb, #03a9f4 14%, transparent),
  color-mix(in srgb, var(--happs-smc-theme) 14%, transparent)
);
    padding: 40px;
    box-sizing: border-box;
}
[happs-wrapper="smc"] .happs-lead-form-box .form-title {

    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    color: #000;
    font-weight: 700;
}
[happs-wrapper="smc"] .happs-lead-form-box .form-subtitle {

    text-align: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 25px;
    line-height: 20px;
}
[happs-wrapper="smc"] .happs-lead-form {

    display: flex;
    flex-direction: column;
    gap: 16px;
}
[happs-wrapper="smc"] .happs-lead-form label {

    font-size: 14px;
    font-weight: bold;
    color: #000;
}
[happs-wrapper="smc"] .happs-lead-form input[type="text"], [happs-wrapper="smc"] .happs-lead-form input[type="email"], [happs-wrapper="smc"] .happs-lead-form input[type="tel"], [happs-wrapper="smc"] .happs-lead-form input[type="number"] {

    padding: 12px 14px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    background: #fff;
    margin-top: 5px;

}
[happs-wrapper="smc"] .happs-consent {

    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 8px;
    margin-top: 10px;
}
[happs-wrapper="smc"] .happs-submit {

    margin-top: 10px;
    background: var(--happs-smc-theme);
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
}
[happs-wrapper="smc"] .happs-submit:hover {

    background: #002731;
}


@media (max-width: 768px) {

[happs-wrapper="smc"] .happs-lead-wrapper {

        flex-direction: column;
    }
[happs-wrapper="smc"] .happs-lead-cover, [happs-wrapper="smc"] .happs-lead-form-box {

        width: 100%;
    }
[happs-wrapper="smc"] .happs-lead-cover {
display: none;}
}


@media screen and (max-width: 600px) {

[happs-wrapper="smc"] .happs-lead-wrapper .form-img {

    display: none;
}
[happs-wrapper="smc"] .happs-lead-cover {

    min-height: revert;  
}


}