.clearboth {clear: both;}
sup.orange {text-transform: lowercase; font-weight: bold; color: #f85d00;}
.align-middle {vertical-align: middle !important;}
/* registration ************************************************************/

.vi-registration-box {
    position: relative;
}

.vi-cover-prompt {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: rgba(241, 241, 241, .88);
    text-align: center;
}

.vi-cover-prompt::before {
    content: "";
    display: none;
    z-index: 10000;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-filter: url(#viblurfilter);
    -moz-filter: url(#viblurfilter);
    -o-filter: url(#viblurfilter);
    -ms-filter: url(#viblurfilter);
    filter: url(#viblurfilter);
}

.vi-cover-prompt-buttons button.button-primary, .vi-cover-prompt-buttons button.button-secondary {
    display: inline-block;
    margin: 0 5px;
}

.viblurfilter-svg {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.vi-cover-prompt h1 {
    text-align: center;
    margin-top: 50px;
    text-shadow: 0px 0px 14px #ffffff;
}

.ytvi-wrap * {
    box-sizing: border-box;
}

.ytvi-wrap .center {
    text-align: center;
}

.ytvi-wrap input.regular-text {
    width: 100%;
}

.ytvi-step-1, .ytvi-step-2 {
    text-align: left;
}

.ytvi-step-1 {
    width: auto;
    padding: 0;
    max-width: 870px;
    margin: 0 auto;
}

.ytvi-step-1 .button-primary {
    font-size: 16px;
}

.ytvi-step-1--form, .ytvi-login-success, .ytvi-step-2-loading, .ytvi-login-loading, .ytvi-login-complete {
    background: #fff;
    border: solid 1px #e5e5e5;
    padding: 15px 0;
    width: 100%;
    margin: 30px auto;
}

.ytvi-step-1--form .side-signup {
    width: 49.5%;
    float: left;
    border-right: 1px solid #cccccc;
    padding: 0 40px;
}

.ytvi-step-1--form .side-login {
    width: 49.5%;
    float: right;
    padding: 0 40px 0 30px;
}

.ytvi-step-1--form .side-login h2, .ytvi-step-1--form .side-signup h2 {
    font-size: 1.15em;
}

.wrap .ytvi-step-1--form h2 {
    margin: 10px 0 15px 0;
    font-weight: normal;
}

.ytvi-step-2-loading, .ytvi-step-2, .ytvi-login-loading, .ytvi-login-success {
    display: none;
}

.ytvi-loading--message {
    text-align: center;
    font-size: 16px;
}

.ytvi-step-2 .ytvi-registration {
    max-width: 870px;
    margin: 0 auto;
}

.ytvi-step-2 .ytvi-registration iframe {
    border-width: 0;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 575px;
    display: block;
}

.ytvi-step-2-msg {
    background-color: #d8ebf3;
    border: 1px solid #d0d0d0;
    margin: 0 26px;
    padding: 10px;
}

.ytvi-login-success, .ytvi-login-complete {
    max-width: 100%;
    text-align: center;
    padding: 25px 40px;
}

.vi-adstxt-diff {
    text-align: left;
}

.vi-adstxt-diff p {
    font-style: italic;
}

.vi-adstxt-diff code, .adstxt-verify-message code, code.adstxt-block {
    white-space: pre;
    display: block;
    overflow: auto;
    margin: 25px 0;
}

section.pattern h2 {
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 2s ease-out 0s;
}
section.pattern h2.ytvi-hash-scroll {
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0s;
}


h3.sect {
    transition: background-color 2s ease-out 0s;
}
h3.sect.ytvi-hash-scroll {
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0s;
}

.vi-forgot-pw {
    display: inline-block;
    float: right;
    padding-top: 5px;
}

.vi-contact-support {
    margin-top: 30px;
    clear: left;
    padding-top: 20px;
}

.vi-logo-text {height: 1.2em; width: auto; vertical-align: text-bottom;}

.vi-demo {
    max-width: 1360px;
    margin: 0 auto;
}

p.vi-demo-lede, #ytform p.vi-demo-lede {
    font-size: 17px;
    line-height: 1.5;
}

.wrap-vi-settings-pre p.vi-demo-lede {
    padding-top: .75em;
}

.vi-demo-col-phone {
    float: right;
    width: 330px;
    clear: right;
}

.vi-demo-col-content {
    width: calc(100% - 340px);
}

.vi-demo-mobile {
    margin: 0 auto;
    width: 300px;
    background: transparent url(../images/vi-mobile-phone.png) no-repeat scroll;
    background-size: cover;
}

.vi-demo-mobile-caption-list {
    position: relative;
    min-height: 115px;
}

.vi-demo-mobile-caption {
    font-style: italic;
    margin: 0 10px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    transition: ease-in-out opacity 3s;
}

.vi-demo-mobile-ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom:175.89%;
}

.vi-demo-mobile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.vi-demo-screen {
    position: absolute;
    top: 5.5%;
    left: 12%;
    width: 76%;
    height: auto;
    z-index: 1;
    opacity: 1;
    transition: ease-in-out opacity 4s;
}

.vi-demo-screen.demo-hide, .vi-demo-mobile-caption.demo-hide {
    opacity: 0;
    transition: ease-in-out opacity 3s;
}

.vi-demo-screen-2 {
    z-index: 2;
}

p.vi-ad-source-row  {
    text-align: center;
    margin-top: 20px;
}
.vi-ad-source-row img {
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 13px;
    padding: 0 13px 0 13px;
    max-height: 20px;
    height: auto;
    width: auto;
}

.login-expire {
    background-color: #d8ebf3;
    border: 1px solid #d0d0d0;
    padding: 25px;
}

/* admin *****************************************************************************/
.wrap-vi {max-width: 1064px; margin-bottom: 100px;}
.wrap-vi h1 .yt-admin-icon {
    width: 16px;
    height: 16px;
}
.wrap-vi h1 a.button-primary, .wrap-vi h1 a.button-secondary, .wrap-ytprefs h2 a.button-primary, .wrap-ytprefs h2 a.button-secondary  {
    float: right;
    margin-left: 15px;
}

.wrap-vi section {
    margin-left: 20px;
    display:none;
    padding-top:15px;
}
.wrap-vi th label {display: block;}
.wrap-vi th small {font-weight: normal; font-style: italic;}

.wrap-vi h2.nav-tab-wrapper {
    margin:22px 0 0 0;
}
.wrap-vi section#jumphowitworks {
    display:block;
}
.wrap-vi .no-js section {
    display: block;
}



.wrap-vi h2 {margin-bottom: 30px; margin-left: 0;}
.wrap-vi h3 {font-size: 1.2em; font-style: italic;}
.save-changes-follow {position: fixed; z-index: 10000; bottom: 0; right: 0; background-color: #ffffff; padding: 0 20px; border-top-left-radius: 20px; border: 2px solid #aaaaaa; border-right-width: 0; border-bottom-width: 0;
                      -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
                      -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
                      box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75); }
.button-primary {white-space: nowrap;}

p.submit {margin: 0; padding: 15px 0 10px 0;}
.wp-core-ui p.submit .button-primary {
    font-weight: bold;
    font-size: 21px; height: 50px; padding: 0 20px 1px;
    background: #2ea2cc; /* Old browsers */
    background: -moz-linear-gradient(top,  #2ea2cc 0%, #007396 98%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2ea2cc), color-stop(98%,#007396)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2ea2cc 0%,#007396 98%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2ea2cc 0%,#007396 98%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2ea2cc 0%,#007396 98%); /* IE10+ */
    background: linear-gradient(to bottom,  #2ea2cc 0%,#007396 98%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2ea2cc', endColorstr='#007396',GradientType=0 ); /* IE6-9 */
}
p.submit em {display: inline-block; padding-left: 20px; vertical-align: middle; width: 240px; margin-top: -6px;}

.vi-red {
    color: #de1515;
}

button.button-primary.ytvi-btn-toggle {
    float: right;
    position: relative;
}

button.button-primary.ytvi-btn-inactive, button.button-primary.ytvi-btn-inactive:hover,
.wp-core-ui button.button-primary.ytvi-btn-inactive[disabled], .wp-core-ui button.button-primary.ytvi-btn-inactive:disabled,
a.button-primary.ytvi-btn-inactive, a.button-primary.ytvi-btn-inactive:hover {
    background: #e51f1f !important;
    border-color: #a22222 !important;
    box-shadow: 0 1px 0 #a22222 !important;
    text-shadow: 0 -1px 1px #a22222, 1px 0 1px #a22222, 0 1px 1px #a22222, -1px 0 1px #a22222  !important;
    color: #ffffff !important;
}

.wp-core-ui button.button-primary.ytvi-btn-inactive[disabled]:hover {
    background: rgba(229, 31,31, .5) !important;
}

button.button-primary.ytvi-btn-toggle .ytvi-notyet {
    display: none; position: absolute; background: white; width: 540px; height: auto; top: 25px;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 0 rgba(0,0,0,.2);
    right: 0;
    text-align: left;
    color: #333333 !important;
    box-sizing: border-box;
    text-shadow: none !important;
    white-space: normal;
    border-top-right-radius: 0;
    z-index: 100;
}

button.button-primary.ytvi-btn-toggle:hover .ytvi-notyet {
    display: block;
}


.iab-cat-parent {margin-right: 15px; display: inline-block;}
.iab-cat-child-box {display: inline-block;}
.iab-cat-child-box.hidden {opacity: .3;}
.iab-cat-child option.hidden {display: none;}
.wp-picker-container.wp-picker-active .wp-color-result-text {font-weight: bold;}
ul.list-ul {margin: 15px 30px;}
ul.list-ul li {list-style-type: disc; }
.alertify .ajs-dialog {max-width: 600px;}
.alertify .ajs-body .ajs-content {line-height: 2em;}
.alertify .ajs-body .ajs-content code {
    white-space: pre;
    display: block;
    overflow: auto;
    line-height: 1.4em;
    margin: 1em auto;
}

.ajs-button {cursor: pointer;}

.ss-vi-img {
    max-width: 700px;
    height: auto;
}
.ss-vi-wizbutton {
    max-width: 100%;
    height: auto;
}
.vi-how-works {
    margin-bottom: 40px;
    position: relative;
    margin-left: 10px;
}

.vi-how-works::before {
    clear: both;
}

.vi-how-works p {
    line-height: 1;
}

.vi-how-works img {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 15px;
    transition: ease-in-out transform,opacity .1s;
    opacity: .5;
}

.vi-how-works:hover img {
    transform: scale(1.1);
    opacity: 1;
    transition: ease-in-out transform,opacity .2s;
}

.vi-how-works h3 {
    margin-bottom: 0;
}

.vi-how-works .vi-num {
    position: absolute;
    left: -20px;
    font-size: 22px;
    font-weight: bold;
    color: #000000;
    opacity: .2;
    font-style: italic;
    transition: ease-in-out transform,opacity .1s;
}
.vi-how-works:hover .vi-num {

    transform: scale(1.1);
    opacity: 1;
    transition: ease-in-out transform,opacity .2s;
}

h2 .vi-num {
    font-style: italic;
    opacity: .5;
}

.form-table.form-table--vi-appearance {
    width: 100%;
}

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

.vi-story-demo {
    width: 65%;
    position: relative;
    margin: 20px auto;
}

.vi-story-demo--box {
    border: solid 1px #e3e3e3;
}

.vi-story-demo--screen {
    width: 100%;
    padding-top: 57%;
    background-color: #888888;
    position: relative;
}

.vi-story-demo--screen span {
    color: #cccccc;
    width: 100%;
    text-align: center;
    font-size: 20px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-style: italic;
}
.vi-story-demo--screen span small {
    background: #dddddd;
    border-radius: 5px;
    display: inline-block;
    padding: 5px 10px;
    box-sizing: border-box;
    color: #333333;
    max-width: 90%;
}


.vi-story-demo--info {
    padding: 8px;
}
.vi-story-demo--featured {
    height: 20px;
    font-size: 9px;
    text-align: right;
    margin-top: 8px;
    text-transform: uppercase;
    line-height: 20px;
    font-family: Verdana, sans-serif;
}

.vi-story-demo--title {
    font-weight: bold;
    line-height: 1.33;
}

.vi-story-demo--featured span {
    opacity: 0.5;    
}

.vi-story-demo--box .vi-story-demo--featured img  {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin: -4px 0 0 5px;
}

@media (min-width:768px)  {
    .form-table.form-table--vi-appearance {
        width: 53%;
        float: left;
        clear: left;
    }
    .vi-story-demo {
        float: right;
        width: 44%;
        position: relative;
    }

}

.nav-tab-valid, .nav-tab-valid:focus, .adstxt-verify-message-valid {
    color: #00a000;
    font-weight: bold;
}

.adstxt-help {
    float: right;
    background-color: rgba(0,0,0,0.07);
    width: 390px;
    margin: 0 0 20px 10px;
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px 35px;
}

.adstxt-help img {
    width: 50px;
    height: auto;
    display: block;
    float: left;
}

.nav-tab-valid:after {
    content: url('../images/adstxt-valid.png');
}

.nav-tab-invalid, .nav-tab-invalid:focus {

}
.nav-tab-invalid:after {
    content: url('../images/adstxt-warning.png');
}


.nav-tab-loading:after {
    content: url('../images/ajax-loader.gif');
}

/************* chart */

.vi-report-error.hide, .vi-report.hide {
    display: none;
}

.vi-report, .vi-report-error {
    text-align: center;
}

.vi-total-earnings, .vi-total-earnings-error {
    float: left;
    width: 25%;
    margin-top: 60px;
    color: #1193aa;
}

.vi-report-graph, .vi-report-graph-error {
    float: right;
    width: 75%;
}

.vi-report-canvas-box, .vi-report-canvas-box-error {
    height: 300px;
    width: 100%;
}

.vi-total-earnings-num, .vi-total-earnings-num-error {
    margin-top: 20px;
    font-weight: bold;
    font-size: 3.7vw;
    line-height: 3.7vw;
}

.vi-total-earnings-num-error, .vi-report-canvas-box-error {
    color: #cccccc;
    font-weight: normal;
    font-size: 45px;
    line-height: 45px;
}

.vi-report-canvas-box-error {
    background-size: 10% 10%;
    background-image: linear-gradient(to right, #dddddd 1px, transparent 1px), linear-gradient(to bottom, #dddddd 1px, transparent 1px);
}

@media (min-width:1280px)  {
    .vi-total-earnings-num, .vi-total-earnings-num-error {
        font-size: 45px;
        line-height: 45px;
    }    
}

.iab-cat-tags-display {
    margin-top: 20px;
}

.iab-cat-tags-display:empty:after {
    content: 'None selected yet';
    font-style: italic;
}

.iab-cat-tag-button {
    display: inline-block;
    background-color: #0073aa;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
    margin: 0 12px 12px 0;
    cursor: pointer;
}

.ytvi-msg-congrats {
    display: none;
}