/* You can change this file 
---------------------------
Please use the IDs provided as much as possible
This css file is for everything related to the #gallery section
*/

@media only screen and (min-width: 1000px) {
    

#gallery {
    width: 100%;
    height: 40vw;
    position: relative;
    overflow: hidden;
    border: none;
}

/* #gallery:before{
    content: '';
    display: block;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.423);
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
} */

#gallery img {
    width:  100%;
    height: 40vw;
    object-fit: cover;
}

#gallery #halfblock {
    width: 49.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    left: 5%;
    bottom: 20%;

}

#gallery #halfblock #inset {
padding: 5%;
width: 90%;
height: auto;
}


#gallery #thirdblock {
    width: 32.5%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
}

#gallery #quarterblock {
    width: 25% !important;
    height: auto;
    margin: 0px;
    padding: 0;
    border: none;
}

#gallery #fullblock {
    width: 99%;
    height: auto;
    margin: 0px;
    padding: 0;
    border: inherit;
    position: absolute;
    bottom: 5vh;
}

#gallery hr{
    width: 38%;
    border-top: 0.5rem solid var(--yellow);
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
}

#halfblock.custom img{
    width: 76%;
    display: block;
    margin: 0 auto;
}

#halfblock.custom:nth-child(2){
 width: 45%;
 vertical-align: top;
}

	figure img {
		max-width:100%;
	}
	
	#twothirdsblock figure{
		margin:0 !important;
	}

		.serviceblock #quarterblock h2{
		font-size:inherit;
	}
	
	.serviceblock{
		padding:0 0 5% 0 !important;
	}
}

#headerbutton {
   height:  auto;
   padding: 5% 13%;
   border:  none; 
   width: auto;
   background: var(--red);
   border-radius: 5px;
   color:white;
   white-space: nowrap;
   display:inline-block;
   position: relative;
}