body {
    padding-top: 64px;
    padding-bottom: 15px;
    background-color: #eee;
    overflow-y: scroll;
}

h1 {
    font-size: 2.2rem;
    word-break: break-word;
}

.navbar-brand img {
    height: 40px;
    margin-top: -10px;
    margin-bottom: -5px;
}

.flex-images {
    overflow: hidden;
    margin: -4px;
}

.flex-images .item {
    float: left;
    margin: 4px;
    box-sizing: content-box;
    overflow: hidden;
    position: relative
}

.flex-images .item img {
    display: block;
    width: auto;
    height: 100%;
}

.flex-images .item.shutterstock img {
    width: 100%;
    height: auto;
    max-height: none !important;
}

.flex-images .item .photo-info {
    transition: 0.2s;
    position: absolute;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 3px 5px;
    font-size: 0.8rem;
}

.flex-images .item:hover .photo-info {
    transform: none;
}

.flex-images .item .title {
    top: 0;
    transform: translateY(-105%);
}

.flex-images .item .statistic {
    bottom: 0;
    transform: translateY(105%);
}

.img-preview {
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
}

.btn-download.btn-primary:hover {
    color: #007bff;
    border-color: #007bff;
    background-color: transparent;
}

.btn-download.btn-secondary:not(:disabled):hover {
    color: #6c757d;
    border-color: #6c757d;
    background-color: transparent;
}

.cursor-pointer {
    cursor: pointer;
}

.navbar-dock {
    margin-top: -8px;
}

.pos-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.img-darken {
    position: relative;
}

.img-darken::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.input-group .tt-hint {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .tt-input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.img-profile {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.z-2 {
    z-index: 2;
}

.dropdown-menu-download .dropdown-item:active {
    color: #16181b;
    background-color: #f8f9fa;
}

.text-muted-light {
    color: #b4babe;
}

.dropdown-menu-download {
    background-color: #ddd;
    border-color: #bbb;
}

.photographer-verified {
    color: #e84e0f;
}

.video-explain {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9999;
}

.video-explain-container {
    background-color: rgba(255, 255, 255, .8);
    width: 100%;
    max-width: 100%;
}

.video-explain-container img {
    border: 2px solid var(--dark);
}

.video-explain-button {
    color: #e84e0f;
    font-weight: bold;
    font-size: 40px;
    line-height: 0.5;
    cursor: pointer;
}

.fs-vw-5 {
    font-size: 5vw;
}

.fa-youtube {
    color: #f00;
    position: relative;
}

.fa-youtube::before {
    position: relative;
    z-index: 1;
}

.fa-youtube::after {
    content: "";
    background-color: white;
    position: absolute;
    width: 25%;
    height: 25%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wysiwyg-content img {
    max-width: 100%;
    height: auto;
}

.wysiwyg-content > :first-child {
    margin-top: 0;
}

.wysiwyg-content > :last-child {
    margin-bottom: 0;
}

.text-break-all {
    word-break: break-all;
}

@media (max-width: 575px) {
    .small-xs {
        font-size: 80%;
        font-weight: 400;
    }

    .pagination .page-item:not(:first-child):not(:last-child).disabled {
        display: none;
    }

    .video-explain {
        left: 0;
    }

    .video-explain-container {
        background-color: #a9a7a8;
        padding: 10px 15px;
    }
}

@media (min-width: 576px) {
    .video-explain {
        padding: 30px 45px;
    }

    .video-explain-container {
        padding: 15px;
        width: 400px;
    }
}

@media (min-width: 1200px) {
    .video-explain {
        padding: 45px 60px;
    }

    .video-explain-container {
        width: 450px;
    }
}
