body {
  background-color: #fff;
  color: #333;
  margin: 33px; }

body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px; }

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px; }

a {
  color: #000; }

a:visited {
  color: #666; }

a:hover {
  color: #fff;
  background-color: #000; }

th {
  padding-bottom: 5px; }

td {
  padding: 0 5px 7px; }

div.field,
div.actions {
  margin-bottom: 10px; }

#notice {
  color: green; }

.field_with_errors {
  padding: 2px;
  background-color: red;
  display: table; }

#error_explanation {
  width: 450px;
  border: 2px solid red;
  padding: 7px 7px 0;
  margin-bottom: 20px;
  background-color: #f0f0f0; }

#error_explanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px -7px 0;
  background-color: #c00;
  color: #fff; }

#error_explanation ul li {
  font-size: 12px;
  list-style: square; }

label {
  display: block; }

.pc {
  padding-top: 20px;
  padding-bottom:20px;
  
}

.vm {
  
  padding-bottom: 30px;
}
.vc_holder {
   display: grid;
  align-self: center;
}
.vc_button {
    border-radius: 10px;

  text-align: center;

  background-color: #ffa500;
  width: 100%;
  max-width: 90%;
  padding: 0px 4px 3px 4px;


  align-self: center;
  justify-self: center;
}
.vgrid {

 display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto auto;
  gap: 5px 5px;
  grid-template-areas:
    "pl video pr"
    "pl chapters pr"
    "av av av";
	}

.vl{ grid-area: pl;
  display: grid;}
.vr{grid-area: pr; 
  display: grid;}
.va{grid-area: av;
		text-align: center;} 

.vt ,table, th, td, tr, tbody, thead  {
border-color: #ffa500;
border-width: 1px;
border-style: solid;
border-radius: 5px;
	}
    


.photo_gallery_grid_title{
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 1;
}

.photo_gallery_grid {

  display: grid;
  grid-template-columns: 33% 33% 33%;

  text-align: center;
  grid-gap: 10px;

}

.bg_green {
  border-color: green  !important;
}

.pagination {
  margin-top: 20px;
}
/*
.noscroll {
  overflow: hidden;
} */

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
/* The Modal (background) */
.modal {
  display: block;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  padding-bottom: 50px;
  width: 100%;
  /*height: 100%;*/

  background-color: black;
  color: yellow;
  overflow-y: scroll;
   top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.arrow:hover{
  border-color: #fff;
         }






.arrow:hover{
  border-color: #fff;
         }




.gallery_grid_main{
  display: grid;
  grid-template-columns: minmax(54px,auto) 54px  max-content 54px  minmax(54px,auto);

  grid-template-rows: auto max-content;
  grid-gap: 5px;
  align-items: center;
  justify-items: center;

}

.g_title{
grid-column-start: 2;
grid-column-end: 5;
}

.g_bl {
  grid-column-start: 2;
  grid-column-end: 3;

  grid-row-start: 2;
}
.g_image{
  grid-column-start: 3;
  grid-column-end: 4;

  grid-row-start: 2;
}

.g_br{
  grid-column-start: 4;
  grid-column-end: 5;

  grid-row-start: 2;
}


.gallery_grid_controls{
  display: grid;
  grid-template-columns: minmax(54px,auto) 54px 12% 12% 12% 12% 12% 54px minmax(54px,auto);
  /*grid-template-columns: 11.11% 11.11% 11.11% 11.11% 11.11% 11.11% 11.11% 11.11% 11.11%;*/

  grid-template-rows: auto max-content;
  grid-gap: 5px;
  align-items: center;
  justify-items: center;

}

.g_bs {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;

}
.g_left_A{
  grid-column-start: 4;
  grid-column-end: 5;

grid-row-start: 1;
  margin: 10px;
}

.g_left_B{
  grid-column-start: 3;
  grid-column-end: 4;

grid-row-start: 1;
  margin: 10px;
}

.g_centre {
    grid-column-start: 5;
  grid-column-end: 6;
grid-row-start: 1;
  
}
.g_right_A{
  grid-column-start: 6;
  grid-column-end: 7;
grid-row-start: 1;
  margin: 10px;
}
.g_right_B{
  grid-column-start: 7;
  grid-column-end: 8;

grid-row-start: 1;
  margin: 10px;
}

.g_be {
  grid-column-start: 8;
  grid-column-end: 9;
  grid-row-start: 1;

}

.g_left_S{
  grid-column-start: 4;
  grid-column-end: 5;
  grid-row-start: 1;
}





.g_right_S{
  grid-column-start: 5;
  grid-column-end: 6;
grid-row-start: 1;
 
}

.g_cat_list {
  grid-row-start: 2;
  grid-column-start: 5;
}


.arrow {
  border: solid #ffa500;
  /*border-width: 0 3px 3px 0;*/
  display: inline-grid;
  padding: 18px;
  width: 18px;
  height: 18px;
}


.right {
  border-width: 0 3px 3px 0;
  transform: rotate(-45deg) translate(0,-27px);
  -webkit-transform: rotate(-45deg) translate(0,-27px);


}
.ar_start{
  border-width:    3px 0 0 3px ;
  width: 10%;
  height: 10%;
  padding: 10px;
}
.ar_end{

    border-width: 0 3px 3px 0;
    width: 10%;
    height: 10%;
    padding: 10px;
}

.left {
  border-width:    3px 0 0 3px ;
  transform: rotate(-45deg) translate(29.4px,0);
  -webkit-transform: rotate(-45deg) translate(29.4px,0); /* 27*/

}


a {
  text-decoration: none;
}
.lightbox {
	/** Default lightbox to hidden */
	display: none;

	/** Position and style */
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
}

.lightbox img {
	/** Pad the lightbox image */
	max-width: 90%;
	max-height: 80%;
	margin-top: 2%;
}

.lightbox:target {
	/** Remove default browser outline */
	outline: none;

	/** Unhide lightbox **/
	display: block;
}


.error_box {
  border-color: red;
  border-width: 5px;
  border-style: solid;
  border-radius: 5px;
  text-align: center;
  color: red;
  margin: auto;
  width: 70%;

}
.about_text{
  grid-column-start: 1;
  grid-column-end:  -1;
}
.gallary_list{
  border-color: #ffa500;
border-width: 0px;
border-top-width: 1px;
border-style: solid;
padding-bottom: 5px;

  grid-row-start: 2;
  grid-column-start: 1;
  grid-column-end:  -1;
}
.about_box{

  border-color: #ffa500;
border-width: 1px;
border-style: solid;
border-radius: 5px;
}
.box_pad {
  padding: 15px;
  /*height: 100%;*/
}
.feature_grid{
  display: grid;
  grid-template-columns:  33% 33% 33%; /* 5*/
  grid-template-rows: auto;
  grid-gap: 10px;


}
.feature_box{
  height: 100%;
  text-align: center;
  border-color: #ffa500;
border-width: 1px;
border-style: solid;
border-radius: 5px;

}
.home_grid {
  display: grid;
  grid-template-columns: 25% auto 25%; /* 5*/
  grid-template-rows: auto;

}
.cat_grid {

  display: grid;
  grid-template-columns: 33% 33% 33%;

  text-align: center;
  grid-gap: 10px;

}


.L{

}
.R{
  text-align: right;


}
.M {

}

body {
  background-color: black;
  /*margin: 10px;*/	
  max-width: 1500px;
}
 .container {
   display: grid;
   grid-template-columns: auto 75% auto;
   grid-gap: 10px;


 }
 .b_left{
 border-left-color: #ffa500;
 border-left-width: 1px;
 border-left-style: solid;

 }
 .b_right{
 border-right-color: #ffa500;
 border-right-width: 1px;
 border-right-style: solid;

 }

 .cat_link_button{
   border-top-color: #ffa500;
 border-top-width: 1px;
 border-top-style: solid;
 padding: 10px;
 }


 .button {
   padding: 10px;
 }
 .scroll {

  white-space: nowrap; /* [1] */
  overflow-x: auto; /* [2] */
  /*-webkit-overflow-scrolling: touch;  [3] */
  -ms-overflow-style: -ms-autohiding-scrollbar; /* [4] */

  &::-webkit-scrollbar {
        display: none;
    }
}


/* [5]
.scroll::-webkit-scrollbar {
  display: none; }
*/
 .topbar {
   grid-column-start: 1;
   grid-column-end: 4;
   grid-gap: 5px;

   /* background img based on :  Poemandpainting / CC BY-SA (https://creativecommons.org/licenses/by-sa/3.0)
   https://commons.wikimedia.org/wiki/File:A_part_of_Giant_Traditional_Chinese_Painting.JPG*/
   background-image: url("/images/qitube_banner_bkg_big.jpg");
   border-radius: 5px;
   display: grid;
   grid-template-columns: auto repeat(6,auto) auto; /* 5*/
   grid-template-rows: auto 33%;
   max-height: 300px;
   padding-bottom: 20px;


   background-repeat: round;
 }
 .main {
   padding:  5px;
   grid-column-start: 2;
   grid-column-end: 3;
 background-color:  black;
 color: yellow;
  border-radius: 5px;
  /*text-align: center;*/
 }

.main  a {
   color: #fff500; }

.main a:visited {
   color: #ffd500; }
.main   a:hover {
        color: #fff;
        background-color: #000; }

 .main_menu {
   grid-column-start: 2;
   grid-column-end: 3;
   display: grid;
  grid-template-columns:   repeat(auto) auto;
   text-align: center;

 }
 .cat_link_button a {
   color: #000; }



/*
.cat_link_button a:visited {
   color: #666; }
.cat_link_button    a:hover {
     color: #fff;
     background-color: #000; }
*/
.button_p{
  padding: 5px;
}

.cat_about {
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-end: 1;
  display: grid;
  grid-template-columns:33.3% 33.3% 33.3% ; /*50% 50%*/
  margin-bottom: 10px;
}
/*.cat_links{
  grid-column-start: 3;
  grid-column-end:  4;
  grid-row-end: 1;
  text-align: center;

}*/

:root {
--youtube-red:  white; 
--buffer-green: #E9B46385;
}

.videos {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: -1;
}

.vp {
	width: 100%;
  object-fit: contain;
     height: 100%;
  /*   width: 100%;
    object-fit: contain;*/

}

#vidcon{
width: fit-content;
position: relative;
/*--wmoz: -moz-fit-content;
--w: fit-content;
width: -moz-fit-content;
width: fit-content;
*/
text-align: left !important;
margin: auto;
}
.vthumb {max-width:90%;}

.video-controls {
 
  right: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  /*bottom: 0;*/
  transition: all 0.2s ease;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.video-controls.hide {
  opacity: 0;
  pointer-events: none;																			
  }
  


.video-progress {
  position: relative;
  height: 8.4px;
  margin-bottom: 10px;
}
#buffer-bar {

}
#progress-bar{
background-color: transparent;
}
progress {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 8.4px;
  pointer-events: none;
  position: absolute;
  top: 0;
}
#chapter-list {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 2px;
  width: 100%;
  height: 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
}
.chapter-segment{

height: 10px;
vertical-align:top;
position: absolute;
display: inline-block;
background-color: #ffa50070;
}


.no_lb {
border-left-style: none;
border-left-width:0px;
}
#navlist{
padding-top: 50px;
grid-column-start: 2;
   grid-column-end: 3;
   grid-row-start: 2;
padding-bottom: 10px;
display: grid;
grid-template-columns:  auto repeat(4,auto) auto;
margin: auto;
}

#navlist span p {
	display:inline-block;
	margin: 2px;
}
#navlist span {
	cursor: pointer;
	margin: 10px;
	  border-radius: 2px;
	  border: solid  #ffa500;
	  padding: 5px;
	  display: inline-block;
      text-align: center;
      
	  
	
	

}



#jmp {
	
	border-style: none !important;
	border-width:0px !important;
}
#navlist .current {
	background-color: yellow;
	color: black;
}

#desc {
  margin: 10px;
	  border-radius: 2px;
	  border: solid  green;
	  padding: 5px;
	  display: inline-block;
      text-align: center;
     grid-column-start: 2;
     opacity: 0;
}

progress::-webkit-progress-bar {
 background-color: transparent;/* var(--youtube-red);#474545;*/
  border-radius: 2px;
}

progress::-webkit-progress-value {
  background: #f4f4f1a3;
  border-radius: 2px;
}


progress::-moz-progress-bar {
  border: 1px solid var(--youtube-red);
  background: #f4f4f1a3;
}


/* buffer bar */
progress#buffer-bar::-webkit-progress-bar {
  background-color: #6F6D6D;
  border-radius: 2px;
}

progress#buffer-bar::-webkit-progress-value {
  background: var(--buffer-green);
  border-radius: 2px;
}

prgress[value]#buffer-bar {
	border: 1px solid var(--buffer-green);
  color: var(--buffer-green);
  }
  
progress#buffer-bar {
	background-color: #6F6D6D;
  
  background:#6F6D6D;
}
progress#buffer-bar::-moz-progress-bar {
	border: 1px solid var(--buffer-green);
  color: var(--buffer-green);
  background: var(--buffer-green);
  }



.seek {
  position: absolute;
  top: 0;
  width: 100%;
  cursor: pointer;
  margin: 0;
}

.seek:hover+.seek-tooltip,.seek:active+.seek-tooltip,.seek:focus+.seek-tooltip {
  display: block;
}

.seek-tooltip {
  display: none;
  position: absolute;
  /*top: -65px;*/
  bottom: 24px;
  min-width: max-content;
  margin-left: -20px;
  font-size: 12px;
  padding: 5px;
  content: attr(data-title);
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  border-radius: 5px;

}

.bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.left-controls {
  display: flex;
  align-items: center;
  color: #fff; /*#ffa500; */
}

.right-controls {
  display: flex;
  align-items: center;
  color: #fff; /*#ffa500; */
}

.volume-controls {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.volume-controls input {
  width: 50px;
  opacity: 1;
  transition: all 0.4s ease;
}

.volume-controls:hover input, .volume-controls input:focus {
  width: 50px;
  opacity: 1;
}

button {
  cursor: pointer;
  position: relative;
  margin-right: 0px;
  font-size: 12px;
  padding: 0px 3px;
  border: none;
  outline: none;
  background-color: transparent;
}

button * {
  pointer-events: none;
}

button::before {
  content: attr(data-title);
  position: absolute;
  display: none;
  right: 0;
  top: -50px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-weight: bold;
  padding:  4px 6px;
  word-break: keep-all;
  white-space: pre;
}
/*
button:hover::before {
  display: inline-block;
}
*/
.fullscreen-button {
  margin-right: 0;
}

.pip-button svg {
  width: 26px;
  height: 26px;
}

.playback-animation {
 /*pointer-events: none;*/
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -40px;
  margin-top: -40px;
  width: 80px;
  height: 80px;
  border-radius: 80px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}
.subtitles {
  pointer-events: none;
  position: absolute;
  bottom:66.8px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: max-content;
  padding: 3px;
  right:0;
  left:0;
  opacity:0;
 
}
.speedselect {
  
  position: absolute;
  bottom:32.8px;
    border-radius: 5px;
  background-color: rgba(0, 0, 0, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: max-content;
  padding: 10px;
  right:75px;
  z-index:900

 
}

input[type=range].speed {
  height: 5px;
  background-color: #fff;
}

input[type=range].speed::-webkit-slider-runnable-track {
  background-color: transparent;
    padding-bottom: 17px;
}

input[type=range].speed::-webkit-slider-thumb {
  margin-left: 0;
  height: 10px;
  width: 10px;
  background: var(--youtube-red);

}


input[type=range] {
  -webkit-appearance: none;
  -moz-appearance: none;
  height: 8.4px;
  background: transparent;
  cursor: pointer;
}

input[type=range]:focus {
  outline: none;
}
.subtitles {
	
	text-align: center;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  cursor: pointer;
  border-radius: 1.3px;
  -webkit-appearance: none;
  transition: all 0.4s ease;
}

input[type=range]::-webkit-slider-thumb {
  height: 16px;
  width: 16px;
  border-radius: 16px;
  background: var(--youtube-red);
  cursor: pointer;
  -webkit-appearance: none;
  margin-left: -1px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: transparent;
}

input[type=range].volume {
  height: 5px;
  background-color: #fff;
}

input[type=range].volume::-webkit-slider-runnable-track {
  background-color: transparent;
}

input[type=range].volume::-webkit-slider-thumb {
  margin-left: 0;
  height: 10px;
  width: 10px;
  background: var(--youtube-red);
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 1.3px;
}

input[type=range]::-moz-range-thumb {
  height: 14px;
  width: 14px;
  border-radius: 50px;
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
  cursor: pointer;
  margin-top: 5px;
}

input[type=range]:focus::-moz-range-track {
  outline: none;
}

input[type=range].volume::-moz-range-thumb {
  border: 1px solid var(--youtube-red);
  background: var(--youtube-red);
}

.hidden {
  display: none !important;
}

.vchidden {

}

svg {
  width: 26px; 
  height: 26px;
  fill: #fff;
  stroke: #fff;
  cursor: pointer;
}

.FBB {
  width: 26px; 
  height: 26px;
  
}
.FBBT {
  display: flex;
}

.span_fbbt{
  padding-top: 2px;
}

.cc-button {

margin-right:0;
}

.speed-button,  .bskipA-button, .fskipA-button, .bskipB-button, .fskipB-button, .F1,.F5,.B1,.B5{

  height: 26px;
  color: #fff;
  font-size:15px;
}
.off {
 fill: Darkgray;
  stroke: Darkgray;
}

.tback {
  height: 119px;
  width:  80px;
  left:0;
  top:50%;
    position: absolute;

  margin-bottom: 46px;
  border-radius: 0 80px 80px  0;
   background-color: rgba(0, 0, 0, 0.6);
 margin-top: -63px;
  justify-content: center;
  align-items: center;

opacity :1;
  display: flex;
}


.tforward {
  height: 119px;
  width:  80px;
  left: calc(100% - 80px);
  top:50%;
    position: absolute;

  margin-bottom: 46px;
  border-radius:  80px 0 0 80px ;
   background-color: rgba(0, 0, 0, 0.6);
 margin-top: -63px;
  justify-content: center;
  align-items: center;
 opacity :1;

  display: flex;
}
.rwapper{
  grid-column-start: 2;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: -1;
}
.articles  {

  min-height:  100px;


}
.links {

min-height:  100px;

}
 .footer {
   grid-column-start: 2;
   grid-column-end: 3;
   text-align: center;
   color: white;
 }


.menu_top_row {

  background-color: #ffa500;
}
.current_selected {
  font-weight: bold;
}



.menu_even {
background-color: #ffd500;
}
.menu_odd {
background-color: #fff500;
}
.logo {
  grid-column-start: 1;
  grid-column-end: -1;
  min-height: 50px;
}
.padding {
    grid-row-start: 2;
}
.menu_button {
  border-radius: 10px;

  text-align: center;
  grid-row-start: 2;
  background-color: #ffa500;
  width: 100%;
  max-width: 90%;
  padding: 0px 4px 3px 4px;


  align-self: center;
  justify-self: center;
}
.center {
  text-align: center;
}
.menu_pad {
  padding: 10px;
}

.mcefield {

  padding-left: 10px;
  padding-right: 10px;
}

.qilogo {
  margin :auto;
  display: block;
  width: 18vw;
  max-width: 110px;

}

.monk_logo {
  grid-row-start: 2;
  grid-column-end: -1;
}

.view_grid {
  
  display: grid;
  grid-template-columns: 50% 50% ;
  grid-gap: 5px;
}

@media only screen and (max-width:400px){
  
  .photo_gallery_grid {

  display: grid;
  grid-template-columns: auto;

  text-align: center;
  grid-gap: 5px;

}

}
@media only screen and (max-width:600px){
  
  .photo_gallery_grid {

  display: grid;
  grid-template-columns: 50% 50%;

  text-align: center;
  grid-gap: 5px;

}
  
	
	#navlist{
padding-bottom: 10px;
display: grid;
grid-template-columns: repeat(3,auto);
}
	
	
	

  .feature_grid {

    grid-template-columns:  50% 50%; /* 5*/

    grid-gap: 2px;


  }

  .cat_grid {

    grid-template-columns:  50% 50%; /* 5*/

    grid-gap: 2px;


  }

 /*.cat_links {
    grid-column-start: 2;
    grid-column-end: -1;
  }*/
body{
  margin: 10px !important ;

}
.main_menu {
  grid-column-start: 1 !important;
  grid-column-end: -1 !important;
  display: grid;
  /*grid-template-columns: repeat(2,auto) auto;*/
  text-align: center;
}

.container {

  grid-template-columns: 5px auto 5px;



}
.vthumb {max-width:75%;}

.home_grid p{
  font-size: 10px !important;
}
.home_grid h2 {
  font-size: 11px !important;
}
.home_grid h3 {
  font-size: 12px !important;
}
.L p , .R p {
  font-size: 8px !important;
}
/*.menu_button {
	margin-bottom: 5px;*/
}
@media only screen and (max-width:900px){
  
  .photo_gallery_grid {

  display: grid;
  grid-template-columns: auto;

  text-align: center;
  grid-gap: 5px;

}

}



@media all and (display-mode: fullscreen) { /* every CSS goes here that you want to apply or alter in the fullscreen mode*/
.video-controls {
 
  right: 0;
  left: 0;
  padding: 10px;
  position: absolute;
  bottom: 0;
  transition: all 0.2s ease;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}
 
.speedselect {
right: 102px !important;
}

}


@media all and (display-mode: fullscreen) and (orientation: landscape) {
  .vchidden {
  display: none !important;
}
}
