/*!
* IconPicker ('https://github.com/furcan/IconPicker')
* Version: 1.5.0 
* Author: Furkan MT ('https://github.com/furcan')
* Dependencies: Font Awesome Free v5.11.2 (https://fontawesome.com/license/free)
* Copyright 2019 IconPicker, MIT Licence ('https://opensource.org/licenses/MIT')*
*/

div#IconPickerModal {
    display: none;
    position: absolute;
    z-index: 999999;
    width: 95%;
    max-width: 1440px;
    left: 0;
    right: 0;
    top: 100px;
    margin: auto;
}

div#IconPickerModal:before {
    transition: all .4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    content: "";
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

div#IconPickerModal.animate:before {
    opacity: 1;
    visibility: visible;
}

div#IconPickerModal .ip-icons-content {
    transition: all .4s ease-in-out;
    transform: scale(.5);
    opacity: 0;
    float: left;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 0 24px -8px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

div#IconPickerModal.animate .ip-icons-content {
    transform: scale(1);
    opacity: 1;
}

div#IconPickerModal .ip-icons-content .ip-icons-search {
    border-bottom: 1px dashed #e8e8e8;
    padding: 0 0 20px;
    margin: 0 0 10px;
    position: relative;
    float: left;
    width: 100%;
}

div#IconPickerModal .ip-icons-content .ip-icons-search > input#IconPickerSearch {
    transition: all .2s ease-in-out;
    float: left;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    color: #1e1e1e;
    background: #fff;
    font-weight: 400;
    border: 1px solid #f4f4f4;
    box-shadow: 0 0 15px -8px rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    padding: 0 50px 0 20px;
}

div#IconPickerModal .ip-icons-content .ip-icons-search > input#IconPickerSearch:hover,
div#IconPickerModal .ip-icons-content .ip-icons-search > input#IconPickerSearch:focus {
    border-color: #1e1e1e;
}

div#IconPickerModal .ip-icons-content .ip-icons-search > svg.placeholder-icon {
    transition: all .2s ease-in-out;
    position: absolute;
    z-index: 2;
    pointer-events: none;
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
    font-size: 25px;
    line-height: 30px;
    text-align: center;
    color: #eaeaea;
}

div#IconPickerModal .ip-icons-content .ip-icons-search > input#IconPickerSearch:hover + svg.placeholder-icon,
div#IconPickerModal .ip-icons-content .ip-icons-search > input#IconPickerSearch:focus + svg.placeholder-icon {
    color: #1e1e1e;
}

div#IconPickerModal .ip-icons-content .ip-icons-search-results {
    position: relative;
    float: left;
    width: 100%;
}

div#IconPickerModal .ip-icons-content .ip-icons-search-results p.ip-no-results-found {
    float: left;
    width: 100%;
    margin: 20px 0;
    text-align: center;
    font-size: 15px;
    line-height: 1.4;
    color: #9b9b9b;
}

div#IconPickerModal .ip-icons-content .ip-icons-area {
    padding: 10px;
    max-height: 400px;
    overflow: hidden;
    position: relative;
    float: left;
    width: 100%;
}

div#IconPickerModal.show-all .ip-icons-content .ip-icons-area {
    max-height: unset;
    overflow: unset;
}

div#IconPickerModal .ip-icons-content .ip-icons-area:before {
    transition: all .2s ease-in-out;
    content: "";
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    box-shadow: 0 0 50px 25px rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.8);
}

div#IconPickerModal.show-all .ip-icons-content .ip-icons-area:before {
    opacity: 0;
    visibility: hidden;
}

div#IconPickerModal .ip-icons-content .ip-icons-search-results > * > svg,
div#IconPickerModal .ip-icons-content .ip-icons-area > svg {
    cursor: pointer;
    position: relative;
    transition: all .2s ease-in-out;
    font-size: 40px;
    line-height: 26px;
    float: left;
    border-radius: 5px;
    margin: 3px;
    padding: 2px;
    min-width: 30px;
    text-align: center;
}

div#IconPickerModal .ip-icons-content .ip-icons-search-results > * > svg:hover,
div#IconPickerModal .ip-icons-content .ip-icons-area > svg:hover {
    transform: scale(1.8);
    z-index: 2;
    -moz-box-shadow: 0 0 14px -6px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 16px -6px rgba(0, 0, 0, 0.5);
    background: #fff;
}

div#IconPickerModal .ip-icons-content .ip-icons-area > a.ip-show-all-icons {
    transition: all .2s ease-in-out;
    position: absolute;
    width: 120px;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 10px;
    margin: auto;
    text-align: center;
    box-shadow: 0 0 24px -8px rgba(0, 0, 0, 0.2);
    background: #fff;
    color: #9b9b9b;
    border: 1px solid #bcbcbc;
    padding: 12px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 13px;
    line-height: 16px;
}

div#IconPickerModal .ip-icons-content .ip-icons-area > a.ip-show-all-icons:hover {
    color: #fff;
    border-color: #1e1e1e;
    background: #1e1e1e;
}

div#IconPickerModal .ip-icons-content .ip-icons-footer {
    border-top: 1px dashed #e8e8e8;
    padding: 15px 0 0;
    margin: 10px 0 0;
    float: left;
    width: 100%;
}

div#IconPickerModal .ip-icons-content .ip-icons-footer a.cancel {
    transition: all .2s ease-in-out;
    float: right;
    color: #9b9b9b;
    padding: 10px 18px;
    border: 1px solid #bcbcbc;
    border-radius: 20px;
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
}

div#IconPickerModal .ip-icons-content .ip-icons-footer a.cancel:hover {
    color: #fff;
    border-color: #1e1e1e;
    background: #1e1e1e;
}

div#IconPickerLoading {
    transition: all .3s ease-in-out;
    opacity: 1;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
}

div#IconPickerLoading.hide {
    opacity: 0;
}

div#IconPickerLoading > svg {
    width: 60px;
    height: 60px;
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    right: 0;
    bottom: 60px;
    margin: auto;
}

#IconPreview {
    vertical-align: middle;
    text-align: center;
    font-size: 30px;
}