/*========== Theme additional custom css ============*/

.dropdown-toggle::after {
    display: none;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu {
    padding: 20px;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings {
    float: left;
    position: relative;
    padding-right: 30px;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings.hidden > a {
    display: none;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings .sub-menu {
    position: relative;
    left: 0;
    width: 100%;
    box-shadow: none;
    border: none;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings .sub-menu > li > a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: 0.5s;
    white-space: nowrap;
    text-transform: uppercase;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings .sub-menu > li:last-child > a {
    border: none;
}

.main-navigation-style-1 .menu-item-has-megamenu.menu-item-has-children > .sub-menu:after {
    display: none;
}

.main-navigation-style-1 .menu-item-has-megamenu > .sub-menu > .mega-menu-headings .sub-menu > li:first-child > a {
    border-bottom: 1px solid #eee !important;
}

li.menu-item-has-megamenu a span.arrow + span {
    display: none;
}

.main-navigation-style-1 .main-menu > nav > ul > .menu-item > a {
    color: #fff;
}

.main-navigation-style-1 .main-menu > nav > ul > .menu-item > a:hover {
    color: #00a3c8;
}

footer.footer-style-1 .widget h4.widget-title {
    font-size: 18px;
    font-weight: 700;
}

.mc4wp-form-fields input[type="submit"] {
    height: 50px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    padding: 0 40px;
    border: none;
}

.author-img img {
    border-radius: 50%;
}

.author-meta h6,
.author-meta p {
    text-transform: capitalize;
}


blockquote.wp-block-quote p em:before {
    content: "\f10d";
    font-family: 'Font Awesome 5 Free';
    font-size: 20px;
    padding-right: 7px;
    position: absolute;
    top: -10px;
    left: -30px;
}

blockquote p {
    position: relative;
}

.nav-links {
    justify-content: space-between;
}

.nav-links a {
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #dfdfdf;
    color: #333;
    margin-right: 8px;
}

nav.navigation.post-navigation .screen-reader-text {
    display: none;
}

.post-details-tags-social {
    clear: both;
}

.comment-respond h3 {
    font-size: 22px;
    font-weight: 600;
}

div#respond {
    margin-top: 30px;
}

p.comment-form-cookies-consent {
    display: none;
}

.comment-avatar img {
    border-radius: 50px;
}

.comment-meta-reply {
    display: flex;
}

a.comment-edit-link {
    font-size: 18px;
    padding: 8px 15px;
    border: 1px solid;
    display: inline-block;
    margin-left: 10px;
    transition: 0.5s all;
}

a.comment-edit-link:hover {
    background: #00a3c8;
    transition: 0.5s all;
    color: #fff;
}

.comment-meta-header h5 {
    text-transform: capitalize;
}

.sidebar_wrap .sidebar .widget {
    padding: 20px;
    background: #fff;
    border: #efefef solid 1px;
    margin-bottom: 30px;
}

.sidebar_wrap .sidebar .widget .widget-title {
    margin: -20px -20px 20px;
    padding: 20px;
    background-color: #00a3c8;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.search.p-relative input[type="search"] {
    position: relative;
    padding-right: 60px;
}

button.search_btn {
    position: absolute;
    right: 0;
    top: 0;
    background: transparent;
    padding: 15px 20px;
    color: #000;
}

caption {
    padding-bottom: 0;
}

.footer-style-1 .widget > ul,
.sidebar_wrap .sidebar .widget > ul {
    padding: 0;
    list-style: none;
}

.footer-style-1 .widget.widget_categories ul li,
.sidebar_wrap .sidebar .widget.widget_categories ul li {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.footer-style-1 .widget.widget_archive ul li a,
.sidebar_wrap .sidebar .widget.widget_archive ul li a,
.footer-style-1 .widget.widget_categories ul li a,
.sidebar_wrap .sidebar .widget.widget_categories ul li a {
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-size: 14px;
    width: 87%;
    display: inline-block;
}

.footer-style-1 .widget ul li a,
.sidebar_wrap .sidebar .widget ul li a {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.footer-style-1 .widget.widget_categories ul li a:hover,
.sidebar_wrap .sidebar .widget.widget_categories ul li a:hover,
.sidebar_wrap .sidebar .widget ul li a:hover,
.footer-style-1 .widget ul li a:hover,
.footer-style-1 .widget.widget_archive ul li a:hover,
.sidebar_wrap .sidebar .widget.widget_archive ul li a:hover {
    color: #00a3c8;
}

.footer-style-1 .widget:last-child,
.sidebar_wrap .sidebar .widget:last-child {
    margin-bottom: 0;
}
.footer-style-1 .widget p:last-child{
    margin-bottom:0;
}
.footer-style-1 .widget:last-child{
    padding-bottom: 0;
}

label.screen-reader-text {
    display: none;
}

select {
    width: 100%;
    padding: 12px 10px;
    color: #333;
    margin-bottom: 18px;
}

.footer-style-1 .widget.widget_nav_menu ul li,
.sidebar_wrap .sidebar .widget.widget_nav_menu ul li {
    list-style: none;
}

.footer-style-1 .widget.widget_nav_menu ul ul.sub-menu,
.sidebar_wrap .sidebar .widget.widget_nav_menu ul ul.sub-menu {
    padding-left: 15px;
}

.footer-style-1 .widget.widget_nav_menu ul li a,
.sidebar_wrap .sidebar .widget.widget_nav_menu ul li a {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.footer-style-1 .widget.widget_nav_menu ul ul.sub-menu li.hidden,
.sidebar_wrap .sidebar .widget.widget_nav_menu ul ul.sub-menu li.hidden {
    width: 100% !important;
}

.footer-style-1 .widget.widget_nav_menu ul,
.sidebar_wrap .sidebar .widget.widget_nav_menu ul {
    padding-left: 0;
}

.footer-style-1 .widget.widget_recent_comments ul li,
.sidebar_wrap .sidebar .widget.widget_recent_comments ul li,
.footer-style-1 .widget.widget_rss ul li,
.sidebar_wrap .sidebar .widget.widget_rss ul li {
    color: #000;
    text-transform: capitalize;
    font-size: 14px;
    line-height: 30px;
}

.footer-style-1 .widget.widget_rss ul li,
.sidebar_wrap .sidebar .widget.widget_rss ul li {
    padding-bottom: 12px;
}

.footer-style-1 .widget.widget_rss ul li:last-child,
.sidebar_wrap .sidebar .widget.widget_rss ul li:last-child {
    padding-bottom: 0;
}

.footer-style-1 .widget.widget_recent_comments ul li a,
.sidebar_wrap .sidebar .widget.widget_recent_comments ul li a,
.footer-style-1 .widget.widget_rss ul li a,
.sidebar_wrap .sidebar .widget.widget_rss ul li a {
    color: #00a3c8;
}

.footer-style-1 .widget .tagcloud a,
.sidebar_wrap .sidebar .widget .tagcloud a {
    background: #e9ecef;
    color: #333;
    display: inline-block;
    font-size: 9px !important;
    letter-spacing: 1px;
    margin: 5px 10px 5px 0;
    padding: 8px 12px 7px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    font-weight: 600;
}

.footer-style-1 .widget .tagcloud a:hover,
.sidebar_wrap .sidebar .widget .tagcloud a:hover {
    background: #00a3c8;
    color: #fff;
}

footer.footer-style-1 .widget {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
}

ul.social-icons.footer-social li {
    display: inline-flex;
    padding: 0 4px;
}

ul.social-icons.footer-social {
    text-align: center;
}

ul.social-icons.footer-social li a {
    border: 1px solid;
    padding: 9px 19px;
}

.footer-style-1 table th, .footer-style-1 table td {
    border: 1px solid #dfdfdf;
    padding: 8px;
}

section.no-results.not-found {
    text-align: center;
    width: 60%;
    max-width: 100%;
    margin: 0 auto;
}

li.topbar-search button#searchsubmit {
    display: none;
}

ul.pagination-inner {
    padding: 0;
}

ul.pagination-inner li {
    list-style: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: none;
}

#inner-banner:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    z-index: -1;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
}

.intro-box .intro-wrapper a.btn-first {
    margin-top: 9px;
}

[class^="flaticon-"]:before, [class*=" flaticon-"]:before {
    font-size: inherit !important;
    margin: 0;
}

.single-blog .blog-overlay p {
    color: #fff;
}

.blog-slider .post-author span a {
    text-transform: capitalize;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

input.wpcf7-form-control.wpcf7-submit.btn-second.rounded-btn.text-custom-black.full-width:hover {
    background: #00a3c8;
    color: #fff;
}

.intro-service-sec {
    position: relative;
    z-index: 1;
}

.appoint-testi-style-2.style-4 input.wpcf7-form-control.wpcf7-submit.btn-second.rounded-btn {
    border-radius: 0;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {

    border: none;
    background: #00a3c8;
    text-align: center;
    color: #fff;
    padding: 10px 0;
}

p.status {
    color: #ffffff;
    margin-top: 15px;
    background: #d94337;
}

.sub-header .sub-header-content ul li a {
    color: #fff;
}

.alert-danger {
    color: #f9f9f9;
    background-color: #00a3c8;
    border-color: #00a3c8;
    padding: 8px;
    border-radius: 0;
}

.login_logout_page {
    padding: 40px 20px;
    text-align: center;
    width: 100%;
}

.login_logout_page h4.title {
    font-size: 30px;
    font-weight: 600;
}

a.login_button {
    background: #00a3c8;
    color: #fff;
    padding: 10px 30px;
    display: block;
    width: 20%;
    margin: 0 auto;
    font-size: 16px;
}

body.error404 {
    height: 100vh;
}

body.error404 .main-body {
    height: 100%;
}

.extra-page .header a {
    color: #fff;
}

ul.slick-dots li:only-child {
    display: none;
}

.contact-us iframe {
    height: 100%;
}

.service-page .service-image .overlay-bg-black {
    z-index: 1;
}

.service-page .overlay-bg-black {
    background: #000;
    opacity: 0.5;
    z-index: -1;
}

.service-page .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.service-page .service-image {
    height: 450px;
    width: 100%;
    position: relative;
}

.service-page .service-image .service-text-wrapper {
    max-width: 500px;
    padding: 0 50px;
}

.service-page .service-meta {
    padding: 0 25px 25px;
}

.service-page .service-image img {
    width: 100%;
}

.post-content h4.text-custom-black {
    display: none;
}

.header-style-2 .main-navigation-style-2 .navigation nav > ul > .menu-item:last-child {
    margin-right: 0;
}

.main-navigation-style-2 nav ul li ul.sub-menu li a {
    color: #666;
}

.main-navigation-style-2 nav ul li ul.sub-menu li a:hover {
    color: #00a3c8;
}

.header-style-2 .main-navigation-style-2.active .navigation nav {
    width: 100%;
}

header.style-3.header-style-1 .main-navigation-style-1 .main-menu > nav > ul > .menu-item > a {
    color: #00a3c8;
}

header.style-3.header-style-1 .main-navigation-style-1.sticky .main-menu > nav > ul > .menu-item > a:not(:active) {
    color: #fff;
}

header.style-3.header-style-1 .main-navigation-style-1 .main-menu > nav > ul > .menu-item ul li a:not(:hover) {
    color: #666;
}

.main-navigation-style-1 .menu-item-has-children > .sub-menu > li.menu-item > a {
    color: #666;
}

.pattern2 {
    background: url(../assets/images/patteren.png) repeat;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.overlay-bg-black2 {
    background: #000;
    opacity: 0.5;
    z-index: -1;
}

ul.pagination-inner:nth-child(3) {
    display: none;
}

article.post {
    width: 100%;
    overflow: hidden;
}
.footer-style-1 .widget select,
.sidebar_wrap .sidebar .widget select {
    margin-bottom: 0;
}
.sidebar_wrap .sidebar .widget ul li,
footer.footer-style-1 .widget ul li {
    list-style: none;
}
.footer-style-1 .logo a {
    font-size: 20px;
}
.footer-style-1 .footer-info ul ul {
    padding-left: 15px;
}
/*---- Gallery Post format css ---*/

.gallery-columns-3 {
    display: block;
    float: left;
    width: 100%;
    clear: both;
    margin-bottom: 20px;
}

.blog-detail {
    margin-bottom: 80px;
}

.overlay-bg-custom-blue2 {
    z-index: -1;
    background: #00a3c8c4;
}

.overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.footer-style-2 .footer-box .widget .widget-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.footer-style-2 p,
.footer-style-2 .text-custom-black,
.footer-style-2 .text-light-blue {
    color: #fff;
}

.newsletter-style-2 .mc4wp-form-fields input[type="submit"] {
    background: none;
    color: #00a3c8;
    border-left: 1px solid #00a3c8;
}

.copyright-style-2 .widget_nav_menu ul li {
    list-style: none;
    padding: 0;
}

.copyright-style-2 .widget_nav_menu ul {
    padding: 0;
}

.footer-box .widget_nav_menu ul {
    padding: 0;
    list-style: none;
}

.footer-box .widget_nav_menu ul li a {
    color: #fff;
    font-size: 14px;
}

.footer-style-2 .footer-box .widget_nav_menu ul li {
    line-height: 30px;
    padding-left: 20px;
    margin-bottom: 10px;
}

.footer-style-2 .footer-box .widget_nav_menu ul.sub-menu {
    padding-left: 0;
}

.footer-style-2 .footer-box .widget_nav_menu ul li:before {
    content: '';
    height: 1px;
    width: 10px;
    background-color: #fff;
    vertical-align: middle;
    display: block;
    position: absolute;
    left: 0;
    margin-top: 13px;
}

.footer-style-2 .footer-box .widget_nav_menu ul.sub-menu li:before {
    left: -6px;
}

.footer-style-2 .footer-box .widget_nav_menu ul.sub-menu li {
    padding-left: 10px;
}

.copyright-style-2 .widget_nav_menu ul ul {
    display: none;
}

.newsletter-style-2 .mc4wp-form-fields input[type="submit"]:hover {
    background: #00a3c8;
    color: #fff;
}

/*---- mptt css ---*/
.mptt-shortcode-wrapper.mptt-table-responsive.table-init {
    overflow: hidden;
}

.mptt-shortcode-wrapper ul.mptt-menu.mptt-navigation-tabs {
    padding-left: 0;
    margin-bottom: 40px;
}

.mptt-shortcode-wrapper ul.mptt-menu.mptt-navigation-tabs li {
    margin: 0 20px 0 0 !important;
}

.mptt-shortcode-wrapper ul.mptt-menu.mptt-navigation-tabs li a {
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-color: #eee;
    color: #333;
    padding-bottom: 10px;
}

.mptt-shortcode-table {
    table-layout: fixed;
}

.mptt-shortcode-wrapper h5 {
    color: #fff;
    font-weight: 400;
    margin-top: 8px;
}

.mptt-event-container {
    padding: 15px;
}

.mptt-inner-event-content {
    text-align: left;
}

/* Single Page */
.mptt-content .event-content {
    margin: 18px 0;
}

.mptt-content .event-content .timeslot,
.mptt-content .event-content h5,
.mptt-content .event-content span {
    display: none;
}

.mp-event-item .mptt-content h3.timeslots-title {
    margin: 30px 0;
}

.mp-event-item .mptt-content ul.events-list {
    margin: 0;
}

.mp-event-item .mptt-content ul.events-list li.event {
    border: 1px solid #EFEFEF;
    list-style-type: none;
    margin: 0 0 20px;
    padding: 20px;
    border-left: 5px solid #00a3c8;
}

.mp-event-item .mptt-content ul.events-list li.event .timeslot {
    margin-bottom: 20px;
}

.mptt-sidebar .widgettitle {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 20px;
    text-transform: uppercase;
}

.mptt-sidebar .widget {
    margin-bottom: 50px;
}

.mptt-sidebar .widget ul li.event {
    border: none;
    padding: 15px 30px;
    padding-left: 0;
}


.mptt-shortcode-wrapper ul.mptt-menu.mptt-navigation-tabs li.active a {
    border-bottom: 3px solid #00a3c8;
    color: #00a3c8;
}

.mptt-shortcode-wrapper .mptt-navigation-tabs li {
    display: inline-block;
    padding: 10px 5px;
    font-size: 16px;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tr.mptt-shortcode-row th {
    background-color: #00a3c8;
    border: none;
    text-align: center;
    color: #fff;
    padding: 18px 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: #00a3c8;
    width: 0%;
    transition: 0.5s all;
    z-index: -1;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td {
    border: 1px solid #eeeeee;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td:hover {
    color: #fff;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td:hover:before {
    width: 100%;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody tr:nth-child(2n+2) {
    background-color: transparent;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td.mptt-shortcode-hours {
    text-align: center;
}

.sidebar_wrap .sidebar .widget.widget_recent_entries ul li.event:not(:last-child) {
    padding-bottom: 20px;
}

.mp-event-item .mptt-content h3.timeslots-title {
    margin: 30px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 29px;
}

.mptt-content .event-content > h3 {
    display: none;
}

.mp-event-item .mptt-content ul.events-list h4.event-title a {
    color: #00a3c8;
    font-weight: 600;
    font-size: 18px;
}

.mp-event-item .mptt-content ul.events-list li.event h5,
.mptt-main-wrapper.mp-column h5 {
    font-weight: 600;
    font-size: 18px;
}

.mp-event-item .mptt-content ul.events-list,
.mptt-main-wrapper.mp-column {
    color: #666;
    font-size: 15px;
}

.mptt-main-wrapper .comment-respond {
    display: none;
}

.mptt-main-wrapper .mptt-sidebar .widget {
    padding: 20px;
    background: #fff;
    border: #efefef solid 1px;
    margin-bottom: 30px;
}

.mptt-main-wrapper .mptt-sidebar .widget .widgettitle {
    margin: -20px -20px 20px;
    padding: 20px;
    background-color: #00a3c8;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.mptt-main-wrapper .mptt-sidebar .widget ul {
    padding: 0;
    list-style: none;
}

.mptt-sidebar .widget ul li.event a {
    color: #000;
    font-size: 14px;
}

.mptt-sidebar .widget ul li.event a:hover {
    color: #00a3c8;
}

.mptt-main-wrapper.mp-column span.event-subtitle {
    display: none;
}

.nav-links .page-numbers.current {
    border: none;
    padding: 7px 15px;
    background: #00a3c8;
    color: #fff;
    font-size: 16px;
    margin-right: 5px;
}

nav.navigation.pagination {
    margin-bottom: 30px;
    width: 100%;
    display: block;
    text-align: center;
}

.nav-previous {
    float: right;
}

.nav-next {
    float: left;
}

.pagination-btn {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
}

.admin-bar .main-navigation-style-1.sticky,
.admin-bar .header-style-2.sticky {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .main-navigation-style-1.sticky,
    .admin-bar .header-style-2.sticky {
        top: 46px;
    }
}

@media (max-width: 600px) {
    .admin-bar .main-navigation-style-1.sticky,
    .admin-bar .header-style-2.sticky {
        top: 0px;
    }
}

.intro-widget-content .link-btn-rounded i {
    color: #fff;
}

.style-3.header-style-1 .topbar-style-1 .left-side {
    padding-top: 0;
}
.nav-links span.post-page-numbers span.page-number {
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #00a3c8;
    color: #fff;
    margin-right: 8px;
    background: #00a3c8;
}
article.post input[type="text"], 
article.post input[type="search"], 
article.post input[type="email"], 
article.post input[type="phone"], 
article.post input[type="password"], 
article.post textarea{
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
}
.comment-box {
    clear: both;
}
.sidebar_wrap .sidebar .widget table,
footer.footer-style-1 .widget table {
    margin-bottom: 0;
}

article .sticky-post {
    background: #00a3c8;
    color: #fff;
    display: inline-block;
    font-weight: 400;
    line-height: 1;
    padding: .25rem;
    text-transform: capitalize;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
}
.main-navigation-style-1 .navigation .logo a {
    font-size: 20px;
}
.form-style-2 input[type="submit"] {
    background: none;
    color: #333;
    border: 1px solid #00a2c6;
    padding: 10px 0;
}
.contact-us .contact-form input[type="submit"] {
    background: none;
    border: 1px solid #00a3c8;
    color: #00a3c8;
    padding: 10px 0;
}
.contact-us .contact-form input[type="submit"]:hover {
    background: #00a3c8;
    color: #fff;
}
.features-wrapper .card .side img {
    width: 100%;
}
.img-sec.mb-md-40 img {
    width: 100%;
}
.services-style-2 .service-block {
    border: 1px solid #1aacce26;
}
.sidebar_wrap .sidebar .widget .popular_post li:last-child .post .post-wrapper .popular_post_title h6 {
    margin-bottom: 0;
}
.intro-service-3 .intro-widget .intro-widget-wrapper .intro-widget-block .btns:hover a {
    background: #00a3c8;
}
.ps-relative {
    position: relative;
}
.z-99 {
    z-index: 9;
}
.copyright-style-1 .social-media ul li:first-child {
    margin-left: 0;
}
.arrow-hide ul.slick-dots,
.arrow-hide .slick-arrow {
    display: none !important;
}
.service-page .service-image {
    height: 100%;
}
/*---------7. Image Alignment and Captions --------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}

code {
    color: #00a3c8;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #f2f2f2;
    border: 1px solid #e6e6e6;
    max-width: 100%;
    padding: 5px;
    text-align: center;
}

.wp-caption-text {
    margin-top: 8px;
    font-size: small;
}

.wp-caption.alignnone {
    margin: 5px 0px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-block-table.is-style-stripes {
    border-collapse: collapse;
}

.wp-block-table.is-style-stripes td {
    border: 1px solid #ccc;
}

.wp-caption p.wp-caption-text {
    font-size: 12px;
    margin: 0;
    padding: 5px;
    color: #5d5d5d;
}

/* ------------ 8. Gallery -------- */

.gallery {
    display: block;
    float: left;
    width: 100%;
    clear: both;
    margin-bottom: 20px;
}

.gallery + h1,
.gallery + h2,
.gallery + h3,
.gallery + h4,
.gallery + h5,
.gallery + h6 {
    clear: both;
}

.blog_post .gallery {
    padding: 0 0 20px;
}

.gallery .gallery-item {
    display: block;
    margin: 0 auto 4px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.gallery .gallery-item .gallery-icon {
    display: inline-block;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
    float: left;
}

.gallery-columns-3 .gallery-item {
    width: 33.333333%;
    float: left;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
    float: left;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
    float: left;
}

.gallery-columns-6 .gallery-item {
    width: 16.666666%;
    float: left;
}

.gallery-columns-7 .gallery-item {
    width: 14.285714%;
    float: left;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
    float: left;
}

.gallery-columns-9 .gallery-item {
    width: 11.111111%;
    float: left;
}

.gallery-columns-10 .gallery-item {
    width: 10%;
    float: left;
}

.gallery-caption {
    background-color: rgba(0, 0, 0, 0.7);
    bottom: 0;
    color: #FFFFFF;
    font-size: 14px;
    left: 0;
    line-height: 1.3;
    margin: 0;
    max-height: 50%;
    opacity: 0;
    padding: 2px 8px;
    position: absolute;
    text-align: left;
    -webkit-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
    width: 100%;
    font-style: italic;
    font-weight: 300;
}

.gallery-caption:before {
    box-shadow: 0 -10px 15px #000000 inset;
    content: "";
    height: 100%;
    left: 0;
    min-height: 49px;
    position: absolute;
    top: 0;
    width: 100%;
}

.gallery .gallery-item .gallery-icon a {
    float: left;
}

.gallery .gallery-item .gallery-icon a img.attachment-thumbnail {
    display: block;
    float: left;
    max-width: 100%;
    width: 100%;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
    text-align: center;
}

.gallery.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery.gallery-columns-9 .gallery-item:nth-of-type(9n) {
    margin: 0 0 4px 0;
}

.blocks-gallery-item {
    padding: 0;
}

.wp-block-button {
    margin: 32px 0;
}

.wp-block-cover p:not(.has-text-color) {
    color: #fff;
}

.post_content .alignleft {
    max-width: calc(4 * (100vw / 12));
    margin-right: calc(2 * 1rem);
    margin-top: 0;
}

.wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption, .wp-block-image.is-resized > figcaption {
    text-align: center;
}

hr.wp-block-separator {
    margin-bottom: 2rem;
    margin-top: 2rem;
    max-width: 2.25em;
    text-align: left;
}

hr.wp-block-separator.is-style-wide {
    max-width: 100%;
}
.wp-block-button.alignleft {
    margin-right: calc(2*1rem);
    margin-top: 0;

}

.bypostauthor {

    display: block;

}
