body {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    background: var(--global-bgcolor-main-light);
    padding: 0;
    margin: 0;
    letter-spacing: 1px;
    width: 100%;
    overflow-x: hidden;
}

body.dev{
    border-top:4px solid red;
}

body.test{
    border-top:4px solid green;
}

body.films.edit {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

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

.overflow-hidden, .blocked {
    overflow: hidden;
}

.uppercase {
    text-transform: uppercase;
}

.small {
    font-size: .9em;
}

h1,
h2,
h3,
h4 {
    text-transform: uppercase; 
}

h1 { font-size: 1.7rem;}
h2 { font-size: 1.3rem;}
h3 { font-size: 1.2rem;}
h4 { font-size: 1.1rem;}


a, a:hover {
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
}

a {
    font-weight:bold;
    max-height: 100%;
    overflow: hidden;
    height: inherit;
}

.btn a {
    font-weight:inherit;
}

a.confirm .confirm-message {
    display:none;
}

a.block {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.nqvs-brand {
    text-transform: none;
}

.ok,
.not-ok,
.ok-processing,
.ok-pending {
    min-width: 35px;
    min-height: 20px;
    background: green;
    display: inline-block;
    color: white;
    padding: 1px 2px;
    box-sizing: border-box;
    border-radius: 2px;
    font-size: 10px;
    line-height: 17px;
    margin: 3px 0;
    vertical-align: middle;
}

.not-ok {
    border: none;
    background-color: transparent;
    color: var(--global-color-main);
    min-height: 0;
    margin: 0;
}

.ok-pending {
    border: 1px solid gray;
    background-color: transparent;
    color: var(--global-color-main);
    border-radius: 0;
}

.ok-processing {
    border: none;
    background-color: #ecb100;
    color: white;
}

/*
 * HEADER
 */
header {
    background: var(--global-bgcolor-main);
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
    position: relative;
}

header nav {  
    padding: 0 20px;
    display: grid;
    height: 100%;
    grid-template-columns: 301px auto 350px;
}

header nav > * {
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav  >:first-child {
    justify-content: start;
}


header nav  >:last-child {
    justify-content: end;
}

header nav .nav-button,
header nav .nav-element {
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav .nav-button > span.nav-button-inner {
    display: flex;
    gap: 10px;
}

header nav .nav-button span.nav-button-inner > div.subelement {
    display:inline-block;
    height:100%;
    font-size:.8rem;
    font-weight:normal;
}

header nav .nav-button a,
header nav .label {
    color: var(--global-color-main);
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: 10px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

header img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}

.right {
    float: right;
}

.left {
    float: left;
}

.aright {
    text-align:right;
}

.aleft {
    text-align:left;
}

#debug-window {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
    color: white;
    padding: 20px;
}

.middle-wrap {
    min-height: 100vh;
    width: 100%;
}

.wrap-aside {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.wrap-aside aside {
    width: 30%;
    padding: 0 20px;
    position: relative;
    display: inline-block;
}

.wrap-aside aside>div {
    display: block;
    position: relative;
    height: 100%;
}

.wrap-aside .body {
    width: 70%;
}

.flex-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column wrap;
    width: 100%;
    gap:10px;
}

.flex-container.aleft {
    align-items:start;
    justify-content:start;
}

.flex-container.flex-row.aleft {
    justify-content:start;
}

.nqv-flex-basis-100 {
    flex-basis: 100%;
}

.fixed-top-left {
    position: fixed;
    top: 0;
    left: 0;
}

.flex-align-top {
    align-items: self-start;
}

.overall {
    z-index: 10000;
}

.above-main-header {
    z-index: 9;
}

.bg-blur {
    background-color: rgba(0, 0, 0, .8);
}

.bg-red {
    background-color: red;
}

.space-between {
    justify-content: space-between;
}

.fullwidth {
    width: 100%;
    box-sizing: border-box;
}

.diminished {
    opacity: .2;
}

.padded {
    padding: var(--padding-base);
}

.half-padded {
    padding: calc(var(--padding-base) / 2);
}

.quart-padded {
    padding: calc(var(--padding-base) / 4);
}

.half-padded-sides {
    padding-left: calc(var(--padding-base) / 2);
    padding-right: calc(var(--padding-base) / 2);
}

.half-padded-bt {
    padding-top: calc(var(--padding-base) / 2);
    padding-bottom: calc(var(--padding-base) / 2);
}

.unpadded-sides {
    padding-left: 0;
    padding-right: 0;
}

.unpadded-bt {
    padding-top: 0;
    padding-bottom: 0;
}

.unpadded-top {
    padding-top: 0;
}

.unpadded-bottom {
    padding-bottom: 0;
}

.mw720 {
    max-width: 720px;
    width: 100%;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.my-print {
    max-width: 100%;
    overflow: auto;
}

.poster-wrapper {
    width:150px;
    aspect-ratio:50 / 71;
    position:relative;
}

.poster-container {
    width: 100%;
    height: auto;
    position: absolute;
    display: block;
    border: 1px dashed #808080;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

aside .poster-container {
    height: auto;
}

.poster-container img,
.poster-container i {
    display: inline-block;
    width: 100%;
    max-height:none;
}

form#password-reset-form {
    background: var(--global-bgcolor-main);
    background-color: rgba(0, 0, 0, .3);
    color: white;
    border-radius: 0;
    min-width: 250px;
    width: 250px;
    padding: 50px;
    outline: 1px solid rgb(99, 108, 111);
    outline-offset: 0;
    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.notifications-container {
    width:100vw;
    max-width: 100%;
    font-size: 10px;
    text-transform: uppercase;
    box-sizing: border-box;
    z-index:10;
    position:absolute;
    top:0;
    left:0;
}

.notifications-container > div {
    width:100%;
    box-sizing: border-box;
    padding: 10px;
    padding-top: 15px;
    border-width: 1px;
    border-top-width: 2px;
    border-style: solid;
}

.notifications-container > div.error {
    border-color: #900;
    background-color:#fff1f1;
}

.notifications-container > div.success {
    border-color: #35c6b8;
    background-color:#f1fff1;
}

#nqv-shadow-box {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: var(--global-color-main);
}

#nqv-shadow-box .nqv-shadow-box-container {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 3px solid #e5e5e5;
    box-sizing: border-box;
    background-color: rgba(0,0,0,.5);
    padding:var(--padding-base);
}

#nqv-shadow-box .poster-creator {
    max-width: 60vw;
    max-height: 90vh;
    background: #e9e9e9;
    padding:var(--padding-base);
}

#nqv-shadow-box .poster-creator .button {
    margin-top:30px;
}

#nqv-shadow-box .nqv-shadow-box-container .fixed {
    max-width: 60vw;
    max-height: 90vh;
}

#nqv-shadow-box .nqv-shadow-box-container img:not(.free) {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.circle {
    border-radius: 50%;
}

/*
.green {
    border-color: green;
    background-color: white;
    border-width: 2px;
    border-style: solid;
}
*/

.green.active {
    background: green;
}

#ajax-response {
    overflow: none;
    display: none;
    background:rgba(0, 0, 0, .7);
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index:10;
    padding:40px;
}

.borderless {
    border:none;
}

.audio-data-title {
    font-weight: bold;
    text-transform: uppercase;
}

.main-info {
    margin-bottom:20px;
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
}

.main-info .head {
    display:flex;
}

.main-info .title {
    margin-bottom:0;
}

.main-info .filters-and-search {
    align-items:center;
    justify-content: flex-end;
    flex-direction:row;
    display:flex;
    width: 100%;
}

.main-info .dorpdowns {
    display:flex;
    flex-direction:row;
    align-items: center;
    justify-content: space-between;
    gap:20px;
    width:auto;
}

.main-info .dorpdowns .buttons {
    display:flex;
    flex-direction:row;
    align-items: center;
    gap:20px;
    width:auto;
}

.iso {
	width:20px;
	height:20px;
}

.iso .bg{fill:var(--bg-main-color);}
.iso .cuerno-1,.iso .cuerno-2{fill:var(--font-main-color);}

#waitin {
	position:fixed;
	width: 50%;
	height: 50%;
	top: 25%;
	left: 25%;
	display:flex;
	justify-content:center;
	align-items:center;
	z-index:1001;
}

#waitin.full {
	width: 100vw;
	height: 100vh;
    background:rgba(0, 0, 0, .75);
    top:0;
    left:0;
}

#waitin .iso {
    height: 100%;
    width: 100%;
    max-height: 100px;
    max-width: 100px;

    animation-name: nqv-sizing;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}

@keyframes nqv-sizing {
    0% {
    }
    50% {
		transform:scale(90%);
    }
    100% {
    }
}

#waitin .iso .bg {
	fill: transparent;
}

#waitin .iso .cuerno-1,#waitin .iso .cuerno-2 {
  fill: var(--main-color);
}

#waitin .iso .cuerno-2 {
    animation-name: nqv-horn-2;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}

@keyframes nqv-horn-2 {
    0% {
		fill:var(--main-color);
    }
    50% {
		fill:orange;
    }
    100% {
		fill:var(--main-color);
    }
}

#waitin .iso .cuerno-1 {
    animation-name: nqv-horn-1;
    animation-duration: 3000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear; 
}

#cleanTitle {
    border: 1px solid #ced4da;
    display: inline-block;
    height: 100%;
    padding: 5px 10px;
    border-radius: 5px;
    cursor:pointer;
    color: #6c757d;
}

#cleanTitle:after {
    content:'X';
    display:inline-block;
    margin-left:20px;
    color: #6c757d;
}

#cleanTitleSpinner {
    width: 20px;
    height: 20px;
    border-width: 2px;
    display:none;
}

@keyframes nqv-horn-1 {
    0% {
		fill:var(--font-main-color);
    }
    50% {
		fill:var(--main-color);
    }
    100% {
		fill:var(--font-main-color);
    }
}

.acenter {
    text-align: center
}

.movies-gallery {
    display:flex;
    gap:10px;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: start;
    align-items:start;
    font-size: .7rem;
}

.movies-gallery h6 {
    font-size: 1rem;
}

.movies-gallery > div {
    width:150px;
}

.semaphore-container > div {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: currentColor;
    border: 2px solid #000;
    padding:2px;
}

.semaphore-container > div.small {
    width: 17px;
    height: 17px;
}

.semaphore-container > div.small {
    width: 20px;
    height: 20px;
}

#copy-passphrase:before {
    content:'copiado';
    background-color: #30f0de;
    position: absolute;
    width: 120px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    top: -30px;
    right: 0px;
    display:none;
}

#copy-passphrase.copied:before {
    display:inline-block;
}

/* DESKTOP */
@media screen and (min-width: 1201px){
	.mobile:not(.desktop), .tablet:not(.desktop) {
		display:none;
	}
}

/* TABLET */
@media screen and (min-width: 961px) and (max-width: 1200px){
    .mobile:not(.tablet), .desktop:not(.tablet) {
        display:none;
    }

    .main-info .filters-and-search {
        align-items:flex-end;
        justify-content: center;
        flex-direction:column;
    }

    #nqv-search-form {
        width: 100%;
        padding:0;
        padding-top: 20px;
    }

    .main-info .dorpdowns {
        width:100%;
    }
}

/* MOBILE */
@media screen and (max-width: 960px) {
    .tablet:not(.mobile), .desktop:not(.mobile) {
        display:none !important;
    }

    header nav {
        grid-template-columns: 50px auto 250px;
    }

    .main-info .filters-and-search {
        align-items:flex-end;
        justify-content: center;
        flex-direction:column;
    }

    #nqv-search-form {
        width: 100%;
        padding:0;
        padding-top: 20px;
    }

    .main-info .dorpdowns {
        flex-direction: column;
        width:100%;
    }
}