/* ----------------- */
/* Main styles */
* {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.page-wrapper {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 94%);
    background: #2e3d42;
    min-height: calc(100vh - 47px);
    background-image: url("/img/bg-pattern.png");
    background-repeat: repeat;
    background-size: 100px;
    margin: 0;
    padding: 0px;
    position: relative;
    margin-bottom: -95px;
}

@media (min-width: 600px) {
    .page-wrapper {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 94%);
    }
}

.primary-color {
    color: #6bbe5f;
}

/* ----------------- */
/* Inactive program */
.inactive-program {
    clip-path: polygon(0 0%, 100% 0, 100% 94%, 0 100%);
    min-height: 0;
    min-height: calc(100vh - 47px);
    z-index: 9;
}

.inactive-program .main .main-wrapper {
    position: relative;
}

@media (min-width: 600px) {
    .inactive-program {
        clip-path: polygon(0 0%, 100% 0, 100% 89%, 0 100%);
    }
}

/* ----------------- */
/* Header */
.header {
    margin: 0;
    width: 100%;
    height: 97px;
}

.header .page-navbar {
    margin: auto;
    text-align: center;
    padding: 10px 20px;
}

.header .page-navbar .page-navbar-logo {
    padding: 20px;
    margin: auto;
    text-align: center;
}

@media (min-width: 600px) {
    .header .page-navbar {
        margin: 0 100% 0 auto;
        text-align: left;
    }
    .header .page-navbar .page-navbar-logo {
        margin: auto;
        text-align: center;
    }
}

/* ----------------- */
/* Main content */
.main {
    margin-bottom: 100px;
}

.main .main-wrapper {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}

.main-wrapper .form-success-msg {
    display: none;
    border: 2px solid #6bbe5f;
    padding: 10px 20px;
    border-radius: 5px;
}

.main-wrapper .form-success-msg p {
    margin: 0 auto;
    color: #6bbe5f;
}

.main-wrapper .form-error-msg {
    display: none;
    border: 2px solid #dc3545;
    padding: 10px 20px;
    border-radius: 5px;
}

.main-wrapper .form-error-msg p {
    margin: 0 auto;
    color: #dc3545;
}

.main-wrapper .main-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    padding: 30px 0px 0px 0px;
}

.main-wrapper .main-image .page-main-image {
    display: block;
    margin: auto;
    max-width: 550px;
    width: 70%;
}

.main-wrapper .main-text {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    flex-wrap: wrap;
    color: white;
    text-align: center;
    padding: 0px;
}

.main-wrapper .main-text h1 {
    width: 100%;
    color: #6bbe5f;
    font-weight: 600;
    font-size: 42px;
    margin-top: 50px;
}

.main-wrapper .main-text h4 {
    width: 100%;
    font-size: 19px;
    font-weight: 500;
}

.main-wrapper .main-button {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0px;
}

.main-wrapper .main-button button {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #6bbe5f;
    border-radius: 5px;
    color: #6bbe5f;
    cursor: pointer;
    min-width: 180px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    outline: none;
}

.main-wrapper .main-form {
    padding: 40px 0px;
    display: none;
}

.main-wrapper .main-form .contact-form {
    max-width: 750px;
    margin: auto;
}

.main-wrapper .main-form .contact-form .form-group .form-single label {
    font-size: 14px;
    font-weight: 300;
    margin: 0px 0px 8px 0px;
}

.main-wrapper .main-form .contact-form .form-group .form-single textarea,
.main-wrapper .main-form .contact-form .form-group .form-single input {
    box-shadow: none;
    border: none;
    outline: none;
}

.main-wrapper .main-form .contact-form .form-group .form-single p.text-danger {
    font-size: 13px;
}

.main-wrapper .main-form .form-button {
    justify-content: center;
    display: flex;
    margin-top: 45px;
}

.main-wrapper .main-form .form-button button {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #6bbe5f;
    border-radius: 5px;
    color: #6bbe5f;
    cursor: pointer;
    min-width: 180px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    outline: none;
}

@media (min-width: 600px) {
    .main {
        margin-bottom: 120px;
    }
}

/* ----------------- */
/* Offers */
.offers {
    position: relative;
    /* clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0 95%); */
    background: #eaeaea;
    padding: 140px 0px 100px 0px;
    margin-bottom: -100px;
}

.offers .offers-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.offers .scroll-bottom {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translate(-50%, 0px);
    z-index: 10;
    width: 45px;
    height: 45px;
}

.offers .scroll-bottom img {
    display: block;
    margin: auto;
    width: 100%;
}

.offers .offers-wrapper .offers-single {
    position: relative;
    border-radius: 5px;
    padding: 20px;
    padding-top: 40px;
    width: 90%;
    background: white;
    min-width: 250px;
    width: 280px;
    text-align: center;
    margin: 50px auto 60px auto;
}

.offers .offers-wrapper .offers-single:last-of-type {
    margin: 50px auto 50px auto;
}

.offers .offers-wrapper .offers-single .offers-single-img {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 126px;
    height: 126px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    box-shadow: 0px 0px 3px 1px hsla(0, 0%, 80%, 0.7);
    background-color: white;
}

.offers .offers-wrapper .offers-single .offers-single-img img {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: relative;
}

.offers .offers-wrapper .offers-single .offers-single-name {
    color: #2e3d42;
    font-weight: 600;
    font-size: 24px;
    margin-top: 35px;
}

.offers .offers-wrapper .offers-single .offers-single-desc {
    color: #2e3d42;
    font-weight: 300;
    font-size: 13px;
    max-height: 74px;
    overflow: hidden;
}

.offers .offers-wrapper .offers-single .offers-single-btn {
    display: block;
    width: fit-content;
    padding: 8px 10px;
    background: transparent;
    border: 2px solid #6bbe5f;
    border-radius: 5px;
    color: #6bbe5f;
    cursor: pointer;
    min-width: 180px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    outline: none;
    margin: 15px auto 5px auto;
    text-decoration: none;
}

@media (min-width: 600px) {
    .offers {
        /* clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0 91%); */
    }
    .offers .scroll-bottom {
        top: 26px;
    }
}

@media (min-width: 768px) {
    .offers {
        /* clip-path: polygon(0 9%, 100% 0%, 100% 100%, 0 91%); */
    }
}

@media (min-width: 1000px) {
    .offers .offers-wrapper {
        justify-content: space-between;
    }
    .offers .offers-wrapper .offers-single {
        width: 30%;
    }
}

/* ----------------- */
/* Post */
.post {
    clip-path: polygon(0 0%, 100% 0, 100% 94%, 0 100%);
    min-height: 0;
    z-index: 9;
}

.post .main {
    margin-bottom: 60px;
}

.post .main .title-wrapper {
    position: relative;
}

.post .main .title-wrapper .title {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    flex-wrap: wrap;
    color: white;
    text-align: center;
    padding: 0px;
}

.post .main .main-wrapper .title h1 {
    width: 100%;
    color: #6bbe5f;
    font-weight: 600;
    font-size: 42px;
    margin-top: 50px;
    text-align: center;
}

.post-content-wrapper {
    position: relative;
    background: #eaeaea;
    padding: 120px 0px 100px 0px;
    margin-bottom: -100px;
    min-height: calc(100vh - 150px);
}

.post-content-wrapper .content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.post-content-wrapper .content-wrapper .content {
    position: relative;
    border-radius: 5px;
    padding: 20px;
    padding-top: 25px;
    background: white;
    text-align: center;
    margin: 0 10px 20px 10px;

    min-height: calc(100vh - 386px);
}

.post-content-wrapper .content-wrapper .content::before {
    content: '';
    background-color: white;
    position: absolute;
    height: 150px;
    left: 0;
    width: 100%;
    top: -142px;
}

.post-content-wrapper .content-wrapper .content::after {
    content: '';
    background-color: white;
    position: absolute;
    height: 150px;
    left: 0;
    width: 100%;
    bottom: -142px;

    height: 150px;
    bottom: -145px;
}

.post-content-wrapper .scroll-bottom {
    position: absolute;
    top: 57px;
    left: 50%;
    transform: translate(-50%, 0px);
    z-index: 10;
    width: 45px;
    height: 45px;
}

.post-content-wrapper .scroll-bottom img {
    display: block;
    margin: auto;
    width: 100%;
}

.footer .post-footer {
    padding: 40px 15px 15px 15px !important;
}

@media (min-width: 600px) {
    .post {
        clip-path: polygon(0 0%, 100% 0, 100% 89%, 0 100%);
    }
}

@media (min-width: 768px) {
    .post-content-wrapper .content-wrapper .content {
        margin: 0 auto 20px auto;
    }
}

/* ----------------- */
/* Post content styles */
.post-content-wrapper .content-wrapper .content img {
    max-width: 100%;
    display: inline-block;
}

.post-content-wrapper .content-wrapper .content p {
    color: #333;
    text-align: justify;
}

.post-content-wrapper .content-wrapper .content h1,
.post-content-wrapper .content-wrapper .content h2,
.post-content-wrapper .content-wrapper .content h3,
.post-content-wrapper .content-wrapper .content h4,
.post-content-wrapper .content-wrapper .content h5,
.post-content-wrapper .content-wrapper .content h6 {
    color: #333;
    text-align: justify;
}

.post-content-wrapper .content-wrapper .content a {
    color: #6bbe5f;
}

.post-content-wrapper .content-wrapper .content button, 
.post-content-wrapper .content-wrapper .content input[type=button],
.post-content-wrapper .content-wrapper .content input[type=submit] {
    display: inline-block;
    width: fit-content;
    padding: 8px 10px;
    background: transparent;
    border: 2px solid #6bbe5f;
    border-radius: 5px;
    color: #6bbe5f;
    cursor: pointer;
    min-width: 180px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    outline: none;
    margin: 15px auto 5px auto;
}

.post-content-wrapper .content-wrapper .content ol,
.post-content-wrapper .content-wrapper .content ul {
    padding-left: 20px;
}

.post-content-wrapper .content-wrapper .content ol li,
.post-content-wrapper .content-wrapper .content ul li {
    text-align: left;
    margin-bottom: 3px;
}


/* ----------------- */
/* Footer */
.footer {
    clip-path: polygon(0 0, 100% 21%, 100% 100%, 0 100%);
    background: #6bbe5f;
    padding: 0;
    margin-top: -10px;
}

@media (min-width: 600px) {
    .footer {
        clip-path: polygon(0 0, 100% 38%, 100% 100%, 0 100%);
    }
}

@media (min-width: 768px) {
    .footer {
        margin-top: 0px;
    }
}

.footer .page-footer {
    padding: 75px 15px 15px 15px;
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer .page-footer {
        padding: 25px 15px 15px 15px;
        justify-content: space-between;
    }
    .footer .page-footer-single {
      /* width: 50%; */
    }
}

.footer .page-footer-single {
    padding: 10px;
    display: flex;
    align-items: flex-end;
    min-height: 60px;
    justify-content: center;
    min-width: 100%;
}

.footer .page-footer .page-footer-single:nth-of-type(1) {
    text-align: center;
    flex-wrap: wrap;
}

.footer .page-footer .page-footer-single:nth-of-type(1) picture {
    margin-bottom: 10px;
    display: inline-block;
    width: fit-content;
}

.footer .page-footer .page-footer-single:nth-of-type(2) {
    text-align: center;
}

@media (min-width: 324px) {
    .footer .page-footer .page-footer-single:nth-of-type(1) picture {
        margin-right: 8px;
        margin-bottom: 0px;
    }
}

@media (min-width: 600px) {
    .footer .page-footer .page-footer-single:nth-of-type(1) {
        justify-content: center;
    }

    .footer .page-footer .page-footer-single:nth-of-type(1) picture {
        width: fit-content;
    }

    .footer .page-footer .page-footer-single:nth-of-type(2) {
        justify-content: center;
        text-align: right;
    }
}

@media (min-width: 768px) {
    .footer .page-footer .page-footer-single:nth-of-type(1) {
        justify-content: flex-start;
        text-align: left;
        flex-wrap: nowrap;
    }

    .footer .page-footer .page-footer-single:nth-of-type(2) {
        justify-content: flex-end;
        text-align: right;
    }

    .footer .page-footer-single {
      min-width: 0px;
  }
}

.page-footer-house {
    display: inline-block;
    width: 100px;
    height: auto;
}

.page-footer-logo {
    display: inline-block;
    width: 130px;
}

.page-footer .page-footer-single div {
    margin-left: 8px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    display: inline-block;
    width: fit-content;
}

.page-footer .page-footer-single div p {
    color: white;
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    width: 100%;
    margin-bottom: 10px;
}

.page-footer .page-footer-single div a {
    display: block;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 6px 20px;
    border-radius: 5px;
    margin: auto;
    margin-top: 5px;
    min-width: 146px;
    text-align: center;
}

.page-footer .page-footer-single .page-footer-logo-link {
    margin: auto;
    margin-top: 5px;
}

@media (min-width: 600px) {
    .page-footer .page-footer-single .page-footer-logo-link {
        margin-left: auto;
        margin-right: auto;
    }
    .page-footer .page-footer-single div {
        margin-top: 0px;
        justify-content: center;
    }
}

@media (min-width: 330px) {
    .page-footer .page-footer-single div p {
        text-align: left;
    }
}

@media (min-width: 768px) {
    .page-footer .page-footer-single .page-footer-logo-link {
        margin-left: 100%;
    }
    .page-footer .page-footer-single div {
        margin-left: 18px;
        width: fit-content;
    }

    .page-footer .page-footer-single div p {
        text-align: left;
    }
}
