.grtyoutube-popup {
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:99999;
}

.grtyoutube-popup-content {
	margin-top:150px;
	width:95%;
	max-width:850px;
	margin-left:auto;
	margin-right:auto;
	position:relative;
}

.grtyoutube-popup-close {
	position:fixed;
	top:5%;
	right:5%;
	color:red;
	font-size:25px;
	width:17px;
	height:17px;
	cursor:pointer;
}

.grtyoutube-iframe {
	width:100%;
	height:480px;
}
@media (max-width:767px) {
	.grtyoutube-iframe {
		width:100%;
		height:350px;
	}
}

.grtyoutube-dark-theme{
	background: #000000b5;
}

.grtyoutube-dark-theme .grtyoutube-popup-content {
	/* -webkit-box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4);
	-moz-box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4);
	box-shadow: 0px 0px 8px 0px rgba(255,255,255,0.4); */
}

.grtyoutube-dark-theme .grtyoutube-popup-close {
	/* background: url('icon-close-white.png') no-repeat; */
}

.grtyoutube-light-theme {
	background: rgba(255,255,255, 0.85);
}

.grtyoutube-light-theme .grtyoutube-popup-content {
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.4);
}

.grtyoutube-light-theme .grtyoutube-popup-close {
	/* background: url('icon-close-black.png') no-repeat; */
}

/* Custom style  */
.ib_video_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.ib_video_grid .ib_video_item{
    position:relative;
    width:365px;
    margin: 2px 2px;
}
.ib_video_grid .ib_video_item .youlink {
    cursor: pointer;
}
.ib_video_grid .ib_video_item:hover .ib_watch {
    height:unset !important;
    padding:16px 1px;
    visibility:visible !important;
}
.ib_video_grid .ib_video_item:hover .ib_title {
    color:#46b153 !important;
    background:#fff !important;
}
.ib_video_grid .ib_video_item img{
   width:100%;
}
.ib_video_grid .ib_video_item .ib-box {
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.ib_video_grid .ib_video_item .ib-box h2 {
    font-size: 14px;
    margin: unset;
}
.ib_video_grid .ib_video_item .ib-box .ib_title {
    color: #fff;
    background: #000000b0;
    padding: 16px 1px;
}
.ib_video_grid .ib_video_item .ib-box .ib_watch {
    color: #fff;
    background: #2f2d2d;
    height:0;
    visibility:hidden;
    transition: .4s;
}