:root{
  --support-display-width: vw;
}

.slide-footer {
  height: min-content;
  background-color: rgba(0,0,0,0.8);
  position: absolute;
  padding-bottom: 0px;
  bottom: 0px;
  width: 100%;
}

.slide {
  /*width: 70vw;*/
  width: 100%;
  position: relative;
}

.slide-image{/*
  min-width: 500px;
  max-width: 700px;*/
  width: 100%;
}

 .content a {
  text-decoration: underline;
}

.services-slide-container {
  height: inherit;
  max-height: inherit;
  min-height: inherit;
  width: min(800px, 80vw);
  position: relative;
}

#slideshow-container-services {
  margin-top: 130px;
  background-color: #36454F;
  /*min-width: 712px;*/
  width: 100vw;
  height: 500px;
  position: relative;
}

@media only screen and (max-width: 800px){
  #slideshow-container-services {
    height: 100vh;
  }
}

@media only screen and (max-width: 600px){
  .services-text {
    width: 80%;
    margin: auto;
    padding: 0px !important;
  }
  .services-content .services-image {
    display: none;
  }

  .services-content {
    max-width: 100%;
    display: block;
    justify-content: center;
  }
}


#services-slideshow-container {
  max-width: min(90%, 1200px);
  display: flex;
  flex-flow: row;
  flex-direction: row;
  align-items: center;
  width: max-content;
  height: inherit;
  position: relative;
  margin: auto;
}

.difference-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 80%;
  margin: auto;
}

.difference-icon {
  width: 70%;
  height: 70%;
  margin: auto;
}

.difference-price p{
  color: #7DB443;
  font-size: 30px;
  font-weight: bolder;
  text-align: center;
}

.difference-icon-container{
  border-radius: 50%;
  background-color: #E6E6E6;
  width: 80px;
  height:80px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.difference-item {
  width: 150px;
  height: max-content;
  padding: 10px;
}

.difference-text{
  text-align: center;
  color: black;
}

.services-item {
  width: calc((100% - 90px)/3);
  min-width: min(280px,70vw);
  height: max(500px,min-content);
  background-color: white;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.15);
  margin: 15px;
}


@media only screen and (max-width: 1200px){
  .services-item{
    width: calc((80vw - 75px)/2);
  }
}

.services-items-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-shrink: 2;
  width: min(max-content,auto);
}

.services-item-text{
  padding: 20px;
  padding-top: 10px;
}

.services-item-text .content-title{
  margin-bottom:15px;
  padding-bottom:0px;
}


.video-container{
  margin: auto;
    width: min-content;
    width: 560px;
    max-width: 100%;
    overflow: hidden;
}

.slide-arrow {
  z-index: 2;
  width: min(10vw,100px);
  height: auto;
  flex: none;
}

.hidden-header {
  font-size: min(max(calc(0.08*max(26vw, 46vh)),20px),30px);
  padding-left: 20px;
  padding-right: 20px;
  height: 0px;
}

.slide-footer-header {
  color: white;
  font-size: 30px;
  width: 90%;
  margin: auto;
  text-align: center;
  max-width: inherit;
  font-weight: bold;
  padding-top: min(max(calc(0.04*26vw),10px),20px);
}

.slide-footer-text {
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-top: min(max(calc(0.02*26vw),5px),20px);
  font-size: 16px;
  width: auto;
  max-width: inherit;
  color: white;
  height: min-content;
}
.slide{
  min-width: min-content;/*500px;*/
}

.support-items-display {
  width: var(--support-display-width);
  margin: auto;
  display: flex;
  position: relative;
  height: 500px;
  overflow:hidden;
}

@media only screen and (max-width: 750px){
  .support-items-display {
    width: 100% !important;
    margin: auto !important;
  }

  .support-items-buttons-container {
    width: 80vw !important;
  }

  .support-button {
    position: absolute;
    width: 10vw !important;
    height: 10vw!important;
  }
  .center {
    left: 0px !important;
  }

  .support-item {
    width: 100% !important;
  }

  .previous {
    left: -7vw !important;
  }

  .next {
    right: -7vw !important;
  }
}


.support-item{
  position: absolute;
  width: 330px;
  height: 400px;
  border-radius: 10px;
  background-color: white;
  top: 50px;
  display: none;
  transition: left 500ms ease, height 500ms linear, top 500ms linear;
  z-index:0;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.5);
  overflow: hidden;
}

.center{
  top: 25px;
  height: 450px;
  margin-left: auto;
  margin-right:auto;
  left:calc(var(--support-display-width)/2 - 165px);
  z-index:2;
  display: block;
  box-shadow: 0 5px 8px rgba(0,0,0,0.3);
}

.left {
  display: block;
  left: 0px;
  z-index:1;
}

.right{
  display: block;
  left: calc(var(--support-display-width) - 330px);
  z-index:1;
}

.off-left {
  display: block;
  left: -330px;
  z-index:0;
}

.off-right {
  display: block;
  left: var(--support-display-width);
  z-index:0;
}

.support-button {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 3;
  right: -25px;
  top: calc(210px);
  border-radius: 50%;
  border: 3px solid darkgrey;
}

.next{
  right: -50px;
}

.previous {
  left: -50px;
}

.support-item-image-container{
  height: 100%;
  width: 100%;
  border-radius: 10px 10px 10px 10px;
  overflow: hidden;
}

.center .support-item-image-container{
  height: 80%;
  border-radius: 10px 10px 0 0;
}

.support-item-title {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  height: min-content;
  width: 90%;
  margin-left: auto;
  margin-right:auto;
}

.support-item-description .support-item-title{
  width: 90%;
}

.support-item-description .support-item-title-container{
  margin-bottom: 7px;
}

.support-item-title-container {
  display:none;
  height: 80px;
  width: 100%;
}

.center .support-item-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.center .support-item-description {
display: flex;
  top:360px;
}

.support-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center:hover .support-item-description{
  padding-top: 30px;
    top:0px;
}

.center:hover .fixed{
  z-index: 1 !important;
}


.support-item-description {
  display:none;
  top:500px;
  position: absolute;
  background-color: white;
  width: 100%;
  height: 100%;
  transition: all 500ms ease-out;
  flex-direction: column;
  align-items: center;
  z-index: 4;
}

.fixed{
  border-bottom: 10px solid white;
  background-color: white;
  position: relative;
}

.support-items-buttons-container {
  --support-display-width: min(max(60vw, 600px), 800px);
  width: var(--support-display-width);
  height: min-content;
  margin: auto;
  position: relative;
  /*margin-bottom: 500px;*/
}

.circle-title {
  font-size: 20px;
  text-align: center;
  width: 100%;
  margin: auto;
  /*margin-bottom: 28px;*/
  padding: 5px 0;
}


.circle-title-container{
  height: 100%;
  display:flex;
  align-items: center;
  z-index:2;
  position:relative;
  width:100%;
  top: -69px;
  background: inherit;
}


@media only screen and (max-width: 470px) {
  .circle-title-container {
    top: -84px;
    margin-bottom: -50px;
  }

}

.circle-container{
  width:min-content;
  display: flex;
  align-items:center;
  position: relative;
  z-index: 0;
  margin: auto;
}
.circle{
  margin: auto;
  margin:auto;
  top: 0px;
  width: 80px;
  height: 86px;
  border-radius: 100px 100px 100px 100px;
  border: 10px solid #15368A;
}
.vid-dot {
  margin:auto;
  width: 15px;
  height: 15px;
  border-radius: 100px 100px 100px 100px;
  margin: auto;
  background-color: #bbb;
}
.active {
  background-color: #717171;
}

#dot-container{
    height: 40px;
    top: 0px;
    overflow: hidden;
    margin: auto;
    width: 100px;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    bottom: 0;
}
#vid-slideshow{
  position: relative;
}
