/* students első bejelentkezők */
.row_new_ones {
    width: 100%;
    display: flex;
    justify-content: center;
} 

/*students */
.media-row {
    gap: 1rem;
    .media-item {
        cursor: pointer;
    }
}
.polaroid {
    margin-bottom: 1rem;
    width: 45rem;
    padding: 0.5rem 0;
    margin: 1rem 0;
    height: 100vh;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.polaroid img, .polaroid video, .polaroid audio {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.polaroid video {
/*    height: 400px;*/
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}
.container {
    padding: 15px 0;
    padding-bottom: 30px;
    text-align: center;
    max-width: 28rem;
    margin: 0;
}
.container p {
    max-width: 28rem;
    overflow-x: auto;
    overflow-y: hidden;
}
.media-rows {
    display: grid;
/*    grid-template-columns: repeat(1, minmax(0, 1fr));*/
    gap: 1rem;
    justify-content: center;
}
#media_item_149 {
    width: 300px;
    height: auto;
}

.polaroid.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
}

/* trainers */
.item-box {
    width: 300px;
/*    height: 200px;*/
    height: auto;
    margin: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.item-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-box video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}

.item-box audio {
    width: 100%;
    height: 100%;
}

.mediaitems-plus-checkbox-container {
    display: flex;
    gap: 6rem;
    width: 100%;
}

.plyr {
/*    height: 100%;*/
    width: 100%;
}

#studentSelContainer .student-checkboxes {
    max-height: 240px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.form-check {
    padding-left: 20px;
}

.button-container {
    width: 100%;
    text-align: right;
}

.button-container button {
    border: none;
    color: #fff;
    background: #007bff;
    border-color: #006fe6;
    border-radius: .25rem;
    box-shadow: none;
}

.button-container button:hover {
    background: #00a2ff;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form_container{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align:center;
}
input[type=text],input[type=email],input[type=password]{
    color:#fff;
    padding: 10px;
    font-weight: 700;
    border: 1px solid;
    background-color: transparent;
    border-color: rgba(219,171,131,.6);
    outline-color: rgba(223,223,223,0);
    height: 16px;
    min-width: 180px;
}
html,body{
    font-family: Raleway,Arial,Helvetica,sans-serif;
}
.add-button {
    top: 1px;
    left: 1px;
}
.logo-container{
    background-image: url('/_projects/osszkerek/templates/default/images/logo.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top left;
    line-height: 68px;
    font-weight: 800;
}
.logo-container span:first-child{
    color: #dbab83;
}
button,input[type=submit]{
    cursor:pointer;
    color:#fff;
    letter-spacing: 2px;
    background-color: transparent;
    border-color: rgba(219,171,131,.6);
    outline-color: rgba(223,223,223,0);
    border-style: solid;
    border-width: 1px;
    line-height: 22px;
    padding: 8px 12px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 400;
    width: auto;
    font-size: 13px;
}
.label-plus-search-container{
    width: 30rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.label-plus-search-container input {
    border: none;
    background-color: #fff;
    border-radius: 0.25rem;
    color: #000;
            padding: 1rem 0.5rem;
}
button:hover,input[type=submit]:hover{
    color: #dbab83;
}

.plyr--fullscreen-enabled [data-plyr=fullscreen] {
    display: none;
}

.plyr__controls button[data-plyr="fullscreen"] {
    display: none !important;
}

video::-webkit-media-controls-fullscreen-button {
    display: none;
}

/* Trainers - igény rögzítés */
.trainer-request-row {
    width: 100%;
}
.trainer-request-month-row {
    width: 13rem;;
    justify-content: space-between;
    display: flex;
    gap: 2rem;
}
.trainer-request-month-row input {
    width: 4rem;
    min-width: 4rem;
    padding: 10px;
    font-weight: 500;
    border-color: #000;
    outline-color: #007bff;
    border-radius: 0;
    color: #000;
    height: 16px;
}
.disabled-input {
    background-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}
.row_new_ones .polaroid {
    height: auto;
    justify-content: flex-start;
}

.row_new_ones .polaroid .container {
    flex: 0 0 auto;
    height: 180px;
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media only screen and (max-width: 767px){
    .label-plus-search-container{
        width: 100%;
        flex-direction: column;
    }
    .label-plus-search-container input {
        padding: 1rem 0.5rem;
        margin: 0.2rem 0;
    }
    .plyr--fullscreen-enabled [data-plyr=fullscreen] {
        display: none;
    }
     
    .plyr__controls button[data-plyr="fullscreen"] {
        display: none !important;
    }
    
    video::-webkit-media-controls-fullscreen-button {
        display: none;
    }
    
    .plyr--video .plyr__controls {
        padding-top: 0;
    }

    .media-rows {
        margin-bottom: 3rem;
    }
    .container {
        padding: 10px;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .container p {
        margin-bottom: 0;
    }
    .polaroid {
        width: 100%;
        height: 95%;
        display: block;
        padding: 0;      
    }
/*    .polaroid .plyr__video-wrapper {
        background-image: url('/_projects/osszkerek/templates/default/images/galery/thumbnall/dsc_5067.jpg');
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 100%;
    } */
    
    .polaroid video {
/*        height: 78vh;*/
/*        height: 83vh;*/
        object-fit: contain; 
    }
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
    .mediaitems-plus-checkbox-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        width: 100%;
    }
    #studentSelContainer {
        padding: 0 0.5rem;
    }
    #studentSelContainer .student-checkboxes {
        max-height: 180px;
    }
}

@media only screen and (max-width: 450px){
    .form_container{
        width: 70%;
    }    
}

@media only screen and (max-width: 360px ){
    .form_container{
        width: 70%;
    }
}

@media only screen and (max-width: 767px) {
    .row_new_ones .polaroid {
        height: auto;
        justify-content: flex-start;
        overflow: visible;
    }

    .row_new_ones .polaroid .container {
        height: auto;
        max-height: 180px;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        flex-shrink: 0;
        -webkit-overflow-scrolling: touch;
        padding: 15px;
        box-sizing: border-box;
    }

    .row_new_ones .polaroid .container p {
        overflow: visible;
        overflow-wrap: break-word;
    }
}