.gallery-card{
    border-radius: 10px;
}
.card-img-top{
    border-top-left-radius: 10px;
}
.gal-container {
    position: relative;
}

.gallery {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    min-height: 300px;
}

.gallery-row {
    align-items: start;
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
    padding-bottom: 50px;
    margin-top: 10px;
}
/* Scrollbar customization start */
.gallery-row::-webkit-scrollbar {
  width: 5px;
}

.gallery-row::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
.gallery-row::-webkit-scrollbar-thumb {
  background: #888; 
}

.gallery-row::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
/* Scrollbar customization end */

.gallery-img {
    width: 300px;
    height: 150px !important;
    object-fit: cover;
    border-radius: 5px !important;
}
.ezway-images .featured-image{
    position: relative;
    padding: 20px;
    
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.ezway-images .featured-img {
    position: relative;
    width: 100% !important;
    min-height: 200px !important;
    align-items: start;
    margin-top: 10px;
}
.feat-img{
  
 
    border-radius: 5px !important;
    margin-bottom: 50px;

}

.cust-btn{
    background-color: #2271b1;
    color: white;
    border: #1c465a;
    min-width: 120px;
    font-size: 14px;

}

.cust-btn:hover {
    background-color: #1c465a;
    color: white;
    border: #1c465a;
}
.cust-btn:focus{
    background-color: #1c5786;
    color: white;
    border: #1c465a;
}
.add-to-gallery {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;

    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.02), 0px -1px 0px 0px rgba(27, 31, 35, 0.15);

}

.add-to-gallery button {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.ezway-images .add-to-featured{
    position: static;
    width: 100%;
    box-shadow: none;
}
.add-to-featured button {
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.remove-gal-img {

    position: absolute;
    top: 5px;
    right: 12px;
    color: white;
    background-color: rgb(29, 28, 28);
    border: 1px solid black;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: opacity 3s ease-out;
    opacity: 0;
}

.remove-feat {

    position: absolute;
    color: white;
    background-color: rgb(29, 28, 28);
    border: 1px solid black;
    border-radius: 50%;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
    transition: opacity 3s ease-out;
    opacity: 0;

}


.publish-btn{
    background-color: #2271b1;
    width: 100%;
    font-size: 18px;
    color: white;
    border: #1c465a;
}
.publish-btn:hover{
    background-color: #1c5786;
    color: white;
    border: #1c465a;
}
.publish-btn:focus{
    background-color: #1c5786;
    color: white;
    border: #1c465a;
}
.publish-alert{
    padding: 10px;
    color: rgb(48, 48, 48);
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px, rgb(209, 213, 219) 0px 0px 0px 1px inset;
}
input[type=text]{
    font-weight: 500;
    font-size: 20px;
}
.featured-img:hover .remove-feat {
    opacity: 1;
    display: block;
}

.gal-container:hover .remove-gal-img{
    opacity: 1;
    display: block;
}

/* view album stylesheet */
.card-img-top{
 min-height: 225px;
 max-height: 225px;
 object-fit: cover;
}
.reset-error{
    text-decoration: underline;
    cursor: pointer;
}



/* trashed album page  */

.restore-album{
    background-color: transparent;
    color: #0e19b6;
    padding: 0;
}
.delete-album{
    background-color: transparent;
    color: rgb(235, 35, 35);
    padding: 0;
}
.restore-album:hover{
    background-color: transparent;
    color: #0e19b6;
    text-decoration: underline;
}
.delete-album:hover{
    background-color: transparent;
    color: rgb(235, 35, 35);
    text-decoration: underline;
}
.nav-active{
    color: #0e19b6;
}
/* file-uploader modal for ezway image */
.ezway-custom-media-modal{
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .ezway-custom-media-inner{
    width: 100%;
  }
  .ezway-custom-media-modal .uploader-header-default p{
    font-size: 0.8rem;
    color: #664d03;
  }
  
/* Image Uploading Loader */
.ezway-custom-media-modal span.file-status {
  width: 25px;
  height: 25px;
  border: 5px solid #ccc;
  border-top-color: orange;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transition: all 0.4s ease-in-out;
  position: relative;
  box-sizing: border-box;
  display:block;
  position:absolute;
  bottom:3px;
  right:10px;
}

/* Image Uploading Progress */
.ezwayimage-uploading-progress {
  width: 100%;
  height: 1rem;
  position: relative;
  display: none;
}
.ezwayimage-uploading-progress p {
  position: absolute;
  font-size: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0;
  line-height: 1;
  font-weight: 600;
  font-family: "Poppins";
  color: #fff;
}
.ezwayimage-uploading-progress .progress{
  background: rgb(173, 216, 230);
}
.ezwayimage-uploading-progress .progress-bar{
  background-color: orange;
  background-image: linear-gradient(45deg,rgba(255,255,255,.4) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.4) 50%,rgba(255,255,255,.4) 75%,transparent 75%,transparent);
  background-size: 1rem 1rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


.ezway-custom-media-modal span.file-status.success {
  animation: none;
  width: 25px;
  height: 25px;
  border: 3px solid #4caf50;
  border-radius: 4px;
  background-color: white;
  position: absolute;
  border-radius:50%;
}


.ezway-custom-media-modal span.file-status.success::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 14px;
  border: solid #4caf50;
  border-width: 0 3px 3px 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  box-sizing: border-box;
}
  
.ezway-custom-media-modal img {
    width: 300px;
    max-width: 100%;
    height: 150px;
    object-fit: cover;
}
.ezway-custom-media-modal .file-info:hover .cancel-button{
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.ezway-custom-media-modal .file-info .cancel-button{
  top: 0;
  right: 0;
  opacity: 0;
  position: none;
}
.ezway-custom-media-modal .clear-btn{
    color: #0f0;
    font-size: 0.8rem;
    cursor: pointer;
}
.ezway-custom-media-modal .file-uploader {
  background: #fff;
  border-radius: 10px;
}

.ezway-custom-media-modal .file-uploader .uploader-header {
  display: flex;
  padding: 20px;
  background: #EEF1FB;
  align-items: center;
  border-radius: 5px 5px 0 0;
  justify-content: space-between;
}

.ezway-custom-media-modal .uploader-header .uploader-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.ezway-custom-media-modal .uploader-header .file-completed-status {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.ezway-custom-media-modal .file-uploader .file-list:has(li) {
  padding: 20px;
}

.ezway-custom-media-modal .file-list .file-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
}

.ezway-custom-media-modal .file-list .file-item:last-child {
  margin-bottom: 0px;
}

.ezway-custom-media-modal .file-list .file-item .file-extension {
  height: 50px;
  width: 50px;
  color: #fff;
  display: flex;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: #5145BA;
}

.ezway-custom-media-modal .file-list .file-item .file-content-wrapper {
  flex: 1;
}

.ezway-custom-media-modal .file-list .file-item .file-content {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.ezway-custom-media-modal .file-list .file-item .file-name {
  font-size: 1rem;
  font-weight: 600;
}

.ezway-custom-media-modal .file-list .file-item .file-info {
  display: flex;
  gap: 5px;
}

.ezway-custom-media-modal .file-list .file-item .file-info small {
  color: #5c5c5c;
  margin-top: 5px;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.ezway-custom-media-modal .file-list .file-item .cancel-button {
  align-self: center;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0;
}

.ezway-custom-media-modal .file-list .file-item .cancel-button:hover {
  color: #E3413F;
}

.ezway-custom-media-modal .file-list .file-item .file-progress-bar {
  width: 100%;
  height: 3px;
  margin-top: 10px;
  border-radius: 30px;
  background: #d9d9d9;
}

.ezway-custom-media-modal .file-list .file-item .file-progress-bar .file-progress {
  width: 0%;
  height: inherit;
  border-radius: inherit;
  background: #5145BA;
}

.ezway-custom-media-modal .file-uploader .file-upload-box {
  border-radius: 6px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgb(209, 166, 85);
  transition: all 0.2s ease;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  row-gap: 70px;
}

.ezway-custom-media-modal .file-uploader .file-upload-box.active {
  border: 1px solid rgb(182, 125, 21);
  background: #F3F6FF;
}
.ezway-custom-media-modal .file-uploader .file-upload-box.active *{
  opacity: 0.5;
}

.ezway-custom-media-modal .file-uploader .file-upload-box .box-title {
  font-size: 1.05rem;
  font-weight: 500;
  color: #626161;
  margin: 0;
}

.ezway-custom-media-modal .file-uploader .file-upload-box.active .box-title {
  pointer-events: none;
}

.ezway-custom-media-modal .file-upload-box .box-title .file-browse-button {
  color: #5145BA;
  cursor: pointer;
  padding: 10px 20px;
  border: 1px solid orange;
  border-radius: 5px;
  text-decoration: none;
  color: orange;
  font-weight: 500;
}

.ezway-custom-media-modal .file-upload-box .box-title .file-browse-button:hover {
  text-decoration: underline;
}
.ezway-custom-media-modal .gallery{
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}