/*
Theme Name: Sungate.ee
Theme URI: 
Author: Hundikuu Agentuur
Author URI: 
Description: Teemapakett Sungate.ee veebilehele. Baseerub WP 2024 vaikimisi teemal.
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sungate-ee
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/


/*------------------------------------*\
    #AVALEHT
\*------------------------------------*/

.home-banner-container {
    height: 760px;
    position: relative;
}

.home-banner-content {
    position: relative;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.home-banner-content-bottom {
    position: absolute;
    bottom: 5%;
}
.home-banner-content-top {
    position: absolute;
    bottom: 40%;
}
.top-content {
    max-width: 50%;
}

.home-banner-content-top h3 {
    font-size: 2.5rem;
font-weight: 600;
}

.home-banner-content-top p {
    font-size: 1.25rem;
    font-weight: 300;
}

.avaleht-kontaktid a {
    text-decoration: none !important;
}

.teenused-blokk:hover {
    transform: scale(1.02) translateY(-2px);
    transition: transform 0.2s ease-in-out;
}
.teenused-blokk {
    transition: transform 0.2s ease-in-out;
}
.avaleht-kontaktid a:before {
    margin-right: 10px;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: 17px;
}

.kontaktid-tel a:before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-bold-phone.svg');
}

.kontaktid-email a::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-bold-email.svg');
}
.projekti-kategooria-list {
    padding-top: 20px;
    padding-bottom: 10px;
}
.projekti_kategooriad_avaleht {
    padding: 0 !important;
    margin-bottom: 0px;
}

.projekti_kategooriad_avaleht li {
    display: inline-block;
    margin-right: 10px;
    list-style: none;
}

.projekt-post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 20px;
}

.projekt-post-list .projekt-post-item {
    flex: 1 0 32%;
    max-width: 32%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease-in-out;
    max-block-size: fit-content;
}

.projekt-post-item {
	position:relative;
	margin-bottom:10px;
}

.projekt-post-item .inner-box{
	position:relative;
}

.projekt-post-item .inner-box .image{
	position:relative;
	display:block;
	overflow:hidden;
}

.projekt-post-item .inner-box .image img{
	position:relative;
	width:100%;
	display:block;
    -ms-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.projekt-post-item .inner-box:hover .image img{
	-webkit-transform:scale(1.1) rotate(-3deg);	
	-ms-transform:scale(1.1) rotate(-3deg);	
	-moz-transform:scale(1.1) rotate(-3deg);	
	transform:scale(1.1) rotate(-3deg);	
}

.projekt-post-item .inner-box .image .overlay-box{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;
	display:block;
	opacity:0;
	background-color:rgba(40,42,46,0.80);
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    -ms-transform-origin: top;
    -o-transform-origin: top;
    transform-origin: top;
    -ms-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.projekt-post-item .inner-box:hover .image .overlay-box{
	opacity:1;
	-webkit-transform: translate(0%);
    -moz-transform: translate(0%);
    -ms-transform: translate(0%);
    -o-transform: translate(0%);
    transform: translate(0%);
}

.projekt-post-item .inner-box:hover .image .overlay-box .overlay-link{
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
	height:100%;	
}

.projekt-post-item .inner-box .image .overlay-box .content {
	position:absolute;
	left:0px;
	bottom:20px;
	right:0px;
	top:auto;
	text-align:center;
}

.projekt-post-item .inner-box .image .overlay-box .content h3{
	position:relative;
	font-weight:600;
	font-size:18px;
    color:#ffffff;
	opacity:0;
	-webkit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -ms-transform: translateY(70px);
    -o-transform: translateY(70px);
    transform: translateY(70px);
    cursor: default !important;
}

.projekt-post-item .inner-box:hover .image .overlay-box .content h3{
	opacity:1;
	-ms-transition: all 500ms ease 500ms;
    -moz-transition: all 500ms ease 500ms;
    -webkit-transition: all 500ms ease 500ms;
    -o-transition: all 500ms ease 500ms;
    transition: all 500ms ease 500ms;
	-webkit-transform: translate(0%);
    -moz-transform: translate(0%);
    -ms-transform: translate(0%);
    -o-transform: translate(0%);
    transform: translate(0%);
}

.projekt-post-item .inner-box .image .overlay-box .content h3 a {
	position:relative;
	color:#ffffff;
	transition: all 300ms ease;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
}

.projekt-post-item .inner-box .image .overlay-box .content h3:hover{
	color:#f7bd00;
}

.projekti-kategooria-item {
    font-weight: 500;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
    margin-right: 25px;

}

.projekti-kategooria-item.active {
    color: black;
}

.projekt-post-item {
    opacity: 0;
    transform: translateY(20px); /* Slight slide-up effect */
    transition: opacity 0.5s ease, transform 0.5s ease; /* Smooth transition */
}

/* Once items are loaded and ready, set them to be fully visible */
.projekt-post-item.show {
    opacity: 1;
    transform: translateY(0); /* Reset to original position */
}

footer.wp-block-template-part {
    margin-top: 0px !important;
}

.footer-links a {
    text-decoration: none;
}

.footer-links::before {
    margin-right: 10px;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    line-height: 17px;
}

.footer-aadress::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-orange-location.svg');
}
.footer-phone::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-orange-phone.svg');
}
.footer-email::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-orange-email.svg');
}
.sungate-kontaktleht a {
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
}

.sungate-kontaktleht::before {
    margin-right: 10px;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height: 17px;
}

.kontaktleht-aadress::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-location-bl.svg');
}
.kontaktleht-telefon::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-phone-bl.svg');
}
.kontaktleht-email::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-email-bl.svg');
}

.header-icon-phone::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-orange-phone.svg');
    height: 26px;
    width: 26px;
    margin-top: 10px;
    display: inline-block;
   line-height: 44px;

}
.header-icon-location::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/sungate-orange-location.svg');
    height: 26px;
    width: 26px;
    display: inline-block;
   line-height: 44px;
   margin-top: 10px;

}

.upper-column.info-box {
    display: flex;
    
}

.upper-column.info-box ul:hover {
    transform: scale(1.02) translateY(-2px);
    transition: transform 0.2s ease-in-out;
}
.upper-column.info-box ul {
    list-style-type: none;
    transition: transform 0.2s ease-in-out;
    margin: 0;
}

.header-link {
    text-decoration: none;
    line-height: 1.6em;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
}

.header-link-desc {
    font-weight: 300 !important;
}

.header-nav-button {
    position: relative;
    line-height: 24px;
    font-size: 16px;
    font-weight: 500;
    background: none;
    padding: 10px 34px;
    border-radius: 50px;
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.20);
    font-family: 'Poppins', sans-serif;
    color: #5b3838;
    border-color: rgba(56, 55, 55, 0.78);
    text-decoration: none;
    transition: transform 0.2s ease-in-out;

}

.header-nav-button:hover {
    background: rgb(246, 139, 31);
    color: white;
    border-color: rgb(246, 139, 31);
    transform: scale(1.02) translateY(-2px);
    transition: transform 0.2s ease-in-out;

}

.sungate-page-bredcrumbs nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.tootaja-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
}

.tootaja-post-item {
    width: calc(33.33% - 15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
    background-color: #efefef;
}

.tootaja-post-item:hover {
    transform: scale(1.01) translateY(-2px);
    transition: transform 0.2s ease-in-out;
}

.tootaja-name {
    color: #000000;
    font-family: Poppins;
    font-weight: 600;
    text-transform: capitalize;
    text-align: center;
    font-size: 1.5rem;
}

.tootaja-content .ametikoht {
    color: rgba(86, 86, 86, 0.904);
    font-weight: 600;
    text-align: center;
}

.tootaja-content .kontaktlink, .tootaja-content .kontaktlink a {
    font-weight: 400;
      color: rgba(86, 86, 86, .95);
    text-decoration: none;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;
}

.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper input[type="tel"], .gform_wrapper textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    font-family: var(--wp--preset--font-family--open-sans);
    font-size: clamp(0.875rem, 0.875rem +((1vw - 0.2rem)* 0.375), 1.1rem);
}

.gform_wrapper input[type="submit"] {
    background-color: #e18933;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: medium;
}


.gform_wrapper input:focus, .gform_wrapper textarea:focus {
    outline-width: 2px;
    outline-style: solid;
    outline-color: #f9f9f9;
}


/* Projektid leht seaded */

@media screen and  (min-width: 782px) {
    .projektid_leht {
        display: flex;
        gap: 20px;
    }
    
    .projektid_leht .projekti-kategooria-list {
        width: 20%;
    
    }
    
    .projektid_leht .projekt-post-list  {
        width: 80%;
        padding-top: 40px;
        transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        -ms-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
    }
}


.projektid_leht .projekti-kategooria-item {
    display: block;
    cursor: pointer;
    margin-bottom: 10px;
    color: black;
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

.projektid_leht .projekti-kategooria-item.active, .projektid_leht .projekti-kategooria-item:hover {
    transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    color: #f7bd00; 
}

.projektid_leht .projekti_kategooriad_avaleht {
    padding-bottom: 2em !important;
}

@media screen and (max-width: 1279px) and (min-width: 782px) {
    .home-banner-content-top .top-content {
        padding-left: 40px ;
        max-width: 90% ;
    }

    .home-banner-content-bottom {
        padding-left: 40px;
        flex-wrap: nowrap !important;
    }

    .teenused-blokk-veerg, .teenused-grupp, .footer-containter {
       padding: 0 10px;
    }
    .footer-containter h2 {
        font-size: 1.4rem;
     }

     .tootaja-post-item {
        width: calc(33.33% - 15px);

    }
    
}
@media screen and (min-width: 601px) {
    .header-nav-button.button-nodesktop {
        display: none !important;
    }
}

@media screen and (max-width: 781px) and (min-width: 601px) {
    .home-banner-container {
        height: 400px;
    }
    .top-content {
        max-width: 95%;
    }

    .projekt-post-list .projekt-post-item {
        flex: 1 0 45%;
        max-width: 50%;
        max-block-size: fit-content;
 
    }

    .home-banner-content-top .top-content {
        padding-left: 20px ;
        max-width: 98% ;
    }
    
    .top-content h3 {
        font-size: 1.6rem;
    }

    .top-content p {
        font-size: 1rem;
    }
    .home-banner-content-bottom {
        padding-left: 20px;
        flex-wrap: nowrap !important;
    }
    .home-banner-content-bottom:first-child {
        flex-basis: 15% !important;
    }

    .home-banner-content-bottom p {
        font-size: 0.8rem;
    }
    .teenused-blokk-veerg, .teenused-grupp, .footer-containter {
        padding: 0 10px;
     }

     .teenused-veerud-flex {
        flex-wrap: wrap;
     }

     .teenused-blokk {
        max-width: 48% !important;
        width: 48% !important;
        flex-basis: 48% !important;
     }
     .footer-containter h2 {
        font-size: 1.3rem;
     }

     .tootaja-post-item {
        width: calc(50% - 20px);

    }

    .wp-header-first-row {
        padding-left: 15px !important;
    }
}

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

    .wp-header-first-row {
        padding-left: 15px !important;
    }
    .home-banner-container {
        height: 400px;
    }
    .top-content {
        max-width: 95%;
    }

    .projekt-post-list .projekt-post-item {
        flex: 1 0 100%;
        min-width: 100%;

   
    }


        .header-nav-button.button-nodesktop {
            margin-left: 15px !important;
        }
    
    
    .home-banner-content-top .top-content {
        padding-left: 20px;
        padding-right: 20px;
        max-width: 100% ;
    }
    
    .top-content h3 {
        font-size: 1.2rem;
    }

    .top-content p {
        font-size: 0.75rem;
    }
    .home-banner-content-bottom {
        padding-left: 10px;
        flex-wrap: nowrap !important;
    }
    .home-banner-content-bottom:first-child {
        flex-basis: 10% !important;
    }

    .home-banner-content-bottom p {
        font-size: 0.75rem;
    }
    .home-banner-content-top {
        position: absolute;
        top: 5%;
    }

    .teenused-blokk-veerg, .teenused-grupp {
        flex: 1 0 100%;
        padding: 0 10px;
    }

    .footer-containter {
        padding: 0 10px;
     }

     .footer-containter h2 {
        font-size: 1.2rem;
     }

    .teenused-blokk {
        padding-bottom: 10px;
    }

    .teenused-veerud-flex {
        flex-wrap: wrap;
     }

     .teenused-blokk {
        max-width: 100% !important;
        width: 100% !important;
        flex-basis: 100% !important;
     }

     .tootaja-post-item {
        width: 100%;

    }

}  



/* ------------------------------------ */
/* BANNER */
/* ------------------------------------ */

.banner-inner-div {
    position: relative;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    min-height: 800px;
}

.banner-xtrial {
    position: absolute;
    top: 0%;
    right: 5%;
    padding: 0;
    margin: 0;
    max-width: 200px;
}

.banner-text-box-unibet {
    position: absolute;
    top: 20%;
    left: 5%;

}

.banner-fin-button {
    margin-top: 25px;
}

.banner-fin-button  a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 1.6rem;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #de7314;
    transition: transform 0.2s ease-in-out;
    
}

.banner-text-box-unibet .bottom-text {
    width: 90%;
}

.banner-text-box-unibet .top-text {
    width: 45%;
}

@media screen and (max-width: 600px)  {
.xtrial-banner-frame {
    min-width: 100vw !important;
    margin: 0 !important;
    
}

.banner-inner-div {
    min-height: 600px;
}
.banner-fin-button a {
    font-size: 1.2rem;
}
.banner-text-box-unibet .top-text {
    width: 90% !important;
}

    
}

.banner-text-box-unibet .location-block::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/banner_loc.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 30px;
}
.banner-text-box-unibet .date-block::before {
    content: url('/wp-content/themes/sungate-ee/assets/images/banner_date.png');
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 30px;
}



/*Tööpakkumised*/


@media screen and (min-width: 769px) {
    .joboffer {
        margin-left: 24px;
    }
	

}

@media screen and (max-width: 768px) {
	.toopakkumine {
		flex-direction: column;
	}
	
	.toopakkumine-title {
		width: 100% !important;
		padding: 5px 10px !important;
	}
	
	.toopakkumine-kandideeri {
		width: 100% !important;
		padding: 5px 10px !important;
	}

}

.toopakkumine {
  display: flex;
  width: 100%;
	margin-bottom: 2em !important;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
}

.toopakkumine-title {
  align-items: center;
  background-color: #f0f0f0;
  box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
  display: flex;
  font-weight: 400;
  padding: 20px;
  width: 80%;
}

.toopakkumine-title h3 {
  font-weight: 400;
  flex-wrap: wrap;
  font-size: 22px;
  padding: 0.5em 1em;
  margin: 0;
}

.toopakkumine-kandideeri {
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgb(0 0 0 / 10%);
  display: flex;
  width: 20%;
  background-color: #f58823;
}

.toopakkumine-kandideeri a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none !important;
}

/* Pealkirjad */
.og-title-decorations:before {
  content: "";
  width: 2px;
  display: inline-block;
  margin-right: 15px;
  background-color: #203751;
  height: 1.1em !important;
}

.og-title-decorations {
  display: flex;
  margin-left: -20px !important;
}

.hidden {
  display: none !important;
}