.cms-rich-content {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-overflow-scrolling: touch;
}

.cms-rich-content::after {
    display: block;
    clear: both;
    content: "";
}

.cms-rich-content h1,
.cms-rich-content h2,
.cms-rich-content h3,
.cms-rich-content h4,
.cms-rich-content h5,
.cms-rich-content h6,
.cms-rich-content p,
.cms-rich-content blockquote,
.cms-rich-content pre,
.cms-rich-content ul,
.cms-rich-content ol {
    max-width: 100%;
}

.cms-rich-content ul,
.cms-rich-content ol {
    padding-inline-start: 2rem;
}

.cms-rich-content a {
    overflow-wrap: anywhere;
}

/* Preserve semantic bold formatting produced by Summernote even when a
   public theme applies a normal font weight to nested content elements. */
.cms-rich-content b,
.cms-rich-content strong {
    font-weight: 700 !important;
}

.cms-rich-content img {
    max-width: 100%;
    height: auto;
}

.cms-rich-content .img-wrap {
    display: inline-block;
    max-width: 100%;
    margin: 4px;
}

/*.cms-rich-content img.csp-style-9ffad19f5946 {
    width: 200px !important;
    height: 150px !important;
    max-width: 200px !important;
    object-fit: cover;
}*/
/* new code add*/

    .cms-rich-content img.csp-style-9ffad19f5946 {
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }

/*.cms-rich-content table {
    max-width: 100%;
}*/
    .cms-rich-content table {
        max-width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
        margin-inline: auto !important;
    }

    .cms-rich-content table,
    .cms-rich-content th,
    .cms-rich-content td {
        border: 1px solid #000000 !important;
        padding: 8px 12px;
    }


.cms-rich-content table[align="left"],
.cms-rich-content [style*="text-align: left"] table,
.cms-rich-content [style*="text-align:left"] table {
   float: left !important;
margin-left: 0 !important;
margin-right: auto !important;

    margin-bottom: 0.5rem;
}

.cms-rich-content table[align="right"],
.cms-rich-content [style*="text-align: right"] table,
.cms-rich-content [style*="text-align:right"] table {
   float: right !important;
margin-left: auto !important;
margin-right: 0 !important;

    margin-bottom: 0.5rem;
}

.cms-rich-content table[align="center"],
.cms-rich-content [style*="text-align: center"] table,
.cms-rich-content [style*="text-align:center"] table,
.cms-rich-content [align="center"] table {
  margin-left: auto !important;
margin-right: auto !important;
float: none !important;

}

    .cms-rich-content video,
    .cms-rich-content iframe,
    .cms-rich-content embed,
    .cms-rich-content object {
        max-width: 100%;
        /*height: auto;*/
    }

    .cms-rich-content .cms-video-player {
        max-width: 100%;
        height: auto;
    }

        .cms-rich-content .cms-video-player video {
            max-width: 100%;
            height: auto;
        }




.cms-rich-content .pdf-file {
    max-width: 100%;
    margin-block: 0.5rem;
}

@media (max-width: 575.98px) {
    .cms-rich-content table[align="left"],
    .cms-rich-content table[align="right"] {
        float: none;
        margin-inline: 0;
    }
}

/* Theme4's existing home-page content container cannot yet carry the shared
   class, so scope the same responsive behavior to that container only. */
#aboutUs .csp-style-1cb90587b2ec > div:last-child {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: anywhere;
    -webkit-overflow-scrolling: touch;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child img {
    max-width: 100%;
    height: auto;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child table {
    max-width: 100%;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child table[align="left"] {
    float: left;
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child table[align="right"] {
    float: right;
    margin-left: 0.75rem;
    margin-bottom: 0.5rem;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child table[align="center"] {
    margin-right: auto;
    margin-left: auto;
}

#aboutUs .csp-style-1cb90587b2ec > div:last-child video,
#aboutUs .csp-style-1cb90587b2ec > div:last-child iframe,
#aboutUs .csp-style-1cb90587b2ec > div:last-child embed,
#aboutUs .csp-style-1cb90587b2ec > div:last-child object {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    margin-inline: auto;
}

@media (max-width: 575.98px) {
    #aboutUs .csp-style-1cb90587b2ec > div:last-child table[align="left"],
    #aboutUs .csp-style-1cb90587b2ec > div:last-child table[align="right"] {
        float: none;
        margin-inline: 0;
    }
}
