/* Card wrapper */

.quote-cards-wrapper {
  --accent-color: rgba(12, 95, 124, 1);
  --invite-color: #72a435;
  --get-in-touch-color: #ff7423;
  --radius: 3px;
}
.quote-cards-wrapper .cbReportSpa > div {
  min-width: 100%;
  border-radius: var(--radius);
  border: none !important;
  box-shadow: 0px 5px 7px #00000016;
}
.quote-card {
  border-radius: var(--radius);
}
.quote-card .quote-id {
  margin: 0 0 20px 0;
  font-size: 12px;
  font-weight: bold;
  text-align: right;
}
.quote-card .quote-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  text-align: center;
  font-weight: bold;
  margin: 0;
  font-size: 16px;
  color: #2f4f4f;
}
.quote-card .quote-details {
  font-size: 12px;
}
.quote-card .quote-details p {
  margin: 0;
  text-align: center;
}
.quote-card .swiper {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 10px 0;
}
.quote-card .swiper-slide {
  position: relative;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  z-index: 2;
}
.quote-card .swiper-slide:first-child {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
}
.quote-card .swiper-slide:last-child {
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}
.quote-card .swiper-wrapper {
  position: relative;
  background: rgb(249, 249, 249);
  z-index: 6;
}
.quote-card .swiper-wrapper.no-photo::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.quote-card .swiper-wrapper.no-photo::after {
  content: 'No photo';
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
  text-transform: uppercase;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: url('../img/no_photo.png');
  background-size: 100px;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}
.quote-card .swiper-pagination {
  position: absolute;
  width: 100%;
  bottom: 10px;
  display: flex;
  justify-content: center;
}
.quote-card .swiper-pagination .swiper-pagination-bullet {
  position: relative;
  width: 15px;
  height: 15px;
  background: var(--get-in-touch-color);
  background: #fff;
  opacity: 1;
  transition: box-shadow 0.3s ease-out;
  overflow: hidden;
}
.quote-card .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    box-shadow: inset 0 0 0 2px white;
      background: var(--get-in-touch-color);
}

/* 

.quote-card .swiper-pagination .swiper-pagination-bullet::before {
  position: absolute;
  content: '';
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--get-in-touch-color);
  transition: all 0.3s;
}
.quote-card .swiper-pagination .swiper-pagination-bullet:first-child::before {
  left: 200%;
}
.quote-card .swiper-pagination .swiper-pagination-bullet:last-child::before {
  left: -100%;
}
.quote-card .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
  left: 50%;
} 

*/
.quote-card .contract-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.quote-card .loader {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgb(249, 249, 249);
  will-change: opacity;
  transition: opacity 0.3s ease-in-out;
  z-index: 7;
}

.quote-card .loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.quote-card .dot-spin {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--get-in-touch-color);
  color: var(--get-in-touch-color);
  box-shadow: 9999px 0 0 0 var(--get-in-touch-color);
  animation: dot-falling 1s infinite linear;
  animation-delay: 0.1s;
}
.quote-card .dot-spin::before, .quote-card .dot-spin::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.quote-card .dot-spin::before {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--get-in-touch-color);
  color: var(--get-in-touch-color);
  animation: dot-falling-before 1s infinite linear;
  animation-delay: 0s;
}
.quote-card .dot-spin::after {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--get-in-touch-color);
  color: var(--get-in-touch-color);
  animation: dot-falling-after 1s infinite linear;
  animation-delay: 0.2s;
}

@keyframes dot-falling {
  0% {
    box-shadow: 9999px -15px 0 0 rgba(12, 95, 124, 0);
  }
  25%, 50%, 75% {
    box-shadow: 9999px 0 0 0 var(--get-in-touch-color);
  }
  100% {
    box-shadow: 9999px 15px 0 0 rgba(12, 95, 124, 0);
  }
}
@keyframes dot-falling-before {
  0% {
    box-shadow: 9984px -15px 0 0 rgba(12, 95, 124, 0);
  }
  25%, 50%, 75% {
    box-shadow: 9984px 0 0 0 var(--get-in-touch-color);
  }
  100% {
    box-shadow: 9984px 15px 0 0 rgba(12, 95, 124, 0);
  }
}
@keyframes dot-falling-after {
  0% {
    box-shadow: 10014px -15px 0 0 rgba(12, 95, 124, 0);
  }
  25%, 50%, 75% {
    box-shadow: 10014px 0 0 0 var(--get-in-touch-color);
  }
  100% {
    box-shadow: 10014px 15px 0 0 rgba(12, 95, 124, 0);
  }
}

.quote-card .contract-category {
  text-align: left;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
.quote-card .contract-years {
  display: flex;
  align-items: center;
}
.quote-card .contract-years p {
  font-size: 14px;
  margin: 0 5px 0 0;
  margin-right: 5px;
}
.quote-card .contract-years p:last-child {
  font-size: 14px;
  margin: 0 0 0 5px;
}
.quote-card .contract-prices {
  margin: 20px 0;
  min-height: 83px;
}
.quote-card .contract-prices p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.qoute-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  /* flex-wrap: wrap; */
}
.qoute-buttons input {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  font-weight: bold;
  font-size: 12px;
  border-radius: var(--radius);
  color: white;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
}
.qoute-buttons .get-in-touch {
  font-size: 14px;
  padding: 15px 20px;
  background-color: var(--get-in-touch-color);
  border: solid 1px var(--get-in-touch-color);
}
.qoute-buttons .invite {
  background-color: var(--invite-color);
  border: solid 1px var(--invite-color);
}
.qoute-buttons .request {
  background-color: var(--accent-color);
  border: solid 1px var(--accent-color);
}
.qoute-buttons input:hover {
  filter: brightness(115%);
}

.quote-cards-wrapper .cbResultSetActionsLinks,
.quote-cards-wrapper .cbResultSetActionsLinks:hover {
    display: block;
    width: 100%;
    text-align: center;
}

.quote-cards-wrapper section[data-cb-name="cbTable"] {
    padding-top: 15px;
}

.quote-card__links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 50px;
    color: #639C18;
}

.quote-card__links .cbResultSetData:not(:last-child) {
    margin-right: 5px;
}

.quote-card__links .cbResultSetData:last-child {
    margin-left: 5px;
}

.quote-card__links .cbResultSetData a {
    color: #639C18;
}

.quote-card__links .cbResultSetData::before {
    display: none;
}

@media (max-width: 1024px) {
    .quotes-page .tenant-block-style {
        padding: 0;
    }
    section.cbColumnarReport.quote-cards-wrapper {
        overflow: visible;
    }
    .quote-card {
        padding-bottom: 10px;
    }
    .quote-card .quote-id {
        margin: 0;
    }
  .quote-card .swiper {
    height: 350px;
  }
  .quote-card .contract-prices {
    min-height: auto;
  }
}

/* QUOTE DETAILS ACCORDION */
.quote-cards-wrapper .mch-accordion {
	border: 1px solid #ccc;
	border-radius: 2px;
	overflow: hidden;
	will-change: height;
	-webkit-transition: height 0.3s ease-out;
	-o-transition: height 0.3s ease-out;
	transition: height 0.3s ease-out;
	color: #444;
	background-color: #fff;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.mch-accordion__label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	gap: 15px;
	width: 100%;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.062745098);
	padding: 10px;
	background: none;
	border: none;
	font-size: 19px;
	font-weight: 500;
	color: teal;
	background-color: #eee;
	will-change: background-color;
	-webkit-transition: background-color 0.15s ease-in-out;
	-o-transition: background-color 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out;
}
.mch-accordion__label:hover {
	background-color: #e6e6e6;
}
.mch-accordion__label::after {
	content: '';
	width: 15px;
	height: 15px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='strelka-top-2' viewBox='0 0 9 14'%3E%3Cpath class='svg-strelka' d='M6.660,8.922 L6.660,8.922 L2.350,13.408 L0.503,11.486 L4.813,7.000 L0.503,2.515 L2.350,0.592 L8.507,7.000 L6.660,8.922 Z' %3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	will-change: transform;
	-webkit-transition: -webkit-transform 0.2s ease-in-out;
	transition: -webkit-transform 0.2s ease-in-out;
	-o-transition: transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}
.mch-accordion.opened .mch-accordion__label:after {
	-webkit-transform: rotate(90deg) scaleX(-1);
	-ms-transform: rotate(90deg) scaleX(-1);
	transform: rotate(90deg) scaleX(-1);
}
.mch-accordion .mch-accordion__content {
	opacity: 0;
	transform: translateY(5px);
	will-change: opacity, transform;
	-webkit-transition: opacity 0.25s ease-out, transform 0.3s ease-out;
	-o-transition: opacity 0.25s ease-out, transform 0.3s ease-out;
	transition: opacity 0.25s ease-out, transform 0.3s ease-out;
}
.mch-accordion.opened .mch-accordion__content {
	opacity: 1;
	transform: translateY(0);
}
.mch-accordion.opened .mch-accordion__label,
.mch-accordion__label:hover {
	background-color: #e6e6e6;
}
.mch-accordion .accordion-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
.mch-accordion .accordion-list .accordion-list__item {
    margin: 0;
	padding: 5px 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 15px;
}
.mch-accordion .accordion-list .accordion-list__item:not(:last-child) {
	border-bottom: 1px solid rgba(0, 0, 0, 0.062745098);
}
.accordion-list__item-title,
.accordion-list__item-description {
	font-size: 16px;
	text-align: center;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}
.accordion-list__item-description {
	color: #000;
}