﻿/*
Theme Name: techka theme
Author: Tomáš Hlad & techka s.r.o.
Author URI: https://www.techka.cz
Description: Šablona vytvořena Tomášem Hladem a společností techka s.r.o. Více na www.tomashlad.eu a www.techka.cz
Version: 1.0
License: techka s.r.o.
*/
html, body {
	font-family: "Rubik", sans-serif;
	font-size: 15px;
	margin:0;
	padding:0;
}	

body:not(.home) {
	padding-top: 130px;
}

div {
	box-sizing: border-box;
}

* {
	color:#274056;
}

p, li {
	font-size: 15px;
	line-height: 160%;
}

img {
	border-radius: 20px;
	max-width: 100%;
}

a {
	text-decoration: none;
	color:#4077BB;
}

a:hover {
	text-decoration: underline;
}

body {
	background-size: 100% auto;
	background-repeat: no-repeat;
}

.btn, input[type=submit] {
	display: initial;
	padding: 15px 20px;
	justify-content: center;
	align-items: center;
	gap: 10px;
	border-radius: 100px;
	background: #4077BB;
	color:white;
	transition: all .2s ease-in-out;
	display:inline-block;
	cursor: pointer;
	-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn:hover, input[type=submit]:hover {
	background: #274056;
	text-decoration: none;
}

input:not([type="checkbox"]), textarea {
	-webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  font-size: 15px;
  font-family: "Rubik", sans-serif;
  width: 100%;
  box-sizing: border-box;
}

textarea {
	height: 150px;
}

input[type=submit] {
	border: none;
	font-family: "Rubik", sans-serif;
	font-size: 15px;
	border-radius: 100px;
	padding: 15px 20px !important;
	margin-top:10px;
	width: auto;
}

.wpcf7-list-item {
	margin-left: 0 !important;
	padding-left: 0;
}

.container {
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	max-width: 1480px;
	margin-left:auto;
	margin-right:auto;
	align-items: center;
	box-sizing: border-box;
}

#header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#header .nav ul {
	padding:0;
	margin:0;
	display:flex;
	align-items: center;
}

#header .nav ul li {
	font-size: 15px;
	display:flex;
}

#header .nav ul li a {
	display:flex;
	padding: 8px 15px;
	justify-content: center;
	border-radius: 100px;
	transition: all .2s ease-in-out;
	color:#274056;
}

#header .nav ul li img {
	width:17px;
	height:25px;
	object-fit: contain;
	margin-left:10px;
	cursor: pointer;
}

#wpadminbar {
	display: none;
}

#header .nav ul li a:hover {
	background-color:#4077BB;
	color:white;
	text-decoration: none;
}

#header {
	padding: 40px 0px;
	position: fixed;
	top:0;
	left:0;
	/*background:#F3F8FB;*/
	width: 100%;
	z-index: 999;
	transition: all .3s ease-in-out;
}

body:not(.home) #header {
	background: rgba(237, 246, 252, 0.80);
}

.scrolled #header {
	background: rgba(237, 246, 252, 0.80);
	padding: 10px 0;
}

#claim>img {
	border-radius: 0;
	width: 100%;
	height:auto;
	min-height: 500px;
	object-fit: cover;
}

#claim {
	position: relative;
}

#claim .container>div {
	position: absolute;
	top:50%;
	left:0%;
	transform: translate(0%,-50%);
	width: 100%;
	max-width: 100%;
	padding: 0 20%;
	text-align: center;
}

h1 {
	font-size:58px;
	font-weight: 500;
}

#claim p {
	margin-top:40px;
}

h2 {
	color: #4077BB;
	font-size: 32px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: uppercase;
}

.headline {
	color: #274056;
	font-size: 42px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom:-20px;
}

.shortinfo {
	width: 33.33%;
	padding-right:50px;
}

.shortinfo h2 {
	margin-bottom:10px;
	margin-top:0;
}

.shortinfo p {
	margin-top:40px;
}

#news {
	padding: 80px 0px;
}

#news .container {
	display:flex;
	flex-flow: row wrap;
}

#news .list {
	width: 66.66%;
	display:flex;
	flex-flow: row wrap;
	gap:20px;
}

#news .list>div {
	width: calc(50% - 10px);
	padding: 40px;
	border-radius: 20px;
	background: #FFF;
	box-shadow: 10px 10px 40px 0 rgba(39, 64, 86, 0.10);
	transition: all .1s ease-in-out;
}

#news .list>div:hover {
	box-shadow: 10px 10px 40px 0 rgba(39, 64, 86, 0.20);
}

.btn.secondary {
	color: #4077BB;
	background:transparent;
	border: 1px solid #4077BB;
	padding: 10px 20px;
}

.btn.secondary:hover {
	background:#4077BB !important;
	color:white;
}

#news .list>div p {
	padding-bottom: 15px;
	color:#84909A;
	font-size: 14px;
}

#news .list>div h3 {
	color: #274056;
	font-size: 22px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	color:#274056;
}

#news .list>div h3 a {
	color: #274056;
}

#news .list>div h3:before {
	content:"";
	width:44px;
	height:44px;
	background-image: url(images/news.svg);
	display: block;
	margin-bottom: 15px;
}

#news .list>div h3 {
	margin-top:0;
}

#events h2 {
	text-align: center;
	margin-bottom:0;
	margin-top:0;
}

#events .headline {
	text-align: center;
}

#events {
	padding: 80px 0;
	background: #F3F8FB;
}

#events .list {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
	margin-top: 50px;
}

#events .list>div {
	width: calc(20% - 16px);
	padding: 20px;
	background:white;
	box-shadow: 10px 10px 40px 0 rgba(39, 64, 86, 0.10);
	border-radius: 20px;
	transition: all .2s ease-in-out;
}

#events .list>div:hover {
	box-shadow: 10px 10px 40px 0 rgba(39, 64, 86, 0.20);
}

#events .container>p {
	text-align: center;
	margin-top:50px;
}

#events .list>div h3 {
	font-size: 18px;
	font-weight: 500;
	margin-top:0;
}

#events .list>div h3:before {
	content:"";
	width:44px;
	height:44px;
	background-image: url(images/events.svg);
	display: block;
	margin-bottom: 15px;
}

#events .list>div ul {
	padding: 0;
	margin: 0;
}

#events .list>div ul li {
	display: block;
	background-color: #F3F8FB;
	padding: 5px 10px;
	display:flex;
	font-size: 14px;
	margin-bottom: 10px;
}

#events .list>div ul li strong {
	width: 85px;
	display: inline-block;
	box-sizing: border-box;
}

#events .list>div ul li small {
	font-size: 14px;
	width: 100%;
}

#events .list>div>a {
	margin-top:10px;
}

#footer .container {
	display: flex;
	flex-flow: row wrap;
}

#footer .container>div {
	width: 25%;
	padding: 20px;
	align-self: flex-start;
	padding-left: 0;
}

#footer {
	padding-top: 80px;
}

#footer h4 {
	margin-top: 0;
}

#footer .container>div ul {
	margin: 0;
	padding:0;
}

#footer .container>div ul li {
	display: block;
	line-height: 200%;
	font-size: 14px;
}

#footer .container>div ul li a {
	color: #274056;
	font-size: 14px;
}

#footer .container>div p {
	line-height: 200%;
	margin:0;
	font-size: 14px;
}

#footer .container>div h4 {
	font-size: 20px;
	font-weight: 500;
}

#footer .container>div ul li a:hover {
	color:#4077BB;
}

#signature .container {
	text-align: center;
}

#signature {
	padding-top: 60px;
	padding-bottom: 60px;
}

#signature p {
	margin: 5px;
	font-size: 13px;
}

#signature img {
	margin-bottom: 50px;
}

#claim .container>div p {
	margin-bottom: 40px;
}

#content h1 {
	font-size: 42px;
}

#content {
	padding-top: 20px;
}

.events-in ul {
		padding: 0;
		margin:0;
}

.events-in ul li {
	  display: block;
    background-color: #F3F8FB;
    padding: 5px 10px;
    display: flex;
    font-size: 14px;
    margin-bottom: 10px;
}

.events-in ul li strong {
		width: 85px;
    display: inline-block;
    box-sizing: border-box;
}

.events-in ul li small {
		font-size: 14px;
    width: 100%;
}

#content #news {
	padding: 0;
}

#content #news .list>div {
	width: calc(33.33% - 20px);
}

#content #news .list {
	width: 100%;
}

#content #events {
	padding: 0;
	background:transparent;
}

#content .container>details.wp-block-details {
	display: flex;
	padding: 20px;
	flex-direction: column;
	align-self: stretch;
	border-radius: 20px;
	background: #FFF;
	box-shadow: 10px 10px 40px 0 rgba(39, 64, 86, 0.10);
	margin-bottom: 20px;
}

#content .container>details.wp-block-details>summary {
	font-size: 18px;
	font-weight: 500;
	color:#274056;
}

#content .container>details.wp-block-details>details {
	display: flex;
	padding: 5px 10px;
	justify-content: space-between;
	align-items: center;
	align-self: stretch;
	background: #F3F8FB;
	margin-top: 10px;
	width: 100%;
	flex-flow: row wrap;
}

#content .container>details.wp-block-details>details>summary {
	width:100%;
	font-weight: 600;
}

#content p strong, #content p b {
	font-weight: 500;
}

#header .container {
	position: relative;
}

#searchform {
	position: absolute;
	top:6;
	right:50px;
	display:none;
}

.search-active #searchform {
	display: block;
}

#searchform>div {
	position: relative;
}

#searchform>div input[type=text] {
	padding-left: 20px;
	width:280px;
	max-width: 80%;
	border-radius: 20px 0 0 20px;
}

#searchform>div input[type=submit] {
	position: absolute;
	top:0;
	right:0;
	margin:0;
	height: 40px;
	padding: 0 15px !important;
}

.wpcf7-quiz {
	display:inline-block !important;
	width: 50px !important;
	margin-left: 10px;
}


@media (max-width:1280px) {
	#header .nav ul {
		background: white;
		display: block;
		position: absolute;
		top:0;
		right:0;
		padding: 20px;
		border-radius: 20px;
		box-shadow: 10px 10px 70px 0 rgba(39, 64, 86, 0.20);
		display:none;
		width: 200px;
		top: 40px;
	}

	#header .nav ul.active {
		display: block;
	}

	#header .nav ul li {
		text-align: right;
	}

	#header .nav ul li a {
		width: 100%;
		background: none !important;
		color: #274056 !important;
		justify-content: end;
	}

	#header .nav ul li a:hover {
		text-decoration: underline;
	}

	#header .nav {
		position: relative;
		cursor: pointer;
	}

	#header .nav:before {
		content:"";
		background-image: url(images/menu.svg);
		width:71px;
		height:24px;
		display:block;
		margin-left: 40px;
	}

	#claim .container>div {
		text-align: center;
		z-index: 1;
	}

	h1 {
		font-size: 38px;
	}

	#claim {
		position: relative;
	}

	#claim:before {
		background-color: rgba(255, 255, 255, 0.5);
		content:"";
		width:100%;
		height:100%;
		position: absolute;
		left: 0;
		top:0;
		z-index: 1;
	}

	#claim .container>div p {
		display: none;
	}

	#events .list>div {
		width: calc(33% - 11px);
	}

	#header .nav ul li img {
		display: none;
	}
}

@media (max-width:890px) {
	.shortinfo {
		width: 100%;
		padding-bottom: 20px;
	}

	h2 {
		font-size: 22px;
	}

	.headline {
		font-size: 32px;
	}

	#news .list {
		width: 100%;
	}

	#news .list>div h3 {
		font-size: 18px;
	}

	#events .list>div {
		width: calc(50% - 10px);
	}

	#footer .container>div {
		width: 50%;
	}

	#content #news .list>div {
		width: calc(50% - 10px);
	}

}

@media (max-width:520px) {
	h1 {
		font-size: 30px;
	}

	#news .list>div, #events .list>div {
		width: 100%;
	}

	#footer .container>div {
		padding-left: 0;
	}

	#content #news .list>div {
		width: 100%;
	}
}

#news .list>div h3:before {float:left;margin-right:10px;display:none;}
#news .list>div p {display:none;}
#news .list .btn {display:none;}
#news .list>div {padding:20px;border-radius:10px;}


.popular-posts, ul.years {
	background-color:rgba(237, 246, 252, 0.80);
	padding:20px;
	margin-right:20px;
	margin-bottom:50px;
	border-radius: 20px;
}

.popular-posts h2 {
	margin-top:0;font-size:22px;margin-top:0;
	color:black;
}

.popular-posts ul, ul.years {
	margin:0;
	padding:0;
	display:flex;
	flex-flow: row wrap;
}

.popular-posts ul.wpp-list li {
	width: 16.666%;
	padding:5px 10px;
	box-sizing:border-box;
	border-left:2px solid black;
	display:flex;
	margin:0 !important;
	margin-bottom:10px !important;
	flex-flow:row wrap;
}

.wpp-meta, .post-stats {
	width:100%;
}

.years {
	padding:20px !important;
	margin-bottom:50px !important;
}

.years li {
	display:flex;
	padding:0;
	margin:0;
	margin-right:10px;
	margin-bottom:10px;
}

.years li a {
	border-radius:10px;
	background-color:white;
	font-size: 18px;
	font-weight: 600;
	padding:10px;
	width: 80px;
	text-align: center;
	box-sizing: border-box;
}

.popular-posts a, .years a {
	color:#274056;
}

@media (max-width:850px) {
	.popular-posts.wpp-ajax ul.wpp-list li {
	width: 50%;
}
}

@media (min-width:1280px) {
	#header .nav ul li.menu-item-3251 a {
		color:white;
		background-color:#4077BB;
		padding: 5px 15px;
	}

	#header .nav ul li.menu-item-3251 {
		position: absolute;
		top:60px;
		right:20px;
	}

	.scrolled #header .nav ul li.menu-item-3251 {
		top: 40px;
	}

	.scrolled .nav {
		margin-top:-30px;
	}
}





