body {
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}


/**
 * Utils
 *
 * -------------------------------------------------------------------
 */

.btn-success {
    background-color: #006d5c;
} 

.btn-success:hover {
    background-color: #005548;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

[data-lazy].show {
    opacity: 1;
}

[data-lazy] {
    opacity: 0;
    transition: opacity .3s ease;
}

.hide {
    display: none !important;
}

.btn .spinner {
    display: none;
    margin: initial;
    position: absolute;
    height: 15px;
    width: 15px;
    left: 11px;
    top: 11px;
}

.btn .spinner .path {
    stroke: #fff;
}

.btn.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn.btn-loading:not(.btn-block) {
    padding-left: 35px; 
}

.btn.btn-loading .spinner {
    display: block;
}

/**
 * Spinner
 *
 * -------------------------------------------------------------------
 */

.circle-spinner {
    font-size: 10px;
    text-indent: -9999em;
    width: 80%;
    height: 80%;
    margin: auto;
    border-radius: 50%;
    background: #fff;
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    position: relative;
    animation: load 1s infinite linear;
}

    .circle-spinner:before {
        width: 50%;
        height: 50%;
        background: #ffffff;
        border-radius: 100% 0 0 0;
        position: absolute;
        top: 0;
        left: 0;
        content: '';
    }

    .circle-spinner:after {
        background: #006D5C;
        width: 75%;
        height: 75%;
        border-radius: 50%;
        content: '';
        margin: auto;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
    }


@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.spinner {
    display: block;
    animation: rotate 2s linear infinite;
    margin: 0 auto;
    max-height: 50px;
    max-width: 50px;
}

    .spinner .path {
        stroke: #096722;
        stroke-linecap: round;
        animation: dash 1.5s ease-in-out infinite;
    }

@-webkit-keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}



/**
 * Material control
 *
 * -------------------------------------------------------------------
 */

.material-control {
    background-color: white;
    position: relative;
}

.material-control.material-control--error input,
.material-control.material-control--error textarea,
.material-control.material-control--error.material-control--active input,
.material-control.material-control--error.material-control--active textarea {
    border: 1px solid red;
}

.material-control.material-control--error label,
.material-control.material-control--error.material-control--active label {
    color: red;
}

.material-control.material-control--active input,
.material-control.material-control--active textarea {
    border-color: #006d5c;
}

.material-control.material-control--active label {
    color: #006d5c;
}

.material-control.material-control--active label,
.material-control.material-control--filled label {
    background-color: #fff;
    font-size: 12px;
    top: -6px;
    left: 10px;
    padding: 0 5px;
}

.material-control label {
    color: #202020;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
    position: absolute;
    left: 14px;
    top: 13px;
    z-index: 1;
    transition: all .3s ease;
    margin-bottom: 0;
}


.material-control input,
.material-control textarea {
    display: block;
    color: #202020;
    border: 1px solid #D0DAE2;
    background-color: transparent;
    font-size: 14px;
    font-weight: 400;
    padding: 0 14px;
    line-height: 38px;
    position: relative;
    width: 100%;
    outline: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
}

.material-control span.field-validation-error {
    display: block;
    padding: 3px 0;
    font-size: 12px;
    height: 26px;
    line-height: 17px;
    border: none;
    background-color: #fff;
    color: red;
}

.material-control textarea {
    line-height: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 70px;
    resize: vertical;
}


.material-control input:-webkit-autofill,
.material-control input:-webkit-autofill:hover,
.material-control input:-webkit-autofill:focus,
.material-control input:-webkit-autofill:active {
    -webkit-text-fill-color: #202020;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}


/**
 * Header
 *
 * -------------------------------------------------------------------
 */

.hero {
    display: grid;
    grid-template-columns: 40% 60%;
    margin: 10px 0 30px 0;
}

.hero .hero-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero img {
    position: relative;
    right: 0;
    top: 5px;
}

.hero h1 {
    color: #006D5C;
    font-size: 60px;
    line-height: 65px;
    font-weight: 700;
    margin-bottom: 0;
}

.hero .btn {
    max-width: 175px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 34px;
    padding: 0;
}

.hero .hero-title {
    color: #3B4043;
    font-size: 24px;
    line-height: 33px;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero .hero-text {
    color: #677982;
    font-size: 20px;
    line-height: 27px;
    padding-right: 50px;
    margin-bottom: 20px;
}

.main-header {
    display: flex;
    align-items: center;
    height: 52px;
    box-shadow: 0 0 10px rgba(0,0,0,.22);
}

.main-header .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .header-link:hover {
    color: #006d5c;
}

.main-header img {
    width: 205px;
}

.main-header a {
    font-size: 14px;
    line-height: 19px;
    color: #202020;
    text-decoration: none;
}


/**
 * Footer
 *
 * -------------------------------------------------------------------
 */

.main-footer {
    margin-top: 100px;
    display: flex;
    align-items: center;
    background-color: #F2F2F2;
    height: 67px;
}


/**
 * Home
 *
 * -------------------------------------------------------------------
 */

.features {
    margin-bottom: 100px;
}

.feature {
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 44px;
}

.feature:last-child {
    margin-bottom: 0;
} 

.feature h2 {    
    line-height: 43px;
    color: #3B4043;
    font-weight: 700;
}

.feature p {
    font-size: 20px;
    line-height: 27px;
    color: #677982;
    margin-bottom: 0;
}

.feature span {
    font-weight: 600;
}

.items p {
    margin-bottom: 0;
}

.items .items-title {
    font-size: 32px;
    line-height: 43px;
    color: #3B4043;
    font-weight: 700;
}

.items .items-sm {
    font-size: 20px;
    line-height: 27px;
    color: #677982;
}

.items .items-grid {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 0;
    justify-items: center;
}

.items .item {
    margin-top: 40px;
    text-align: center;
}

.items .item-title {
    font-size: 24px;
    line-height: 33px;
    color: #3B4043;
    font-weight: 700;
    margin-top: 12px;
}

.items .item-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    color: #006D5C;
    text-decoration: none;
    margin-top: 8px;
    display: inline-block;
}

.items .item-link:hover {
    text-decoration: underline;
}

.items .item-space {
    margin-top: 16px;
}

/**
 * Formatos
 *
 * -------------------------------------------------------------------
 */

.main-content p {
    margin-bottom: 0;
}

.main-content .breadcrumb {
    margin-top: 20px;
    margin-bottom: 0;
}

.main-content .breadcrumb a {
    color: #006D5C;
    text-decoration: none;
    display: flex;
    gap: 5px;
}

.main-content .breadcrumb a:hover {
    text-decoration: underline;
}

.main-content .breadcrumb-item {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
}
.main-content .main-title,
.main-content-title {
    font-size: 42px;
    line-height: 57px;
    font-weight: 700;
}

.main-content .main-content-title {
    margin-bottom: 8px;
}

.main-content-sm {
    font-size: 24px;
    line-height: 33px;
    font-weight: 600;
    color: #677982;
}

.main-item {
    margin-top: 25px;
}

.main-item .main-item-grid {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    gap: 25px;
    margin-top: 12px;
}

.main-item .main-item-title {
    font-size: 32px;
    line-height: 43px;
    font-weight: 700;
    color: #3B4043;
}

.main-item .item-box {
    background-color: #F4F4F4;
    border-radius: 10px;
    padding: 16px 10px 16px 16px;
}

.main-item .item-box-title {
    font-size: 20px;
    line-height: 27px;
    font-weight: 600;
    color: #202020;
    margin-bottom: 20px;
}

.main-item .item-box-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 16px;
}

.item-box-grid img {
    position: relative;
    top: -10px;
}

.main-item ul {
    margin: 0;
    padding: 0;
}

.main-item .item-list {
    list-style: none;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 8px;
    margin-bottom: 40px;
}

.main-item .item-list:last-child {
    margin-bottom: 10px;
}

.item-list .item-box-ref {
    background-color: #006D5C;
    border-radius: 4px;
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    line-height: 32px;
    height: 32px;
    text-align: center;
}

.item-list .item-list-title {
    font-size: 15px;
    line-height: 22px;
    font-weight: 700;
    color: #202020;
}

.item-list .item-list-sm {
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #202020;
}

.item-list .item-list-link {
    font-size: 15px;
    line-height: 24px;
    font-weight: 600;
    color: #006D5C;
    text-decoration: none;
}

.item-list .item-list-link:hover{
    text-decoration: underline;
} 

/**
 * Form
 *
 * -------------------------------------------------------------------
 */

form .btn {
    line-height: 36px;
    font-weight: 600;
    border: none;
    padding: 0 10px;
    border-radius: 8px;
}

form .btn-content {
    display: flex;
    margin-top: 8px;
    justify-content: end;
}

.form-grid {
    display: grid;
    grid-template-columns: 376px 1fr;
    gap: 160px;
    margin-top: 25px;
}

.form-grid .material-control {
    margin-bottom: 16px;
}

.form-grid .form-text-success,
.form-grid .form-text {
    font-size: 18px;
    line-height: 24px;
    color: #3B4043;
    margin-bottom: 16px;
}

.main-content .form-text-success {
    text-align: center;
    align-self: center;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 24px;
    color: #3B4043;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.main-content .form-text-success.show {
    opacity: 1;
}


/**
 * Back to top
 *
 * -------------------------------------------------------------------
 */

.backtotop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9000;
    display: none;
}

.backtotop.show {
    display: block;
}

.backtotop button {
    display: block;
    color: #fff;
    background-color: #006D5C;
    position: relative;
    cursor: pointer;
    border: 0 none;
    font-size: 26px;
    text-decoration: none;
    text-align: center;
    width: 44px;
    height: 44px;
    outline: none;
    border-radius: 3px;
}

.backtotop button:after {
    display: block;
    content: "";
    margin-top: 4px;
    margin-left: 11px;
    border: 2px solid #fff;
    border-right: none;
    border-bottom: none;
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
}

/**
 * Detail
 *
 * -------------------------------------------------------------------
 */

.main-detail {
    display: grid;
    grid-template-columns: 50% 45%;
    gap: 20px;
    margin-top: 24px;
}

.main-detail .main-detail-title {
    font-size: 24px;
    line-height: 33px;
    color: #3B4043;
    font-weight: 700;
    margin-bottom: 8px;
}

.main-detail-group {
    margin: 24px 0;
}

.main-detail-group p,
.main-detail-text {
    font-size: 15px;
    line-height: 20px;
    color: #3B4043;
}

.main-detail-group p {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.main-detail-group p:last-child {
    margin-bottom: 0;
}

.main-detail-group .text-red{
    color: #DD352C;
}

.main-detail-group p img {
    margin-right: 8px;
}

.main-detail-text span {
    font-weight: 600;
}

.main-detail pre {
    margin: 8px 0 24px 0;
    padding: 16px;
    border-radius: 10px;
    width: 80%;
}

.main-detail ul {
    padding-left: 16px; 
}

.main-detail li {
    font-size: 15px;
    line-height: 20px;
}

.main-detail .main-detail-link {
    font-size: 14px;
    line-height: 19px;
    font-weight: 600;
    color: #006D5C;
    text-decoration: none;
    margin-right: 16px;
}

.main-detail .main-detail-link:hover {
    text-decoration: underline;
}

.main-detail .main-detail-link:first-child {
    margin-right: 16px;
}

.main-detail .material-control {
    margin-bottom: 16px;
}

.main-detail .form-text {
    font-size: 18px;
    line-height: 24px;
    margin: 32px 0 20px 0;
    color: #3B4043;
}

.main-detail .form-text-success {
    min-height: 200px;
    padding: 0 100px;
    display: flex;
    align-items: center;
}


/**
 * Mobile
 *
 * -------------------------------------------------------------------
 */
@media (max-width: 768px) {
    .hide-xs {
        display: none !important;
    }

    .form-row {
        grid-template-columns: auto;
        gap: 0;
    }

    .main-item {
        margin-top: 48px;
    }

    .main-content .main-item:first-of-type {
        margin-top: 16px;
    }

    .main-content .main-title {
        font-size: 24px;
        line-height: 33px;
    }

    .main-content .form-text-success {
        margin-top:40px; 
    }

    .main-detail .form-text-success {
        margin-top: 0;
        padding: 0 10px;
    }

    .main-footer {
        height: 50px;
        margin-top: 90px;
    }

    .main-header img,
    .main-footer img {
        width: 160px;
    }

    .features {
        margin-bottom: 73px;
    }

    .items .items-grid {
        grid-template-columns: initial;
    }

    .features .feature {
        margin-bottom: 32px;
        grid-template-columns: initial;
        gap: 16px;
    }

    .features .feature img {
        margin: 0 auto;
    }

    .feature p,
    .form-grid .form-text,
    .items .items-sm {
        font-size: 14px;
        line-height: 19px;
    }

    .items .items-sm {
        margin-top: 4px;
    }

    .feature h2,
    .items .items-title {
        font-size: 18px;
        line-height: 24px;
    }

    .items .item {
        margin-top: 32px;
    }

    .items .item-title {
        font-size: 16px;
        line-height: 22px;
        margin-top: 8px;
    }

    .items .item-link {
        margin-top: 4px;
    }

    .main-item .main-item-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .main-item ul {
        margin-top: 16px;
    }

    .main-item .item-box-grid {
        grid-template-columns: 1fr;
        gap: 0;
        justify-items: center;
    }
 
    .main-content .main-content-title {
        font-size: 32px;
        line-height: 22px; 
        margin: 12px 0;
    }

    .main-item .main-item-title {
        font-size: 24px;
        line-height: 33px;
    }

    .main-content-sm {
        font-size: 16px;
        line-height: 22px;
    }
 
    .main-item .item-box {
        padding: 16px;
    }

    .form-grid {
        margin-top: 0;
        gap: 40px;
        grid-template-columns: 1fr;
    }

    .form-grid img {
         margin: 0 auto;
    }

    form .btn-content {
        margin-top: 16px;
        justify-content: center;
    }

    .main-detail {
        grid-template-columns: auto;
        gap: 22px;
    }

    .main-detail pre {
        width: 80%;
        max-width: 320px;
    }

    .main-detail-figure {
        display: flex;
        flex-direction: column;
    }

    .hero {
        grid-template-columns: auto;
        gap: 16px;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 55px;
    }

    .hero .hero-title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 8px;
        margin-top: 4px;
    }


    .hero .hero-text {
        font-size: 14px;
        line-height: 19px;
        padding-right: 10px;
    }
}


