/*
 Theme Name:   Soutez
 Description:  Soutez by @NAK
 Author:       @NAK
 Version:      1.0.0
 License:      Commercial
 Text Domain:  soutez
*/

/** OBSAH
 * 	1 - TEXT
 * 	2 - STYL
 * 	3 - GRID
 * 	4 - BLOKY
 */

::selection {
	background: #E63946;
	color: #FFF;
}
html, body {
	-webkit-scroll-behavior: smooth;
	scroll-behavior: smooth;
}

/* 1 - TEXT */

/* General Sans */
@font-face {
    font-family: General Sans;  
    src: url(assets/fonts/generalsans/GeneralSans-Variable.ttf) format("truetype");
}

body, input, select, textarea, button, .btn, .gm-style .gm-style-iw {
	margin: 0;
	font-family: General Sans, sans-serif!important;
	font-size: 18px;
	font-size: 16px;
	line-height: 28px;
	line-height: 24px;
	font-weight: 400;
	color: rgba(0, 0, 0, 0.60);
}
h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 500;
	color: #000;
}
h1 {
	margin-bottom: 28px;
	font-size: 41px;
	line-height: 45px;
	letter-spacing: -2px;
}
h2 {
	margin-bottom: 12px;
	font-size: 32px;
	line-height: 35px;
}
h3 {
	margin-bottom: 12px;
	font-size: 30px;
	line-height: 32px;
}
h4 {
	margin-bottom: 16px;
	font-size: 28px;
	line-height: 30px;
	font-weight: 500;
}
h5 {
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 28px;
}
h6 {	
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 20px;
}
p {
	margin: 0;
}
p + p {
	margin-top: 8px;
}
a {
	text-decoration: none;
	color: inherit;
}

.btn, input, select, textarea {
	width: calc(100% - 32px);
	padding: 11px 16px;
	font-size: 16px;
	line-height: 20px;
	border-radius: 8px;
	border: none;
	outline: none;
}
.btn, input[type="submit"] {
	width: auto;
	padding: 13px 32px;
	display: inline-block;
	font-weight: 500;
	border: none;
	border-radius: 70px;
    transition: transform 0.3s ease-out;
}
input[type="submit"] {
	background: #E63946;
	color: #FFF;
}
.btn:hover, input[type="submit"]:hover {
	transform: translateY(-10px);
}
input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0 8px 0 0;
	accent-color: #E63946;
	cursor: pointer;
}

/* Label */
label {
	font-size: 14px;
}

/* Kontakty a socials */
.kontakty a, .socials a {
	align-items: center;
	font-size: 0;
}
.kontakty img, .socials img {
	width: 16px;
	height: 16px;
	margin-right: 8px;
	object-fit: contain;
}

/* 2 - STYL */

img {
	max-width: 100%;
}

/* Logo */
.logo {
	line-height: 0;
}
.logo img {
	width: auto;
	height: 43px;
	object-fit: contain;
}

/* Dark */
.dark {
	background: #1D3557;
	color: #FFF;
}
.dark h1, .dark h2, .dark h3,
.dark h4, .dark h5, .dark h6 {
	color: #FFF;
}
.dark .btn {
	background: #FFF;
	color: #1D3557;
}

/* Burger */
#burger {
    width: 30px;
    height: 20px;
	margin-left: 8px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
#burger hr {
    width: 26px;
    margin: 0;
    border: 1px solid #1D3557;
	border-radius: 4px;
}
#burger.opened hr:nth-child(1) {
    display: none;
}
#burger.opened hr:nth-child(2) {
    position: relative;
    top: 9px;
	left: -1px;
    transform: rotate(45deg);
}
#burger.opened hr:nth-child(3) {
    position: relative;
    top: -9px;
	left: -1px;
    transform: rotate(-45deg);
}

/* Menu */
.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.menu a {
	display: block;
	font-size: 16px;
	color: #000;
	transition: color 0.3s linear;
}
.menu li:hover a {
	color: #E63946;
}

/* 3 - GRID */

/* Section */
main > section {
	padding-top: 55px;
}
main > section > .grid {
	padding-bottom: 55px;
}
section.bg-color {
	background: rgba(29, 53, 87, 0.10);
}

/* Grid */
.grid {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Flexbox */
.flex-grid, .flex-col {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
.flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.col-grid {
	margin-left: -12px;
	margin-right: -12px;
	margin-bottom: -20px;
}
.col-grid > .col-1, .col-grid > .col-2, .col-grid > .col-3,
.col-grid > .col-4, .col-grid > .col-5 {
	width: calc(100% - 24px);
	margin-bottom: 20px;
	margin-left: 12px;
	margin-right: 12px;
}
.col-gap {
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: -40px;
}
.col-gap > .col-1, .col-gap > .col-2, .col-gap > .col-3,
.col-gap > .col-4, .col-gap > .col-5 {
	width: calc(100% - 40px);
	margin-bottom: 40px;
	margin-left: 20px;
	margin-right: 20px;
}

/* Grid - Lista */
.lista {
	padding: 10px 0;
}
.lista .flex-row {
	justify-content: space-between;
	align-items: center;
}
.lista .socials a {
	margin-right: 24px;
}
.lista .kontakty a {
	margin-left: 24px;
}

/* Grid - Header */
header {
	width: 100%;
	padding: 23px 0 22px;
	position: relative;
	border-top: 1px solid rgba(0, 0, 0, 0.20);
	background: rgba(29, 53, 87, 0.03);
}
header .flex-row {
	justify-content: space-between;
	align-items: center;
}
header .menu {
	width: 100%;
	padding: 20px;
	display: none;
	position: absolute;
	top: 88px;
	left: 0;
	background: rgb(210 215 221);
	z-index: 5;
}

/* Grid - Footer */
footer {
	padding: 43px 0 53px;
	background: rgba(29, 53, 87, 0.20);
}
footer .logo {
	margin-bottom: 16px;
	display: block;
}
footer .text {
	margin-bottom: 32px;
}
footer .kontakty a, 
footer .socials a {
	margin-right: 24px;
}
footer .menu {
	margin-bottom: -12px;
	columns: 2;
}
footer .menu a {
	margin-bottom: 12px;
}

/* Grid - Copyright */
.copyright {
	padding: 23px 0 22px;
	font-size: 14px;
	line-height: 20px;
}
.copyright .flex-row {
	justify-content: space-between;
	align-items: center;
}
.copyright img {
    width: auto;
    height: 28px;
    margin-left: 5px;
    object-fit: contain;
}

/* Grid - Flexslider */
.flexslider {
	margin: 0;
	background: transparent;
	border: none;
}
.flexslider ul.slides {
	display: flex;
}
.flexslider ul.slides li.slide {
	display: flex!important;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.flexslider .flex-direction-nav a {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	opacity: 1!important;
	font-size: 0;
	background: #E63946;
	border-radius: 100%;
}
.flexslider .flex-direction-nav a:before {
    width: 8px;
	height: 8px;
    font-size: 0;
    border-width: 2px 2px 0 0;
    border-style: solid;
    border-color: #fff;
}
.flexslider .flex-direction-nav .flex-prev {
	left: -15px!important;
}
.flexslider .flex-direction-nav .flex-prev:before {
	transform: rotate(225deg);
}
.flexslider .flex-direction-nav .flex-next {
	right: -15px!important;
}
.flexslider .flex-direction-nav .flex-next:before {
	transform: rotate(45deg);
}

/* 4 - BLOKY */

.left {
	text-align: left;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}

/* Bloky - Balicky */
.balicky {
	margin-top: 55px;
}
.balicky a {
	border-radius: 20px;
	box-shadow: 0px 3px 10px 0px rgba(18, 35, 82, 0.10);
	transition: box-shadow 0.25s linear;
}
.balicky a:hover {
	box-shadow: 0px 3px 10px 0px rgba(18, 35, 82, 0.30);
}
.balicky a:not(.dark) {
	background: #FFF;
}
.balicky a .flex-col {
    height: calc(100% - 60px);
	margin-bottom: 0;
	padding: 30px;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}
.balicky a .flex-col > div {
	width: 100%;
}
.balicky ul {
	width: 100%;
	padding-top: 27px;
	padding: 27px 0!important;
	border-top: 1px solid #D4D4D4;
}
.balicky ul li {
	font-size: 14px;
}
.balicky .tag {
	position: absolute;
	top: -17px;
	padding: 5px 10px;
	background: #E63946;
	border-radius: 100px;
}
.balicky .text {
	position: relative;
}

/* Bloky - Formular */
.formular {
	border-radius: 20px;
}
.formular a {
	text-decoration: underline;
}
.formular form {
	padding: 54px;
}
.formular .flex-row {
	align-items: center;
}
.formular .wpcf7-list-item {
	margin-left: 0;
}
.formular .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	align-items: center;
}

/* Bloky - Galerie */
.galerie .columns {
	column-gap: 24px;
}
.galerie .obrazek,
.galerie .obrazek + .obrazek {
	margin: 0 0 24px;
}
.galerie .obrazek img {
	width: 100%;
	height: auto;
}

/* Bloky - Hodnoceni */
.hodnoceni .box {
	height: 100%;
}
.hodnoceni .flex-col {
	justify-content: space-between;
}
.hodnoceni h6 {
	margin-bottom: 0;
}
.hodnoceni img {
	width: 60px!important;
	height: 60px!important;
	margin-right: 16px;
	object-fit: contain;
	border-radius: 30px;
}
.hodnoceni .flex-row {
	align-items: center;
}
.hodnoceni .flex-row span {
	margin-top: 4px;
	display: block;
	font-size: 14px;
	line-height: 21px;
}

/* Bloky - Kolaz */
.kolaz img {
	height: 158px;
	border-radius: 20px;
	object-fit: cover;
}
.kolaz .col-grid > .col-2 {
	width: calc(50% - 24px);
}

/* Bloky - Loga */
.loga img {
	width: auto;
	max-height: 80px;
	object-fit: contain;
}

/* Bloky - Mapa */
.mapa .acf-map {
	width: 100%;
	height: 382px;
	border-radius: 20px;
	box-shadow: 0px 3px 10px 0px rgba(18, 35, 82, 0.10);
}
.gm-style .gm-style-iw-c,
.gm-style button {
	background: #FFF!important;
	border-radius: 8px;
    box-shadow: 0px 3px 10px 0px rgba(18, 35, 82, 0.10)!important;
}
.gm-style .gm-style-iw-d {
	padding: 8px;
	font-size: 14px;
	line-height: 20px;
}
.gm-style .gm-style-iw-tc {
	display: none!important;
}
.gmnoprint > div,
.gm-style .gm-style-iw-t button {
	box-shadow: none!important;
	background: transparent!important;
}

/* Bloky - Motiv */
.motiv {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}
.motiv img {
	width: auto;
	height: auto;
	position: relative;
	bottom: -6px;
	object-fit: contain;
	border-radius: 100%;
	z-index: 2;
}
.motiv:before,
.motiv:after {
	content: "";
	width: 401px;
	height: 401px;
	max-width: 70vw;
    max-height: 70vw;
	display: block;
	position: absolute;
	bottom: -15px;
	border-radius: 100%;
	border: 10px solid #1D3557;
	z-index: 1;
}
.motiv:before {
	clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%);
	z-index: 5;
}
.motiv .dekor {
	display: block;
	position: absolute;
	background: #1D3557;
	border-radius: 100%;
}
.motiv .dekor:nth-child(even) {
	background: #E63946;
}
.motiv .dekor:after {
	content: "";
	display: block;
	position: absolute;
	background-color: inherit;
	border-radius: 100%;
}
.motiv #dekor-1 {
	width: 60px;
	height: 60px;
	top: 25px;
	left: 25px;
}
.motiv #dekor-1:after {
	width: 23px;
	height: 23px;
	left: -25px;
}
.motiv #dekor-2 {
	width: 70px;
	height: 70px;
	bottom: -40px;
	left: 0;
}
.motiv #dekor-2:after {
	width: 30px;
	height: 30px;
	top: -35px;
}
.motiv #dekor-3 {
	width: 49px;
	height: 49px;
	top: 35px;
	right: 35px;
}
.motiv #dekor-3:after {
	width: 16px;
	height: 16px;
	right: -20px;
	bottom: -10px;
}
.motiv #dekor-4 {
	width: 56px;
	height: 56px;
	bottom: -40px;
	right: 25px;
}
.motiv #dekor-4:after {
	width: 22px;
	height: 22px;
	top: -20px;
	right: -10px;
}

/* Bloky - Nadpis */
.nadpis.barva h1, .nadpis.barva h2, .nadpis.barva h3,
.nadpis.barva h4, .nadpis.barva h5, .nadpis.barva h6 {
	color: #E63946;
}

/* Bloky - Obrazek */
.obrazek img {
	object-fit: cover;
	object-position: center;
	border-radius: 20px;
}

/* Bloky - Odkaz */
.odkaz {
	margin-top: 16px;
	align-items: center;
	font-weight: 500;
	color: #1D3557;
}
.odkaz:after {
	content: "";
	width: 15px;
	height: 13px;
	margin-left: 8px;
	display: block;
	background-image: url(./assets/icons/arrow.svg);
	background-size: contain;
	background-repeat: no-repeat;
    transition: transform 0.3s ease-out;
}
.odkaz:hover:after {
	transform: translateX(10px);
}

/* Bloky - Prinosy */
.prinosy {
	font-size: 16px;
	text-align: center;
}
.prinosy .cislo {
	width: 42px;
	height: 42px;
	margin: 0 auto 15px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	font-size: 32px;
	line-height: 32px;
	font-weight: 500;
	color: #E63946;
	border: 3px solid;
	border-radius: 100%;
}

/* Bloky - Reference */
.reference {
	font-size: 16px;
	text-align: center;
}
.reference img {
	width: auto;
	height: auto;
	max-width: 70%;
	max-height: 70px;
	object-fit: contain;
}
.reference .dark {
	width: 141px;
	height: 141px;
	margin: 0 auto 16px;
	padding: 20px;
	justify-content: center;
	align-items: center;
	border-radius: 100%;
}
.reference .odkaz {
	justify-content: center;
}

/* Bloky - Text */
.text {
	margin-bottom: 30px;
}
.text a {
	text-decoration: underline;
}
.text ul {
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}
.text li {
	margin-bottom: 8px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.text li:before {
	content: "";
	width: 18px;
	height: 18px;
    margin-right: 8px;
    display: inline-block;
	background-color: rgba(29, 53, 87, 0.10);
    background-image: url(./assets/icons/check.svg);
    background-size: 8px;
	background-position: center;
    background-repeat: no-repeat;
	border-radius: 100%;
}
.bg-color .balicky .text li:before {
	background-color: rgba(29, 53, 87, 0.10);
}

.bg-color .text li:before,
.balicky .dark .text li:before {
	background-color: #FFF;
}

/* Bloky - Tlacitko */
.tlacitko {
	margin-top: 24px;
}

/* MEDIA */
@media (min-width: 768px) {
	h1,
	.formular h2 {
		font-size: 54px;
		line-height: 60px;
	}
	h2 {
		font-size: 41px;
		line-height: 45px;
	}
	#burger {
		margin-left: 24px;
	}
	main > section {
		padding-top: 90px;
	}
	main > section > .grid {
		padding-bottom: 90px;
	}
	.grid {
		padding: 0 40px;
	}
	.col-grid > .col-2, .col-grid > .col-3,
	.col-grid > .col-4, .col-grid > .col-5 {
		width: calc(50% - 24px);
	}
	.col-gap {
		margin-left: -40px;
		margin-right: -40px;
	}
	.col-gap > .col-1, .col-gap > .col-2, .col-gap > .col-3 {
		width: calc(100% - 80px);
		margin-left: 40px;
		margin-right: 40px;
	}
	.col-gap > .col-4, .col-gap > .col-5 {
		width: calc(50% - 80px);
	}
	.kontakty a, .socials a {
		font-size: 14px;
		line-height: 20px;
		color: #1D3557;
	}
	footer {
		padding: 86px 0 96px;
	}
	.copyright .menu {
		display: flex;
	}
	.copyright .menu a {
		margin-left: 32px;
	}
	.galerie .columns {
		columns: 2;
	}
	.kolaz img {
		height: 288px;
	}
	.mapa .acf-map {
		height: 582px;
	}
	.motiv #dekor-1 {
		width: 121px;
		height: 121px;
		top: 50px;
		left: 50px;
	}
	.motiv #dekor-1:after {
		width: 46px;
		height: 46px;
		left: -50px;
	}
	.motiv #dekor-2 {
		width: 141px;
		height: 141px;
		bottom: -80px;
	}
	.motiv #dekor-2:after {
		width: 60px;
		height: 60px;
		top: -70px;
	}
	.motiv #dekor-3 {
		width: 98px;
		height: 98px;
		top: 70px;
		right: 70px;
	}
	.motiv #dekor-3:after {
		width: 33px;
		height: 33px;
		right: -40px;
		bottom: -20px;
	}
	.motiv #dekor-4 {
		width: 113px;
		height: 113px;
		bottom: -80px;
		right: 50px;
	}
	.motiv #dekor-4:after {
		width: 44px;
		height: 44px;
		top: -40px;
		right: -20px;
	}
}

@media (min-width: 1024px) {
	main > section {
		padding-top: 110px;
	}
	main > section > .grid {
		padding-bottom: 110px;
	}
	.flex-grid {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	.col-grid > .col-2 {
		width: calc(50% - 24px);
	}
	.col-grid > .col-3, .col-grid > .col-5 {
		width: calc(33.33% - 24px);
	}
	.col-gap > .col-2 {
		width: calc(50% - 80px);
	}
	.col-gap > .col-3, .col-gap > .col-5 {
		width: calc(33.33% - 80px);
	}
	#burger {
		display: none;
	}
	header .menu {
		padding: 0;
		display: flex;
		flex-direction: row;
		position: relative;
		top: 0;
		background: transparent;
	}
	header .menu a {
		margin-bottom: 0;
		margin-left: 24px;
	}
	header .menu li.current_page_item a {
		font-weight: 500;
	}
	footer {
		padding: 69px 0 79px;
	}
	footer .menu {
		margin-bottom: -36px;
	}
	.galerie .columns {
		columns: 3;
	}
	.motiv {
		min-width: 550px;
		position: relative;
	}
	.col-gap > first:last-child .motiv {
		right: -100px;
	}
	.col-gap > div:last-child .motiv {
		left: -100px;
	}
	.prispevky .flex-col {
		height: calc(100% - 24px);
	}
}

@media (min-width: 1360px) {
	h1,
	.formular h2 {
		font-size: 64px;
		line-height: 70px;
	}
	.col-grid > .col-4 {
		width: calc(25% - 24px);
	}
	.col-grid > .col-5 {
		width: calc(20% - 24px);
	}
	.col-gap > .col-4 {
		width: calc(25% - 80px);
	}
	.col-gap > .col-5 {
		width: calc(20% - 80px);
	}
	.motiv {
		left: auto!important;
		right: auto!important;
	}
}

@media (min-width: 1700px) {
	h1 {
		font-size: 82px;
		line-height: 90px;
	}
	h2 {
		font-size: 64px;
		line-height: 70px;
	}
}