﻿/* Šířka a pozadí headeru */
body.predefined-header1 #sp-header {
	height: 100% !important;
	position: fixed !important;
	left: 0;
	top: 0;
	width: 280px;
	z-index: 99;
	padding: 0;
	background: #ffffff;
}
/* Šířka a pozadí headeru KONEC*/


/* Šířka a okraje megamenu */
body.predefined-header1 #sp-header .sp-megamenu-wrapper {
	margin-bottom: auto;
	margin-top: calc((100vh - 500px) / 10);
}

body.predefined-header1 #sp-header .sp-megamenu-wrapper .sp-megamenu-parent > li {
	display: block;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.predefined-header1 #sp-header .sp-megamenu-wrapper .sp-megamenu-parent > li > a {
	text-decoration: none;
	text-align: left;
	text-shadow: none;
	line-height: 40px;
	width: 100%;
	padding: 0 25px 0 60px;
}
/* Šířka a okraje megamenu KONEC*/


/* Barvy odkazů v megamenu */
.sp-megamenu-parent > li > a {
    color: #2b4360;
}
.sp-megamenu-parent > li:hover > a {
    color: #6796bf;
}
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a {
    color: #6796bf;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    background: #ffffff;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {
    color: #28303b;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent > li > a:hover {
    color: #6796bf !important;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
    color: #6796bf;
}
.sp-megamenu-parent .sp-mega-group > li > a {
    color: #28303b;
}
#offcanvas-toggler > .fa:hover,
#offcanvas-toggler > .fa:focus,
#offcanvas-toggler > .fa:active {
    color: #6796bf;
}
/* Barvy odkazů v megamenu KONEC */


/* Podmenu v megamenu */
body.predefined-header1 #sp-header .sp-megamenu-wrapper .sp-megamenu-parent > li > .sp-dropdown {
	left: 100%;
	top: 10px;
	padding-left: 0px;
}
/* Podmenu v megamenu KONEC */


/* Kontakt */
body.predefined-header1 #sp-header .sp-contact-info {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	margin-bottom: 2vh;
}

body.predefined-header1 #sp-header .sp-contact-info li a {
	color: #2b4360;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	display: flex !important;
	flex-direction: row;
	justify-content: center;
}

.sp-contact-info li a.hover {
	text-decoration: underline;
}

/* Kontakt KONEC*/


/* Sociální ikony */
ul.social-icons {
	list-style: none;
	padding: 0 0 2vh 0;
	margin: 0 0 65px 0;
	width: 280px;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

body.predefined-header1 #sp-header ul.social-icons {
	line-height: 1.3;
	font-size: 19px;
}

body.predefined-header1 #sp-header ul.social-icons > li:nth-child(1) a {
    color: #4766a7; /* první ikona */
}

body.predefined-header1 #sp-header ul.social-icons > li:nth-child(2) a {
    color: #14171a; /* druhá ikona */
}

body.predefined-header1 #sp-header ul.social-icons > li:nth-child(3) a {
    color: #0076b2; /* třetí ikona */
}

body.predefined-header1 #sp-header ul.social-icons > li:nth-child(4) a {
    color: #000b1b; /* čtvrtá ikona */
}

body.predefined-header1 #sp-header ul.social-icons > li:nth-child(5) a {
    color: #000b1b; /* pátá ikona */
}
#sp-title {
    min-height: 0;
}
/* Sociální ikony KONEC */

/* firmy.cz */
div#mod-custom130 {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 99;
	background: #404040;
	width: 280px;
}
div#mod-custom130 .btn-link {	
	display: none;
}
/* firmy.cz KONEC*/

/* === POSTRANNÍ HEADER — skrytí pod 1280px === */
/* Nad 1280px viditelný, do 1279.98px schovaný — místo něj nastupuje burger */
@media (max-width: 1279.98px) {
    body.predefined-header1 #sp-header,
	div#mod-custom130 {
        display: none !important;
    }
}