@charset "UTF-8";.slider{margin-bottom:30px;}

.fadeInLeft {
  -moz-animation-name: fadeInLeft;
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft; }

#block-slider{padding-top:0;margin-bottom:2em;}	

#block-slider .item-img{
	display:block;
	background-position:center center;
	background-size:cover;
	height:25em;
}


@media (max-width: 767px) {
    #block-slider ul li {
        margin-bottom:10px;
    }
}

#block-slider ul li>a {
    display: block;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

#block-slider ul li>a .item-img {
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    position: relative;
}

#block-slider ul li>a:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    z-index: 3;
}

#block-slider ul li>a .item-html {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    color: white;
    z-index: 4;
}

#block-slider ul li>a:hover .item-img {
    -moz-transform: scale(1.1) rotate(-3deg);
    -ms-transform: scale(1.1) rotate(-3deg);
    -o-transform: scale(1.1) rotate(-3deg);
    -webkit-transform: scale(1.1) rotate(-3deg);
    transform: scale(1.1) rotate(-3deg);
}

#block-slider ul li:nth-child(even)>a:before {
    background: #9a6144;
    opacity: .6;
}

#block-slider ul li:nth-child(even)>a .item-html {
    position: absolute;
    text-align: center;
    top: 5%;
    height: 84%;
    -moz-transform: translateY(10%);
    -ms-transform: translateY(10%);
    -o-transform: translateY(10%);
    -webkit-transform: translateY(10%);
    transform: translateY(10%);
    -moz-transition: 0.6s;
    -o-transition: 0.6s;
    -webkit-transition: 0.6s;
    transition: 0.6s;
}

#block-slider ul li:nth-child(even)>a .item-html .btn {
    border-color: white;
    color: white;
    margin-top: 15px;
}

#block-slider ul li:nth-child(even)>a .item-html .btn span:after {
    color: white;
}

@media (min-width: 1200px) {
    #block-slider ul li>a:hover .item-html {
        -moz-transform:translateY(-10%);
        -ms-transform: translateY(-10%);
        -o-transform: translateY(-10%);
        -webkit-transform: translateY(-10%);
        transform: translateY(-10%);
    }
}

#block-slider ul li:nth-child(even)>a:hover:before {
    opacity: .4;
}

#block-slider ul li:nth-child(odd)>a:before {
    background: #35363f;
    opacity: .4;
}

#block-slider ul li:nth-child(odd)>a .item-html {
    position: absolute;
    top: 5%;
		height:84%;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

@media (min-width: 1200px) {
    #block-slider ul li:nth-child(odd)>a:hover .item-html {
        bottom:30px;
    }
}

#block-slider ul li:nth-child(odd)>a:hover:before {
    opacity: .4;
}

#block-slider ul li .content_wrapper {
    padding: 20px;
}

@media (min-width: 1354px) {
    #block-slider ul li .content_wrapper {
        display:-webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-align-items: center;
        align-items: center;
        -webkit-align-content: center;
        align-content: center;
        padding: 20	px;
    }
}

#block-slider ul li .content_wrapper p {
   font: 100 25px/32px 'Open Sans', sans-serif;
   margin-bottom: 0;
	text-align: center;
}

@media (max-width: 991px) {
    #block-slider ul li .content_wrapper p {
        font-size:16px;
    }
}
#block-slider ul li>a .item-html .btn{float: right;
    margin-right: 1em;}
#block-slider ul li:nth-child(even)>a .item-html .btn{
	margin-right:50px;	
}


#block-slider ul li h3,#block-slider ul li h4 {
    text-transform: uppercase;
}

#block-slider ul li h3 {	
    margin-top: 0;
    font: 600 26px/1.2 "Open Sans", sans-serif;
		margin-top:1em;
		text-align:center;
}

@media (min-width: 992px), (min-width: 480px) and (max-width: 767px) {
    #block-slider ul li h3 {			
        font:600 25px/1.2  "Open Sans", sans-serif;
        margin-bottom: 0;
    }
}

#block-slider ul li h4 {
    margin-top: 0;
    font:600 16px/23px "Open Sans", sans-serif;
    font-weight: normal;
}

@media (min-width: 992px) {
    #block-slider ul li h4 {
        font:600 44px/1.2 "Open Sans", sans-serif;
    }
}
