/*
映像エリア尾
*/
#wrap_control {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
}
div#wrap_control > div {
    flex: 1 1 50%;
    padding: 15px;
}
#wrap_view
{
    width: 100%;
}

#wrap_remote
{
    width: 100%;
}

#wrap_camera_list
{
    width: 100%;
}

#control-camera-video,
#control-camera-mic,
#control-remote-call,
#control-remote-off
{
    width: 100%;
}

#local-camera 
{
    background-color: gray;
    width: 100%;
    height: auto;
}

#remote-video
{
    border: 1px solid #ccc;
    width: 100%;
    height: 56%;
}



#device-camera{
	display: grid;
}
#local-camera{
	width: 100%;
}
.guest_live_page_container {
    max-width: 1280px;
    margin: auto;
}
/* ヘッダー */
.guest_live_page_container h1 {
    font-size: 1.8rem;
    text-align: center;
    padding: 10px;

}
/* フッター
 */
.live_page_footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}
#wrap-switch {
    display: flex;
    justify-content: space-between;
}

div#wrap-switch button {
    flex: 1 1 25%;
}

/*共通*/
.live_page{

    height: auto;
	margin: 0 auto;
}

/*theme*/
button, input[type=button], input[type=reset], input[type=submit], .button, .wc-block-grid__products .wc-block-grid__product .wp-block-button__link, .added_to_cart {
    border: 0;
    border-radius: 0;
    background: none;
    background-color: #43454b;
    border-color: #43454b;
    color: #fff;
    cursor: pointer;
    padding: 0.6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}


/**********
モーダル
**********/
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	text-align: center;
	background: rgba(0,0,0,80%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
    transform: translateY(-120%);
    transition: all cubic-bezier(0.39, 0.575, 0.565, 1);
}
#setup-container {

   
}

/*モーダル本体の擬似要素の指定*/
/* .modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
} */
/*モーダル本体に「active」クラス付与した時のスタイル*/
.modal-container.active{
	opacity: 1;
	visibility: visible;
    transform: translateY(0%);

}
/*モーダル枠の指定*/
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 500px;
	width: 90%;
}





/*モーダルを閉じるボタンの指定*/
.modal-close{
	position: absolute;
	
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    border: 1px solid #Fff;
    padding: 8px 30px 9px 30px;
    transform: translateY(35%);
    left: 0;
    right: 0;
    display: inline-block;
    margin: auto;
    width: 150px;
}

/* コンテンツ情報 */
#wrap_info{
	position: relative;
	color: #fff;
    height: 53vh;
    max-width: 600px;
    margin: auto;
}
div#wrap_info > label {
    display: block;
    text-align: left;
    font-size: 1.2em;
    border-bottom: 1px solid yellow;
    margin-bottom: 5px;
}
div#wrap_info > div  {
    text-align: left;
}
div#wrap_info > div + label {
    margin-top: 10px;
}
/*　デバイス選択　*/
#setup-content{
	text-align: left;
    color: #fff;

}
div#setup-content > div + div {
    margin-top: 15px;
}
div#setup-content > div label {
    padding-bottom: 5px;
    display: block;
}
div#setup-content select {
    padding: 10px;
    width: 100%;
}

/* 処理中の表示用 */
#overlay-busy{ 
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height:100%;
    display: none;
    background: rgba(0,0,0,0.6);
}

.cv-spinner-busy {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
}

#message-busy {
    width: 300px;
    height: 6em;
    color: white;
}

.spinner-busy {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% { 
        transform: rotate(360deg); 
    }
}

.is-hide{
    display:none;
}


@media screen and (max-width: 896px) {
    
    .modal-container{

        padding: 20px 20px;

    }
    #setup-container {
        display: flex;
        align-items: flex-start;
    }
    #setup-container  > div {
     
        height: calc(100vh - 40px);
        padding: 0 5px 0 0;
    }
    #setup-body {
        flex: 1 1 35%;
    }
    #wrap_info{
        max-width:unset;
        margin: auto;
        flex: 1 1 65%;
        padding-right: 20px !important;
        overflow-y: scroll;
    }
    
    /*　デバイス選択　*/
    .setup-content{
    
    
    }

}

@media screen and (max-width: 782px) {
    #setup-container {
        display: block;
    }
    #setup-container > div {
        padding: 0 5px 0 0;
    }

    #wrap_control {
       display: block;
    }
    div#wrap_control > div {
        /* height: 40vh; */
    }
    main.live_page {
        margin-bottom: 80px;
    }
    
    #wrap_info {
        height: calc(55vh - 20px) !important;
        margin-bottom: 25px;
        overflow-y: scroll;

    }
    #setup-body {
        /* height: calc(45vh - 45px) !important; */

    }

}
