@media screen and (max-width: 800px){
	 div > iframe, .jecr-youtub-cont
	{max-width: 100% !important;}
}


.jecr-video-container {
    position: relative;
    width: 100%; 
    height: 315px;
		border-radius: 19px;
	display: flex;
 
    position: relative;
	

}

#iframe, iframe {
    position: relative; /
    top: 10px; 
   margin-top:30px;
     
	margin-bottom: 30px;


	width: min(100%,520px);
  height: max(300px, 100%);

  overflow: auto;
	border-radius: 19px !important;
}



.jecr-center {
	 top: 0;
    left: 50;
	   align-items: center;  
    justify-content: center;  
}

.jecr-left{
	 top: 0;
    left: 0;
    justify-content: flex-start;  
}


.jecr-right{
	 top: 0;
    right: 0;

    justify-content: flex-end;  
}


.jecr-overlay {
		border-radius: 19px;
width: min(520px; 100%) ;
    position: absolute;

    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5); /* overlay to simulate the youtube embed effect */
	 transition: opacity 1s ease-out; /* smooth transition to make it look like a loading issue */
    opacity: 1; /* explicit cast */
}

@media screen and (max-width:800px){
	.jecr-overlay{
		width: 100%;
	}
body > a > img
	{margin:0px !important;
	padding:0px !important;
	object-fit: cover !important;
    height: 100%  !important;
    width: 100%  !important;}
}

.jecr-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background-color: rgba(255, 0, 0, 0.8); /* Just plain red, i approximated 80% by eye*/
    display: flex;
    align-items: center;
    justify-content: center;
	border-radius:12px;
}

.jecr-play-button svg {
    fill: #fff; 
}

.jecr-youtube-info {
	width: 100%;
    position: absolute;
    top: 0;
    left: 50;
   background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%); /* title gradient*/

    color: #fff;

    border-radius: 19px 19px 0 0; /* so it looks curved like our videos */


}


.jecr-animate-fade-up{
	  animation: jecr-fadeInUp 0.5s ease-out forwards 0.6s !important;
}

.jecr-video-container {
	opacity:0
}

@keyframes jecr-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jecr-youtube-title, .jecr-youtube-channel {
    margin: 0;
    font-size: 20px; 
	text-align: left;
	padding-left: 50px;
	padding-top: 21px;
}

.jecr-youtube-title{
	    font: 12px Roboto, Arial, sans-serif;
    font-family: "YouTube Noto",Roboto,Arial,Helvetica,sans-serif;
    text-align: left;
    direction: ltr;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    forced-color-adjust: none;
    text-shadow: 0 0 2px rgba(0,0,0,.5);
    font-size: 18px;
    white-space: nowrap;
    word-wrap: normal;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    text-decoration: none;
    outline: 0;
    color: #fff;
    transition: color .1s cubic-bezier(.4,0,1,1);
}

iframe[src=""] + .jecr-overlay {
    display: block; /* overlay only shows if src is empty */
}
