/*
  Theme Name: DiviAndAdiNet
  Version: 1.9
  Template: Divi
  Author: AdiNet Hubert Rosiński
  Author URI: https://adinet.pl
  Description: Divi w wersji zmodyfikowanej.
  Text Domain: divi&adinet
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



/* wysrodkowuje content w pionie */
.wysrodkuj-pion {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }




/* zamiana kolejnosci na mobile */
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.zamien-na-mobile {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.pierwszy-na-mobile {
-webkit-order: 1;
order: 1;
}
 
.drugi-na-mobile {
-webkit-order: 2;
order: 2;
}
 
.trzeci-na-mobile {
-webkit-order: 3;
order: 3;
}
 
.czwarty-na-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.zamien-na-mobile:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}


/* 2 kolumny na mobile */
@media only screen and (max-width: 767px) {
  .dwie-kolumny-na-mobile .et_pb_column {
    width: 50% !important;
    display: inline-block !important;
    vertical-align: top;
    padding: 0 3%;
  box-sizing: border-box;
  }
}