/*
# =================================================================================================================================================================
#	author: 		Emely Buchholt - Datamanix
#	note: 			Styling to different components - floating input fields (login form), progressbar etc.
# =================================================================================================================================================================
*/

/* ========================================== */
/* 		Input floating labels styling		  */
/* ========================================== */

.dm_floating_input_div{
	position: relative;
	font-size: 14px;
	padding-top: 20px;
	margin-bottom: 5px;
}

.dm_floating_input_div input{
	background: none;
    border: 2px solid #ddd;
    transition: border-color 0.3s ease;
    appearance: none;
	padding: 12px;
	border-radius: 3px;
	width: 100%;
	outline: none;
	font-size: 14px;
}
.dm_floating_input_div input + .dm_floating_label{
	left: 8px;
	padding: 0 5px;
}
.dm_floating_input_div .dm_floating_label{
	position: absolute;
    left: 12px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    color: #aaa;
    transition: top 0.3s ease, color 0.3s ease, font-size 0.3s ease;
}

.dm_floating_input_div input:focus, .dm_floating_input_div input:valid{
	border-color: #656565;
	transition-delay: 0.1s
}
.dm_floating_input_div input:focus + .dm_floating_label, .dm_floating_input_div input:valid + .dm_floating_label{
	top: 20px;
	font-size: 10px;
	color: #fff;
}
/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}


/* ========================================== */
/* 				Progress bar styling		  */
/* ========================================== */

.dm_formcontainer_hide{
	display: none;
}

/* codepen of progress bar */
.dm_progressbar_container {
  width: 70%;
  margin: 0 auto;
}

.progress-meter {
  padding: 0;
}

ol.progress-meter {
  padding-bottom: 9.5px;
  list-style-type: none;
}
ol.progress-meter li {
  display: inline-block;
  text-align: center;
  text-indent: -19px;
  height: 36px;
  width: 19.99%;
  font-size: 15px;
  border-bottom-width: 4px;
  border-bottom-style: solid;
}
ol.progress-meter li:before {
  position: relative;
  float: left;
  text-indent: 0;
  left: -webkit-calc(50% - 9.5px);
  left: -moz-calc(50% - 9.5px);
  left: -ms-calc(50% - 9.5px);
  left: -o-calc(50% - 9.5px);
  left: calc(50% - 9.5px);
}
ol.progress-meter li.done {
  cursor: pointer;
}
ol.progress-meter li.done:before {
  content: "\2713";
  height: 19px;
  width: 19px;
  line-height: 21.85px;
  bottom: -28.175px;
  border: none;
  border-radius: 19px;
}

ol.progress-meter li.todo:before {
  content: "\2B24";
  font-size: 17.1px;
  bottom: -26.95px;
  line-height: 18.05px;
}

ol.progress-meter li.current:before{
	content: "\2228";
	height: 19px;
	width: 19px;
	line-height: 21.85px;
	bottom: -28.175px;
	border: none;
	border-radius: 19px;
}

ol.progress-meter li.done, ol.progress-meter li.current {
  color: black;
  border-bottom-color: yellowgreen;
}
ol.progress-meter li.done:before, ol.progress-meter li.current:before {
  color: white;
  background-color: yellowgreen;
}
ol.progress-meter li.todo {
  color: silver;
  border-bottom-color: silver;
}
ol.progress-meter li.todo:before {
  color: silver;
}


/* ========================================== */
/* 				Accordion styling		  	  */
/* ========================================== */


/* accordion from w3schools */
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 11px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
  border-bottom: 1px solid gray;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 0 18px;
  background-color: white;
  overflow: hidden;
  /* max-height: 0; */
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
.panel h3{
	padding-top: 10px;
}
.accordion span:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.accordion .active span:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}


/* ========================================== */
/* 				Modal styling	 Mobile	  	  */
/* ========================================== */
@media (max-width: 600px) {

  #dm_dsa_salesconditions .modal-content {
    padding-bottom: 30px !important;
  }

  #dm_dsa_salesconditions .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem - 100px);
    overflow: hidden;
  }
}

.carousel-item img {
  max-width: 90%;
}