.btn-grey-full {
    border: 0px solid #fab201;
    color: rgba(54, 54, 54, 0.2);
    background-color: rgba(54, 54, 54, 0.05);
    padding: 15px 12px;
    font-weight: bold;
    margin: 0px 10px;
    transition: all 350ms ease;
    -webkit-transition: all 350ms ease;
    background-color: #f5f5f5;
    color: #363636;
    opacity: .5;
}
a.lb-prev {
    display: block !important;
    opacity: 1 !important;
}
a.lb-next {
    display: block !important;
    opacity: 1 !important;
}
.btn-grey-full:hover {
    opacity: 1;
}


.photo_gallery_single .s_foot{
	display: none;
}

.biker-photo-gallery-open-controls-left {
    position: absolute;
    z-index: 2;
    left: 0px;
    top: calc(50% - 52px);
}

.biker-photo-gallery-open-controls-left:hover .btn-grey-full, .biker-photo-gallery-open-controls-right:hover .btn-grey-full{
	box-shadow: 0px 5px 15px rgba(54, 54, 54, .2);
}

.biker-photo-gallery-open-controls-right {
    position: absolute;
    z-index: 2;
    right: 0px;
    top: calc(50% - 52px);
}

.container {
    width: 100%;
    margin: 2rem auto;
}

.article-detail-body-photo-gallery {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-gap: 1rem;
	height: 250px;
}
@media all and (max-width: 768px){
	.article-detail-body-photo-gallery{
		grid-template-rows: repeat(6, 6vw);
		grid-gap: 5px;
	}
	.custom_gallery__lasts{
		font-size: 24px !important;
	}
}

.gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery__item--1 {
    grid-column-start: 1;
    grid-column-end: 10;
    grid-row-start: 1;
    grid-row-end: 7;
}

.gallery__item--2 {
    grid-column-start: 10;
    grid-column-end: 15;
    grid-row-start: 1;
    grid-row-end: 4;
}

.gallery__item--3 {
    grid-column-start: 10;
    grid-column-end: 15;
    grid-row-start: 4;
    grid-row-end: 7;
}
.photo-gallery-shortcode-title{
	line-height: 15px;
}
.photo-gallery-shortcode-title > a {
    color: black;
    text-decoration: none;
    font-size: 1.2em;
	font-weight: bold;
    line-height: 25px;
}

.photo-gallery-shortcode-subtitle > a {
    font-size: 0.8em;
    text-transform: uppercase;
    text-decoration: none;
	font-family: 'Open Sans';
	font-weight: bold;
}

.biker-photo-gallery-info {
    text-align: center;
}

.biker-photo-gallery-info-text {
    font-size: 1.2em;
    padding: 10px 10px 5px;
}

.biker-photo-gallery-buttons {
    text-align: right;
    z-index: 2;
	margin: 10px 10px 10px 0;
}

.biker-photo-gallery-button {
    background-color: #d70000;
    color: #fdfefe;
    padding: 10px;
    margin-left: 5px;
    text-align: center;
    font-size: 0.9rem;
    display: inline-block;
}
.biker-photo-gallery-button:first-child {
    margin-left: 0;
}
.biker-photo-gallery-button:hover{
	background: #c60000;
	text-decoration: none;
}

.biker-photo-gallery-button.alt {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid rgb(0 0 0);
    padding: 9px;
}
.biker-photo-gallery-button.alt:hover{
	color: white;
	background-color: black;
}

#biker-photo-gallery-info-open-cont-photo {
    margin: auto;
    /*padding: 10px;*/
	position: relative;
}

#custom_gallery__all {
    height: 100vh;
    padding: 10px;
    display: none;
}
@media all and (max-width: 768px){
    #custom_gallery__all{
        height: auto;
        margin-bottom: 35px;
    }
}

.gallery__item {
    position: relative;
}

.custom_gallery__lasts {
    top: 0;
    left: 0;
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(54, 54, 54, 0.5);
    color: white;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 2em;
	font-family: "Open Sans";
}

.custom_gallery__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 20px;
    align-items: stretch;
}
.custom_gallery__grid:before{
	display: none !important;
}
@media all and (max-width: 1000px){
	.custom_gallery__grid {
		grid-template-columns: repeat(5, 1fr);
	}
}
@media all and (max-width: 768px){
	.custom_gallery__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.custom_gallery__grid img {
    border: 1px solid #ccc;
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

.biker-photo-gallery-button i{
	display: none;
}

.biker-photo-gallery-open-controls-zoom{
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    color: white;
    padding: 6px;
}
.biker-photo-gallery-open-controls-zoom svg{
    width: 32px;
    height: 32px;
}
.biker-photo-gallery-open-controls-zoom svg path{
    fill: white;
}
#biker-photo-gallery-info-open-cont-photo a:hover .biker-photo-gallery-open-controls-zoom svg path{
    fill: #d70000;
}
.biker-photo-gallery-open-controls-zoom:hover svg path{
    fill: #d70000;
}
	
@media only screen and (max-width: 640px), (max-height: 575.98px) {


    .photo_gallery_single .s_main_cell {
        flex-direction: column;
    }

	.biker-photo-gallery-open-controls-zoom{
		display: none;
	}
	.photo_gallery_single .s_main{
		padding: 0;
	}
	.btn-grey-full {
		margin: 0px;
	}
	.biker-photo-gallery-buttons {
		position: relative;
        z-index: 999;
		right: 0;
		display: flex;
	}
    #biker-photo-gallery--close-photo-gallery{
        margin-left: auto;
    }
	.biker-photo-gallery-button{
		color: #d70000;
		background: none;
		display: flex;
		align-content: center;
		align-items: center;
	}
	.biker-photo-gallery-button:hover {
		background: none;
		text-decoration: none;
		color: black;
	}
	.biker-photo-gallery-button.alt:hover {
		color: #d70000;
		background: none;
	}
	.biker-photo-gallery-button span{
		font-size: 15px;
		margin-right: 8px;
		padding-bottom: 4px;
	}
	.biker-photo-gallery-button i{
		font-size: 40px;
		display: inline;
	}
	.biker-photo-gallery-button.alt span{
		display: none;
	}
	.biker-photo-gallery-button.alt{
		border: none;
		margin: 0;
		font-size: 20px;
		background: none;
	}
	.biker-photo-gallery-button.alt i{
		font-size: 25px;
	}
}