* {
	margin: 0;
    padding: 0;
}

.header-logo {
    display: grid;
    height: 100%;
}

.center-fit-logo {
    width: 25%;
    height: auto;
    min-width: 25vh;
    margin: auto;
}

#elina {
	color: #2F1730;
	font-family: elina, sans-serif;
	font-weight: 400;
	font-style: normal;
}

p, table, label {
	color: #2F1730;
	font-family: brother-1816, sans-serif;
	font-weight: 200;
	font-style: normal;
}

.nav-item {
	font-family: moderno-fb, serif;
	font-weight: 700;
	font-style: normal;
}

body {
	background-color: #F4F4F4;
	background-image: url("../img/henry-co-unsplash.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: right bottom;
	background-size: contain;
}

#square {
	background-color: #E1E2DD;
}

#square-content, #window {
	padding: 2%;
}

#pad {
	padding: 1%;
}

#round {
	background-color: #E1E2DD;
	border-radius: 25px;
	padding: 5%;
}

#element1 {display:inline-block;margin-right:10px;} 
#element2 {display:inline-block;} 

.nav-link:hover {
	border-style: solid;
	border-color: #B8A800;
}

.nav-tabs > .nav-item > .nav-link:hover {
  border: 3px solid  #B8A800;
}

.nav-tabs > .nav-item > .nav-link {
  border: 3px solid transparent;
}


/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

h1 > a {
	font-family: moderno-fb, serif;
	font-weight: 400;
	font-style: normal;
	color: #2F1730;

}

h1 > a:hover {
	color: #706104;
}

a {
	border: 1px solid transparent;
}

.home_button {
	background: white;
	margin: 0 auto;
}

.home_button:hover {
	background: white;
	border: 3px solid  #B8A800;
}

.home_button > img {
	opacity: 0.5;
  	filter: alpha(opacity=50); /* For IE8 and earlier */
	padding: 5px;
}

.box { 
  width: 100%;  
  display:-moz-flex;
  display:-webkit-flex;
  display:-ms-flex;
  display:flex;
}

hr {
  /*border: .5px solid #000;*/
  margin-left: 10px;
  margin-right: 10px;
}

.hr-line {
  -moz-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
 }

.row-grid + .row-grid {
    margin-top: 15px;
}

.tz-gallery {
    padding: 40px;
}

/* Override bootstrap column paddings */
.tz-gallery .row > div {
    padding: 2px;
}

.tz-gallery .lightbox img {
    width: 100%;
    border-radius: 0;
    position: relative;
}

.tz-gallery .lightbox:before {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -17px;
    margin-left: -25px;
    opacity: 0;
    color: #fff;
    font-size: 26px;
    content: '\e003';
    pointer-events: none;
    z-index: 9000;
    transition: 0.4s;
}46, 132, 206, 0.7);

.container .gallery a img {
  float: left;
  width: 20%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

.container .gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}

.thumb-post img {
  object-fit: cover; /* Do not scale the image */
  object-position: center; /* Center the image within the element */
  width: 300px;
  height: 300px;
  margin-bottom: 1rem;
}

.img-thumbnail {
	width: 100%;
}

.tz-gallery .lightbox:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(204,153,0, 0.7);
    content: '';
    transition: 1.5s;
}

.tz-gallery .lightbox:hover:after,
.tz-gallery .lightbox:hover:before {
    opacity: .5;
}

/*.baguetteBox-button {
    background-color: transparent !important;
}*/

@media(max-width: 768px) {
    body {
        padding: 0;
    }
}

.navbar {
	background-color: #F4F4F4;
}