/*==========  Desktop First Method  ==========*/
/* Large Devices, Wide Screens */
@media only screen and (max-width : 1376px) {}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .ms_caption .font34 {
    font-size: 26px;
}
.ms_caption .font20 {
    font-size: 18px;
}
.servicii_box .font20 {
    font-size: 16px;
}
.servicii_box .img_cont {
   
    height: 90px;
    width: 90px;
 
}
.servicii_box_title {
  line-height: 1;
}
.servicii_box {
    padding: 20px;
    line-height: 1.3;
    font-size: 13px;
}




.steps_box {
  
   margin-left: 40px;
   margin-right: 40px;
 

}


.steps_list {
 margin-left: -40px;
   margin-right: -40px;

}
.logo {
    padding-left: 40px;
    background-size: 28px auto;
    height: 40px;
    width: 147px;
    
}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .mobile_hidden {
        display: none !important;
    }

    .desk_hidden {
        display: block !important;
    }

    .ms_caption {
       padding-top: 220px;
}

.ms_caption:after {
    width: 180px;
    height: 180px;
    right: 0;
    margin-left:auto;
    margin-right: auto;
  background-size: 80%;
}
.ms_caption_wrap {
    text-align: center;
}
header .container {
    position: relative;
}
header .container .form-row>div {
    position: static;
}

header.smaller {
    height: 100px;
}

.logo {
    padding-left: 40px;
    background-size: 28px auto;
    height: 40px;
    width: 147px;
    position: absolute;
    left: 0px;
    right: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
}
.top_phone {
        width: 180px;
        position: absolute;
        left: 0px;
        right: 0;
        top: 0;
        margin-left: auto;
        margin-right: auto;
        margin-top: 60px;
        /* background-color: #ccc; */
        font-size: 14px;
    }
    .top_phone:after {
    font-size: 20px;
}
.main_slider_wrapper {
    padding-top: 100px;
    background-color: #000;
}
.portfolio_box {
    height: 160px;
}
.servicii_box .img_cont {
   
    height: 120px;
    width: 120px;
 
}

.servicii_box {
    font-size: 16px;
    text-align: center;
}
.servicii_box .font20 {
    font-size: 20px;
}
.steps_list>li {
  width: 50%;
}
 .steps_list>li:before {
      content: " ";
      position: absolute;
      width: 60px;
      height: 60px;
     
      right: 0;
      top: 50%;
      margin-top: -30px;
      margin-right: -30px;
       display: block;
    background-image: url(../img/right_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center; 
  }  
 .steps_list>li:nth-child(2n):before {
      display: none;
  }  
}

/*=================================================================================================*/
/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }
    .portfolio_box {
        height: 110px;
    }
   .portfolio_row_header .font_30 {
    font-size: 24px;
}
 .steps_list>li:before {
     display: none;
  }  
 .steps_list>li:nth-child(2n):before {
      display: none;
  }  
  .steps_list {
   margin-left: -5px;
   margin-right: -5px;
   
}
.steps_box {
   margin-left: 5px;
   margin-right: 5px;
  

}
.steps_list>li {
   
    margin-bottom: 10px;
}
.introducere {
    font-size: 16px;
}
.action_block {
    font-size: 20px;
}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 670px) {}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 576px) {
        .portfolio_row_header .font_30 {
        font-size: 20px;
    }
        .portfolio_box {
        height: 310px;
    }

}
/* Custom, iPhone Retina */
@media only screen and (max-width : 480px) {
        .portfolio_box {
        height: 250px;
    }
    .steps_list>li {
  width: 100%;
}
}
/* Custom, iPhone Retina */
@media only screen and (max-width : 400px) {
        .portfolio_box {
        height: 220px;
    }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 370px) {
    .portfolio_box {
        height: 190px;
    }
        .portfolio_row_header .font_30 {
        font-size: 18px;
    }
   .block_header .font_40 {
    font-size: 32px;
}
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 310px) {}

/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .mobile_hidden {
        display: block !important;
    }

    .desk_hidden {
        display: none !important;
    }
     .steps_list>li:before {
      content: " ";
      position: absolute;
      width: 60px;
      height: 60px;
     
      right: 0;
      top: 50%;
      margin-top: -30px;
      margin-right: -30px;
       display: block;
    background-image: url(../img/right_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center; 
  }  
 .steps_list>li:nth-child(3n):before {
      display: none;
  }  
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
   
}


/*=================================================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1376px) {}

/*=============================*/
/* Large Devices, Wide Screens */
@media only screen and (min-width : 1700px) {}

