/* MARGINI */
.wp2wp-mb {
    margin-bottom: 20px !important;
}
.wp2wp-mt {
    margin-top: 20px !important;
}
.wp2wp-mr {
    margin-right: 20px !important;
}
.wp2wp-pl {
    padding-left: 20px !important;
}
.wp2wp-pr {
    padding-right: 20px !important;
}
.wp2wp-pt {
    padding-top: 20px !important;
}
.wp2wp-pb {
    padding-bottom: 20px !important;
}

.d-flex {
    display: flex;
}

.pull-right {
    float: right;
}


/* STILE TESTO */
.wp2wp-text-notification {
    color: #D0021B;
}
.wp2wp-text-success {
    color: #09800F;
}
.wp2wp-text-failed{
    color: red;
}
.wp2wp-text-disabled {
    color: gray;
}
.wp2wp-text-bold {
    font-weight: bold;
}
.wp2wp-text-center {
    text-align: center;
}

.wp2wp-panel {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid gray;
    max-width: 900px;
    padding: 2px;
}

input#token-input.border-danger
{
    color:red;
    border: solid 1px red;
}
/* NOTICHE SIMIL WP*/
/*
.custom-message {
    display: inline-block;
    line-height: 1.4;
    padding: 11px 15px;
    font-size: 14px;
    text-align: left;
    margin: 20px 20px 0 2px;
    background-color: #fff;
    border-left: 4px solid aqua;
    box-shadow: 0 1px 1px 0 rgb(0 0 0 / 10%);
}
.custom-message.warning {
    border-left: 4px solid #ffba00;
}
.custom-message.valid {
    border-left: 4px solid #09800F;
}
.custom-message.invalid {
    border-left: 4px solid #D0021B;
}
*/

/* ICONE */
.wp2wp-icon {
    height: 60px;
    width: 60px;
    background-size: cover;
    display: inline-block;
}
.wp2wp-icon.error {
    background-image: url('../images/ko.svg');
}
.wp2wp-icon.ok {
    background-image: url('../images/ok.svg');
}


/* STILE LISTA REQUISITI */
.wp2wp-requirements-list-item {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid grey;
}
.wp2wp-requirements-list-item:last-child {
    border-bottom: none;
}
.wp2wp-requirements-list-item .check-title {
    width: 300px;
    margin-bottom: 20px;
}
.wp2wp-requirements-list-item .check-message {
    flex-grow: 1;
    position: relative;
    padding-left: 40px;
    width:300px;
}
.wp2wp-requirements-list-item .check-message::before {
    content:'';
    height: 20px;
    width: 20px;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
.wp2wp-requirements-list-item.Success .check-message::before{
    color:green;
    background-image: url('../images/ok.svg');
}

.wp2wp-requirements-list-item.Failed .check-message::before{
    color:red;
    background-image: url('../images/ko.svg');
}

.wp2wp-requirements-list-item.Warning .check-title {
    color:  #ffba00;
}
.wp2wp-requirements-list-item.Warning .check-message::before {
    background-image: url('../images/alert.svg');
}
.wp2wp-requirements-list-item.valid .check-title {
    color:  #09800F;
}
.wp2wp-requirements-list-item.valid .check-message::before {
    background-image: url('../images/ok.svg');
}.wp2wp-requirements-list-item.invalid .check-title {
    color:  #D0021B;
}
.wp2wp-requirements-list-item.invalid .check-message::before {
    background-image: url('../images/ko.svg');
}

.wp2wp-requirements-list-item.Success{
    color:green;
}

.wp2wp-requirements-list-item.Failed{
    color:red;
}
.wp2wp-requirements-list-item.Warning{
    color:  #ffba00;
}

@media(min-width:961px){
    .wp2wp-requirements-list-item {
        flex-direction: row;
    }
    .wp2wp-requirements-list-item .check-title {
        margin-bottom: 0px;
    }
    
}


/* BARRA AVANZMNETO STAEPS*/
.wp2wp-state-progression-bar{
    list-style: none;
    display: flex;
    flex-direction: row;
    overflow: auto;
}
.wp2wp-state-progression-bar li {
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.wp2wp-state-progression-bar li .badge {
    border-radius: 50%;
    color: white;
    background-color: black;
    height: 24px;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}
.wp2wp-state-progression-bar li:not(:first-child) {
    padding-left: 40px;
    margin-left: 16px;
}
.wp2wp-state-progression-bar li:not(:first-child)::before {
    content: ' ';
    height: 4px;
    width: 40px;
    background-color: black;
    z-index: 2;
    left: 0;
    position: absolute;
    top: 50%;
}
.wp2wp-state-progression-bar li.locked {
    color: gray;
}
.wp2wp-state-progression-bar li .badge-text{
    font-weight: bold;
}
.wp2wp-state-progression-bar li.locked .badge-text{
    font-weight: normal;
}
.wp2wp-state-progression-bar li.locked .badge {
    background-color: gray;

}
.wp2wp-state-progression-bar li.locked::before {
    background-color: gray;
} 

/* STAO AVANZAMENTO MIGRAZIONE */
.wp2wp-migration-progression-bar {
    width: 100%;
    height: 10px;
    border: 1px solid #ccc;
    position: relative;
    background-color: #f4f4f4;
}
.wp2wp-migration-progression-bar > div{
    height: 100%;
    background-color: blue;
}

/* LISTA REQUISITI */
.requirements-list h4 {
    margin-bottom: 0px;
}

.insert-token-form-content > div:first-child {
    margin-bottom: 20px;
}
.insert-token-form-content p.wp2wp-text-notification {
    padding-left: 100px;
}


/*  FOLDER VIEW */

table.wp2wp-folders-view {
    table-layout: fixed;
    border-collapse: collapse;
    margin: 0 auto;
   width: 100%;
    border-spacing:0;
}

.wp2wp-folders-view thead {
    background-color: #fff;
    box-shadow: inset 0px -1px 0px #eee,
    0px 5px 5px -5px rgba(0,0,0,.1);
    position: relative;
}
.wp2wp-folders-view thead tr {
    display: block;
    position: relative;
}

.wp2wp-folders-view td:nth-child(1),
.wp2wp-folders-view th:nth-child(1){
    min-width: 200px;
    padding-left:100px;
}
.wp2wp-folders-view td:nth-child(2),
.wp2wp-folders-view th:nth-child(2) {
    min-width: 200px;
}

.wp2wp-folders-view th, .wp2wp-folders-view td {
    padding: 5px;
    text-align: left;
}

.wp2wp-folders-view tbody {
    display: block;
    overflow: auto;
    width: 100%;
    height:400px;
}

.actiontitle span {
    font-size: 50px;
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.actiontitle span:nth-child(2) {
    animation-delay: .2s;
}

.actiontitle span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes blink {
    0% {
        opacity: .2;
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: .2;
    }
}


.wp2wp-folders-view tr td label {
    padding-left: 24px;
    position: relative;
}
.wp2wp-folders-view tr td label::before {
    content:'';
    height: 20px;
    width: 20px;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}


.wp2wp-folders-view tr.disabled td label {
    color: gray;
}
.wp2wp-folders-view tr.disabled td label::before {
    opacity: 0.5;
}

.wp2wp-folders-view tr.is-dir td label::before {
    background-image: url('../images/folder-icon.png');
}
.wp2wp-folders-view tr.is-file td label::before {
    background-image: url('../images/file-icon.png');
}

#substep2{
    display: none;
}

/*TIMELINE MIGRAZIONE*/
#LiteralBarraStato{
    text-align: center;
}
.status-bar {
    background-color: transparent;
    height: 200px;
    width: 5px;
    margin: 0 auto;
    position: relative;
    display: inline-flex;
}

.status-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 3px;
    background-color: black;
    z-index: 0;
}

.status-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: black;
    z-index: 1;
}

.status-dot.white {
    background-color: white;
    border: 2px solid black;
}

.status-dot.orange {
    background-color: orange;
    border: 2px solid white;
    outline: 2px solid black;
}

.status-label {
    position: absolute;
    top: 100%;
    width: 300px;
    left: 170px;
    transform: translate(-50%, -50%);
    font-size: 12px;
    text-align: center;
    color: black;
    text-align: left;
}

.status-label.current{
    font-weight: bold;
}



.switch {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 12px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 8px;
    width: 8px;
    left: 3px;
    top: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


@media(min-width:961px){
    .insert-token-form-content {
        display: flex;
    }
    .insert-token-form-content > div {
        width: 50%;
    }
    .insert-token-form-content > div:first-child {
        margin-bottom: 0px;
    }
}