/*!
Theme Name: Kadence Child
Theme URI: https://flyingsealsystems.com/
Template: kadence
Author: Flying Seal Systems
Author URI: https://flyingsealsystems.com/
Description: A child theme for the Kadence Theme.
Version: Dynamic
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
.clear {
	clear: both;
}

.young-workers .button {
	margin: 10px;
	border-radius: 6px;
}

.button a, .button a:hover {
	color: white;
}

.center {
	text-align: center;
}

.TwCenMTCondensed {
    font-weight: normal;
    font-style: normal;
    line-height: normal;
    font-family: 'TwCenMTCondensedRegular', sans-serif;
}

.young-workers .kadence-svg-iconset svg {
    height: 1.5em;
    width: 1.5em;
}

.young-workers .mobile-navigation ul li {
    font-size: 16px;
}

#primary h2 {
    padding: 10px;
    margin: 40px 0 10px 0px;
    color: white;
    background-color: #3e8ddb;
    clear: both;
}

#primary h2.no-clear {
	clear: none;
}

.content-width-fullwidth #primary h2 {
	padding-left: 40px;
	max-width: 1920px;
	margin-left: auto;
	margin-right: auto;
}

#main-header
.site-main-header-wrap {
	max-height: 30px;
}

.site-header .site-branding .site-title {
    font-weight: 300;
    font-size: 64px;
    color: #f2df34;
    font-family: 'TwCenMTCondensedRegular';
    margin-top: -50px;
}

@media screen /*and (min-width: 720px)*/ and (max-width: 1024px) {
	.young-workers .vs-md-false {
		display: block !important;
	}
}

@media screen and (max-width: 1024px) {
	.site-header .site-branding .site-title {
		margin-top: -10px
	}
}

.site-header .header-navigation .header-menu-container ul ul.sub-menu,
.site-header .header-navigation .header-menu-container ul ul.submenu {
    background-color: #619fd0;
}

.site-header .header-navigation .header-menu-container ul ul.sub-menu a,
.site-header .header-navigation .header-menu-container ul ul.submenu a {
	font-size: 16px;
}

.young-workers .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
.young-workers .main-navigation .primary-menu-container > ul > li.menu-item:hover > a {
    color: #f2df34;
}

#mobile-toggle {color: white;}

.menu-learn,
.menu-learn .sub-menu li {
	background-color: /*#ecc24b;*/ #ddab29;
}

.menu-get,
.menu-get .sub-menu li {
	background-color: #79c1c7;
}

.menu-act,
.menu-act .sub-menu li {
	background-color: #4b7ca1;
}

li.menu-learn.menu-item:hover > a,
li.menu-get.menu-item:hover > a,
li.menu-act.menu-item:hover > a {
	color: #ffffff !important;
	font-weight: 700;
}

#secondary {
	background-color: #e4f2ff;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

#secondary #sb_instagram .sbi_header_text h3 {
	font-size: 16px;
}

.footer-widget-area-inner,
.footer-widget-area-inner a,
.footer-widget-area-inner a:hover,
.footer-widget-area-inner a:focus,
.footer-widget-area-inner a:active {
	color: white;
}

.footer-widget-area-inner a:hover,
.footer-widget-area-inner a:focus,
.footer-widget-area-inner a:active {
	color: #f7df2f;
}

.young-workers .site-bottom-footer-inner-wrap {
	padding-top: 0;
	padding-bottom: 20px;
}

.yw-footer-logos li {
	max-width: 150px;
	position: static !important;
}

.yw-footer-logos .kb-gallery-ul {
	justify-content: center;
}

.young-workers .element-social-inner-wrap {
	padding-top: 6px;
}

.young-workers .entry.single-entry {
	box-shadow: none;
}

.young-workers .soliloquy-theme-base .soliloquy-caption-bottom .soliloquy-caption-inside {
	padding-bottom: 6px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5em;
}

.content-width-fullwidth.young-workers .wp-block-kadence-advancedgallery {
	max-width: 1290px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 40px;
	padding-right: 40px;
}

body.home,
.home .entry-content {
	background-color: #dff1ff;
}

.home.young-workers .entry-content-wrap:first-child {
	padding: 0;
}

#primary .home-welcome {
	max-width: 1290px;
	width: 80%;
	margin: 20px auto 40px;
	padding: 20px;
	border-radius: 20px;
	color: white;
	background-color: #3e8ddb;
	border: solid 4px #619fd0;
}

#primary .home-welcome h2 {
	background: none;
	margin: 0;
	padding: 0 0 20px;
}

.home .current-opportunities {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
}

.home .current-opportunities
.wp-block-columns .wp-block-column {
	padding: 10px;
}

.home .current-opportunities img {
	border-radius: 10px;
	border: 5px #ffcd00 solid;
}

.home .current-opportunities img:hover {
	border-width: 10px;
	margin: -5px;
}

.home .kb-gallery-ul .kadence-blocks-gallery-item .kadence-blocks-gallery-item-inner figure .kb-gallery-image-contain.kadence-blocks-gallery-intrinsic img:hover {
	border: 10px solid;
}

p.home-join-our-email-list.has-background {
	padding: .75em 2.375em;
}

p.home-join-our-email-list a {
	color: #f7df2f;
}

.wp-block-kadence-accordion {
	max-width: 90%;
}


/* Media Queries */

@media screen and (max-width: 1366px) {

	.site-header .header-navigation
	.header-menu-container ul ul.sub-menu a {
		font-size: 14px;
	}

	.young-workers .kb-table-of-contents-title-wrap
	.kb-table-of-contents-title {
		font-size: 24px;
	}

	.young-workers .kb-table-of-contents__entry {
		font-size: 15px;
	}

	.home .current-opportunities {
		max-width: 860px;
		padding-top: 20px;
	}

}


@media screen and (max-width: 1120px) {

	#secondary #sb_instagram .sbi_header_text h3 {
		font-size: 13px;
	}

}


@media screen and (max-width: 1024px) {

	#secondary {
		display:none;
	}

}


@media screen and (max-width: 767px) {

	.young-workers p,
	.young-workers h2,
	.young-workers h3 {
		clear:both;
		padding-top: 12px;
	}

}


@media screen and (max-width: 599px) {

	.home .current-opportunities .wp-block-columns:first-child {
		margin-bottom: 0;
	}

	.home .current-opportunities .wp-block-columns .wp-block-column {
		margin: 10px 20px;
	}

	.site-header .site-branding .site-title {
		font-size: 48px;
	}

	#primary table {
		table-layout: fixed;
		width: 350px;
	}

	.entry-title {
		font-size: 42px;
	}

}


@media screen and (max-width: 389px) {

	.site-header .site-branding .site-title {
		font-size: 42px;
	}

	#primary table {
		table-layout: fixed;
		width: 300px;
	}

	.entry-title {
		font-size: 36px;
	}

}
