/*************************
        Margin top
*************************/
.mt-0 { margin-top: 0 }
.mt-10 { margin-top: 10px }
.mt-15 { margin-top: 15px }
.mt-20 { margin-top: 20px }
.mt-30 { margin-top: 30px }
.mt-40 { margin-top: 40px }
.mt-50 { margin-top: 50px }
.mt-60 { margin-top: 60px }
.mt-70 { margin-top: 70px }
.mt-80 { margin-top: 80px }
.mt-90 { margin-top: 90px }
.mt-100 { margin-top: 100px }
.mt-110 { margin-top: 110px }
.mt-120 { margin-top: 120px }
.mt-130 { margin-top: 130px }
.mt-140 { margin-top: 140px }
.mt-150 { margin-top: 150px }
/*************************
      Margin right
*************************/
.mr-0 { margin-right: 0px }
.mr-10 { margin-right: 10px }
.mr-15 { margin-right: 15px }
.mr-20 { margin-right: 20px }
.mr-30 { margin-right: 30px }
.mr-40 { margin-right: 40px }
.mr-50 { margin-right: 50px }
.mr-60 { margin-right: 60px }
.mr-70 { margin-right: 70px }
.mr-80 { margin-right: 80px }
.mr-90 { margin-right: 90px }
.mr-100 { margin-right: 100px }
.mr-110 { margin-right: 110px }
.mr-120 { margin-right: 120px }
.mr-130 { margin-right: 130px }
.mr-140 { margin-right: 140px }
.mr-150 { margin-right: 150px }
/*************************
      Margin bottom
*************************/
.mb-0 { margin-bottom: 0 }
.mb-10 { margin-bottom: 10px }
.mb-15 { margin-bottom: 15px }
.mb-20 { margin-bottom: 20px }
.mb-30 { margin-bottom: 30px }
.mb-40 { margin-bottom: 40px }
.mb-50 { margin-bottom: 50px }
.mb-60 { margin-bottom: 60px }
.mb-70 { margin-bottom: 70px }
.mb-80 { margin-bottom: 80px }
.mb-90 { margin-bottom: 90px }
.mb-100 { margin-bottom: 100px }
.mb-110 { margin-bottom: 110px }
.mb-120 { margin-bottom: 120px }
.mb-130 { margin-bottom: 130px }
.mb-140 { margin-bottom: 140px }
.mb-150 { margin-bottom: 150px }
/*************************
        Margin left
*************************/
.ml-0 { margin-left: 0 }
.ml-10 { margin-left: 10px }
.ml-15 { margin-left: 15px }
.ml-20 { margin-left: 20px }
.ml-30 { margin-left: 30px }
.ml-40 { margin-left: 40px }
.ml-50 { margin-left: 50px }
.ml-60 { margin-left: 60px }
.ml-70 { margin-left: 70px }
.ml-80 { margin-left: 80px }
.ml-90 { margin-left: 90px }
.ml-100 { margin-left: 100px }
.ml-110 { margin-left: 110px }
.ml-120 { margin-left: 120px }
.ml-130 { margin-left: 130px }
.ml-140 { margin-left: 140px }
.ml-150 { margin-left: 150px }
/*************************
        Padding top
*************************/
.pt-0 { padding-top: 0 }
.pt-10 { padding-top: 10px }
.pt-15 { padding-top: 15px }
.pt-20 { padding-top: 20px }
.pt-30 { padding-top: 30px }
.pt-40 { padding-top: 40px }
.pt-50 { padding-top: 50px }
.pt-60 { padding-top: 60px }
.pt-70 { padding-top: 70px }
.pt-80 { padding-top: 80px }
.pt-90 { padding-top: 90px }
.pt-100 { padding-top: 100px }
.pt-110 { padding-top: 110px }
.pt-120 { padding-top: 120px }
.pt-130 { padding-top: 130px }
.pt-140 { padding-top: 140px }
.pt-150 { padding-top: 150px }
/*************************
        Padding right
*************************/
.pr-0 { padding-right: 0 }
.pr-10 { padding-right: 10px }
.pr-15 { padding-right: 15px }
.pr-20 { padding-right: 20px }
.pr-30 { padding-right: 30px }
.pr-40 { padding-right: 40px }
.pr-50 { padding-right: 50px }
.pr-60 { padding-right: 60px }
.pr-70 { padding-right: 70px }
.pr-80 { padding-right: 80px }
.pr-90 { padding-right: 90px }
.pr-100 { padding-right: 100px }
.pr-110 { padding-right: 110px }
.pr-120 { padding-right: 120px }
.pr-130 { padding-right: 130px }
.pr-140 { padding-right: 140px }
/*************************
        Padding bottom
*************************/
.pb-0 { padding-bottom: 0 }
.pb-10 { padding-bottom: 10px }
.pb-15 { padding-bottom: 15px }
.pb-20 { padding-bottom: 20px }
.pb-30 { padding-bottom: 30px }
.pb-40 { padding-bottom: 40px }
.pb-50 { padding-bottom: 50px }
.pb-60 { padding-bottom: 60px }
.pb-70 { padding-bottom: 70px }
.pb-80 { padding-bottom: 80px }
.pb-90 { padding-bottom: 90px }
.pb-100 { padding-bottom: 100px }
.pb-110 { padding-bottom: 110px }
.pb-120 { padding-bottom: 120px }
.pb-130 { padding-bottom: 130px }
.pb-140 { padding-bottom: 140px }
.pb-150 { padding-bottom: 150px }
/*************************
        Padding left
*************************/
.pl-0 { padding-left: 0 }
.pl-10 { padding-left: 10px }
.pl-15 { padding-left: 15px }
.pl-20 { padding-left: 20px }
.pl-30 { padding-left: 30px }
.pl-40 { padding-left: 40px }
.pl-50 { padding-left: 50px }
.pl-60 { padding-left: 60px }
.pl-70 { padding-left: 70px }
.pl-80 { padding-left: 80px }
.pl-90 { padding-left: 90px }
.pl-100 { padding-left: 100px }
.pl-110 { padding-left: 110px }
.pl-120 { padding-left: 120px }
.pl-130 { padding-left: 130px }
.pl-140 { padding-left: 140px }
.pl-150 { padding-left: 150px }


/***************************
    Page section padding 
****************************/
.ptb-0 { padding: 0 }
.ptb-10 { padding: 10px 0 }
.ptb-20 { padding: 20px 0 }
.ptb-30 { padding: 30px 0 }
.ptb-40 { padding: 40px 0 }
.ptb-50 { padding: 50px 0 }
.ptb-60 { padding: 60px 0 }
.ptb-70 { padding: 70px 0 }
.ptb-80 { padding: 80px 0 }
.ptb-90 { padding: 90px 0 }
.ptb-100 { padding: 100px 0 }
.ptb-110 { padding: 110px 0 }
.ptb-120 { padding: 120px 0 }
.ptb-130 { padding: 130px 0 }
.ptb-140 { padding: 140px 0 }
.ptb-150 { padding: 150px 0 }

/***************************
    Page section margin 
****************************/
.mtb-0 { margin: 0 }
.mtb-10 { margin: 10px 0 }
.mtb-15 { margin: 15px 0 }
.mtb-20 { margin: 20px 0 }
.mtb-30 { margin: 30px 0 }
.mtb-40 { margin: 40px 0 }
.mtb-50 { margin: 50px 0 }
.mtb-60 { margin: 60px 0 }
.mtb-70 { margin: 70px 0 }
.mtb-80 { margin: 80px 0 }
.mtb-90 { margin: 90px 0 }
.mtb-100 { margin: 100px 0 }
.mtb-110 { margin: 110px 0 }
.mtb-120 { margin: 120px 0 }
.mtb-130 { margin: 130px 0 }
.mtb-140 { margin: 140px 0 }
.mtb-150 { margin: 150px 0; }

/*************************
      Other Section
*************************/

.thumb-shadow{
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding: 8px; 
}

.animation-einout{
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.btn{
    font-family: 'Lato', sans-serif;
    font-weight:300;
}

.btn-rounded{
    border-radius:10px;
    padding: .475rem 1.75rem;
}

/*************************
      Newsbox Section
*************************/

.btn-with-icon{
    border-radius:15px;
    background-color:#346f23;  
    padding:10px;
}

.btn-with-icon .title{
    font-family: 'Lato', sans-serif;
    font-weight:600;
    font-size:20px;
    color:#fff;
}

.box-with-thb2{
    position:relative;
    margin-bottom: 30px;
}

.box-with-thb2-image{
    background-size:cover;
    background-repeat:no-repeat;
    background-position: top center;
    height: 150px;
    background-color: #fff;
    background-image: url('../img/no_thb.jpg');
}

.box-with-thb2-title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: initial;
    padding: 10px 0px 0px;  
}

.box-with-thb2-title > em{
    color: #18386c;
    width: 100%;
    font-size: 13px;
    font-style: normal;
    font-family: 'Lato', sans-serif;    
}

.box-with-thb2-title > div{
    width: 100%;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    font-weight:400;
    color:#18386c;
    padding:10px 0px;
}

.box-with-thb2-text{
    color:#333333;
    font-size:16px;
}

.box-with-thb{
    position:relative;
    background-size:cover;
    background-repeat:no-repeat;
    background-position: top center;
    height: 250px;
    margin-bottom: 30px;
    background-color: #fff;
    background-image: url('../img/no_thb.jpg');
}

.box-with-thb-image{
    background-size:cover;
    background-repeat:no-repeat;
    background-position: top center;
    height: 250px;
    background-color: #fff;
    background-image: url('../img/no_thb.jpg');
}

.box-with-thb a{
    color:#fff;
}

.box-with-thb-smaller{
    height: 180px;
}

.box-with-thb-bigger{
    height: 450px;
    margin-bottom:0px;
}

.box-with-thb-bigger .box-with-thb-title > div{
    font-size:20px; 
    line-height: 24px;
    max-height: 50px;
}

.box-with-thbbtn{
    position:relative;
    background-size:cover;
    background-repeat:no-repeat;
    background-position: top center;
    height: 210px;
    margin-bottom:30px;
    text-align:center;
}

.box-with-thbbtn > div{
    position:absolute;
    height: 50px;
    width:100%;
    bottom:0;
    left:0;
    text-align:center;
}

.box-with-thbbtn .btn{
    display:inline-block;
    margin:0 auto;
    margin-bottom:15px;
}

.box-with-thbbtn2{
    height: 300px;
}

.box-with-thbbtn2 .btn{
    font-size:24px;
}

.box-with-thbbtn2 > div{
    bottom:15px;
}

.box-with-thb-title{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: initial;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 3;
    padding: 0px 20px 20px;      
}

.box-with-thb-title > em{
    color: rgb(255, 255, 255);
    width: 100%;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 4px;
    font-size: 14px;
    line-height: 24px;
    font-style: normal;
    font-family: 'Lato', sans-serif;
}

.box-with-thb-title > div{
    color: rgb(255, 255, 255);
    width: 100%;
    text-shadow: rgba(0, 0, 0, 0.5) 0px 1px 4px;
    font-size: 16px;
    line-height: 22px;
    font-family: 'Lato', sans-serif;
    font-weight:600;
    max-height: 46px;
    overflow: hidden;
}

.box-with-thb-title::after {
    content: "";
    z-index: -1;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 100%;
    box-sizing: content-box;
    padding-top: 19px;
    background: linear-gradient(transparent 0px, rgba(0, 0, 0, 0.75) 45px, rgba(0, 0, 0, 0.75));
}

.oferta-box-ico{
}

.oferta-box-title {
    margin: 10px 0px;
    font-size: 21px;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
}

.oferta-box-title a{
    color:inherit;
}

.oferta-box-text{
    color:#333333;
    font-size:16px;
}

.dokumenty-box{
    background:#fff;
    border-radius:30px;
    padding:30px 40px;
    min-height:120px;
    height:100%;
}

.dokumenty-box-title{
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

@media (max-width: 991px) {

    .box-with-thb-bigger {
        height: 350px;
    }

}

@media (max-width: 767px) {

    .box-with-thb-bigger {
        height: 250px;
    }

}

/*************************
      Header + Menu Section
*************************/


@media (max-width: 767px) {


}

@media (min-width: 992px) {    

    .wsmainfull, .wsmenu-contact-row {
        height: auto;
        border-bottom: 1px solid #cccccc;
    }

}

@media (max-width: 991px) {

    .wsmobileheader .smllogo {
        margin-top: 5px;
    }

    .wsmobileheader{
        height:70px;
    }

    .wsmenu-contact{    
        font-weight:normal;
        font-size:14px;
    }

    .wsmenu-contact .fas, .wsmenu-contact .fab{
        font-size:20px;
    }
    
    .wsmenu>.wsmenu-list>li.menu-logo{
        text-align:center;
        border-bottom:1px dotted #ccc;
        color: #666;
    }


    .wsmainfull {
        height: auto;
    }
    
    .wsanimated-arrow {
        margin: 14px 0 0 15px;
    }
    
    .wsanimated-arrow span, .wsanimated-arrow span:before, .wsanimated-arrow span:after {
        cursor: pointer;
        height: 4px;
        width: 25px;
        background: #a9a9a9;
        position: absolute;
        display: block;
        content: '';
    }
    
    .wsanimated-arrow span:before {
        top: -10px;
        width: 35px;
    }
    
    .wsanimated-arrow span:after {
        bottom: -10px;
    }
    
    .wsactive .wsanimated-arrow span:before, .wsactive .wsanimated-arrow span:after {
        top: 0px;
    }
    
    .wsactive .wsanimated-arrow span:after {
        width: 35px;    
    }
    
    .callusbtn i {
        margin-top: 4px;
        font-size:30px;
    }

}

.wsmenu {
    width: 100%;
}

.wsmenu>.wsmenu-list>li{
    font-family: 'Nunito', sans-serif;
}

@media (min-width: 992px) {
    .wsmenu>.wsmenu-list {
        width:auto;
        float:none;
        position:relative;
    }
    
    .wsmenu>.wsmenu-list>li.menu-logo{
        display:none;   
    }

    .wsmenu>.wsmenu-list>li > a{
        border-radius: 0px;
        padding: 5px 10px 5px 8px;
        line-height: 25px;
        margin: 0 0px;    
    }
    
    .wsmenu>.wsmenu-list>li.have-child > a {
        border-radius: 0px;
        padding: 5px 20px 5px 8px;
        line-height: 25px;
        margin: 0 0px;
    }

}

.wsmenu>.wsmenu-list>li a.menuhomeicon {
    padding-left: 20px;
    padding-right: 20px;
}

.wsmenu>.wsmenu-list>li>a .wsarrow:after{
    top:15px;
    right:7px;
}


/*************************
      Podstrona Graphic Header Section
*************************/

.podstrona_top{
    background-size:cover;
    background-repeat:no-repeat;
    background-position: center center;
    height:30vh;
    max-height:250px;
    display:table;
    width:100%;
}

.podstrona_top .content{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    background: rgba(0, 0, 0, 0.6);
    width:100%;
    height:100%;
}

.podstrona_top h1,.podstrona_top h2,.podstrona_top h3{
    font-size:48px;
    color:#fff;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5);	
    font-weight:800;
}


/*************************
      Slider Section
*************************/

.slider-area {}
.single-slider{position:relative;}
.slider-img{}
.single-slider {
    background-position: center center;
    background-size: cover;
    padding: 310px 0;
    position: relative;
}
.slider-text {
    position: relative;
    z-index: 99;
}
.slider-text h1 {
    color: #fff;
    font-size: 45px;
    font-weight: 400;
    text-transform: capitalize;
}
.slider-text p {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    margin-bottom: 22px;
}
.slider-text a {
    border: 1px solid #fff;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
    padding: 10px 28px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}
.slider-text a.active {
    background: #055ec2 none repeat scroll 0 0;
    border-color: #055ec2;
    color: #ffffff;
}
.slider-text a.active:hover{background:#333333;border-color:#333333;}
.slider-active .owl-nav button.owl-prev, .slider-active .owl-nav button.owl-next {
    background: #055ec2 none repeat scroll 0 0;
    border-radius: 50%;
    color: #ffffff;
    font-size: 37px;
    height: 50px;
    left: 0;
    line-height: 48px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease 0s;
    width: 50px;
}

.slider-active .owl-nav button.owl-next {
    left: auto;
    right:0;
}
.slider-active:hover .owl-nav button{left:40px;opacity:1;}
.slider-active:hover .owl-nav button.owl-next{left:auto;right:40px;}

@media (min-width: 1201px) and (max-width: 1500px) {
    .single-slider {
        padding: 170px 0;
    }
}


@media (min-width: 992px) and (max-width: 1200px) {
    .single-slider {
        padding: 170px 0;
    }
}

@media (min-width: 1201px) and (max-width: 1500px) {
    .single-slider {
        padding: 170px 0;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    .single-slider {
        padding: 150px 0;
    }

}


@media (max-width: 767px) {

    .single-slider {
        padding: 100px 0;
    }
    .slider-active .owl-nav div {
        font-size: 27px;
        height: 40px;
        line-height: 36px;
        width: 40px;
    }
    .slider-text h1 {
        font-size: 28px;
    }
    .slider-text p {
        font-size: 13px;
        line-height: 23px;
    }
    .slider-text a {
        font-size: 12px;
        padding: 7px 12px;
    }

}

/*==================================================
 * Shadow effects
 * ===============================================*/
/*==================================================
 * Effect 1
 * ===============================================*/
.effect1{
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

/*==================================================
 * Effect 2
 * ===============================================*/
.effect2
{
    position: relative;
}
.effect2:before, .effect2:after
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}
.effect2:after
{
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    right: 10px;
    left: auto;
}

/*==================================================
 * Effect 3
 * ===============================================*/
.effect3
{
    position: relative;
}
.effect3:before
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

/*==================================================
 * Effect 4
 * ===============================================*/
.effect4
{
    position: relative;
}
.effect4:after
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    right: 10px;
    left: auto;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 15px 10px #777;
    -moz-box-shadow: 0 15px 10px #777;
    box-shadow: 0 15px 10px #777;
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
}

/*==================================================
 * Effect 5
 * ===============================================*/
.effect5
{
    position: relative;
}
.effect5:before, .effect5:after
{
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 25px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: #777;
    -webkit-box-shadow: 0 35px 20px #777;
    -moz-box-shadow: 0 35px 20px #777;
    box-shadow: 0 35px 20px #777;
    -webkit-transform: rotate(-8deg);
    -moz-transform: rotate(-8deg);
    -o-transform: rotate(-8deg);
    -ms-transform: rotate(-8deg);
    transform: rotate(-8deg);
}
.effect5:after
{
    -webkit-transform: rotate(8deg);
    -moz-transform: rotate(8deg);
    -o-transform: rotate(8deg);
    -ms-transform: rotate(8deg);
    transform: rotate(8deg);
    right: 10px;
    left: auto;
}

/*==================================================
 * Effect 6
 * ===============================================*/
.effect6
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect6:before, .effect6:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:50%;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect6: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);
}

/*==================================================
 * Effect 7
 * ===============================================*/
.effect7
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect7:before, .effect7:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:0;
    bottom:0;
    left:10px;
    right:10px;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect7: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);
}

/*==================================================
 * Effect 8
 * ===============================================*/
.effect8
{
    position:relative;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.effect8:before, .effect8:after
{
    content:"";
    position:absolute;
    z-index:-1;
    -webkit-box-shadow:0 0 20px rgba(0,0,0,0.8);
    -moz-box-shadow:0 0 20px rgba(0,0,0,0.8);
    box-shadow:0 0 20px rgba(0,0,0,0.8);
    top:10px;
    bottom:10px;
    left:0;
    right:0;
    -moz-border-radius:100px / 10px;
    border-radius:100px / 10px;
}
.effect8: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);
}

.grid {
  max-width: 1200px;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.grid-sizer, .grid-item {
  float: left;
  width:33.333%;
  height: 280px;
  background-size: cover;
  background-position:center center;
  border:8px solid white;
}

.grid-item--2 { height: 330px; }
.grid-item--3 { height: 360px; }

@media (max-width: 767px) {

    .grid-item {
        width:50%;
    }

}


@media (max-width: 479px) {

    .grid-item {
        width:100%;
    }

}
