/*
*    MAIN CSS STYLES FOR THE WE WORK PRO PLUGIN :)
*    PLEASE DO NOT EDIT THIS FILE; USE THE "wwp-custom-styles.css" INSTEAD!
*/

/* === WP ADMIN === */

#wp-hourly-plus-CTA {}
#wp-hourly-plus-CTA #right-content .question {margin: 0; padding: 0;}
#wp-hourly-plus-CTA #right-content .advice {font-size: 50px; margin-top: 0; margin-bottom: 0;}

#wp-hourly-plus-CTA #left-content { width: 45%; }
#wp-hourly-plus-CTA #left-content #wph-slider-plus{     box-shadow: 10px 10px 40px #0000003b; }
#wp-hourly-plus-CTA #right-content { width: 50%; padding-left: 5%; }
#wp-hourly-plus-CTA #right-content .get-WPHP-CTA { font-size: 23px; line-height: 37px }
#wp-hourly-plus-CTA #right-content .get-WPHP-CTA a.button.button-primary { float: right;padding: 10px;height: auto;font-size: 20px;margin-top: -4px;}
#wp-hourly-plus-CTA #right-content .benefits  {  margin: 0; padding: 0; display: block; height: 223px; padding-top: 30px;  overflow-x: hidden; }
#wp-hourly-plus-CTA #right-content .benefits li {  min-height: 90px; line-height: 12px; margin: 0; width: 45%; float: left; margin-right: 5%; height: auto; margin-bottom: 30px; }
#wp-hourly-plus-CTA #right-content .benefits h4 {  margin: 0; }
#wp-hourly-plus-CTA #right-content .benefits span.dashicons {     font-size: 30px;width: 35px;line-height: 35px;height: 35px;margin-top: -9px;background: green;color: white; border-radius: 40px; margin-right: 10px; }

#wp-hourly-plus-CTA #wph-slider-plus img {
    max-width: 100%;
    max-height: 100%;
}


#slider {
    position: relative;
    overflow: hidden;
    margin: 0px auto 0 auto;
    border-radius: 4px;
}

#slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    height: 450px;
    list-style: none;
}

#slider ul li {
    position: relative;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 450px;
    background: #ccc;
    text-align: center;
    line-height: 300px;
}

a.control_prev, a.control_next {
    position: absolute;
    top: 40%;
    z-index: 999;
    padding: 4% 3%;
    width: auto;
    height: auto;
    background: #2a2a2a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.8;
    cursor: pointer;
    display: none;
}

a.control_prev:hover, a.control_next:hover {
    opacity: 1;
    -webkit-transition: all 0.2s ease;
}

a.control_prev {
    border-radius: 0 2px 2px 0;
}

a.control_next {
    right: 0;
    border-radius: 2px 0 0 2px;
}

.slider_option {
    position: relative;
    margin: 10px auto;
    width: 160px;
    font-size: 18px;
    display: none;
}


#premium-addons {
    padding: 0;
    margin: 30px 0 0 0;
}

#premium-addons li {
    list-style: none;
    padding: 0;
    margin: 0;
    float: left;
    margin-right: 20px;
    width: calc(20% - 16px);
    min-height: 450px;
}

#premium-addons li:last-child {
    margin-right: 0;
}

#premium-addons li img {
    max-width: 100%;
}


/* === MEDIA DIALOGUE === */


#media-upload {
    background-image: none;
}

.media-upload-form {
    position: relative;
}

#media-upload #filter {
    position: relative;
}

/* === PROJECTS TABLE === */


.be-image-wrapper a {
    display: inline-block;
}

.be-image-wrapper a i {
    font-size: 60px;
    line-height: 70px;
}

/* === TASKS ADMIN === */
.screenshot.column-screenshot img {
    max-width: 100%;
}

#select-task-assignee {
    position: absolute;
    top: 8px;
    left: 18%;
}

#select-task-assignee .employee-select {
    float: left;
    margin-right: 5px;
    cursor: pointer;
}

#select-task-assignee .employee-select.active {
    border-bottom: 4px solid #75c283;
}

.wp-list-table .column-values {
    display: none;
}

#select2-task-assignee-container,
#select2-select_tr_user-container {
    position: relative;
}
#select2-task-assignee-container img,
#select2-select_tr_user-container img {
    position: absolute;
    top: 3px;
}
#select2-task-assignee-container span,
#select2-select_tr_user-container span {
    padding-left: 25px;
}

#select2-task-assignee-results li,
#select2-select_tr_user-results li {
    position: relative;
    margin: 0;
}
#select2-task-assignee-results li img,
#select2-select_tr_user-results li img {
    position: absolute;
    top: 7px;
}
#select2-task-assignee-results li span,
#select2-select_tr_user-results li span {
    padding-left: 25px;
    padding-top: 3px;
    display: inline-block;
}

.wp-list-table .column-hours {
    width: 100px;
}

.view.markpaid::after { content: "\f464" !important; }
.view.markunpaid::after { content: "\f153" !important; }

@media screen and (max-width: 782px) {
    .wp-list-table .column-assignee {
        display: none !important;
        padding: 3px 8px 3px 35%;
    }
}

/* switch toggle */
.switch {
    position: relative;
    display: block;
    vertical-align: top;
    width: 100px;
    height: 30px;
    padding: 3px;
    margin: 0 10px 10px 0;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF 25px);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF 25px);
    border-radius: 18px;
    box-shadow: inset 0 -1px white, inset 0 1px 1px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    box-sizing:content-box;
}
.switch.full-width {
    width: 100%;
}
.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    box-sizing: content-box;
}
.switch-label {
    position: relative;
    display: block;
    height: inherit;
    font-size: 10px;
    text-transform: uppercase;
    background: #f8a73d;
    border-radius: inherit;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    box-sizing: content-box;
}
.switch-label:before, .switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    -webkit-transition: inherit;
    -moz-transition: inherit;
    -o-transition: inherit;
    transition: inherit;
    box-sizing: content-box;
}
.switch-label:before {
    content: attr(data-off);
    right: 11px;
    color: #FFFFFF;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
.switch-label:after {
    content: attr(data-on);
    left: 11px;
    color: #FFFFFF;
    text-shadow: 0 1px rgba(0, 0, 0, 0.2);
    opacity: 0;
}
.switch-input:checked ~ .switch-label {
    background: #75c283;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label:before {
    opacity: 0;
}
.switch-input:checked ~ .switch-label:after {
    opacity: 1;
}
.switch-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 28px;
    height: 28px;
    background: linear-gradient(to bottom, #FFFFFF 40%, #f0f0f0);
    background-image: -webkit-linear-gradient(top, #FFFFFF 40%, #f0f0f0);
    border-radius: 100%;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch-handle:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    width: 12px;
    height: 12px;
    background: linear-gradient(to bottom, #eeeeee, #FFFFFF);
    background-image: -webkit-linear-gradient(top, #eeeeee, #FFFFFF);
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.02);
}
.switch-label .switch-handle {
    top: 1px;
    left: 1px;
}
.switch-input:checked ~ .switch-handle, .switch-input:checked ~ .switch-label .switch-handle {
    left: 100%;
    margin-left: -32px;
    box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.2);
}
.switch-input:checked ~ .switch-label .switch-handle {
     margin-left: -29px;
}

/* Transition
========================== */
.switch-label, .switch-handle {
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
    -moz-transition: All 0.3s ease;
    -o-transition: All 0.3s ease;
}

.tablenav.top .select2-container {
    margin-right: 5px;
}
.select2-search--dropdown .select2-search__field {
    padding: 0 4px;
}

.wph-notification-email {
    padding-right: 20px;
    vertical-align: top;
    text-align: left;
}
.wph-notification-email-input {
    width: 300px;
}

#wph-wc-notification-email-preview {
    display: none;
    width: 600px;
}


/* LOADER */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    min-width: 70px;
}
.lds-ellipsis div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #424242;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.wp-hourly-alert-fixed {position:fixed;top:45px;right:25px;display:none;z-index:10;}

.wp-hourly-alert-fixed.show {display:block;}

.errorEmpty{
    position:relative;
}
.errorEmpty .invalid-tooltip{
    display:block;
}
.wph-no-click{
    pointer-events: none !important;
}
.wph-no-drag{
    cursor:pointer;
}
.err_empty_tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: .25rem .5rem;
    margin-top: .1rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(220,53,69,.9);
    border-radius: .25rem;
}
.err_empty {
    position:relative;
}
.err_empty .err_empty_tooltip{
    display:block;
}
.err_empty .select2 .select2-selection{
    border-color:red;
    
}
#wph_task_modal_loading {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    background: rgba(0,0,0,0.85);
    right: 0;
    z-index: 9999;
    display: none;
    
}
#wph_task_modal_loading .wph-modal-loading_centered{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 300px;
    margin: 0 auto;
}
#wph_task_modal_loading .lds-ellipsis div{ background-color:#fff; }

.wph-trash-icon-spacing{padding-top:10px;}
#add-manual-time-response {
    padding:10px 0 ;
}
.wph-err-invalid{border-color:red !important;}
.swph-manual-time-err{
    border-radius: 4px;
    padding: 5px 10px;
    margin-bottom: 10px;
    background-color: rgba(255,0,0,0.7);
    margin-left: 10px;
    border: 1px solid #000;
    color: #fff;
    font-size: 12px;
}