/* Původní custom CSS ze staryhrad.cz (archiv) - nahrát do templates/stary_hrad/css/custom.css */
body.site{background-image:url(/images/bgr.jpg);background-repeat:no-repeat;background-size:cover;background-attachment:inherit;background-position:0 0;}
body {
	background-color: #fef4e4;
}

a {
	color: #ee8f1e;
}

#sp-main-body {
    padding: 80px 0;
}
#sp-main-body .container {
	background-color: rgba(254, 244, 228, .9);
	padding: 0 40px;
}
#sp-main-body .timeline .container {
	background: none;
}

#sp-bottom {
	background-color: #decbae !important;
}

ul.social-icons >li a {
    line-height: 90px;
    color: #ecf3ea;
}
ul.social-icons >li a:hover {
	color: #ee8f1e;
}

.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span {
	color: #ecf3ea;
}

.sp-megamenu-parent>li>a:hover,
.sp-megamenu-parent>li>span:hover,
.sp-megamenu-parent>li.active>a,
.sp-megamenu-parent>li:hover>a {
	color: #ee8f1e;
}

#offcanvas-toggler>i {
	color: #ecf3ea;
}

#offcanvas-toggler>i:hover {
	color: #ee8f1e;
}

.latestnews small {
	display: none;
}

#sp-bottom {
	padding: 50px 0px !important;
}

.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
	opacity: 1;
	font-family: Roboto Slab, sans-serif;
	font-size: 16px;
	font-weight: 100;
}

.highlighted .tooltip {
	border-bottom: 1px dotted white;
}

.tooltip:hover {
	cursor: pointer;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 220px;
	background-color: black;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px;

	/* Position the tooltip */
	position: absolute;
	bottom: 24px;
	left: -20px;
	z-index: 1;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
}

.hidden {
	display: none;
}

.square {
	display: inline-block;
	width: 15px;
	height: 15px;
	background-color: #ee8f1e;
	margin-right: 5px;
}

.timeline {
	position: relative;
	margin: 0 auto;
}

.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: black;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

.timeline .container {
	padding: 10px 0;
	position: relative;
	background-color: inherit;
	width: 50%;
	margin-left: 0;
}

.timeline .container::after {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	right: -12px;
	background-color: #f0dfc5;
	border: 4px solid #ee8f1e;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}

.timeline .left {
	left: 0;
	padding-right: 40px;
}

.timeline .right {
	left: 50%;
	padding-left: 40px;
}

.timeline .left::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid #f0dfc5;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #f0dfc5;
}

.timeline .left.highlighted::before {
	border: medium solid #ee8f1e;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent #ee8f1e;
}

.timeline .right::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid #f0dfc5;
	border-width: 10px 10px 10px 0;
	border-color: transparent #f0dfc5 transparent transparent;
}

.timeline .right.highlighted::before {
	border: medium solid #ee8f1e;
	border-width: 10px 10px 10px 0;
	border-color: transparent #ee8f1e transparent transparent;
}

.timeline .right::after {
	left: -12px;
}

.timeline .content {
	padding: 20px 30px;
	background-color: #f0dfc5;
	position: relative;
	border-radius: 6px;
}

.timeline .highlighted .content {
	background-color: #ee8f1e;
	color: white;
}

.tower-left {
    width: 50%;
    float: left;
}
.tower-right {
    width: 50%;
    float: right;
    margin-top: 140px;
}

@media screen and (max-width: 600px) {

	.timeline::after {
		display: none;
	}

	.timeline .timeline::after {
		left: 31px;
	}

	.timeline .container {
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.timeline .container::before,
	.timeline .container::after {
		display: none;
	}

	.timeline .left::after,
	.timeline .right::after {
		left: 15px;
	}

	.timeline .right {
		left: 0%;
    }
    
    .tower-left,
    .tower-right {
        width: 100%;
        float: none;
    }
}

@media screen and (max-width: 768px) {
    #sp-user1 {
        display: none;
    }
}

@media screen and (max-width: 1199px) {
	.hidden-sm {
		display: none!important;
	}
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
	font-size: 14px;
}

.sp-dropdown li.sp-menu-item {
    font-weight: 300;
}
