/*
Theme Name: Atec
Theme URI: https://atec.rs
Author: Atec Technologies
Author URI: https://atec.rs
Version: 2023
*/

/* 
1.0 HEADER 
2.0 MENU 
3.0 PAGE LAYOUT & ELEMENTS
4.0 PAGES
5.0 FOOTER
6.0 MEDIA QUERIES
*/

:root {
  --primary-color: #ab0425;
  --secondary-color: #fff;
}


/******** 1.0 HEADER ********/
h1, h2, h3, h4, h5 {
    font-family: "Carlito", sans-serif;
}

.navbar-expand-xl {
	padding-bottom: 0;
	padding-top: 0;
}

.logo-header img {
	z-index: 3;
	position: relative;
}

.header {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
}

/******** 1.0 END HEADER ********/

/******** 2.0 MENU ********/
.dropdown:hover .dropdown-menu {
    display: block;
}

.menu-item-has-children .caret {
	position: relative;
	content: "\f0d7";
	font-family: "FontAwesome";
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-left: 2px;
	vertical-align: middle;
	border-top: 0px;
	border-right: 0px;
	border-left: 0px;
	z-index: 999;
	cursor: auto;
}

.menu-item-has-children .caret::before {
	position: absolute;
	content: "\f0d7";
	font-family: "FontAwesome";
	top: -3px;
	left: 3px;
}

.dropdown-item.active {
	background-color: transparent;
	color: #000 !important;
}

.navbar-default {
	background-color: #a50046;
	border-color: #a50046;
	margin-bottom: 0;
}

#menu-main-menu a {
	text-align: center;
	padding-left: 15px;
	padding-right: 15px;
	position: relative;
	white-space: nowrap;
	font-size: 18px;
	font-weight: 600;
	color: #00aff0;
	text-transform: uppercase;
	transition: all 0.5s;
}

#menu-main-menu .active a {
	background-color: transparent;
}

#menu-main-menu a:hover {
	color: #f8f8f8;
}

.current-menu-item a {
	color: #f8f8f8 !important;
}

#menu-main-menu a:hover, #menu-main-menu a.active {
	background-color: #3e4095;
	transition: all 0.5s;
	border-radius: 10px;
}

.header-page img {
	width: 100%;
	border-radius: 20px;
}

#menu-main-menu {
	background-color: #fff;
}

.header-border-top.container {
	padding-bottom: 20px;
}

.main-nav {
  width: 100%;
}

.nav-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
}

#main-menu i {
	font-size: 30px;
}

/* LOGO */
.logo {
	position: relative;
	display: block;
	flex: 0 0 auto;
}

.logo img {
	display: block;
	width: 100%;
}

.logo .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.2s;
}

.logo:hover .img-hover {
  opacity: 1;
}

.logo:hover .img-default {
  opacity: 0;
}

/* MENU desktop */
.menu {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	justify-content: space-between;
}

.menu li a {
  position: relative;
  display: block;
}

.menu img {
	display: block;
	width: 100%;
}

.menu .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.2s;
}

.menu li a:hover .img-hover {
  opacity: 1;
}

.menu li a:hover .img-default {
  opacity: 0;
}

/******** 2.0 END MENU ********/


/******** 3.0 PAGE LAYOUT & ELEMENTS ********/

/* Standard Page Elements */

#scroll-top {
	width: 40px;
	height: 40px;
	opacity: 0.3;
	position: fixed;
	bottom: 50px;
	right: 50px;
	display: none;
	text-indent: -9999px;
	background: url('images/icon_top.png') no-repeat;
	outline: none !important;
}

body {
	font-family: "Manrope", sans-serif;
	color: #1c1d53;
	font-size: 16px;
	line-height: 27px;
	font-weight: 400;
}

.box-image {
    position: relative;
}

.box-image .box-normal {
    display: block;
    width: 100%;
}

.box-image .box-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box-image:hover .box-hover {
    opacity: 1;
}

/******** 3.0 END PAGE LAYOUT & ELEMENTS  ********/


/******** 4.0 PAGES ********/

.fp-clanovi-tima {
	text-align: center;
}

#footer-logo h3 {
	font-size: 38px;
	line-height: 1.15;
	font-weight: 800;
	color: #3e4095;
	margin-top: 0;
	text-align: center;
	text-transform: uppercase;
}

.fp-section-clanovi {
	margin-bottom: 20px;
}

.wp-block-columns.fv-video {
	text-align: center;
	margin-bottom: 0;
}

.page-content {
	padding-top: 30px;
	padding-bottom: 30px;
}

a {
	text-decoration: none;
	transition: all 0.5s;
}

.header-page.home-header-slider {
	height: auto;
}

.archive-item {
	padding-bottom: 40px;
}

a.read-more, a.close-more {
	color: #eb268f;
	font-weight: 600;
	font-size: 20px;
}

.read-more i, .close-more i {
	color: #eb268f;
	font-size: 26px;
	padding-right: 5px;
	font-weight: 900;
	padding-top: 2px;
}

.promo-gallery img {
	width: 100%;
}

.promo-gallery {
	padding-top: 3%;
	padding-bottom: 3%;
}

.promo-item {
	position: relative;
	overflow: hidden;
	margin-bottom: 24px;
}

.promo-item-link {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
}

.promo-image {
    display: block;
    width: 100%;
    height: auto;
}

.promo-image-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-item-link:hover .promo-image-hover {
    opacity: 1;
}

.pdf-guide-wrapper {
	width: 100%;
	margin-top: 30px;
	margin-bottom: 25px;
}

.pdf-guide {
	width: 100%;
	background: #fff;
	border: 1px solid #dfe5f2;
	border-radius: 15px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 30px 18px 30px 30px;
	text-decoration: none;
	box-shadow: 0 4px 9px #cfd6e9;
	transition: .3s ease;
}

.pdf-guide:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.pdf-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pdf-icon {
    font-size: 54px;
    color: #ff3b8d;
    line-height: 1;
}

.wp-block-column.is-layout-flow.wp-block-column-is-layout-flow figure {
	margin: 0;
}

.wp-block-column.clanovi-titl.is-layout-flow.wp-block-column-is-layout-flow h2 {
	font-size: 38px;
	line-height: 1.15;
	font-weight: 800;
	color: #3e4095;
	margin-top: 28px;
	text-align: center;
	text-transform: uppercase;
}

.pdf-title {
	font-size: 22px;
	line-height: 1.15;
	font-weight: 800;
	color: #3e4095;
}

.pdf-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e93688;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* HEADER */
.acc-header {
    cursor: pointer;
    padding: 10px 0;
}

/* BOOTSTRAP COLUMNS RESET */
.acc-header.row {
    margin-left: 0;
    margin-right: 0;
}

/* DESNA SLIKA */
.acc-right {
    position: relative;
    padding: 0;
}

.acc-right img {
    width: 100%;
    height: auto;
    display: block;
}

/* LEVA SLIKA */
.acc-left {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.acc-left img {
    width: 100%;
    height: auto;
    display: block;
}

/* HOVER AKTIVACIJA */
.acc-left:hover img.hover,
.acc-item.active .acc-left img.hover {
    opacity: 1;
}

.acc-content {
    display: none;
}

.acc-item.active .acc-content {
    display: block;
}

.acc-content.content-baze-znanja {
	padding-left: 153px;
	padding-right: 153px;
}

.promo-content {
	padding-left: 148px;
	padding-right: 148px;
}

.acc-content.content-baze-znanja img {
	width: 100%;
}

.baze-znanja-post {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 20px;
}

.promo-content figure {
	margin: 0;
}

.promo-content .wp-block-image img {
	padding: 0 5px 10px 5px;
}

.tribina-text {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.tribina-date, .tribina-title {
	text-align: center;
}

.tribina-date, .foto-vest-date {
	font-size: 22px;
	font-family: "Merriweather", serif;
	font-weight: 900;
}

.tribina-title, .foto-vest-title {
	font-size: 50px;
	font-weight: 900;
	margin-bottom: 25px;
	margin-top: -5px;
	text-transform: uppercase;
	font-family: "Merriweather", serif;
}

.tribina-text {
	max-height: 250px;
	overflow-y: scroll;
	padding-right: 10px;
	margin-top: 30px;
	margin-bottom: 30px;
}

.foto-vest-text {
	max-height: 250px;
	overflow-y: scroll;
	padding-right: 10px;
	margin-top: 0;
	margin-bottom: 30px;
}

.tribina-image img {
	text-align: center;
}

.tribina-image img, .foto-vesti-left img {
	border-radius: 20px;
	width: 100%;
}

.acc-content .tribina-item, .foto-vest-item {
	padding-left: 50px;
	padding-right: 50px;
}

.project-all-column h2 {
	font-size: 50px;
	font-weight: 900;
	margin-bottom: 25px;
	margin-top: -5px;
	text-transform: uppercase;
	font-family: "Merriweather", serif;
}

.project-all-column h3 {
	font-size: 22px;
	font-family: "Merriweather", serif;
	font-weight: 900;
	text-transform: uppercase;
}

.project-all-column-scroll {
	max-height: 350px;
	overflow-y: auto;
	padding-right: 10px;
}

.project-all-column-image figure {
	margin: 0;
}

.project-all-column-image img {
	border-radius: 20px;
}

.project-all-column {
	margin-bottom: 0;
}

.kalendar-naslov h2 {
	background-color: #f1f1f1;
	padding-top: 10px;
	padding-bottom: 10px;
}

.nas-tim-box img {
	border-radius: 100%;
	margin-bottom: 20px;
}

.project-all-column-image.nas-tim-box {
	text-align: center;
}

.nas-tim-box h3 {
	font-family: "Merriweather", serif;
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
}

.nas-tim-box h4 {
	font-family: "Merriweather", serif;
	font-size: 32px;
	font-weight: 900;
	text-transform: uppercase;
}

.nas-tim-box h5 {
	font-family: "Merriweather", serif;
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
}
/******** 5.0 PAGES ********/


/******** 5.0 FOOTER ********/

.website-design {
	font-size: 12px;
	color: #fff;
	text-align: center;
	letter-spacing: 0.3px;
	font-weight: 300;
	padding: 5px 0 5px 0;
	background-color: #3e4095;
	border-top: 35px solid #00aff0;
}

.footer-shadow {
	padding-top: 0;
	padding-bottom: 0;
}

.website-design.container-fluid a {
	color: #fff !important;
}

.website-design.container-fluid a:hover {
	color: #f8f8f8;
}

.footer-box p {
	margin-bottom: 0;
	line-height: 25px;
}

.footer-box a {
	color: #185dbf;
	font-style: italic;
	border-bottom: 1px solid #185dbf;
}

.footer-box a:hover {
	border-bottom: 1px solid #c5212c;
	color: #c5212c;
}

.footer-box h4 {
	font-weight: bold;
	margin-bottom: 0;
	font-size: 18px;
}

.footer-box {
	padding-bottom: 10px;
}

.footer-column img {
	width: 100%;
}

footer {
    background: url('images/footer-bcg.png') center bottom no-repeat;
    background-size: cover;
}

.header-page {
    background: url('images/footer-bcg.png') center center no-repeat;
    background-size: cover;
}

.header-page-title h1 {
	text-align: center;
	padding: 45px 0;
	font-size: 42px;
	font-weight: 600;
	color: #3e4095;
	margin: 0;
}

.o-pokrovitelju-img figure, figure.o-pokrovitelju-img {
    margin: 0 auto !important;
    text-align: center;
}

.archive-page.archive-radionice {
	padding-top: 2%;
	padding-bottom: 3%;
}

.archive-page.archive-radionice .container {
	padding-left: 3%;
	padding-right: 3%;
}

.archive-image img {
	width: 100%;
	border-radius: 15px;
	margin-bottom: 20px;
	height: auto;
}

.archive-page.archive-radionice h2 {
	font-size: 42px;
	color: #3e4095;
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}

.archive-date {
	color: #00aff0;
	font-size: 16px;
}

.content.page-content figure {
	margin: 0;
}

.page-pokrovitelji h2 {
	padding: 30px 0 15px 0;
	text-align: center;
	font-size: 44px;
	color: #3e4095;
	font-weight: 900;
}

.footer-partner-logos{
    display:grid;
    grid-template-columns:repeat(12, 1fr);
    gap:0;
    margin:0;
    padding:0;
}

.partner-logo{
    position:relative;
    display:block;
    width:100%;
    height:160px;
    margin:0;
    padding:0;
    overflow:hidden;
}

.partner-logo .logo-normal,
.partner-logo .logo-hover{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;
    transform:none;
    transition:opacity .3s ease;
}

.partner-logo .logo-normal{
    opacity:1;
}

.partner-logo .logo-hover{
    opacity:0;
}

.partner-logo:hover .logo-normal{
    opacity:0;
}

.partner-logo:hover .logo-hover{
    opacity:1;
}

.copyright-left br {
	display: block;
}

.copyright-left {
	line-height: 20px;
}
/******** 5.0 END FOOTER ********/


/******** 6.0 MEDIA QUERIES ********/

/* X-Large devices (large desktops, less than 1920px) */
@media (min-width: 1920px) {

.header-page.home-header-slider img {
	width: 100%;
	border-radius: 20px;
}

}

/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1700px) {

}


/* X-Large devices (large desktops, less than 1400px) */
@media (max-width: 1430px) {

.container-fluid.front-page-content {
	margin-top: -30px;
}
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {

.navbar {
	padding-left: 0;
	padding-right: 0;
}

.blog-inner-text h4 {
	font-size: 22px;
}

.archive-page.archive-radionice h2 {
	font-size: 36px;
}

a.read-more, a.close-more {
	font-size: 18px;
}

.read-more i, .close-more i {
	font-size: 21px;
}

.page-pokrovitelji h2 {
	font-size: 38px;
}

.navbar-toggler {
	font-size: 1.65rem;
}

.navbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	padding-bottom: 0.5rem;
	position: absolute;
	top: 29px;
	left: 0;
	width: 100%;
	padding: 10px 20px;
}

#main-menu {
	background-color: #fff;
	margin-top: 15px;
    margin-bottom: 25px !important;
}   

#menu-main-menu {
	margin-top: 5px;
	margin-bottom: 5px !important;
}

#menu-main-menu a {
	padding-bottom: 5px;
	padding-top: 3px;
	color: #fff !important;
	font-size: 18px;
}

#menu-main-menu a::before {
	display: none;
}

.home .content-header .navbar-toggler {
	margin-left: auto;
	padding: 9px 15px;
}

.navbar-toggler {
	background-color: transparent;
	padding: 9px 15px;
	margin-left: auto;
}

.logo-header a {
	position: relative;
	z-index: 9999;
}

#menu-main-menu {
	background-color: #3e4095;
	padding-top: 10px;
	padding-bottom: 10px;
}

button:focus:not(:focus-visible) {
	outline: 0;
	box-shadow: none;
}

.content-header .navbar-collapse {
	background-color: #fff;
	margin-top: 10px;
	border-radius: 2px;
	box-shadow: 0 16px 50px rgba(0,0,0,0.07);
	border: none;
	position: absolute;
	top: 45px;
	left: 0;
	width: 100vw;
	z-index: 99999;
}

.content-header .navbar-toggler i {
	color: #3e4095;
	font-size: 33px;
}

.content-header {
	border-bottom: 0px solid #fff;
}

.menu-hidden {
	display: block;
}
	
iframe {
	border: 0;
	width: 100% !important;
}	
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    
.content.page-content .container, .archive-home-fotov {
	padding-left: 12px;
	padding-right: 12px;
}

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
	flex-basis: 47% !important;
}

.wp-block-columns {
	display: flex;
	margin-bottom: 1.75em;
	box-sizing: border-box;
	flex-wrap: wrap !important;
	align-items: normal !important;
}

.container-fluid.front-page-content {
	margin-top: -20px;
}

.footer-partner-logos {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
}

.partner-logo .logo-normal, .partner-logo .logo-hover {
	object-fit: cover;
}

.navbar {
	top: 10px;
}

}


/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {

.home-fotov-inner {
	padding: 20px;
}

.page-pokrovitelji h2 {
	font-size: 32px;
}

.container-fluid.front-page-content {
	margin-top: -15px;
}

.archive-page.archive-radionice h2 {
	font-size: 34px;
}

.partner-logo .logo-normal, .partner-logo .logo-hover {
	object-fit: none;
}

}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

.container.archive-home-fotov {
	padding-top: 10px;
	padding-bottom: 20px;
}

.archive-page.archive-radionice h2 {
	font-size: 26px;
}

.header-page-title h1 {
	font-size: 38px;
	line-height: 32px;
}

#footer-logo h3, .wp-block-column.clanovi-titl.is-layout-flow.wp-block-column-is-layout-flow h2 {
	font-size: 34px;
}

.pdf-left {
	gap: 8px;
}

.pdf-arrow {
	width: 36px;
	height: 30px;
	font-size: 15px;
}

.pdf-title {
	font-size: 20px;
}

.pdf-guide {
	padding: 20px 10px 20px 10px;
}

.page-pokrovitelji h2 {
	font-size: 26px;
}

.page-content {
	padding-top: 0;
	padding-bottom: 20px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	margin: 0;
	width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px)/2) !important;
}

.container-fluid.front-page-content {
	margin-top: -10px;
}

.footer-partner-logos {
	grid-template-columns: repeat(4, 1fr);
}

.partner-logo {
	height: 140px;
}

.logo-header img {
	width: 130px;
}
}

@media (max-width: 478.98px) {

.wp-block-column.fp-box h2 {
	font-size: 20px;
}

}

   
    /******** 6.0 END MEDIA QUERIES ********/