/***** Responsive custom style *****/

@media only screen and (max-width: 1199px) {
    .programs-form-wrapper {
        height: auto;
        margin-top: -30px !important;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 60px;
        right: 0;
        position: relative;
        width: 645px;
        height: auto;
        min-height: auto;
        padding: 50px 20px;
    }

    .wp-block-poweroptions-gutenberg-custom-block-mission {
        margin-bottom: 140px;
    }

    #iframe-quick-contact {
        width: 100% !important;
    }
}

@media only screen and (max-width: 1140px) {
    .wp-block-poweroptions-gutenberg-custom-block-mission {
        margin-bottom: 120px;
    }

    .full-width-wrapper--ebook-page .card-wrapper .wp-block-columns .wp-block-column {
        padding: 0 20px;
    }

    .full-width-wrapper--ebook-page .card-wrapper .wp-block-columns .wp-block-column {
        min-width: 30%;
    }
}

@media only screen and (max-width: 991px) {
    .default-details-box figure img {
        margin-top: 20px;
    }

    .wp-block-poweroptions-gutenberg-custom-block-mission {
        margin-bottom: 0;
    }

    .wrapper--ebook-page .default-info-desc ul {
        width: max-content;
        text-align: left;
        margin: 0 auto 20px;
    }

    .full-width-wrapper--ebook-page .card-wrapper .wp-block-columns .wp-block-column {
        min-width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .programs-form-wrapper .hbspt-form {
        width: 100%;
    }

    .programs-form-wrapper .hbspt-form form {
        width: 80%;
        padding: 0;
    }

    .subscribe-box__form-wrapper {
        width: 100%;
        justify-content: center;
    }

    .subscribe-box__form-wrapper .hs-your_name,
    .subscribe-box__form-wrapper .hs_email,
    .subscribe-box__form-wrapper .hs_your_company_name_ {
        display: block;
        margin-right: 0;
    }

    .subscribe-box__form-wrapper .hs-form-field {
        width: 100%;
    }

    .subscribe-box__form-wrapper .hbspt-form form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .subscribe-box__form-wrapper .hbspt-form form input {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
    }

    .subscribe-box__form-wrapper .hbspt-form form .hs_submit {
        margin-top: 40px;
    }

    .subscribe-box__form-wrapper .hs-error-msgs {
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        margin-top: -20px;
    }

    .post-comment__heading {
        position: relative;
    }

    .post-comment__heading .comment-reply-link {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .post-comment__heading .comment-info {
        padding-right: 80px;
    }

    .post-comments__list ul li ul {
        padding-left: 20px
    }

    .post-comment-form-wrapper .comment-notes {
        display: block;
    }

    .post-comment-form-wrapper .comment-notes .required {
        display: inline-block;
    }

    .post-comment-form-wrapper .comment-respond h3 {
        display: block;
    }

    #reply-title>a {
        margin-left: 0;
    }

    .post-comment-form-wrapper .comment-respond h3 small {
        display: block;
        margin-top: 20px;
        margin-bottom: -5px;
    }

    .login-page .default-details-box .hbspt-form form {
        width: 100%;
    }

    .login-page .default-details-box .hbspt-form form .hs-fieldtype-checkbox .input ul li {
        width: 100%;
    }

    .login-page .login-form-wrapper {
        padding-top: 40px;
        margin-bottom: -10px;
    }

    .page-template-member-application .login-form-title {
        width: 100%;
        margin: 80px auto 0;
    }

    .login-page .swpm-login-action-msg,
    .login-page .swpm_error,
    .edit-profile-page .swpm_error,
    .edit-profile-page .swpm_success {
        width: 100%;
    }

    #iframe-wired-in {
        height: 312px;
    }
}

@media only screen and (max-width: 705px) {
    .heading--ebook-page .hbspt-form form .hs_submit .hs-button {
        margin-top: 30px;
    }

    /* .heading--ebook-page .bg-image {
		display: none;
	} */
    .single-ebook .heading--ebook-page {
        background-color: #002d72;
    }

    .form-wrapper--ebook-page input,
    .heading--ebook-page .hs-form-field {
        width: 450px;
        margin-right: 0;
    }

}

@media only screen and (max-width: 676px) {
    .comments-pagination {
        flex-direction: column;
        align-items: center;
    }

    .comments-pagination .prev {
        border-right: none;
        border-bottom: 3px solid;
    }

    .comments-pagination .next {
        border-left: none;
        border-top: 3px solid;
    }

    .comments-pagination .prev,
    .comments-pagination .next {
        justify-content: center;
        width: max-content;
    }

    .comments-pagination .page-numbers {
        margin: 5px 0;
    }

    .full-width-wrapper--ebook-page .card-wrapper .wp-block-columns .wp-block-column {
        min-width: 100%;
    }
}

@media only screen and (max-width: 599px) {

    .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child {
        width: 100%;
    }
}

@media only screen and (max-width: 575px) {
    .programs-form-wrapper .hbspt-form form {
        width: 80%;
    }

    .programs-form-wrapper .hbspt-form form .hs-richtext h2 {
        text-align: center;
    }

    .programs-form-wrapper .hbspt-form form .hs-form-field .input input {
        text-align: center;
    }

    .programs-form-wrapper .hbspt-form form .hs-form-field .hs-error-msgs {
        text-align: center;
    }

    .login-page .default-details-box .hbspt-form form .hs-form-booleancheckbox-display {
        margin-left: -30px !important;
    }

    .hs-fieldtype-checkbox ul {
        flex-direction: column;
    }

    .talk-to-us-modal .hs-fieldtype-checkbox ul li {
        margin-bottom: 20px !important;
        width: 100%;
    }

    .programs-form-wrapper .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered {
        justify-content: center;
        padding-left: 40px;
        padding-right: 40px;
    }

    .programs-form-wrapper .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered span,
    .talk-to-us-modal .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered span,
    .contact-form-wrapper .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered span,
    .wp-block-leadin-hubspot-form-block .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered span {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .talk-to-us-modal .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered,
    .contact-form-wrapper .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered,
    .wp-block-leadin-hubspot-form-block .hbspt-form form .input .select2 .selection .select2-selection .select2-selection__rendered {
        padding-right: 40px;
    }

    .form-wrapper--ebook-page input,
    .heading--ebook-page .hs-form-field {
        width: 340px;
    }

    .hero-wrapper {
        min-height: unset !important;
    }

}

@media only screen and (max-width: 390px) {
    .post-comment__heading .comment-info {
        padding-right: 100px;
    }

    .form-wrapper--ebook-page input,
    .heading--ebook-page .hs-form-field {
        width: 300px;
        margin-right: 0;
    }
}

@media only screen and (max-width: 350px) {
    .heading--ebook-page .hs-form-field {
        width: 280px;
        margin-right: 0;
    }

    .form-wrapper--ebook-page input,
    .heading--ebook-page .hs-form-field {
        width: 280px;
    }

    .heading--ebook-page .hbspt-form form .hs_submit .hs-button {
        margin-right: 0;
        margin-top: 30px;
        width: 280px;
    }
}

@media only screen and (min-width: 401px) {

    .wp-block-file {
        min-width: 315px;
    }
}