/**
 * @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
 */

.quantumpixabay-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;
}

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

.quantumpixabay-module .quantumpixabay-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);
}

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

.quantumpixabay-module .quantumpixabay-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;
}

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

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

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

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

.quantumpixabay-module .quantumpixabay-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;
}

.quantumpixabay-module .quantumpixabay-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%);
}

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

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

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

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

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

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

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

.quantumpixabay-module .quantumpixabay-module-header .header-filters > div:last-child a {
    margin: 0;
    padding: 0;
    line-height: 9px;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters .quantummanager-dropdown-title {
    padding: 5px 10px;
    font-size: 14px;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters .quantummanager-dropdown-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters .quantummanager-dropdown-content ul li {
    display: block;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 14px;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters .quantummanager-dropdown-content ul li:hover {
    background: #d7d7d7;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] .quantummanager-dropdown-title span {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-bottom: -5px;
    padding: 0;
    border-radius: 50%;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] ul {
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    padding-top: 5px;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] ul li {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    margin-bottom: 5px;
    padding: 0;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] ul li:hover {
    background: initial;
    transform: scale(1.2);
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] ul li span {
    display: none;
}

.quantumpixabay-module .quantumpixabay-module-header .header-filters [data-name="colors"] .color-all {
    background: red;
    background: -webkit-linear-gradient(left, orange , yellow, green, cyan, blue, violet);
    background: -o-linear-gradient(right, orange, yellow, green, cyan, blue, violet);
    background: -moz-linear-gradient(right, orange, yellow, green, cyan, blue, violet);
    background: linear-gradient(to right, orange , yellow, green, cyan, blue, violet);
}

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

.quantumpixabay-module .quantumpixabay-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;
}

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

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

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

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

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

.quantumpixabay-module .quantumpixabay-module-search .pixabay-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;
}

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

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

.quantumpixabay-module .quantumpixabay-module-search .grid-item:hover .pixabay-meta {
    opacity: 1;
}

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

.quantumpixabay-module .quantumpixabay-module-search .pixabay-meta .pixabay-like img {
    display: none;
}

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

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

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

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

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

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

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

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

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

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

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

.quantumtoolbar-module .qm-btn-pixabay-search .quantummanager-icon-pixabay {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg width='38' height='39' viewBox='0 0 38 39' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M37.8702 2.3096C37.8702 1.2096 36.9782 0.317596 35.8782 0.317596H2.01422C0.91422 0.317596 0.0222168 1.2096 0.0222168 2.3096V36.1736C0.0222168 37.2736 0.91422 38.1655 2.01422 38.1655H35.8782C36.9782 38.1655 37.8702 37.2736 37.8702 36.1736V2.3096V2.3096Z' fill='%23191B26'/%3E%3Cpath d='M12.2303 8.82938C10.1856 8.88222 8.48731 9.60684 7.13436 11.0053C5.7824 12.4017 5.07985 14.1558 5.02869 16.2667V29.7144H7.89005V23.7385H12.2303C14.275 23.6836 15.9782 22.9539 17.341 21.5463C18.7028 20.1398 19.4102 18.3795 19.4624 16.2667C19.4102 14.1558 18.7028 12.4017 17.341 11.0053C15.9782 9.60684 14.275 8.88222 12.2303 8.82938V8.82938ZM7.89005 20.7821V16.2667C7.92055 14.9912 8.34168 13.9322 9.15542 13.0928C9.97013 12.2523 10.9944 11.8163 12.2303 11.7848C13.4809 11.8163 14.5141 12.2523 15.3317 13.0928C16.1494 13.9322 16.5725 14.9912 16.602 16.2667C16.5725 17.5594 16.1494 18.6275 15.3317 19.4721C14.5141 20.3146 13.4809 20.7516 12.2303 20.7821H7.89005Z' fill='white'/%3E%3Cpath d='M25.2382 18.1692H25.3406L29.362 23.706H32.8669L27.4029 16.039L32.248 8.79889H28.7431L25.3406 13.9089H25.2382L21.8367 8.79889H18.3308L23.1758 16.039L17.7119 23.706H21.2178L25.2382 18.1692V18.1692Z' fill='white'/%3E%3C/svg%3E");
}

@media screen and (max-width: 1360px) {
    .quantumtoolbar-module .qm-btn-pixabay-search .quantummanager-icon-pixabay {
        width: 23px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:cc='http://creativecommons.org/ns%23' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' height='74' width='118' version='1.1' viewBox='0 0 640 123.87' id='svg3799' sodipodi:docname='pixabay-mini.svg' inkscape:version='0.92.3 (2405546, 2018-03-11)'%3E%3Cmetadata id='metadata3805'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs3803' /%3E%3Csodipodi:namedview pagecolor='%23ffffff' bordercolor='%23666666' borderopacity='1' objecttolerance='10' gridtolerance='10' guidetolerance='10' inkscape:pageopacity='0' inkscape:pageshadow='2' inkscape:window-width='2560' inkscape:window-height='1017' id='namedview3801' showgrid='false' inkscape:zoom='4' inkscape:cx='195.28308' inkscape:cy='26.927842' inkscape:window-x='1912' inkscape:window-y='-8' inkscape:window-maximized='1' inkscape:current-layer='svg3799' /%3E%3Cg transform='matrix(4.1605062,0,0,4.1605062,-2677.3429,-1666.2943)' id='g3797' style='fill:%23333333'%3E%3Cpath d='m 679.67,407.38 c -3.4778,-2.461 -6.0048,-4.9559 -6.0048,-8.0337 h -19.338 c 0,5.5388 -2.527,8.0337 -5.6449,8.0337 h -5.1644 v 56.236 h 100.42 V 407.38 h -64.629 z m -6.0056,16.067 h -18.096 v -8.0337 h 20.084 v 6.4644 z m 33.991,31.276 c -11.457,0 -20.779,-9.2018 -20.779,-20.513 0,-11.3112 9.3215,-20.04 20.779,-20.04 11.457,0 20.778,8.7283 20.778,20.04 0,11.311 -9.3207,20.513 -20.778,20.513 z m 11.17,-20.513 c 0,6.0803 -5.011,11.028 -11.169,11.028 -6.1591,0 -11.17,-4.9476 -11.17,-11.028 0,-6.081 5.0109,-11.027 11.17,-11.027 6.1582,0 11.169,4.9468 11.169,11.027 z m 77.334,-34.48 -25.001,63.735 -19.184,-7.6934 v -10.862 l 13.323,5.4522 17.592,-44.844 -65.92,-25.205 -6.1099,19.034 h -11 l 11.248,-32.135 85.053,32.519 z' id='path3779' inkscape:connector-curvature='0' /%3E%3C/g%3E%3C/svg%3E");
    }
}

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

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

}