/*
Theme Name: Buldirect
Theme URI: http://ssn.bg
Author: Petyo Penkov
Author URI: http://petyopenkov.com
Version: 1.0
*/


@font-face {
	font-family: 'ALGER';
	src: url('./ALGER.eot');
	src: local('ALGER'), url('./ALGER.woff') format('woff'), url('./ALGER.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Play', sans-serif;

  }

h2{
  margin: 10px;
}

a{
  text-decoration: none;
  color: black;
}

/* Style the header */
.header {
  z-index: 2;
  padding: 20px 0;
  color: #f1f1f1;
  height: 75px;
  width: 100%;
  position: fixed;
  top:0;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  transition: 0.5s;
  background: black;
  z-index: 2;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 102px;
}

.cls-1{
  fill:black;
  transition: 0.4s;
}
.cls-2{
  fill:#fff;
}
.cls-3{
  fill:#ba0926;
}
.cls-4{
  fill:black;
  isolation:isolate;
  font-size:169.11px;
  font-family:'ALGER';
  transition: 0.4s;
}

.logo{
  margin:  0 15px;
  float: left;
  width: 100%;
  max-width: 270px;
  line-height: auto;
  transition: 0.5s;
  
}


.sticky .cls-1{
  fill:white;
}
.sticky .cls-4{
  fill:white;
}
.sticky .logo {
  float: left;
  width: 100%;
  max-width: 250px;
  line-height: auto;
  margin:  0 20px;

}

.logo a {
  display: inline-block;
}

.logo-image{
  width: 100%;
  height: auto;
}


/* X icon */

#nav-icon{
    z-index: 2;
    float: right;
    width: 40px;
    height: 30px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    margin:  15px 15px;
  }
  .sticky #nav-icon {
    margin:  15px 10px;
  }

  #nav-icon span {
    display: block;
    position: absolute;
    height: 6px;
    width: 50%;
    background: #ba0926;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
  }
  
  #nav-icon span:nth-child(even) {
    left: 50%;
    border-radius: 0 6px 6px 0;
  }
  
  #nav-icon span:nth-child(odd) {
    left:0px;
    border-radius: 6px 0 0 6px;
  }
  
  #nav-icon span:nth-child(1), #nav-icon span:nth-child(2) {
    top: 0px;
  }
  
  #nav-icon span:nth-child(3), #nav-icon span:nth-child(4) {
    top: 12px;
  }
  
  #nav-icon span:nth-child(5), #nav-icon span:nth-child(6) {
    top: 24px;
  }
  
  #nav-icon.open span:nth-child(1),#nav-icon.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  #nav-icon.open span:nth-child(2),#nav-icon.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  #nav-icon.open span:nth-child(1) {
    left: 5px;
    top: 7px;
  }
  
  #nav-icon.open span:nth-child(2) {
    left: calc(50% - 5px);
    top: 7px;
  }
  
  #nav-icon.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
  }
  
  #nav-icon.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
  }
  
  #nav-icon.open span:nth-child(5) {
    left: 5px;
    top: 18px;
  }
  
  #nav-icon.open span:nth-child(6) {
    left: calc(50% - 5px);
    top: 18px;
  }

  /*Menu*/

  .overlay {
    height:0;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(109, 37, 37, 0.98);
    overflow-x: hidden;
    opacity: 0.1;
    transition: opacity 2s ease-out;
}

.lang{
  position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    transition: 0.3s;
}
.lang a{
  display: inline-block !important;
}


.overlay.open {
    height: 100%;
    opacity: 0.97;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 14%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
    transition: 0.3s;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #ba0926;
}





.hero, hero2{
  position: relative;  
  width: 100%;
  float: left;
  height:auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background-image: url(http://www.buldirect.eu/wp-content/uploads/2018/08/hero.jpg);
}

.hero-sec{
  position: relative;  
  width: 100%;
  height: 300px;
  float: left;
  height:auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  background-image: url(http://www.buldirect.eu/wp-content/uploads/2018/08/hero.jpg);
}
.hero-text{
  position: relative;
  top: 45%;
  margin: auto;
  color: #fff;
  text-align: center;
  width: 100%;
  font-size: 28px;

}

@media screen and (max-height: 450px) {
 
}
.text-underline{
  display: inline-block;
  position: relative;
}

.text-underline::after  {
  content: '';
  display: inline-block;
  width: 0px;
  height: 3px;
 background-color: black;
  border-radius: 2px;
  float:left; 
  margin: auto 0 ;
  bottom: 0;
  position: absolute;
  left: 0%; 
  transition: 0.4s ease-out all .1s;
  
}



.underline-active.text-underline::after {
 width: 100%;
  
}


.content{
  margin : 0 auto;
  float: left;
  position: relative;
  width: 100%
}

article{
  position: relative;
  width: 70%;
  padding: 20px 15%;
  text-align: center;
  color:whitesmoke;
  background-color: #ba0926;
}

article:nth-child(2n+1){
 background-color: black;
}

article:nth-child(2n+1) .text-underline::after{
  background-color: #ba0926;
}

article p{
  text-align: justify;
}

.footer{
  display:block;
  width: 100%;
  height: 45px;
  float: left;
  position: relative;
  color: #fff;
  background-color: black;
  text-align: center;
}
.footer p {
  margin: 10px;
}



.field{
  position: relative;
  width: 100%;

  text-align: center;
  color:black;
  background-color:white;
}

.field h1{
  position: relative;
  display: block;
 padding: 5% 15%;
 width: 70%;
 color: #fff;
 background-color: black;

}

.field:nth-child(2n+1) h1{
  background-color: #ba0926;
 }

.product-category{

  position: relative;
  width: 32%;
  margin: 10px auto;
  text-align: center;
  color:black;
  display: inline-block;
}

.product-list{

  position: relative;
  width:90%;
  margin: 10px 1%;
  text-align: center;
  color:black;
  display: inline-block;
  float:left;
}
.product-galery{

  position: relative;
  width:80%;
  margin: 10px 9%;
  text-align: center;
  display: inline-block;
  float:left;
}



.card{
  margin: 20px;
  border: none;
  height: 100%;
  padding: 10px;
  transition: 0.7s;

}

.card-product {
  margin: 20px;
  border: none;
  height: 100%;
  width: 27%;
  display: inline-block;
  padding: 10px;
  transition: 0.7s;

}

.card-galery {
  margin: 20px;
  border: none;
  height: 100%;
  width: 19%;
  display: inline-block;
  padding: 10px;
  transition: 0.7s;

}


.card:hover{
  position:relative;
  -webkit-box-shadow:0 1px 16px rgba(0, 0, 0, 0.3);
     -moz-box-shadow:0 1px 16px rgba(0, 0, 0, 0.3);
          box-shadow:0 1px 16px rgba(0, 0, 0, 0.3);
  transform: scale3d(1.08,1.08,1.08);
}

.card:hover .card::before, .card:hover .card::after{
  content:"";
  position:absolute;
  z-index:-1;
  -webkit-box-shadow:0 0 30px rgba(0,0,0,0.8);
  -moz-box-shadow:0 0 30px rgba(0,0,0,0.8);
  box-shadow:0 0 30px rgba(0,0,0,0.8);
  top:0;
  bottom:0;
  left:10px;
  right:10px;
  -moz-border-radius:100px / 10px;
  border-radius:100px / 10px;
}

.card:hover .card:after
{
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);
        -ms-transform:skew(8deg) rotate(3deg);
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}


.card .img img{
width: 100%;

}

@media screen and (max-width: 900px) {
  *{
    font-size: 1em;
    }
  .product-category{

    position: relative;
    width: 80%;
    margin: 10px 1%;
    text-align: center;
    color:black;
    display: inline-block;
  }
  .card-product {
    width: 43%;
  }
  .product-galery{

    position: relative;
    width:90%;
    margin: 10px 3%;
 
  }
  .card-galery {
    width: 43%;
  }
}


@media screen and (max-width: 600px) {
  *{
    font-size: 1em;
    }
  .logo{
    margin:  0 5px;
  
  }
  article{
    
    width: 90%;
    padding: 20px 5%;
  }

  .card-product {
    width: 90%;
  }

  .card-galery {
    width: 90%;
  }
}

#gmap_canvas img {
  max-width: none !important;
  background: none !important;
}

.single-product{
  padding-top: 120px;
  padding-bottom: 40px;
  border-top: 115px solid rgba(0, 0, 0, 0.3);
  background: #ba0926 !important;
}

.single-product h2{

font-size: 2.5em;
}

.product{
  margin-top: 30px;
  float: left;
  width: 40%;

}

.product img{
  width: 100%;
}
.product-desc{
  margin-top: 30px;
  float: right;
  width: 40%;
  text-align: left
  
}

.other-products{
  margin-top: 30px;
  float: left;
  width: 100%;
  text-align: left;
  font-size: 1.1em;
}

.fl{
  float: left !important;
}
.w80{
  width: 80% !important;
  margin-left:10%;
}

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

  .product{
    float: left;
    width: 100%;
  
  }
  .product-desc{
    float: left;
    width: 100%;
    text-align: left;
    padding: 10px;
  }
  .other-products .card-product{
    width: 100%;
    
  }

}


.abaut{
  text-align: center;
  width: 70%;
  margin-left: 15%;
  padding-bottom: 100px;
  padding-top: 50px;
  font-size: 1.4em;
}
.abaut img{
  width: 50%;
  height: 100%;
}



.contact-box{
  padding: 20px;
  width: 38%;
  margin: 10px 2%;
  float: left;
  color: black;
  text-align: center;
  font-size: 1.4em;

}

.contact-box span{
  font-size: 0.7em;
  padding-left: 5px;
}

.contact-box i{
  padding-left: 5px;
  padding-right: 5px;
  color: #ba0926;
}

.contact-box p{
  margin: 10px 0px;
}

.contact-box h3{
  font-size: 1.7em;
}

.contact{
  text-align: center;
  width: 80%;
  margin: 10px auto;
}

@media screen and (max-width: 600px) {
		
.contact{
  width:90%;
  margin: 0;
}
  .contact-box{

    width: 98%;
   
  
  }

}

.lang-h{
  position: relative;
float: right;
left: -20px;
top: -3px;
margin: 5px;

  
    text-align: right;
    margin-top:10px;
    transition: 0.3s;
}
.lang-h a{
  display: inline-block !important;
  margin-left: 15px;
}



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

  .lang-h{
 visibility: hidden;
  }
  .lang-h a{
   visibility: hidden;
  }

}

@media screen and (min-width: 950px) {

  .lang{
 visibility: hidden !important;
  }
  .lang a{
   visibility: hidden !important;
  }
}
.wp-block-image > img{
	width:90%
}