﻿.spinner {
    display:none;
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
}
.spinner .path {
        stroke: #6a2a2c;
        stroke-linecap: round;
        -webkit-animation: dash 1.5s ease-in-out infinite;
        animation: dash 1.5s ease-in-out infinite;
    }
@-webkit-keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}


@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #6a2a2c;
}


a:hover{
    color:#000000;
    text-decoration:none;
}

.text-danger {
    color: #ffc107 !important;
}



.btn-primary {
    color: #fff;
    background-color: #6a2a2c;
    border-color: #6a2a2c;
}

.btn-primary:hover {
        color: #6a2a2c;
        background-color: #ffffff;
        border-color: #ffffff;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
        color: #6a2a2c;
        background-color: #ffffff;
        border-color: #ffffff;
}

.btn-link {
    font-weight: 400;
    color: #6a2a2c;
    text-decoration: none;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.main-app {
    margin-top: 100px;
}


html {
    font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 40px; /* Vertically center the text there */
  z-index:3;
}


.purple {
    color: #6a2a2c;
}

.background-purple {
    background-color: #6a2a2c!important;
}

.text-purple {
    color: #6a2a2c !important;
}

.background-gradient {
    background-image: -webkit-linear-gradient(top, #f6b147 0, #6a2a2c 100%);
    background-image: linear-gradient(to bottom, #f6b147 0, #6a2a2c 100%);
}

.btn-white {
    background-color:white;
}

.button-full {
    display: block;
    width: 100%;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

input[type="text"],
.form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #6a2a2c !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #6a2a2c !important;
}
input[type="text"]:focus,
    .form-control:focus {
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

.link_libridivini {
    color:white;
    text-decoration:none;
}

.link_libridivini:hover {
    color: white!important;
    text-decoration: none !important;
}

.img-btn > input {
    display: none
}

.img-btn > img {
    cursor: pointer;
}

/* all */
::-webkit-input-placeholder {
    color: #6a2a2c !important;
}

::-moz-placeholder {
    color: #6a2a2c !important;
}
/* firefox 19+ */
:-ms-input-placeholder {
    color: #6a2a2c !important;
}
/* ie */
input:-moz-placeholder {
    color: #6a2a2c !important;
}

.descrizione {
    font-size: 12px;
    line-height: 11px;
}

.menu-index {
    font-size: 12px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #6a2a2c;
    border-color: #6a2a2c;
}

.btn-primary {
    color: #fff;
    background-color: #6a2a2c;
    border-color: #6a2a2c;
}

.navbar-light .navbar-toggler {
    color: #6a2a2c !important;
    border-color: #ffffff !important;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("../img/icone/hamburger.png") !important;
}

button:focus {
    outline: none!important;
}

.navbar {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 9999;
    width: 100%;
    /* position: relative; */
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}

.a-loader-title {
    background-color: none!important;
    font-family: sans-serif,monospace;
    text-align: center;
    font-size: 20px;
    height: 50px;
    font-weight: 300;
    line-height: 50px;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    color: #fff;
}

/*css per didascalie virtuali */
body {
    margin: 0;
}

.example-container {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

#example-scanning-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: transparent;
    z-index: 2;
}

@media(min-aspect-ratio: 1/1) {
    #example-scanning-overlay .inner {
        width: 50vh;
        height: 50vh;
    }
}

@media(max-aspect-ratio: 1/1) {
    #example-scanning-overlay .inner {
        width: 80vw;
        height: 80vw;
    }
}

#example-scanning-overlay .inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, white 10px, transparent 10px) 0 0, linear-gradient(to right, white 10px, transparent 10px) 0 100%, linear-gradient(to left, white 10px, transparent 10px) 100% 0, linear-gradient(to left, white 10px, transparent 10px) 100% 100%, linear-gradient(to bottom, white 10px, transparent 10px) 0 0, linear-gradient(to bottom, white 10px, transparent 10px) 100% 0, linear-gradient(to top, white 10px, transparent 10px) 0 100%, linear-gradient(to top, white 10px, transparent 10px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 40px 40px;
}

#example-scanning-overlay.hidden {
    display: none;
}

#example-scanning-overlay img {
    opacity: 0.6;
    width: 90%;
    align-self: center;
}

#example-scanning-overlay .inner .scanline {
    position: absolute;
    width: 100%;
    height: 10px;
    background: white;
    animation: move 2s linear infinite;
}

@keyframes move {
    0%, 100% {
        top: 0%
    }

    50% {
        top: calc(100% - 10px)
    }
}
.white-color{
    color:white;
}

/*-- Outer Box CSS --*/
.outerBox {
    position:relative;
    display: none;
    height: 50%;
    overflow: auto;
    justify-content: center;
    border-radius: 5px;
    padding: 5px;
    background-color: #6c2a2b;
    z-index: 10;
    box-shadow: 0px 0px 6px 0px #a5a5a5;
    top:20%;
}

/*-- Inner Box CSS --*/
.innerBox {
    border-radius: 5px;
    padding: 30px;
    font-size: 20px;
    position: relative;
    z-index:10;
    margin:5px;
}

.innerBoxClose {
    z-index: 999;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
}

#logoutForm {
    display:none;
}

#logout-link {
cursor:pointer;
}

.center-main {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.loaderlibridivini {
    border: 16px solid #222;
    border-top: 16px solid #fff;
    opacity: .8;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

.loaderlibridivini-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 2;
}

#textIndication {
    padding: 4rem !important;
}

.iconaPlayAudio {
    border: 1px solid;
    border-radius: 50%;
    background-color: brown;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    max-width: 50px;
}

.iconaPauseAudio {
    border: 1px solid;
    border-radius: 50%;
    background-color: brown;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    max-width:50px;
}

.iconaPlayAudio svg#img-data-path {
}

.iconaPauseAudio svg#img-data-path {
}

.iconaPlayAudio:hover {
    background-color: #931818;
}

.iconaPauseAudio:hover {
    background-color: #931818;
}
/* This used to work for the parent element of button divs */
/* But it does not work with newer browsers, the below doesn't hide the play button parent div */
