/**
 * Theme Name: Gustavo Collado
 * Description: -
 * Author: Creative Themes
 * Template: twentytwentyfour
 */


:root{
    --backColor: #111111;
    --frontColor: #eeeeee;
}

#legendContainer,
#copyrightFullscreenContainer {
	display: none !important;
}


#network-container {
	height: 100vh;
	width: calc(100vw - 550px);
	width: 100%;
	position: fixed;
	right: 0;
	top: 0;
	/*animation: wiggle 5s;
  animation-iteration-count: infinite;*/
}

#main-visnetwork {
	z-index: -1;
}

button,
input,
textarea {
	font-family: inherit;
}

#copyright {
	color: #555;
	display: inline-block;
}

#copyright:hover {
	color: whitesmoke;
}

#copyrightFullscreenContainer {
	position: absolute;
	bottom: 10px;
	right: 70px;
	text-align: right;
}

.vis-config-s0 {
	color: whitesmoke
}

.vis-network {
	outline: none;
}

#configure-container {
	color: #111
}

.icon {
	display: inline;
	color: #777;
	vertical-align: middle;
	font-size: 1.3em;
}

/* Sidepost */
#sidePostContainer {
	z-index: 20;
	position: absolute;
	right: 0;
	top: 0;
	transition: all 0.5s ease, pointer-events 0s linear;;
	width: max(700px, 56%);
	max-width: 100%;
	height: 100%;
	opacity: 1;
	padding-top: 70px;
	padding-bottom: 70px;
	padding-right: 30px;
	padding-left: 30px;
	transform: scale(1);
	background-color: transparent;
    box-sizing: border-box;
	pointer-events: none;
}

#sidePostContainer.hidden {
	display: inherit;
	/* right: -100%; */
	opacity: 0;
	transform: scale(1.2);
	transition: all 0.5s ease, pointer-events 0s linear;
	visibility: hidden;

}

#sidePostContainer:not(.hidden)>* {
	pointer-events: auto;
}

#sidePostContainer.hidden .stk-block-carousel__button {
    pointer-events: none !important;
}


#sidePostContainer .post-container {
	position: relative;
	top: 50%;
    translate: 0 -50%;
	max-height: 100%;
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;

	border: 0px solid gray;
	background-color: rgba(16, 16, 16, 0.3);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	min-height: 100px;
}

@media (max-width: 770px) {
	#sidePostContainer .post-container {
		background-color: rgba(16, 16, 16, 0.6);
	}
}


#sidePostContainer #postContent {
	overflow: auto;
	height: 100%;
	padding-bottom: 30px;

	/* IE and Edge: */
	-ms-overflow-style: none;
	/* Firefox: */
	scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera: */
#sidePostContainer #postContent::-webkit-scrollbar {
	display: none;
}

#sidePostContainer .post-container:before {
	content: '';
	width: 100%;
	height: 30px;
	position: absolute;
	display: block;
	left: 0;
	bottom: 0;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(transparent, var(--backColor));
}






#sidePostContainer .close-button {
	position: absolute;
	top: 91px;
	right: 31px;
	width: 32px;
	height: 32px;
	transform: translate(50%, -50%);
	font-size: 20px;
	background-color: #111;
	z-index: 21;
	text-align: center;
	vertical-align: center;
	background: radial-gradient(var(--backColor) 25%, transparent 70%);

	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 1050px) {
	#sidePostContainer .close-button {
		display: none
	}
}

#sidePostContainer .close-button button {
	background-color: transparent;
	color: gray;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
}


#sidePostContainer .close-button:hover button {
	color: whitesmoke;
}



/* Loading */
#loading-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	color: whitesmoke;
	user-select: none;
	opacity: 1;
	font-size: 1.4em;
	top: 0;
	transition: all 0.5s ease;
	position: fixed;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	z-index: 99;
	background-color: var(--backColor);
}

#loading-screen.hidden {
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
}

/* Full Screen */
#toggleExpandButton {
	/*display:none;*/
	cursor: pointer;
	background-color: transparent;
	border: none;
	font-size: 1em;
	margin-bottom: 15px;
	vertical-align: text-bottom;
	margin-left: 20px;
}

#toggleExpandButton:hover .icon {
	color: whitesmoke;
}

body.fullscreen #toggleExpandButton .fa-expand,
#toggleExpandButton .fa-compress {
	display: none;
}

#toggleExpandButton .fa-expand,
body.fullscreen #toggleExpandButton .fa-compress {
	display: inherit;
}


/* Info */
#infoIconContainer {
	display: none;
}

#infoContainer {
	position: fixed;
	width: 80vw;
	height: 80vh;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
}

#infoContainer.hidden {
	display: none;
}

#infoIconContainer {
	position: fixed;
	right: 10px;
	top: 10px;
	color: #777;
	font-size: 1.3em;
	z-index: 1;
}

#infoIconContainer:hover {
	color: whitesmoke;

}



/* Search */
#search-container {
	position: fixed;
	display: inline-block;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	top: 10px;
	left: 10px;
	font-family: 'IBM Plex Mono', monospace;
	font-size: 1em;
	transition: left 0.5s ease;
}

#search-container.hidden {
	left: -172px;
	transition: left 0.5s ease;
}

.input-with-autocomplete {
	display: inline-block;
	position: relative;
}

.input-box {
	display: inline-block;
	vertical-align: top;
	position: relative;
	width: 150px;
	white-space: nowrap;
	overflow: hidden;
	border: 1px solid transparent;
	border-bottom: solid 1px #ddd;
	padding: 10px;
	/*font-size: 16px;*/
	cursor: text;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.input-box:focus {
	outline-style: solid;
	outline-color: #ddd;
	outline-width: 0;
}

#search-icon {
	display: inline;
	color: #777;
	vertical-align: middle;
	font-size: 1.3rem;
	margin-left: 20px;
}

#search-icon:hover {
	color: whitesmoke;
	cursor: pointer;
}

span.autocomplete {
	display: inline-block;
	color: #969696;
	cursor: text;
	width: 300px;
	white-space: pre;
}

.autocomplete-items {
	position: absolute;
	/*border: 1px solid #d4d4d4;*/
	border-bottom: none;
	border-top: none;
	z-index: 20;
	left: 0;
	right: 0;
	backdrop-filter: blur(4px);
}

.autocomplete-items div:nth-child(1) {
	opacity: 0.9
}

.autocomplete-items div:nth-child(2) {
	opacity: 0.75
}

.autocomplete-items div:nth-child(3) {
	opacity: 0.6
}

.autocomplete-items div:nth-child(4) {
	opacity: 0.45
}

.autocomplete-items div:nth-child(5) {
	opacity: 0.30
}

.autocomplete-items div:nth-child(6) {
	opacity: 0.15
}


.autocomplete-items div {
	padding: 10px;
	cursor: pointer;
	background-color: transparent;
	overflow: visible;
	white-space: nowrap;
	/*border-bottom: 1px solid #d4d4d4;*/
}

.autocomplete-items div:hover {
	/*when hovering an item:*/
	/*background-color: #333;*/
	margin-left: 20px;
}

.autocomplete-active {
	/*when navigating through the items using the arrow keys:*/
	/*background-color: DodgerBlue !important;*/
	color: whitesmoke
}

.autocomplete-active::after {
	content: ' <';
}

.autocomplete-active::before {
	content: '> ';
}

.suggest-fragment {
	font-weight: bold;
}

.suggest-rest {
	color: inherit
}




/* Legend */
.legend-item {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
}

.legend-item .arrow {
	width: 20px;
	height: 2px;
	margin-right: 5px;
}

#legendContainer {
	z-index: 1;
	position: fixed;
	bottom: 0;
	left: 0;
	display: flex;
	max-width: 98vw;
}

.hidden#legendContainer {
	bottom: -250px;
}

#legendNetworkContainer {
	height: 100%;
	width: 400px;
	height: 220px;
	margin-left: -140px;
	border: white 0.5px;
	border-top-style: solid;
	border-right-style: solid;
	background-color: rgb(16, 16, 16, 0.5);
	user-select: none;
	backdrop-filter: blur(2px);
}

.toggle-legend-button {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: auto;
	margin-bottom: 20px;
	background-color: transparent;
	color: #777;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	transition: color 0.2s ease;
}

.hidden .toggle-legend-button {
	position: fixed;
	bottom: 0;
	left: 20px;
}

.toggle-legend-button:hover {
	color: whitesmoke;
}

.toggle-legend-button:focus {
	outline: none;
}

.toggle-legend-button::after {
	content: 'Ocultar leyenda';
}

.hidden .toggle-legend-button::after {
	content: 'Leyenda';
}



/* Suggestion Form*/
.suggestionForm {
	max-width: 400px;
	margin: 0 auto;
	padding: 20px;
	padding-bottom: 10px;
	/*background-color: #333;*/
	border-radius: 5px;
}

#suggestionForm label {
	user-select: none;
}

form input[type="text"],
form select,
form textarea {
	max-width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: none;
	border-radius: 3px;
	background-color: #222;
	margin-right: 2px;
	margin-left: 2px;
	color: inherit;
}

form input[type="text"] {
	width: 110px;
	font-family: 'IBM Plex Mono';
}

form input:focus,
form textarea:focus,
form select:focus {
	outline-style: solid;
	outline-color: #666;
}

form select {
	font-family: 'IBM Plex Sans';
	appearance: none;
	background-image: linear-gradient(to bottom, #111, #222), url('data:image/svg+xml;charset=utf-8,%3Csvg xmlns%3D"http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox%3D"0 0 32 32" fill%3D"%23fff"%3E%3Cpath d%3D"M5.172 11.172l1.414-1.414L16 18.586l9.414-9.414 1.414 1.414L16 21.414z"%3E%3C%2Fpath%3E%3C%2Fsvg%3E');
	text-align: center;
	background-repeat: no-repeat;
	/*background-position: right 10px center;*/
	background-size: 100%;
	font-weight: bold;
}


form textarea {
	resize: none;
	min-height: 50px;
	width: 100%;
	width: -webkit-fill-available;
}

form input[type="submit"] {
	display: block;
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 3px;
	background-color: #555;
	color: #ddd;
	cursor: pointer;
}

#description-container {
	display: block
}

#description-container label {
	opacity: 0.6;

}

#suggestion-intro {
	display: block;
	margin-bottom: 10px;
	margin-left: 2px;
}

#successMessage {
	background-color: #222;
	color: whitesmoke;
	text-align: center;
	padding: 10px;
	margin-top: 10px;
	border-radius: 3px;
	user-select: none;
}


.checkbox-label {
	display: grid;
	grid-template-columns: 1em auto;
	gap: 0.5em;
	font-size: 0.8em;
	margin-top: 10px;
	color: #969696;
	align-items: end;
	justify-content: end;
}

input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	background-color: #111;
	margin: 0;
	font: inherit;
	color: currentColor;
	width: 1.15em;
	height: 1.15em;
	border: 0.15em solid currentColor;
	border-radius: 0.15em;
	transform: translateY(-0.075em);
	display: grid;
	place-content: center;
}

input[type="checkbox"]:focus {
	outline: none;
}

input[type="checkbox"]::before {
	content: "";
	width: 0.5em;
	height: 0.5em;
	transform: scale(0);
	/*transition: 60ms transform ease-in-out;*/
	box-shadow: inset 1em 1em currentColor;
}

input[type="checkbox"]:checked::before {
	transform: scale(1);
}

/* Animations */
@keyframes wiggle {
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}

	10% {
		transform: translate(-1px, -2px);
	}

	20% {
		transform: translate(-3px, 0px);
	}

	30% {
		transform: translate(3px, 2px);
	}

	40% {
		transform: translate(1px, -1px);
	}

	50% {
		transform: translate(-1px, 2px);
	}

	60% {
		transform: translate(-3px, 1px);
	}

	70% {
		transform: translate(3px, 1px);
	}

	80% {
		transform: translate(-1px, -1px);
	}

	90% {
		transform: translate(1px, 2px) rotate(0deg);
	}

	100% {
		transform: translate(1px, -2px);
	}
}


/* Lightbox */
.gcontainer .gclose.gbtn {
	filter: drop-shadow(0px 0px 2.5px #111);
}

/* Copied to clipboard notice */
#copiedSuccesfullyBox.hidden {
	opacity: 0;
	display: block;
	transition: all 1s ease;
}

#copiedSuccesfullyBox {
	opacity: 1;
	position: fixed;
	bottom: 30px;
	right: 30px;
	pointer-events: none;
	border: whitesmoke;
	border-style: solid;
	border-width: 0.1px;
	padding: 15px;
	transition: opacity 1s ease;
	z-index: 21;
    background-color: var(--backColor);
}

#copiedSuccesfullyBox p {
	margin: 0;
}



/*Languages */
html:lang(en) span:lang(es):not([hreflang="es"]), html:lang(es) span:lang(en):not([hreflang="en"]) {
    display:none;
}