/* Goal Calculator CSS start */

.page-header {
    background-position: center center;
    background-size: cover;
    padding: 20px;
    height: 396px;
}

.page-header.page-calculater {
    background-position-y: 76%;
}

.page-header .hd-plan {
    width: 795px;
    display: inline-block;
    text-align: center;
    margin: 12% 0 0 0;
}

.page-header .hd-plan h2 {
    font-size: 98px;
    font-family: 'Univers';
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 0;
    font-weight: 500;
    position: relative;
    top: 20px;
}

.page-header .hd-plan p {
    color: #fff;
    font-size: 20px;
}

.tab-sec {
    margin: 35px 0;
}

.tab-sec .nav-tabs {
    border-bottom: 0px;
    justify-content: center;
    margin-bottom: 30px;
    margin: 0 auto;
    display: inline-block;
}

.tab-sec .nav-tabs .nav-item {
    float: left;
}

.tab-sec .nav-tabs .nav-link {
    border: 0px solid transparent;
    border-radius: 0px;
    color: #e2e2e2;
    font-weight: 500;
    font-size: 18px;
    padding: 0.8rem 1rem;
    margin: 0 2rem;
}

.tab-sec .nav-tabs .nav-item.show .nav-link,
.tab-sec .nav-tabs .nav-link.active {
    border-bottom: 4px solid #fe6646;
    color: #000;
    font-weight: 600;
}

.calc-style {
    width: 100%;
    margin-top: 30px;
    display: table;
}

.calc-style .calc-rang {
    border: 1px solid;
    border-color: #e2e2e2 transparent #e2e2e2 #e2e2e2;
    padding: 30px;
    width: 70%;
    display: table-cell;
}

.calc-style .calc-result {
    width: 30%;
    display: table-cell;
    vertical-align: middle;
    border: 1px solid #fe6646;
    color: #fe6646;
    font-size: 22px;
    font-weight: 500;
}

.calc-style .calc-rang h4 {
    text-align: left;
    font-size: inherit;
    font-family: 'Montserrat', sans-serif;
    text-transform: inherit;
    font-size: 16px;
}


/* GOAL CALCULATOR START  */

.msg-box {
    display: table;
    width: 100%;
    margin: 13% auto;
    text-align: center;
}

.msg-box .content-box {
    border: 8px solid #fe6646;
    border-radius: 50%;
    width: 465px;
    min-height: 465px;
    padding: 17% 9%;
    margin: 0 auto;
}

.msg-box .content-box .meg-icon {
    display: inline-block;
}

.msg-box .content-box .msg-text {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    margin-top: 20px;
}

.calc-btn {
    display: inline-block;
    padding: 20px 40px;
    font-size: 20px;
    letter-spacing: 1px;
    margin-top: 20px;
}

.calc-btn:hover,
.calc-btn:active,
.calc-btn:focus {
    color: #fff;
}

.result-wrapper.active {
    display: block !important;
}

.msg-box.deactive {
    display: none;
}


/* RESULT BOX START */

.result-wrapper {
    margin: 30px auto;
    /* padding-left: 20px; */
}

.result-box {
    display: table;
    width: 100%;
    /* text-align: right; */
}

.result-box .list-box {
    display: table-cell;
}

.result-box .list-box div {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    float: left;
}

.result-box .list-box .list-text {
    width: 37%;
    font-size: 16px;
    font-weight: 500;
    text-align: right;
    padding-right: 26px;
    padding-top: 20px;
    line-height: 22px;
}

.result-box .list-box .list-icon {
    width: 26%;
    border: 1px solid #e2e2e2;
    align-items: center;
    padding: 15px 0;
}

.result-box .list-box .list-rupaay {
    width: 37%;
    align-items: center;
    flex-direction: row;
    padding-top: 15px;
    padding-left: 25px;
}

.result-box .list-box .list-rupaay .clac-rupay {
    font-size: 52px;
    font-family: 'Univers';
    font-weight: 700;
    color: #fe6646;
    margin-left: 12px;
}


/* article form */

.result-box.box-background {
    background: #f3f3f3;
    border: 1px solid #e2e2e2;
    /* padding: 20px; */
    margin: 0px 0 20px;
}

.button.orange-flat-btn {
    padding: 10px 40px;
    display: inline-block;
    letter-spacing: 1px;
    margin: 40px 0;
}

.article-form>h4 {
    font-weight: 700;
    font-size: 14px;
}

.article-content .form-select {
    display: inline-block;
    width: 155px;
}

.form-first .article-content .form-select {
    display: inline-block;
    width: 100px;
    margin: 0rem auto;
    position: relative;
    vertical-align: middle;
}

.article-content {
    display: inline-block;
    font-size: 20px;
    font-weight: 400;
    line-height: 42px;
}

.form-first .article-content {
    display: inline-block;
    font-size: 26px;
    font-weight: 800;
    line-height: 48px;
}

.form-first .form-select .usefulSelect-block-string {
    font-weight: 300;
}

.form-first .usefulSelect-block {
    box-shadow: none;
    border-bottom: 1px dashed #fe6646;
}

.form-select .usefulSelect-block-string {
    font-size: 28px !important;
    color: #fe6646
}

.form-first.article-form input.form-input {
    border-bottom: 1px dashed #fe6646;
    font-weight: 300;
    font-size: 22px;
    width: 182px;
    height: 48px;
}

.form-select .usefulSelect-container {
    height: 40px;
    width: 100%;
    font-weight: 500;
}

.article-form input.form-input {
    background: transparent;
    color: #fe6646;
    border-top: 0;
    border-left: 0;
    border-right: 0;
   /* border-bottom: 4px solid #fe6646; */
     font-weight: bold;
    border-bottom: 0;
    width: 110px;
    font-size: 22px;
    padding-left: 20px;
}

.input-box {
    display: inline-block;
}

.rp {
    position: relative;
}

.form-first .rp:before {
    content: "R";
    position: absolute;
    left: -4px;
    top: -18px;
    bottom: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    color: #fe6646;
    font-size: 25px;
    font-family: 'Vonnes-Light_Rupee';
    font-weight: 300;
    font-style: normal;
}

.rp:before {
    content: "R";
    position: absolute;
    left: -4px;
    top: -12px;
    bottom: 0;
    margin: auto;
    width: 28px;
    height: 28px;
    color: #fe6646;
    font-size: 28px;
    font-family: 'Vonnes-Light_Rupee';
    font-weight: 300;
    font-style: normal;
}


/* systemetic calculator css start */

.calc-flex .flex-img.flex-after-img {
    position: relative;
}

.calc-result-msg.sys-result .calc-flex:first-child {
    flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    /* padding-left: 195px; */
}

.calc-result-msg.sys-result .calc-flex:last-child {
    flex: 1 0 50%;
    -ms-flex: 1 0 50%;
    /* padding-right: 70px; */
}

.calc-flex .flex-img.flex-after-img .bg-calc1:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 65px;
    height: 60px;
    margin-left: 192px;
    background: url('../../../../../content/dam/iibPlatform/indusSmart/images/css_sprites.png') -373px -222px;
}

.calc-result-msg {
    /* display: flex; */
    display: table;
    width: 100%;
    justify-content: space-between;
    /* flex: 1 0 100%; */
    flex-direction: row;
}

.calc-result-msg .calc-flex {
    vertical-align: middle;
    /* display: flex; */
    display: table-cell;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.flex-item {
    /* flex: 1 0 35%;
    -ms-flex: 1 0 35%; */
    width: 42%;
}

.flex-item:nth-child(2) {
    /* flex: 1 0 50px;
    -ms-flex: 1 0 50px; */
    width: 50px;
    position: relative;
}

.calc-flex .flex-img {
    width: 100%;
    display: table;
    /* display: flex; */
    height: 200px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.calc-flex .flex-img>div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.calc-flex .result-box.box-background {
    background: transparent;
    border: none;
    padding: 20px 40px;
}

.calc-result-msg .usefulSelect-block {
    box-shadow: inset 0 -3px 0 0 #fe6646;
}

.calc-result-msg .article-form input.form-input {
    border-width: 3px;
    font-size: 20px;
    height: 40px;
   /* width: 125px; */
    width: auto;
}

.calc-result-msg .article-content .form-select {
    width: 90px;
    margin: 0rem auto;
    position: relative;
    vertical-align: middle;
}

.calc-result-msg .form-select .usefulSelect-block-string {
    font-size: 20px !important;
}

.calc-result-msg .rp:before {
    font-size: 20px;
}

.or-text {
    font-size: 30px;
    font-style: italic;
    font-weight: 300;
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    vertical-align: middle;
    display: ruby-text-container;
}

.article-flex-box {
    display: table;
    /* display: flex; */
    flex-direction: row;
}

.article-flex-box .article-flex {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.article-flex-box .article-item:last-child {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 20%;
    /* flex: 1 0 20%;
    -ms-flex: 1 0 20%; */
    background: #e7e7e7;
    border-left: 1px solid #e2e2e2;
}

.article-flex-box .article-flex .article-img {
    position: relative;
    display: table-cell;
    width: 160px;
    vertical-align: middle;
    /* display: flex; */
    flex: 1 0 160px;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.article-flex-box .article-item:first-child {
    display: table-cell;
    text-align: left;
    width: 70%;
    /* flex: 1 0 70%;
    -ms-flex: 1 0 70%; */
}

.article-form .article-flex-box input.form-input,
.article-flex-box .form-select .usefulSelect-block-string,
.article-flex-box .article-content {
    font-size: 14px !important;
    font-weight: 400;
}

.article-form .article-flex-box input.form-input {
     border-bottom: 0;
    height: 32px;
    font-weight: bold;
    width: auto;
}

.article-form .article-flex-box .rp:before {
    font-size: 14px;
    left: 1px;
    top: -7px;
}

.article-flex-box .article-content .form-select {
    width: 110px;
    margin: 0rem auto;
    position: relative;
    vertical-align: middle;
}


/* .calc-result-msg .article-content .form-select:after {
    color: #fe6646;
    content: "\f0d7";
    font-family: "FontAwesome";
    display: inline-block;
    margin-top: -7px;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 0;
    transform: rotate(0deg);
    width: 8px;
    bottom: 0;
    margin: auto;
    font-size: 22px;
} */

.article-content .form-select:after {
    color: #fe6646;
    content: "\f0d7";
    font-family: "FontAwesome";
    display: inline-block;
    margin-top: -7px;
    padding: 0;
    pointer-events: none;
    position: absolute;
    right: 7px;
    top: 0;
    transform: rotate(0deg);
    width: 8px;
    bottom: 0;
    margin: auto;
    font-size: 22px;
}

.form-first .article-content .form-select:after {
    background: #fff;
	height: 41px;
    width: 28px;
    line-height: 41px;
    right: 5px;
}

.calc-result-msg .article-content .form-select:after {
    background: #fff;
    right: 0px;
    height: 37px;
    width: 25px;
    line-height: 37px;
}

.article-flex-box .article-content .form-select:after {
    background: #f3f3f3;
    height: 28px;
    width: 23px;
    line-height: 30px;
    text-align: center;
    top: -7px;
    right: 2px;
}

.calc-result-msg .article-content .form-select.sm {
    width: 70px;
}

//new CSS

.calc-result-msg .article-form input.form-input.sip,.calc-result-msg .article-form input.form-input.oti {
    width: 175px;
}

/*.article-form .article-flex-box input.form-input.lg { 
    width: 132px;
}*/


.form-first .article-content .form-select select.selectAdaptive {
    -moz-appearance: none;
    -webkit-appearance: none;
    font-size: 22px;
    font-weight: 300;
    color: #fe6646 !important;
    width: 100%;
    /* height: 40px; */
    border-radius: 2px;
    padding: 0 5px 5px 2px;
    background-color: #ffffff;
    border-width: 1px;
    border-color: transparent transparent #fe6646 transparent;
    border-style: dashed;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    color: black;
    -webkit-writing-mode: horizontal-tb !important;
}

.calc-result-msg .article-content .form-select select.selectAdaptive {
    -moz-appearance: none;
    -webkit-appearance: none;
    font-size: 20px;
    font-weight: 400;
    color: #fe6646 !important;
    width: 100%;
    /* height: 30px; */
    border-radius: 2px;
    padding: 5px 5px 3px 1px;
    background-color: #ffffff;
    border-width: 0 0 3px 0;
    border-color: transparent transparent #fe6646 transparent;
    border-style: solid;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    color: black;
    -webkit-writing-mode: horizontal-tb !important;
}

.article-flex-box .article-content .form-select select.selectAdaptive {
    -moz-appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    font-weight: 400;
    color: #fe6646 !important;
    width: 100%;
    height: 25px;
    position: relative;
    top: 2px;
    border-radius: 2px;
    padding: 0px 5px 2px 0px;
    background-color: transparent;
    border-width: 0 0 2px 0;
    border-color: transparent transparent #fe6646 transparent;
    border-style: solid;
    box-sizing: border-box;
    align-items: center;
    white-space: pre;
    -webkit-rtl-ordering: logical;
    color: black;
    -webkit-writing-mode: horizontal-tb !important;
}

.article-flex-box .article-content .form-select:after {
    font-size: 16px;
}

.article-flex-box .article-content .form-select.sm {
    width: 65px;
    margin: 0rem auto;
    position: relative;
    height: 41px;
    vertical-align: middle;
}

/*.calc-result-msg .article-form input.form-input.lg {
    width: 175px;
}*/

.article-flex-box .article-content h3 {
    font-weight: 600;
}

.article-flex-box .usefulSelect-block {
    box-shadow: inset 0 -2px 0 0 #fe6646;
}

.article-form .article-flex-box input.form-input {
   /* border-bottom: 2px solid #fe6646;*/
    height: 32px;
}

.form-select .usefulSelect-container {
    height: 27px;
}

.article-flex-box .article-content.content-right {
    font-size: 26px !important;
    font-weight: 500;
}

.article-flex-box .article-content {
    display: table-cell;
    line-height: 36px;
    flex: 1 0 82%;
    -ms-flex: 1 0 82%;
}

.article-flex-box .article-content.content-right a {
    color: #fe6646;
    text-decoration: underline;
}

@media (max-width:1024px) {
    .calc-result-msg.sys-result .calc-flex:first-child,
    .calc-result-msg.sys-result .calc-flex:last-child {
        padding: 0;
    }
}

@media (max-width:800px) {
    .calc-result-msg {
        flex-direction: column;
        -ms-flex-direction: column;
        display: flex;
        flex: 1 0 100%;
        -ms-flex: 1 0 100%;
        width: unset;
    }
    .article-flex-box {
        display: flex;
        flex-direction: column;
        -ms-flex-direction: column;
    }
    .calc-result-msg .calc-flex {
        display: flex;
    }
    .article-flex-box .article-flex {
        display: flex;
        flex-direction: column;
    }
    .flex-item:nth-child(2) {
        flex: 1 0 50px;
        -ms-flex: 1 0 50px;
        width: unset;
    }
    .flex-item {
        flex: 1 0 35%;
        -ms-flex: 1 0 35%;
        width: unset;
    }
    .tab-sec .nav-tabs {
        display: flex;
    }
    .article-flex-box .article-item:first-child {
        display: flex;
        text-align: left;
        flex: 1 0 70%;
        -ms-flex: 1 0 70%;
        width: unset;
    }
    .article-flex-box .article-item:last-child {
        display: flex;
        flex: 1 0 20%;
        -ms-flex: 1 0 20%;
        width: unset;
    }
    .article-flex-box .article-item:last-child {
        border-top: 1px solid #e2e2e2;
        border-left: 0px;
    }
    .article-flex-box .article-flex .article-img {
        display: flex;
        flex: 1 0 160px;
        -ms-flex: 1 0 160px;
    }
    .page-header .hd-plan {
        width: 100%;
        margin: a auto;
    }
    .page-header .hd-plan h2 {
        font-size: 14vw;
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    }
    .page-header .hd-plan p {
        font-size: 3vw;
        text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
    }
    .calc-flex .flex-img.flex-after-img:after {
        transform: rotate(90deg);
        margin-top: 130px;
    }
}

@media (max-width:568px) {
    .container {
        padding-right: 25px;
        padding-left: 25px;
    }
    .article-flex-box .article-flex {
        flex-direction: column;
    }
    .article-flex-box .article-flex .article-img {
        width: 180px;
    }
    .article-flex-box .article-content h3 {
        font-size: 5.4vw;
    }
    .article-flex-box .article-content.content-right {
        font-size: 5vw !important;
        line-height: 28px;
    }

}