/*
Theme Name: TheGem Elementor Child
Description: Multi-Purpose Wordpress Theme
Author: Codex Themes.
Theme URI: http://codex-themes.com/thegem/
Author URI: http://codex-themes.com/thegem/
Template: thegem-elementor
Version: 1.0
Tags: one-column, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, dark, light
License: GNU General Public License
License URI: license.txt
*/


span.logo {
	text-align: center !important;
	display: block !important;
}

.logo img {
	width: 75px !important;
	max-height: 75px !important;
}

#site-header.shrink.fixed .header-background {
    min-height: 90px !important;
    padding-top: 8px !important;
}

footer#colophon a {
	color: #005874 !important;
	font-weight: bold;
}

footer#footer-nav .container > .row > div:nth-child(1) {
	display: none;
}

footer#footer-nav .container > .row > div:nth-child(2) {
	display: none;
}

footer#footer-nav .container > .row > div:nth-child(3) {
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	text-align:center !important;
}

footer#footer-nav .container > .row > div:nth-child(3) a {
	color: #005874 !important;
}

img.emoji {
	filter: grayscale(100%) brightness(0) invert(100%);
	left: -5px;
    position: relative;
}

.menu-item.menu-item-search {
	display: none !important;
}

.header-style-3 #primary-menu.no-responsive > li a:hover,
.header-style-3 #primary-menu.no-responsive > li.menu-item-active a {
	border: 0 !important;
	color: #005874 !important;
}





.ul-padding-non ul {
	padding:0 !important;
}





.top-area > .container {
	max-width: 1200px;
}

.top-area {
	border-top: 5px solid #181828 !important;
	background-color: #212331 !important;
	padding:0 !important;
	
}

.top-area a {
    font-weight: bold !important;
	color: #768E9E !important;
}

.top-area a:hover {
	color: #005874 !important;
}






.wpcf7-form {
	display:block;
	max-width: 400px;
	margin-top: 50px;
}

.wpcf7-form > label {
	font-weight: bold;
}

.wpcf7-form input, .wpcf7-form textarea {
	margin-top: 5px;
}


.wpcf7-form .wpcf7-submit {
	display: inline-block !important;
	background: none !important;
	background-color: transparent !important;
	border: 3px solid #005874 !important;
	color: #005874 !important;
	width: auto !important;
	font-size: 16px !important;
    text-transform: none !important;
	padding: 5px 15px !important;
}



/* ===========================
   Footer Widgets
   =========================== */

.row.inline-row.footer-widget-area {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;

    position: relative !important;
    height: auto !important;
}

/* Reset inline positioning */
.row.inline-row.footer-widget-area > .widget {
    position: static !important;
    left: auto !important;
    top: auto !important;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

/* Give the text columns more room */
.row.inline-row.footer-widget-area > .widget:nth-child(1) {
    flex: 0 0 24%;
    max-width: 24%;
    justify-content: flex-start;
}

.row.inline-row.footer-widget-area > .widget:nth-child(2) {
    flex: 0 0 28%;
    max-width: 28%;
    justify-content: flex-start;
}

/* Make the three image columns smaller so they're closer together */
.row.inline-row.footer-widget-area > .widget:nth-child(n+3) {
    flex: 0 0 16%;
    max-width: 16%;
    justify-content: center;
}

/* Images */
.row.inline-row.footer-widget-area .widget img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===========================
   Mobile
   =========================== */

@media (max-width: 991px) {

    .row.inline-row.footer-widget-area {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
    }

    /* First two widgets */
    .row.inline-row.footer-widget-area > .widget:nth-child(-n+2) {
        display: flex;
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;

        justify-content: center;
        align-items: center;
        text-align: center;
    }

    /* Hide the last three widgets */
    .row.inline-row.footer-widget-area > .widget:nth-child(n+3) {
        display: none !important;
    }

    /* Center everything inside the remaining widgets */
    .row.inline-row.footer-widget-area > .widget > * {
        width: 100%;
        text-align: center;
    }

    .row.inline-row.footer-widget-area > .widget p,
    .row.inline-row.footer-widget-area > .widget div {
        text-align: center;
    }

    .row.inline-row.footer-widget-area > .widget img {
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}