html, body {
	margin: 0 
}
body{
	height: 100%;
    background-color: white;
    background-image: url(../images/background.png);
    background-repeat: repeat;
    background-size: cover;
}
body, body *, input, textarea, button {
	font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #333333;
}
a {
    color: #396fc9;
    text-decoration: none
}
a, a:active, a:focus {
    text-decoration: none;
    outline: none;
    box-shadow: none !important;
}

h2 {
    font-size: 1.85em;
    line-height: 1;
    font-weight: 400;
    color: #333333;
    margin-bottom: 0;
}
::placeholder {
    color: #ccc;
}
body p {
    color: #333333;
}

ul li {
	list-style: none;
}
.step-inner > ul li::before,
#confirm_redirect ul li:before,
#ftp_notice ul li:before{
    content: "•";
    margin-right: 10px;
    color: rgb(189, 189, 189);
    font-size: 24px;
    vertical-align: middle;
}

.clear {
	clear: both;
}
.hide {
	display: none
}
.alignleft {
    float: left;
}
.alignright {
    float: right;
}

input[type=text], 
input[type=number], 
input[type=email], 
input[type=password], 
textarea {
    display: inline-block;
    width: 60%;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    line-height: 1.5em;
    padding: 0.5em;
    font-size: 13px;
    color: #868686;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

input[type=text].required.error, 
input[type=number].required.error, 
input[type=email].required.error, 
input[type=password].required.error, 
textarea.required.error {
    border-color: red;
}
input[type=text].required.error + .description, 
input[type=number].required.error + .description, 
input[type=email].required.error + .description, 
input[type=password].required.error + .description, 
textarea.required.error + .description {
    color: red
}

label {
	font-weight: 600;
    color: #444;
    margin-bottom: 5px;
    display: block;
}
input + label,
input + span + label,
input + span + span + label {
    display: inline-block;
    font-weight: normal;
    vertical-align: top;
    cursor: pointer;
}

.require {
	color:red;
}

/* buttons */
.one-button {
	font-size: 11px;
    padding:0px 20px 1px;
    line-height:1;
    margin-right: .5em;
    min-height: 28px;
    min-width: 90px;
    border-radius: 0;
    background: #396fc9;
    color: white;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    font-weight: normal;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: none
}
.one-button.active {
    display: inline-block;
}
.one-button:focus {
    box-shadow: none;
    outline: none;
}
.one-button:hover {
    background: #284f90;
}
.one-button.secondary {
    background: #fff;
    border:1px solid #e5e5e5;
    color: #333333;
    font-weight: normal;
}
.one-button.secondary:hover {
    background: rgb(252, 252, 252)
}
.one-button:disabled {
    background: #96b6ea;
    color: #d3e4ff;
    cursor: initial;
}

.form-table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}
.form-table td, .form-table th {
    padding: 10px 20px 10px 0;
    vertical-align: top;
}
.form-table th {
    max-width: 180px;
    width: 180px;
}
.form-table td {
    padding-right: 0;
}
.one-setup-field{
    text-align: left;
}
.one-setup-field > th > label:not(.ftptype) {
    display: inline-block;
    vertical-align: -6px;
}
#terms-and-conditions{
    margin-bottom: 16px;
    display: inline-block;
    margin-right: 7px;
    float: left;
}
.step-4-terms-field-label{
    font-weight: 600;
    font-size: 12px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: auto;
    z-index: 99;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}
.wrap {
    max-width: 80%;
    width: 850px;
    margin: 0em auto;
    border-top: 5px solid #77a240;
    position: relative;
    background: #f9f9f9;
    z-index: 2;
    box-shadow: 0 0 100px #353535;
}

.steps-col {
    background: #f9f9f9;
    width: 14%;
}
.steps-col, 
.form-col, 
.actions-col {
    padding: 0em 2.5em;
}

.wrap h1#logo {
    padding: 0;
    margin-bottom: 30px;
    margin-top: 40px;
}
#logo a {
    color: #444;
    height: 70px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3em;
    margin: 0 auto;
    padding: 0 25px;
    text-decoration: none;
    width: 70px;
    outline: none;
    overflow: hidden;
    display: block;
    border-radius: 0%;
}
#logo a img {
    max-width: 100%;
}

.one-steps-list {
    padding: 0 0 1em;
    margin: 0;
    list-style: none;
    overflow: hidden;
    color: #ccc;
    max-width: 800px;
}
.one-steps-list li {
    position: relative;
    margin: 0;
    padding: 0 0 1em;
    text-align: center;
    color: #bebebe;
}
.one-steps-list li:after {
    content: "";
    display: block;
    height: 4em;
    width: 2px;
    margin: 15px auto 0;
    background: #e5e5e5;
}
.one-steps-list li.done-step:after {
    background: #0086c0;
}
.one-steps-list li:last-child:after {
    display: none
}

.one-steps-list li.active-step, 
.one-steps-list li.done-step {
    border-color: #0086c0;
    color: #0086c0;
}

.one-steps-list a {
    color: #ccc;
    pointer-events: none;
}
.one-steps-list li.active-step a, 
.one-steps-list li.done-step a {
    color: inherit;
}

.form-col {
    width: 69%;
    -webkit-width: calc( 70% - 5px );
    width: calc( 70% - 5px );
    padding-bottom: 1.2em;
    min-height: 500px;
    background: #fff;
    border-left: 1px solid #e5e5e5;
}
.form-col h2 {
    margin-top: 2em;
}
.process-steps {
    display: none;
}
.process-steps.active {
    display: block;
}
p.description {
    margin-bottom: 2em;
    border-bottom: 1px solid #efefef;
    padding-bottom: 1em;
    color: #666;
}
.warning{
    display: block;
    margin-left: 23px;
    margin-top: 12px;
    font-size: 0.93em;
}

.step-inner > ul{padding-left:0 !important;}

.process-steps.step-root-directory ul.remote-directories {
    padding: 0;
    max-height: 345px;
    overflow: auto;
}
.process-steps.step-root-directory ul.remote-directories li {
    margin-bottom: 1em;
    padding: 0.6em;
    background: #f3f1f1;
}
.process-steps.step-root-directory ul.remote-directories li:last-child {
    margin-bottom: 0;
}
.process-steps.step-root-directory ul.remote-directories li:before {
	display: none
}
.process-steps.step-root-directory ul.remote-directories li .onecom-subdirectories-toggle {
	cursor: pointer;
}

.process-steps.step-root-directory ul.remote-directories ul.remote-sub-directories li {
	margin-bottom: 0;
    padding: 5px;
    background: #fff;
}

/* subdirectories open/close animation */
.process-steps.step-root-directory ul.remote-directories li ul.remote-sub-directories {
    transition: max-height 500ms cubic-bezier(0, 1, 0.5, 1);
    max-height: 0;
    overflow-y: hidden;
}
.process-steps.step-root-directory ul.remote-directories li.opened > ul.remote-sub-directories {
    max-height: 70vh;
    transition: max-height 500ms ease-in-out;
}
.process-steps.step-root-directory ul.remote-directories li.opened > .onecom-subdirectories-toggle.icon-folder {
	display: none;
}
.process-steps.step-root-directory ul.remote-directories li.opened > .onecom-subdirectories-toggle.icon-folder-open {
	display: inline-block !important;
}

.process-steps.step-finish ul.migrate-status {
	padding: 0;
    color: #c1c1c1;
}
.process-steps.step-finish ul.migrate-status li {
	color: inherit;
}
.process-steps.step-finish ul.migrate-status li.done,
.process-steps.step-finish ul.migrate-status li.running {
	color: #333;
}
.process-steps.step-finish ul.migrate-status li span {
	margin-left: 5px;
	display: none;
}
.process-steps.step-finish ul.migrate-status li.done span.icon-checkmark {
    color: #76a23f;
    display: inline-block;
}
.process-steps.step-finish ul.migrate-status li.running span.icon-loop2 {
    color: #afafaf;
    display: inline-block;
}

#migrate-back-button {
    margin-right: 2em;
}

.actions-col {
    border-top: 1px solid #e5e5e5;
    padding: 1em 2.5em;
    clear: both;
    min-height: 28px;
}
.actions-col .alignleft{
    margin-left: 27px;
    margin-top:5px;
}
.actions-col .alignleft span {
    font-size: 12px;
}
/**
* Notifier / notice
**/
.onecom-notifier {
    visibility: hidden;
    opacity: 0;
    z-index: -99;
    position: fixed;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 1.6em;
    box-shadow: 0 0 15px #bdbdbd;
    -webkit-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

.onecom-notifier.show {
    opacity: 1;
    visibility: visible;
    z-index: 99999999;
    top: 0%;
}

.onecom-notifier[type=success] {
    border-top: 4px solid #75a13d;
}

.onecom-notifier[type=error] {
    border-top: 4px solid red;
}

/**
* Status views
**/
.migration_completed .migrate-status, 
.migration_completed #migrate-status-pretext,
.migration_failed .migrate-status, 
.migration_failed #migrate-status-pretext,
.prepare_package #extended-status,
.downloading_package #extended-status,
.extracting_package #extended-status, 
.package_finalization #extended-status {
    display: none;
}

.migration_failed #extended-status {
    display: block;
}

.migration_failed .description{
    font-size:0 !important;
}

/* Tooltips */
.context_help{
    cursor: help;
    display: inline-block;
    vertical-align:-3px;
    opacity: 0.4;
    width:17px;
}
.context_help img{
    width:17px;
    height:auto;
}
tr.one-setup-field:hover .context_help{
    opacity: 1;
}
.tooltip.right .tooltip-inner{
    padding:6px 14px;
    text-align: left;
}
.tooltip-inner *{
    color:#fff;
}
.tooltip-inner hr{
    color:#fff;
    opacity: 0.5;
}
.tooltip-inner ol,
.tooltip-inner ul{
    padding-left: 5px;
    margin:5px 0 5px 8px;
}
.tooltip.right .tooltip-inner ul li{
    list-style-type:disc;
}
#ftp_notice,
#check_wp_valid,
#confirm_redirect,
.group-1, .group-2{
    display: none;
}
/*.group-2.data-valid{
    display: block;
}*/
span.url_valid,
span.url_invalid,
span.ftp_valid,
span.ftp_invalid{
    margin-left: 7px;
    vertical-align: middle;
    width: 15px;
    height: 11px;
    display: none;
}
span.url_valid img,
span.url_invalid img,
span.ftp_valid img,
span.ftp_invalid img{
    max-width: 100%;
    height: auto;
    width: 15px;
}
#confirm_redirect td>span{
    font-weight:600;
}

#check_wp_valid,
#check_ftp_valid{
    display: block;
    margin-top: 18px;
}

#ftp_notice ul{margin-bottom:0;}

.help_link{
    font-size: 12px;
    color: #0086c0;
    vertical-align: 0;
    display: inline-block;
    margin: 0 16px;
}
.help_link:hover{
    color: #00a0d2;
    border:none;
    text-decoration: none;
}

@media screen and (max-width: 1020px) {
    .one-steps-list {
        text-align:center;
        padding-bottom: 0;
        display: flex;
    }
    .one-steps-list li {
        display:inline-block;
        width:20%;
        position: relative;
        flex-grow: 1;
        flex-basis: 0;
    }
    .one-steps-list li:after {
        display:none
    }
    .wrap h1#logo {
        margin-top:30px
    }
    .actions-col .alignleft {
        margin-left:0
    }
    .steps-col, 
    .form-col, 
    .actions-col {
        width: calc( 100% - 5em );
        border: 0;
        float: none
    }
    .form-col h2 {
    	margin-top: 1em;
        padding-top: 1em
    }
}

@media screen and (max-height: 800px) { 
    .popup {
        display: block;
    }
    .wrap {
        margin-top: 2em;
        margin-bottom: 2em;
    }
}

/* Loader */

.loading-overlay {
    opacity: 0;
    visibility: hidden;
    z-index: -99;
    background: rgba( 256, 256, 256, 0.80);
    -webkit-transition: opacity 0.25s ease-out;
    transition: opacity 0.25s ease-out;
}

.loading-overlay.show {
	display: inline-block;
    opacity: 1;
    visibility: visible;
    z-index: 99999;
}

.loading-overlay .loader,
.loading-overlay .loader:after,
.loading-overlay .loader:before {
    display: block;
    margin: 0 auto;
    background-color: #888;
    width: 12px;
    height: 12px;
    border-radius: 12px;
    -webkit-animation-name: loader-dot;
    animation-name: loader-dot;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-delay: .2s;
    animation-delay: .2s;
}

.loading-overlay .loader:after,
.loading-overlay .loader:before {
    margin: 0 24px;
    content: '';
}

.loading-overlay .loader:before {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
    margin-left: -24px;
}

.loading-overlay .loader:after {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    margin-top: -12px;
}

.loading-overlay .loading-overlay-content {
    margin: 0 auto;
    padding: 0 2em;
    text-align: center;
}

.loading-overlay.fullscreen-loader, 
.loading-overlay.element-loader {
	width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.loading-overlay.fullscreen-loader {
    position: fixed;
}
.loading-overlay.element-loader {
    position: absolute;
}

.loading-overlay.fullscreen-loader .loading-overlay-content, 
.loading-overlay.element-loader .loading-overlay-content {
	position: absolute;
    top: 50%;
    left: 50%;
    padding-top: 2em;
    padding-bottom: 2em;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: -webkit-calc( 100% - 4em );
    width: calc( 100% - 4em );
}

@-webkit-keyframes loader-dot {
    0% {
        background-color: #f9f9f9
    }
    50% {
        background-color: #878787
    }
    to {
        background-color: #f9f9f9
    }
}

@keyframes loader-dot {
    0% {
        background-color: #f9f9f9
    }
    50% {
        background-color: #878787
    }
    to {
        background-color: #f9f9f9
    }
}

/* Spin animation */

.spin {
	-webkit-animation: spin 2s linear infinite;
	-moz-animation: spin 2s linear infinite;
	-ms-animation: spin 2s linear infinite;
	-o-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(359deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(359deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(359deg);}
}

@media (min-width:320px) and (max-width: 767px) {
    .wrap{
        margin:0;
        width:auto;
        max-width:100%;
    }
    h2 {
        font-size: 20px;
        line-height: 26px;
    }
    .one-steps-list li{padding-bottom:0;}
    tr.one-setup-field th,
    tr.one-setup-field td{
        display: block;
        float: left;
        clear:both;
        width:100%;
    }
    tr.one-setup-field th{
        padding-bottom:0;
    }
    .one-setup-field[name="host"]{
        width: calc(92% - 60px);
    }
    .form-table input[type=text]{
       max-width:100%;
    }
    .one-setup-field .description{
        font-size:13px;
        margin-top:10px;
    }
    #terms-and-conditions{float:left}
    td.wp-terms-condition label {
        display: inline;
    }
}