/*
Theme Name: Consoel
Theme URI: http://themeforest.net/user/wpoceans/
Author: wpoceans
Author URI: http://themeforest.net/user/wpoceans/portfolio
Description: Consoel - Consulting Business WordPress Theme
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: consoel
Tags: one-column, two-columns, left-sidebar, right-sidebar, custom-menu, featured-images, post-formats, theme-options, translation-ready
*/


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

/* Show the real service title instead of the company-name overlay. */
body.single-service .page-title h2 {
    font-size: clamp(30px, 4vw, 50px) !important;
    line-height: 1.2;
    overflow-wrap: break-word;
}
body.single-service .page-title h2::after {
    content: none !important;
    display: none !important;
}

/* Remove social media sections from all public pages. */
.wpo-site-header .topbar,
.social-icons,
.social-links,
.social-link,
.socials,
.elementor-widget-social-icons,
.elementor-widget-share-buttons,
.wp-block-social-links {
    display: none !important;
}

/* Match search sidebar navigation to the full services list. */
body.search .blog-sidebar #nav_menu-2 .menu,
body.search .blog-sidebar #nav_menu-2 .sub-menu {
    display: block !important;
    visibility: visible;
    opacity: 1;
    height: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}
body.search .blog-sidebar #nav_menu-2 .sub-menu {
    margin-left: 14px;
    border-left: 2px solid #e5eaf2;
    padding-left: 10px;
}
body.search .blog-sidebar #nav_menu-2 li {
    margin: 0;
    padding: 0;
}
body.search .blog-sidebar #nav_menu-2 li a {
    display: block;
    padding: 10px 12px;
    margin-bottom: 4px;
    line-height: 1.4;
    color: #22386f;
    border-radius: 4px;
}
body.search .blog-sidebar #nav_menu-2 li a:hover,
body.search .blog-sidebar #nav_menu-2 li a:focus {
    color: #fff !important;
    background-color: #22386f !important;
}

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}


/* By Authot Post */

.bypostauthor {
    display: inline-block;
}


/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 1.5em;
    margin-right: -15px;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
    padding-right: 15px;
}
.gallery-item {
  padding-bottom: 15px;
}
.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

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

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

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

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

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

.screen-reader-text {
    background: transparent;
    display: none;
}