/* Form screen */
.form-screen{
  background: var(--black);
  background-image:url('../img/form-pattern.svg');
  background-size: cover;
}
.form-screen p, .form-screen, .form-screen .form{
  color:#fff;
}

/* Sisi */
.sisi:not(.about-sisi){
  overflow: hidden;
}
.sisi .container{
  z-index: 2;
}
.sisi .svg-vector{
  position: absolute;
  z-index: 1;
  top: 0;
  left:0;
  display: none;
  opacity: .3;
}
.sisi.reverse .svg-vector{
  left:unset;
  right:0;
}
.sisi:not(.about-sisi) .flex-row .flex-item{
  padding: 10px 0;
}
.sisi .info-item{
  text-align: center;
  margin-bottom: -20px;
}
.sisi .flex-item img{
  width: 100%;
}
@media(min-width:768px){
  .sisi .info-item{
    text-align: left;
    margin-bottom: 0;
  }
  .sisi:not(.about-sisi) .flex-row .flex-item{
    padding: 0 10px;
  }
}
@media(min-width:1280px){
  .sisi{
    margin:35px 0;
  }
  .sisi .svg-vector{
    display: block;
  }
}
/* About Side image side content */
.about-sisi .vector, .project-sisi .vector{
  position: absolute;
  top:50%;
  transform:translateY(-50%);
  right:0;
}
.about-sisi .svg-vector{
  top:-20%;
}
.about-sisi .flex-row{
  align-items: center;
}
.about-sisi .info-item{
  padding-top: 25px;
  margin-bottom: 0;
}
.about-sisi .info-item .btn{
  margin-top: 5px;
}
@media(min-width:768px){
  .about-sisi .info-item{
    padding-left: 40px;
    padding-top: 0;
  }
}
@media(min-width:850px){
  .about-sisi .flex-row{
    align-items: flex-start;
  }
}
@media(min-width:1024px){
  .about-sisi .info-item .btn{
    margin-top: 30px;
  }
}
@media(min-width:1280px){
  .about-sisi .info-item{
    padding-left: 123px;
  }
}
/* Project side image side content */
.project-sisi .small-info{
  display: inline-block;
  margin:0;
  margin-bottom: 20px;
}
.project-sisi .small-info span{
  color:var(--red);
  font-weight: 700;
}
.project-sisi .small-info li{
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 0;
  color:var(--black);
}
.project-sisi .vector{
  right:unset;
  left: -25%;
  z-index: -1;
}

/* First screen */
.first-screen {
  padding: 130px 0 70px;
  position: relative;
}
.first-screen:after{
  display: block;
  content:'';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(52, 6, 6, 0.51) 0%, rgba(52, 6, 6, 0.51) 100%);
  top:0;
  left: 0;
}
.first-screen .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  z-index: 2;
}
.hp-first-screen .container{
    min-height: 400px;
}
.first-screen .info-item, .first-screen .info p, .first-screen .info li {
  color:#fff;
  font-weight: 600;
}
.first-screen .info-item{
  max-width: 890px;
}
.first-screen .info{
  max-width: 730px;
}
.first-screen .info,
.first-screen .info-item{
  margin:0 auto;
}
.hp-first-screen.first-screen .info,
.hp-first-screen.first-screen .info-item{
  margin: 0;
}
.first-screen .btn{
  margin-top: 30px;
}
@media(min-width:768px){
  .hp-first-screen .container{
    min-height: 500px;
    text-align: left;
  }
  .first-screen .info p, .first-screen .info li{
    font-size: 20px;
    line-height: 130%;
  }
}
@media(min-width:1280px){
  .hp-first-screen .container{
    min-height: 600px;
  }
}

/* Gallery */
.gallery{
  background: var(--black);
  margin: 35px 0;
  background-image: url('../img/form-pattern.svg');
  background-size: cover;
}
.gallery, .gallery p{
  color:#fff;
}
.gallery figure{
  position: relative;
  aspect-ratio:1.4/1;
  width: 100%;
  max-width: 890px;
  margin: 0 auto;
}
.gallery .gallery-grid{
  gap:20px;
  padding:0 20px;
}
.gallery .gallery-slider figure{
  max-width: 100%;
}
.gallery .gallery-slider .slick-slide > div{
  padding: 0 10px;
}

/*CND */
.cnd .screen-ti{
  max-width: 550px;
  margin:0 0 20px;
}
.cnd .flex-row{
  margin-bottom: 30px;
  text-align: center;
}
.cnd .image-wrapper{
  position: relative;
  text-align: center;
}
.cnd .image-wrapper img{
	max-width:1350px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}
.cnd .vector,
.cnd .vector-img{
  position: absolute;
  z-index: -1;
}
.cnd .vector{
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}
.cnd .vector-img{
  bottom:-60px;
  right: 15px;
}
@media(min-width:768px){
  .cnd .screen-ti, .cnd .flex-row{
    text-align: left;
  }
}
@media(min-width:1024px){
  .cnd .vector{
    display: block;
  }
}

/* Ce facem */
.ce-facem .item{
  text-align: left;
  padding: 10px;
  width: 100%;
}
.ce-facem .item figure{
  position: relative;
  aspect-ratio:2/1;
  margin-bottom: 15px;
}
.ce-facem .item h3{
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--red);
  font-size: 20px;
  line-height: 22px;
}
@media(min-width:768px){
  .ce-facem .item{
    width: 32%;
    padding: 15px;
  }
}

/* Misiune */
.about-misiune{
  background-color: var(--black);
}
.about-misiune h2{
  color:var(--red);
}
.about-misiune p{
  font-size: 20px;
  line-height: 125%;
  color:#fff;
}
.about-misiune .item{
  padding: 10px;
}
.about-misiune .row{
  max-width: 1200px;
}
.about-misiune .vector{
  position: absolute;
  top:0;
  right: 0;
  height: 100%;
  width: auto;
}
@media(min-width:768px){
  .about-misiune .item{
    width: 49%;
    padding: 20px;
  }
  .about-misiune p{
    font-size: 24px;
  }
}


/* valori */
.valori{
  background-color: var(--black);
  color:#fff;
  text-align: center;
}
.valori h3{
  color:var(--red);
  font-size: 22px;
  text-transform: unset;
  margin-bottom: 10px;
}
.valori p{
  color:var(--grey2);
  font-size: 16px;
}
.valori ul{
  margin:0;
  list-style: none;
}
.valori ul li{
  display: inline-block;
  width: 100%;
  padding: 10px;
  vertical-align: top;
}
.valori .image-item{
  position: relative;
  margin-bottom: 20px;
}
.valori .image-item img:not(.vector){
  width: 100%;
}
.valori .vector{
  position: absolute;
  width: 158px;
  right: -10px;
  bottom: -10px;
}
@media(min-width:768px){
  .valori .flex-row{
    flex-direction: column;
  }
  .valori ul li{
    width: 32%;
  }
}
@media(min-width:1024px){
  .valori .flex-row{
    flex-direction: row-reverse;
    align-items: center;
    text-align: left;
  }
  .valori ul li{
    width: 49%;
  }
}
@media(min-width:1280px){
  .valori ul li{
    width: 32%;
  }
}
@media(min-width:1360px){
  .valori .vector{
    width: 330px;
    right: -120px;
    bottom: -30px;
  }
}

/* Header */
header{
  width: 100%;
  position:absolute;
  z-index: 99;
  left:0;
  top:0;
}
.sticky-header header{
  position:fixed;
}
/** Header main **/
.header-main{
  padding: 20px 0;
  transition: .4s;
}
.sticky-header .header-main{
  background: #fff;
  border-bottom: 1.5px solid var(--red);
}
.header-main .flex-row{
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
}
.header-main .logo-item{
  padding: 0;
  padding-right:20px;
  display:inline-flex;
}
.header-main .logo-item a{
  vertical-align:top;
  line-height:0;
}
.header-main .logo-item .color-logo,
.sticky-header .header-main .logo-item .white-logo, .slide-menu-down .header-main .logo-item .white-logo{
  display: none;
  height: 42px;
}
.sticky-header .header-main .logo-item .color-logo, .slide-menu-down .header-main .logo-item .color-logo{
  display: block;
}
.header-main .desktop-menu{
  text-align: right;
  flex: 1;
}
.main-menu{
  margin: 0;
  list-style: none;
}
.main-menu > li{
  display: inline-block;
  padding: 10px;
  transition: .4s;
}
.main-menu > li a{
  text-decoration: none;
  font-size: 18px;
  line-height: 18px;
  color:#fff;
  display: inline-block;
  font-weight: 400;
}
.sticky-header .main-menu > li a{
  color:var(--black);
}
.main-menu > li:hover a{
  color:var(--red);
}
.header-main .nav-icon,
.mobile-menu-container{
  display:none;
}
/* Header responsive */
@media(max-width:1200px){
  .header-main{
    padding: 20px 0;
    position:relative;
    z-index: 3;
  }
  .header-main .desktop-menu{
    display:none;
  }
  .header-main  .nav-icon{
    display:inline-flex;
  }
  .nav-icon {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    padding: 0;
    outline: none;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    padding: 6px 3px 2px;
    transition:.4s;
  }
  .nav-icon svg {
    width: 35px;
    height: 35px;
    margin-top: -4px;
  }
  .nav-icon .line {
    fill: none;
    stroke: var(--red);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(.4,0,.2,1),stroke-dashoffset 600ms cubic-bezier(.4,0,.2,1);
  }
  .nav-icon .line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .nav-icon .line2 {
    stroke-dasharray: 45 60;
    stroke-width: 6;
    transform:translateX(15px);
  }
  .nav-icon .line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
  }
  .nav-icon.is-tapped .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }
  .nav-icon.is-tapped .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
  }
  .nav-icon.is-tapped .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
  }
  .show-mobile-menu .header-main .white-logo{
    display: none;
  }
  .show-mobile-menu .header-main .color-logo{
    display: block;
  }
  .mobile-menu-container{
    display: block;
    height: 100vh;
    position: fixed;
    top: 0;
    opacity: 0;
    pointer-events: none;
    background-color: #fff;
    width: 100%;
    z-index: 2;
    padding-top: 85px;
    transition:.4s;
  }
  .mobile-menu-container.show-menu{
    opacity:1;
    pointer-events: all;
  }
  .mobile-menu-container > .container{
    padding: 0;
    display: flex;
    height: 100%;
    flex-direction: column;
  }
  .mobile-menu-container .container .mobile-menu{
    flex:1;
    margin:0;
    overflow-y: scroll;
    padding:20px;
    list-style: none;
  }
  .mobile-menu-container .container .mobile-menu > li{
    padding:5px;
    margin-bottom:10px;
    position:relative;
    text-align: center;
  }
  .mobile-menu-container .container .mobile-menu li a{
    color:var(--black);
    text-decoration: none;
  }
  .mobile-menu-container .social_media{
    text-align: center;
    background: var(--black);
    padding: 10px 0 7px;
  }
  .mobile-menu-container .mobile-menu::-webkit-scrollbar {
    width: 0px;
  }
}
@media(max-width:850px){
  .header-main{
    padding: 10px 0;
  }
}
/* Footer */
footer{
  background: var(--black);
  margin-top: 35px;
  padding-top: 20px;
}
footer .f-logo{
  vertical-align: middle;
  line-height: 0;
}
footer .flex-row{
  padding: 15px 0;
  justify-content:space-between;
  align-items: center;
  gap:20px;
}
footer .flex-row:first-of-type{
  border-bottom:1px solid var(--red);
}
footer a, footer p{
  color:#fff;
  transition: .4s;
  font-size: 12px;
  text-decoration: none;
}
footer a:hover{
  color:var(--red);
}
footer ul, footer ul li{
  display: inline-block;
  vertical-align: middle;
}
footer ul{
  list-style: none;
  margin:0;
}
footer ul li{
  padding: 2px 4px;
}
footer .footer-menu{
  text-align: center;
}
footer .footer-menu li a{
  font-size: 16px;
}
footer .flex-row:last-of-type{
  flex-direction: column-reverse;
}
@media(min-width:768px){
  footer .flex-row:last-of-type{
    flex-direction: row;
  }
}
@media(min-width:1024px){
  footer .footer-menu{
    text-align: left;
  }
  footer .footer-menu li a{
    font-size: 18px;
  }
}


/* Single Serviciu */
body.single-serviciu footer{
  margin-top: 0;
}

/* Cariere */
body.page-template-cariere footer{
  margin-top: 0;
}
.cariere .job:not(:last-of-type){
  padding-bottom: 15px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--red);
}
.cariere .job .title{
  gap:20px;
  flex-direction: row;
  align-items: flex-start;
}
.cariere .job .title h2{
  flex:1;
}
.cariere .job .title h2, .cariere .job .price{
  font-size: 20px;
}
.cariere .job .open-job{
  display: inline-flex;
  align-items: center;
  gap:5px;
  font-size: 14px;
}
.cariere .job .open-job svg{
  transition: .4s;
}
.cariere .job .open-job.opened svg{
  transform:rotate(-180deg);
}
.cariere .job .small-info{
  margin-bottom: 20px;
  align-items: flex-start;
}
.cariere .job .small-info span{
  color:var(--red);
  font-weight: 700;
  margin-right: 10px;
}
.cariere .job .small-info ul{
  display: inline-block;
  margin:0;
}
.cariere .job .small-info ul li{
  display: inline-block;
  margin-right: 6px;
  margin-bottom: 0;
  color:var(--black);
}
.cariere .big-info{
  display: none;
}
.cariere .big-info h1, .cariere .big-info h2, .cariere .big-info h3,
.cariere .big-info h4, .cariere .big-info h5, .cariere .big-info h6{
  font-size: 18px;
}
@media(min-width:768px){
  .cariere .job .title h2, .cariere .job .price{
    font-size: 24px;
  }
  .cariere .job .open-job{
    font-size: 18px;
  }
  .cariere .job .small-info{
    align-items: center;
  }
  .cariere .big-info h1, .cariere .big-info h2, .cariere .big-info h3,
  .cariere .big-info h4, .cariere .big-info h5, .cariere .big-info h6{
    font-size: 20px;
  }
}

/* CSR */
.csr{
  background: var(--black);
  background-image: url('../img/form-pattern.svg');
  background-size: cover;
  margin-top:35px;
}
.csr, .csr p{
  color:#fff;
}
.csr h3{
  color:var(--red);
  text-transform:unset;
}
@media(min-width:768px){
  .csr .row .item{
    width: 49%;
  }
}
@media(min-width:1024px){
  .csr .row .item{
    width: 32%;
  }
  .csr h3{
    font-size: 28px;
  }
}


/* Homepage */
.hp_page .projects_grid{
  background: var(--black);
  background-image:url('../img/form-pattern.svg');
  background-size: cover;
  margin:35px 0;
}
.hp_page .projects_grid p, .hp_page .projects_grid{
  color:#fff;
}


/* despre noi */
body.page-template-despre-noi footer{
  margin-top: 0;
}
.despre-noi .sisi .flex-row{
  align-items: center;
}

/* Contact */
.contact_page .form-and-address > .flex-row{
  align-items: stretch;
  flex-direction: column;
}
.contact_page .map{
  width: 100%;
  position: relative;
  height: 100%;
  min-height: 250px;
}
.contact_page .map iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
.contact_page .form {
  text-align: left;
  margin-left: -10px;
}
.contact_page .item:not(.terms-item) label,
.contact_page .form input:not([type="submit"]){
  color:var(--black);
}
.contact_page .form input:not([type="submit"]):not([type="checkbox"]),
.contact_page .form textarea,
.contact_page .form select{
  border-bottom: 1px solid rgba(129, 129, 129, 1);
}
.contact_page .form  .btn{
  margin-left: 10px;
  margin-top: 10px;
}
.contact_page  .wpcf7-form input[type=checkbox]+span:before{
  border:1px solid var(--black);
}
.contact_page .address{
  margin-top:30px;
  margin-left: -10px;
  text-align: center;
}
.contact_page .address .info p, .contact_page .address a{
  font-size: 16px;
  line-height: 18px;
  color:var(--black);
  text-decoration: none;
}
.contact_page .address a span{
  font-weight: 700;
}
.contact_page .inner-row{
  gap:10px;
  padding: 10px;
  flex-direction: row;
  display: inline-flex;
}
.contact_page .inner-row .info, .contact_page .inner-row div{
  flex:1;
}
.contact_page a.inner-row{
  align-items: center;
  margin-bottom: 10px;
}
.contact_page a.inner-row:hover{
  color:var(--red);
}
@media(min-width:768px){
  .contact_page .address{
    margin-top: 50px;
    text-align: left;
  }
}
@media(min-width:1024px){
  .contact_page .form-and-address > .flex-row{
    flex-direction: row;
  }
}
