/* BLOG LIST TEMPLATE FOR STYLE EDITING ------------------------------------------------------------ */

.blog, .blog-article{
	max-width: 1300px; 
	padding: 110px 100px;
}

.blog-preview {
	font-size: 14px;
	line-height: 22px;
}

.blog-preview h2 a {
	color: var(--clr-headings);
	font-family: 'Libre Baskerville', serif;
	font-size: 21px;
	line-height: 29px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
}

.blog-preview a.bp-link {   /* READ MORE LINK */
	display: inline-block;
	padding: 10px 18px;
	margin-top: 12px;	
	color: var(--clr-headings)!important;
	background: var(--clr-bg-tint);
	font-size: 12px;
	line-height: 12px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none!important;
}

.blog-preview a.bp-link:hover  {
	color: var(--clr-white)!important;
	background: var(--clr-headings);
	text-decoration: none;
}

/* BLOG LIST TEMPLATE STANDARD ------------------------------------------------------------ */

.blog, .blog-article {
	flex-direction: row;
	justify-content: space-between;
	width: 100%; 
	margin: 0 auto;
	position: relative;
}

.blog-list-heading {
	width: 100%;
	margin-bottom: 20px;
}


.blog .wrapper {
	width: 65%;
	padding: 0;
	margin: 0;
	display: -webkit-box;
	display: -webkit-flex;             
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: space-between;
}

.blog-article .wrapper {
	width: 65%;
	margin: 0;
	padding: 0;
}

.blog-article .wrapper img {
	width: 100%;
	margin: 30px 0;
	-webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); -moz-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
}

.blog-article .ba-date {	
	margin: 0;
	font-size: 14px;
	line-height: 22px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--clr-headings);
}

.blog-article .wrapper ul  {
	list-style: none;
	margin: 0 0 16px 20px;
	padding: 0;
}

.blog-article .wrapper ul li  {
	margin: 4px 0;
	padding-left: 10px; 
    text-indent: -17px;
}

.blog-article .wrapper ul li:before {
    content: '\2022';
	padding-right: 10px;
    color: rgba(0,0,0,0.2);
	font-weight: bold;
}

.blog-article .wrapper ol {
	list-style-type: decimal;
	margin: 0 0 16px 20px;
	padding: 0;
}

.blog-article .wrapper ol li  {
	margin: 4px 0;
	padding-left: 10px; 
}


.blog-preview {	
	width: 45%;
	padding: 0 0 50px 0;
}

.blog-preview:nth-last-child(2) {
	padding: 0 0 4px 0;
}

.blog-preview:last-child {
	padding: 0 0 4px 0;
}

.blog-preview h2 {
	margin-bottom: 10px!important;
}

.blog-preview .bp-date {
	font-size: 11px;
	line-height: 20px;
	font-weight: 400;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 8px 0;
	color: var(--clr-headings);
}

.blog-preview p {
	margin: 0 0 8px 0;
}

.blog-preview a.bp-link  {
	transition: all 0.2s ease; -moz-transition: all 0.2s ease; -webkit-transition: all 0.2s ease;
}

.blog-preview p b, .blog-preview p strong {font-weight: 300; margin: 0;}

.blog-preview p em, .blog-preview p i {font-style: normal;}


/* BLOG LIST TEMPLATE SQUARDED IMAGE JUSTIFIED RIGHT ------------------------------------------------------------ */


.blog-preview span, .blog-article .wrapper span {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 0;
	padding-bottom: 65%;
	background: #404040;
	margin-bottom: 20px;
	border-radius: 1px; -moz-border-radius: 1px; -webkit-border-radius: 1px;
	-webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); -moz-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
}

.blog-article .wrapper span {
	margin-bottom: 30px;
}

.blog-preview span q, .blog-article .wrapper span q {	/*TAG ON IMAGE*/
	left: 0;
    bottom: 0;	
	position: absolute;
	z-index: 99;
	display: block;
	font-size: 11px; 
	line-height: 23px;
	color: #FFFFFF; 
	height: 23px; 
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0 14px;
	background: var(--clr-grey);
	font-weight: 400;
}

.blog-preview span img {
	object-fit: cover;	
    position: absolute;
    z-index: 9;
	width: 100%;
	height: 100%;
}


/* BLOG TEMPLATE GALLERY ------------------------------------------------------------ */

.blog-gallery, #gallery-photo-grid {
	display: -webkit-box;
	display: -webkit-flex;             
  	display: flex;
  	width: 100%;
}


.gallery-photo {
	flex: 1 1 auto;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	margin-top: 50px;
	margin-right: 2.5%;
	position: relative;
	overflow: hidden;
	height: 0;
	padding-bottom: 32%;
	background: #404040;
	cursor: pointer;
	border-radius: 1px; -moz-border-radius: 1px; -webkit-border-radius: 1px;
	-webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); -moz-box-shadow: 0 0 6px 0 rgba(0,0,0,0.1); box-shadow: 0 0 6px 0 rgba(0,0,0,0.1);
}

.gallery-photo:last-child {
	margin-right: 0;
	max-width: 50%;
}

.gallery-photo i {	
	opacity: 0;
	position: absolute;
	z-index: 99;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	color: #FFFFFF;
	width: 10px;
	height: 10px;
	font-size: 10px;
	transition: 0.2s ease; -moz-transition: 0.2s ease; -webkit-transition: 0.2s ease;
}

.gallery-photo:hover i  {
	opacity: 1;
	-webkit-transform: scale(3);
    -moz-transform: scale(3);
    transform: scale(3);
}

.gallery-photo img {
	object-fit: cover;	
    position: absolute;
    z-index: 9;
	height: 100%;
	opacity: 1;
	margin: 0!important;
	transition: 0.3s linear; -moz-transition: 0.3s linear; -webkit-transition: 0.3s linear;
}

.gallery-photo:hover img {
	opacity: 0.7;
	-webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
}


/* SLIDER LOAD ------------------------------------------------------------ */








#slider-loading-blog {
	position: relative;
	height: 100%;
	/*background-color: #000000;*/
}

#slider-loading-blog::after {
	content: '';
	position: absolute;
	margin: auto;
	overflow: auto;
	top: 0; 
	left: 0; 
	bottom: 0; 
	right: 0;
	border: 2px solid rgba(255,255,255,0.2);
	border-radius: 50%;
	border-top: 2px solid rgba(255,255,255,0.7);
	width: 35px;
	height: 35px;
	-webkit-animation: spin 0.8s infinite cubic-bezier(.6,.3,.3,.6); 
	animation: spin 0.8s infinite cubic-bezier(.6,.3,.3,.6);
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#slider-loading-blog.slider-loading-hide::after {
	content: '';
	display: none;
}







.gallery-slider {
	position: relative;
	z-index: 98; 
	height: 100%;
	width: 100%;
	display: block; 
	overflow: hidden; 
	clear: both;
	text-align: center;
	visibility: hidden;
	opacity: 0;
	line-height: 0;
	transition: all 0.5s; -moz-transition: all 0.5s; -webkit-transition: all 0.5s;
}


/* GALLERY ------------------------------------------------------------ */


body.no-scroll {
	overflow: hidden;
}

.gallery {
	overflow: hidden;
}

#gallery-slider-container {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 999999;
	width: 100%;
	height: 100%;
	background: rgba(40,40,40,0.95);
	opacity: 0; 
}

#gallery-slider-content {  
	width: 100%; 
	
}

#gallery-slider-content b {
	display: block;
	text-indent: -99999px;
	position: absolute; 
	z-index: 999;
	top: 20px;
	right: 20px;
	height: 44px; 
	width: 44px; 
	cursor: pointer;
	font-weight: normal;
	-moz-border-radius: 50%; -webkit-border-radius: 50%; border-radius: 50%; -khtml-border-radius: 50%;
	background-image: url('../pictures/close.png'); background-repeat: no-repeat; background-position: 14px center; background-size: 16px 16px;
	background-color: rgba(40,40,40,0.95);
	transition: 0.3s ease; -moz-transition: 0.3s ease; -webkit-transition: 0.3s ease; 
}

#gallery-slider-content b:hover {
	-o-transform: rotate(90deg);
  	-webkit-transform: rotate(90deg);
  	transform: rotate(90deg);
}

/* #gallery-slider-content:hover .prev {
	opacity: 1; 
	left: 16px;
}

#gallery-slider-content:hover .next {
	opacity: 1; 
	right: 16px;
}

.prev, .next{
    position: absolute;
    top: 50%;
	-ms-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 99998;
	color: #FFF;
    display: block;
	height: 50px;
	width: 50px;
	text-align: center;
    cursor: pointer;    
    border: none;
    outline: none;
	opacity: 0.6; 
	text-shadow: 0 0 30px rgba(0,0,0,0.3);
	transition: all 0.3s ease; -moz-transition: all 0.3s ease; -webkit-transition: all 0.3s ease; 
}

.prev i, .next i{
    font-size: 20px; 
	line-height: 50px;
	margin: auto;
}

.prev{ 
    left: 22px;
}

.next{ 
    right: 22px;
} */

.gallery-slider .slick-slide {
    margin: 0;
	position: relative;
	overflow: hidden;
	height: 100vh;
}

.gallery-slider .slick-slide img {
	object-fit: contain;
	height: 100%;
	width: 100%;
	max-width: 1300px;
	margin: auto;
	padding: 15px;

}


@media screen and (max-width: 1023px) {
	
.blog, .blog-article {	
	padding: 70px 50px;
	flex-direction: column;
}

.blog .wrapper, .blog-article .wrapper {
	width: 100%;
}

.blog-preview {	
	width: 46%;
}

.prev, .next {
    display: none!important;
}

.gallery-photo i {	
	display: none!important;
}


}


@media screen and (max-width: 767px) {

.blog, .blog-article {	
	padding: 60px 30px;
}		

.blog-list-heading {
	margin-bottom: 0;
}

.gallery-photo {
  	margin-top: 30px;
  	margin-right: 3%;
}

}


@media screen and (max-width: 550px) {


.blog-preview {
	float: none;
	width: 100%;
	height: auto;
	padding: 0 0 50px 0;
}

.blog-preview:nth-child(2n) {
	padding: 0 0 50px 0;
}

.blog-preview:nth-last-child(2) {
	padding: 0 0 50px 0;
}

.blog-preview:last-child {
	padding: 0;
}

	

	
}