/*
červená #e63433
*/

@font-face {
    font-family: 'ethnocentricregular';
    src: url('../font/ethnocentric_rg-webfont.eot');
    src: url('../font/ethnocentric_rg-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/ethnocentric_rg-webfont.woff2') format('woff2'),
         url('../font/ethnocentric_rg-webfont.woff') format('woff'),
         url('../font/ethnocentric_rg-webfont.ttf') format('truetype'),
         url('../font/ethnocentric_rg-webfont.svg#ethnocentricregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

* {margin: 0; padding: 0; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}
body {font-family: "Oswald", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; background: #fff url(../img/bg_box.jpeg) center center; background-attachment: fixed; background-size: cover; overflow: overlay;}
input, textarea, button {-webkit-appearance: none;-moz-appearance: none;appearance: none; border-radius: 0;}
a {text-decoration: none;}
h1, h2 {font-family: "Biryani", serif; font-weight: 200; font-style: normal;}

#obal {display: block; position: relative; top: 0; left: 0; width: calc(100vw); height: calc(100vh); margin: auto;}

#header {position: absolute; top: 0; left: 0; width: calc(100vw); height: auto; z-index: 10000; background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));}

.logo {position: relative; display: block; float: left; height: auto; padding: 60px 20px 20px 20px; z-index: 4000;}
.logo img {width: 100%; max-width: 100%; height: auto;}

.burger {display: block; position: absolute; top: 21px; right: 25px; width: 50px; height: 50px; cursor: pointer; background-color: transparent; transition: all 500ms; transition: all 500ms; transition-timing-function: ease-in-out; cursor: pointer; z-index: +2; color: #fff; z-index: 5000;}
.burger span {display: none; position: absolute; top: 12px; right: 40px; background-color: transparent; transition: all 500ms; transition: all 500ms; transition-timing-function: ease-in-out; cursor: pointer; z-index: +2; color: #fff; text-shadow: #000 0px 1px 2px;}
.burger img {width: 100%; max-width: 100%; height: auto;}

#menu {display: none;}

.close {display: block; position: absolute; top: 20px; right: 20px; height: 50px; width: 50px; color: transparent; line-height: 50px; cursor: pointer;}
.close img {width: 100%; max-width: 100%; height: auto;}

#main_menu {display: block; width: calc(100vw); height: calc(100vh); position: fixed; top: 0; left: 0; z-index: -1; opacity: 0; background: #000; text-align: right;}
#main_menu ul {width: 100%; padding: 100px 0 0; list-style-type: none;}
#main_menu ul li {margin: 10px 30px 0 0;}
#main_menu ul li a {font-family: "Biryani", serif; font-weight: 200; font-style: normal; color: #fff; text-transform: uppercase; font-size: 1.2em; -webkit-transition: all 360ms; transition: all 360ms; transition-timing-function: ease-in-out;}
#main_menu ul li a:hover {color: #e63433;}

#slideshow {display: block; position: relative; top: 0; left: 0; width: calc(100vw); height: calc(100vh); margin: auto; z-index: 500;}
.slide {display: block; position: relative; width: calc(100vw); height: calc(100vh); overflow: hidden;}
.slide_text {display: block; position: absolute; bottom: 20px; right: 20px; width: 100%; height: auto; z-index: 400; font-size: 1em;}
.slide_text h1 {display: block; float: right; color: #fff; margin-bottom: 10px; font-size: 1em; text-shadow: #000 1px 1px 1px;}
.slide_text p {display: block; float: none; max-width: 400px; color: #fff; line-height: 1.6em; clear: both; margin-bottom: 20px;}
.slide_text a {display: block; float: right; background: #e63433; color: #fff; padding: 10px 20px; -webkit-transition: all 360ms ease-out; -moz-transition: all 360ms ease-out; -o-transition: all 360ms ease-out; transition: all 360ms ease-out; text-decoration: none; text-transform: uppercase; font-size: 0.8em;}
.slide_text a:hover {background: #000;}
.slide img {width: 100%; max-width: 100%; min-height: 100vh; object-fit: cover; height: -webkit-fill-available;}

#tlacitka {position: absolute; top: 20px; left: 20px; width: auto; height: 35px; text-transform: uppercase; z-index: 11000;}

.telefon, .navigace {position: relative; display: block; width: 35px; height: 35px; float: left; background: inherit; color: #fff; -webkit-transition: all 360ms ease-out; -moz-transition: all 360ms ease-out; -o-transition: all 360ms ease-out; transition: all 360ms ease-out; text-decoration: none; text-transform: uppercase; font-size: 0.8em;}
.telefon img, .navigace img {position: absolute; top: 0; left: 0; width: 35px; height: 35px;}
.telefon span, .navigace span {display: none;}
.telefon:hover, .navigace:hover {background: #000;}

.box_sekce {display: block; width: 100%; padding: 30px 0;}
.box_sekce h1 {width: 100%; text-align: center; text-transform: uppercase; margin-bottom: 30px; height: 60px; line-height: 60px; background: url(../images/nadpis_bg.png) top center;}
.box_sekce h4 {color: #E42626; margin: 10px 0;}
.box_sekce li {margin-left: 30px; margin-bottom: 5px;}

#sluzby_box_obal {display: block; width: 960px; margin: auto; height: 300px; overflow: hidden; margin-bottom: 20px;}
#sluzby_box_obal2 {display: block; height: 300px; position: relative; top: 0; left: 0;}
.sluzby_box {display: block; width: 280px; float: left; margin-right: 60px;}
.sluzby_box h2 {margin-bottom: 10px; font-size: 1.2em; color: #E42626; display: block; line-height: 1.2em;}
.sluzby_box p {line-height: 24px; margin-bottom: 10px; color: #2B2B2B;}
.readmore {text-transform: uppercase; color: #fff; background-color: #E42626; padding: 5px; cursor: pointer;}

.navi {display: block; width: 120px; margin: auto;}
.nav_left {display: block; width: 40px; height: 40px; float: left; background: url(../images/navi.png) top left;}
.nav_right {display: block; width: 40px; height: 40px; float: left; background: url(../images/navi.png) top right;}
.nav_center {display: block; width: 40px; height: 40px; float: left; background: url(../images/navi.png) top center;}
.gallery__controls { margin-top: 10px; }
.gallery__controls-prev { cursor: pointer; float: left; }
.gallery__controls-next { cursor: pointer; float: right; }

#galerie h2 {margin-bottom: 20px;}
#galerie_in {display: block; width: 100%; height: auto;}
#galerie_in a, #galerie_pokracovani a {display: block; float: left; width: 100%; height: 100vw; cursor: pointer; overflow: hidden;}
.hidden {background: url(https://majestic-cars.cz/templates/mc/svg/loader.svg) no-repeat center center;}
#galerie_in a:hover, #galerie_pokracovani a:hover {opacity: 0.8;}
#galerie_in img {display: block; min-width: 100%; min-height: 100%; max-width: 100%; max-height: 100%; object-fit: cover;}
.zobrazit_galerii, .skryt_galerii {font-family: "Biryani", serif; font-weight: 200; font-style: normal; background: rgb(230,52,51); background: linear-gradient(180deg, rgba(230,52,51,1) 80%, rgba(124,18,17,1) 100%); color: #fff; height: 50px !important; line-height: 50px; padding: 0 20px 0 0; width: 100vw; font-size: 1em; text-align: right; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}
#galerie_pokracovani {display: block; width: 100%;}

.box_text {text-align: center; padding: 20px; color: #BFBFBF;}
.box_text .bold {font-weight: 700; margin: 20px 0;}
.box_text .left {text-align: left; margin: 20px 0;}
.box_text h2 {margin-bottom: 20px; color: #e63433;}
.box_text ul {list-style-type: none; margin: 20px 0; text-align: left;}
.box_text li {margin: 10px 0;}

#dily {display: block; width: calc(100vw); height: auto;}
#dily img {width: 100%; max-width: 100%; height: auto;}

#kontakt {display: block; float: left; width: calc(100vw); height: auto; padding: 20px; background: rgb(230,52,51);
background: linear-gradient(90deg, rgba(230,52,51,1) 80%, rgba(124,18,17,1) 100%);}
#kontakt h2 {color: #fff;}
#kontakt h3 {color: #fff; margin: 10px 0; font-weight: 800;}
#kontakt a {color: #000;}
#kontakt p {color: #000; margin: 5px 0;}

.ikona {display: block; float: left; margin-right: 20px; height: 30px; width: auto;} 
.ikona img {height: 100%; max-height: 100%; width: auto;} 

#box_mapa {display: block; float: right; width: calc(100vw); height: calc(100vh);}
#box_mapa #map, #map iframe {display: block; width: calc(100vw); height: calc(100vh); float: left;}

#component {display: block; width: calc(100vw); height: auto; min-height: calc(100vh - 150px); padding: 180px 20px 20px 20px;}
#component ul {list-style-type: none; margin: 20px 0;}
#component li {margin: 10px 0;}
#component h1 {color: #e63433;}
#component h3 {color: #e63433; margin-top: 20px;}
#component p {color: #BFBFBF;}
#component a {color: #e63433;}
#component img {width: 100%; max-width: 100%; height: auto;}

.com-content-article__body {color: #bfbfbf;}
.com-content-article__body h2 {color: #fff;}
.com-content-article__body h3 {margin-bottom: 20px;}
.com-content-article__body p {margin-bottom: 20px;}
.cervena {color: #e63433;}

#patka {display: block; width: calc(100vw); padding: 20px; clear: both; height: 125px; color: #fff; background: #000 url(../img/bg_patka.jpg) bottom right no-repeat; background-size: cover; font-size: 0.6em;}
#patka a {color: #fff; text-decoration: none; -webkit-transition: all 500ms; transition: all 500ms; transition-timing-function: ease-in-out;}
#patka a:hover {font-size: 2em;}
#patka p {display: block;}
.c {display: block !important; float: none !important; margin-bottom: 10px;}

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

	
	.logo {position: relative; display: block; float: left; width: 400px; height: auto; padding: 50px 20px 20px 50px; z-index: 50000;}
	.logo img {width: 100%; max-width: 100%; height: auto;}

	.burger {top: 50px; right: 50px; height: 60px; width: 60px;}
	.burger span {display: block;}
	.close {top: 50px; right: 50px;}
	
	#main_menu ul {padding: 200px 0 0 0;}
	
	#menu {display: block; position: fixed; bottom: 0; right: 75px; height: 75px; background: #000; padding: 0 30px 0 0; z-index: +1;}
	#main_menu ul li {margin: 10px 50px 0 0;}
	#menu li {display: block; float: left; height: 75px;}
	#menu li a {display: block; height: 75px; line-height: 75px; font-size: 1.2em; font-weight: 600; padding: 0 20px 0 0; text-transform: uppercase; color: #000;  cursor: pointer; -webkit-transition: all 360ms; transition: all 360ms; transition-timing-function: ease-in-out;}
	#menu li a:hover {color: #00AEEF;}

	.slide_text {bottom: 50px; right: 50px; width: 350px; text-align: right;}
	.slide_text h1 {display: block; float: none; margin-bottom: 20px; font-size: 3.2em; line-height: 0.85em; min-width: 350px;}
	.slide_text p {display: block; float: none; max-width: 400px; color: #fff; line-height: 1.6em; clear: both; margin-bottom: 20px;}
	.slide_text a {display: block; float: none; color: #fff; padding: 10px 6px 10px 20px; font-size: 0.8em;}

	#tlacitka {position: absolute; bottom: 50px; left: 50px; top: auto; width: auto; height: 35px; text-transform: uppercase; z-index: 10000;}
	
	.telefon, .navigace {width: 170px; height: 35px; float: left; margin: 0 20px 0 0;}
	.telefon img, .navigace img {position: absolute; top: 0; left: 0; width: 35px; height: 35px;}
	.telefon span, .navigace span {display: block; position: absolute; top: 0; left: 35px; height: 35px; line-height: 35px;}

	#galerie h2 {margin: 0 0 50px 0;}
	#galerie_in {display: block; width: 100%; height: auto;}
	#galerie_in a, #galerie_pokracovani a {display: block; float: left; width: 20%; height: 20vw; line-height: 0.9em; cursor: pointer; overflow: hidden;}
	#galerie_in a:hover, #galerie_pokracovani a:hover {opacity: 0.8;}
	#galerie_in img {display: block; min-width: 100%; min-height: 100%; max-width: 100%; max-height: 100%; object-fit: cover;}
	.zobrazit_galerii, .skryt_galerii {padding: 50px; width: 100vw; height: 20vw !important; font-size: 1.4em; text-align: right;}
	#galerie_pokracovani {display: block; width: 100%;}
	
	#box_obsah {padding: 0 0 50px 0; font-size: 1.2em; }
	#box_uvod {padding: 100px 50px 50px 50px;}
	#box_proc {padding-bottom: 150px;}
	.box_text {padding: 50px; max-width: 1200px; margin: auto; color: #BFBFBF;}

	#kontakt {padding: 50px; width: calc(33vw); height: calc(50vh); text-align: left;}
	.ikona {display: block; float: left; margin: 0 20px 0 0; height: 30px; width: auto;}
	
	#box_mapa {display: block; float: left; width: calc(67vw); height: calc(50vh);}
	#box_mapa #map, #map iframe {display: block; width: calc(67vw); height: calc(50vh); float: left;}

	#component {max-width: 1200px; margin: 0 auto; padding: 150px 50px 50px 50px;}
	
	#patka {display: block; width: calc(100vw); height: 600px; padding: 50px; clear: both; color: #fff; font-size: 1em;}
}

@media screen and (orientation: portrait) {
	.burger {display: block;}
	#menu {display: none; background: #000; width: calc(100vw); text-align: center; border-top: #E52421 1px solid; margin-right: 0;}
	#menu li {float: none; height: 50px; line-height: 50px; margin-right: 0; border-bottom: #E52421 1px solid;}
	#menu li a {display: block; width: 100%; height: 50px;}
	
	.slide_text {bottom: 20px; right: 20px; width: calc(100vw - 40px); text-align: right;}
	.slide_text h1 {display: block; float: none; width: calc(100vw - 40px); margin-bottom: 20px; font-size: 3.2em; line-height: 0.85em;}
	.slide_text p {display: block; float: none; width: calc(100vw - 40px); color: #fff; line-height: 1.6em; clear: both; margin-bottom: 20px;}
	.slide_text a {display: block; float: none; width: calc(100vw - 40px); color: #fff; padding: 10px 6px 10px 20px; font-size: 0.8em;}
	
}

#preloader {position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000 url(https://majestic-cars.cz/templates/mc/svg/loader.svg) no-repeat center center; z-index: 20000;}
#loader {display: block; text-align: center; line-height: 100vh;}

.digipower {color: rgba(16,255,0,1) !important;}