@charset "utf-8";

/* ==========================================================================
   オンライン講習会CSS
   ========================================================================== */
body {
    background-color: #f8f9fa !important;
}

ol.card-text {
    padding-left: 1.2rem;
}

ol.card-text li {
    font-size: 0.8rem;
    margin-bottom: 0.5em;
}

main h5 {
    font-size: 1.0rem;
}

main h4 {
    font-size: 1.1rem;
    font-weight: bold;
}

main p {
    font-size: 0.9rem;
}

.jumbotron {
    margin-bottom: 2rem;
    background-color: #b6ea79;
    background-color: #cbe8ff;
    border-radius: unset;
}

.smalltron {
    padding: 1rem 0.5rem;
    margin: 0;
    background-color: #b6ea79;
    background-color: #cbe8ff;
    border-radius: unset;
    margin-bottom: 30px;
}

.smalltron.shokuan {
    background-color: #b6ea79;
    background-color: #cbe8ff;
}

.smalltron.harness {
    background-color: #79c0ea;
    background-color: #cbe8ff;
}

.jumbotron h1 {
    font-size: 2.0rem;
}

.jumbotron p {
    margin: 0;
    font-size: 0.9rem;
}

.smalltron h4 {
    font-size: 1.0rem;
    font-weight: bold;
}

.smalltron p {
    margin: 0;
    font-size: 0.9rem;
}

.badge {
    font-size: 100%;
}

.facestatus {
    font-size: 16px;
    text-align: center;
}

.pagenation {
    margin-bottom: 20px;
}

.forpc {
    display: none;
}

.forsm {
    display: block;
}

@media (min-width: 768px) {

    /* PC */
    main h5 {
        font-size: 1.25rem;
    }

    main h4 {
        font-size: 1.5rem;
    }

    main p {
        font-size: 1.0rem;
    }

    .jumbotron h1 {
        font-size: 2.5rem;
    }

    .jumbotron p {
        margin: 0;
        font-size: 1.0rem;
    }

    .smalltron h4 {
        /*margin: 0;*/
        font-size: 1.2rem;
    }

    .smalltron p {
        margin: 0;
        font-size: 1.0rem;
    }

    .badge {
        font-size: 100%;
    }

    .facestatus {
        font-size: 14px;
        text-align: left;
    }

    .forpc {
        display: block;
    }

    .forsm {
        display: none;
    }

    ol.card-text li {
        font-size: 0.9rem;
    }
}

#controlbar {
    background: #343a40;
}

/* mobile footer menu */
footer.navbar {
    background: #0c77cd !important;
}

footer.navbar a {
    color: #fff;
}

.btn {
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
}

.displaynone {
    display: none;
}

.eventsnone {
    pointer-events: none;
}

.blacktoggle {
    position: absolute;
    bottom: -26px;
    background: #343a40;
    color: #80d7ff !important;
    text-decoration: none !important;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    width: 220px;
    text-align: center;
}
@media (max-width: 768px) {
    .blacktoggle {
        width: 90%;
    }
}

a[href^="http"][target="_blank"]:not(.internal):not(.btn) {
    background: url(external-link.png) no-repeat scroll right center transparent;
    padding-right: 15px;
    margin-right: 5px;
}

/* practice */
.iframe-content {
    position: relative;
    width: 95%;
    height: 0;
    padding-bottom: 56.25%;
    margin-left: 2%;
}

.iframe-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* login box */
.form-signin-wrap {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}


.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
}

/* videoとcanvasを重ねる */
#video-wrapper {
	/*display: flex;*/
	display: block;
	flex-direction: column;
	width: min-content;
	margin: auto;
}

/* overlay before start camera access */
#overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6); /* 半透明のグレー */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#camera-access-btn {
	padding: 10px 20px;
	font-size: 16px;
	background-color: #007bff;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

#camera-access-btn:hover {
	background-color: #0056b3;
}

/* Make iframe to Responsive */
.iframe_wrap{
    position:relative;
    width:100%;
    height:0;
    padding-top:56.25%; /* 9：16 = 0.5625 */
}
.iframe_wrap iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* face */
@media (min-width: 768px) {
    .facediv {
        max-width: 250px;
    }
}
.blink{
    -webkit-animation:blink 1s ease-in-out infinite alternate;
    -moz-animation:blink 1s ease-in-out infinite alternate;
    animation:blink 1s ease-in-out infinite alternate;
}
@-webkit-keyframes blink{
    0% {opacity:0.5;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0.5;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0.5;}
    100% {opacity:1;}
}

/* モーダル */
#kotak-dialog {
    /*position: absolute;*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
    height: 90%;
    background-color: #fff;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    z-index: 1050;
    display: none;
}

#kotak-dialog *:focus {
    outline: none;
}

#kotak-dialog h3.title {
    background-color: #3B5998;
    padding: 10px 15px;
    color: #fff;
    font: normal 16px Arial, Sans-Serif;
    margin: 0px 0px 0px 0px;
    position: relative;
}

#kotak-dialog h3.title a {
    /*position:absolute;*/
    top: 10px;
    right: 15px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

#kotak-dialog .isi-dialog {
    margin: 15px;
    font: normal 12px Arial, Sans-Serif;
    height: 90%;
}

#kotak-dialog .button-wrapper {
    padding: 10px 15px 0px;
    border-top: 1px solid #ddd;
    margin-top: 15px;
}

#kotak-dialog .button-wrapper button {
    background-color: #FF0C39;
    border: none;
    font: bold 12px Arial, Sans-Serif;
    color: #fff;
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
}

#kotak-dialog .button-wrapper button:hover {
    background-color: #aaa;
}

#dialog-overlay {
    position: fixed !important;
    position: absolute;
    z-index: 999;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: #000;
    display: none;
}

#iframeContainer {
    height: 100%;
}

#iframeContainer iframe {
    width: 100%;
    height: 100%;
    border: none;
    overflow: auto;
}

/* bootstrap の上書き*/
.close {
    float: right;
    opacity: unset;
    font-size: unset;
    line-height: unset;
    font-weight: normal;
    text-shadow: unset;
}

.noreload {
    float: right;
    font-weight: normal;
    margin-right: 30px;
}

.btn-light {
    background-color: #fff;
    border-color: #dae0e5;
}

.badge-pink {
    color: #fff;
    background-color: #ff69b4;
}