[data-modal-step] {
  display: none;
}

[data-modal-step].active {
  display: block;
}

.modal-mbl-overlay .btn-container .btn {
  width: 140px;
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
}

.modal-mbl-overlay .btn-container .btn-responsive {
  width: fit-content;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .modal-mbl-overlay {
    animation: slideUp 0.3s ease-in-out;
    width: 100%;
    margin-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .modal-mbl-overlay .modal-mbl-title {
    display: flex;
    align-items: center;
    align-self: flex-start;
    background: #fff;
    min-height: 50px;
    width: 100%;
    border-bottom: 1px solid #cecece;
    padding-left: 10px;
    position: sticky;
    top: 0;
    z-index: 54;
  }
  .modal-mbl-overlay .modal-mbl-title > * {
    font-size: 16px;
    text-align: left;
  }
  .modal-mbl-overlay__title {
    display: flex;
    align-items: center;
    align-self: flex-start;
    background: #fff;
    height: 50px;
    width: 100%;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid #cecece;
    padding-left: 10px;
    margin-bottom: 10px;
    position: relative;
  }

  .modal-mbl-overlay__body {
    width: 100%;
    padding: 0 10px 10px;
    text-align: left;
  }

  .modal-mbl-overlay__body > p {
    margin-bottom: 10px !important;
    font-size: 14px;
    text-align: left;
    width: 100%;
  }

  .modal-mbl-overlay .modal-container {
    padding: 0;
    background: #f1f1f2;
    overflow-y: auto;
    max-height: 100dvh;
  }

  .modal-mbl-overlay .btn-container {
    padding: 10px;
    width: 100%;
    background: #fff;
    position: sticky;
    bottom: 0;
    border-top: 1px solid #dbdbdb;
    justify-content: center;
  }

  .modal-mbl-overlay .btn-container .btn {
    width: 100%;
    margin-top: 0;
    font-size: 14px;
  }

}

.modal-bg {
  display: none;
  position: fixed;
  z-index: 99991;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.7);
  overflow: auto;
  margin: 0;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.modal-content {
  background: #fff;
  position: relative;
  max-width: 1140px;
  width: 100%;
  max-height: calc(100dvh - 50px);
  border-radius: 5px;
  margin: auto;
  border: 1px solid #cecece;
  overflow-y: auto;
}

.modal-content-res {
  width: fit-content;
}

@media (max-width: 768px) {
  .modal-mbl-overlay {
    width: 100%;
    animation: slideUp 0.3s ease-in-out;
    max-width: 100%;
    border-radius: 5px 5px 0 0;
    margin-bottom: 0;
  }
}

.modal-container {
  padding: 30px;
  position: relative;
}

.close-modal {
  top: 10px;
  right: 20px;
  cursor: pointer;
  padding: 5px 5px 0 5px;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 55;
  cursor: pointer;
  background: transparent;
  border: none;
}

@media (max-width: 768px) {
  .close-modal {
    top: 0;
    height: 50px;
    padding-bottom: 5px;
  }

}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.close-modal span {
  font-size: 14px;
  padding: 10px;
  cursor: pointer;
}

[data-modal] {
  display: none;
}

[data-modal].open {
  display: flex;
}

body:has([data-modal].open) {
  overflow: hidden;
}

body:has(dialog[open]) {
  overflow: hidden;
}

.modal-cookies .modal-container {
  background: #fff;
}

.modal-cookies .modal-mbl-overlay__title {
  display: block;
  margin-bottom: 10px;
}

.modal-cookies .modal-mbl-overlay__body {
  border-bottom: none;
}

.modal-cookies .modal-mbl-overlay__body > p {
  line-height: 20px;
}

.modal-cookies .btn-container {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .modal-cookies .modal-mbl-overlay__title {
    display: flex;
    border-bottom: none;
    margin-bottom: 0;
  }

  .modal-cookies .modal-mbl-overlay__body {
    border-bottom: none;
  }

  .modal-cookies .modal-mbl-overlay__body > p {
    margin-bottom: 0 !important;
  }

}

@media (max-width: 768px) {
  .modal-mbl-sticky-controls {
    position: sticky;
    top: 50px;
    background: #f1f1f2;
    z-index: 10;
    padding-top: 10px;
  }

}

[data-modal=cookies] .modal-content {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

[data-modal=cookies] .modal-container {
  padding: 20px;
}

[data-modal=cookies] h1 {
  margin-bottom: 10px;
}

[data-modal=cookies] p {
  margin-bottom: 10px;
  font-size: 14px;
}

[data-modal=cookies] .btn {
  min-width: 138px;
  width: auto;
}

[data-modal=cookies] .btn__white {
  text-decoration: none;
  color: #343434;
  border-color: #343434;
}

@media (max-width: 768px) {
  [data-modal=cookies] .modal-container {
    background: #fff;
  }

  [data-modal=cookies] p {
    margin-bottom: 15px
  }

  [data-modal=cookies] p:last-of-type {
    margin-bottom: 10px;
  }

  [data-modal=cookies] .btn {
    width: 100%;
  }

}


#cookiemodal h1{
	font: 12px/18px arial;
    color: #343434;
    box-sizing: border-box;
    font-family: inherit;
    font-style: inherit;
    font-size: 16px !important;
    font-weight: bold !important;
    margin-bottom: 10px;
}

#cookiemodal p{	
	color: #343434  !important;
	font:14px arial !important;
	line-height:18px !important;
}


#cookiemodal p a{
	color: #0672ff;
}

@media (min-width: 768px) {
	
	#footer-cookie-buttons{
		
	  font: 12px/18px arial;
		color: #343434;
		display: flex !important;
		gap: 10px !important;
		padding-top: 10px !important;
		
	}
	#footer-cookie-accept{
		font: 12px/18px arial;
		font-style: inherit;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 5px;
		cursor: pointer;
		text-decoration: none;
		font-family: Arial, Helvetica, sans-serif;
		font-size: 14px;
		color: #fff;
		background: transparent linear-gradient(180deg, #02989d 0%, #008286 100%);
		box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.1607843137);
		border: 1px solid #017275;
		font-weight: bold;
		height: 40px !important;
		min-width: 138px;
		width: auto;
	}

	#footer-cookie-close{
		font: 12px/18px arial;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 5px;
		box-shadow: inset 2px 2px 0px hsla(0, 0%, 100%, 0.161);
		cursor: pointer;
		font-family: Arial, Helvetica, sans-serif;
		background: #fff;
		font-size: 14px;
		border: 1px solid #dbdbdb;
		height: 40px !important;
		min-width: 138px;
		width: auto;
		text-decoration: none;
		color: #343434;
		border-color: #343434;
	}
}

