@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300;700&display=swap');

@import url('icons.css');

* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */    /* Firefox, other Gecko */
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;         /* Opera/IE 8+ */
	
	margin: 0;
	padding: 0;
}

html, body {
	/* min-height: 100%; */
	/* min-height: calc(var(--vh, 1vh) * 100); */
	
	display: -webkit-box;
	
	display: -ms-flexbox;
	
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
}

a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
}

a:active {
    text-decoration: underline;
}

.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */ /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.overlay::after, .overlay-light::after {
    color: inherit;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiYGBgePz//38GRhABAgABBgBFTAbfCBNE2AAAAABJRU5ErkJggg==);
	
    /* display: block; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

.overlay-light::after {
    background-color: rgba(0, 0, 0, 0.25);
	
    /* display: block; */
}

.footer-wrap {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	background-color: #272727;
	color: #777;
	padding: 1rem;
}

.footer-spacer {
	height: 72px;
}

@media (hover: hover) {
	
	a:hover {
		text-decoration: underline;
	}
	
}

/*-- Snackbar --*/

#snackbar {
	visibility: hidden;
	min-width: 250px;
	/* margin-left: -125px; */
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 7px;
	padding: 16px;
	position: fixed;
	z-index: 1;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	    -ms-transform: translate(-50%, 0);
	        transform: translate(-50%, 0);
	bottom: 30px;
	font-size: 17px;
	-webkit-box-shadow: 4px 4px 16px #222;
	        box-shadow: 4px 4px 16px #222;
	border: 1px solid #2d2d2d;
}

#snackbar.show {
	visibility: visible;
	/* -webkit-animation: snack-fadein 0.5s, snack-fadeout 0.5s 2.5s; */
	/* animation: snack-fadein 0.5s, snack-fadeout 0.5s 2.5s; */
	-webkit-animation: snack-fadein 0.5s;
	animation: snack-fadein 0.5s;
}

#snackbar.hide {
	opacity: 0;
	visibility: visible;
	-webkit-animation: snack-fadeout 0.5s;
	animation: snack-fadeout 0.5s;
}

@-webkit-keyframes snack-fadein {
	from { bottom: 0; opacity: 0; } 
	to { bottom: 30px; opacity: 1; }
}

@keyframes snack-fadein {
	from { bottom: 0; opacity: 0; }
	to { bottom: 30px; opacity: 1; }
}

@-webkit-keyframes snack-fadeout {
	from { bottom: 30px; opacity: 1; } 
	to { bottom: 0; opacity: 0; }
}

@keyframes snack-fadeout {
	from { bottom: 30px; opacity: 1; }
	to { bottom: 0; opacity: 0; }
}
