.button-bar {
    padding: 20px 0;
}
.panel {
    padding: 20px;
}

.command {
    padding: 20px 0;
}

.imageDisplay, .k-upload {
    width: 500px;
    height: auto;
}

.album-name {
    font-weight: 600;
    font-size: 1.2em;
}
.album-description {
    padding-bottom: 20px;
}

.album-selection {
    width: 100% !important;
}

.contests-wrapper {
    margin-top: 30px;
}

@media only screen and (min-width: 992px) {
    .album-body-content {
        padding: 10px;
        height: 100px;
        overflow: hidden;
        position: relative;
    }
    .media-body-content {
        padding: 10px;
        height: 110px;
        overflow: hidden;
        position: relative;
    }

    .media-title {
        margin-bottom: 0px !important;
    }
    .media-count {
        position: absolute;
        margin-bottom: 5px !important;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: left;
        padding-left: 10px;
        font-size: 0.8em;
    }
    .view-count {
        position: absolute;
        margin-bottom: 5px !important;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: right;
        padding-right: 10px;
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 768px) {
    .album-body-content {
        padding: 10px;
        position: relative;
    }
   .media-body-content {
        padding: 10px;
        position: relative;
    }

    .media-title {
        margin-bottom: 15px !important;
    }
    .media-count {
        position: absolute;
        margin-bottom: 5px !important;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: left;
        padding-left: 10px;
        font-size: 0.8em;
    }

    .view-count {
        position: absolute;
        margin-bottom: 5px !important;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        text-align: right;
        padding-right: 10px;
        font-size: 0.8em;
    }
}

.photo-box-media {
    background-color: #F8F8F8;
    border: 0.5px solid #d3d3d3;
    overflow: hidden;
    position: relative;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.1);
    box-shadow: 4px 5px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

    .photo-box-media:hover {
        -webkit-box-shadow: 4px 5px 30px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 4px 5px 30px rgba(0, 0, 0, 0.2);
        box-shadow: 4px 5px 30px rgba(0, 0, 0, 0.2);
    }

.photo-media-img {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

    .photo-media-img img {
        width: 100%;
        object-fit: cover;
    }

.photo-img {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

    .photo-img img {
        width: 100%;
        object-fit: cover;
    }

.photo-box-media .photo-media-img {
    width: 100%;
    position: relative;
    background-color: #ffffff;
}

    .photo-box-media .photo-media-img img {
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        transform: scale(1, 1);
        -webkit-transition: 0.4s all linear;
        transition: 0.4s all linear;
    }

.photo-box-media:hover .photo-media-img {
    background-color: #333333;
}

.photo-box-media:hover .photo-media-img img {
    -webkit-transform: scale(1.05, 1.05);
    -ms-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    -webkit-transition-duration: 250ms;
    transition-duration: 250ms;
}

.photo-box-media:hover .video-name-slide {
    transform: translate3d(0, 0, 0);
}

.video-name-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    transition: transform 300ms;
    background: rgba(29, 106, 154, 0.8);
    transform: translate3d(0, 100%, 0);
}

.video-name-text {
    flex-grow: 1;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}

    .video-name-text p {
        margin: 0;
        text-align: center;
        color: #fff;
    }

h3.dnnFormSectionHead {
    margin-top: 8px;
    margin-bottom: 18px;
    border-bottom: 1px solid #ddd;
    line-height: 36px;
}

.dnnFormItem input[type="checkbox"] {
    margin-top: 10px;
    margin-bottom: 18px;
}

.photo-widget-media-img {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

    .photo-widget-media-img img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
