/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
._df_book, video.elementor-video {border-radius: 16px;}
img[src*="yellow-arrow.svg"] {
    max-height: 12px;
    max-width: 7px;
}

.header-menu-pc {height: max-content;}
/*PC*/
@media only screen and (min-width: 1024px){
	.page-content {
		position: relative;
		overflow: hidden;
	}
	/*main#content .page-content:before {
		content: '';
		position: absolute;
		top: 470px;
		right: 0;
		width: 82px;
		height: calc(100% - 350px);
		background: url(/wp-content/uploads/2024/11/SRSC-Pattern.svg);
		z-index: 1;
		background-size: contain;
	}*/
}

.elementor-shortcode a[title="sr_RS"] {order: 1;}
.elementor-shortcode a[title="en_GB"] {order: 2;}
.elementor-shortcode a[title="de_DE"] {order: 3;}
.elementor-shortcode a[title="fr_FR"] {order: 4;}
.elementor-shortcode a[title="zh_CN"] {order: 5;}

/*POCETNA*/
.hero-carousel .swiper-pagination-bullets.swiper-pagination-horizontal{
    width: max-content !important;
}
.home footer > div,
.page-id-374 footer > div,
.page-id-443 footer > div {
    border-top-width: 0 !important;
}
.home-cards-card:hover .card-yellow {
    background: var(--e-global-color-34ae5bf) !important;
}
/*Animacija za kartice*/
.home-cards-card {
    height: 500px;
    overflow: hidden;
}
.home-cards-card .elementor-widget-image-box,
.home-cards-card .card-yellow {
    transform: translateY(60px);
    transition: all .5s;
}
.home-cards-card:hover .elementor-widget-image-box,
.home-cards-card:hover .hover-container,
.home-cards-card:hover .card-button,
.home-cards-card:hover .card-yellow{
    transform: translateY(0px);
}
.home-cards-card .hover-container,
.home-cards-card .card-button {
    transform: translateY(-60px);
    transition: all .5s;
}

.elementor-post-navigation .post-navigation__arrow-wrapper i:before {
    content: '';
    background: url(/wp-content/uploads/2024/11/blog-arrow.svg);
    width: 12px;
    height: 12px;
    display: block;
}

.elementor-post-navigation .post-navigation__arrow-wrapper.post-navigation__arrow-next i:before {
    transform: rotate(180deg);
}


ul#menu-1-27049b3 a, 
ul#menu-1-27049b3 a:focus, 
ul#menu-1-27049b3 a:hover {
    border: unset;
}

.reference-galerija img, .reference-galerija .e-hosted-video{
    aspect-ratio: 1024 / 601;
    object-fit: cover;
    width: 100%;
	border-radius: 16px;
}

.reference-galerija video.elementor-video {
    border-radius: 16px;
}

.reference-galerija .e-hosted-video:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: url(https://srsc.rs/wp-content/uploads/2024/11/play.svg);
    background-size: contain;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

table.laser-table td {
    padding: 10px;
}

.elementor-widget-image a {
    width: 100%;
}

.elementor-shortcode {
    display: flex;
    gap: 16px;
    align-items: center;
}

.elementor-shortcode img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 5px;
}

/*LAPTOP*/
@media only screen and (min-width: 1025px) and (max-width: 1366px) {
	.home-cards-card:nth-child(3) .elementor-widget-image-box {
		transform: translateY(90px);   
	}
	
	.home-cards-card:nth-child(3):hover .elementor-widget-image-box {
		transform: translateY(0px);   
	}
}
@media only screen and (min-width: 1025px) and (max-width: 1146px) {
	.home-cards-card:nth-child(5) .elementor-widget-image-box,
	.home-cards-card:nth-child(1) .elementor-widget-image-box,
	.home-cards-card:nth-child(2) .elementor-widget-image-box{
		transform: translateY(90px);   
	}
	
		.home-cards-card:nth-child(5):hover .elementor-widget-image-box,
		.home-cards-card:nth-child(1):hover .elementor-widget-image-box,
		.home-cards-card:nth-child(2):hover .elementor-widget-image-box  {
		transform: translateY(0px);   
	}
}
@media only screen and (min-width: 1025px) and (max-width: 1065px) {
	.home-cards-card:nth-child(4) .elementor-widget-image-box,
	.home-cards-card:nth-child(6) .elementor-widget-image-box{
		transform: translateY(90px);   
	}
	
		.home-cards-card:nth-child(4):hover .elementor-widget-image-box,
		.home-cards-card:nth-child(6):hover .elementor-widget-image-box  {
		transform: translateY(0px);   
	}
}
/*MOBILE*/
@media only screen and (max-width: 767px){
	.btn-strane .elementor-widget-button {
		border-top: 1px solid #e5e5e5;
		border-right: 1px solid #e5e5e5;
	}
	
	.btn-strane .elementor-widget-button:nth-child(odd) {
		border-left: 1px solid #e5e5e5;
	}
	
	.btn-strane .elementor-widget-button:nth-child(3),
	.btn-strane .elementor-widget-button:nth-child(4) {
		border-bottom: 1px solid #e5e5e5;
	}
	
	/*MOBILE MENU*/
	.mobile-menu .elementor-nav-menu--main .elementor-nav-menu ul li,
	.mobile-menu .elementor-nav-menu--main .elementor-nav-menu ul {
		margin: unset !important;
		position: relative;
	}

	.mobile-menu .elementor-nav-menu--dropdown a:hover, 
	.mobile-menu .elementor-nav-menu--dropdown a.elementor-item-active, 
	.mobile-menu .elementor-nav-menu--dropdown a.highlighted, 
	.mobile-menu .elementor-menu-toggle:hover {
		text-decoration: underline;
	}
	.mobile-menu .elementor-nav-menu--dropdown a {
		margin-bottom: 20px;
	}
	.mobile-menu .elementor-nav-menu--dropdown ul > li:last-of-type > a {
		margin-bottom: 30px;
	}

	.mobile-menu nav > ul > li > a {
		font-size: 20px !important;
	}
	
	.mobile-menu svg {
	fill: var(--e-global-color-primary);
	}

	.mobile-menu nav > ul > li:not(:first-of-type):before {
		content:'';
		position: absolute;
		top: -10px;
		left: 0;
		background: var(--e-global-color-primary);
		width: 100%;
		height: 1px;
	}
	.mobile-menu .elementor-nav-menu--dropdown .elementor-sub-item {
		border-left: unset;
	}
	
	.roll-tabs .e-n-tabs-heading {
		flex-wrap: nowrap;
	}

	.roll-tabs .e-n-tabs-heading button {
		padding: 15px;
		flex-basis: 33%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}


	.roll-tabs .e-n-tabs-heading button:last-of-type {
		justify-content: flex-start;
	}

	.roll-tabs span.e-n-tab-title-text {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	
	/*PAGES*/
	.section-gradient {
		background-image: unset !important;
	}
	nav.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		width: 200px !important;
		right: 0px;
		left: unset !important;
	}
	
	.footer-social ul.elementor-icon-list-items.elementor-inline-items li:not(:first-of-type) {
		margin-top: 24px;
	}

	.btn-height a, .btn-height a span {
		display: block;
		height: 56px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		display: block;
	}
	
}

#fbuilder label {
    position: relative;
    display: initial;
    color: #111;
    font-family: "Red Rose";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
}
#fbuilder .large {
    width: 100% !important;
    color: #979797;
    font-family: "Red Rose";
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: -0.2px;
    height: 50px;
    border: 1px solid #111;
    border-radius: 0;
}
#fbuilder .fields:not(.cff-container-field) {
    padding: 10px 0 20px;
}
.fields span {
    color: #855800 !important;
    font-weight: bold;
}
h2.h2pix {
    color: #111;
    font-family: "Red Rose";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}
#fbuilder .section_break {
    border-top: 2px solid #ffd5214f !important;
    clear: both;
}
.section_breaks {
    padding: 40px 0 !important;
}
@media only screen and (max-width: 966px) {
	h2.h2pix {
		font-size: 24px;
	}
}