/**
 * @package    quantummanager
 * @author     Dmitry Tsymbal <cymbal@delo-design.ru>
 * @copyright  Copyright © 2019 Delo Design & NorrNext. All rights reserved.
 * @license    GNU General Public License version 3 or later; see license.txt
 * @link       https://www.norrnext.com
 */

.quantumunsplash-module {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: #ffffff;
}

.quantumunsplash-module.active {
    display: block;
}

.quantumunsplash-module .quantumunsplash-save {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: rgba(255,255,255,0.7);
}

.quantumunsplash-module .quantumunsplash-save .loader {
    width: 480px;
}

.quantumunsplash-module .quantumunsplash-module-container {
    position: relative;
    width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-direction: column;
    -webkit-flex-direction: column;
    flex: 1 1 auto;
    -webkit-flex: 1 1 auto;
    justify-content: flex-end;
}

.quantumunsplash-module .quantumunsplash-module-container .quantumunsplash-module-close {
    position: absolute;
    top: 8px;
    right: 4px;
}

.quantumunsplash-module .quantumunsplash-module-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.quantumunsplash-module .quantumunsplash-module-header > div {
    width: 100%;
}

.quantumunsplash-module .quantumunsplash-module-header label {
    width: 100%;
}

.quantumunsplash-module .quantumunsplash-module-header input {
    width: calc(100% - 37px);
    padding: 0 10px;
    padding-left: 25px;
    height: 35px;
    margin: 0;
    flex: 1;
    font-size: 17px;
    vertical-align: middle;
    display: inline-block;
    max-width: 100%;
    background: #fff;
    color: #666;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    box-shadow: none !important;
    font-weight: normal;
    transition: .2s ease-in-out;
    transition-property: color,background-color,border;
}

.quantumunsplash-module .quantumunsplash-module-header input:focus {
    border-color: rgba(82,168,236,0.8);
    outline: 0;
    outline: thin dotted \9;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(82 168 236 / 60%);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(82 168 236 / 60%);
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters {
    display: flex;
    width: 100%;
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters > div {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.quantumunsplash-module-module .quantumunsplash-module-header .header-filters > div:first-child > div {
    margin-right: 15px;
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters > div:last-child {
    display: flex;
    flex: 1;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters > div:last-child > * {
    margin-right: 10px;
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters > div:last-child > *:last-child {
    margin-right: 0;
}

.quantumunsplash-module .quantumunsplash-module-header .header-filters > div:last-child > span {
    display: flex;
    align-content: center;
    align-items: center;
}

.quantumunsplash-module .quantumunsplash-module-container-search-wrap {
    position: relative;
    width: 100%;
    height: calc(100% - 85px);
}

.quantumunsplash-module .quantumunsplash-module-container-search {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.quantumunsplash-module .quantumunsplash-module-search {
    margin-top: -1%;
    margin-left: -1%;
    margin-right: 0.5%;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-sizer,
.quantumunsplash-module .quantumunsplash-module-search .grid-item {
    width: 31.3%;
    margin: 1%;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-item:hover {
    cursor: pointer;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-item--width2 {
    width: 64.6%;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-item img {
    width: 100%;
    height: 100%;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: flex-end;
    transition: background-image 0.3s ease;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-item:hover .unsplash-meta-wrap {
    background-image: linear-gradient(rgba(0,0,0,0) 70%, rgba(0,0,0,.3));
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta {
    display: flex;
    width: 100%;
    padding: 10px 20px;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.quantumunsplash-module .quantumunsplash-module-search .grid-item:hover .unsplash-meta {
    opacity: 1;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-like {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-like img {
    display: none;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-like svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-like svg > * {
    fill: #fff;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-like .quantummanager-icon {
    margin-right: 5px;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-user {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-user-avatar {
    width: 30px;
    height: 30px;
    margin-right: 13px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta a:hover {
    color: #eeeeee;
    cursor: pointer;
}

.quantumunsplash-module .quantumunsplash-module-search .unsplash-meta .unsplash-user-name {
    color: #ffffff;
    font-size: 15px;
}

.quantumunsplash-module .quantumunsplash-module-load-page {
    display: block;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 45px;
}

.quantumunsplash-module .quantumunsplash-module-load-page .qm-btn {
    display: none;
    padding: 12px 25px;
    font-size: 17px;
}

.quantumunsplash-module .quantumunsplash-module-load-page.active .qm-btn {
    display: inline-block;
}

.quantumtoolbar-module .qm-btn-unsplash-search {
    padding-top: 0;
    padding-bottom: 0;
}

@media screen and (max-width: 1360px) {
    .quantumtoolbar-module .qm-btn-unsplash-search .quantummanager-icon-unsplash {
        width: 15px;
        height: 15px;
        background-image: url("data:image/svg+xml,%0A%3Csvg width='32' height='32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 9V0h12v9H10zm12 5h10v18H0V14h10v9h12v-9z' fill='%23000000' fill-rule='nonzero' /%3E%3C/svg%3E%0A");
    }
}

@media screen and (max-width: 1200px) {

    .quantumunsplash-module .quantumunsplash-module-container {
        max-width: 100%;
    }

}