/**
 * Quotify Admin CSS.
 *
 * @author Mahafuz
 * @package Quotify
 * @version 1.0.0
 */

/* Base CSS */
.pqfw-flex {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.pqfw-container {
    max-width: 860px;
    margin: 0 auto;
    margin: 0 auto;
}

/* Settings Box */
.pqfw-options-box-header {
    background: #ffffff;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
    padding: 12px 12px;
    margin: 0;
    line-height: 1.4;
}

.pqfw-options-settings-section {
    border-bottom: 1px solid #eee;
}

.pqfw-options-settings-section ul {
    margin: 0;
}

.pqfw-options-settings-section ul li {
    padding: 10px 0;
    margin-bottom: 0;
}

.pqfw-options-settings-section ul li:nth-child(odd) {
    width: 74%;
}

.pqfw-options-settings-section ul li:nth-child(even) {
    width: 26%;
    text-align: right;
}

.pqfw-entry-wrap {
    margin-top: 20px;
    width: 100%;
    display: flex;
}

.pqfw-entry-wrap .hndle {
    padding: 8px 12px;
    margin: 0;
    font-size: 14px;
}

.pqfw-entry-left {
    flex-basis: 70%;
}

.pqfw-entry-right {
    flex-basis: 28%;
    margin-left: 30px;
}

table.wp-list-table.widefat.fixed.striped.posts {
    border: none;
}

.pqfw-entry-right .button {
    display: flex;
    align-items: center;
}

/* Settings Controls */
.pqfw-options-settings-section .switch-control input[type="checkbox"] {
    display: none;
}

.pqfw-options-settings-section .switch-control input:checked + .switch {
    background-color: #2196f3;
}

.pqfw-options-settings-section .switch-control label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 22px;
}

.pqfw-options-settings-section .switch-control.is-rounded .switch {
    border-radius: 34px;
}
.pqfw-options-settings-section .switch-control .switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
}

.pqfw-options-settings-section .switch-control input:checked + .switch::before {
    transform: translateX(26px);
}
.pqfw-options-settings-section .switch-control.is-rounded .switch::before {
    border-radius: 50%;
}
.pqfw-options-settings-section .switch-control .switch::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
}

.pqfw-help-page {display: flex;
    flex-wrap: wrap;
    align-items: center; 
    margin-top: 30px;}

.help-block {flex: 1;
    flex: 1;
    align-self: flex-start;
    min-width: 31%;
    max-width: 32%;
    border: 1px solid #ddd;
    margin-right: 2%;
    margin-bottom: 25px;
    padding: 25px 15px;
    text-align: center;
    background: #fff;
    min-height: 20px;
    position: relative;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 2px 0 #e6e6e6;
}

.help-block > img {max-height: 70px;}

.pqfw-help-page * {box-sizing: border-box;}

td.pqfw-product-thumbnail > a {display: block;}

td.pqfw-product-thumbnail > a > img {max-width: 100%;}

.pqfw-initial-preloader {
    height: 100vh;
    width:calc( 160px + 100% );
    position: fixed;
    left: 0;
    top: 0;
    bottom: 100%;
    overflow: hidden;
}