/*TODO VOIR POUR LE COTÉ RESPONSIVE */
/* TODO VOIR LES STYLES D INPUT */
@font-face {
    font-family: InterSemiBold;
    src: url("../assets/inter_semi_bold.otf");
    font-weight: bold;
}

@font-face {
    font-family: InterRegular;
    src: url("../assets/inter_regular.otf");
    font-weight: 400;
}

@font-face {
    font-family: OpenSansItalic;
    src: url("../assets/open_sans_italic.ttf");
    font-style: italic;
    font-weight: 400;
}

#helvetia-quotation-form {
    --border-color: #C6C6C7;
    --input-border-color: #939496;
    --background-color: white;
    --breadcrumb-text-color: #5C5C5C;
    --red: #FC1D00;
    --red-button: #D91A15;
    --grey-button: #939496;
    --darker-button: #4f4f52;
    --grey-text: #8D8E8F;
}

#helvetia-quotation-form .content .left {
    width: 80%;
    display: inline-block;
    float: left;
}

#helvetia-quotation-form .content .right {
    width: 20%;
    display: inline-block;
}

/* HEADINGS  AND PARAGRAPHS */
#helvetia-quotation-form img {
    margin-right: 10px;
    position: relative;
    top: 3px;
    height: 23px;
}

#helvetia-quotation-form h3 {
    font-family: "InterSemiBold";
    font-size: 25px;
    color: #131120;
}

#helvetia-quotation-form label, #helvetia-quotation-form p {
    font-family: "InterRegular";
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: black;
}

/* BUTTON */
#helvetia-quotation-form button {
    border: 0px;
    font-weight: bold;
    color: white;

    padding: 10px;
    border-radius: 10px;
    margin-right: 0px;
    margin-left: 0px;
    outline: none;
}

#helvetia-quotation-form .right button {
    width: 100%;
    background-color: var(--red-button);
    margin-bottom: 15px;
}

#helvetia-quotation-form  .text-icon {
    font-size: 25px;
    margin-right: 10px;
    line-height: 25px;
    position: relative;
    top: 3px;
    font-weight: bold;
}

/* INPUT */
#helvetia-quotation-form input, #helvetia-quotation-form textarea,  #helvetia-quotation-form select {
    border: 1px solid var(--input-border-color);
    width: 100%;
}

#helvetia-quotation-form input:focus-visible,
#helvetia-quotation-form input:focus,
#helvetia-quotation-form input:hover,
#helvetia-quotation-form textarea:focus-visible,
#helvetia-quotation-form textarea:focus,
#helvetia-quotation-form textarea:hover,
#helvetia-quotation-form select:focus-visible,   
#helvetia-quotation-form select:focus,
#helvetia-quotation-form select:hover {
    border: 1px solid var(--darker-button);
    outline: none;
}

#helvetia-quotation-form input::placeholder, 
#helvetia-quotation-form textarea::placeholder,
#helvetia-quotation-form select::placeholder {
    color: var(--grey-text);
    font-size: 14px;
    font-family: "OpenSansItalic";
    font-variant: "italic";
    padding-left: 10px;
}

#helvetia-quotation-form  input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
}

#helvetia-quotation-form  input[type=checkbox] {
    border-radius: 4px;
    height: 17px;
    width: 17px;
    background: #fff;
    border: 1px solid var(--darker-button);
}

#helvetia-quotation-form  input[type="checkbox"]:checked {
    background: var(--red);
    margin:0px;
    position: relative;
    border: 1px solid var(--red);
    &:before {
      content: '\2713';
      display: block;
      color: white;
      font-size: 14px;
      font-weight: bold;
      position: relative;
      top: -4px;
      left: -2px;

    }
}

#helvetia-quotation-form .checkbox-input label {
    margin-left: 10px;
    margin-top: -7px;
    display: inline;
}

#helvetia-quotation-form .radio-input {
    margin-bottom: 3px;
}

#helvetia-quotation-form input[type="radio"] {
    display: none;
  }
  
  #helvetia-quotation-form input[type="radio"] + label:before {
    content: "";
    /* create custom radiobutton appearance */
    display: inline-block;
    width: 17px;
    height: 17px;
    padding: 3px;
    margin-right: 10px;
    background-clip: content-box;
    border: 1px solid var(--darker-button);
    background-color: white;
    border-radius: 50%;
  }
  
  #helvetia-quotation-form input[type="radio"]:checked + label:before {
    background-color: var(--red);
    border: 1px solid var(--red);
  }

  #helvetia-quotation-form select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    padding: 5px;
    background-color: #fff;
    border: 1px solid var(--darker-button);
    border-radius: 0.25rem;
    color: #000;
    cursor: pointer;

    background: url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat;
    background-position: calc(100% - 0.75rem) center !important;
    padding-right: 2rem !important;
    }

#helvetia-quotation-form .datepicker-controls button {
    border-radius: 0px;
}

#helvetia-quotation-form .datepicker-cell.selected {
    background-color: var(--red);
}

#helvetia-quotation-form .choices[data-type*=select-one] .choices__inner {
    padding-top: 0px;
    padding-bottom: 0px;
}

#helvetia-quotation-form .choices input[name="search_terms"] {
    background-color: #f8f6f6!important;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    min-height: 34px;

    background: url('/wp-content/plugins/helvetia-quotation-form/assets/icon/search.png');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position-x: 5px;
    background-position-y: 5px;
    padding-left: 30px;
}

#helvetia-quotation-form .autoComplete_wrapper {
	width: 100%
}

#helvetia-quotation-form  .autoComplete_wrapper>input {
	height: inherit!important;
}

#helvetia-quotation-form  .autoComplete_wrapper>input, .autoComplete_wrapper>input:focus, .autoComplete_wrapper>input:hover {
    color: inherit!important;
}

#helvetia-quotation-form .autoComplete_wrapper>ul {
    /*position: relative!important;
    top: -5px;*/
    box-shadow: 0 3px 16px 9px rgba(149,157,165,.15)!important;
    top: 27px !important;
    border-radius: 0px!important;
}

#helvetia-quotation-form .autoComplete_wrapper>ul[hidden] {
    display: none!important;
}

#helvetia-quotation-form .autoComplete_wrapper>ul>li:hover {
    background-color: rgb(134 132 132 / 15%)!important;
}

#helvetia-quotation-form .autoComplete_wrapper>ul.autocompleteList_address {
    top: 35px!important;
}

#helvetia-quotation-form  .datepicker-input {
    padding-left: 35px;
}

#helvetia-quotation-form  .datepicker-input::placeholder {
    padding-left: 0px;
    margin-left: 0px;
}

#helvetia-quotation-form .choices__inner {
    min-height: auto!important;
	background-color: transparent!important;
    padding-right: 0px;
    padding-left: 0px;
    width: calc(100% - 2px);
}

@media (min-width: 640px) {
	.choices__list .choices__item {
		padding-right: inherit!important;
	}	
}

#helvetia-quotation-form .dropzone {
    border: 2px dashed var(--grey-button);
}

#helvetia-quotation-form .dz-message button {
    background-color: transparent!important;
    color: var(--grey-text)!important;
}

#helvetia-quotation-form .dz-image img {
    position: inherit;
    top: unset;
    height: unset;
}

#helvetia-quotation-form .dz-remove {
    text-decoration: underline;
}

/*BREADCRUMB*/
#helvetia-quotation-form .breadcrumb {
    display: inline-block;
    width: 100%;
    padding: 0px;
    margin: 0px;

    margin-bottom: 30px;
}

#helvetia-quotation-form .breadcrumb li {
    display: inline-block;
    margin-right: 50px;
    
    background-color: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    padding-right: 20px;
    
    color: var(--breadcrumb-text-color);
}

#helvetia-quotation-form .breadcrumb li .content, #helvetia-quotation-form .breadcrumb li .progress {
    padding-top: 7px;
    padding-bottom: 5px;
    display: table-cell;
}

#helvetia-quotation-form .breadcrumb li .progress {
    display: none;
    background-color: var(--red-button);
    border-radius: 10px;

    padding-left: 20px;
    padding-right: 10px;
    vertical-align: middle;
}

#helvetia-quotation-form .breadcrumb li.current-step .progress, #helvetia-quotation-form .breadcrumb li.iterated-step .progress {
    display: table-cell;
}

#helvetia-quotation-form .breadcrumb li .content {
    padding-left: 10px;
}

#helvetia-quotation-form .breadcrumb li .content span {
    font-family: "InterRegular";
    font-size: 16px;
    line-height: 24px;

    position: relative;
    top: -5px;
}

#helvetia-quotation-form .breadcrumb li .content img {
    margin-right: 5px;
}

#helvetia-quotation-form .breadcrumb li.current-step {
    background-color: var(--red);
    color: white;
    position: relative;
}

#helvetia-quotation-form .breadcrumb li.iterated-step {
    background-color: var(--grey-button);
    color: white;
}

#helvetia-quotation-form .breadcrumb li.iterated-step .progress {
    display: none;
}

/*FORM*/
#helvetia-quotation-form .content::after {
    content: '';
    clear: both;
}

#helvetia-quotation-form .step {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#helvetia-quotation-form .submit-container {
    display: inline-block;
    float: right;
}

#helvetia-quotation-form .submit-container::after {
    content: '';
    clear: both;
}

#helvetia-quotation-form  .step-side-content {
    display: inline-block;
    width: 100%;
}

#helvetia-quotation-form  .step-side-content > div {
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;

    background-color: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

/*QUESTION GROUP*/
#helvetia-quotation-form .step .question-group {
    width: calc(50% - 30px);
    flex: none;
    margin-bottom: 25px;
    padding-top: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;

    background-color: var(--background-color);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

#helvetia-quotation-form .step .question-group.fullwidth {
    width: 100%;
}

#helvetia-quotation-form .step .question-group .group-label {
    margin-bottom: 10px;
}

#helvetia-quotation-form .question-field {
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

#helvetia-quotation-form .question-col {
    flex-grow: 1;
}

#helvetia-quotation-form .question-col:first-child {
    padding-right: 10px;
}

#helvetia-quotation-form .question-col:last-child {
    padding-left: 10px;
}

#helvetia-quotation-form .question-row {
    display:flex;
    flex-direction: row;
    width: 100%;
}

#helvetia-quotation-form .question-field .field-icon {
	position: absolute;
    max-height: 20px;
	top: 32px;
	left: 5px;
}

#helvetia-quotation-form .question-field .required-indicator {
    color: var(--red);
}

#helvetia-quotation-form .modal-container {
    clear: both;
}

#helvetia-quotation-form input {
    padding: 5px;
    line-height: 1;
}

#helvetia-quotation-form .step .question-group button {
    background-color: var(--red-button);
    border-color: var(--red-button);
    color: white;
}

#helvetia-quotation-form .question-field.has-errors input:not([type="checkbox"], [type="radio"]),
#helvetia-quotation-form .question-field.has-errors textarea,
#helvetia-quotation-form .question-field.has-errors select  {
    border-color: var(--red);
}

#helvetia-quotation-form .question-field.has-errors .radio-container,
#helvetia-quotation-form .question-field.has-errors .checkbox-container
{
    border: 1px solid var(--red);
    border-radius: 3px;
}

#helvetia-quotation-form .question-field.has-errors .error-message {
    color: var(--red);
}

#helvetia-quotation-form .error-message {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

#helvetia-quotation-form .question-field .error-message:nth-of-type(1) {
    padding-top: 5px;
}

#helvetia-quotation-form .question-field .timeControl {
    display: flex;
}

#helvetia-quotation-form .question-field .timeControl .unitLabel {
    margin-left: 10px;
    margin-right: 10px;
} 

#helvetia-quotation-form .question-field .timeslotrow {
    display: flex;
    flex-direction: row;
    margin-bottom: 7px;
}

#helvetia-quotation-form .question-field .timeslotrow select,
#helvetia-quotation-form .question-field .timeslotrow input {
    margin-right: 7px;
}

#helvetia-quotation-form .question-field .timeslotrow .removeSlot {
    height: 17px;
    position: relative;
    top: 3px;
}

#helvetia-quotation-form .question-field .addSlot {
    font-size: 14px;
    width: 100%;
}

#helvetia-quotation-form .question-field .addSlot img {
    filter: brightness(0) invert(1);
    width: 16px;
    height: 16px;
}

#helvetia-quotation-form .timeslot-container.has-errors select {
    border: 1px solid red;
}

#helvetia-quotation-form .timeslot-container.has-errors .error-message {
    color: red;
}

/*
#helvetia-quotation-form .question-field .error-message:last {
    padding-bottom: 5px;
}
*/


/*MODAL*/
#helvetia-quotation-form .hystmodal__window {
    border-radius: 10px;
}

#helvetia-quotation-form .modal-title, #helvetia-quotation-form .modal-content {
    padding: 10px;
}

#helvetia-quotation-form .modal-title h3 {
    float:left;
    width: calc(100% - 60px);
    margin-top: 0px;
    margin-bottom: 0px;
}

#helvetia-quotation-form .modal-title button, 
#helvetia-quotation-form .modal-title button:focus,
#helvetia-quotation-form .modal-title button:active,
#helvetia-quotation-form .modal-title button:visited {
    float:right;
    background-color: inherit;
    border: none;

    color: #8D8E8F;
    font-weight: bold;
    outline: none;
}

#helvetia-quotation-form .modal-title button[data-hystclose] {
    font-size: 25px;
    padding-top: 0px;
}

#helvetia-quotation-form  .modal-content img {
    height: initial;
}

#helvetia-quotation-form  .modal-content .grid {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    position: relative;
 }

 #helvetia-quotation-form .modal-content .spinner {
    position: absolute;
    top: 125px;
    left: calc(100% / 2 - 75px);
 }

 #helvetia-quotation-form .modal-content .grid-content {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
 }

 #helvetia-quotation-form .modal-content .grid-content .search-item, 
 #helvetia-quotation-form .modal-content .grid-content .room-item {
    border: 2px solid #F5F5F5;
    width: 165px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    cursor: pointer;
 }

 #helvetia-quotation-form .modal-content .grid-content .search-item img,  
 #helvetia-quotation-form .modal-content .grid-content .room-item img {
    max-width: 100px;
 }

 #helvetia-quotation-form .modal-content .grid-content .search-item p,
 #helvetia-quotation-form .modal-content .grid-content .room-item p {
    width: 100%;
    text-align: center;
 }

 #helvetia-quotation-form .modal-content button {
    width: 100%;
    background-color: var(--red-button);
    margin-top: 20px;
    padding: 5px;
 }

 #helvetia-quotation-form #modal-send-data .success button {
    background-color: var(--red-button);
    color: white;
 }

 #helvetia-quotation-form #modal-send-data .failure button {
    background-color: var(--darker-button);
    color: white;
 }

/*VOLUME CALCULATOR*/
#helvetia-quotation-form .estimated-volume {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#helvetia-quotation-form .estimated-volume h3 {
    margin-bottom: 3px;
}

#helvetia-quotation-form .estimated-volume  .volume {
    font-size: 64px;
    color: black;
    margin-right: 20px;
    line-height: 50px;
}

#helvetia-quotation-form .estimated-volume  .unit {
    font-size: 36px;
    color: var(--grey-text);
}

#helvetia-quotation-form .volume-calculator {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#helvetia-quotation-form .volume-calculator .question-group {
    min-height: 400px;
}

#helvetia-quotation-form .volume-calculator .button-add-room {
    border: 3px dashed var(--grey-button);
    background-color: none;
    display: flex;
    cursor: pointer;
}

#helvetia-quotation-form .volume-calculator .button-add-room h3 {
    display: block;
    margin: auto;
    color: var(--grey-button);
}

#helvetia-quotation-form .volume-calculator .button-add-room h3 span {
    font-size: 66px;
    position: relative;
    top: 12px;
}

#helvetia-quotation-form .volume-calculator button {
    padding-top: 1px;
    padding-bottom: 5px;
    padding-right: 7px;
    padding-left: 7px;
}

#helvetia-quotation-form .volume-calculator button img {
    height: initial;
    top: 7px;
}

#helvetia-quotation-form .room-group {
    position: relative;
}

#helvetia-quotation-form .room-group .room-header h3 {
    display: inline-block;
}

#helvetia-quotation-form .room-group .room-header .delete-room {
    background-color: var(--grey-button)!important;
    border-color: var(--grey-button)!important;
    color: white;
    float: right;
}

#helvetia-quotation-form .room-group .room-empty {
    height: 300px;
    display: flex;
}

#helvetia-quotation-form .room-group .room-empty p {
    margin: auto;
}

#helvetia-quotation-form .room-group .room-list {
    height: 300px;
    overflow-y: auto;
}

#helvetia-quotation-form .room-group .room-object .left {
    width: inherit;
    float: left;
}

#helvetia-quotation-form .room-group .room-object p {
    font-size: 16px;
    color: black;
}

#helvetia-quotation-form .room-group .room-object .quantity {
    color: var(--red);
    padding-right: 5px;
}

#helvetia-quotation-form .room-group .room-object .dimension {
    color: var(--grey-text);
    display: block;
}

#helvetia-quotation-form .room-group .room-object .right {
    width: inherit;
    float: right;
}
#helvetia-quotation-form .room-group .room-object::after {
    content: '';
    clear: both;
}

#helvetia-quotation-form .room-footer button {
    float: right;
}

@media all and (max-width: 750px) {
    
    #helvetia-quotation-form .content .left {
        float: none;
        display: block;
        width: 100%;
    }

    #helvetia-quotation-form .content .right {
        float: none;
        display: block;
        width: 100%;
    }

    #helvetia-quotation-form  .breadcrumb {
        margin-bottom: 0px;
    }

    #helvetia-quotation-form  .breadcrumb li:not(.current-step) {
        display: none;
    }

    #helvetia-quotation-form  .breadcrumb li.current-step {
        width: 100%;
        margin-right: 0px;
    }

    #helvetia-quotation-form  .breadcrumb li.current-step .step-counter {
        display: block !important;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #helvetia-quotation-form .step-container {
        margin-right: 0px !important;
    }

    #helvetia-quotation-form .step .question-group {
        width: 100% !important;
    }

    #helvetia-quotation-form .volume-calculator .button-add-room {
        min-height: 200px;
    }
}

/*OTHER*/
.hystmodal__shadow {
    background-color: black!important;
}