/* ====== Home page =====*/
.branch {
  font-size: 1.5em;
  font-family: Helvetica, sans-serif;
  font-weight: bold;
  background-color: var(--branch-background);
  border-collapse: collapse;
  display: flex;
	line-height: 1.1;
  }

.branch .img-holder {
display: block;
  width: 52.5%;
   background-repeat: no-repeat;
  background-size: cover;
	background-position: center;
}
  
 .branch .img-holder-inner {
    display: block;
    padding-top: 40%;
  }

.branch .info {
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
    width: 100%;
	font-size: 1em;
}



.branch .button-holder {
    bottom: -5px;
    position: absolute;
    right: 5px;
	display: flex;
	flex-wrap: wrap-reverse;
	justify-content:center;
  }

.branch a.button {
  margin: 5px 0 0 10px;
	font-size: 0.7em;
	padding: 4px 10px 4px 10px;
	flex-basis: auto;
}

.branch h2 {
  font-family: "realist", sans-serif;
  font-size: 2em;
  font-weight: 900;
  line-height: 1;
  margin: 15px 0 8px 0;
  text-transform: uppercase;
}

.branch h3 {
  font-size: 1.2em;
  font-weight: 400;
  margin: 0;
}

.branch p {
  font-size:0.9em;
}

.branch a:hover {
  text-decoration: underline;
}

.homebox,
.homebox a {
 color: inherit; 
}

 
  
.branch .info {
    flex: 1;
    position: relative;
  }

  .branch:nth-of-type(2n) .info {
    margin-right: 10px;
    order: 1;
  }
  .branch:nth-of-type(2n) a {
    order: 2;
  }
  
@media only screen and (max-width: 1200px) {
  .branch {
  font-size: 1.3em;
  }
	
  .branch h2 {
font-size: 2.4em;
  margin: 10px 0 6px 0;
}

}


/* Mobile and tablet layout */
@media only screen and (max-width: 1024px) {
  .branch {
  font-size: 1.2em;
  }
	
  .branch h2 {
font-size: 2.0em;
  margin: 6px 0 0 0;
}
	.branch h3 {
font-size: 1.1em;
}
	.branch a.button {
	font-size: 0.8em;
	padding: 3px 8px 3px 8px;
}
}

@media only screen and (max-width: 768px) {
  .branch {
	  display:block;
  font-size: 1.2em;
  }
	.branch .img-holder {
    margin-top: 0;
    width: 100%;
  }
	

  .branch .info {
   margin: 0 0 20px 0;
	  padding: 0;
    width: 100%;
	display: block;
	  height: auto;
	  position:inherit;
}
	.branch .button-holder {
    bottom: auto;
    position: inherit;
    right: auto;
	 margin-bottom: none;	
  }
		.branch a.button {
	float: none;
	width: 96%;
	margin: 0 auto 10px auto;
}
}





