/*
Theme Name: BlocksyChild by Utrdba d.o.o.
Description: A Child Theme built for Blocksy
Template: blocksy
Version: 1.0
*/

body #main-container {
	background-image: url("img/SGA_Homepage_Sub-Hero.png");
	background-position: center;
	background-position-y: 0px;
	background-repeat: no-repeat;
}

body.home #main-container {
	background-image: url("img/SGA_Homepage_top-bg.png");
	background-position: center;
	background-position-y: 0px;
	background-repeat: no-repeat;
	min-height: auto;
}

#header.ct-header [data-row=middle] {
    background-position: center center;
    background-size: auto;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0);
    background-image: url("img/top-bg.png");
}

body #header [data-row=bottom]{
	display: none;
}
body.home #header [data-row=bottom]{
	display: block;
}

#offcanvas .ct-panel-inner {
    background-color:#084166 !important;
}

[data-column=end] [data-items=primary] [data-menu*=type-1]:last-child>ul>li:last-child>a {
    padding-inline-end: 20px;
}

.ct-header [data-id="menu"] > ul > li > a:hover {
	background-image: url("img/menu-hover.png");
	background-repeat: no-repeat;
	background-position-y: 45px;
	background-position-x: center;
}


.excellence-automotive:hover {
	background-image: url("img/SGA_Homepage_excellence-automotive-hover.png");
	color: #074166;
}
.excellence-home:hover {
	background-image: url("img/SGA_Homepage_excellence-home-appliances-hover.png");
	color: #074166;
}
.excellence-industrial:hover {
	background-image: url("img/SGA_Homepage_excellence-industrial-hover.png");
	color: #074166;
}
.excellence-infrastructure:hover {
	background-image: url("img/SGA_Homepage_excellence-infrastructure-hover.png");
	color: #074166;
}

[class*=header-menu] {
	height: 60%;
}

#header [data-items] {
}

[data-items="primary"] {
  flex-wrap: wrap;       /* dovoli prelom v novo vrstico */
}

[data-items="primary"] .ct-header-text {
  flex: 0 0 100%;        /* element zasede celo vrstico -> gre spodaj */
  display: flex;
  justify-content: flex-end; /* poravnava vsebine desno */
}

[data-items="primary"] .ct-header-text p {
  margin: 0;
  text-align: right;
}

[type=submit]:disabled {
	opacity: 1;
	background-color: #636363;
}

header.entry-header {
	min-height: 169px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header.entry-header > h1.page-title {
	text-align: center;
	color: #FFFFFF;    
	font-size: 50px;
    font-weight: 300;
	text-transform: uppercase;  
}
/* HOME Buttons */
.pioneer2integrator:hover{
    background-image: linear-gradient(180deg, rgb(255,255,255) 85%,#E3A574 85%);
}

/* Ob hoverju na container */
.pioneer-wrap {
    margin-top: -110px;
}

.techhubbuttonbigcontainer {
	min-height: 80px;
	padding: 15px;
	border-width: 1px;
	border-color: #FFFFFF;
	border-radius: 20px;
	background-color: #FFFFFF;
}
.techhubbuttonbigcontainer:hover {
	border-color: #dca880;
}
.techhubbuttonbigcontainer img,
.techhubbuttonbigcontainer:hover img {
	left: 15px;
    transition: none !important;
}
.techhubbuttonbigcontainer,
.casestudybutton,
.engineering-wrap,
.pioneer-wrap,
.innovation-wrap {
    position: relative;
}
/* Normalna slika ostane v normalnem toku in določa velikost containerja */
.techhubbuttonbigcontainer .img-normal,
.engineering-wrap .img-normal,
.casestudybutton .img-normal,
.pioneer-wrap .img-normal,
.innovation-wrap .img-normal {
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Hover slika ne vpliva na postavitev */
.techhubbuttonbigcontainer .img-hover,
.engineering-wrap .img-hover,
.casestudybutton .img-hover,
.pioneer-wrap .img-hover,
.innovation-wrap .img-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.casestudybutton img.img-normal{
	left: 0px;
	top: 0px;
}
.casestudybutton img.img-hover{
	left: 15px;
	top: 15px;
}
.engineering-wrap img.img-hover{
	left: 15px;
	top: 15px;
}

.techhubbuttonbigcontainer:hover .img-normal,
.engineering-wrap:hover .img-normal,
.casestudybutton:hover .img-normal,
.pioneer-wrap:hover .img-normal,
.innovation-wrap:hover .img-normal {
    opacity: 0;
}

.techhubbuttonbigcontainer:hover .img-hover,
.engineering-wrap:hover .img-hover,
.pioneer-wrap:hover .img-hover,
.innovation-wrap:hover .img-hover,
.casestudybutton:hover .img-hover {
    opacity: 1;
}
.casestudybutton div{
	width: 100%;
	height: 98px;
}
/* <-------- */

/* BROWSE */
.techhubbuttonbigcontainer img{
	padding-right: 20px;
}
.browsebutton {
	float: right;
	margin-right: 20px;
	padding: 10px 20px 10px 20px;
	border: 0px;
	font-size: 22px;
	color: #FFFFFF;
	border-radius: 40px;
	background-color: #084166;
	text-align: center;
	line-height: normal;

}
.techhubbuttonbigcontainer:hover .browsebutton {
    background-color: #dca880;
}

/* techhub */
.techhubbutton,
.techhubbutton2 {
	height: 98px;
	/*width: 492px; */
	max-width: 100%;
	margin-top: 10px;
}
@media (max-width: 767px) {
	body.home #main-container {
		background-size: 651%;
	}
    .techhubbutton,
	.techhubbutton2 {
		height: 80px !important;
    }
	.techhubbutton p {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		padding-left: 90px !important;
		padding-right: 10px !important;
	}
	.techhubbutton2 p {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		padding-left: 54px !important;
		padding-right: 20px !important;
	}

	#header.ct-header [data-row=middle] {
		background-color: rgb(255, 255, 255);
		background-image: none;
	}
	header.entry-header > h1.page-title {
		font-size: 40px;
	}
	.casestudybutton img.img-normal{
		left: 5px;
		top: 0px;
	}
	.casestudybutton img.img-hover{
		left: 5px;
		top: 5px;
	}
}
@media (max-width: 1024px) and (min-width: 768px) {
	body.home #main-container {
		background-size: 268%;
	}
    .techhubbutton,
	.techhubbutton2 {
		height: 96px !important;
    }
	.techhubbutton p,
	.techhubbutton2 p {
		padding-top: 2px !important;
		padding-bottom: 2px !important;
		padding-left: 60px !important;
		padding-right: 30px !important;
		line-height: 18px;
	}

	#header.ct-header [data-row=middle] {
		background-color: rgb(255, 255, 255);
		background-image: none;
	}
	.browsebutton {
		font-size: 18px;
	}
	.casestudybutton img.img-normal{
		left: 5px;
		top: 5px;
	}
	.casestudybutton img.img-hover{
		left: 5px;
		top: 15px;
	}
}
.techhubbutton p,
.techhubbutton2 p {
	padding-top: 24px;
	padding-bottom: 12px;
	padding-left: 110px;
	padding-right: 90px;
}
.techhubbuttonbigcontainer,
.techhubbuttonbig,
.careerbutton, 
.casestudybutton {
    display: flex !important;
    align-items: center;
}
.casestudybutton > div {
    width: 100%;
}
.casestudybutton p {
    margin: 0;
}
.techhubbuttonbig {
    min-height: 108px;
}

.techhubbuttonbig p {
    margin: 0;
}

/* career */
/* casestudy */
.careerbutton, .casestudybutton {
	height: 98px;
	/*width: 492px; */
	max-width: 100%;
	margin-top: 10px;
}
.careerbutton p, .casestudybutton p {
	padding-bottom: 12px;
	padding-right: 90px;
	width: 100%;
}
.careerbutton p {
	padding-top: 24px;
	padding-left: 30px;
}
.casestudybutton p {
	padding-top: 12px;
	padding-left: 15px;
}
.careerbuttonbig {
	height: 108px;
}


@media (max-width: 767px) {
	
	.techhubbuttonbigcontainer > div {
		width: auto !important;
	}

    .careerbutton, .casestudybutton {
		height: 80px !important;
    }
	.careerbutton p, .casestudybutton p {
		padding-bottom: 2px !important;
		line-height: normal !important;
	}
	.careerbutton p {
		padding-top: 12px !important;
		padding-left: 30px !important;
		padding-right: 10px !important;
	}
	.casestudybutton p {
		padding-top: 0px !important;
		padding-left: 0px !important;
		padding-right: 35px !important;
	}
	.casestudybutton img {
		margin-inline-end: 1em !important;
	}
}
@media (max-width: 1024px) and (min-width: 768px) {
    .careerbutton, .casestudybutton {
		height: 96px !important;
    }
	.careerbutton p, .casestudybutton p {
		padding-bottom: 2px !important;
		margin-inline-end: 1em !important;
		line-height: normal !important;
	}
	.careerbutton p {
		padding-top: 24px !important;
		padding-left: 30px !important;
		padding-right: 60px !important;
	}
	.casestudybutton p {
		padding-top: 0px !important;
		padding-left: 0px !important;
		padding-right: 35px !important;
	}
	.casestudybutton img {
		margin-inline-end: 1em !important;
	}

}
/**/
img.caseimg{

}
img.certimg{

}
img.paperimg{

}
/* CF7 za SGA */
.contact-form-sga {
	max-width: 570px;
	margin: 0 20px;
}

.contact-form-sga .form-field {
	margin-bottom: 14px;
}

.contact-form-sga input[type="text"],
.contact-form-sga input[type="email"],
.contact-form-sga input[type="tel"],
.contact-form-sga select,
.contact-form-sga textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid rgba(34, 72, 105, 0.2);
	border-radius: 28px;
	background: #ffffff;
	color: #264c6e;
	font-family: inherit;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
	outline: none;
	box-shadow: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.contact-form-sga input[type="text"],
.contact-form-sga input[type="email"],
.contact-form-sga input[type="tel"],
.contact-form-sga select {
	height: 50px;
	padding: 0 30px;
}

.contact-form-sga textarea {
	min-height: 165px;
	padding: 22px 30px;
	border-radius: 28px;
	resize: vertical;
}

.contact-form-sga input::placeholder,
.contact-form-sga textarea::placeholder {
	color: #264c6e;
	opacity: 1;
}

.contact-form-sga input:focus,
.contact-form-sga select:focus,
.contact-form-sga textarea:focus {
	border-color: #d8a06f;
	box-shadow: 0 0 0 3px rgba(216, 160, 111, 0.2);
}

/* Select */
.contact-form-sga .form-select {
	position: relative;
}

.contact-form-sga .form-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 29px;
	width: 14px;
	height: 14px;
	border-right: 6px solid #d8a06f;
	border-bottom: 6px solid #d8a06f;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.contact-form-sga select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding-right: 70px;
	cursor: pointer;
}

/* Gumb delno prekriva textarea */
.contact-form-sga .form-message {
	margin-bottom: 0;
}

.contact-form-sga .form-submit {
    position: relative;
    margin-top: -22px;
    text-align: center;
}

.contact-form-sga .form-submit p {
    display: inline-block;
    position: relative;
    margin: 0;
}

.contact-form-sga .wpcf7-spinner {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translate(10px, -50%);
    margin: 0;
}
.contact-form-sga input[type="submit"] {
	height: 46px;
	padding: 0 32px;
	border: 0;
	border-radius: 24px;
	background: #163f63;
	color: #ffffff;
	font-family: inherit;
	font-size: 18px;
	font-weight: 400;
	line-height: 46px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}


.contact-form-sga input[type="submit"]:hover {
	background: #0e304f;
	transform: translateY(-1px);
}

/* Contact Form 7 elementi */
.contact-form-sga .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.contact-form-sga .wpcf7-not-valid-tip {
	margin: 7px 20px 0;
	font-size: 14px;
	color: #ffb3b3;
}

.contact-form-sga .wpcf7-response-output {
	margin: 25px 0 0;
	padding: 12px 18px;
	border-radius: 14px;
	color: #ffffff;
}

/* Turnstile */
.contact-form-sga .cf-turnstile,
.contact-form-sga .wpcf7-turnstile {
	display: flex;
	justify-content: center;
	margin: 15px 0;
}

/* Mobilni prikaz */
@media (max-width: 767px) {
	.techhubbutton,
	.techhubbutton2 {
		height: auto;
	}

	.techhubbutton p,
	.techhubbutton2 p {
		padding-top: 0px;
		padding-bottom: 0px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.contact-form-sga .form-field {
		margin-bottom: 18px;
	}

	.contact-form-sga input[type="text"],
	.contact-form-sga input[type="email"],
	.contact-form-sga input[type="tel"],
	.contact-form-sga select {
		height: 58px;
		padding-left: 22px;
		font-size: 17px;
	}

	.contact-form-sga textarea {
		min-height: 140px;
		padding: 18px 22px;
		font-size: 17px;
	}

	.contact-form-sga .form-select::after {
		right: 23px;
		width: 11px;
		height: 11px;
		border-width: 0 5px 5px 0;
	}

	.contact-form-sga input[type="submit"] {
		min-width: 190px;
		height: 42px;
		font-size: 15px;
		line-height: 42px;
	}
	.contact-form-sga .form-submit {
		margin-top: 0px;
	}
}