/* Custom CSS */

/* Example: Override main section background color. */
/* body .jupiterx-main {
    background-color: gray;
} */

/* 404 */
.error404 .jupiterx-main-content {
    padding: 60px 0;
}

/* Header */
.jupiterx-main-header h1 {
    margin-bottom: 16px;
}

/* Contact page */
#contact_form .elementor-icon-box-content h4,
#contact_form .elementor-icon-box-content h4 a,
#contact_form .elementor-icon-box-description {
    text-transform: initial;
}

/* Contact box */
#contact_box {
    position: fixed;
    right: 36px;
    bottom: 40px;
    z-index: 1000;
}

#contact_box .contact-box-action {
    position: relative;
    text-align: center;
    height: 50px;
    width: 50px;
    line-height: 46px;
    margin-left: auto;
    border-radius: 50px;
    background-color: #aa2f27;
    color: #fff;
    cursor: pointer;
}

#contact_box .contact-box-action img {
    display: none;
}

#contact_box .contact-box-action::before {
    position: absolute;
    content: "✕";
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6em;
    color: #fff;
}

#contact_box .contact-box-action.active {
    background-color: #4ABAE7;
}

#contact_box .contact-box-action.active::before {
    content: none;
}

#contact_box .contact-box-action.active img {
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

#contact_box .contact-box-info {
    display: block;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 12px;
    padding-right: 0;
}

#contact_box .contact-box-info a {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    text-decoration: none;
}

#contact_box .contact-box-info a:last-child {
    margin-bottom: 0;
}

#contact_box .contact-box-info a span {
    background-color: #fece22;
    padding: 8px 16px;
    border-radius: 20px;
    white-space: nowrap;
    color: #fff;
    border: 1px solid #fff;
}

#contact_box .contact-box-info .icon {
    position: relative;
    display: block;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 50px;
    line-height: 50px;
    text-align: center;
    background-color: red;
    text-align: center;
}

#contact_box .contact-box-info .icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#contact_box .contact-box-info .zalo img,
#contact_box .contact-box-info .messenger img {
    width: 40px;
}

#contact_box .contact-box-info .mail img,
#contact_box .contact-box-info .call img {
    width: 30px;
    left: 58%;
}

#contact_box .contact-box-info .zalo {
    background-color: #00abe0;
}

#contact_box .contact-box-info .messenger {
    background-color: #0a78e9;
}

#contact_box .contact-box-info .mail {
    background-color: #ea3c24;
}

#contact_box .contact-box-info .call {
    background-color: #2fa54f;
}

#contact_box .contact-box-info a.btn {
    display: block;
    margin-bottom: 0;
    border-radius: 10px;
    background-color: #FF6F61;
    text-align: center;
    color: #fff;
    padding: 6px;
}

#contact_box .contact-box-info.active {
    display: none;
}

/* Course page */
#course_list .raven-posts .raven-post {
    border: 1px solid #ddd;
    border-radius: 10px;
}

#course_list .raven-posts .raven-post img {
    border-radius: 10px;
}

#course_list .raven-posts .raven-post-content {
    padding: 16px;
}

#course_list .raven-posts .raven-post-content .raven-post-title {
    margin-bottom: 16px;
    line-height: 1.2em;
    min-height: 2.4em;
}

#course_list .raven-posts .raven-post-content .raven-post-button .raven-post-button-text {
    padding: 8px 30px;
    border-radius: 10px;
    background-color: #FF6F63;
    color: #fff;
}

/* Consultation form */
.pse-consultation-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.pse-consultation-form .loading-icon {
	margin-left: 10px;
	display: none;
}

.pse-consultation-form .pse-consultation-form-title {
    text-align: left;
    margin-bottom: 20px;
}

.pse-consultation-form .pse-consultation-form-inner {
    margin-top: 40px;
}

.pse-consultation-form .pse-consultation-form-inner .form-field {
    margin-bottom: 16px;
}

.pse-consultation-form .pse-consultation-form-inner .form-field.error .message {
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

.pse-consultation-form .pse-consultation-form-inner select,
.pse-consultation-form .pse-consultation-form-inner input {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-indent: 10px;
    outline: none;
}

.pse-consultation-form .pse-consultation-form-inner label {
    margin-bottom: 4px;
    font-size: 0.9em;
}

.pse-consultation-form .pse-consultation-form-inner select {
    padding-left: 10px;
}

.pse-consultation-form .pse-consultation-form-inner button {
    height: 40px;
    text-align: center;
    background-color: #FF6F61;
    color: #fff;
    border-radius: 10px;
    padding: 0 20px;
    border: 0;
    cursor: pointer;
    margin-top: 20px;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background: #fff;
    width: calc(100% - 30px);
    max-width: 530px;
    padding: 40px 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-content .pse-consultation-form-title {
    display: none;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.popup-close:hover {
    color: #000;
}

.popup-content h2 {
    font-size: 2em;
    color: #2A4DB5;
    margin-bottom: 20px;
}

.popup-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

/* Notify */
#notify {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 30px);
    max-width: 700px;
    overflow: hidden;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.08);
    z-index: 10000;
}

#notify_inner {
    position: relative;
}

#notify .alert {
    border: 0;
    border-radius: 0;
    padding: 15px 20px;
    padding-left: 30px;
    font-size: 0.9em;
    line-height: 1.5em;
}

#notify .close-notify {
    position: absolute;
    border: 0;
    background-color: transparent;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #842029;
    cursor: pointer;
    outline: none;
}

#notify .alert-success {
    border-left: 3px solid #37bc9b;
    background-color: #d8f5d2;
    color: #37bc9b;
    margin-bottom: 0;
}

#notify .alert-danger {
    border-left: 3px solid #842029;
    background-color: #f8d7da;
    color: #842029;
    margin-bottom: 0;
}

/* Footer */
.jupiterx-footer p {
    color: #dddddd;
}

.jupiterx-footer ul.list-style-none {
    list-style: none;
    padding-left: 0;
}

.jupiterx-footer ul.list-style-none li {
    margin-bottom: 14px;
    color: #ddd;
}

.jupiterx-footer ul.list-style-none li img {
    margin-right: 10px;
}

.jupiterx-footer a span,
.jupiterx-footer a {
    color: #ccc;
}

.jupiterx-footer a:hover {
    color: #EC5252;
}

/* Responsive */
@media (max-width: 1024px) {
    .hamburger-box .hamburger-inner:before,
    .hamburger-box .hamburger-inner:after,
    .hamburger-box .hamburger-inner {
        background-color: #fff!important;
    }

    .raven-nav-menu-toggle {
        text-align: right!important;
    }
}

@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }
    .popup-content h2 {
        font-size: 20px;
    }
    .popup-content p {
        font-size: 14px;
    }

    #contact_box {
        right: 0;
        bottom: 0;
    }

    #contact_box .contact-box-info,
    #contact_box .contact-box-action  {
        scale: 0.85;
    }
}