/*!
Theme Name: jsp
Theme URI: https://them.es/starter
Author: Martin Hammerschmidt
Author URI: https://them.es/
Description: 
Version: 3.5.3
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: jsp
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */

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

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

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

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

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 {
	max-width: 96%;
	/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 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: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

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

.gallery-columns-3 .gallery-item {
	max-width: 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-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}


/*custom css*/

:root {
	--primary-color: #164194;
	--bs-primary: #164194;
	--primary-hover: #2954a7;
	--light-color: #E5EAF3;
	--text-color: #2E3136;
	--white-color: #ffffff;
	--color-white: #ffffff;
	--text-font: "futura-pt", sans-serif;
	--font-weight-normal: 500;
	--font-weight-bold: 700;
	--text-size: clamp(1rem, 0.9306rem + 0.2222vw, 1.125rem);
	--h1-size: clamp(2rem, 1.5486rem + 1.4444vw, 2.8125rem);
	--h2-size: clamp(1.625rem, 1.4167rem + 0.6667vw, 2rem);
}

body,
html {
	width: 100vw;
	max-width: 100vw;
	overflow-x: hidden;
}

body {
	font-family: var(--text-font);
	color: var(--text-color);
	font-weight: var(--font-weight-normal);
	font-size: var(--text-size);
}

strong {
	font-weight: var(--font-weight-bold);
}

h1,
.h1,
h2,
.h2 {
	font-size: var(--h1-size);
	font-weight: var(--font-weight-bold);
}

h3,
.h3 {
	font-size: var(--h2-size);
	font-weight: var(--font-weight-normal);
	color: var(--primary-color);
}

h4,
.h4 {
	color: var(--primary-color);
}

a {
	color: var(--primary-color);
}

.bg-primary {
	background-color: var(--primary-color) !important;
}

.bg-light {
	background-color: var(--light-color) !important;
}

.text-primary {
	color: var(--primary-color) !important;
}

#main {
	margin-top: 90px;
}


/*nav*/

header .navbar-brand img,
#mobile-nav .navbar-brand img,
footer .navbar-brand img {
	height: auto;
	width: 130px;
}

#mobile-nav {
	background-color: var(--white-color);
	top: 0;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	background-color: var(--white-color);
}

#menu-main {
	gap: 20px;
}

#menu-main a {
	color: var(--primary-color);
	font-size: 18px;
	transition: all ease-in-out 0.2s;
}

#menu-main a:hover,
#menu-main .current_page_item a {
	color: var(--primary-color);
	font-size: 18px;
}


.admin-bar header,
.admin-bar #mobile-nav {
	top: 0;
}

#mobile-nav {
	z-index: 100;
}

.top-nav {
	z-index: 2;
}

.top-nav .social-media-icon-header {
	width: 15px;
	height: 15px;
	object-fit: contain;
	object-position: center center;
}

.main-nav {
	z-index: 5;
}

.bottom-nav .bottom-nav__item .bottom-nav__item-container {
	border-right: 1px solid #f2f2f2;
	padding: 35px 15px 15px 25px;
	transition: all ease-in-out 0.5s;
	background: var(--color-white);
	position: relative;
	z-index: 2;
}

.bottom-nav .bottom-nav__item {
	border-left: 1px solid var(--color-gray);
}

.bottom-nav .bottom-nav__item-wrapper:first-of-type .bottom-nav__item {
	border-left: none;
}


.bottom-nav .bottom-nav__item:last-of-type .bottom-nav__item-container {
	border-right: none;
}


.bottom-nav {
	box-shadow: 0px 2px 5px 0px rgba(19, 35, 64, 0.11);
	font-family: var(--headline-font);
	transition: all ease-in-out 0.5s;
	margin-bottom: 50px;
	height: 97px;
}

.bottom-nav .lottie {
	filter: brightness(0%);
	transition: all ease-in-out 0.5s;
	width: 45px;
	height: 45px;
	margin-bottom: -5px;
	margin-top: -20px;
	margin-left: -5px;
}

.bottom-nav a {
	color: var(--color-black);
	transition: all ease-in-out 0.5s;
}

.bottom-nav .bottom-nav__item-wrapper.active .bottom-nav__item-container {
	border-right: 1px solid #f2f2f2;
	background-color: var(--primary-color);
	color: var(--color-white);
	border-right: var(--primary-color);
}

.bottom-nav .bottom-nav__item-wrapper.active .bottom-nav__item a {
	color: var(--color-white) !important;
}

.bottom-nav .bottom-nav__item-wrapper.active .bottom-nav__item .bottom-nav__item__sub a {
	color: var(--color-black) !important;
}

.bottom-nav__item-wrapper.active {
	border-top: 20px solid var(--primary-color);
	transform: translateY(-20px);
	z-index: 2;
}

.bottom-nav .bottom-nav__item:hover .bottom-nav__item-container {
	background-color: var(--primary-color);
}

.bottom-nav .bottom-nav__item:hover .bottom-nav__item-container a {
	color: var(--color-white) !important;
}

.bottom-nav .bottom-nav__item:hover .lottie,
.bottom-nav .bottom-nav__item-wrapper.active .bottom-nav__item .lottie {
	filter: brightness(100%);
}

.bottom-nav .bottom-nav__item .bottom-nav__item__sub {
	font-family: var(--text-font);
	background-color: var(--color-white);
	border-radius: 0 0 20px 20px;
	padding: 5px 15px;
	position: absolute;
	top: 0;
	left: 15px;
	transition: all ease-in-out 0.5s;
	color: var(--color-black) !important;
}

.bottom-nav .bottom-nav__item:hover .bottom-nav__item__sub {
	top: 100%;
	box-shadow: 0px 2px 5px 0px rgba(19, 35, 64, 0.11);
}

.bottom-nav .bottom-nav__item-wrapper {
	padding-bottom: 40px;
}

/*buttons*/

.wp-block-buttons {
	margin-top: 30px;
	margin-bottom: 30px;
}

.btn,
.btn-primary,
.wp-block-button .wp-block-button__link {
	background: none;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--color-white);
	border-radius: 6px;
	padding: 5px 10px;
	box-shadow: none;
	position: relative;
}

header .btn-primary a {
	color: var(--white-color) !important;
	padding: 0;
}

.offcanvas .btn-primary a {
	background-color: var(--white-color) !important;
	color: var(--primary-color) !important;
	border-radius: 6px;
}

.social-media-icon-offcanvas {
	width: 25px;
	height: auto;
}

input.btn {
	padding: 10px 45px 10px 45px;
}

.btn-outline {
	background-color: transparent !important;
	border: 2px solid var(--primary-color);
	color: var(--primary-color) !important;
}


.btn:hover,
.btn-primary:hover,
.wp-block-button .wp-block-button__link:hover {
	background-color: var(--primary-hover);
	border-color: var(--primary-hover);
}

.btn-secondary {
	background-color: var(--white-color);
	color: var(--primary-hover);
	border-color: var(--white-color);
}


.btn-secondary:hover {
	background-color: var(--white-color);
	color: var(--primary-hover);
	border-color: var(--white-color);
}


.btn-search:hover {
	background-color: var(--color-dark-blue);
	border-color: var(--color-white);
}

/*page header*/

.page-header {
	min-height: 500px;
	aspect-ratio: 1440 / 470;
	background-size: cover;
	background-position: top center;
}

.page-header video {
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
}

.page-header-small {
	min-height: inherit;
	aspect-ratio: inherit;
}

.page-header-small:before {
	display: none;
}


.page-header:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-image: linear-gradient(0deg, #164194 0%, #164194 19%, rgba(22, 65, 148, 0.00) 50%);
	mix-blend-mode: multiply;
	z-index: 1;
}

h1 span,
h2 span {
	display: block;
	font-weight: var(--font-weight-normal);
	font-size: 0.7em;
	margin-bottom: 20px;
}

h2,
h2 span {
	color: var(--primary-color);
}

section {
	padding-top: 100px;
	padding-bottom: 100px;
}

.button-icon {
	height: var(--text-size);
	width: auto;
	margin-top: -3px;
	margin-right: 5px;
}

/*columns*/


.columns-text-2 {
	column-count: 2;
	width: 100%;
}


/*teams*/

.team-image {
	aspect-ratio: 1/1;
	object-fit: cover;
	object-position: center center;
	width: 100%;
	max-width: 250px;
	height: auto;
	border-radius: 200px;
}

.nameteam {
	color: var(--primary-color);
	font-weight: var(--font-weight-bold);
	font-size: 22px;
}

.nameteam span {
	display: block;
	font-weight: var(--font-weight-normal);
	font-size: 18px;
}

.team-block a {
	color: var(--text-color) !important;
}

.contact-info {
	height: calc(var(--text-size) * 4.2);
}

.contact-info-item span:first-child {
	min-width: 60px;
	display: inline-block;
	text-align: left;
}

.contact-info-item span:last-child {
    display: inline-block;
    min-width: 160px;
    text-align: left;
}

/*footer*/
#footer {
	background-color: var(--primary-color);
}

#footer .nav-link,
#footer .nav-link:active,
#footer .nav-link:focus,
#footer .menu-item a[aria-current="page"] {
	color: white;
	padding: 5px 0px;
}

.social-media-icons {
	width: 30px;
	height: 30px;
}


@media all and (max-width: 992px) {
	#header {
		display: none;
	}
}

@media all and (max-width: 768px) {
	.columns-text-2 {
		column-count: 1;
	}

}