/* Style the form */
.web-projects-form {
    background-color: #fff;
    padding: 30px;
    min-width: 300px;
}

.web-projects-form .web-toggle-btn {
    margin: 0 !important;
}
.web-projects-form p.description {
    font-size: 12px;
    line-height: 1.2;
}
.web-projects-form .new-repeater-field-block input,
.web-projects-form .new-repeater-field-block select,
.web-projects-form .new-repeater-field-block textarea {
    width: 100%;
    padding: 10px;
    margin: 4px 0;
}
.web-projects-form .new-repeater-field-block textarea {
    min-height: 150px;
}
.web-projects-form .new-repeater-field-block .toggle-arrow {
    display: none;
}
.web-repeater.form-control {
    height: 100%;
}
.web-projects-form .form-buttons {
    position: relative;
}
.token-loader {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
}
.token-loader > img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/******************************/
/*  Task blocks  */
/******************************/
.real-time-spent label {
    display: block;
}
.task-block {
    margin-bottom: 40px;
}
.task-block h3 span.block-id {
    font-size: 15px !important;
    color: #888 !important;
}
.task {
    position: relative;
}
.task label {
    width: 100%;
    font-size: 15px;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
}
.task label>input {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}
.task label span {
    display: block;
    margin: 0;
    padding: 5px 0;
}
.task label>span::before {
    width: 24px;
    height: 24px;
    position: absolute;
    border-radius: 50%;
    transition: background .6s;
    content: " ";
    display: block;
    background: rgba(0,0,0,.1);
    left: 5px;
    top: 5px;
}
.task label>input:checked + span::before {
    background-color: #fff;
    box-shadow: 0 0 0 2px #38a169;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='green' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.task label>input:disabled + span,
.task label>input:disabled + span::before {
    opacity: 0.5;
    cursor: not-allowed;
}
.task .saved,
.real-time-spent .saved {
    color: #38a169;
    background-color: #fff;
    box-shadow: 0 0 0 2px #38a169;
    padding: 2px 15px;
    font-size: 12px;
    border-radius: 50px;
}
.real-time-spent .saved,
.real-time-spent .loader,
.task .saved,
.task .loader {
    position: absolute;
    right: 0;
    top: 0;
    display: none;
}
/* Style the input fields */
input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    border: 1px solid #aaa;
}

.general-comments-block {
    padding-top: 30px;
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffdddd;
}

/* Hide all steps by default: */
/*.step-title,*/
.tab {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.steps {
    text-align: center;
    margin-top: 40px;
    position: relative;
}
.step-container {
    display: inline-block;
    position: relative;
}
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    cursor: pointer;
}
.step-title {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -110%);
    visibility: hidden;
    opacity: 0;
    transition: all ease 0.5s;
    font-size: 11px;
    line-height: 1.2;
    min-width: 100px;
    background-color: #fff;
    border: 2px solid #38a169;
    color: #38a169;
    border-radius: 5px;
    padding: 3px 10px;
    z-index: 999;
}
.step-title:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #38a169 transparent transparent transparent;
}

.step-container:hover .step-title {
    visibility: visible;
    opacity: 1;
}

/*.step.active + .step-title {
  display: inline-block;
}*/

/* Mark the active step: */
.step.active {
    background-color: #06a027;
    opacity: 0.8;
}

/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #4CAF50;
}

.access-token-response {
    color: #ff0000;
}
