/*
Theme Name: SCVZ
Author: Probit.hr
Version: 1.0
*/

@font-face {
    font-family: Raleway;
    src: url(assets/fonts/Raleway.ttf);
}
@font-face {
    font-family: Raleway-Bold;
    src: url(assets/fonts/Raleway-Bold.ttf);
}

body {
	color: #000;
	font-family: Raleway;
}
img {
	max-width: 100%;
	height: auto;
}
a.button {
	width: 280px;
	text-align: center;
	height: 30px;
	max-width: 100%;
	display: block;
	margin: 20px auto;
	background-color: #FEF252;
	color: #000;
	font-size: 14px;
	line-height: 30px;
	font-family: Raleway-Bold;
}
.mobile-fast-links {
	display: none;
}
.logo-section {
	padding: 10px 0;
}
.logo-section .links a {
	color: #000;
	font-family: Raleway-Bold;
	font-size: 14px;
	line-height: 16px;
	margin-left: 50px;
	display: inline-block;
	margin-top: 10px;
}
.logo-section .logo {
	width: 270px;
}

.breadcrumbs a, .breadcrumbs {
	font-size: 16px;
	line-height: 25px;
	color: #000;
}

nav {
	text-align:left;
	width: 100%;
	background: #000;
	padding: 0;
	margin: 0;
	height: 60px;
	position:relative;
}
nav ul {
	background: #000;
	list-style:none;
	padding:0 20px;
	margin: 0;
	height: 60px;
}
nav ul li {
	display: inline-block;
	height: 45px;
	transition: all 0.5s;
}
nav ul li a {
	color: #fff;
	display: block;
	padding: 0px 40px;
	text-decoration: none;
	height: 60px;
	line-height: 60px;
	text-transform: uppercase;
	font-family: Raleway-Bold;
	font-size: 14px;
}
nav ul li:hover {
	border-bottom: 1px solid #FEF252;
}
nav ul li.home-link:hover {
	border-bottom: none;
}
nav ul li.home-link img {
	width: 20px;
}
nav ul li a:hover {
	text-decoration: none;
}
nav ul li:hover > a {
    color:#FFFFFF;
}
nav ul li:hover > ul {
	display: block;
}
nav ul ul {
	background: transparent;
	padding:0;
	text-align: left;
	display:none;
	position: absolute !important;
	height: auto;
	z-index: 100;
	margin-top: 30px;
}
nav ul ul:before {
	position: absolute;
    background: rgba(254, 242, 82, 0.9);
    content: "";
    left: -2000px;
    right: -2000px;
    height: 250px;
    top: -30px;
    z-index: -1;
}
.page-wrapper {
	overflow-x: hidden;
}
nav ul ul li {
	display: block;
	left: auto;
	height: 40px;
    line-height: 40px;
}
nav ul ul li a {
	height: 40px;
    line-height: 40px;
    padding: 0 10px;
	color: #000;
	text-transform: none;
}
nav ul ul li:hover {
	background: #333333;
	border-bottom: none;
}
#menu-main-menu ul.dropdown {
	min-width: 600px;
}
.dropdown-toggle::after {
	display: none;
}
.dropdown, .dropleft, .dropright, .dropup {
	position: inherit;
}

.section-divider {
	background: #FEF252;
	font-size: 21px;
	line-height: 25px;
	vertical-align: middle;
	padding: 8px;
}
.section-divider img {
	height: 21px;
	vertical-align: top;

}
.section-divider span {
	margin-left: 5px;
}
.news-box {
	margin: 20px 0;
}
.news-box .img-box {
	display: block;
	min-height: 300px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.news-box .icon {
	background: #FEF252;
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px 15px;
}
.news-box .icon img {
	height: 37px;
}
.news-box .date {
	position: absolute;
	bottom: 0;
	background: #000;
	color: #fff;
	text-align: center;
	margin: 0 auto;
	left: calc(50% - 60px);
	width: 120px;
	font-size: 16px;
	line-height: 19px;
	height: 34px;
	line-height: 34px;
	font-family: Raleway-Bold;
}
.news-box h3 a {
	font-size: 21px;
	line-height: 25px;
	color: #000;
	text-align: center;
	display: block;
	margin: 15px 10px;
}

/* Home */
#home-carousel .item {
	background: #FEF252;
}
#home-carousel .desc {
	text-align: center;
	padding: 15px;
}
#home-carousel .desc img {
	width: 50px;
	margin: 0 auto;
}
#home-carousel .desc hr {
	width: 128px;
	border-top: 1px solid #000000;;
}
#home-carousel .desc p {
	font-size: 26px;
	line-height: 31px;
	font-family: Raleway-Bold;
	margin: 20px 0;
}
#home-carousel .desc a {
	position: absolute;
	left: 0;
	padding: 10px;
	color: #fff;
	text-align: right;
	width: 80%;
	background: #000;
	font-size: 14px;
	line-height: 16px;
	text-transform: uppercase;
	font-family: Raleway-Bold;
	bottom: 90px;
}
#home-carousel .owl-nav {
	position: absolute;
	right: 0;
	bottom: 50px;
	font-size: 20px;
}
#home-carousel .owl-prev {
	position: absolute;
    right: 80px;
}
#home-carousel .owl-next {
	position: absolute;
    right: 40px;
}
#home-carousel .owl-dots {
	position: absolute;
	bottom: 20px;
	right: 30%;
	background-color: transparent !important;
}
#home-carousel .owl-dot {
	width: 36px;
	height: 5px;
	background: #000;
	display: inline-block;
    margin: 7.5px;
}
#home-carousel .owl-dot.active {
	background: #FEF252;
}

.fast-links {
	background: #F3F1F2;
	padding: 15px;
	margin: 20px 0;
}
.fast-links img {
	width: 180px;
	display: inline-block;
	float: left;
}
.fast-links .item {
	display: flex;
	align-items: center;
}
.fast-links a {
	font-size: 18px;
	line-height: 21px;
	font-family: Raleway-Bold;
	color: #000;
}

/* Category */
.category .intro img {
	margin: 0 auto;
	display: block;
	width: 100%;
}

/* Post */
.breadcrumbs {
	margin: 38px 0;
	background: #FEF252;
    padding: 5px;
}
.page-post-content {
	max-width: 970px;
	margin: 0 auto;
}
.page-post-content h1 {
	text-align: center;
	font-size: 32px;
	line-height: 38px;
}
.page-post-content p {
	font-size: 16px;
	line-height: 22px;
}
.page-post-content .content {
	margin-top: 38px;
}
.social-share {
	padding-left: 215px;
	background-color: #FEF252;
	font-size: 13px;
	line-height: 48px;
	margin-top: 30px;
	height: 48px;
}
.social-share img {
	height: 18px;
	margin: 0 13px;
}
#accordion-post-page .card-header {
	background-color: #333;
	border-radius: 0;
	padding: 5px 15px;
}
#accordion-post-page .card-header button {
	color: #fff;
	font-size: 16px;
	line-height: 19px;
}
#accordion-post-page .card-body {
	background-color: #edecec;
	font-size: 14px;
	line-height: 18px;
}
#accordion-post-page .card {
	margin-bottom: 10px;
}

/* Natjecaj */
.page-template-template-natjecaj .item {
	margin-bottom: 70px;
}
.page-template-template-natjecaj h1 {
	margin: 35px 0 60px 0;
}
.page-template-template-natjecaj h3 {
	font-size: 21px;
	line-height: 25px;
	margin-bottom: 15px;
}
.page-template-template-natjecaj p {
	font-size: 14px;
	line-height: 18px;
}
.page-template-template-natjecaj .document img {
	margin: 15px;
	width: 30px;
}
.page-template-template-natjecaj .document a {
	font-size: 14px;
	line-height: 16px;
	color: #000;
}

/* Contact */
.page-template-template-contact h1 {
	text-align: left;
	margin-bottom: 59px;
}
.page-template-template-contact .item {
	margin-bottom: 70px;
}
.page-template-template-contact .info {
	margin-bottom: 70px;
}
.page-template-template-contact .info a {
	display: block;
	margin-bottom: 30px;
	width: 232px;
	height: 48px;
	background-color: #FEF252;
	font-size: 16px;
	line-height: 48px;
	color: #000;
	background-image: url(assets/img/location.png);
	background-size: 34px;
	background-repeat: no-repeat;
	padding-left: 71px;
	background-position: left 15px center;
}
.dateline {
	width: 100%;
	border-top: 1px solid #000;
	position: relative;
	margin-bottom: 40px;
	margin-left: -50px;
}
.dateline span {
	position: absolute;
	background-color: #FEF252;
	color: #000;
	text-align: center;
	top: -20px;
	left: 50px;
	min-width: 127px;
	padding: 0 18px;
	height: 38px;
	font-size: 16px;
	line-height: 38px;
	font-family: Raleway-Bold;
}

/* Jelovnici */
.intro-jelovnici {
	background-color: #FEF252;
	text-align: center;
	padding: 40px 0;
}
.intro-jelovnici h4 img {
	width: 56px;
	margin-left: 30px;
}
.intro-jelovnici a {
	border: 1px solid #000;
	font-size: 21px;
	text-transform: uppercase;
	line-height: 25px;
	padding: 15px 13px;
	display: inline-block;
	color: #000;
	margin: 12px;
}
.intro-jelovnici a.active {
	background-color: #000;
	color: #fff;
}
.info-restoran {
	background-color: #595959;
	color: #fff;
}
.info-restoran p {
	display: inline-block;
	padding-top: 20px;
}
.info-restoran img {
	width: 25px;
	margin-bottom: 20px;
	margin-right: 20px;
}
.page-template-template-jelovnik .choose-date a {
	display: block;
	border: 1px solid #000;
	text-align: center;
	color: #000;
	padding: 8px 0;
	margin-bottom: 10px;
}
.page-template-template-jelovnik .choose-date a.active {
	background-color: #000;
	color: #FEF252;
}
.page-template-template-jelovnik .jelovnik-content {
	display: none;
}
.page-template-template-jelovnik .jelovnik-content.active {
	display: block;
}
.page-template-template-jelovnik .jelovnik-content h3 {
	background: #FEF252;
	font-size: 14px;
	text-transform: uppercase;
	padding: 10px 15px;
	width: 180px;
	margin: 40px 0;
}

/* Cjenik */
.cjenik-table {
	margin: 30px 0;
}
.cjenik-table h3 {
	color: #242762;
	font-weight: bold;
	font-size: 21px;
	text-align: center;
}
.cjenik-table table {
	width: 100%;
}
.cjenik-table td {
	width: 50%;
	padding: 3px 10px;
}
.cjenik-table table tr:nth-child(odd) {
	background-color: #EDECEC;
}

.login-popup {
	display: none;
	background: rgba(254, 242, 82, 0.9);
	padding: 30px 0;
	position: absolute;
    width: 100%;
    z-index: 100;
}
.login-popup .content {
	max-width: 800px;
	margin: 0 auto;
}
.login-popup .content img {
	width: 150px;
	display: block;
	margin: 0 auto;
}
.login-popup .content span {
	display: block;
	text-align: center;
	color: #000;
	font-weight: bold;
	margin-top: 20px;
}
.login-popup .content a {
	display: block;
}
.login-popup .content a#student-login {
	border-right: 1px solid #000;
}

/* Footer */
footer {
	background: #EDECEC;
	padding: 40px 0;
}
footer img {
	height: 29px;
	margin-right: 25px;
	margin-top: 10px;
	width: auto;
}
footer h2 {
	font-size: 16px;
	line-height: 19px;
	margin-bottom: 17px;
	color: #524848;
	font-family: Raleway-Bold;
}
footer ul {
	padding-left: 0;
}
footer ul li, footer ul {
	list-style-type: none;
}
footer ul li a {
	font-size: 14px;
	line-height: 16px;
	color: #807777;
}
footer .copyright {
	font-size: 14px;
}
footer .copyright a {
	color: #000;
}

.wp-pagenavi {
	display: block;
	margin: 30px auto;
	text-align: center;
}
.wp-pagenavi a, .wp-pagenavi span {
	background: #FEF252;
	color: #000;
	padding: 5px 10px;
	border: none;
}
.wp-pagenavi span.current {
	background: #000;
	color: #fff;
}

/* Accessibility */
button.aicon_link {
	width: 45px;
	height: 55px;
}
body #wp_access_helper_container button.aicon_link {
	background: #000000 !important;
	padding: 10px;
}
body .accessability_container * {
	background: transparent !important;
}
button.close_container {
	background: #FEF252 !important;
	color: #000 !important;
}
body .accessability_container {
	top: 80px;
}

/* Mobile menu */
.mobile-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-links__item {
    border-bottom: 1px solid #ebebeb;
}
.mobile-links__item-title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    cursor: pointer;
}
.mobile-links__item-link {
    -ms-flex-positive: 1;
    flex-grow: 1;
    color: #3d464d;
}
.mobile-links__item-link,
.mobile-links__item-link:hover {
    color: inherit;
}
.mobile-links__item-toggle {
    border: none;
    background: transparent;
    padding: 0;
    width: 55px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: inherit;
    fill: #999;
    transition: fill 0.2s;
    border-left: 1px solid #ebebeb;
}
.mobile-links__item-toggle:focus {
    outline: none;
}
.mobile-links__item-toggle:focus,
.mobile-links__item-toggle:hover {
    cursor: inherit;
}
.mobile-links__item-arrow {
    transition: transform 0.3s;
}
.mobile-links__item-sub-links {
    visibility: hidden;
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition: height 0.3s, opacity 0.3s, visibility 0s 0.3s;
}
.mobile-links__item--open > .mobile-links__item-sub-links {
    visibility: visible;
    height: auto;
    opacity: 1;
    transition-delay: 0s, 0s, 0s;
}
.mobile-links__item--open > .mobile-links__item-title .mobile-links__item-arrow {
    transform: rotate(180deg) translateY(1px);
}
.mobile-links--level--0 > .mobile-links__item {
    border-bottom: 1px solid #ebebeb;
}
.mobile-links--level--0 > .mobile-links__item > .mobile-links__item-title {
    height: 48px;
}
.mobile-links--level--0 > .mobile-links__item > .mobile-links__item-title .mobile-links__item-link {
    padding: 12px 20px;
}
.mobile-links:not(.mobile-links--level--0) {
    border-top: 1px solid #ebebeb;
}
.mobile-links--level--1 {
    background: #f7f7f7;
    font-size: 14px;
    line-height: 14px;
}
.mobile-links--level--1 .mobile-links__item .mobile-links__item-link {
    padding: 13px 20px;
}
.mobile-links--level--1 .mobile-links {
    background: #fff;
    padding-left: 20px;
}
.mobile-links--level--1 .mobile-links > li {
    background: #f7f7f7;
    border-left: 1px solid #ebebeb;
}
.mobile-links--level--1 .mobile-links__item:last-child {
    border-bottom: none;
}
.mobilemenu {
    visibility: hidden;
    position: fixed;
    z-index: 1000;
    transition: visibility 0s 0.3s;
}
.mobilemenu,
.mobilemenu__backdrop {
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
}
.mobilemenu__backdrop {
    position: absolute;
    background: #3d464d;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobilemenu__body {
    position: absolute;
    top: 0;
    width: 290px;
    height: 100%;
    background: #fff;
    transition: transform 0.3s;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    left: 0;
    transform: translateX(calc(-100% * 1 - 30px * 1));
}
.mobilemenu__header {
    height: 55px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #ebebeb;
}
.mobilemenu__title {
    padding: 0 20px;
    font-weight: 700;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.mobilemenu__close {
    border: none;
    background: transparent;
    height: 54px;
    width: 55px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    fill: #999;
    transition: fill 0.2s;
    border-left: 1px solid #ebebeb;
}
.mobilemenu__close:focus {
    outline: none;
}
.mobilemenu__close:focus,
.mobilemenu__close:hover {
    fill: #3d464d;
}
.mobilemenu__content {
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.mobilemenu--open {
    visibility: visible;
    transition-delay: 0s;
}
.mobilemenu--open .mobilemenu__backdrop {
    opacity: 0.9;
}
.mobilemenu--open .mobilemenu__body {
    transform: translateX(0);
}
footer .web-development {
	text-align: right;
}

@media screen and (max-width: 540px) {
	.logo-section .logo {
		margin-left: 20px;
	}
	.container {
		padding: 0;
        overflow-x: hidden;
	}
	footer, .page-post-content, .info-restoran {
		padding-left: 10px;
		padding-right: 10px;
	}
	footer .web-development {
		text-align: left;
	}
	nav {
		background-color: #FEF252;
		height: 64px;
	}
	nav ul {
		height: auto;
		background: #FEF252;
	}
	nav ul li a {
		color: #000;
		padding: 0;
	}
	nav ul ul {
		top: 30px;
		right: 0;
		background: #000;
		width: 200px;
	}
	nav ul ul:before {
		display: none;
	}
	nav ul ul li a {
		color: #fff;
		padding: 0 10px;
		height: auto;
		line-height: 35px;
	}
	nav ul ul li {
		height: auto;
		line-height: 35px;
	}
	nav ul li:hover > a {
		color: #000;
		text-decoration: underline;
	}
	li.home-link {
		display: none;
	}
	.login-popup .content img {
		width: 76px;
	}
	.desktop.links {
		display: none;
	}
	.mobile-fast-links {
		display: block;
		position: absolute;
		top: 5px;
		right: 10px;
		z-index: 10;
	}
	.mobile-fast-links a {
		margin-left: 10px;
	}
	.header-box {
		display: flex;
		flex-direction: column;
	}
	.header-box .main-header {
		flex: 0 0 100%;
		order: 2;
	}
	.header-box .navbar {
		flex: 0 0 100%;
		order: 1;
	}
	#home-carousel .desc {
		text-align: left;
	}
	#home-carousel .desc img {
		width: 36px;
		float: left;
		margin-left: 5px;
	}
	#home-carousel .desc hr {
		display: none;
	}
	#home-carousel .desc p {
		display: contents;
		font-size: 18px;
		line-height: 24px;
		font-family: inherit;
		margin-left: 20px;
	}
	#home-carousel .desc a {
		top: -26px;
		bottom: auto;
		padding: 5px 10px;
		width: 60%;
	}
	#home-carousel .owl-dots {
		display: none !important;
	}
	#home-carousel .owl-nav {
		bottom: 110px;
	}
	#home-carousel .owl-nav span {
		color: #fef252;
	}
	.fast-links .item {
		flex-direction: column;
	}
	.fast-links img {
		flex: 0 0 100%;
	}
	.fast-links a {
		flex: 0 0 100%;
		text-align: center;
	}
	.social-share {
		padding-left: 0;
	}
	.intro-jelovnici a {
		font-size: 12px;
		padding: 2px 5px;
		margin: 1px;
		text-transform: capitalize;
	}
	body .accessability_container {
		top: 65px;
	}
	.breadcrumbs {
		margin-top: 0;
	}
	.breadcrumbs a, .breadcrumbs {
		font-size: 12px;
		line-height: 15px;
	}
}
