*,
*::before,
*::after {
  box-sizing: border-box;
  position: relative;
}

.textRun{
	margin-left: 10%;
}

:root {
  --color-tan: #C1B9A8;
  --color-green: #4F735B;
  --color-gold: #AC8B12;
  --color-purple: #8D7576;
  --color-red: #A63C30;
  --nav-item-offset: 4.5vh;
  --nav-item-hover-offset: 2%;
  --easing: cubic-bezier(.8, 0, .2, 1);
  --duration: .6s;
  --radius-aba: 2vh;
  font-family: Calibri, sans-serif;
  font-size: 2.2vh;
}
.barra-topo {
	display:flex;
	height: 10vh;
	width: 10vh;
}

.frame-dash {
	position:absolute;
	width:100%;
	height:100%;
	border:0;
	opacity:0;
	transition: opacity .3s
}

.titulo{
	font-size: 120%;
	padding: 2vh;
    margin: 0vh;
	color: #FFF
}

.tela {
    height: 100%;
    aspect-ratio: 16/9;
    margin: auto;
	display: flex;
    flex-direction: column;
	background-image: url(/imgs/fundo_vazio.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.content{
	z-index: inherit;
	width:100%;
	height:100%;
	padding: 4vh;
	display:flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	align-content: center;
}

.dash {
	width: 45%;
    height: 45%;
	display:flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
    flex-direction: column;
	padding:1.5vh;
}

.menu-icon {
	display: flex;
    height: 100%;
    margin-left: 2vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    cursor: pointer;
}

.menu-icon div {
	width: 5vh;
    max-width: 5vh;
    height: 10%;
    background-color: #FFF;
    margin-bottom: 20%;
    border-radius: 1vh;
    box-shadow: 0.1vh 0.1vh 0.1vh 0.1vh #00000080;
}
.menu-icon div:last-child {
    margin-bottom: 0vh;
}


.img-dash:hover {
	box-shadow: 0.2vh 0.2vh 0.8vh -0.1vh #000;
    transform: translate(-0.2vh, -0.2vh);
}

.dash > a, img{
	max-width: 100%;
    max-height: 100%;
	transition: .2s;
}
.dash > p {
	margin:0.1vh;
}

.bar-navigation {
	height: 100%;
	width: 100%;
	display: grid;
	grid-template-rows: 100%;
	overflow: hidden;
	pointer-events: none;
}

.abas {
	z-index: calc(var(--total) + 1);
	cursor: pointer;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	text-align: center;
	height: 35%;
	width: 4vh;
	font-size: 3vh;
	background-color: #0547AF;
	border-radius: var(--radius-aba) 0 0 var(--radius-aba);
	color: #FFF;
    position: absolute;
    right: 0;
    margin: 0;
    top: 50%;
    transform: translate(0, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

body {
  display: flex;
  justify-content: center;
  align-items: left;
  flex-direction: column;
  background-color:#f0f3f6;
}

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.nav-list,
.nav-item {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.nav-list {
  grid-row: 1/-1;
  display: grid;
  height: 100%;
  counter-reset: list;
}

.nav-item {
  box-shadow: 0vh 0 3.5vh 0vh #000;
  border-radius: 0vh var(--radius-aba) var(--radius-aba) 0vh; 
  --tx: calc(-100% + var(--nav-item-offset) + var(--radius-aba));
  display: flex;
  align-items: center;
  grid-template-columns: 1fr 20% auto;
  position: absolute;
  height: 100%;
  width: calc(100% - (var(--total) - 1) * var(--nav-item-offset) - 5%);
  transition: transform var(--duration) var(--easing);
  margin-left: calc(var(--i) * var(--nav-item-offset));
  overflow: hidden;
  transform: translateX(var(--tx));
  z-index: calc(var(--total) - var(--i));
  pointer-events: all;
}

.nav-item:last-child {
	box-shadow: 0vh 1vh 1vh 0vh #000
}
.nav-item.selected {
  transform: translateX(0vh);
  outline: none;
}
.nav-item.selected ~ .nav-item{
	transform: none;
}
.nav-item.hide {
	transform: translateX(calc(-100% - var(--total) * var(--nav-item-offset)));
}
.nav-item:focus {
  outline: none;
}
/*
.nav-item:hover:not(:focus):after {
  transform: none;
}
.nav-item:focus {
  transform: translateX(-2vh);
  outline: none;
}
.nav-item:focus ~ .nav-item {
  transform: none;
}
.nav-item:focus-within {
  //transform: translateX(-2vh);
}
.nav-item:focus-within ~ .nav-item {
  transform: none;
}
*/
.nav-item:before {
  counter-increment: list;
  //content: counter(list) ".";
  display: block;
  grid-column: 3/4;
  text-align: right;
  font-size: 8vmin;
  padding: 1vh;
  padding-top: 10vh;
  mix-blend-mode: soft-light;
  z-index: 1;
  -webkit-animation: inherit;
          animation: inherit;
  -webkit-animation-name: slide-up;
          animation-name: slide-up;
}

.nav-item:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 1vh;
  width: 100%;
  height: 100%;
  background-color: #FFF;//var(--color);
  //transform: translateX(-1vh);
  transition: transform var(--easing) var(--duration);
}

.loader {
  position:absolute;
  top:50%;
  left: 45%;
  border: 1vh solid #f3f3f3;
  border-radius: 50%;
  border-top: 1vh solid #0547AF;
  width: 10vh;
  height: 10vh;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin .7s linear infinite;
  transform: translate(0, -50%);
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.disp-none {
	display:none;
}


/*MODAL*/
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99; /* Sit on top */
  padding-top: 10vh; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: var(--radius-aba);
	border: 0.1vh solid #888;
	width: fit-content;
	text-align: center;
	height: 80vh;
	
}


.img-modal {
	height: 80vh;
    align-items: center;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.img-ajuda {
	display: flex;
	align-items: center;
	cursor: pointer;
	position: absolute;
	justify-content: center;
	align-content: center;
	flex-wrap: nowrap;
	right: 1.8vh;
	bottom: 1vh;
}
