.rs-gallery {
  margin-top: 13px;
}
.rs-gallery.rs-gallery-arcive {
  margin-top: -34px;
}
.rs-gallery .section-header {
	margin-bottom: 50px;
	max-width: none;
	padding-bottom:  87px;	
	border-bottom:  1px solid #424242;
}
.rs-gallery.rs-gallery-arcive .section-header {
	margin-top: 45px;
}
.rs-gallery .nav-tabs {	
	display:  flex;
	padding-bottom:  80px;
	flex-wrap:  wrap;
	border-color:  #424242;
}
.rs-gallery .nav-tabs li {	
	float:  none;
	margin-right:  35px;
}
.rs-gallery .nav-tabs li a,
.rs-gallery .nav-tabs li a:hover  {	
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	font-size: 21px;
	line-height: 160%;
	color: rgba(255, 255, 255, 0.8);
	background-color: transparent;
    border: none;
    border-bottom-color: transparent;
	border-radius: 0;
	padding:  15px 0;
}
.rs-gallery .nav-tabs li.active a  {
	color:  #fff;
	background-color: transparent;
	border:  none;
}
.rs-gallery .tab-content  {
	margin-top:  47px;
}
.rs-gallery .services-row  {
	margin-top:  80px;
}
.rs-gallery .services-item  {	
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	padding: 40px;	
	margin-bottom: 30px;
	/* width: 500px; */
	height: 450px;
	border: 1px solid #FFFFFF;
}
.rs-gallery .rs-gallery__title  {	
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0px;	
	margin: 0 auto;		
}
.rs-gallery .rs-gallery__title h2  {
	font-family: 'Cormorant';
	font-style: italic;
	font-weight: 300;
	font-size: 44px;
	line-height: 109%;	
	letter-spacing: -0.02em;	
	margin-bottom: 17px;
}
.rs-gallery .rs-gallery__title p  {	
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	font-size: 24px;
	line-height: 100%;
	color: rgba(255, 255, 255, 0.8);
}
.rs-gallery .gallery-inner   {	
	margin-bottom:  92px;	
}
.rs-gallery .gallery-inner a  {
	display:  block;
	height:  515px;
	margin-bottom:  37px;
}
.rs-gallery .gallery-inner h4  {	
	font-family: 'Lato';
	font-style: normal;
	font-weight: 300;
	font-size: 34px;
	line-height: 120%;
	color: #FFFFFF;
}



@media (min-width: 1770px)  {
	.rs-gallery  .rs-gallery__container  {
		max-width: 1688px;
		padding-left: 24px;
		padding-right: 24px;
	}
	.rs-gallery .rs-gallery__container .gallery-row  {
		margin-left: -24px;
		margin-right: -24px;
	}
	.rs-gallery .rs-gallery__container .col-md-4	{
		padding-left: 24px;
		padding-right: 24px;
	}
	.rs-gallery .services-item  {			
		margin-bottom: 80px;		
	}
}
@media (max-width: 1769px)  {
	.rs-gallery .gallery-inner a  {
		height:  calc(100vw/3 - 36px);
	}
}

@media (max-width: 991px)  {
	.rs-gallery {
	  margin-top: 30px;
	}
	.rs-gallery .gallery-inner h4  {		
		font-size: 24px;		
	}
	.rs-gallery .gallery-inner   {	
		margin-bottom:  50px;	
	}
	.rs-gallery .nav-tabs li a,
	.rs-gallery .nav-tabs li a:hover  {			
		padding:  5px 0;
		font-size:  19px;
	}
	.rs-gallery .nav-tabs {		
		padding-bottom: 20px;		
	}
	.rs-gallery .tab-content {
		margin-top: 20px;
	}
	.rs-gallery .gallery-inner a  {
		height:  calc(100vw/2 - 39px);
	}
	.rs-gallery .section-header {
		margin-bottom: 30px;		
		padding-bottom:  50px;			
	}
}
@media (max-width: 767px)  {
	.rs-gallery .gallery-inner a  {
		height:  calc(100vw - 48px);
	}
	.rs-gallery .section-header {
		margin-bottom: 20px;		
		padding-bottom:  30px;			
	}
}
@media (max-width: 510px)  {
	.rs-gallery .rs-gallery__title h2  {
		font-size: 30px;
	}
	
}
