form {
    width: 750px;
    max-width: 100%;
    padding: 20px;
}

form.delete {
    max-width:100vw;
    width:100%;
}

form.delete h5 {
    text-transform:uppercase;
    font-size:1rem;
}

form.delete a {
    font-weight:bold;
}

form.delete a:hover {
    text-decoration: underline;
}

form.delete .highlighted-text {
    color:blue;
}

.form-select,
.form-select option {
    font-size:.8rem;
    font-weight:normal;
}

.datepicker.form-control[readonly] {
    background-color: transparent;
}

.ui-datepicker-trigger {
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.ui-datepicker-trigger i {
    font-size: 20px;
}

label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 3px;
    margin-left:5px;
    width: 100%;
    text-align: left;
}

.sublabel {
    font-size: 10px;
}

select[multiple] {
    height: auto;
    min-height: 200px;
}

select[multiple].full {  
    height: 400px;
}

input:not([type=checkbox]):read-only:focus {
    border: 1px solid #92b0b3;
    background-color: var(--global-bgcolor-main);
    box-shadow: none;
}

textarea {
    height: 300px;
}

input.error:not([type=submit]),
textarea.error,
input.error:not([type=submit])+ul.tag-editor,
textarea.error+ul.tag-editor {
    box-shadow: 0 0 5px rgb(220, 13, 48);
    padding: 3px 0px 3px 3px;
    margin: 3px 1px 7px 0px;
    border: 1px solid rgb(220, 13, 48);
    background-color: rgb(227, 245, 250);
}

hr.form-separator {
    margin: 20px 20px;
    background-color: var(--global-bgcolor-main);
}

.input-container.button-container {
    margin-top: 10px;
}

div.button.submit{
    box-sizing: border-box;
    border: 1px solid #92b0b3;
    background-color: #c8d5d7;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 1px;
    font-size: 10px;
    text-align: center;
    padding: 7px 15px;
    margin-bottom: 5px;
    color: rgb(132, 132, 132);
    height: 30px;
    vertical-align: top;
}

input[type=submit]:hover,
div.button.submit:hover {
    background-color: rgb(37, 143, 44);
    cursor: pointer;
    color: white;
    border-color: transparent;
}

.required-mark {
    color: #900;
    margin-left: 5px;
}

.section-header {
    font-size: 10px;
    margin: 10px 0;
}

.section {
    margin-bottom: 20px;
}

.delete-db-item {
    width: 100%;
    display: flex;
    padding: 40px;
    padding-top: 0;
    box-sizing: border-box;
}

.delete-db-item  .uniques-list {
    padding: 0 0 10px 0;
}

.delete-db-item  .uniques-list .unique-value {
    font-weight: bold;
}

form.delete-movie {
    padding: 10px;
    box-sizing: border-box;
}

form.delete-movie .poster-container {
    position: relative;
    width: auto;
    height: auto;
    display: inline-block;
    border: none;
    box-sizing: border-box;
}

.filmedit-flow-control{
    width:100%;
    height:150px;
    position:relative;
    box-sizing: border-box;
}

.filmedit-flow-control .backline{
    border-top:1px solid black;
    height:0;
    width:100%;
    top:50%;
    display:inline-block;
    box-sizing: border-box;
    position:absolute;
    z-index:0;
}

.filmedit-flow-control .circle{
    height:50px;
    width:50px;
    display:inline-block;
    z-index:2;
    color:black;
    font-size:2em;
    text-align:center;
    vertical-align:middle;
    line-height:50px;
    cursor:pointer;
}

.filmedit-flow-control .circle.active {
    color:white;
}

.input-small {
    font-size: .8em;
    margin-left:5px;
    margin-top:5px;
}

.crossform-container {
    width:100%;
    height:100%;
    box-sizing: border-box;
    background:white;
    overflow:auto;
}

.input-group > .sm {
    flex-grow:1;
}

.remove-row-container {
    display:flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.remove-row,
.add-row {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    line-height: 15px;
    font-size: 18px;
    padding: 0;
}

.remove-row {
    font-size: 25px;
}

body.creators.edit #roles-input {
    margin-left: 5px;
}

body.creators.edit #roles-input a {
    font-weight:bold;
}

body.creators.edit #roles-input a:hover {
    text-decoration:underline;
}

.removeRole {
    width: 40px;
    margin-right: calc(var(--bs-gutter-x) * .5);
}

#search-input-label {
    cursor: pointer;
}

#creator-account-name-prefix {
    text-align: right;
    vertical-align: middle;
    display: inline;
    line-height: 30px;
    padding-right: 0;
    padding-left: 17px;
}

#creator-account-name-sufix {
    padding-left: 5px;
    width: 100px;
}

#roles-container {
    max-height: calc(100vh - 100px);
    padding:4px;
    margin-bottom: 20px;
    overflow-y: auto;
    bottom:0;
    padding-bottom: 40px;
    position: relative;
    padding-top: 50px;
    min-height:500px;
    border: 1px solid #c1c1c1;
}

#roles-container #addRole {
    position:absolute;
    top:0;
    right:0;
    z-index:2;
    box-shadow: rgba(0,0,0,.5) -3px 4px 10px 2px;
    margin-top:10px;
    width:100px;
}

.creators-portrait {
    cursor:pointer;
}

.popup-uploader {
    min-width: 640px;
    min-height: 250px;
    position: relative;
    z-index:1;
    display:flex;
    gap:10px;
    opacity:0;
    transition: all 1s;
}

.popup-uploader.visible{
    opacity:1;
    transition: all 1s;
}

.popup-uploader-bg {
	position:absolute;
    height:100%;
    width:100%;
    top:0;
    left:0;
    font-size: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .2;
    z-index:0;
    background-color: #78a2a2;
}

.popup-uploader img {
    max-height:250px;
    max-width:100%;
}

.popup-uploader  button {
    margin-top: 20px;
}

.poster-preview .poster-info {
    padding: 10px;
    font-size: 0.9em;
}

.edit-form .poster-preview img,
.new-form .poster-preview img {
    width: 200px;
    min-width:200px;
    min-height:250px;
    cursor:pointer;
}

.edit-form .poster-container,
.new-form .poster-container {
    position: relative;
    border:none;
    max-width: 250px;
}

.banner-container {
    cursor: pointer;
    background: gray;
    overflow: hidden;
}

.banner-container img {
    max-height: none;
}

.screenshot-container {
    cursor:pointer;
}

.input-autocomplete {
    line-height:30px;
    overflow:hidden;
}

.autocomplete-tag {
    border:1px solid black;
    background:rgba(129, 158, 152, 0.465);
    padding:.2em .5em;
    font-size:.9em;
    border-radius:3px;
    margin-right:10px;
    margin-bottom:10px;
}

.autocomplete-tag .close {
    margin-left:7px;
    position:relative;
    cursor:pointer;
}

.autocomplete-tag .close:after {
    content:'x';
}

#curatorial_text-input {
    height:400px;
}

#emails-new-form #subject-input {
    max-width:600px;
}

#movies-poster-container.movies-predictive-input .over {
    height: 70px;
    display: inline-block;
    padding-top:10px;
}

#movies-poster-container.movies-predictive-input .over i {
    font-size:2em;
}

#movies-poster-container.movies-predictive-input .over.trash {
    top:50%;
}

.movieaspredictive-main-container .movies-predictive-input .poster-container{
    height:auto;
    position: absolute;
}

.movieaspredictive-main-container .predictive-inform span {
    padding:5px 10px !important;
    cursor: auto;
}

.movieaspredictive-main-container .poster-preview {
    border: 1px solid #232232;
}

.movieaspredictive-main-container .predictive-inform span::after {
    display:none !important;
}

.movieaspredictive-main-container .poster-preview img {
    width:150px;
    min-width: 0;
    min-height: 0;
}

.movieaspredictive-main-container .poster-container a {
    display: inline-block;
}

.movieaspredictive-main-container .spinner .spinner-border{
    position: absolute;
    top: calc(50% - 20px);
    z-index: 2;
    left: calc(50% - 20px);
}

.movieaspredictive-main-container .spinner {
    width:150px;
    height:214px;
    border:2px solid #232232;
    position:absolute;
    top:0;
    left:0;
}

.dropdown-item:before {
    width:17px;
    height:17px;
    margin-right:8px;
    margin-top:10px;
    padding-left:1px;
    font-size:11px;
    display:inline-block;
    text-align:center;
    line-height:17px;
}

.dropdown-item.plus:before {
    content:'+';
    border-radius: 50%;
    background-color:green;
    color:white;
    font-weight:bold;
}

.dropdown-item.minus:before {
    content:'-';
    border-radius: 50%;
    background-color:red;
    color:white;
    font-weight:bold;
}

.toggle-password-type {
    cursor:pointer;
}