.accrdion-portfolio-area .out .accordion-overlay p{
    font-size: 13px;
    overflow-y: auto;
    height: calc(100% - 45px);
}

.accrdion-portfolio-area .accordion-overlay{
    width: 100%;
}

.accrdion-portfolio-area ::-webkit-scrollbar {
  width: 14px;
}

.accrdion-portfolio-area ::-webkit-scrollbar-thumb {
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 9999px;
  background-color: #AAAAAA;
}

#links .button-container{
    display: flex;
    align-items: center;
    justify-content: end;
    position: absolute;
    right: 0;
    top: 0;
}

#links  .button-left-black{
    color: white;
    width: 55px;
    height: 55px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 7.5px;
    cursor: pointer;
    left: -135px;
}

#links .button-right-black{
    color: white;
    width: 55px;
    height: 55px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
     margin: 0 7.5px;
     cursor: pointer;
     right: auto;
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100000000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: auto; /* Full height */
  overflow: auto; /* Enable scrolling if needed */
  background-color: rgba(0,0,0,0.7); /* Black background with opacity */
}

/* Modal Content */
.modal-content {
         background-color: #313538;
    margin: 30px auto auto auto;
    padding: 40px;
    border: none;
    width: 80%;
    height: calc(100vh - 30px);
    flex-flow: wrap;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
	background-image: url(/stage/wp-content/uploads/2024/04/Logowatermark.png);
    background-position: center;
    background-size: 100%;
    background-repeat: repeat;
}

#pdfViewer::-webkit-scrollbar {
		width: 5px;
	}

#pdfViewer::-webkit-scrollbar-track {
		width: 5px;
	background:black;
	}
#pdfViewer::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: linear-gradient(180deg, #74268C 0%, #F88543 24%, #078BB6 51%, #DA5E76 69.5%, #3CAF5F 100%);
}

.modal-content h2{
	font-size: 50px;
    font-weight: 700;
    line-height: 55px;
    letter-spacing: 2px;
	color: white;
	margin-bottom: 20px;
}

/* Close Button */
.close21 {
	color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
    width: 100%;
    text-align: right;
    margin-top: -100px;
}

.close21:hover,
.close21:focus {
  color: #5f5656;
  text-decoration: none;
  cursor: pointer;
}

/* Iframe Styles */
iframe {
  width: 100%; /* Full width */
  height: 500px; /* Adjust height as needed */
}

object{
    height: 100vh;
}

#pdfViewer {
    width: 100%;
    height: calc(100% - 100px);
    overflow: auto;
}

.conn{
    color: white;
    margin-top: 10px;
    width: 100%;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

@media screen and (max-width: 767px) {
    .modal-content{
        background-color: #313538;
        margin: 15% 10px;
        padding: 20px;
        border: 1px solid #888;
        width: 95%;
        height: 85vh;
        flex-flow: wrap;
    }
    
    #pdfViewer {
        width: 100%;
        height: calc(100% - 75px);
        overflow: auto;
    }
    
    /*.accrdion-portfolio-area .out .accordion-overlay p{*/
    /*    height: auto;*/
    /*}*/
    
}

@media screen and (min-width: 1024px) and (max-width: 1399.98px) {
	.accrdion-portfolio-area .out .accordion-overlay p {
		font-size: 13px;
		overflow-y: auto;
		height: calc(100% - 60px);
	}
	
	.accrdion-portfolio-area .out .accordion-overlay h2{
		margin-top: 0px !important;
	}
	
	.swiper-button-prev1.SwipperLeftArr.PerspectiveArr, .swiper-button-next1.SwipperRightArr.PerspectiveArr {
		display: grid;
		place-items: center;
		top: -125px !important;
	}
}