/**
 * Copyright © PureClarity. All rights reserved.
 * See LICENSE.txt for license details.
 */

/** TITLE BAR **/

.toplevel_page_pureclarity-dashboard #wpcontent,
.pureclarity_page_pureclarity-settings #wpcontent {
    padding-left :0;
}

#pc-title-bar {
    height: 90px;
    box-shadow: 0 4px 4px -2px #555;
    -moz-box-shadow: 0 4px 4px -2px #555;
    -webkit-box-shadow: 0 4px 4px -2px #555;
    background: white;
    width: 100%;
    padding: 20px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
    top: 32px;
}

#pc-title-bar img {
    width: 127px;
    height: 50px;
    margin:0;
    float:left;
    display:block;
}

#pc-title-bar .pureclarity-title-wrapper .pureclarity-title {
    display:none;
}

#pc-title-bar .pureclarity-title-wrapper .pureclarity-version-number {
    display:block;
}

#pc-title-bar #pc-title-bar-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    right: 0;
}

#pc-title-bar .pc-topbar-button {
    float: left;
    margin: 0 10px;
}

#pc-title-bar .pc-topbar-button a {
    float:left;
    display:block;
    padding: 35px 10px 10px 10px;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    text-align: center;
    background-position: center top;
}

#pc-title-bar #pc-title-bar-buttons #pc-button-settings a {
    background-image: url('images/settings.png');
}

#pc-title-bar #pc-title-bar-buttons #pc-button-documentation a{
    background-image: url('images/documentation.png');
}

#pc-title-bar #pc-title-bar-buttons #pc-button-support a {
    background-image: url('images/support.png');
}

/** DASHBOARD GENERAL **/

#pc-dashboard {
    border-radius: 3px;
    font-family: Lato, sans-serif;
    padding:20px;
}

.pc-clearfix {
    clear:both;
}

/** DASHBOARD CONTENT BOXES - GENERIC **/

#pc-dashboard .pc-box {
    float:left;
    min-width: 420px;
    margin-left: 1.31%;
    margin-top: 23px;
}

#pc-dashboard #pc-signup-col2 .pc-box {
    width: 100%;
}

#pc-dashboard .pc-box:last-child {
    margin-right:1.31%;
}

#pc-dashboard .pc-box .pc-box-title-bar {
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    vertical-align: middle;
    padding: 27px 33px;
    color: #fff;
    background: #68b9d6;
}

#pc-dashboard #pc-layer2 .pc-box .pc-box-title-bar {
    background: #777777;
}

#pc-dashboard .pc-box .pc-box-title-bar h3 {
    margin:0;
    padding:0;
    color: #fff;
    font-weight: 600;
    font-size: 23px;
}

#pc-dashboard .pc-box .pc-box-content {
    /*height: 175px;*/
    background: #fff;
    padding: 23px 33px;
    font-size: 1.15em;
    font-weight: 400;
    position: relative;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}

#pc-dashboard .pc-box .pc-box-content p {
    font-size: 1.0em;
    line-height: 2.0em;
}

#pc-dashboard .pc-button,
#pc-feeds-modal-content .pc-button {
    background-color: #c4d95a;
    border:0;
    color: #3c4858 !important;
    font-size: 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    text-shadow: none;
    padding: 6px 12px;
    font-weight: 600;
    text-decoration: none;
}

#pc-dashboard #pc-mode-admin-only-button.pc-button {
    background-color: #fea23b;
}

#pc-dashboard #pc-mode-disabled-button.pc-button {
    background-color: #f44336;
    color: #fff !important;
}

#pc-dashboard .action-default:hover,
.pc-modal button.primary {
    border: none;
    box-shadow: none;
}

#pc-dashboard .action-default.pc-disabled,
.pc-modal button.primary.pc-disabled {
    background-color: #999999;
}

/** WELCOME PAGE - MARKETING CONTENT **/

#pc-dashboard #pc-marketing-info .pc-box-content {
    height: 185px;
    border-radius: 3px;
    width: 454px;
    margin: 0 auto;
}

#pc-dashboard #pc-marketing-info .pc-box-content p {
    margin-top:0;
    line-height: 1.0em;
}

#pc-dashboard #pc-features .pc-box-content {
    min-height: 349px;
    border-radius: 3px;
}

#pc-dashboard #pc-marketing-info h2 {
    margin-top: 0;
    font-weight: 600;
    font-size: 23px;
    margin-bottom: 28px;
}

/* stat donuts */

.pc_stat_donut {
    display: block;
    float:left;
    text-align: center;
    width: 150px;
}

.pc_stat_donut span {
    font-weight: bold;
}

svg.pc_donut {
    display: block;
    margin: auto;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    stroke-dasharray: 0, 510;
}

svg .pc_donut_text {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.pc_donut_animation {
    animation: pc_donut 2s;
}

.pc_donuts p {
    font-size: 2.3rem;
    line-height: 3.3rem;
}

.pc_donut_base {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

@keyframes pc_donut {

    0% {
        stroke-dasharray: 0, 263.89;
    }

    100% {
    }
}

/** WELCOME PAGE - FEATURES BOX **/


.pc-feature img {
    width: 200px;
    margin: 0 auto;
}

#pc-features p {
    margin-top: 0;
    text-align: center;
}

#pc-dashboard #pc-features .pc-box-content {
    height: 329px;
    width: 454px;
    margin: 0 auto;
}

#pc-features h3 {
    margin-bottom: 0.5em;
}

.pc-feature {
    text-align: center;
}
.pc-feature img {
    width: 200px;
    margin: 0 auto;
}

/** WELCOME PAGE - SIGNUP BOX **/

#pc-dashboard #pc-sign-up .pc-box-content {
    min-height: 531px;
}

#pc-dashboard #pc-sign-up ul {
    list-style: none;
    margin-top:0;
    margin-left: 20px;
    margin-bottom: 30px;
    height: 40px;
}

#pc-dashboard #pc-sign-up ul li::before {
    content: "\25AA";
    color: #379cba;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    line-height: 1.5em;
    font-size: 1.2em;
}

#pc-dashboard #pc-sign-up ul li {
    float:left;
    width: 50%;
}

#pc-dashboard #pc-sign-up .pc-box-content p {
    clear:both;
}

#pc-dashboard #pc-sign-up p.sign-up-subheading {
    font-weight: 500;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.5em;
}

#pc-dashboard #pc-sign-up p.sign-up-instruction {
    font-weight: 600;
    margin-top: 1em;
    margin-bottom: 1.2em;
    clear:both;
    display:block;
}

#pc-dashboard #pc-link-account-button {
    font-size: 0.9em;
    margin-left: 0.5rem;
    font-weight: 400;
}

#pc-dashboard #pc-sign-up form h3 {
    margin-top: 0;
}


/** WELCOME PAGE - SIGNUP & LINK ACCOUNT FORMS **/

#pc-dashboard #pc-sign-up-form-holder,
#pc-dashboard #pc-link-account-form-holder {
    display:none;
}

#pc-sign-up-form-header,
#pc-link-account-form-header {
    font-family: Lato, sans-serif;
    text-align: center;
    vertical-align: middle;
    font-size:1.4em;
    margin:0;
    font-weight: 500;
}

#pc-sign-up-form-content h3,
#pc-link-account-form-content h3 {
    font-weight: 600;
}

#pc-sign-up-form-content p,
#pc-link-account-form-content p {
    font-weight: 400;
}
#pc-sign-up-form-content,
#pc-link-account-form-content {
    font-family: Lato, sans-serif;
}

#pc-sign-up-form-content .left {
    float:left;
    width:50%;
    border-right: 1px solid #ccc;
}

#pc-sign-up-form-content .right {
    float:right;
    width:45%;
}

.pc-tooltip {
    position: relative;
    border-bottom: 1px dotted black;
    display: inline-block;
    font-size: 1.0rem;
    margin-top:3px;
    margin-left:5px;
}

.pc-tooltip .pc-tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #379cba;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -110px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.pc-tooltip .pc-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #379cba transparent transparent transparent;
}

.pc-tooltip:hover .pc-tooltip-text {
    visibility: visible;
    opacity: 1;
}

#pc-sign-up-form-content p.pc-field,
#pc-sign-up-form-content p.details,
#pc-link-account-form-content p.pc-field,
#pc-link-account-form-content p.details {
    clear: both;
    vertical-align: middle;
    height: 30px;
    position: relative;
}

#pc-sign-up-form-content .label,
#pc-sign-up-form-content .label-nr,
#pc-link-account-form-content label {
    display: block;
    margin: 0.5em 0.25em;
    width: 21%;
    float: left;
    clear: left;
    text-align: right;
    font-weight: 400;
}

#pc-sign-up-form-content label.label:after,
#pc-link-account-form-content label:after {
    color: #e22626;
    content: '*';
    display: inline-block;
    font-weight: 500;
    line-height: 1;
    position: absolute;
    z-index: 1;
}

#pc-sign-up-form-content span.value,
#pc-link-account-form-content span.value {
    display: block;
    float: left;
    margin: 0.5em 0.25em 0.5em 2em;
    font-weight: 500;
}

#pc-sign-up-form-content input,
#pc-sign-up-form-content select,
#pc-link-account-form-content input,
#pc-link-account-form-content select {
    width: 270px;
    padding: 5px;
    margin-left: 2em;
    float: left;
}

#pc-sign-up-form-content input.pc-error,
#pc-sign-up-form-content select.pc-error,
#pc-link-account-form-content input.pc-error,
#pc-link-account-form-content select.pc-error  {
    border: 1px solid #f00;
}

#pc-sign-up-password.pc-error {
    border-radius: 4px 4px 0 0;
}

#pc-sign-up-form-content span.pc-error-message,
#pc-link-account-form-content span.pc-error-message {
    position: relative;
    border: 1px solid #f00;
    display: none;
    color: #000;
    padding: 2px;
    top: -1px;
    background: #ffaaaa;
    width: 264px;
    left: 28px;
    text-align: center;
    border-radius: 0 0 4px 4px;
    font-size: 0.8rem;
    line-height: 1.2rem;
}

#pc-sign-up-form-content .right span.pc-error-message {
    left: 129px;
}

#pc-sign-up-form-content #pc-sign-up-response-holder {
    clear: left;
    float:left;
    width: 75%;
    padding: 8px;
    height: 20px;
    margin-top: 15px;
    display: inline-block;
    color: #000;
}

#pc-link-account-form-content #pc-link-account-response-holder {
    clear: both;
    width: 94%;
    padding: 8px;
    height: 20px;
    margin-top: 15px;
    display: inline-block;
    color: #000;
}

#pc-link-account-form-content #pc-link-account-response-holder {
    margin-top: 0;
}

#pc-sign-up-form-content #pc-sign-up-response-holder.pc-error-response,
#pc-link-account-form-content #pc-sign-up-response-holder.pc-error-response {
    background-color: rgba(255, 0, 0, 0.4);
}

#pc-sign-up-form-content #pc-sign-up-response-holder.pc-success-response,
#pc-link-account-form-content #pc-sign-up-response-holder.pc-success-response {
    background-color:rgba(0,255,0,0.4);
}

#pc-sign-up-form-content .pc-sign-up-submit-button {
    float:right;
    margin-top: 15px;
}

#pc-link-account-form-content .pc-link-account-submit-button {
    clear:both;
    text-align: center;
    margin-top: 15px;
}

#pc-sign-up-form-content #pc-sign-up-submit-button,
#pc-link-account-form-content #pc-link-account-submit-button {
    background-color: #c4d95a;
    border:0;
    color: #3c4858 !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    text-shadow: none;
    width:139px;
    padding: 10px;
}

/** WAITING BOX **/

#pc-dashboard #pc-waiting .pc-box {
    text-align:center;
}

#pc-dashboard #pc-waiting .pc-box .pc-box-content {
    height: 310px;
    background-image: url('images/setting-up-account.jpg');
    background-repeat: no-repeat;
    background-size: 1126px 339px;
    padding:23px 0 0 0;
}

#pc-dashboard #pc-waiting .pc-box .pc-box-content p {
    color:#fff;
    font-size: 1.4em;
    line-height: 1.4em;
    font-weight: 400;
    margin: -2px 0 0 0;
}

.pc-loader {
    position: relative;
    top: -10px;
    display: block;
    height: 200px;
}

.pc-loader-outer,
.pc-loader-middle,
.pc-loader-inner {
    border: 5px solid transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
}

.pc-loader-outer {
    width: 120px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    animation: spin 2s linear infinite;
}

.pc-loader-middle {
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
    animation: spin 1.75s linear reverse infinite;
}

.pc-loader-inner {
    width: 80px;
    height: 80px;
    margin-left: -40px;
    margin-top: -40px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/** DASHBOARD PAGE **/

.pc-banner {
    margin: 30px 30px 0 30px;
    background: white;
    padding: 5px 30px;
    border-radius: 5px;
    border-top: 5px solid #c4d95a;
}

#pc-dashboard .pc-feedName {
    width: 90px;
    text-align: right;
    display: inline-block;
    margin-right: 5px;
    font-weight: 600;
}

#pc-dashboard .pc-feed-status-icon {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display: inline-block;
    top: 2px;
    position: relative;
    margin: 0 5px;
}

#pc-dashboard p.pc-feed {
    margin: 10px 0;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-in-progress {
    background-image: url('images/in-progress.gif');
    background-repeat: no-repeat;
    background-size: 15px 15px;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-complete {
    background-color: #C5D859;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-waiting {
    background-image: url('images/waiting.gif');
    background-repeat: no-repeat;
    background-size: 15px 15px;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-not-sent {
    background-color: #fea23b;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-disabled {
    background-color: #999;
}

#pc-dashboard .pc-feed-status-icon.pc-feed-error {
    background-color: #f00;
}

#pc-dashboard #pc-feed-info-store {
    padding-bottom:5px;
}

#pc-feeds-button {
    clear:both;
    margin: 25px 0 10px;
}

/** DASHBOARD PAGE - FEEDS MODAL **/

#pc-feed-outputContainer {
    margin:20px 0;
}

.pc-run-feeds .modal-inner-wrap {
    width:450px;
    font-family: Lato, sans-serif;
}

#pc-feeds-modal-content h4 {
    clear:both;
    padding-top:10px;
}

#pc-feeds-modal-content label {
    display: block;
    float:left;
    width: 100px;
    padding: 0;
    text-align: right;
    margin-right: 20px;
}

#pc-feeds-modal-content label.forselect {
    padding:5px;
}

#pc-feeds-modal-content select {
    display: block;
    float:left;
}

#pc-feeds-modal-content p.pc-bottom-buffer {
    margin-bottom: 25px;
}

#pc-feeds-modal-content .pc-feed-field {
    clear:both;
    margin: 10px 0;
    display:block;
    height: 20px;
}

#pc-feeds-modal-content .pc-feed-field-select {
    clear:both;
    margin: 10px 0;
    display:block;
    height: 25px;
}

#pc-feeds p {
    clear:both
}

@media only screen and (max-width: 1500px) {
    #pc-dashboard {
        width:90%;
        min-width:500px;
        margin: 0 auto;
    }

    #pc-dashboard .pc-box {
        float: none;
    }
}



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

    #pc-dashboard #pc-sign-up form h3 {
        text-align: center;
    }

    #pc-dashboard #pc-sign-up form:after {
        content: "";
        display: block;
        clear: both;
    }

    #pc-sign-up-form-content .left {
        float:none;
        width:65%;
        border-right: none;
        margin: 0 auto;
    }

    #pc-sign-up-form-content .right {
        clear:both;
        float:none;
        width:65%;
        margin: 1rem auto;
    }

    #pc-dashboard #pc-features {
        margin-left: auto;
        margin-right: auto;
    }

    #pc-sign-up-form-content .label {
        width: 28%;
    }

}

@media only screen and (max-width: 1000px) {
    #pc-dashboard {
        margin: 0;
    }

    #pc-sign-up-form-content .left {
        width:85%;
    }

    #pc-sign-up-form-content .right {
        width:85%;
    }

}

@media only screen and (min-width: 1501px) {

    #pc-signup-col1 {
        width: 33%;
        float:left;
    }

    #pc-signup-col2 {
        width: 63%;
        float:left;
        margin-right:3%;
    }

    #pc-col1 {
        width: 60%;
        float:left;
    }

    #pc-col2 {
        width: 40%;
        float:left;
    }
}


.pc-col-box {
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    padding: 30px;
    margin: 30px;
}

.pc-col-box .pc-col-box-1,
.pc-col-box .pc-col-box-2 {
    float:left;
    width: 50%;
}

/**
 ### CONFIGURED DASHBOARD INFO BOXES ###
 */

.pureclarity-info-box {
    border: 1px solid #ccc;
    border-top: 5px solid #68b9d6;
    border-radius: 5px;
    background: white;
    padding: 0;
    margin: 30px;
}

.pureclarity-info-box .pureclarity-info-title {
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid #ccc;
    padding: 15px 30px;
    margin:0;
}

.pureclarity-info-box.pc-ft-warning,
.pureclarity-info-box.pc-ft-error {
    border-top: 1px solid #ccc;
}

.pureclarity-info-box.pc-ft-warning .pureclarity-info-title {
    background: #e3d246;
}

.pureclarity-info-box.pc-ft-error .pureclarity-info-title {
    background: #f44336;
}

.pureclarity-info-box.pc-ft-error .pureclarity-info-title h2 {
    color: #fff;
}


.pureclarity-info-box .pureclarity-info-title h2 {
    padding: 0;
    margin:0;
    color: #23282d;
    font-size: 1.3rem;
    font-weight: 500;
}

.pureclarity-info-box .pureclarity-info-content {
    padding: 15px 30px;
    margin:0;
}

.pureclarity-info-box .pureclarity-info-content p {
    font-size:0.85rem;
    color: #23282d;
}

.pureclarity-info-box .pureclarity-info-content ul {
    list-style: none;
}

.pureclarity-info-box .pureclarity-info-content ul li::before {
    content: "\2022";  /* Add content: \2022 is the CSS Code/unicode for a bullet */
    color: #68b9d6; /* Change the color */
    font-weight: bold; /* If you want it to be bold */
    display: inline-block; /* Needed to add space between the bullet and the text */
    width: 1.0rem; /* Also needed for space (tweak if needed) */
    margin-left: 1.0rem; /* Also needed for space (tweak if needed) */
}

.pureclarity-info-box .pureclarity-info-content li {
    color: #23282d;
}

#pureclarity-headline-stats .pureclarity-headline-stats-content {
    padding: 15px 30px;
    margin:0;
}

#pureclarity-headline-stats .pureclarity-headline-stats-tabs {
    border-bottom: 2px solid #68b9d6;
    padding: 5px;
    height: 25px;
}

#pureclarity-headline-stats .pureclarity-headline-stat-tab {
    background: #fff;
    font-size: 1.2rem;
    color: #313238;
    padding:5px;
    cursor: pointer;
    float: right;
    border: 2px solid #ccc;
    margin-bottom:2px;
    border-bottom: 0;
}

#pureclarity-headline-stats .pureclarity-headline-stat-tab:first-of-type {
    float:left;
}

#pureclarity-headline-stats .pureclarity-headline-stat-tab.pureclarity-headline-stat-active {
    color: #23282d;
    border: 2px solid #68b9d6;
    border-bottom: none;
    padding-bottom: 7px;
    margin-bottom:0;
}

#pureclarity-headline-stats .pureclarity-headline-stat-rec-total {
    text-align: center;
}

#pureclarity-headline-stats .pureclarity-headline-stat-rec-total span.pureclarity-rec-total {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

#pureclarity-headline-stats .pureclarity-headline-stat-rec-total span.pureclarity-sub-total {
    font-size: 1.0rem;
    font-weight: 700;
}

#pureclarity-headline-stats .pureclarity-stats-button {
    clear:both;
    padding-top:20px;
}


.pureclarity-headline-stat-row {
    margin: 0;
    clear:both;
    border-bottom: 1px solid #ccc;
    height:30px;
}
.pureclarity-headline-stat-row:hover {
    background: #ddd;
}

.pureclarity-stat-label {
    padding: 5px;
    font-weight: 500;
    width: 40%;
    display:block;
    float: left;
    font-size:0.85rem;
}

.pureclarity-stat-value {
    width: 40%;
    display:block;
    float: right;
    padding: 5px;
    text-align: right;
}