.wgmt-overview-info-sm {
    max-width: 576px;
    margin: 0 auto;
}

.wgmt-overview-info-md {
    max-width: 768px;
    margin: 0 auto;
}

.wgmt-overview-info-full {
    max-width: 100%;
    margin: 0 auto;
}

.wgmt-card {
    margin-bottom: 24px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.2s cubic-bezier(0.4, 1, 0.4, 1);
}

.wgmt-card__header {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e4e7;
    display: grid;
    align-items: center;
    border-top-left-radius: 4px;
}

.wgmt-card-default .wgmt-card__header {
    background: url("../images/devman_only_face.png") no-repeat center right 15px / 35px;
}

.wgmt-card__header h2 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    margin: 0;
}

.wgmt-card__header h3 {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 4px;
    margin-bottom: 0;
    color: #646970;
}

.wgmt-card__body {
    padding: 12px;
}

.wgmt-card__footer {
    padding: 6px 12px;
    border-top: 1px solid #e2e4e7;
    background-color: whitesmoke;
}

/**
 * License form
 */
form#wgmt_license_form button {
    border: 1px solid #940101;
    background: linear-gradient(to bottom, #ec4e20 1%, #ca3014 100%);
    color: white !important;
    font-size: 14px;
    font-weight: bold;
}

/**
 * Management
 */
#google_marketing_tools_nav_tabs a {
    cursor: pointer;
}

.form-table th {
    padding-left: 5px;
    text-align: right;
}

.wgmt-section-header {
    /*padding: 13px;*/
    border-bottom: none;
    display: flex;
    justify-content: space-between;
}

.wgmt-section-header h2 {
    margin: 0 16px 0 0;
    padding: 3px 0;
    font-size: 1.125rem;
    line-height: 2.2;
    font-weight: 600;
}

.wgmt-section-header hr {
    align-self: center;
    flex-grow: 1;
    height: 1px;
    margin: 0 10px;
}

.wgmt-section-header .actions {
    flex-grow: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-align: right;
}

/** Tables */
tr.no-items td {
    text-align: center;
}

th.text-right,
td.text-right {
    text-align: right !important;
}

.wp-list-table th,
.wp-list-table td {
    vertical-align: middle;
}

.form-table td {
    vertical-align: top;
}

.form-table tr.section-caption td {
    text-align: center;
}

/** Forms */
.form-table .full-text {
    min-width: 100%;
}

.form-table input[type=color] {
    margin-top: 3px;
}

/** Buttons */
.wgmt-workspace-btn {
    font-size: 1.2em;
    padding: .75em 1.5em;
    height: auto;
    display: inline-block !important;
    background: linear-gradient(#235fd1, #2186fc, #00c6fc);
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 0 #235fd1;
    text-shadow: 0 -1px 1px #235fd1, 1px 0 1px #235fd1, 0 1px 1px #235fd1, -1px 0 1px #235fd1;
    border: 1px solid #235fd1;
    cursor: pointer;
}

.wgmt-table-button {
    padding: 2px 2px;
    background-color: #f9f9f9;
    color: darkgray;
    border-style: solid;
    border-color: #f9f9f9;
    border-width: 0 1px 1px 0;
    cursor: pointer;
}

.wgmt-table-button:hover {
    color: dimgray;
    border-color: #ccd0d4;
}

.wgmt-table-button span {
    font-size: 20px;
}

.wgmt-table-button-danger {
    margin-left: 15px;
}

.button > .dashicons {
    vertical-align: middle;
}

.wgmt-table-button-danger:hover {
    color: #940101;
    border-color: #940101;
}

.wgmt-table-button-wrapper {
    display: inline-flex;
}

/** General styles */
.text-center {
    text-align: center !important;
}

.full-text {
    width: 100% !important;
}

/**
 * Components
 ************/

/** Ordered list */
.wgmt-ol {
    clear: both;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wgmt-ol li {
    margin: 1em 0;
    padding-top: 1.5em;
    padding-bottom: 1em;
    display: block;
    position: relative;
    counter-increment: inst;
    left: 0;
    font-size: 1.3em;
}

.wgmt-ol li::before {
    content: "0" counter(inst);
    background: rgba(187, 119, 174, .8);
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    font-style: italic;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
    border-radius: 0 0.675em 0.675em 0;
    text-align: center;
    padding: 7px 7px 0 2.25%;
    left: -12px;
    top: -0.65em;
    height: 1.35em;
    width: 1.35em;
    position: absolute;
    transition: all 0.2s ease-in-out;
}

/** Labels */
.wgmt-label {
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: bold;
    color: white;
}

.wgmt-label-action {
    background-color: rgb(100, 100, 100);
}

.wgmt-label-info {
    background-color: darkcyan;
}

.wgmt-label-error {
    background-color: darkred;
}

.wgmt-label-success {
    background-color: darkgreen;
}

.wgmt-label-fail {
    background-color: darkgoldenrod;
}

/** Changelog */
.wgmt-changelog-release {
    font-family: monospace;
    background-color: lightgray;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.wgmt-changelog-release dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
    margin-right: 5px;
}

.wgmt-git-feature {
    color: darkblue;
}

.wgmt-git-improvement {
    color: darkgreen;
}

.wgmt-git-fix {
    color: darkred;
}


/**
 * Widgets
 *********/

/** Checkbox */
/* Hide default HTML checkbox */
.wgmt-checkbox input {
    display: none;
}

.wgmt-checkbox {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    top: -2px;
}

.wgmt-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.wgmt-slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .wgmt-slider {
    background-color: rgb(187, 119, 174);
    box-shadow: 0 0 4px rgba(0, 0, 0, .25) inset;
}

input:focus + .wgmt-slider {
    box-shadow: 0 0 1px #bb77ae;
}

input:checked + .wgmt-slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

/** Spinner */
#wgmt_overlay {
    position: fixed; /* Sit on top of the page content */
    display: block; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(60, 138, 255, 0.1); /* Black background with opacity */
    opacity: 0.5;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: progress; /* Add a pointer on hover */
}

#wgmt_spinner {
    position: fixed;
    left: 50%;
    top: 50%;
    height: 30px;
    width: 30px;
    margin: 0 auto;

    -webkit-animation: rotation .6s infinite linear;
    -moz-animation: rotation .6s infinite linear;
    -o-animation: rotation .6s infinite linear;
    animation: rotation .6s infinite linear;
    border-left: 6px solid rgba(187, 119, 174, .15);
    border-right: 6px solid rgba(187, 119, 174, .15);
    border-bottom: 6px solid rgba(187, 119, 174, .15);
    border-top: 6px solid rgba(187, 119, 174, .8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

/** Range */

/** Hide */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;

    background: transparent;
    border-color: transparent;
    color: transparent;
}

/** Thumb */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border-width: 0;
    height: 30px;
    width: 15px;
    border-radius: 3px;
    background: #643c5c;
    cursor: pointer;
    margin-top: -12px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .25);
}

input[type=range]::-moz-range-thumb {
    border-width: 0;
    height: 30px;
    width: 15px;
    border-radius: 3px;
    background: #643c5c;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000;
}

input[type=range]::-ms-thumb {
    border-width: 0;
    height: 30px;
    width: 15px;
    border-radius: 3px;
    background: #643c5c;
    cursor: pointer;
    box-shadow: 1px 1px 1px #000000;
}

/** The track */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    background: #ccc;
    border-radius: 1px;
    border-width: 0;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #debdeb;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    background: #ccc;
    border-radius: 1px;
    border-width: 0;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 9px;
    cursor: pointer;
    background: #ccc;
    border-radius: 1px;
    border-width: 0;
    color: transparent;
}
