/*---------------------------- INPUTS ----------------------------------------*/
.ms-input-component .ms-input-input-field,
.ms-input-component .ms-input-select {
  height: 62px;
  font-size: 16px;
}

.ms-input-component .ms-input-select {
  border: 1px solid #adadad;
}

.ms-input-component .ms-input-select.ms-select-focused {
  border: 1px solid #55524A;
}

.ms-input-component .ms-input-select > div {
  padding: 17px 23px;
  white-space: nowrap;
}

.ms-input-component .ms-input-select.ms-select-focused div > * {
  color: #55524A;
}

.ms-input-component .ms-input-select.ms-input-select-multi .ms-custom-checkbox {
  margin-bottom: 0px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  text-overflow: ellipsis;
}

.ms-input-component .ms-input-select.hide-zero-option ul li[data-val="0"] {
  display: none;
}

.ms-input-component .ms-input-select.ms-input-select-full-length ul {
  max-height: none;
}

.ms-input-component .ms-input-select.ms-input-select-length-286 ul {
  max-height: 286px;
}

.ms-input-component .ms-input-textarea-field {
  height: 200px;
}

.ms-input-component .ms-input-textarea-field.tinymce-textarea {
  height: auto;
}

.ms-input-component .ms-input-color-picker {
  margin-bottom: 20px;
  min-height: 35px;
}

.ms-input-component .ms-input-textarea-field textarea {
  font-family: 'Source Sans Pro', sans-serif;
  resize: none;
  height: 100%;
  width: 100%;
  border: 1px solid #adadad;
  outline: none;
  font-size: 16px;
  padding: 17px 23px;
  background: transparent;
}

.ms-input-component .ms-input-input-field input {
  width: 100%;
  border: 1px solid #adadad;
  font-size: 16px;
  height: 100%;
  outline: none;
  padding: 17px 23px;
  background: transparent;
}

.ms-input-component .ms-input-text-field {
  padding: 0px 5px;
}

.ms-input-component .ms-input-input-field input:-webkit-autofill,
.ms-input-component .ms-input-input-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 50px #ffffff inset;
  -webkit-text-fill-color: #555249;
}

.ms-input-component .ms-input-input-field input:focus,
.ms-input-component .ms-input-textarea-field textarea:focus {
  border: 1px solid #55524A;
  /*box-shadow: inset -5px -5px 10px #ffffff, inset 5px 5px 10px rgb(85 82 73 / 30%);*/
  box-shadow: inset 0px 0px 5px rgb(85 82 73 / 30%);
}

.ms-input-component .ms-input-input-field input:not(:placeholder-shown),
.ms-input-component .ms-input-textarea-field textarea:not(:placeholder-shown) {
  border: 1px solid #55524A;
}

.ms-input-component .ms-input-select .ms-input-select-text {
  display: inline-block;
  width: calc( 100% - 30px );
  max-width: calc( 100% - 30px );
  overflow-x: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.ms-input-component .ms-input-select span {
  white-space: nowrap;
}

.ms-input-component .ms-input-select button {
  background: none;
  border: none;
  outline: none;
  padding-left: 10px;
}

.ms-input-component .ms-input-select span,
.ms-input-component .ms-input-select button {
  cursor: pointer;
}

.ms-input-component .ms-input-select ul {
  display: none;
  position: relative;
  width: calc( 100% + 2px );
  max-width: calc( 100% + 2px );
  min-width: 92px;
  max-height: 192px;
  overflow-y: auto;
  margin-top: -1px;
  margin-left: -1px;
  padding: 0px;
  background: #fff;
  border-radius: 0px;
  box-shadow: 0px 3px 6px 0px rgba(113, 113, 113, 0.16);
  list-style-type: none;
  z-index: 50;
  border-left: 1px solid #55524A;
  border-right: 1px solid #55524A;
  border-bottom: 1px solid #55524A;
  cursor: pointer;
}

.ms-input-component .minicolors-theme-default .minicolors-swatch {
  top: 9px;
  left: 4px;
  width: 15px;
  height: 15px;
}

.ms-input-component .minicolors-theme-default {
  height: 100%;
}

.ms-input-component .minicolors-theme-default .minicolors-input {
  padding-left: 25px !important;
}

.ms-input-component .ms-input-select ul::-webkit-scrollbar {
  background-color: transparent;
  width: 4px;
}

.ms-input-component .ms-input-select ul::-webkit-scrollbar-thumb {
  background-color: #8B8B8B;
  border-radius: 2px;
}

.ms-input-component .ms-input-select ul::-webkit-scrollbar-thumb:hover {
  background-color: #4d4d4d;
}

.ms-input-component .minicolors-theme-default .minicolors-swatch,
.ms-input-component .minicolors-theme-default .minicolors-swatch .minicolors-swatch-color {
  border-radius: 8px;
}


.ms-input-component .ms-input-select ul > li {
  padding: 17px 23px;
  border: 1px solid #f4f4f4;
  font-size: 16px;
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.ms-input-component .ms-input-select ul > li:hover,
.ms-input-component .ms-input-select ul > .ms-selected-option {
  /*background: #F5F5F5;*/
  background: #55524A;
  color: #FFFFFF;
}

.ms-input-color-picker input {
  display: none;
}

.ms-input-color-picker .button {
  display: inline-block;
  position: relative;
  width: 22px;
  height: 22px;
  margin: 5px;
  cursor: pointer;
}

.ms-input-color-picker .button span {
  display: block;
  position: absolute;
  width: 22px;
  height: 22px;
  padding: 0;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eeeeee;
  transition: ease .3s;
}

.ms-input-color-picker input:checked ~ .button:before,
.ms-input-color-picker .button:hover:before {
  content: " ";
  display: block;
  position: relative;
  top: -6px;
  left: -6px;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #eeeeee;
  border-radius: 50%;
}

.ms-input-color-picker input:checked ~ .button {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.ms-input-color-picker .blue .button span {
  background: #6DBAFA;
}

.ms-input-color-picker .purple .button span {
  background: #545D75;
}

.ms-input-color-picker .green .button span {
  background: #8ED075;
}

.ms-input-color-picker .olive .button span {
  background: #71764F;
}

.ms-input-color-picker .brown .button span {
  background: #B29C84;
}

.ms-input-color-picker .yellow .button span {
  background: #F6E634;
}

.ms-input-color-picker .orange .button span {
  background: #FFA232;
}
.ms-start-end-picker {
  display: flex;
  height: 30px;
}

.ms-start-end-picker input {
  height: 100%;
  width: calc( 50% - 15px );
}

.ms-start-end-picker span {
  height: 100%;
  width: 30px;
  line-height: 30px;
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  margin: 0px;
  text-align: center;
}

.ms-start-end-picker input:first-of-type {
  border: 1px solid #e0e0e0;
  border-right: none;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.ms-start-end-picker input:last-of-type {
  border: 1px solid #e0e0e0;
  border-left: none;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.ms-input-select-datepicker {
  display: flex;
  justify-content: space-between;
}

.ms-input-select-datepicker .ms-input-select {
  margin-bottom: 0px;
}

.ms-input-select-datepicker .ms-input-datepicker-day {
  width: 21%;
}
.ms-input-select-datepicker .ms-input-datepicker-month {
  width: 44%;
}
.ms-input-select-datepicker .ms-input-datepicker-year {
  width: 28%;
}

.ms-button-row {
  display: flex;
  width: 100%;
  padding: 0px 20px;
  margin-top: 20px;
}

.body-content-wrapper-container .ms-button-row,
.body-content-wrapper-container .ms-header-row {
  padding: 0px 30px;
}

.ms-button-row.ms-button-row-left{
  justify-content: flex-start;
}

.ms-button-row.ms-button-row-right{
  justify-content: flex-end;
}

.ms-button-row.ms-button-row-left-right {
  justify-content: space-between;
}

.ms-button-row .ms-button {
  margin-right: 10px;
  margin-left: 0px;
}

.ms-button-row .ms-button:last-child {
  margin-right: 0px;
}

.ms-button-row.ms-button-row-right .ms-button {
  margin-right: 0px;
  margin-left: 10px;
}

.ms-button-row.ms-button-row-right .ms-button:first-child {
  margin-left: 0px;
}

.ms-button-row.ms-button-row-right .ms-button.ms-button-left {
  margin-right: auto;
}

a.ms-interactive-links {
  text-decoration: underline;
  color: #A8A8A8;
  cursor: pointer;
}

.ms-error-warning {
  color: #d7941a;
}

.ms-error-error {
  color: #ff0000;
}


/*---------------------------- Input Error -----------------------------------*/

/*-- SELECT --*/
.ms-input-select.ms-form-error {
  border-bottom: 1px solid red !important;
}

.ms-input-select.ms-form-error .ms-input-select-text span,
.ms-input-select.ms-form-error button {
  color: red !important;
}

/*-- TEXT --*/
.ms-input-input-field.ms-form-error input {
  color: red !important;
  border-bottom: 1px solid red !important;
}

.ms-input-input-field.ms-form-error input::placeholder {
  color: red !important;
}

/*-- DATEPICKER --*/
.ms-input-select-datepicker.ms-form-error .ms-input-select {
  border-bottom: 1px solid red !important;
}

.ms-input-select-datepicker.ms-form-error .ms-input-select .ms-input-select-text span,
.ms-input-select-datepicker.ms-form-error .ms-input-select button {
  color: red !important;
}

/*---------------------------- Filepicker ------------------------------------*/

.ms-input-file {
  max-width: 264px;
  height: 56px;
}

.ms-input-file > div {
  display: flex;
}

.ms-input-file:hover {
  background: #F8F8F8;
}

.ms-input-file label {
  cursor: pointer;
}

.ms-input-file-pick-file {
  width: 100%;
  height: 100%;
  border: 2px dashed #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ms-input-file-icon {
  width: 50px;
  display: inline-block;
  padding: 10px;
}

.ms-input-file-text {
  height: 100%;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.ms-input-file-text label {
  text-decoration: underline;
  color: #267EE6;
  white-space: nowrap;
}

.ms-input-file input{
  display: none;
}

.ms-input-file-picked-file {
  display: none;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 16px #81818121;
  padding: 12px 10px;
}

.ms-input-file-title {
  display: flex;
  width: calc( 100% - 84px );
  justify-content: center;
  flex-direction: column;
  padding-left: 5px;
}

.ms-input-file-title > span {
  width: 100%;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-input-file-label {
  font-size: 14px;
  color: #A8A8A8;
}

.ms-input-file-filename {
  font-size: 16px;
  color: #4D4F5C;
}

.ms-input-file-delete {
  height: 100%;
  width: 24px;
  display: flex;
  align-items: center;
}

.ms-input-file-delete > button{
  height: 24px;
  width: 24px;
  border: 0px;
  background: none;
  cursor: pointer;
}

.ms-input-file-preview {
  height: 100%;
  width: 50px;
  display: block;
  position: relative;
}

.ms-input-file-preview img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

/*---------------------------- BUTTONS ---------------------------------------*/

button.ms-button {
  padding: 9px 27px;
}

.ms-button {
  cursor: pointer;
  display: inline-block;
  padding: 8px 27px;
  border-radius: 4px;
  text-decoration: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  vertical-align: baseline;
}

.ms-button.ms-button-return {
  border: 1px solid #267EE6;
  color: #267EE6;
  background: #ffffff;
  box-shadow: 0px 0px 2px 0px #3c74c3;
}

.ms-button.ms-button-return:hover,
.ms-button.ms-button-return:focus {
  background: #f5f8fc;
}

.ms-button.ms-button-return:active {
  background: #ebf1f9;
}

.ms-button.ms-button-confirm {
  border: 1px solid #267EE6;
  color: #ffffff;
  background: #267EE6;
}

.ms-button.ms-button-confirm:hover,
.ms-button.ms-button-confirm:focus {
  background: #1D64B7;
}

.ms-button.ms-button-confirm:active {
  background: #174E8E;
}

.ms-button.ms-button-delete {
  border: 1px solid #F59A9B;
  color: #FFFFFF;
  background: #CF3F40;
  box-shadow: 0px 0px 2px 0px #3c74c3;
}

.ms-button.ms-button-delete:hover,
.ms-button.ms-button-delete:focus {
  background: #b33131;
}

.ms-button.ms-button-delete:active {
  background: #a32c22;
}

.ms-button.ms-button-filter {
  border: 1px solid #e0e0e0;
  background: #ffffff;
  color: #626262;
  box-shadow: 0px 0px 2px 0px #e0e0e0;
}

.ms-button.ms-button-svg, .ms-button.ms-button-svg:hover, .ms-button.ms-button-svg:active {
  background-repeat: no-repeat;
  background-position: center;
}

.ms-button-filter.ms-filter-active {
  color: #55524A;
}

.ms-filter-popup {
  display: none;
  position: absolute;
  z-index: 99;
  box-shadow: 0px 0px 12px -3px grey;
  background: #ffffff;
  width: 305px;
  margin-top: 50px;
  border-radius: 3px;
}

.ms-filter-popup .ms-filter-popup-body {
  padding: 20px 30px;
}

.ms-filter-popup .ms-filter-popup-footer {
  padding: 10px 30px;
  border-top: 1px solid #e0e0e0;
}

.ms-filter-section-title {
  margin: 0px 0px 10px 0px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.ms-filter-popup .ms-filter-popup-footer button {
  font-size: 13px;
}

.button-link {
  background: none;
  border: none;
  text-decoration: underline;
}

.ms-filter-section-input-container {
  display: flex;
  flex-wrap: wrap;
}

.ms-filter-popup-body section:not( :last-of-type ) {
  margin-bottom: 30px;
}

.ms-filter-section-input-container .ms-custom-checkbox,
.ms-filter-section-input-container .ms-custom-radio {
  width: 50%;
}



/*---------------------------- CHECKBOX --------------------------------------*/

.ms-input-checkbox-container {
  display: block;
  position: relative;
  padding-left: 65px;
  cursor: pointer;
  font-size: 18px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.ms-input-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.ms-input-checkbox-checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  height: 30px;
  width: 30px;
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #CACACA;
}

/* On mouse-over, add a grey background color */
.ms-input-checkbox-container:hover input ~ .ms-input-checkbox-checkmark {
  /*background-color: #ccc;*/
  border-color: #55524A;
}

/* When the radio button is checked, add a blue background */
.ms-input-checkbox-container input:checked ~ .ms-input-checkbox-checkmark {
  border-color: #55524A;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.ms-input-checkbox-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.ms-input-checkbox-container input:checked ~ .ms-input-checkbox-checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.ms-input-checkbox-container .ms-input-checkbox-checkmark:after {
  top: 5px;
  left: 5px;
  width: 18px;
  height: 18px;
	border-radius: 50%;
	background: #D61217;
}



.ms-input-input-field.ms-input-error input,
.ms-input-select.ms-input-error,
.ms-input-checkbox.ms-input-error span.ms-input-checkbox-checkmark {
  border: 1px solid #C52E26;
}

.error-text-container {
  text-align: right
}