/*
Theme Name:  Twenty Seventeen Child
Template:  twentyseventeen
Description:
Author:  BF
Version:  1.0
*/
/*
html, body {
	height: 100%;
	margin: 0;
}
  
.room canvas {
	position: relative;
	left: 50%;
	top: 50%;
	margin-left: -640px; /* canvas の width/2 */
	/*margin-top: -360px; /* canvas の height/2 
}
*/
.room canvas{
	width: 100%;
}
.thumb-videos{
	display: flex;
	flex-wrap: wrap;
	margin: 1em 0;
	margin-right: -1%;
}
div.add-stream {
	flex-basis: 24%;
	position: relative;
	overflow: hidden;
	padding-top: 16%; /* 比率 */
	line-height: 0;
    margin: 0 1% 10px 0;
}
div.add-stream video{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.twentyseventeen-front-page.has-header-image .custom-header-media, .twentyseventeen-front-page.has-header-video .custom-header-media, .home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media,
.has-header-image.twentyseventeen-front-page .custom-header, .has-header-video.twentyseventeen-front-page .custom-header, .has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header{
	height: 40vh;
	min-height: 300px;
}

/* ミーティングページ */
video{
	width: 100%;
	z-index: 1;
}
.select select{
	font-size: 12px;
}
.select label{
	font-size: 0.6em;
	display: inline-block;
    width: 70px;
}
.select label i{
	font-size: 2.4em;
    padding-right: 5px;
	position: relative;
    top: 4px;
}
div.add-stream{
	/*height: calc(100vw/2.2);
    min-height: 250px;
    max-height: 400px;*/
    overflow: hidden;
}
/* div.add-stream:before{
	 padding-top: calc(803 / 1440 *100%); 
	content: "";
    display: block;
    height:auto;
} */
.onoff{
	display: flex;
    flex-direction: column;
    position: absolute;
    top: 300px;
    text-align: center;
    margin-bottom: 0;	
}
#js-visit-count,
#view-room-id{
	/* 参加人数 */
	display: inline;
    width: 40px;
	border: none;
}
#view-room-id{
    width: 70%;
}
#js-messages{
	height: 400px;
	overflow: scrollbar;
}

#fullscreen,
#camera-sharing,
#screen-sharing,
#js-audio-switch{
	border-radius: 5em;
    width: 40px;
    height: 40px;
    padding: 10px;
	background-color: #00000047;
	border: 1px solid #fff;
	margin: 10px;
}

#js-join-trigger,
#js-leave-trigger{
	background: #ff6900;
    border-radius: 1.55em;
}
/*#js-remote-streams{
 	height: 500px;
	min-height: 30vh;
    overflow: hidden;
}*/

.start-end_btn{
	position: relative;
	top: 55px;
	text-align: left;
	z-index: 2;
	margin-top: -45px;
}
#js-dialog{
	position: static;
}
#js-full-dialog{
	position: static;
}

.onoff button {
  position: relative;
}
.onoff button::before,
.onoff button::after {
  position: absolute;
  transition: all 0.3s ease 0s;
  opacity: 0;
}

.onoff button::after {
  content: attr(data-tooltip);
  display: inline-block;
    padding: 6px;
    background: #e7e7e7;
    color: #666;
    border-radius: 3px;
    font-weight: normal;
    width: 200px;
    z-index: 99;
	left: 0;
    top: 30px;
	font-size: 0.8em;
}
.onoff button:hover::before{
  top: 16px;
  opacity: 1;
}
.onoff button:hover::after{
  top: 36px;
  opacity: 1;
}



.entry-header{
	margin-bottom: 0;
}
@media screen and (min-width: 48em){
	.page.page-one-column .entry-header,
	.twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header{
	margin-bottom: 0;
	}
}

.site-info{
	display: none;
}
#post-2 .entry-header{
	display: none;
}
.entry-content h2{
	position: relative;
    padding: 1.5rem 1rem;
}
.entry-content h2:after{
	position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.wp-block-column ul li,
.entry-content ul li{
	list-style-position: inside;
	position: relative;
    margin: 0 0 0.5rem;
    padding: 0 0 0 1.5rem;
	list-style-type: none;
}
.wp-block-column ul li:before,
.entry-content ul li:before{
    content: '';
    display: block;
    position: absolute;
    top: 9.1px;
    top: 0.65rem;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 6px;
    background: #ed7700;
}
.wp-block-column h2{
	font-size: 1.1em;
	display: inline-block;
    color: #fff;
    position: relative;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #ed7700;
}
.wp-block-column h2:before{
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 4px solid #000;
}
body.page:not(.twentyseventeen-front-page) .entry-title{
	font-size: 1.2em;
    border-left: 7px double;
    padding: 5px 15px;
}

.wp-block-media-text .wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 0 8%;
    word-break: break-word;
}
.has-header-image .custom-header-media img{
	position: absolute;
	bottom: 0;
	right: 0;
}
.entry-content h2 {
	padding: 1.5rem 0rem;
}
@media screen and (max-width: 48em){
	/* 下に固定ver */
	.onoff{
	    position: fixed;
		background: #00000085;
		bottom: 0;
		width: 100%;
		top: auto;
		z-index: 999;
		display: block;
		margin-left: -2em;
	}
	.onoff button:hover::after{
		top: -30px;
	}
	div.add-stream {
		flex-basis: 32%;
		padding-top: 22%;
	}
	.thumb-videos{
		margin-right: -2%;
	}
	.wp-block-media-text .wp-block-media-text__content{
		padding: 8% 0 0 0;
	}
	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media, .home.blog.has-header-video .custom-header-media,
	.has-header-image.twentyseventeen-front-page .custom-header,
	.has-header-video.twentyseventeen-front-page .custom-header,
	.has-header-image.home.blog .custom-header, .has-header-video.home.blog .custom-header{
		height: 25vh;
		min-height: auto;
	}
	.custom-header-media:before{
		background: none;
	}
}