/*###################################
  ---------- HOME FARMING -----------
  ##################################*/

#videoBG {
    position:fixed;
    z-index: -1;
/*not work if the screen ratio is below 16/9*/
    width:100%;     
    height: auto;
    object-fit: fill;
}

@media (min-aspect-ratio: 16/9) {
    #videoBG {
        width:100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    #videoBG { 
        width:auto;
        height: 100%;
    }
}

@media (max-width: 767px) {
    #videoBG {
        display: none;
    }
    body {
        background: url('poster.jpg');
        background-size: cover;
    }
}

#video{
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#videoDiv{
    height: 400px!important;
}

/* Style the video: 100% width and height to cover the entire window */
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

/* Add some content at the bottom of the video/page */
.content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

/* Style the button used to pause/play the video */
#myBtn {
  width: 200px;
  font-size: 18px;
  padding: 10px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

#myBtn:hover {
  background: #ddd;
  color: black;
}
  
figure.icon-pic{
    width: 60px;
}

figure.icon-pic img{
    width: 100%;
}

.home-icon-box{
    z-index: 6;
    position: relative;
}

.home-icon-box h3{
    margin: 20px 0px 10px;
}

.home-icon-box p{
    line-height: 1.6;
    margin-bottom: 1rem;
}

.home-about p{
    margin-bottom: 1rem;
}

.item-background{
    position: relative;
}

.vegetables-bg-1{
    width: 350px;
    position: absolute;
    bottom: -10px;
    right: 0;
    z-index: 5;
    opacity: 0.4;
}

.box-steps{
    height: 500px;
}

.front-options{
    text-align: center;
}

.vegetables-bg-1 img{
    width: 100%;
}

.front-options h3{
    font-weight: 400;
    line-height: 1.7;
    font-size: 1rem;
}

.front-options span{
    font-weight: 700;
    text-transform: uppercase;
}

.services-container{
    margin-top: -180px;
}

.front-thumb{
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.from-thumb-pic img{
    width: 100%;
}

.thumb-caption{
    padding: 30px 15px;
}

.thumb-caption h3{
    text-align: center;
    margin-bottom: 5px;
    font-weight: 600;
}

.thumb-caption p{
    text-align: center;
    margin-bottom: 15px;
}

.btn-box p{
    margin-bottom: 0px;
}

.farm-bg{ 
    background-image: url("http://citrus.com.uy/agromotoraflores/img/images/fondo-historia-blanca.jpg");
    height: 500px; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}


.cd-h-timeline{
    background: transparent;
}

.js .cd-h-timeline__container{
    width: 100%;
}

.js .cd-h-timeline__event-content{
    width: 100%;
}

.cd-h-timeline__events{
    margin-top: -60px;
}

.js .cd-h-timeline__event-title{
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.js .cd-h-timeline__date {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.js .cd-h-timeline__event-date{
    font-family: 'Poppins', sans-serif;
}