/**
 * Theme Name: MSK Theme
 * Theme URI: https://wordpress.murple.sk
 * Author: Igor Schwarcz
 * Author URI: https://www.murple.sk
 * Description: Theme tailor-made with a simple administration system.
 * Version: 1.0.0
 * License: MURPLE.sk
 * License URI: https://wordpress.murple.sk/licence/msktheme
 * Text Domain: msktheme
 */

/* ------------------------ */
/* --- Default Settings --- */
/* ------------------------ */

html {
	scroll-behavior: smooth;
}

/* -------------------------- */
/* --- Bootstrap settings --- */
/* -------------------------- */

.text-danger,
.bg-danger {
	color: #dc3545 !important;
}

a,
a:active,
a:focus {
	text-decoration: none !important;
	color: #dc3545;
	transition: all .5s;
}

a:hover {
	text-decoration: none !important;
	color: #a51b28;
	transition: all .5s;
}

a.text-danger:hover,
a.bg-danger:hover {
    color: #a51b28 !important;
}

section.share a:hover {
    color: black !important;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(220,53,69,.5)
}

.btn-outline-danger,
.btn-outline-danger:active,
.btn-outline-danger:focus {
    color: #dc3545;
	border: 2px solid #dc3545;
	transition: all .5s;
	font-family: 'Open Sans', sans-serif;
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: #a51b28;
    border-color: #a51b28;
	box-shadow: 0 0 0 0.1rem rgba(234,90,156,.2);
	transition: all .5s;
}

.btn-outline-danger:not(:disabled):not(.disabled).active,
.btn-outline-danger:not(:disabled):not(.disabled):active,
.show > .btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #a51b28 !important;
    border-color: #a51b28 !important;
	transition: all .5s;
}

.badge-danger {
    background-color: #dc3545 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* --------------------- */
/* --- Site settings --- */
/* --------------------- */

.widget > *,
.copyright > * {
    line-height: 2em;
}

p:last-child {
	margin-bottom: 0 !important;
}

div.h2-nadpis,
section.content h2{
    font-family: 'AlexBurger';
    font-size: 1.2em;
    color: #dc3545;
}

img {
	border-radius: 4px !important;
}

section.content a img {
	transition: all .5s;
}

section.content a img:hover {
    opacity: 0.5;
    transition: all .5s;
}

/* --- Title --- */

span.title {
	font-size: 1.5em !important;
	color: #dc3545 !important;
	font-weight: bold;
}

span.subtitle {
	font-size: 1.2em !important;
	color: #000 !important;
	font-weight: bold;
}

/* --- Box --- */

div.box {
	background: #fbecf2 !important;
	border-radius: 4px !important;
}

/* ---------------------- */
/* --- Contact Form 7 --- */
/* ---------------------- */

/* --- Form width and border --- */

div.wpcf7 {
	text-align: left;
 	width: 100%;
 	background-color: rgba(255, 255, 255, 0.2);
 	background-position: center;
 	background-size: cover;
}

/* --- Input Field widths --- */

input.wpcf7-text,
textarea.wpcf7-textarea {
	  width: 100%;
	  border: 2px solid #ccc;
	  border-radius: .2rem;
	  color: #777;
}

input.wpcf7-text {
	height: 50px;
 	padding-left: 10px;
}

textarea.wpcf7-textarea {
	padding: 10px;
}

/* --- Messages - Error & Success --- */

div.wpcf7-response-output {
	margin-bottom: 30px !important;
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing {
    border: 2px solid #dc3545;
    text-align: center;
    margin: 1.2rem 0 0 0;
    border-radius: .2rem;
    padding: .375rem .75rem;
    background: #dc3545;
    color: #fff;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
    text-align: center;
    margin: 1.2rem 0 0 0;
    border-radius: .2rem;
    padding: .375rem .75rem;
    background: #398f14;
    color: #fff;
}

/* -------------- */
/* --- Header --- */
/* -------------- */

nav.top-nav-collapse {
   transition: all 300ms ease-in-out;
   background-color: #a51b28 !important;
}

nav div.container a img {
	transition: 0.3s all;
	transition-timing-function: ease-in-out;
}

@media (max-width: 991.98px) {

	a.navbar-brend {
		width: 100% !important;
		text-align: center !important;
		margin: 15px;
	}

	div.container-navbar-brand {
		display: block;
		width: 100% !important;
		text-align: center;
		margin: 20px 15px;
		padding: 0;
	}

}

/* ----------------- */
/* --- Main Menu --- */
/* ----------------- */

nav#mainmenu {
	/*background-color: #e9ecef !important;*/
}

nav#mainmenu li a,
nav#mainmenu li a:active,
nav#mainmenu li a:focus {
    color: #000;
	transition: all .5s;
}

nav#mainmenu li a:hover {
    color: #000;
	transition: all .5s;
}

nav#mainmenu li,
nav#mainmenu button.btn {
    font-size: 16px;
	font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

nav#mainmenu .navbar-scroll {
    transition: 0.5s all;
}

nav#mainmenu .nav-link {
    margin: 0 0.2em;
}

/* --- Effect --- */

nav#mainmenu li a.nav-link,
nav#mainmenu li a.nav-link:after,
nav#mainmenu li a.nav-link:before {
	transition: all .5s;
}

nav#mainmenu li a.nav-link {
	position: relative;
}

nav#mainmenu li a.nav-link:after {
	position: absolute;
    bottom: 3px;
	left: 0;
	right: 0;
	margin: auto;
	width: 0%;
	content: '.';
	color: transparent;
	background: #b7bbbf;
	height: 2px;
}

nav#mainmenu li a.nav-link:hover:after {
	width: calc(100% - 18px);
}

/* -------------- */
/* --- Slider --- */
/* -------------- */

section.slider div.carousel-item {
    height: 100vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

section.slider button:first-child {
    margin-left: 0 !important;
}

section.slider h1 {
    font-family: 'AlexBurger';
}

section.slider h2 {
    font-family: 'AlexBurger';
    text-transform: uppercase;
	margin: 0;
	font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    text-shadow: 2px 2px 2px black;
}

section.slider p.lead {
    font-size: 1.6em;
    margin-bottom: 1.2em;
    background: #fff;
    padding: 0.2em 0.5em 0.4em;
    font-weight: bold;
    color: #dc3545;
    border-radius: .2rem;
    width: max-content;
    margin: 0.5em auto 0.9em;
}

section.slider div.carousel-caption a {
    margin: 0 .5em;
}

/* ------------- */
/* --- Share --- */
/* ------------- */

section.share {
    padding: .5em !important;
}

section.share a {
    padding: 0 !important;
    margin: .5em !important;
}

/* ------------------ */
/* --- Breadcrumb --- */
/* ------------------ */

#breadcrumb {
	background: #e9ecef;
}

#breadcrumb a {
	font-weight: bold;
}

#breadcrumb nav {
	width: 100%;
}

#breadcrumb ol.breadcrumb {
	margin: .75rem;
}

#breadcrumb span.divider {
    padding: 0 10px;
}

/* ------------ */
/* --- Úvod --- */
/* ------------ */

div.banner-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -55%);
	height: fit-content;
	width: 100%;
}

div.banner span.nazov {
	font-family: 'AlexBurger';
	font-size: 1.7em;
	color: #fff;
	display: block;
	text-shadow: 2px 2px 2px black;
	padding-bottom: 0.3em;
}

div.banner span.podtitul {
	background: #fff;
	padding: 0.2em 0.5em 0.4em;
	font-weight: bold;
	color: #dc3545;
	border-radius: .2rem;
}

/* --------------- */
/* --- Zoznamy --- */
/* --------------- */

section.jedalnylistok div.row,
section.obedovemenu div.row,
section.alergeny div.row {
    background: #e9ecef;
}

span.skupinajedal,
span.datum,
span.den,
span.alergeny {
    font-family: 'AlexBurger';
    font-size: 1.2em;
    color: #dc3545;
}

section.jedalnylistok div:last-child,
section.obedovemenu div:last-child,
section.alergeny div:last-child {
    margin-bottom: 0 !important;
}

/* rýchla zmena */

span.skupinajedal {
    font-size: 3em !important;
}

section.jedalnylistok > div {
    text-align: center !important;
}

/* --------------- */
/* --- Kontakt --- */
/* --------------- */

div.otvaraciehodiny {
	position: relative;
}

div.otvaraciehodiny span.tab-100 {
	position: absolute;
	left: 100px;
}

@media (max-width: 991.98px) {

	div.otvaraciehodiny span.tab-100 {
		position: inherit;
	}
	
}

/* ------------------ */
/* --- Pagination --- */
/* ------------------ */

#post-pagitation span.page-link.text-danger.current {
    color: #fff !important;
    background: #dc3545 !important;
    border: 1px solid #e9ecef !important;
}

/* ------------------- */
/* --- Google maps --- */
/* ------------------- */

div.acf-map {
	width: 100%;
	height: 400px;
	border: #ccc solid 2px;
	border-radius: .2rem;
	margin: 20px 0;
}

div.acf-map img {
   max-width: inherit !important;
}

div.acf-map div.gm-style div.gm-style-iw-c {
    transform: translate(-50%,-100%);
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 7px -2px rgba(0,0,0,0.3);
	padding: 20px !important;
	max-width: 250px !important;
}

div.acf-map div.gm-style-iw-t {
    bottom: 50px !important;
}

div.acf-map div.gm-style-iw-d {
    overflow: hidden !important;
}

/* --- Navigation --- */

button.gm-ui-hover-effect {
    top: 0px !important;
    right: 0px !important;
}

.directions-field.btn-outline-danger {
    color: #000 !important;
}

.directions-field.btn-outline-danger:hover,
.directions-field.btn-outline-danger:active,
.directions-field.btn-outline-danger:not(:disabled):not(.disabled):active{
    background-color: transparent !important;
    border-color: #dc3545 !important;
	box-shadow: none !important;
}

div.acf-map span.name {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    color: #000;
}

div.acf-map span.address {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #6c757d;
}

/* -------------- */
/* --- Footer --- */
/* -------------- */

section.footer  div.widget {
	background-color: #e9ecef !important;
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
    font-weight: bold;
	color: #000;
}

section.footer div.widget div.action-menu button.btn {
    font-size: 16px;
	font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

section.footer div.widget div.action-menu ul {
    list-style: none;
}

section.footer div.widget div.action-menu ul li {
    display: inline-block;
}

section.footer div.widget div.action-menu ul li a {
    margin-left: .5em;
}

section.footer .copyright {
    background-color: #000 !important;
}

/* ------------------------- */
/* --- Scroll Top Button --- */
/* ------------------------- */

a.scroll_top_button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 100;
	padding: 0.9rem 1.3rem;
	border: 0;
	box-shadow: none;
	background: #dc3545 !important;
	color: #fff;
	font-size: 26px;
	line-height: 20px;
	text-align: center;
	cursor: pointer;
	pointer-events: none;
	opacity: 0;
	border-radius: .2rem;
	transition: all .5s;
}

a.scroll_top_button:hover,
a.scroll_top_button:active,
a.scroll_top_button:focus {
	background: #a51b28 !important;
	transition: all .5s;
}

a.scroll_top_button_visible {
	opacity: 1;
	pointer-events: auto;
}