/*
Bootstrap grid 
Extra small devices Phones (<768px)	
Small devices Tablets (≥768px)	
Medium devices Desktops (≥992px)	
Large devices Desktops (≥1200px)
*/

/* jquery date picker calendar popup*/
div.ui-datepicker {
    font-size: 14px;
    z-index: 3 !important;
}

/* Special formatting for smoking question tooltip. We want multiline with controlled line breaks. */
#isOrHasBeenSmokingHelpTooltip + .tooltip > .tooltip-inner {
    white-space: pre;
    text-align: left;
}

/* Special formatting for other illnesses question tooltip. We want multiline with controlled line breaks. */
#isThereSuspicionOfOtherIllnessHelpTooltip + .tooltip > .tooltip-inner {
    white-space: pre;
    text-align: left;
}

.ehd-standard-subquestions-form {
    background: rgba(0, 0, 0, 0.018);
    border: 1px solid #d9d9d9;
    padding: 15px 15px 0 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.ehd-question-group {
    background: rgba(0, 0, 0, 0.018);
    border: 1px solid #d9d9d9;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.ehd-standard-subquestions-table-header {
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

.ehd-checkbox-label {
    margin-top: 10px;
    margin-left: 25px;
}

.ehd-illness-table {
    margin-top: 15px;
    width: 100%;
}

.ehd-manageable-list-table {
    margin-bottom: 15px;
}

.ehd-wide-button {
    width: 110px;
}

.ehd-info-box {
    background-color: #b6d8df;
    padding: 0.5cm;
}

.ehd-illness-table td {
    padding: 10px 5px 12px 0px;
}

.ehd-illness-table tr {
    border: 1px solid #d9d9d9;
    border-width: 1px 0 1px 0;
}

.ehd-table-selected-row {
    background: rgba(0, 0, 0, 0.018);
}

.ehd-table-text-column {
    width: 80%;
    margin-left: 20px;
}

.ehd-description-container {
    padding-left: 20px;
    padding-right: 20px;
}

.ehd-table-text-column-content {
    margin-left: 20px;
}

.ehd-standard-subquestions-table-no-border {
    border-top: 0px;
}

.ehd-standard-subquestions-buttons {
    margin-top: 15px;
    margin-bottom: 25px;
}

.ehd-textinput-container {
    position: relative !important;
}

/* Hide placeholder text on focus in input fields */

.ehd-slideinlabel-input:focus::-webkit-input-placeholder {
    visibility: hidden;
}

.ehd-slideinlabel-input:focus:-moz-placeholder {
    visibility: hidden;
}

.ehd-slideinlabel-input:focus::-moz-placeholder {
    visibility: hidden;
}

.ehd-slideinlabel-input:focus:-ms-input-placeholder {
    visibility: hidden;
}

/* Implements placeholder bar slide in on focus to input fields. */

.ehd-slideinlabel-input {
    color: #000000 !important;
    width: 100% !important;
    padding-top: 14px !important;
    padding-bottom: 13px !important;
    padding-left: 14px !important;
    outline: none !important;

    border-radius: 4px !important;
    border-width: 1px !important;
    border-color: #d9d9d9 !important;
    border-style: solid !important;
}

.ehd-slideinlabel-label {
    position: absolute !important;
    bottom: 0 !important;
    width: 100% !important;
    display: block !important;
    z-index: 10 !important;
    background-color: black !important;
    color: white !important;
    padding-left: 15px !important;
    font-size: 11px !important;
    line-height: 13px;
    font-family: "Open Sans", Arial, sans-serif !important;
    height: 0px !important;
    margin-bottom: 0;

    visibility: hidden;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.ehd-slideinlabel-input:focus ~ .ehd-slideinlabel-label {
    visibility: visible;
    height: 14px !important;
    transition: height 0.2s !important;
}

.ehd-slideinlabel-input:focus {
    color: #000000 !important;
    padding-top: 7px !important;
    padding-bottom: 20px !important;
    border-style: solid !important;
    border-width: 1px !important;
}

/* Misc styles */

.ehd-banner-logo {
    padding-top: 20px;
}

.ehd-main-container {
    margin-top: 35px;
}

.ehd-update-browser-container {
    margin-bottom: 65px;
}
.ehd-title-container {
    padding-bottom: 40px;
}

.ehd-title-filler {
    margin: 20px 0;
}

.ehd-clickable {
    cursor: pointer;
}

.ehd-diseases-section-error {
    margin-left: auto;
}

.ehd-personalinformation-section-error {
    margin-left: auto;
}

.ehd-general-section-error {
    margin-left: auto;
}

.ehd-cancel-dialog-cancel-button {
    margin-right: 10px;
}

.ehd-diseases-question {
    margin-top: 5px;
    margin-bottom: 5px;
}
.ehd-diseases-section {
    margin-right: -20px;
}

.ehd-other-illnesses {
    margin-bottom: 15px;
}

.ehd-other-illness-question-container {
    padding-top: 5px;
}

.ehd-personal-questions-child-container {
    margin-top: 15px;
}

.ehd-personal-questions-child-questions-container {
    margin-bottom: 5px;
}

.ehd-maincaretaker-container {
    margin-top: 5px;
}

.ehd-personal-information-spinner {
    margin-left: 0;
}

.ehd-save-draft-section {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.ehd-save-draft-phone {
    color: #337ab7;
}

.yellow-button-text-to-gray {
    color: #333333;
}

.ehd-black-button {
    padding: 10px 20px;
    line-height: 20px;
}

.ehd-cancel-dialog-button-container {
    text-align: center;
}

.ehd-network-error-container {
    position: fixed;
    left: 50%;
    z-index: 1;
}

.ehd-network-error-inner-container {
    position: relative;
    left: -50%;
}

.ehd-help-text {
    cursor: help;
}

.ehd-help-text:not(#helpInstructionToolTip) {
    float: right;
}

.ehd-text-area-input {
    height: 90px;
    max-width: none;
}

.ehd-text-area-input-label {
    display: inline-block;
    margin-bottom: 10px;
}

.ehd-error-page-button-container {
    margin: 20px 0;
}

.ehd-success-page-button-container {
    margin: 40px 0 20px 0;
}

.ehd-reviewed-section {
    margin-top: 15px;
}

.ehd-reviewed-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.ehd-diseases-container {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.ehd-powerofattorney-doctor-list {
    list-style: none;
}

.ehd-powerofattorney-textarea-list-item {
    list-style: none;
    padding: 0;
}

.send-button {
    margin-right: 1px;
}

.ie9-placeholder {
    color: #aaa;
}

.dropdown-time {
    width: 90px !important;
}

.ecmt-width-1of6 {
    width: 16.66%;
}

.ecmt-width-1of7 {
    width: 14.28%;
}

.ecmt-width-1of8 {
    width: 12.5%;
}

.ecmt-width-1of9 {
    width: 11.11%;
}

.ecmt-width-5of6 {
    width: 83.33%;
}

.ecmt-width-5of6 {
    width: 83.33%;
}

.ecmt-width-11of12 {
    width: 91.66%;
}

.ecmt-width-1of12 {
    width: 8.33%;
}

hr {
    border-top: 1px solid #d9d9d9;
}

.ehd-test-bank-login {
    margin-top: 10px;
}

/* personal information section */
.personal-information-field {
    background: rgba(242, 242, 242, 1);
    display: block;
    padding: 6px 10px;
    font-size: 12px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

.personal-information-1of2-aligned-left {
    width: calc(50% - 6px);
}

.personal-information-1of2-aligned-right {
    width: calc(50% - 6px);
    padding: 0 0 0 8px;
}

.personal-information-1of4-aligned-left {
    width: calc(25% - 6px);
}

.personal-information-1of4-aligned-right {
    width: calc(25% - 6px);
    padding: 0 0 0 8px;
}

@media screen and (max-width: 660px) {
    .personal-information-1of2-aligned-right {
        padding: 0;
    }
    .personal-information-1of4-aligned-right {
        padding: 0;
    }
}

@media screen and (max-width: 980px) and (min-width: 661px) {
    span.policy-number-xs-top-margin {
        margin-top: 1.575em !important;
    }
}

@media screen and (max-width: 660px) {
    .separation-hide-xs {
        display: none;
    }
}

/* ngDialog*/
.ngdialog-content {
    background: white !important;
    font-family: "Open Sans", Arial, sans-serif !important;
    line-height: 1.575em !important;
    font-size: 14px !important;
    color: #333 !important;
}

.ecmt-form textarea {
    height: 110px;
}

/*Turn Off Number Input Spinners*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spinner {
    float: left;
    margin-right: 10px;
}
.collapsable-panel-header {
    border-top: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 4px;
    padding: 10px 10px 10px 15px;
    font-weight: bolder;
    font-size: 16px;
}

.collapsed-panel-header {
    background-color: white;
}

.expanded-panel-header {
    background: rgba(0, 0, 0, 0.018);
}

.collapsable-arrow {
    float: right;
    cursor: pointer;
    font-family: If-icons;

    line-height: 1.5em;
    width: 1.5em;
    text-align: center;
}

.collapsable-arrow.down {
    border-radius: 40px;
    background: #f4f4f4;
}

.small-collapsable-arrow {
    float: right;
    cursor: pointer;
    font-family: If-icons;
    line-height: 1.5em;
    width: 1.5em;
    text-align: center;
    margin-top: 5px;
    margin-right: 11px;
}

.small-collapsable-arrow.down {
    border-radius: 40px;
    background: #f4f4f4;
    margin-top: 5px;
    margin-right: 11px;
}

.tooltip-arrow {
    padding: 0 !important;
}

.text-bold {
    font-weight: bold;
}

.text-underline {
    text-decoration: underline !important;
}

.ehd-adoption-questions {
    margin-bottom: 5px;
}

.additional-questions {
    display: block;
    margin-bottom: 5px;
}

.diseases-additional-questions {
    margin-left: 45px;
}

.unlisted-diseases-additional-questions {
    margin-left: 30px;
}

.expanding-container {
    border-bottom: 1px solid #d9d9d9;
    display: block;
    margin: 0 0 0 0;
    padding: 15px;
}

.expanding-container.selected {
    background-color: #f4f4f4;
}

.expanding-container:first-child {
    padding-left: 15px;
    padding-top: 10px;
}

.question-selected {
    background: rgba(0, 0, 0, 0.01);
}

.question-level-1 {
    padding-left: 15px;
}

.ehd-selected-checkbox {
    background-color: rgba(0, 0, 0, 0.018);
}

.selected-category {
    font-weight: 600;
}

.question-level-1.margin {
    margin-top: 4px;
    border-bottom: 1px solid #d9d9d9;
    border-top: 1px solid #d9d9d9;
}

.question-level-2 {
    margin-top: -1px;
    padding: 3px 0px 3px 15px;
    margin-left: 15px;
}

.question-level-3 {
    padding: 5px 15px 5px 30px;
    margin-left: 15px;
}

.question-level-4 {
    padding: 5px 15px 5px 30px;
    margin-left: 30px;
}

.question-level-5 {
    padding: 5px 15px 5px 30px;
    margin-left: 45px;
}

.question-required-error {
    border: 1px solid #ab2840 !important;
}

.boolean-question-required-error-left {
    border-top: 1px solid #ab2840 !important;
    border-bottom: 1px solid #ab2840 !important;
    border-left: 1px solid #ab2840 !important;
}

.boolean-question-required-error-right {
    border-top: 1px solid #ab2840 !important;
    border-bottom: 1px solid #ab2840 !important;
    border-right: 1px solid #ab2840 !important;
}

.no-margin-top {
    margin-top: 4px;
}

.tooltip.top {
    display: inline-block !important;
    vertical-align: bottom;
    bottom: 30px;
    top: auto !important;
}

.custom-datepicker {
    background-image: url(../img/calendar.png);
    background-position: 95% 48%;
    background-repeat: no-repeat;
    background-size: 18px;
}
.error-message {
    color: #ab2840;
    left: 15px;
    position: relative;
}

.error-text {
    color: #ab2840;
}

.error-field {
    border: 1px solid #ab2840 !important;
}
.error-notification {
    color: #ab2840;
    font-weight: normal;
    font-size: 14px;
}

.info-message {
    color: #4b737b;
}
.remove-message {
    color: #ffe49c;
}

.remove-message-black {
    color: #000;
}

.modify-message-yellow {
    color: #ffe49c;
}

.field-help-text {
    font-size: 12px;
    color: #999999;
}

.strike-text {
    text-decoration: line-through;
}
.option-button {
    width: 140px;
}
.big-option-button {
    width: 190px;
}
.extra-big-option-button {
    width: 250px;
}

.form-horizontal .control-label.label-align-left {
    text-align: left;
}
.ecmt-button.active {
    background-color: #68aad5;
}

.separation {
    margin-top: 15px;
}

.form-section {
    padding: 0 5px 9px 0px;
}

.ehd-boolean-question-button {
    float: left;
    top: 5px;
    position: relative;
    /*margin-right: 5px;*/
}

#saveIllness {
    margin-right: 2px;
}

.ehd-boolean-question {
    padding-left: 4px;
    margin-left: -2px;
    padding-right: 4px;
    margin-top: -1px;
    margin-right: 5px;
}

.ehd-boolean-question-label {
    margin-left: 25px;
}

.ehd-boolean-question-label-error {
    color: #ab2840;
}

.ehd-boolean-question-error {
    border: 1px solid #ab2840;
    float: left;
    padding-bottom: 10px;
    border-radius: 2px;
    padding-left: 4px;
    margin-left: -2px;
    padding-right: 4px;
    margin-top: -1px;
    margin-right: 5px;
}

.ehd-footer {
    margin-top: 20px;
}

@media only screen and (max-width: 767px) {
    body,
    .form-control,
    .btn {
        font-size: 12px;
    }

    /*@media only screen and (min-width : 661px) {
		[name="p1Form"] #address {
			width: 195px;
		}
		[name="p1Form"] button {
			width: 210px;
		}    
	}*/

    .option-button {
        width: 130px;
    }
    .big-option-button {
        width: 140px;
    }

    .extra-big-option-button {
        width: 200px;
    }
    .option-button,
    .big-option-button,
    .extra-big-option-button {
        padding-left: 0px;
        padding-right: 0px;
    }

    .phone-left-margin {
        margin-left: -13px;
    }
}

/*
@media only screen and (min-width : 768px) and (max-width : 991px) {
	[name="p1Form"] #address {
		width: 195px;
	}
	[name="p1Form"] button {
		width: 210px;
	}    
}	    	
@media only screen and (min-width : 992px) and (max-width : 1199px) {
	[name="p1Form"] #address {
		width: 307px;
	}    
	[name="p1Form"] button {
		width: 210px;
	}    
}			
@media only screen and (min-width : 1200px) {
	[name="p1Form"] #address {
		width: 307px;
	}    
	[name="p1Form"] button {
		width: 210px;
	}    
}*/

/*PANEL SIZING*/
@media only screen and (max-width: 1000px) {
    .panel {
        width: 100%;
    }
}
@media only screen and (min-width: 1001px) and (max-width: 1100px) {
    .panel {
        width: 100%;
    }
}
@media only screen and (min-width: 1101px) and (max-width: 1300px) {
    .panel {
        width: 75%;
        margin-left: 12.5%;
    }
}
@media only screen and (min-width: 1301px) {
    .panel {
        width: 60%;
        margin-left: 20%;
    }
}

.ehd-banner {
    border-bottom: 1px solid grey;
    padding-bottom: 25px;
}

.ehd-center {
    text-align: center;
}

.ehd-left {
    text-align: left;
    margin-left: 80px;
}

.ehd-underline {
    border-bottom: 1px solid grey;
}

.ehd-subheader {
    font-weight: 300;
    font-size: 22px;
    margin-top: 20px;
    line-height: 1.5;
}

.non-bold {
    font-weight: normal;
}

.label-align-right {
    text-align: right;
}

.ehd-landingpage-info {
    font-size: 14px;
}

.ecmt-button {
    font-size: 14px;
}

.no-padding {
    padding: 0 !important;
    margin: 0 !important;
}
.product-notice {
    font-weight: normal;
    font-size: 14px;
}

a.ehd-document-link {
    padding-left: 25px;
    background: transparent url("../img/icon-pdf.png") no-repeat top left;
}

#anchorBottom {
    display: block;
}

/* For bootstrap tooltips on narrow screen */
@media (max-width: 660px) {
    .tooltip-inner:not(#helpInstructionToolTip) {
        max-width: 230px !important;
        padding: 3px 8px 3px 25px !important;
    }
}

input[type="checkbox"] {
    margin-top: 10px;
}

.gb-expandable-header {
    background-color: #f2f2f2;
}

.gb-expandable-title {
    min-height: 22px;
}

#personalInformationHeader {
    border-top: 0.0625rem solid #7c7c7c;
}

.gb-expandable:first-child {
    border-top: none;
}

fieldset {
    display: block;
}

label {
    font-family: inherit;
    font-weight: 400;
}

input[type="text"]:invalid:focus,
textarea:focus,
textarea:invalid:focus {
    box-shadow: none;
}

input[type="text"]:focus {
    box-shadow: 0 0 0 0.125rem #4d90fe;
}

ol ul {
    list-style-type: disc;
}

/* Web component */
form#editPerson {
    margin-top: 15px;
    max-width: 50%;
}

form#editPerson li {
    min-height: 40px;
}

form#editPerson span.ecmt-field-label {
    display: none;
}

form#editPerson span {
    font-weight: bold;
}

form#editPerson input {
    color: #000000 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    padding-left: 5px !important;
    outline: none !important;
    border-radius: 4px !important;
    border-width: 1px !important;
    border-color: #d9d9d9 !important;
    border-style: solid !important;
    min-width: 250px;
}

hr.component-divider {
    margin-bottom: 20px;
}

li.mypages-label {
    width: 35%;
}

li.mypages-label label {
    font-weight: bold;
    margin-bottom: 5px;
}

li.mypages-labeled {
    font-weight: normal !important;
}

.boolean-with-list {
    margin-bottom: 0;
}

.norwegian-general-questions-sub-question {
    margin-left: 10px;
}

.multi-choice {
    margin-bottom: 10px;
}

.diseases-section-multi-choice {
    margin-bottom: 0;
    margin-left: 45px;
}

.response-correctness-confirmation-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #f2f2f2;
    padding: 24px;
    border-radius: 12px;
    margin-top: 16px;
    margin-bottom: 24px;
}
