/* Liferay OOB features css  */
.portlet-decorate .portlet-content {
    background: none !important;
    padding: 0px !important;
}

h2.portlet-title-text {
    display: none;
}

#wrapper {
	height: 100vh;
}



/*  Custom css for components like button checkbox, etc*/

.btn-vitality {
    background-color: rgb(233, 30, 99);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.button-group {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
}


button#prevBtn {
	background-color: white;
    border: none;
    padding-left: 0;
    position: absolute;
    height: 75px;
    display: flex;
    align-items: center;
}

button#viewResultsBtn {
    margin-top: 30px;
}

.next-btn {
    position: absolute;
    bottom: 20px;
}
.calc-button-group {
	display: flex;
    gap: 10px;
    margin-top: 30px;
}
.calc-button-group button {
	flex: 1 1 calc(50% - 10px);
    border-radius: 20px;
}

.calc-button-group button#prevBtn {
    position: static;
    background-color: #e91e63;
    color:#fff;
}

button#assessmentBtn {
    margin-bottom: 20px;
}

.calculator-container-wrapper button:focus {
    outline: unset;
}

/*  Option type css */
.option p, .option-multi p {
	margin: 8px 0 0;
	font-size: 14px;
	color: rgb(233, 30, 99);
	font-weight: bold;
}

.options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	line-height: 1em;
}
.option img, .option-multi img {
	width: unset;
	height: 50px;
	mix-blend-mode: multiply;
}

.option, .option-multi {
	flex: 1 1 calc(50% - 10px);
	padding: 12px !important;
	border: 1px solid #ccc;
	border-radius: 6px;
	text-align: center;
	cursor: pointer;
	align-content: center;
}

.selected {
	border-color: rgb(233, 30, 99);
	background-color: #fde6ec;
}

input[type="range"] {
	width: 100%;
}



.option span, .option-multi span {
	font-size: 0.9rem;
	color: #555;
}

.option input[type="radio"] {
	display: none;
}

.option-multi input {
	display: none;
}





/*  Old CSS to replace or remove */

.calculator-container-wrapper {
	font-family: Arial, sans-serif !important;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
}

.calculator-container {
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	width: 414px;
	margin: auto;
	position: relative;
	overflow-y:auto;
	-ms-overflow-style: none;
}

.container::-webkit-scrollbar{
    display:none;
}

.calculator-container::-webkit-scrollbar{
    display:none;
}



.progress-bar-calculator {
	display: flex;
	height: 8px;
	margin-bottom: 8px;
	background: #eee;
	border-radius: 4px;
	overflow: hidden;
}

.progress-bar-calculator div {
	background: #e60050;
	height: 100%;
	transition: width 0.5s ease;
}

.progress-text {
	font-size: 14px;
	color: #666;
	margin-bottom: 20px;
}

.step {
	display: none;
}

.step.active {
	display: block;
}

.step-label {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	text-transform: uppercase;
	color: #555;
}

.progress-steps-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.progress-steps-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.progress-step {
  height: 4px;
  flex: 1;
  background-color: #eee;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

.progress-step.completed {
  background-color: #ec407a;
}

.progress-step.current {
  background-color: #f8bbd0;
}

.progress-step-label {
  font-size: 13px;
  color: #555;
}


.landing-container {
    /* height: 860px; */
    display: flex;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    color: white;
    flex-direction: column;
    justify-content: space-evenly;
}

.headline-2 {
	padding: 30px;
}

.margin-top25p {
	margin-top: 25% !important;
}
.stepsContainer .header {
   display: block;
    position: relative;
    padding: 10px;
}

.stepsContainer .header img.logo {
	margin: unset;
	height: 75px;
}

video#loading-video {
	max-width: 65%;
	padding: 30px 0 30px 0;
}

.result-container {
	margin: 60px 0;
	text-align: center;
	justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.subtitle {
	color: #555;
	font-size: 14px;
}

.tip-box {
	background: #eee;
	padding: 10px;
	border-radius: 6px;
	margin: 10px 0;
	font-size: 13px;
}


.back-arrow {
    transition: transform 0.3s ease;
    width: 13px;
    height: 13px;
    border-left: 3px solid #393a4a;
    border-bottom: 3px solid #393a4a;
    display: inline-block;
    transform: rotate(45deg);
}

.arrow {
    transition: transform 0.3s ease;
    width: 10px;
    height: 10px;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    display: inline-block;
    transform: rotate(-135deg);
}

.open .arrow {
    transform: rotate(-45deg);
}

#to-improve {
    border-left: 3px solid red;
}

#doing-well {
    border-left: 3px solid green;
}

.calculator-container-wrapper .card {
	background: white;
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 15px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	display: flex;
    justify-content: flex-end;
    min-height: 200px;
}

.calculator-container-wrapper .red-card {
	border-left: 5px solid #e91e63;
}
.stepsBodyContent h3, .stepsBodyContent h4 {
    font-size: 1.1875rem;
    margin-bottom: .5rem;
    font-weight: 600;
    line-height: 1.2;
}
.step.active div > h3 {
    padding-top: 10px;
}

.priority-section {
    position: relative;
    padding: 50px 0;
}

.disclaimer {
    position: relative;
    padding-bottom: 25px;
}

.calculator-container-wrapper .card-label {
    position: absolute;
    top: 0px;
    left: 0;
    background-color: #e91e63;
    color: white;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 10px 0 10px 0;
    margin: 0;
}

.calculator-container-wrapper .card-content {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-direction: column;
}

.card-content img {
    width: 80px;
    height: 80px;
}

.sub-content {
    display: flex;
    flex-direction: column;
    background: #eaeff4;
    border-radius: 5px;
    padding: 10px 14px;
    justify-content: flex-end;
    align-items: center;
}

.sub-content img {
    margin: 0 0 25px 0;
}

.sub-content p {
    margin-bottom: 0;
    text-align: center;
}

.start-assessment-btn, .view-results-btn, .next-btn, .year-gender-btn {
	width: 100%;
    border-radius: 20px;
}


.calculator-container-wrapper .slider-container {
    position: relative;
    width: 100%;
    height: 80px;
    text-align: center;
    margin: 40px 0 10px 0;
}

.calculator-container-wrapper .slider {
    appearance: none;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #e91e63 var(--progress, 50%), #ddd var(--progress, 50%));
    outline: none;
    position: relative;
    z-index: 1;
}

.calculator-container-wrapper .slider::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    background: #e91e63;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(233, 30, 99, 0);
    transition: box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
}

.calculator-container-wrapper .slider.moving::-webkit-slider-thumb {
    box-shadow: 0 0 20px rgba(233, 30, 99, 1);
}

.calculator-container-wrapper .slider-container .tooltip {
    position: absolute;
    background: #444;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 16px;
    white-space: nowrap;
    top: -50px;
    transform: translateX(-50%);
    z-index: 3;
    display: none;
    opacity: 0.9;
}


.calculator-container-wrapper .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #444;
}

form#assessmentForm, .step-1 {
    margin-top: 10px;
}


img.backLogo {
    height: 20px;
}

img.mark-icon {
    height: 20px;
    padding-right: 5px;
}
.progress-steps-container {
    padding-top: 15px;
}

.next-btn, .year-gender-btn {
    position: static;
	bottom: 20px;
	margin-top: 50px;
}

.stepsContainer {
    position: relative;
    height: 100%;
}

.portlet-layout .portlet-header {
    margin-bottom: 0 !important;
}

.portlet {
    margin-bottom: 0 !important;
}

.next-btn:disabled, .year-gender-btn:disabled {
    background-color: rgb(255,116,164);
    cursor: not-allowed;
}

div#loading-screen, div#error-screen, div#error-screen-2 {
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    padding: 80px 0 0 0;
    background-color: white;
}

.heart-circle {
    padding: 30px 0 30px 0;
}

.vitality-age {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.vitality-age-circle {
    width: 150px;
    height: 150px;
    background-color: rgb(233, 30, 99);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    color: black;
    text-align: center;
    margin: 20px;
}
.calculator-container-wrapper .label {
    font-size: 14px;
    color: white !important;
    border: none;
}
.value {
    font-size: 45px;
    font-weight: bold;
    color: white !important;
}

.font-red{
    color: rgb(233, 30, 99);
}

.f15{
    font-size: 20px;
    font-weight: bold;
}

.tip-box p {
    margin: 0 !important;
}

.vitality-health-result-container {
    padding-top: 20px;
}

#error-screen > img,
#error-screen-2 > img, {
    width: 60%;
    margin-bottom: 30px;
}






.calc-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.dropdown-menu {
    min-width: 120px !important;
}

.calc-overlay h2, .calc-overlay h4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}



img.logo.d-block.landing-mobile-logo {
    height: 100px;
}


.portlet-borderless .portlet-content {
    padding: 0;
}



.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}





p.pink-border {
	border: 1.5px solid #e91e63;
}

p.green-border {
	border: 1.5px solid green;
}

.future-health-content {
	align-items: normal;
}

#error-screen-2 img {
    max-width: 70%;
    margin-bottom: 30px;
}

#error-screen-2 div#results-btns {
    margin-top: 20px;
}

.vitality-age-circle.actual-age-circle {
    background-color: #ff6699;
}

/*  Accordion Stuff */

.vitality-health-result-container .accordion-body {
    cursor: default;
}

.vitality-health-result-container .accordion-body p {
    border-radius: 6px;
    padding: 5px;
}


.calculator-container-wrapper .accordion-item {
	background: white;
	border-radius: 5px;
	margin: 10px 0;
	cursor: pointer;
	box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2);
}

.calculator-container-wrapper .accordion-header {
	padding: 20px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.calculator-container-wrapper .accordion-header .left-content {
    display: flex;
    align-items: center;
}

.calculator-container-wrapper .accordion-body {
	display: none;
	padding: 10px 10px 10px 45px;
	font-size: 14px;
	color: #444;
}

.slider-content {
	display: flex; 
	justify-content: space-between; 
	width: 100%; 
	margin-top: 10px;
}
.view-height {
	height: 100vh !important;
}


.portlet-boundary_za_co_vitality_portal_members_standalone_website_calculator_portlet_StandaloneCalculatorPortlet_ section, .portlet-boundary_za_co_vitality_portal_members_standalone_website_calculator_portlet_StandaloneCalculatorPortlet_ section .portlet-content, .portlet-boundary_za_co_vitality_portal_members_standalone_website_calculator_portlet_StandaloneCalculatorPortlet_ section .portlet-content-container, .portlet-boundary_za_co_vitality_portal_members_standalone_website_calculator_portlet_StandaloneCalculatorPortlet_ section .portlet-body
 {
    height: 100%;
}

#content, #content > div, #content > div > div {
	height: 100%;
}
#content > div > div > div {
    padding: 0px;
}

#content > div > div > div, #content > div > div > div > div, #content > div > div > div > div > div {
height: 100%;
}


/*  Media Query */
@media (min-width: 768px){
	.calculator-container {
			  padding: 20px;
	        border-radius: 0px;
	        box-shadow: none;
	        width: 100%;
	        margin: 0;
	        height: 100%;
	        overflow-y: auto;
	        background: none;
	}
	.calculator-container-wrapper {
		height: auto;
	}
	.landing-container {
	    justify-content: flex-end;
	        /* height: 600px; */
	        display: flex;
	        flex-direction: row;
	        max-height:450px;
	}
	
	.landing-container .calc-overlay {
	    text-align: center;
	    margin-top: 20%;
	    color: rgba(255, 255, 255, .8);
	    max-width: 500px;
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	}
	.landing-container .calc-overlay h2 {
		font-size: 2em;
	    font-weight: 300;
	}
	.options h3, .tip-box {
	    flex: 1 1 calc(100% - 10px);
	}
	
	.option, .option-multi {
		margin: 10px;
	       flex: 1 1 calc(25% - 10%);
	}
	.stepsContainer {
	    min-height: 800px;
	}
	.option img, .option-multi img {
        height: 50px !important;
    }
	
	#error-screen > img,
	#error-screen-2 > img {
	    width: 50%;
	    margin-bottom: 30px;
	}
	.next-btn {
        bottom: 120px !important;
    }
    
}


@media (max-height: 600px) {
 .next-btn, .year-gender-btn {
     margin-top: 50px;
 }
}

@media (max-width: 768px) {
	#wrapper {
		height: 100%;
	}
    .calculator-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        box-shadow: none;
        padding: 10px;
    }
    .option img, .option-multi img {
        height: 35px !important;
    }
    .calc-overlay h2 {
	    padding: 0px 10%;
	    font-size: 1.2rem;
	}
	.calc-overlay h4 {
	    font-size: 0.9rem;
	    padding: 0 5%;
	}
	button#assessmentBtn {
	    max-width: 80%;
	}
	.landing-container {
	    margin-top: 20%;
	}
}