body {
  /*background-color:white;
	font-size:16px;*/
}

.error-modal-background {
  position: absolute;
  background-color: rgb(230, 230, 230);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.simulation-wrapper {
  /*background-color:white;
	font-size:16px;
	line-height:1.7em;*/
}

.is-center {
  text-align: center;
}

.is-right {
  text-align: right;
}

.is-left {
  text-align: left;
}

#portfolio-plan-second-controllers .l-box-field {
  padding: 0.25em 1em;
}

#portfolio-plan-second-controllers .pure-form {
  width: 100%;
  padding: 1em 0em;
  /*so input don't go beyond 100% in IE*/
}

#portfolio-plan-second-controllers .controls-section .section-title label {
  font-weight: bold;
  color: #00063c;
  font-size: 120%;
}

.controls-section:not(:first-of-type) {
  padding-top: 2em;
}

.plan-dashboard-app {
  max-width: 1600px;
  margin: 0 auto;
}

.l-box-full {
  padding: 0.5em 1em;
}

.l-box-2-2 {
  padding: 1em;
}

.l-box-2-1 {
  padding: 1em;
}

.height-100 {
  height: 100%;
}

.width-50 {
  width: 50%;
}

.pointer {
  cursor: pointer;
}

.projection-buttons {
  /*margin: 0 1em!important;*/
  border: none !important;
}

.projection-next-button {
  width: 100% !important;
  text-align: center;
}

.page-content-container {
  padding: 0.5em;
}

.summary-container {
  border: none;
  margin: 0;
}

.portfolio-page-detail-container {
  /*border:2px solid #dbdbdb;*/
  /*background-color:white;*/
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	margin-bottom:3em;*/
  position: relative;
}

.menu-picklist-div {
  display: inline;
}

.summary-portfolio-picklist-container {
  background-color: #1f8dd6;
  z-index: 9;
  height: 44px;
  position: fixed;
  top: 0;
  left: 0;
}

.portfolio-picklist-label {
  display: none;
}

.portfolio-picklist-div {
  padding-left: 50px;
  padding-right: 10px;
  position: relative;
}

.portfolio-picklist-div:after {
  content: "▼";
  font-size: 10px;
  color: #1f8dd6;
  padding: 14px 12px 0 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  text-align: center;
  width: 10%;
  height: 100%;
  pointer-events: none;
  box-sizing: border-box;
}

.summary-portfolio-data-container {
  margin: 60px 0.5em 0.5em 0.5em;
  border: 1px solid #dbdbdb;
  background-color: white;
  padding: 0.5em;
}

.summary-picklist {
  width: 100%;
  border-radius: 15px;
  margin-top: 8px;
  color: #21b381;
  border: 1px solid #dbe3e5;
  background: white;
  -webkit-border: 0px;
  outline: none;
  -webkit-outline: none;
  padding-left: 10px;
  background-color: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.summary-picklist::-ms-expand {
  display: none;
}

.invisible-select {
  color: #00063c;
  font-size: inherit !important;
  text-decoration: underline;
  width: auto !important;
  border: none !important;
  line-height: inherit !important;
  margin-bottom: 0em !important;
  height: 1.95em !important;
  padding: 0px !important;
  padding-bottom: 0.1em !important;
  outline: none;
  box-shadow: none !important;
}

.invisible-select + span {
  color: #1f8dd6;
}

/*PORTFOLIO PLAN MENU*/

.portfolio-menu {
  position: fixed;
  left: 0;
  padding-left: 0.5em;
  width: 100%;
  bottom: 0;
  font-size: 60%;
  color: #999;
  border-top: 1px solid #dbdbdb;
  background-color: white;
  padding-top: 0.5em;
  z-index: 2;
}

.portfolio-menu i {
  display: block;
  font-size: 200%;
  color: #999;
}

.portfolio-menu .active,
.portfolio-menu .active i,
.portfolio-menu-item:hover,
.portfolio-menu-item i:hover {
  color: #1f8dd6;
}

.portfolio-menu-item {
  cursor: pointer;
}

/*PORTFOLIO SIMULATION PROGRESS MENU and BUTTONS*/

.portfolio-simulation-menu {
  margin-top: 2em;
}

.portfolio-simulation-menu-item {
  /*border-bottom: 3px solid #dbdbdb;*/
  color: #dbdbdb;
  font-weight: bold;
  font-size: 75%;
}

.portfolio-simulation-menu-item.active {
  /*border-bottom: 3px solid #1f8dd6;*/
  color: #1f8dd6;
}

#portfolio-simulation-menu-buttons {
  /*border-top:1px solid #dbdbdb;*/
  text-align: center;
}

#portfolio-simulation-menu-buttons .buttons {
  /*margin:1em auto;*/
}

#portfolio-simulation-menu-buttons .buttons .next,
#portfolio-simulation-menu-buttons .buttons .previous {
  margin: 0 0.5em;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0.75em 1.5em;
  margin: 0 auto;
  display: inline-block;
  /*font-weight:bold;*/
}

#create-account-button {
}

#portfolio-simulation-menu-buttons .buttons .previous {
  color: #a6adba;
  /*font-weight:bold;*/
  float: left;
  padding-left: 0;
}

#portfolio-simulation-menu-buttons .buttons .previous {
  cursor: pointer;
  color: #595e7d;
}

#portfolio-simulation-menu-buttons .buttons .previous:hover:not(i) {
  text-decoration: underline;
}

#portfolio-simulation-menu-buttons .buttons .previous i {
  display: inline-block;
  margin-right: 7px;
}

#portfolio-simulation-menu-buttons .buttons .next {
  background-color: #61ff8c;
  border: 2px solid #00063c;
  color: #00063c;
  /* font-size: 120%; */
  border-radius: 4px;
  cursor: pointer;
  padding: 0.75em 1.5em;
  text-decoration: none;
  box-shadow: -4px 4px #00063c;
  font-weight: bold;
  max-width: 350px;
  margin: 0 auto;
}

#portfolio-simulation-menu-buttons .buttons .next.active {
  background: #61ff8c;
  border: 2px solid #00063c;
}

/* #portfolio-simulation-menu-buttons .buttons .next.active:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(transparent),
    color-stop(40%, rgba(0, 0, 0, 0.05)),
    to(rgba(0, 0, 0, 0.1))
  );
  background-image: -webkit-linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
  background-image: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0.05) 0,
    rgba(0, 0, 0, 0.1)
  );
  background-image: -o-linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
  background-image: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
} */

/*----------------------------------------------*/

#portfolio-plan-summary,
#plan-actions-summary {
  font-size: 100%;
  text-align: justify;
}

.light-red-background {
  background-color: #f8d1d5;
}

.light-yellow-background {
  background-color: #f8f4d1;
}

.light-green-background {
  background-color: #d1f8ea;
}

.red-background {
  background-color: #d61f31;
  color: white;
}

.yellow-background {
}

.orange-background {
  background-color: #d6681f;
  color: white;
}

.green-background {
  background-color: #00db71;
  color: white;
}

input[type="range"] {
  width: 100%;
}

.ev-c-select {
  width: 100%;
  /*padding:4px; Same height as text input*/
}

#chart-selector {
  padding: 0.5em;
}

#plan-dashboard .fa-info-circle,
#plan-dashboard .fa-question-circle-o,
#plan-dashboard .fa-question-circle,
#projection-charts .fa-info-circle,
#projection-charts .fa-question-circle-o,
#projection-charts .fa-question-circle,
#plan-actions-results .fa-info-circle,
#plan-actions-results .fa-question-circle-o {
  font-size: 100%;
  color: #999;
  /*float:right;*/
  margin-left: 7px;
  cursor: pointer;
}

#plan-dashboard .fa-info-circle:hover,
#plan-dashboard .fa-question-circle-o:hover,
#projection-charts .fa-info-circle:hover,
#projection-charts .fa-question-circle-o:hover,
#plan-actions-results .fa-info-circle:hover,
#plan-actions-results .fa-question-circle-o:hover {
  color: #1f8dd6;
}

.fa-grip-vertical {
  color: #999;
  cursor: move;
}

.plan-icons i {
  margin-right: 7px;
}

#auto-deposit-div:hover {
  color: white;
  border-color: #1f8dd6;
  background: #1f8dd6;
}

#plan-dashboard .info,
#projection-charts .info,
#plan-actions-results .info {
  font-size: 100%;
  /*margin:.5em 0 3em 0;*/
  display: none;
  /*Default*/
  color: #999;
}

#plan-dashboard #ws {
  font-size: 100%;
}

#auto-deposit-div {
  font-size: 75%;
  float: right;
  display: inline-block;
  color: #1f8dd6;
  border: 1px solid;
  padding: 0 0.5em;
  cursor: pointer;
  margin-left: 0.5em;
  border-radius: 10px;
}

.rounded-horizontal-menu-box {
  padding: 0 1em;
}

.rounded-horizontal-menu > div {
  border: 1px solid #dbdbdb;
  cursor: pointer;
  font-size: 60%;
  padding: 0.5em 0;
}

.rounded-horizontal-menu > .active,
.rounded-horizontal-menu > div:hover {
  background-color: #f5f5f5;
}

.rounded-horizontal-menu > div:nth-child(1) {
  border-radius: 2em 0 0 2em;
  margin: 0 0 0 -2px;
}

.rounded-horizontal-menu > div:nth-child(2) {
  border-left: none;
  border-right: none;
}

.rounded-horizontal-menu > div:nth-child(3) {
  border-radius: 0 2em 2em 0;
  margin: 0 -2px 0 0;
}

#plan-dashboard label,
#projection-charts label,
#plan-actions-results label,
.warning-label label {
  font-size: 100%;
  display: inline;
}

#plan-dashboard input[type="text"],
#plan-dashboard input[type="tel"],
#plan-dashboard select,
#plan-actions-results input[type="text"],
#plan-actions-results input[type="tel"],
#plan-actions-results select,
#portfolio-plan-charts input[type="text"],
#portfolio-plan-charts input[type="tel"] {
  /*border:none;
	border-bottom:1px solid #ccc;
	outline: none;
	appearance:none;
	-webkit-appearance:none;
    color: #1f8dd6;*/
  font-size: 16px;
  width: 100%;
  margin-bottom: 0;
  display: block;
  /*IE input don't go outside box*/
}

#plan-dashboard input[type="text"]:read-only,
#plan-dashboard input[type="tel"]:read-only,
#plan-actions-results input[type="text"]:read-only,
#plan-actions-results input[type="tel"]:read-only {
  color: #666666;
}

#plan-dashboard select,
#plan-actions-results select {
  padding: 1px 0px 1px 0px;
  line-height: 14px;
}

#plan-dashboard input[type="checkbox"] + label,
#plan-actions-results input[type="checkbox"] + label {
  display: inline;
  position: relative;
  bottom: 4px;
}

.grey-box {
  background-color: #fafafa;
  margin-top: 0.5em;
  padding: 0.5em;
}

.plan-recommandation-button-div {
  height: 0em;
  /*reduce gap*/
}

.fa-chevron-up {
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

.fa-chevron-up.reco-down {
  transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
}

.cn {
  position: relative;
  width: 100%;
  height: 100%;
}

.inner {
  position: absolute;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.inner-100 {
  width: 100%;
}

.inner-basic {
  position: absolute;
  -webkit-transform: translate(0%, 0%);
  -moz-transform: translate(0%, 0%);
  -ms-transform: translate(0%, 0%);
  -o-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  top: 50px;
  left: 0%;
  width: 100%;
  padding: 1em;
  /*slight space on mobile with screen border*/
}

.portfolio-plan-status {
  border: 1px solid #dbdbdb;
  padding: 0.75em 2em;
  border-radius: 2em;
}

.plan-buttons-div {
  padding: 1.5em 1em 1em 1em;
}

.plan-parameters-gear,
.plan-autodeposit,
.plan-save {
  color: #dbdbdb;
  cursor: pointer;
}

.plan-parameters-gear:hover,
.plan-autodeposit:hover,
.plan-save:hover {
  color: #1f8dd6;
}

.plan-recommandation label {
  cursor: pointer;
}

/*RECOMMANDATION*/

.recommandation-value {
  cursor: pointer;
  font-size: 100%;
  /*color:#00db71;*/
  /*text-decoration:underline;*/
}

.plan-recommandation:hover {
  text-decoration: underline;
}

.plan-recommandation {
  font-size: 75%;
  color: #999;
}

/*WARNINGS*/

.warning-label {
  font-size: 75%;
  text-align: right;
  color: #d61f31;
  cursor: pointer;
}

.warning-label label {
  cursor: inherit;
}

.warning-label:hover {
  color: #1f8dd6;
}

.warning-label,
.warning-details {
  display: none;
  /*default*/
}

.warning-details {
  border-radius: 4px;
  margin: 0.5em 0 0.5em 0;
  background-color: rgb(214, 31, 49);
  padding: 1em;
  color: white;
}

.warning-buttons {
  margin-top: 1em;
}

.warning-button {
  background: #1f8dd6;
  border: 1px solid #1f8dd6;
  color: white;
  border-radius: 5px;
  padding: 0.5em;
  display: inline-block;
  /*font-weight: bold;*/
}

.warning-link {
  display: inline-block;
  color: white;
  padding: 0.5em;
  font-size: 90%;
}

.warning-button:hover,
.warning-link:hover {
  cursor: pointer;
}

.warning-link:hover {
  color: #1f8dd6;
}

.question-warning {
  color: #ff0062;
}

.personal-data-skip-link {
  text-align: right;
  margin-top: 2px;
  color: #ccc;
  cursor: pointer;
}

.personal-data-skip-link:hover {
  color: #1f8dd6;
}

.personal-data-content {
  width: 98.5%;
  margin: 0.75%;
}
/*input radio - start*/

input[type="radio"] {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  /* width: 100%!important; */
  margin-bottom: 0 !important;
}

input[type="radio"]:focus {
  outline: none !important;
}

input[type="radio"] + label {
  position: relative;
  display: block;
  cursor: pointer;
  padding-left: 1.6em;
  line-height: 2em;
  margin: 0 !important;
}

input[type="radio"] + label:before,
input[type="radio"] + label:after {
  display: inline-block;
  border-radius: 100%;
  position: absolute;
  left: 0;
}

input[type="radio"] + label:before {
  border: 1px solid #ddd;
  content: "";
  top: 0.3em;
  height: 1em;
  width: 1em;
}

input[type="radio"]:checked + label:before {
  border-color: #1f8dd6;
}

input[type="radio"]:checked + label:after {
  content: "";
}

input[type="radio"] + label:after {
  content: none;
  top: 0.635em;
  left: 0.335em;
  background-color: #1f8dd6;
  height: 0.5em;
  width: 0.5em;
}

/*input radio - end*/

.response-description {
  border-left: 3px solid #e5ebed;
  padding-left: 1.3em;
  color: #a6adba;
}

#ws0_auth_div {
  text-align: right;
  color: #d61f31;
}

#ws0_auth_div:hover {
  color: #1f8dd6;
}

#ws0_auth_div,
#ws0_auth_info {
  display: none;
  /*default*/
}

#ws0_auth_info {
  margin: 0.5em 0 3em 0;
  background-color: rgb(214, 31, 49);
  padding: 1em;
  color: white;
}

#ws0_auth_info_label {
  margin-bottom: 1em;
}

#ws0_auth_info_accept {
  background: #1f8dd6;
  border: 1px solid #1f8dd6;
  color: white;
  border-radius: 5px;
  padding: 0.5em;
  display: inline-block;
  /*font-weight: bold;*/
}

#ws0_auth_info_refuse {
  display: inline-block;
  padding: 0.5em;
  font-size: 90%;
}

#ws0_auth_info_accept:hover,
#ws0_auth_info_refuse:hover {
  cursor: pointer;
}

#ws0_auth_info_refuse:hover {
  color: #1f8dd6;
}

.allocation-slider-box {
  padding: 0.75em 0;
}

.legend-circle {
  width: 20px;
  height: 3px;
  margin-bottom: 3px;
  /*-webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;*/
  background: #ccc;
  display: inline-block;
}

.blue-background {
  background: #1f8dd6;
}

.grey-background {
  background: #aaaaaa;
}

.green-bakground {
  background: #00db71;
}

.ev-form .pure-control-group {
  margin-bottom: 1em;
}

.ev-form legend {
  border-bottom: 1px solid #ccc;
  margin: 2em 0 1em 0;
  width: 100%;
  text-transform: uppercase;
}

.ev-form input,
.ev-form select {
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  text-align: center;
  color: #1f8dd6;
}

.ev-form input {
  width: 85px;
  /*Default*/
}

.ev-form input.percent,
.ev-form input.percent1d,
.ev-form input.percent-1-50 {
  width: 40px;
}

.ev-form input.date {
  width: 130px;
}

.ev-form input.age {
  width: 30px;
}

.ev-form input[type="checkbox"] {
  width: auto;
}

.ev-form i {
  margin-right: 10px;
  color: #1f8dd6;
}

.grey-background {
  background: #ccc;
}

#parameters-container .partner {
  display: none;
}

.progress-bar {
  height: 3px;
  background: #dbdbdb;
}

.inner-bar {
  height: 100%;
  background: #1f8dd6;
  -webkit-transition: width 0.5s ease-in-out;
  -moz-transition: width 0.5s ease-in-out;
  -o-transition: width 0.5s ease-in-out;
  transition: width 0.5s ease-in-out;
  width: 0%;
  /*Default*/
}

.questions-holder {
  /*max-width:1024px;*/
  /*height:90vh;*/
  /*border:1px solid #dbdbdb;*/
  /*text-align:center;
	margin:0 auto;
	padding:1em 0em 1em 0em;
	background:white;*/
}

.questionnaire-buttons .buttons .next {
  float: right;
  margin: 1em 0;
}

.questionnaire-buttons {
  padding-top: 1em;
}

.questionnaire-buttons-mobile {
  display: flex;
  flex-direction: row;
  text-align: center;
  cursor: pointer;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-weight: bold;
  z-index: 10;
}

.questionnaire-buttons-mobile-previous {
  background-color: #dbe3e5;
  flex-grow: 1;
  padding: 0.75em 1.5em;
}

.questionnaire-buttons-mobile-continue {
  background-color: #61ff8c;
  flex-grow: 1;
  font-weight: bold;
  padding: 0.75em 1.5em;
}

.questionnaire-buttons-mobile-continue.active {
  background-color: #61ff8c;
}

#plan-questionnaire input[type="text"],
#plan-questionnaire select {
  /*border:none;
	border-bottom:1px solid #ccc;
	outline: none;
    color: #1f8dd6;
	font-size:20px;
	margin: .25em auto;
	border-width:1px;*/
  box-shadow: none;
}

#plan-questionnaire .invalid-input {
  border-color: #ff0062 !important;
  color: #ff0062 !important;
}

#plan-questionnaire {
  /*font-size:16px;*/
}

#plan-questionnaire input[type="text"] {
  /*text-align:right;*/
}

#plan-questionnaire .buttons {
  border-top: 3px solid #dbdbdb;
  text-align: center;
  padding: 1em;
  /*font-weight:bold;*/
}

#plan-questionnaire .buttons .next,
#plan-questionnaire .buttons .previous {
  margin: 0 0.5em;
  border: 1px solid;
  border-radius: 3px;
  margin: 0 auto;
  display: inline-block;
}

#plan-questionnaire .buttons .previous {
  color: #ccc;
  display: none;
  /*default*/
}

#plan-questionnaire .buttons .previous i {
  margin-right: 7px;
  display: inline;
}

#plan-questionnaire .buttons .previous:hover {
  cursor: pointer;
  color: #61ff8c;
}

#plan-questionnaire .buttons .next {
  background: #ccc;
  border-color: #ccc !important;
  color: white;
}

#plan-questionnaire .buttons .next.active {
  background: #00db71;
  border: 1px solid #00db71 !important;
}

#plan-questionnaire .buttons .next.active:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#1a000000', GradientType=0);
  background-image: -webkit-gradient(
    linear,
    0 0,
    0 100%,
    from(transparent),
    color-stop(40%, rgba(0, 0, 0, 0.05)),
    to(rgba(0, 0, 0, 0.1))
  );
  background-image: -webkit-linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
  background-image: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0.05) 0,
    rgba(0, 0, 0, 0.1)
  );
  background-image: -o-linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
  background-image: linear-gradient(
    transparent,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.1)
  );
}

.question {
  display: none;
  /*default*/
}

#plan-questionnaire .partner {
  display: none;
  /*Default*/
}

#plan-questionnaire .radio-list {
  text-align: left;
  margin-left: 0.5em;
}

#plan-questionnaire .age,
#plan-questionnaire .years {
  width: 160px;
}

#plan-questionnaire .euro,
#plan-questionnaire .euroPosPerMonth {
  width: 160px;
}

#plan-questionnaire .zip {
  width: 100px;
}

.max-582 {
  max-width: 582px;
  margin: 0 auto;
}

#plan-questionnaire .title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.1em;
  text-transform: initial;
  letter-spacing: initial;
  margin: 0 0 0 0;
}

#plan-questionnaire .info {
  color: #999;
  display: block;
  /*font-size:10px;
	line-height:1em;*/
}

.questionnaire-2-col input {
  margin: 0.25em auto !important;
}

.lg-margin-bottom {
  margin-bottom: 3em;
}

.ev-stacked-form {
  text-align: left;
  width: 300px;
  margin: 0 auto;
}

.ev-stacked-form label,
.ev-stacked-form input {
  display: block;
  width: 100%;
}

.ev-stacked-form label {
  margin: 1em 0 0.25em 0;
}

.ev-stacked-form input {
  margin: 0.25em 0 0.5em 0;
}

.ev-stacked-form input[type="text"] {
  text-align: left !important;
}

.hidden-select {
  visibility: hidden !important;
  display: none !important;
}

#portfolio-charts {
  overflow-x: hidden;
  /* Avoid horizontal scrolling on d3 chart section at load */
}

#portfolio-charts label {
  /*font-size:9px;*/
  /*To display on one line*/
}

.portfolio-charts-l-box {
  padding: 0em 1em;
}

#composition-container {
  height: 100%;
}

.plan-highlight {
  background-color: #eee;
  /*border:1px solid #dbdbdb;*/
  height: 100%;
  /*to align div on max available*/
}

.plan-highlight .invisible-select {
  background-color: #eee;
}

.plan-highlight-chart {
  margin-top: -1px;
  /*to align with tabs*/
  background-color: white;
  border: 1px solid #dbdbdb;
  height: 100%;
  /*to align div on max available*/
}

.reset-plan-highlight {
  /*Used in jquery to parameter other display properties*/
  /*background-color:#f5f5f5!important;*/
  border: none !important;
}

.main-input-container {
  position: relative;
}

.main-input-container .error {
  color: #d61f31;
}

.main-input-container .success {
  color: #00db71;
}

.simulation-lead-form .isError {
  color: #d61f31;
  border-color: #d61f31 !important;
}

.in-input {
  position: absolute;
  width: auto;
  bottom: 0.5em;
  right: 1em;
}

.l-box-2-2 {
  padding: 1em;
}

.l-box-2-1 {
  padding: 1em;
}

/*PLAN ICONS*/

.chart-menu {
  border-bottom: 1px solid #dbdbdb;
}

.chart-menu > div > div {
  background: white;
  padding: 1em 0;
}

.chart-menu > div.active > div {
  border-bottom: 2px solid #00063c;
  background: white;
  color: #00063c;
  font-weight: bold;
}

.chart-menu label {
  /*font-size:80%;*/
}

.chart-menu label,
.chart-menu i {
  cursor: pointer;
}

.chart-menu i {
  /*font-size:150%;*/
}

.chart-menu .active label,
.chart-menu .active i {
  /*color:#1f8dd6;*/
}

.portfolio-structuration label {
  display: inline;
}

.portfolio-structuration-product {
  border-bottom: 1px solid #dbdbdb;
  border-top: 1px solid #dbdbdb;
  margin-top: -1px;
  /*so line stays thin when 2 blocks follow each other*/
}

.portfolio-structuration-product.on {
  background-color: #eee;
}

div[id*="-icon"] {
  color: #999;
}

div[id*="-icon"]:hover > i,
div[id*="-icon"]:hover > label {
  color: #1f8dd6 !important;
  cursor: pointer;
}

/*PORTFOLIO COMPOSITION ASSET EXPLORER*/

#portfolio-composition .allocation {
  text-align: right;
}

#portfolio-composition .allocation span {
  padding-right: 5px;
}

.asset {
  text-align: left;
}

.level2 {
  display: none;
  /*border-top: 2px solid #cccccc;*/
  /*border-bottom: 2px solid #cccccc;*/
}

.level1 {
  margin: 0;
}

.level1 dt {
  /*margin-top:1em;*/
  padding: 10px 5px 10px 5px;
  border-left: 5px solid #cccccc;
}

.level1 > dt > div > div:hover {
  cursor: pointer;
}

.level2 dt {
  margin-top: 1em;
}

.asset-classification {
  color: #888888;
  cursor: pointer;
  margin-top: 1em;
  font-size: 75%;
  text-align: center;
  /*border-bottom:1px solid #cccccc;*/
}

.asset-classification.active-tab {
  /*background-color:#f5f5f5;*/
  border-bottom: 2px solid #cccccc;
}

.bar {
  display: none;
}

.bar div {
  height: 100%;
  transition: all 0.5s linear;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -ms-transition: all 0.5s linear;
}

.level2 dl {
  display: block;
  -webkit-margin-before: 0;
  -webkit-margin-after: 0;
  /*background-color: #f5f5f5;*/
  /*padding: 0 1em;*/
  color: #888888;
}

.level2 dt {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0;
  border-left: none;
}

#stock {
  border-left-color: #1f8dd6;
  background-color: #e0eef8;
}

#bond {
  border-left-color: #00db71;
  background-color: #d1f8ea;
}

#cash {
  border-left-color: #17a071;
  background-color: #e9f8d1;
}

/*PROJECTION ACCESS MODAL*/

.accessModalIsOpen #projection-screen,
.accessModalIsOpen #portfolio-simulation-menu-buttons {
  -webkit-filter: blur(5px) grayscale(0%);
  -moz-filter: blur(5px) grayscale(0%);
  -o-filter: blur(5px) grayscale(0%);
  -ms-filter: blur(5px) grayscale(0%);
  filter: blur(5px) grayscale(0%);
}

.modal-basic {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.modal-content-basic {
  -webkit-transform: translateY(50%);
  -moz-transform: translateY(50%);
  -ms-transform: translateY(50%);
  -o-transform: translateY(50%);
  transform: translateY(50%);
}

.modal-content-white {
  background: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 1em;
}

#grant-access-to-projection-button.inactive,
#create-account-button.inactive {
  background: #ccc;
  cursor: initial;
}

#grant-access-to-projection-button {
  padding: 1em;
}

/*RADIO INPUT CUSTOMIZATION - START*/

/* The container */

.radio-container {
  display: block;
  position: relative;
  padding-left: 1.75em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */

.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */

.radio-container .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  height: 13px;
  width: 13px;
  background-color: white;
  border-radius: 50%;
  border: 1px solid #dbe3e5;
}

/* On mouse-over, add a grey background color */

.radio-container:hover input ~ .checkmark {
  background-color: #a6adba;
}

/* When the radio button is checked, add a blue background */

.radio-container input:checked ~ .checkmark {
  background-color: white;
  border: 1px solid #00063c;
}

/* Create the indicator (the dot/circle - hidden when not checked) */

.radio-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */

.radio-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */

.radio-container .checkmark:after {
  top: 2px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61ff8c;
}

/*RADIO INPUT CUSTOMIZATION - END*/

/*CHECKBOX INPUT CUSTOMIZATION - START*/

/* The container */

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 1.75em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox button */

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom checkbox button */

.checkbox-container .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  height: 13px;
  width: 13px;
  background-color: white;
  border: 1px solid #ddd;
}

/* On mouse-over, add a grey background color */

.checkbox-container:hover input ~ .checkmark {
  background-color: #d1e9f8;
  border: 1px solid #d1e9f8;
}

/* When the checkbox button is checked, add a blue border */

.checkbox-container input:checked ~ .checkmark {
  background-color: white;
  border: 1px solid #2196f3;
}

/* Create the indicator (the dot/circle - hidden when not checked) */

.checkbox-container .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */

.checkbox-container .checkmark:after {
  top: 0px;
  left: 3px;
  width: 3px;
  height: 6px;
  border: solid #2196f3;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*CHECKBOX INPUT CUSTOMIZATION - END*/

/*REACT SIMULATION MODAL WITH ASSUMPTIONS*/

.modal-form .label-section {
  display: block;
}

.modal-form label {
  display: inline;
}

.modal-form input,
.modal-form select {
  display: inline-block !important;
  width: 100%;
}

.modal-form i {
  display: inline-block;
}

.modal-form i {
  margin-left: 7px;
  color: #999;
  vertical-align: super;
}

.modal-form .info {
  color: #999;
}

.modal-form h3 {
  text-transform: uppercase;
}

/*CHARTS STYLES*/

text {
  fill: #ccc;
}

.line {
  stroke-width: 2px;
  fill: none;
}

.x.axis line,
.y.axis .tick line {
  fill: none;
  stroke-width: 1;
  stroke: white;
}

#gliding-area-chart-output .tooltips-line {
  stroke: white !important;
}

#gliding-area-chart-container .y.axis text {
  fill: white !important;
}

.x.axis .tick line {
  fill: none;
  stroke: none;
}

.y.axis path {
  /*remove the first and last ticks as well*/
  stroke: none;
  fill: none;
}

.x.axis path {
  stroke: #ccc;
  fill: none;
  stroke-width: 1;
}

#portfolio-plan-charts .downside,
#portfolio-plan-charts .allocation {
  /*display:none; Default hidden*/
}

#average-tooltip,
#poor-tooltip,
#stockallocation-tooltip {
  padding-left: 24px;
}

/*ACTIONS*/

.action-holder-header {
  background: #f5f5f5;
  color: #999;
}

.action-holder-header > div {
  padding: 1em 1em 0em 1em;
}

#plan-actions-results i {
  cursor: pointer;
}

#plan-actions-results .fa-pencil-square-o,
#plan-actions-results .fa-pencil,
#plan-actions-results .fa-floppy-o {
  color: #999;
  font-size: 120%;
}

#plan-actions-results .fa-pencil-square-o:hover,
#plan-actions-results .fa-pencil:hover,
#plan-actions-results .fa-floppy-o:hover {
  color: #61ff8c;
}

.btn-toggle {
  background-color: #eee;
  border: none;
  color: #777;
  padding: 0.5em 2em;
  outline: none;
}

.btn-toggle-left {
  border-radius: 2em 0 0 2em;
}

.btn-toggle-right {
  border-radius: 0 2em 2em 0;
}

.btn-toggle-right.on,
.btn-toggle-left.on {
  background-color: #61ff8c;
  color: #00063c;
}

#plan-actions-results .fa-toggle-on {
  color: #61ff8c;
  font-size: 200%;
}

#plan-actions-results .fa-toggle-off {
  color: #999;
  font-size: 200%;
}

.action-portfolio {
  padding: 0.25em 1em;
  /*fit in one screen without scrolling*/
  border-bottom: 1px solid #f5f5f5;
}

.action-portfolio .plan-recommandation,
.action-portfolio .fa-toggle-off,
.action-portfolio .fa-floppy-o {
  display: none;
  /*default*/
}

.action-portfolio-description {
  background: #f5f5f5;
  font-size: 75%;
  padding: 0 1em 1.5em 1em;
  color: #999;
  display: none;
  /*Default*/
}

#projection-screen {
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;
}

/*ACCOUNT CREATION*/

#accountcreation-screen {
  /*font-size:16px;*/
}

@media screen and (min-width: 35.5em) {
  .l-box-2-2 {
    padding-left: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  .l-box-2-1 {
    padding-right: 0.5em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  #plan-questionnaire .title {
    font-size: 32px;
    font-weight: normal;
  }
  #plan-questionnaire .info {
    font-size: 100%;
  }
}

@media screen and (min-width: 48em) {
  #portfolio-plan-second-controllers .l-box-field {
    padding: 0.5em 2em;
  }
  .portfolio-page-detail-container {
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    padding-top: 2em;
  }
  .modal-basic {
    background: none;
  }
  .inner-basic {
    position: fixed;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: auto;
  }
  .portfolio-simulation-menu-item {
    font-size: inherit;
  }
  .cn-md {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .inner-md {
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
  }
  #simulator-wrapper {
    padding-right: 2em;
    padding-left: 2em;
    height: 100%;
  }
  #portfolio-charts label {
    /*font-size:100%;*/
  }
  #plan-dashboard {
  }
  #portfolio-plan-charts {
    height: 100%;
    /*so the div expend on all the available height*/
    padding-top: 3em;
  }
  #portfolio-charts {
    /*height:100%; */
    /*so the div expend on all the available height*/
  }
  .detailed-composition-l-box {
    padding: 1em;
  }
  #portfolio-plan-second-controllers {
    height: 100%;
    /*so the div expend on all the available height*/
  }
  .chart-menu label {
    font-size: 100%;
  }
  #portfolio-simulation-menu-buttons {
    text-align: right;
  }
  /*REACT SIMULATION MODAL WITH ASSUMPTIONS*/
  .modal-form .main-input-container {
    margin-bottom: 1em;
  }
  .modal-form label,
  .modal-form i {
    display: inline-block;
  }
  .modal-form label {
    width: 85%;
    text-align: right;
    margin-right: 1em;
    line-height: 1.3em;
    /*2 lines within input height*/
  }
  .modal-form input,
  .modal-form select {
    display: inline-block !important;
    margin-bottom: 0 !important;
  }
  .modal-form input,
  .modal-form select,
  .modal-form label,
  .modal-form i {
    vertical-align: middle !important;
  }
  .modal-form .info {
    margin-left: 16em;
    width: 20em;
  }
  .dashboard .projection-next-button-container {
    position: static;
    text-align: right;
    padding: 1em 0em 0 0;
  }
  .dashboard .story-action-panel {
    float: left;
    text-align: left;
    min-width: 350px;
  }
}

@media screen and (min-width: 64em) {
  .simulation-wrapper {
    font-size: 10.5px;
    line-height: 1.7em;
  }
  .chart-box {
    padding: 0em 1em;
  }
  .portfolio-charts-l-box {
    padding: 1em 1em 1em 0em;
  }
  .composition-l-box {
    margin-right: 1em;
  }
  .l-box-full {
    padding: 1em 2em 1em 2em;
  }
  .l-box-half {
    padding: 0.5em;
  }
  #plan-dashboard input[type="text"],
  #plan-dashboard input[type="tel"],
  #plan-dashboard select,
  #plan-actions-results input[type="text"],
  #plan-actions-results input[type="tel"],
  #plan-actions-results select {
  }
  /*PLAN ICONS*/
  .chart-menu > div > div {
    /*padding:1.5em 0;*/
  }
  .summary-container {
    border: 1px solid #dbdbdb;
    background-color: white;
    margin: 1em 1em 0 1em;
  }
  .page-content-container {
    padding: 1em;
  }
  .summary-portfolio-picklist-container {
    background-color: white;
    height: 100%;
    position: inherit;
  }
  .portfolio-picklist-div {
    padding: 1em;
  }
  .portfolio-picklist-label {
    display: block;
  }
  .portfolio-picklist-div:after {
    padding: 3.2em 3em 0 0;
  }
  .summary-portfolio-data-container {
    margin: 0;
    border: none;
    padding: 0;
  }
  .summary-picklist {
    width: 100%;
    border-radius: 5px;
    margin-top: 0;
    color: #1f8dd6;
    border: 1px solid #dbdbdb;
  }
  .portfolio-menu {
    position: inherit;
    font-size: 100%;
    color: inherit;
    border-top: none;
    background-color: transparent;
    padding: 0;
  }
  .portfolio-menu > div > div {
    margin-bottom: -2px;
  }
  .portfolio-menu i {
    display: none;
  }
  .portfolio-menu .active,
  .portfolio-menu-item:hover {
    border-bottom: 2px solid #1f8dd6;
  }
  .bar {
    display: block;
  }
  .projection-buttons {
    border: none !important;
  }
  #plan-questionnaire .buttons {
    text-align: center;
    padding: 0em 0em;
  }
  /*ACTIONS*/
  .action-portfolio label {
    font-size: 100% !important;
    line-height: 2.1em;
  }
  .action-portfolio .plan-recommandation label {
    font-size: 75% !important;
  }
  .action-portfolio-value,
  .action-portfolio-input,
  .action-portfolio-input input,
  .action-sum {
    text-align: right;
  }
}

@media screen and (min-width: 90em) {
  /*1440px*/
  .simulation-wrapper {
    font-size: 16px;
    line-height: 1.7em;
  }
  #plan-questionnaire,
  #plan-questionnaire input[type="text"],
  #plan-questionnaire select {
  }
  #portfolio-plan-second-controllers .l-box-field {
    /*padding:1em 2em;*/
  }
  .plan-recommandation,
  .warning-label {
    font-size: 90%;
  }
  #portfolio-simulation-menu-buttons .buttons,
  #plan-questionnaire .buttons {
  }
}

/*IE hacks*/

/*IE10 and up*/

@media (max-width: 48em) {
  .projection-next-button-container .projection-next-button {
    border-radius: 0 !important;
    max-width: 100% !important;
  }
  .projection-next-button-container {
    width: 100%;
    position: fixed;
    max-width: 100%;
    bottom: 0;
    left: 0;
  }
}
