html, body, form {
    margin: 0;
    padding: 0;
}

#home {
    position: absolute;
    left: 1vw;
    top: 3em;
    width: 96px;
    height: 96px;
}

#global {
    display: flex;
    flex-direction: column;
    width: 98vw;
    margin: 0 1vw;
}

#videoandcategories {
    display: flex;
    flex-direction: row;
}

#video {
    width: 200px;
    height: 200px;
    float: left;
    padding-left: 37px;
    padding-right: 37px;
}
#video, #catalog {
    width: 200px;
    height: 200px;
    float: left;
    padding-top: 40px;
    padding-bottom: 40px;
}

#categories {
    width: calc(100% - 218px);
    left: 205px;
}

#posters, #posteredit {
    width: calc(100% - 18px);
}

#script {
    width: calc(100% - 205px);
}

#posteredit {
    display: flex;
    flex-wrap: nowrap;
}

#categories, #posters, #script {
    padding: 5px;
    height: 200px;
    border: 4px solid lightblue;
    margin-bottom: 0.5vh;
    border-radius: 12px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
}

.categorie-item {
    display: inline-block;
}

.scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.carousel-item {
    width: 148px;
    height: 100%;
    padding: 5px;
    border: 2px solid lightgray;
    border-radius: 5px;
    font-family: DaxWeb-CondLight;
}

.categorie-caption, .poster-caption {
    width: 138px;
    text-align: center;
    overflow: hidden;
    font-family:DaxWeb-CondLight;
}

.poster-caption {
    height: 92px;
}

.categorie-caption {
    height: 92px;
}

.categorie-image, .poster-image {
    width: 138px;
}

.categorie-image{
    height: 118px;
}

.poster-image{
    height: 78px;
}
.poster-catalog{
    height: 138px;
    width: 98px;
    margin-left:18px;
}

.poster-item {
    flex: 0 0 auto;
    width: 148px;
    height: 190px;
    padding: 5px;
    border: 2px solid lightgray;
    border-radius: 5px;
    margin: 0 2px;
    background-color: white;
}

.ui-widget {
    font-size: 2.5vh;
}

#savescript {
    width: 20vw;
    margin: 0 1%;
}

.dialog-icon {
    float: left;
    width: 48px;
    height: 48px;
}

#delete {
    width: 200px;
    height: 200px;
    float: right;
}

#dureeinput {
    font-family:DaxWeb-CondLight;
    font-style:normal;
    font-variant:normal;
    font-weight:normal;
    line-height:normal;
    font-size: 2.5vh;
    margin: 5px 1%;
}

.saveicon {
    background-image: url(../../../images/navsvg/save.svg) !important;
    width: 96px;
    height: 96px;
    margin-left: -48px;
}

.cancelicon {
    background-image: url(../../../images/navsvg/back.svg) !important;
    width: 96px;
    height: 96px;
    margin-left: -48px;
}

.donnees {
    display: flex;
    width: 100%;
}

.inputs {
    flex: 10;
    display: flex;
    flex-direction: column;
    list-style-type: none;
}

.inputs > li {
    margin-bottom: 0.5vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
} 

.inputs > li > label {
    flex: 1;
    text-align: right;
}

.inputs .ui-spinner, .inputs .ui-selectmenu-button, .inputs input {
    flex: 1;
    justify-content: flex-end;
    margin-left: 0.5vw;
}

div#keyboard{
    top: 50%;
}
