:root {
    --green: #96c03d;
    --active: #2c3f4c;
}

.nav-tabs.wizard {
    background-color: transparent;
    padding: 0;
    width: 100%;
    margin: 1em auto;
    border-radius: 0.25em;
    clear: both;
    border-bottom: none;
}

/*.nav-tabs.wizard li {
    width: 100%;
    float: none;
    margin-bottom: 3px;
  }*/

.nav-tabs.wizard li > * {
    position: relative;
    padding: 1em 0.8em 0.8em 2.5em;
    color: #999999;
    background-color: #dedede;
    border-color: #dedede;
}

.nav-tabs.wizard li.completed > * {
    color: #fff;
    background-color: var(--green);
    border-color: var(--green);
    border-bottom: none;
}

.nav-tabs.wizard li.active > * {
    color: #fff;
    background-color: #007984;
    border-color: #006e7a;
    border-bottom: none;
}

.nav-tabs.wizard li::after:last-child {
    border: none;
}

.nav-tabs.wizard > li > a {
    opacity: 1;
    font-size: 14px;
}

span.step {
    display: inline-block;
    padding: 10px 0 0 0;
    background: #ffffff;
    width: 35px;
    line-height: 100%;
    height: 35px;
    margin: auto;
    border-radius: 50%;
    font-weight: bold;
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
}

@media (min-width: 992px) {
    .nav-tabs.wizard li {
        position: relative;
        padding: 0;
        margin: 4px 4px 4px 0;
        width: 19.6%;
        float: left;
    }

    .nav-tabs.wizard li.active a {
        padding-top: 15px;
    }

    .nav-tabs.wizard li::after,
    .nav-tabs.wizard li > *::after {
        content: "";
        position: absolute;
        top: 0;
        left: 100%;
        height: 0;
        width: 0;
        border: 45px solid transparent;
        border-right-width: 0;
        /*border-left-width: 20px*/
    }

    .nav-tabs.wizard li::after {
        z-index: 1;
        -webkit-transform: translateX(4px);
        -moz-transform: translateX(4px);
        -ms-transform: translateX(4px);
        -o-transform: translateX(4px);
        transform: translateX(4px);
        border-left-color: #fff;
        margin: 0;
    }

    .nav-tabs.wizard li > *::after {
        z-index: 2;
        border-left-color: inherit;
    }

    .nav-tabs.wizard > li:nth-of-type(1) > a {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .nav-tabs.wizard li:last-child a {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .nav-tabs.wizard li:last-child {
        margin-right: 0;
    }

    .nav-tabs.wizard li:last-child a:after,
    .nav-tabs.wizard li:last-child:after {
        content: "";
        border: none;
    }

    span.step {
        display: block;
    }
}

.invalid {
    color: red;
}

.form-control.invalid {
    border: 1px solid red;
}

label.invalid,
label.error {
    color: red;
}

.btn-primary {
    background-color: #007984 !important;
    border-color: #006e7a !important;
}

.btn {
    padding: 8px 20px !important;
}

.brand-icon {
    color: #fff !important;
    font-size: 1.2rem !important;
}

.centerTXT {
    text-align: center;
}

.titulo {
    margin: 1rem;
    color: #007984;
}

.btn-warning {
    color: #ffffff !important;
}

.btn-outline-info {
    color: #007984 !important;
    border-color: #006e7a !important;
}

.btn-outline-info:hover {
    background-color: #007984 !important;
    color: #ffffff !important;
}

.msg-alerta {
    text-align: center;
    color: red;
    font-size: 1rem !important;
}

@media (max-width: 576px) {
    .titulo {
        margin: 0.3rem !important;
    }

    .titulo h3 {
        font-size: 1.1rem !important;
    }
}

.bootstrap-select .dropdown-menu {
    min-width: 100% !important;
}

.dropdown-item {
    white-space: normal;
}

.control-indicator {
    top: 6px;
}

/* Timeline tomado de https://www.bootdey.com/snippets/view/bs4-timeline#css */

.timeline {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: #2d353c;
    left: 20%;
    margin-left: -2.5px;
}

.timeline > li {
    position: relative;
    min-height: 50px;
    padding: 20px 0;
}

.timeline .timeline-time {
    position: absolute;
    left: 0;
    width: 18%;
    text-align: right;
    top: 30px;
}

.timeline .timeline-time .date,
.timeline .timeline-time .time {
    display: block;
    font-weight: 600;
}

.timeline .timeline-time .date {
    line-height: 16px;
    font-size: 12px;
}

.timeline .timeline-time .time {
    line-height: 24px;
    font-size: 20px;
    color: #242a30;
}

.timeline .timeline-icon {
    left: 15%;
    position: absolute;
    width: 10%;
    text-align: center;
    top: 40px;
}

.timeline .timeline-icon a {
    text-decoration: none;
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 20px;
    background: #d9e0e7;
    line-height: 10px;
    color: #fff;
    font-size: 14px;
    border: 5px solid #2d353c;
    transition: border-color 0.2s linear;
}

.timeline .timeline-body {
    margin-left: 23%;
    margin-right: 17%;
    background: #fff;
    position: relative;
    padding: 20px 25px;
    border-radius: 6px;
}

.timeline .timeline-body:before {
    content: "";
    display: block;
    position: absolute;
    border: 10px solid transparent;
    border-right-color: #fff;
    left: -20px;
    top: 20px;
}

.timeline .timeline-body > div + div {
    margin-top: 15px;
}

.timeline .timeline-body > div + div:last-child {
    margin-bottom: -20px;
    padding-bottom: 20px;
    border-radius: 0 0 6px 6px;
}

.timeline-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e7eb;
    line-height: 30px;
}

.timeline-header .userimage {
    float: left;
    width: 34px;
    height: 34px;
    border-radius: 40px;
    overflow: hidden;
    margin: -2px 10px -2px 0;
}

.timeline-header .username {
    font-size: 16px;
    font-weight: 600;
}

.timeline-header .username,
.timeline-header .username a {
    color: #2d353c;
}

.timeline img {
    max-width: 100%;
    display: block;
}

.timeline-content {
    letter-spacing: 0.25px;
    line-height: 18px;
    font-size: 13px;
}

.timeline-content:after,
.timeline-content:before {
    content: "";
    display: table;
    clear: both;
}

.timeline-title {
    margin-top: 0;
}

.timeline-footer {
    background: #fff;
    border-top: 1px solid #e2e7ec;
    padding-top: 15px;
}

.timeline-footer a:not(.btn) {
    color: #575d63;
}

.timeline-footer a:not(.btn):focus,
.timeline-footer a:not(.btn):hover {
    color: #2d353c;
}

.lead {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 300;
    line-height: 1.4;
}

.text-danger,
.text-red {
    color: #ff5b57 !important;
}

.btn-custom {
    -moz-border-radius: 2px;
    -moz-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    -webkit-border-radius: 2px;
    -webkit-transition: all 400ms ease-in-out;
    color: #fff !important;
    background-color: #007984 !important;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    border-radius: 2px;
    border-width: 1px;
    transition: all 400ms ease-in-out;
}
.btn-custom:hover {
    color: #000000 !important;
    background-color: #0079849b !important;
}
.btn-custom:focus {
    color: #ffffff !important;
}
.open > .dropdown-toggle {
    background-color: #6e8cd7 !important;
    border: 1px solid #6e8cd7 !important;
}
