.Header{
	width: 100%;
    position: relative;
}
@media (min-width: 768px) { 
.Header .header-lg_logo img{
width:100%;
height:100vh;
min-height: 800px;
object-fit: cover;
}
.header-top {
	position: absolute;
	top: 120px;
	left: 0;
}
}
@media (max-width: 767px) { 
.Header .header-lg_logo img{
width:100%;
height:100vh;
max-height: 600px;
object-fit: cover;
}
.header-top {
	position: absolute;
	top: 20px;
	left: 0;
}
}

.header-top img{
	width:100%!important;
	object-fit: contain;
}
@media (min-width: 576px) { 
.header-bootom {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-row-gap: 0;
    grid-column-gap: 2%;
	position: absolute;
	bottom: 20px;
	left: 0;
	align-items: end;   
}
}
@media (max-width: 575px) { 
.header-bootom {
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 20px;
    grid-column-gap: 0%;
	position: absolute;
	bottom: 20px;
	left: 0;
	align-items: end;   
}
}

.hb-right-button a{
 display: block;
 width: 100%;
 padding: 15px 30px;
 text-align: center;
 border-radius:50px ;
}
.hb-middle_text{
	text-align: center;
	padding-bottom: 20px;
}
.hb-middle_text p{
	color: var(--light-grey);
}

/*galerija*/
@media (min-width: 1100px) { 
.gallery {
    display: grid;
    grid-template-columns: 48% 24.5% 24.5%;
    grid-row-gap: 15px!important;
    grid-column-gap: 1%!important;
}
.gallery .item-large {
    grid-row: span 2;
}
}
@media (min-width:576px) and (max-width: 1099px) { 
.gallery {
    display: grid;
    grid-template-columns: 49.5% 49.5%;
    grid-row-gap: 15px!important;
    grid-column-gap: 1%!important;
}
}
@media (max-width: 575px) { 
.grid-nav-container{
     display: grid;
    grid-template-columns: 100%!important;
    grid-row-gap: 20px!important;
    grid-column-gap: 0%!important;
    padding-bottom: 15px;
     align-items: center; 
}
.gallery {
    display: grid;
    grid-template-columns: 100%;
    grid-row-gap: 20px!important;
    grid-column-gap: 0%!important;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	aspect-ratio: 5/4!important;
}
}


@media (min-width: 576px) { 
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery .balery_box_bg{
	 width: 100%;
    height: 100%;
	cursor: pointer;
}
.gallery .item {
    height: 350px;
}
}
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr; 
        grid-template-rows: auto;
    }
    .gallery .item,
    .gallery .item-large {
        grid-row: auto; 
    }
}
.gallery .item {
    position: relative;
    overflow: hidden;
}
.gallery .item-large {
    height: 100%;
}
.gallery .balery_box_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
	transition: transform 0.6s ease;
}
.gallery .item:hover .balery_box_bg img {
    transform: scale(1.12);
}

/* Teksta bloks apakšā */
.gallery  .top-info{
	position: absolute;
    top: 20px;
    left: 20px;
}
.gallery  .top-info span{
	color: var(--light-grey);
}
.gallery .info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* nolīdzina saturu elementa apakšā */
    color: white;
}

.gallery .info .gallery-tittle{
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
	width: calc(100% - 45px);
	display: inline-block;
	padding-right: 10px;
}

/* Apaļš sarkans aplītis ar bultu */
.gallery .img-arrow {
	display: inline-block;
    width: 40px;
    height: 40px;
    background: #e63923;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.gallery .img-arrow .arrow {
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    display: block;
    cursor: pointer;
}

.sm-box .img-arrow{
    transform: scale(0.8);
    transform-origin: center center;
}

.sm-box .info h3 {
   font-size:16px;
   margin-bottom: 10px;
}
/* add_your_car */

.block_st_1{
position: relative;
width: 100%;
}
.add_your_car .section_text_block{
	z-index: 3;
}

/*who we are*/
@media (min-width: 768px) {
.ff_width_text{
	position: relative;
	top: -30px;
}
.ff_width_text  h2{
text-indent: 20%;
 line-height: 100%;
}
.section_sm_text_block p{
	padding-top: 30px;
max-width: 420px;
color: var(--light-grey);
margin-left: 27%;
font-weight: 400;
    font-size: 16px;
}
.item-large h3{
 font-size:32px;
}
.who_we_are{
	padding-top: 110px;
	padding-bottom: 100px;
}
}
.ff_width_text strong{
	color: var(--light-grey);
	font-weight: 500;
}
.section_sm_text_block{
	padding-bottom: 40px;
}

@media (max-width: 768px) {
	.ff_width_text{
position: relative;
top: 30px;
}
.who_we_are{
	padding-top: 60px;
	padding-bottom: 50px;
}
.item-large h3{
 font-size:20px;
}
.ff_width_text  h2{
text-indent: 0%;
 line-height: 100%;
 font-size: 30px;
}
	.section_sm_text_block p{
	padding-top: 50px;
	width: 100%;
	color: var(--light-grey);
	padding-left: 0;
    font-weight: 400;
    font-size: 14px;
}
.add_your_car .section_text_block.pos_absolute{
    position: relative;
    top: 0;
    left: 0;
}
}
/*section_lg_text_block*/
@media (min-width: 768px) {
.section_lg_text_block{
	padding-top: 50px;
	display: grid;
    grid-template-columns: 10% auto 32%;
    grid-row-gap: 20px!important;
    grid-column-gap: 2%!important;
}
.section_lg_text_block .sm_number_count{
     color: var(--light-grey);
	 padding-top: 20px;
}
.section_lg_text_block .lg_number_count{
font-weight: 500;
font-size: 175.57px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
text-align: left;
}
.section_lg_text_block .description_count {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section_lg_text_block .description_count_title{
text-transform: uppercase;
padding-bottom:15px;
}
.section_lg_text_block .description_count_description{
	    color: var(--light-grey);
}
}
@media (max-width: 767px) {
.section_lg_text_block{
	padding-top: 0px!important;

}
.section_lg_text_block .sm_number_count{
     color: var(--light-grey);
	 padding-top: 20px;
	 position: relative;
	 top:30px;

}
.section_lg_text_block .lg_number_count{
font-weight: 500;
font-size: 80px;
line-height: 100%;
letter-spacing: 0%;
vertical-align: middle;
padding-left: 20%;
}
.section_lg_text_block .description_count {
 padding-left: 20%;
}
.section_lg_text_block .description_count_title{
text-transform: uppercase;
padding-bottom:15px;
}
.section_lg_text_block .description_count_description{
	    color: var(--light-grey);
}
}


