/* TopBar */
#dfdtopbar {
	padding: 2px 0;
	text-align: center;
	display: grid;
	grid-template-columns: auto 16px;
	top: 0;
	width: 100%;
	z-index: 1000;
}

#dfdtopbar.fixed {
	position: fixed;
}

#dfdtopbar.hidden {
	display: none;
}

#dfdtopbar #closeDfdTopBar {
	font-weight: bold;
	cursor: pointer;
	justify-self: flex-end;
	align-self: flex-start;
	padding-right: 5px;
}

.topbar_text {
	padding: 10px;
}

/* For control custom text auto tags styles */
pre, p {
	margin: 0px;
}

/* Content grid */
.topbar_content_grid {
	display: grid;
	grid-template-columns: 1fr 4fr 1fr;
}

.topbar_text {
	justify-self: center;
	align-self: center;
}

/* Countdown */
#topbar_countdown_date {
	display: none;
}

.topbar_countdown {
	justify-self: end;
}

/* Countdown content grid */
.topbar_countdown_content {
	margin: 10px;
	display: grid;
	grid-template-areas:
		"d h m s"
		"df hf mf sf";
}

.topbar_days {
	grid-area: d;
}

.topbar_days_foot {
	grid-area: df;
}

.topbar_hours {
	grid-area: h;
}

.topbar_hours_foot {
	grid-area: hf;
}

.topbar_minutes {
	grid-area: m;
}

.topbar_minutes_foot {
	grid-area: mf;
}

.topbar_seconds {
	grid-area: s;
}

.topbar_seconds_foot {
	grid-area: sf;
}

/* Countdown styles */
.topbar_countdown_content *{
	padding: 10px;
	margin: 2px;
	width: 50px;
	display: flex;
	text-align: center;
	justify-content: center;
    align-items: center;
}

.topbar_date_item {
	border: outset grey 0.5px ;
	border-radius: 8px;
}

.topbar_date_foot {
	padding-top: 0px;
	padding-bottom: 0px;
}

@media screen and ( max-width: 949px ) {
	/* Content grid */
	#dfdtopbar {
		top: 50px;
		z-index: 1000;
		position: fixed;
		width: 100%;
	}

	#dfdtopbar #closeDfdTopBar {
		padding: 10px;
		font-size: 50px;
	}

	.topbar_content_grid {
		display: grid;
		grid-template-columns: 1fr;
	}

	.topbar_countdown {
		justify-self: center;
	}

	/* Countdown styles */
	.topbar_countdown_content *{
		margin: 5px;
	}

	.topbar_date_item {
		border: outset grey 0.5px ;
		border-radius: 8px;
	}

	.topbar_date_foot {
		padding-top: 0px;
		padding-bottom: 0px !important;
		padding-left: 0px !important;
		margin-left: 0px;
		margin-right: 0px;
		display: flex;
		justify-content: left;
	}

	.topbar_date_foot span {
		width: auto;
		height: 100%;
	}

	.topbar_countdown_content *{
		padding: 5px;
		width: 35px;
	}

	.topbar_date_foot * {
		padding: 0px;
		margin: 0px;
		width: 35px;
		text-align: left;
	}
	.topbar_countdown_content {
		display: grid;
		grid-template-areas:
			"d df h hf m mf s sf";
	}

}
/*DFD*/
/**
* Estilos de las flechas
*/

/*Flecha para arriba*/
.arrow-up {
	position: relative;
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	border-right: 0.2em solid black;
	border-top: 0.2em solid black;
	transform: rotate(-45deg);
	margin-right: 0.5em;
	margin-left: 1.0em;
	margin-top: 6px;
}
	  
/*Flecha para abajo*/
.arrow-down {
	position: relative;
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	border-right: 0.2em solid black;
	border-top: 0.2em solid black;
	transform: rotate(135deg);
	margin-right: 0.5em;
	margin-left: 1.0em;
}

.topbar_text {
	display: flex;
}

#displayer{
	margin-left: 20px;
}