/* cot-eb-cotImageGallery */
.cotImageGallery {
  position: relative;
  max-width: 100%;
  margin: auto;
  border: 1px solid #d0d3d5;
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 10px;
}

.cotImageGallery .imageslides {
  display: none;
  width: 100%;
  min-height: 200px;
  max-height: 460px;
  height: 460px!important;
  align-content: center;
}

.cotImageGallery .imagesBox {
  position: relative;
  min-height: 200px;
}

.cotImageGallery img {
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.cotImageGallery .imageprevious,
.cotImageGallery .imagenext {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  padding: 15px;
  font-weight: bold;
  font-size: 30px;
  transition: 0.1s ease-in-out;
  border-radius: 0 4px 4px 0;
  user-select: none;
  border: 1px #222;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  z-index: 999;
}

.cotImageGallery .imageprevious {
  left: 0;
  margin-left: 0px;
  border-radius: 0px;
  padding: 20px 14px;
}

.cotImageGallery .imagenext {
  right: 0;
  margin-right: 0px;
  border-radius: 0px;
  padding: 20px 14px;
}

.cotImageGallery .imageprevious:hover,
.cotImageGallery .imagenext:hover,
.cotImageGallery .imageprevious:focus,
.cotImageGallery .imagenext:focus,
.cotImageGallery .imageprevious:active,
.cotImageGallery .imagenext:active {
  /*border: 1px solid var(--color-default);*/
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
}

.cotImageGallery .imageprevious:focus,
.cotImageGallery .imagenext:focus,
.cotImageGallery .imageprevious:active,
.cotImageGallery .imagenext:active {
  /*border: 1px solid var(--color-default);*/
  outline: 2px solid #ec9f09 !important;
  outline-offset: 0px !important;
  color: #fff;
  background: rgba(0, 0, 0, 0.9);
}



button.imageprevious.btn.btn-default {
    border-color: #222 !important;
    background-color: rgba(0, 0, 0, 0.42) !important;
    color: #fff !important;
}

button.imageprevious.btn.btn-default:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
}
button.imageprevious.btn.btn-default:focus {
    background-color: rgba(0, 0, 0, 0.9) !important;
}

button.imagenext.btn.btn-default {
    border-color: #222 !important;
    background-color: rgba(0, 0, 0, 0.42) !important;
    color: #fff !important;
}

button.imagenext.btn.btn-default:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
}
button.imagenext.btn.btn-default:focus {
    background-color: rgba(0, 0, 0, 0.9) !important;
}



.cotImageGallery .image-captions {
  text-align: left;
  padding: 0;
  padding-top: 5px;
  background: #fff;
  color: #222;
  font-size: 0.9rem;
}

.cotImageGallery .image-captions #imageCaption {
  border-left: 3px solid #eee;
  padding-left: 8px;
  padding-top: 5px;
}

.cotImageGallery .imagesthumbnails {
  display: flex;
  justify-content: left;
  margin-top: 2px;
  overflow: auto;
  padding: 10px 0 5px 0;
}

.cotImageGallery .imagesthumbnails img {
  width: 100px;
  height: 60px;
  margin: 0 5px;
  cursor: pointer;
  border: 2px solid #d0d3d5;
  padding: 1px;
  opacity: 0.80;
}

.cotImageGallery .imagesthumbnails img:hover,
.cotImageGallery .imagesthumbnails img:focus,
.cotImageGallery .imagesthumbnails img.imageActive {
  padding: 1px;
  opacity: 1;
  /* outline: #337AB7 solid 2px; */
  outline: none;
  border-color: #337AB7;
}


.cotImageGallery .imagesthumbnails img:focus {
  padding: 1px;
  opacity: 1;
  /* outline: #337AB7 solid 1px; */
}


.cotImageGallery .viewfullsizeimage {
  text-align: center;
  margin: 15px;
}

.cotImageGallery .imagecontrols {
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 10px;
  width: 100%;
  display: flex;
  align-items: center;
}

.cotImageGallery .imagecontrols button {
  cursor: pointer;
  margin: 0 5px;
  border: 1px solid var(--color-default);
  color: var(--color-default);
}

.cotImageGallery .imagecontrols button:hover {
    color: #fff;
    background-color: var(--color-default);
}

.cotImageGallery .imagePlayPause {
  width: 50%;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
  display: none;
}

.cotImageGallery .imageViewFull {
  /* width: 50%; */
  width: 100%;
  display: flex;
  /* justify-content: flex-end; */
  justify-content: center;
  overflow: hidden;
}

.cotModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cotModalOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}
.cotModalContent {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 0px;
  max-width: 100vw;
  max-height: 100vh;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  text-align: center;
}
.cotModalContent img {
  max-width: 100%;
  max-height: 80vh;
}
.cotModalClose {
  position: absolute;
  top: 0px;
  right: 15px;
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.42);
  border: none;
  cursor: pointer;
  color: #fff;
}
.cotModalClose:hover,
.cotModalClose:focus{
  color: #fff;
  background: rgba(0, 0, 0, 1);
}
.cotModalCaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #fff;
}


@media (max-width: 991px) {
  .cotImageGallery .imageslides {
    /* min-height: auto; */
  }

  .cotImageGallery .imageprevious,
  .cotImageGallery .imagenext {
    margin: 0;
    height: 100%;
    top: 0;
    width: 50px;
    border-radius: 0;
  }

  .cotImageGallery .imagecontrols {
    justify-content: center;
  }

  .cotImageGallery .imagePlayPause,
  .cotImageGallery .imageViewFull {
    width: auto;
  }

  .cotImageGallery .imagecontrols button,
  .cotImageGallery .viewfullsizeimage {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hidemobile {
    display: none;
  }

  .cotImageGallery .imagecontrols button,
  .cotImageGallery .viewfullsizeimage {
    font-size: 25px;
  }

  .imageViewFull{
    display: none!important;
  }
}
/* cot-eb-cotImageGallery */
