*, *::before, *::after {
  box-sizing: border-box;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  
}

.video-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem 1rem;
  padding: 3rem 0;
  
  border-top: 4px solid #CCC;
  
}

.video-section:first-child {
	
  border-top: none;
}

.satsangvideo {
	
    
	display: flex;
    align-items: center;
    margin-bottom: 12px;
    background-color: #fff;
    
   
   box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
	 margin:  3px;
	 border-radius: 1rem 1rem 1rem 1rem;
  transform: translateZ(0);
  
  

	
  
}

.satsangvideo.active {
    background-color: red;
	
  }

satsangvideo:hover {
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.thumbnail {
  position: relative;
  display: flex;
}

.thumbnail::before {
  color: #ddd;
	background: #111;
	height: calc(100% - 70px);
	padding: 0;
	overflow-y: auto;
	-moz-box-shadow: inset 0 0 10px #000;
	-webkit-box-shadow: inset 0 0 10px #000;
	box-shadow: inset 0 0 10px #000;
}

.thumbnail-image {
  float: left;
	margin-right: 10px;
	position: relative;
	height: 100px;
	 border-radius: 1rem 1rem 1rem 1rem;
}



.video-title {
	line-height: 1.6em; /* Sets line height to 1.5 times text size */
    height: 4.8em; /* Sets the div height to 2x line-height (3 times text size) */
    width: 100%; /* Use whatever width you want */
    white-space: normal; /* Wrap lines of text */
    overflow: hidden; /* Hide text that goes beyond the boundaries of the div */
    text-overflow: ellipsis; /* Ellipses (cross-browser) */
    -o-text-overflow: ellipsis; /* Ellipses (cross-browser) */
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: black;
}





.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.home{
  
   float: left;
  
}

.search-bar {
  display: flex;
  flex-grow: 1;
  margin: 0 2rem 0 4rem;
}

.search-input {
  width: 100%;
  font-size: inherit;
  padding: .4em;
  border: 1px solid #777;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.search-btn {
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  border: 1px solid #777;
  background-color: #F8F8F8;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #F0F0F0;
}





#pagin li {
  display: inline-block;
}



#menu{
  position:relative;
  text-align: center;
  margin: 0 auto; // auto left/right margins
  overflow: hidden;
}
#menu > button{
 
   
}
#menu > button > i{
  padding: 5px 3px 5px 5px;
  
}
#menu > button#playbtn,#pausebtn{
  background-color:#FF0000 ;
  color:white;
  padding: 10px 14px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  border:none;
  font-size: 30px;
  size: 30px;
}
#menu > button#pausebtn{
  background-color:#FF0000 ;
  color:white;
  padding: 10px 14px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  border:none;
font-size: 30px;
}
#menu > button{
  background-color:transparent ;
  Margin: 0 auto ;
  padding: 10px 14px;
   color:black;
  text-align: center;
  cursor: pointer;
  border:none;
 font-size: 30px;
}
#menu > button#btnPrev{
  float: left;
}
#menu > button#btnNext{
  float: right;
}
#menu > button#playbtn,#pausebtn{
  float: center;
}

#menu > button:focus{
  outline: none;
  background-color:transparent ;
}


.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	background-color:red;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.float1{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:120px;
	background-color:red;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}

.my-float{
	margin-top:16px;
}

.videomodal .modal-dialog {
      max-width: auto;
      margin: 2px auto;
  }    
.videomodal .modal-body {
  position:relative;
  padding:0px;
}

 .modal-title{
 
  margin-right: 20px; 
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  color: black;
  
  
  opacity:1;
}

 .modal-footer{
text-align:center;

  
}
.cursor-pointer{
    cursor: pointer;
}
.modal-content {
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  .close {
    font-size: 24px;
    padding: 15px 0 15px 15px;
  }
  .modal-header {
    padding: 0;
  }
  .modal-body {
	   position:relative;
          padding:0px;
    
  }
.modal-full {
    min-width: 20%;
    margin-left: 80;
}

.modal-full .modal-content {
    min-height: 100vh;
}



#container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px; height: 0; overflow: hidden;
}

.video-container {
  width: 100%;
  height: 100%;
}

.modal-dialog {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: auto;
}
@media(max-width: 768px) {
  .modal-dialog {
    min-height: calc(100vh - 20px);
  }
}  
