:root {
  --base-dist: .5rem;
}

/* theme.css overrides: */
#body-wrapper .container { padding: 0 0 2rem 0; }
section.section { padding-left: var(--base-dist); padding-right: var(--base-dist); }
#header .container { padding:0; }
.blog-listing .bricklayer-column { padding-left: 0rem; padding-right: var(--base-dist); }
.blog-listing .bricklayer-column:last-child { padding-right: 0rem; }
.blog-listing .card { margin-top: var(--base-dist); margin-bottom: 0;}
#header .logo svg, #header .logo img { height: 4rem; }
body.header-fixed.header-animated #header.scrolled .logo svg, body.header-fixed.header-animated #header.scrolled .logo img { height: 2.2rem; }
.mobile-logo svg, .mobile-logo img { height: 4rem; margin-top: 0rem; margin-left: var(--base-dist); }
/*.container.grid-md { max-width: 800px; }*/
/*#header { font-size: 1rem; text-transform: lowercase; font-weight: 800; letter-spacing: 0.2rem; text-shadow: #5FA1F2 1px 1px;}*/
/*.dropmenu ul li a:hover, .dropmenu ul li a:focus, .dropmenu ul li a.active { color: #F7D543 !important; }*/
#header { font-size: .8rem; text-transform: lowercase; font-weight: 700; letter-spacing: 0.1rem;}
.treemenu li a { font-size: 1rem; text-transform: lowercase; font-weight: 700; letter-spacing: 0.1rem;}
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: 0.03rem; }


.container.grid-full { max-width: 1500px; }

.block{
	display: block;
}

.centerimage{
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: calc(0.2rem + var(--base-dist));
}

.content-item video {
	display:block;
	max-width: 100%;
	max-height: 85vh;
	margin-bottom: 1rem;
	margin-left: auto;
	margin-right: auto;
}

.media-grid {
    column-count: 6;
    column-gap: var(--base-dist);
}
@media (max-width: 1250px) { .media-grid {column-count: 5;} }
@media (max-width: 1000px) { .media-grid {column-count: 4;} }
@media (max-width: 750px) { .media-grid {column-count: 3;} }
@media (max-width: 500px) { .media-grid {column-count: 2;} }


.media-item {
	position: relative; /* we need a relatively positioned box for the absolute text to anchor to */
    display: block; /* every new item comes on a new line */
	overflow: hidden; /* any text/visuals that fall outside of the box will not be rendered */
	margin-bottom: var(--base-dist);
}

.media-item img {
    width: 100%;
    display: block;
}

.media-item video {
    width: 100%;
    display: none; /*make this 'block' to have videos immediately loaded on top of the images, make it 'none' to only start loading on hover */
	position: absolute;
	top: 0;
}

.media-item:hover video {
  display: block;
}

.media-text {
  position: absolute; /* anchor to our closest parent (the media-item) */
  bottom: 0; /* position so the bottom of the box touches the bottom of the media item */
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  transition: .1s;
  font-size: .7rem;
  text-align: center;
  padding: 0;
  max-height: 0;
}

.play-icon{
	position: absolute;

	display: none;

	/*FOR USING FONTAWESOME */
	/*top: calc(50% - 17px);
	width:100%;
	height:30px;
	font-size: 30px;
    line-height: 30px;
	text-align: center;
    vertical-align: bottom;
	color: #f1f1f1;
	*/

	/*FOR USING SVG in the center */
	/*top:calc(50% - 0.6rem);
	left:calc(50% - 0.6rem);
	width: 1.2rem;
	height: 1.2rem;*/

	/*FOR USING SVG in the corner */
	top: 1px;
	right: 1px;
	width: 1rem;
	height: 1rem;

	transition: .3s;
	opacity: 1;
}

.media-item:hover .play-icon {
	opacity :0;
}

.media-item:hover .media-text {
  padding: .1rem;
  max-height: 100%;
}

.filters {
    margin: var(--base-dist) 0 var(--base-dist);
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.filter-btn {
    cursor: pointer;
    background: #e1edfd;
	/* color: #3085ee; */
    border: none;
    padding: .3rem .8rem;
    border-radius: 2px;
    font-size: .8rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: #454d5d;
    /*color: #3085EE;*/
	color: white;
}

