/*
Theme Name: max-media
Author: fafik
Author URI: http://www.archa.cz
Description: zákaznická šablona
Version: 1.1
License: GNU General Public License
License URI: license.txt
*/

/* ------------------------- RESET ------------------------------ */
body, div, h1, h2, h3, h4, p, ul, li, form { margin:0; padding:0; }
div, h1, h2, h3, h4, p, li, th, td, input, select, option, textarea { font: inherit; }
a img { border:none; }

html {
	overflow-y: scroll;
	scroll-snap-points-y: repeat(100vh);
	scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
* {
	box-sizing:border-box;
}

/* ------------------------- BASIC ------------------------------ */
:root {
	--oranz: #FFA226;
	--seda: #58585a;
  --basic-font: 'Inter', sans-serif;
}
body {
  font-family:sans-serif;
	font-family:var(--basic-font);
  font-size:20px;
  line-height: 1.3em;
  margin:0 auto;
  text-align:center;
  background:#000;
	color:#fff;
}
h1, h2, h3, h4 {
  font-weight:bold;
  line-height:1.1em;
}
h1, .h1 {
	color:#333;
	font-size:60px;
  margin:1em 0;
}
h2 {
	font-size:60px;
  margin: 1em 0;
  text-align: center;
}
h3 {
	font-size:30px;
	margin:2em 0 1em 0;
}
h4 {
	font-size:22px;
  margin:0.5em 0;
}
p {
  margin-bottom:1em;
}
a, a:visited, a:hover {
	color: #fff;
}
a,  a:visited { text-decoration:none; }
a:hover { text-decoration:underline; }
.fr { float:right; }
.fl { float:left; }
.cb { clear:both; }
.left { text-align:left; }
.center { text-align:center; }
.right { text-align:right; }
span.break { display:block; }

.container {
  width:1260px;
  margin:0px auto;
  text-align:center;
  padding:0;
}

/* ------------------------ WORDPRESS BASIC ---------------------------- */
.my-logo div{
  width: 32px;
  height: 32px;
  background-image: url("./assets/css/custom-logo.png") no-repeat;
}
a.post-edit-link, a.post-edit-link:visited {
  float:right;
  text-transform:uppercase;
}

/* ------------------------- MENU ------------------------------ */
#topmenu {
  margin-top: 3em;
	text-align: center;
}
#topmenu li {
	display:inline-block;
  margin: 0 2.5em;
  list-style-type: none;
  /*position: relative;
  background-color: transparent;*/
}
#topmenu li.mobile {
	display:none;
}
/*
#topmenu li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
	padding:0.5em 1em;
  box-shadow: 0 0 17px 3px var(--oranz),0 0 4px 2px var(--oranz);
  z-index: -1;
  animation-name: gradient-shadow;
  animation-timing-function: ease;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  border-radius: 5px;
}
*/
#topmenu li a, #topmenu li a:visited {
  padding: 0.6em 3em;
	border: 2px solid #fff;
	font-size:23px;
	font-weight:bold;
  /*border-radius: 10px;*/
	color:#fff;
}
#topmenu li a:hover {
  /*background: var(--oranz);
  border-color: var(--oranz);
  color: #000;*/
  text-decoration: none;
  /*background: var(--oranz);
  color: #050801;*/
  border: 2px solid var(--oranz);
  box-shadow: 0 0 5px var(--oranz), 0 0 10px var(--oranz), 0 0 20px var(--oranz), 0 0 40px var(--oranz);
	/* https://codepen.io/NikhilBobade/pen/vYxKLaP */
}
#closebtn,
#topmenu li.icon {
  display: none;
}
#menu_icon {
	display:none;
}

/* ------------------------- HOMEPAGE ------------------------------ */
/*
#sidemenu {
  position:fixed;
  top:3em;
  right:0;
	transform:0.5s all;
}
#sidemenu ul {
  list-style:none;
  margin:0;
	padding:0;
}
#sidemenu li {
  display:inline-block;
	cursor:pointer;
  padding:5px 12px;
	font-size:16px;
  text-decoration:none;
	text-align:left;
}
#sidemenu li.active {
  background:var(--oranz);
	color:#000;
}
*/
section.slide {
  margin:0;
	padding:0;
  min-height:100vh;
}


a.logo, a.logo:visited {
  display: inline-block;
	margin:0 auto 3em auto;
}
a.logo img {
  display: block;
	width:600px;
}
section {
	min-height:100vh;
	display:flex;
	justify-content:center;
	align-items:center;
}
#intro {
  background:url('assets/css/paprsek.png') top right no-repeat;
  /*filter: blur(40px);
	opacity:0.7;*/
}
/*#intro .light {
  position: absolute;
  width: 1600px;
  height: 700px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.6) 10%,rgba(255, 255, 255, 0.2) 35%, rgba(255, 255, 255, 0) 60%);
  right: -300px;
  top: -200px;
  transform:rotate(-35deg);
  filter: blur(40px);
	opacity:0.7;
}*/
#o-nas .box {
  width: 800px;
  margin: 0 auto;
  padding: 1em 3em;
	background-image:linear-gradient(to bottom left, #525252, #2d2d2d);
  /*border-radius: 30px;*/
	text-align:center;
	color:#fff;
}
#o-nas img {
	width:500px;
	margin:50px 0 20px 0;
}
#o-nas .box.in_view {
  animation:move 0.9s ease;
}
#o-nas .box.in_view::before {
  animation:move 1s ease;
}
#o-nas .box.in_view h2,
#o-nas .box.in_view h3 {
  animation:move-with-opacity 1s ease;
}
#o-nas .box.in_view p {
  animation:move-with-opacity 0.7s ease;
}
#o-nas h2 {
	margin:0.5em 0;
}
/*#o-nas h2::before {
  content:'';
	display: block;
	margin:0 auto 0.5em auto;
	width:200px;
	height:200px;
	background:url('assets/css/logo_black.svg') top center no-repeat;
  background-size:200px;
}*/
#o-nas h3 {
	/*color: var(--oranz);
	margin: 1em auto;
  background: #000;
  border-radius: 1em;
  padding: 0.4em 1em;
  display: inline-block;
	*/
  font-size: 27px;
}
#sluzby article {
	display:flex;
	justify-content:center;
	align-items:flex-start;
  margin-top:5em;
}
#sluzby article .wp-block-group {
	flex-basis:33.3%;
	margin:0 1em;
  background-image: linear-gradient(to bottom left, #525252, #2d2d2d);
  /*border-radius: 30px;*/
	color:#fff;
	text-align:center;
}
#sluzby article .wp-block-group::before {
	content:'';
	display:block;
	width:120px;
	height:120px;
  margin: -60px auto 0 auto;
	border-radius:50%;
	background-color:#000;
  background-position:center;
  background-repeat:no-repeat;
  background-size:70px;
}
#sluzby article .wp-block-group:nth-child(1)::before { background-image:url('assets/css/ico-max.svg'); }
#sluzby article .wp-block-group:nth-child(2)::before { background-image:url('assets/css/ico-media.svg'); }
#sluzby article .wp-block-group:nth-child(3)::before { background-image:url('assets/css/ico-marketing.svg'); }

#sluzby h2 {
	margin-top:0;
}
#sluzby article .wp-block-group h3 {
	margin-top:1.5em;
}
#sluzby article .wp-block-group h3 a, #sluzby article .wp-block-group h3 a:visited {
  width: 240px;
	margin: 0 auto;
  background: #000;
  /*border-radius: 1em;*/
  padding: 0.4em 1em;
  display: inline-block;
  color: var(--oranz);
}
#sluzby article .wp-block-group h3 a:hover {
	text-decoration:none;
}
#sluzby article .wp-block-group ul {
	padding:0 1.5em 1.5em 3em;
  text-align:left;
}
#sluzby article .wp-block-group ul li {
	margin-bottom:0.5em;
}
#sluzby article .wp-block-group ul li::marker {
  font-size: 1.5em;
}
#sluzby article .wp-block-group.in_view::before {
  animation:move 0.9s ease;
}
#sluzby article .wp-block-group:hover.in_view::before {
  box-shadow: 0 0 5px var(--oranz), 0 0 10px var(--oranz), 0 0 20px var(--oranz), 0 0 40px var(--oranz);
}
#sluzby article .wp-block-group.in_view h3,
#sluzby article .wp-block-group.in_view ul {
  animation:move-with-opacity 1s ease;
}
#kontakt .container {
	display:flex;
	justify-content:center;
	align-items:center;
}
#kontakt .logo_left {
	padding-right:4em;
}
#kontakt .logo_left img {
	width:400px;
}
#kontakt .box {
  width: 600px;
  padding: 2em 3em;
  background-image: linear-gradient(to bottom left, #525252, #2d2d2d);
	color: #fff;
	text-align:left;
}
#kontakt .box::before {
	content:'';
	display:block;
	width:120px;
	height:120px;
  margin: -100px auto 0 auto;
	border-radius:50%;
	background-color:#000;
  background-position:center;
  background-repeat:no-repeat;
  background-size:70px;
	background-image:url('assets/css/ico-globe.svg');
}
#kontakt .box.in_view:hover::before {
  box-shadow: 0 0 5px var(--oranz), 0 0 10px var(--oranz), 0 0 20px var(--oranz), 0 0 40px var(--oranz);
}
#kontakt .box.in_view::before {
  animation:move 0.9s ease;
}
#kontakt .box.in_view h2 {
  margin: 0.5em 0;
	animation:move-with-opacity 1s ease;
}
#kontakt article {
	padding-left:3em;
}
#kontakt article p {
  padding-left:85px;
}
#kontakt article p.phone {
	line-height: 0.5em;
  font-size: 1.2em;
}
#kontakt article p::before {
	content: '';
  display: inline-block;
  width: 65px;
  height: 65px;
  margin: 0 15px 0 -80px;
  border-radius: 50%;
  vertical-align: middle;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50px;
}
#kontakt p.phone::before { background-image:url('assets/css/ico-phone.svg'); }
#kontakt p.mail::before { background-image:url('assets/css/ico-mail.svg'); }

@keyframes move-with-opacity {
  0% {
		opacity:0;
		transform: translateY(-70px);
	}
  100% {
		opacity:1;
		transform: translateY(0px);
	}
}
@keyframes move {
  0% {
		transform: translateY(-50px);
	}
  100% {
		transform: translateY(0px);
	}
}

/* ------------------------- SLIDER ------------------------------ */
/*
#news h2 {
  position: relative;
}
#news a.vse, #news a.vse:visited {
  float: right;
}
.nav-links {
	text-align:center;
}
.nav-links .page-numbers {
	margin:0 7px;
}
#news .owl-theme .owl-nav {
  z-index: 999;
}
#news .owl-carousel .owl-nav.disabled,
#news .owl-carousel .owl-dots.disabled {
  display:block;
}
#news .owl-item .slide {
	display:flex;
}
#news .owl-item .img_cont,
#news .owl-item .text_cont {
	flex-basis:50%;
}
#news .owl-item .img_cont {
	width:260px;
	height:175px;
  overflow: hidden;
}
#news .owl-item .img_cont img {
  transition: transform .3s ease;
}
#news .owl-item:hover .img_cont img {
  transform: scale(1.05);
}
#news .owl-nav button {
	width:25px;
	height:25px;
}
#news .owl-carousel .owl-nav button.owl-prev span, #news .owl-carousel .owl-nav button.owl-next span {
  display:none;
}
#news .owl-nav .owl-prev {
	background:url('assets/css/slider_prev.svg') center left no-repeat;
  background-size:30px;
}
#news .owl-nav .owl-next {
	background:url('assets/css/slider_next.svg') center left no-repeat;
  background-size:30px;
}
*/


/* ------------------------- SINGLE ------------------------------ */
.sloupce2 {
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
  -moz-column-gap: 2em;
  -webkit-column-gap: 2em;
  column-gap: 2em;
	text-align:left;
  margin: 20px 0;
}
.wp-block-image {
  display: inline;  /* jinak obrazek vlozeny do sloupce2 blokuje to zalomeni do 2 sloupcu */
}
.map-responsive{
  overflow:hidden;
  position:relative;
  width:100%;
  height:300px;
  margin-bottom: 2em;
}
.map-responsive iframe{
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

/* ------------------------- FORM ------------------------------ */
.wpcf7-form {
  width:100%;
  padding:0;
  margin: 0 auto 2em auto;
}
.wpcf7-form p {
  text-align:left;
}
.wpcf7-form h2 {
	margin-top:0;
}
.wpcf7-form .blok {
  float:left;
  width:100%;
}
.wpcf7-form .first {
	margin-right:2%;
}
.wpcf7-form div {
  line-height:30px;
}
.wpcf7-form label {
  line-height: 30px;
}
.wpcf7-form input,
.wpcf7-form textarea {
  width:100%;
  padding:0 10px;
  line-height:1.5em;
  border:1px solid #bcbcbd;
}
.wpcf7-form input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}
.wpcf7-form textarea {
  height:150px;
  line-height: 1.3em;
  padding-top: 6px;
}
.wpcf7-form input[type="submit"]{
  margin: 0 0 10px 0;
  border:none;
  background:var(--tyrkys);
  color:white;
  text-transform:uppercase;
  line-height:1em;
	padding: 10px 15px 7px 15px;
  border-radius: .25rem;
}
.wpcf7-form input[type="submit"]:hover{
	cursor:pointer;
}
.wpcf7 .screen-reader-response {
	display:none;
}
.wpcf7-form .wpcf7-response-output {
  margin:20px 0;
  padding:0;
}
.wpcf7-form .wpcf7-response-output:empty {
	display:none;
}
.wpcf7-validation-errors,
.wpcf7-not-valid-tip {
	color:red;
}
.grecaptcha-badge { visibility: hidden !important; }

/* ------------------------- FOOTER ------------------------------ */
#footer {
  padding: 0.5em 0;
}
#footer a, #footer a:visited {
}

/* ------------------------- COOKIES (-settings) a LISTA (-alert) ------------------------------ */
#cookies-alert {
  display: block;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 1em 2em;
  z-index: 9999999;
	color:#999;
  border-top: 1px solid #666;
}
#cookies-alert p {
  margin-bottom: 0.5em;
}
#cookies-settings p {
	margin-bottom:0;
}
#cookies-alert .button,
#cookies-settings .button {
  border:none;
	text-transform:uppercase;
	display:inline-block;
}
#cookies-alert .button:hover,
#cookies-settings .button:hover {
  text-decoration:none;
}
#cookies-alert .button {
  margin: 0;
  padding: 8px 15px;
 	display: inline-block;
	color:#fff;
}
#cookies-alert .button:hover {
	color:var(--modra);
	background:#fff;
}
#cookies-settings .button {
  margin: 0 30px 0 0;
	padding: 0;
  font-weight: bold;
}
#cookies-settings .button:hover {
  color:var(--seda);
}
#cookies-settings .group h2 {
	text-align:left;
	margin-bottom:0.5em;
  font-size: 26px;
}
#cookies-settings .group p {
	padding-left:80px;
}
.buttons {
  overflow: auto;
	line-height: 3em;
	padding-left:80px;
  margin-top: 20px;
}
.switch, .switch-item {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 60px;
  height: 30px;
  margin-right:20px;
}
.switch input, .switch-item input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider, .slider-item {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--seda);
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before, .slider-item:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 5px;
  bottom: 3px;
  background-color: #fff;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider, input:checked + .slider-item {
  background-color: var(--tyrkys);
}
input:checked + .slider:before {
  -webkit-transform: translateX(25px);
  -ms-transform: translateX(25px);
  transform: translateX(25px);
}
input:checked + .slider-item:before {
  -webkit-transform: translateX(-8px);
  -ms-transform: translateX(-8px);
  transform: translateX(-8px);
}
input#cookieset_nutne:checked + .slider {  cursor: default;	}
input#cookieset_nutne:checked + .slider::before {	opacity: 0.5; /* nutne cookies */	}
.slider.round {	border-radius: 34px;	}
.slider-item.round { border-radius: 22px;	}
.slider.round:before, .slider-item.round:before {	border-radius: 50%;	}
