/* CSS Visor Docente */
:root{
    --bs-box-shadow: 0 4px 0 0 var(--bs-base-strong);
}

html{
    background-color: var(--bs-base-light);
    margin: auto;
}

body{
    padding-top: 0px;
    background-color: transparent;
}

body,
html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.nosupport{
    display: none !important;
}

.container, .container-fluid, .row, .col, .col-* {
    padding: 0px !important;
}


/* Estados del Visor */

.live{
}

.overlay-live{
    background-color: var(--bs-status-danger-weak);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    display: none;
}

.overlay-live img{
    margin-bottom: 20px;
    border-radius: 100%;
    width: 50px;
    height: 50px;
}

.overlay-live img {
    animation: liveLogo 1s infinite;
}

.overlay-live h3{
    font-size: 42px;
}

.live .overlay-live{
    display: flex;
    animation: liveFadeOut 3s linear forwards;
}

/* Header */
header{
    padding-left: 20px
}

.logo{
    vertical-align: top;
    display: flex;
}

.logo img{
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.logo span{
    font-family: var(--bs-font-s);
    font-weight: 800;
    font-size: 14px
}

/* Botones del visor */

.btn {

}

.btn:hover{
    background-color: var(--bs-status-danger-default) !important;
    color: #fff !important
}

.btn:hover h4{
    color: #fff !important;
}

.herramientas .btn.btn-active{
    background-color: var(--bs-base-orange) !important;
    color: #fff !important
}
.herramientas .btn.btn-active span, .herramientas .btn.btn-active h4{
    color: #fff !important
}

.btn span{
    font-weight: 700;
}

.btn-link {
    height: 40px;
    color: var(--bs-bw-black) !important;
    margin-top: 3px;
    background: transparent;
}

.btn-link:hover{
    background-color: var(--bs-base-strong) !important;
    color: var(--bs-base-orange) !important;
}

/* boton visor */

.btn-v{
    box-shadow: var(--bs-box-shadow);
    border: solid 2px var(--bs-base-strong);
    border-radius: 10px !important;
    background-color: #fff !important;
    color: var(--bs-bw-black) !important;
    font-weight: 700;
}

.btn-v:hover {
    background-color: var(--bs-base-orange) !important;
    border-color: var(--bs-base-orange) !important;
    box-shadow: none !important;
}

.btn-v:hover span{
    color: #fff !important;
}

.btn-v i:hover {
    color: #fff !important;
}


.btn-v.btn-a{
    padding: 0px 0px 5px 0px;
    margin-right: 5px;
    min-height: auto;
    line-height: inherit;
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    margin-bottom: -30px
}

/* botÃ³n anotaciones */

.btn-a:focus {
    outline: none;
}


.btn-a span{
    padding: 5px;
    display: inline-block;
    min-width: 50px;
    height: 100%;
    line-height: 30px;
}

.btn-a i{
    background-color: var(--bs-bw-grey-light);
    padding: 10px 15px 15px 15px;
}

.btn-v.btn-a i:hover,
.btn-v.btn-a i:focus,
.btn-v.btn-a i:active,
.btn-v.btn-a i:focus:active{
    background-color: var(--bs-status-danger-default) !important;
}

.btn-a-active{
    margin-top: -8px;
    box-shadow: var(--bs-box-shadow);
    border: solid 2px var(--bs-status-danger-default);
    border-radius: 10px !important;
    background-color: var(--bs-status-danger-weak) !important;
    color: var(--bs-status-danger-default) !important;
}

.btn-a-active i{
    background-color: var(--bs-status-danger-weak2) !important;
    color: var(--bs-bw-black);
}

.toggle-anotacion-active{
    color: var(--bs-status-danger-default) !important;
}

.toggle-anotacion-active {
    line-height: 16px
}

.toggle-anotacion-active:after{
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 22px solid var(--bs-status-danger-default);
    margin: 2px auto;
    z-index: 100;
}



/* Visor */

.visor .btn-nav{
    border-radius: 100% !important;
    width: 50px;
    height: 50px;
    padding: 0px;
    position: absolute;
    left: -16px;
    top: 50%;
    z-index: 103;
    transform: translateY(-50%);
}

.visor .btn-nav i{
    line-height: 30px;
    font-size: 28px
}

.visor .btn-nav-right{
    right: -16px;
    left: auto;
}

.visor .btn-nav:focus{
    border-radius: 100% !important;
}

.btn-double{
    padding: 0px 0px 0px 10px;
    vertical-align: top;
}

.btn-double i:last-child{
    font-size: 22px;
    padding: 5px 10px;
    background-color: var(--bs-bw-grey-light);
    color: var(--bs-bw-black);
    margin-left: 10px;
    overflow: hidden;
    height: 40px;
    line-height: 30px;
    margin-top: 0px;
    border-top-right-radius: 10px;
}

.btn-double:hover .btn-a-icon{
    color: var(--bs-base-orange) !important;
}

/* Â· LIVE */

.btn-live{
    background-color: var(--bs-status-danger-weak) !important;
    color: var(--bs-status-danger-default) !important;
    border-color: var(--bs-status-danger-default) !important;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-live:hover{
    background-color: var(--bs-status-danger-default) !important;
    color: #fff !important;
    border-color: var(--bs-status-danger-default) !important;
}

.live .btn-live{
    background-color: var(--bs-status-danger-default) !important;
    color: #fff !important;
    border-color: var(--bs-status-danger-default) !important;
}
.live .btn-live i{
    animation: parpadeo 1.5s infinite, agrandarReducir 1.5s infinite;
}

/* Version */

.btn-version{
    max-width: 200px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
}


.btn-version span{
    font-size: 10px
}

/* Capas overlay de anotaciones */

.overlay-helper{
    display: none;
    pointer-events:none;
}

.overlay-alert{
    position: absolute;
    left: 0px;
    top: 0px;
    margin: 5px 0px 0px -10px;
    padding: 5px 10px 0px 10px;
    border-radius: 10px;
    border: solid 2px var(--bs-status-danger-default);
    background-color: var(--bs-status-danger-weak);
    color: var(--bs-status-danger-default);
    z-index: 101;
    font-size: 14px;
    box-shadow: var(--bs-shadow-raised);
}

.overlay-alert span{
    vertical-align: text-bottom;
}

.overlay-anotacion{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 7px;
    display: none;
}

.overlay-active-public{
    background: none;
    display: block;
}

.overlay-anotacion.overlay-active{
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Interface size small */

.interface-size-small .anotaciones{
    padding-top: 10px
}

.interface-size-small .herramientas-wrap {
    height: 90px;
}

.interface-size-small .btn-herramienta h4, .interface-size-small .btn-herramienta span{
    display: none;
}

.interface-size-small .herramientas .btn-herramienta{
    min-width: 40px;
    padding: 15px
}
.interface-size-small .btn {

}

.interface-size-small .btn span{
    font-size: 12px;
}

.interface-size-small .herramientas-tooltip{
    top: -150%;
}

.live .visor{
    border-color: var(--bs-status-danger-default) !important;
}

/* Anotaciones */

.anotaciones{
    padding-top: 20px;
    padding-left: 20px;
}


#modal-anotaciones .card-docente {
    background-color: var(--bs-base-light);
    cursor: pointer
}

#modal-anotaciones .card-docente img {
    width: 40px;
    height: 40px;
}

#modal-anotaciones .card-docente .btn i {
    display: block;
}

#modal-anotaciones .card-docente:hover {
    background-color: var(--bs-base-base);
    color: var(--bs-bw-black);
}

#modal-anotaciones .card-docente {
    background-color: var(--bs-base-light);
}

#modal-anotaciones .card-docente .card-body{
    padding: 10px;
}

#modal-anotaciones .card-docente-active {
    background-color: var(--bs-base-orange);
    color: #fff
}



.anotaciones-listado .anotacion{
    background-color: var(--bs-base-light);
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--bs-box-shadow);
}

.anotaciones-listado .anotacion-active {
    background-color: var(--bs-base-orange);
    color: #fff
}

.anotaciones-listado .anotacion:hover{
    background-color: var(--bs-base-strong);
    color: var(--bs-bw-black);
}

/* Visor */

.visor-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.visor{
    box-shadow: var(--bs-box-shadow);
    border: solid 2px var(--bs-base-strong);
    border-radius: 10px !important;
    background-color: #fff !important;
    z-index: 100;
    position: relative;
    margin-top: -14px;

    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

    background-image: url('../img/sample.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Herramientas */

.herramientas-wrap{
    z-index: 101;
    position: relative;
    padding-left: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    width: 100%;
    height: 130px;
    padding: 0px 0px 0px 20px;
    margin-bottom: 18px;
}

.herramientas-live{
    margin-top: -20px
}

.herramientas-live .btn{
    margin-top: 0px;
    margin-left: 15px;
    height: 45px;
}

.extras .btn, .herramientas .btn {
    margin-left: 5px
}

.herramientas .btn:first-child, .extras .btn:first-child {
    margin-left: 0px;
}

.btn-herramienta h4, .btn-herramienta span{
    color: var(--bs-bw-black);
}

.btn-herramienta{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px 12px 10px;
    min-width: 90px;
}

.btn-herramienta i{
    font-size: 28px;
}

.btn-herramienta h4{
    margin-bottom: 0px;
    margin-top: 8px;
    font-family: var(--bs-font-s);
    font-weight: 700;
    font-size: 14px;
}
.btn-herramienta span{
    font-size: 9px;
    line-height: 12px;
    font-family: var(--bs-font-s);
    color: var(--bs-bw-grey);
    font-weight: 400;
}

.herramientas-tooltip-wrap{
    position: relative;
}

.herramientas-tooltip{
    position: absolute;
    top: -130%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    margin-left: 2px;
    padding: 12px 12px 15px 12px;
    border-radius: var(--bs-border-radius-big);
    background-color: #fff;
    box-shadow: var(--bs-shadow-float);
    display: none;
}

.herramientas-tooltip::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.btn-herramienta-clear{
    display: none;
}

.btn-view-wrap{
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.btn-view{
    display: none;
    background-color: #fff;
}

.btn-view-active{
    display: block;
}

.btn-disabled{
    opacity: 0.1;
    transition: opacity 0.5s;
    cursor: not-allowed;
    pointer-events: none;
}

/* Extra */

.extras .btn{
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Modal */

.modal {
    align-items: center;
    justify-content: center;
    height: 100vh; /* Asegura que el modal ocupe toda la altura de la ventana */
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none; /* Elimina la restricciÃ³n de ancho mÃ¡ximo */
    border-radius: var(--bs-border-radius-big);
    max-height: 90vh; /* Asegura que el contenido no exceda la altura de la ventana */
    overflow-y: auto; /* Permite el desplazamiento si el contenido es demasiado alto */
}

.modal-content {
    border: 0px;
    border-radius: var(--bs-border-radius-big);
    width: auto; /* Ajusta el ancho al contenido */
}

.modal-header {
    background-color: var(--bs-base-light);
    border-top-left-radius: var(--bs-border-radius-big);
    border-top-right-radius: var(--bs-border-radius-big);
    padding-bottom: 10px;
}

.modal-title {
    font-size: 22px;
}

.modal-title span {
    vertical-align: text-bottom;
}

.modal.fade .modal-dialog {
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: translateY(0);
}

@media (max-width: 1280px){
    .btn-herramienta{
        padding: 10px 0px
    }
}
@media (max-width: 1180px), (max-height: 620px) {
    .nosupport{
        display: flex !important;
    }
    .visor-wrap{
        display: none;
    }
}

@keyframes liveLogo {
    0% {
        border: 2px solid transparent;
    }

    50% {
        border: 10px solid orange;
    }

    100% {
        border: 2px solid transparent;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes liveFadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        z-index: -1;
    }
}

@keyframes parpadeo {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes agrandarReducir {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.canvas-container{
    width:100% !important;
    height:100% !important;
}
.dev-disabled {
    pointer-events: none; /* Desactiva cualquier interacción con el elemento */
    opacity: 0.5; /* Opcional: Reduce la opacidad para dar una apariencia de deshabilitado */
    cursor: not-allowed; /* Muestra un cursor de prohibido */
    filter: brightness(0.5); /* Oscurece el elemento */
}

.circle {
    width: 24px; /* Set the size of the circle */
	height: 24px;
	border-radius: 50%; /* Makes it a circle */
	background-color: #000; /* Set the fill color */
}

.red{
	background-color: red; /* Set the fill color */
}

.blue{
	background-color: blue; /* Set the fill color */
}

.green{
	background-color: green; /* Set the fill color */
}