
/* Global tags */

body{
	background-color: #F7F7F7;
}

/* Overwriter bootstrap 4 */

.form-control:focus {
    color: #495057;
    background-color: #fff;
    outline: 0;
}

.bg-primary{
	background-color: var(--color-primary) !important;
}

.panel-heading h3{
	font-size: 1rem;
}

.hidden {
	display: none !important;
}

.hide {
	display: none !important;
}
/* .show {
	display: block !important;
} */

.table td, .table th{
	padding: .5rem;
}

.list-group-item.active{
	color: #004085;
    background-color: #cce5ff;
    border-color: rgba(0,0,0,.125);
}

.list-group-item.list-group-item-info{
	color: #856404;
    background-color: #fff3cd;
    border-color: rgba(0,0,0,.125);
}

.list-group-item-success.active{
	color: #155724;
    background-color: #d4edda;
    border-color: rgba(0,0,0,.125);
}

/* Styles */

#HeaderStartWithoutLogin{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2rem;
	min-height: 100vh;

	width: 28%;
	/* border-radius: 0 2rem 2rem 0; */
	-webkit-box-shadow: 0px 3px 6px 0px #919191;
	        box-shadow: 0px 3px 6px 0px #919191;
	z-index: 1;
}

@media (max-width: 1200px){
	#HeaderStartWithoutLogin{
		width: 40%;
		-webkit-box-flex: 0;
		    -ms-flex: 0 0 40%;
		        flex: 0 0 40%;
	}
}

@media (max-width: 769px){
	#HeaderStartWithoutLogin{
		width: 100%;
		-webkit-box-ordinal-group: 3;
		    -ms-flex-order: 2;
		        order: 2;
		border-radius: 0;
		min-height: auto;
		padding: 2rem 1rem;
	}
}

#HeaderStartWithoutLogin .title_LogoEcomitia{
	color: #fff;
	font-weight: bold;
	text-decoration: none !important;
	opacity: .8;
}

#HeaderStartWithoutLogin .title_LogoEcomitia h3{
	font-size: 1.2rem;
}
@media (max-width: 769px){
	#HeaderStartWithoutLogin .title_LogoEcomitia h3{
		text-align: center;
	}
}

#HeaderStartWithoutLogin .title_LogoAres{
	width: 10rem;
    display: block;
    margin-bottom: 1.5rem;
	opacity: .8;
}

#HeaderStartWithoutLogin .title_LogoAres img{
	width: 100%;
}

#HeaderStartWithoutLogin .textMain h3{
	font-size: 2rem;
	position: relative;
	padding-bottom: 2rem;
	color: #fff;
	margin: 0;
}

@media (max-width: 769px){
	#HeaderStartWithoutLogin .textMain h3{
		font-size: 1.5rem;
		padding-bottom: 1rem;
		text-align: center;
		margin-top: 1rem;
	}
}

#HeaderStartWithoutLogin .textMain h3:after{
	content: '';
	width: 50%;
	height: 1px;
	background-color: #fff;
	position: absolute;
	top: 100%;
	left: 0;
}

@media (max-width: 769px){
	#HeaderStartWithoutLogin .textMain h3:after{
		content: '';
		right: 0;
		margin: 0 auto;
	}	
}

#HeaderStartWithoutLogin .textMain p{
	font-size: .9rem;
	position: relative;
	padding-top: 2rem;
	color: #fff;
	font-weight: 500;
	opacity: .7;
}

@media (max-width: 769px){
	#HeaderStartWithoutLogin .textMain p{
		margin-bottom: 2rem;
	}	
}

#HeaderStartWithoutLogin .list-footer-ares{
	margin-bottom: 0;
	opacity: .7;
}

#HeaderStartWithoutLogin .list-footer-ares a{
	font-size: .9rem;
	color: #fff;
}

#ContainerGeneral{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
    height: 100%;
}

@media (max-width: 769px){
	#ContainerGeneral{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
}

/* Right */

#votacion-wrapper{
	-webkit-box-shadow: none;
	        box-shadow: none;
	margin-bottom: 5rem;
	min-height: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

@media (max-width: 1200px){
	#votacion-wrapper{
		width: 90%;
	}
}

@media (max-width: 769px){
	#votacion-wrapper{
		width: 100%;
	}
}

#votacion-wrapper .nav-tabs .nav-link{
	color: #495057;
}

@media (max-width: 400px){
	#votacion-wrapper .nav-tabs .nav-link{
		font-size: 0.85rem;
	}
}


#contenedor{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	background-color: #F7F7F7;
}

#divaccesoclave form,
#divaccesocertificado form{
	background-color: #fff;
	border: 1px solid #ddd;
	border-top: 0;
	padding: 2rem;
	-webkit-box-shadow: 0px 3px 6px 0px #e8e8e8;
	        box-shadow: 0px 3px 6px 0px #e8e8e8;
}

@media (max-width: 769px){
	#divaccesoclave form,
	#divaccesocertificado form{
		padding: 1rem;
	}
}

.page-header{
	margin-bottom: 5rem;
	padding-bottom: 3rem;
    border-bottom: 1px solid #bababa;
	max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

#logo-main-votacion,
#logo-main-votacion-movil{
	margin: auto;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}

.pestanas{
	background-color: transparent;
	border: 0;
	padding: 0;
}

/* Tab idioma */

.container-seleccion_idioma{
	box-shadow: 0px 3px 6px 0px #d8d8d8;
	position: absolute;
	top: 0;
	z-index: 1;
	right: 0;
}



.seleccion_idioma{
	border: 0;
}

.seleccion_idioma:before, #nav_idioma:before {
    content: " ";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: -2px;
    z-index: 1;
    background-size: contain;
    border-left: 1px solid rgb(0,0,0,0.2);
    -webkit-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
            transform-origin: bottom left;
    -ms-transform: skew(50deg,0deg);
    -webkit-transform: skew(
50deg,
0deg);
    transform: skew(
50deg,
0deg);
    -webkit-box-shadow: -5px 0px 13px -10px rgb(0 0 0 / 75%);
    box-shadow: -5px 0px 13px -10px rgb(0 0 0 / 75%);
}

.seleccion_idioma strong{
	z-index: 11;
    position: relative;
	padding-right: 8px;
}

/* .seleccion_idioma strong:after{
	content: '';
	width: 1px;
	height: 100%;
	position: absolute;
	background-color: #fff;
	right: 0;
	top: 0;
} */

.container-seleccion_idioma a:nth-child(2){

}

.container-seleccion_idioma a:nth-child(2):after{
	content: '';
	width: 1px;
	height: 70%;
	position: absolute;
	background-color: #fff !important;
    left: 0;
	top: 15%;
	opacity: .7;
}

/* Seleccion idioma con autenticacion */

#dropdown_nav_idioma{
	position: absolute;
	top: 0;
}

#dropdown_nav_idioma button{
	padding: .3rem;
	font-size: .8rem;
}

#dropdown_nav_idioma button:before{
	content: " ";
	z-index: -1;
}

#dropdown_nav_idioma button:active,
#dropdown_nav_idioma button:focus{
	-webkit-box-shadow: none;
	        box-shadow: none;
}

#dropdown_nav_idioma .dropdown-menu{
	background-color: #fff;
}

/* Idioma dropdown con autenticacion */

.Container-Authenticated #dropdown_nav_idioma{
	position: absolute;
	right: 0.4rem;
}


.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover{
	-webkit-box-shadow: none;
	        box-shadow: none;
}

.card-info-index{
	background: #FFF6EE;
    border: 1px solid #FFBA6B;
	font-size: .9rem;
}

/* Headder con Login */

#HeaderStartWithLogin{
	/* height: 4rem; */
	-webkit-box-shadow: 0px 2px 3px 0px #d5d5d5;
	        box-shadow: 0px 2px 3px 0px #d5d5d5;
	width: 100%;
	z-index: 1;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: .7rem 1.5rem;
	background-color: #fff;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	/* padding-top: 1.3rem; */
}

@media (max-width: 1200px){
	#HeaderStartWithLogin{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		height: auto;
		-webkit-box-shadow: none;
		        box-shadow: none;
		padding: 1rem .8rem;
	}

	#HeaderStartWithLogin > div:nth-child(1){
		/* order: 2; */
	}
}

#HeaderStartWithLogin #logo-main-votacion{
	margin: 0;
	margin-right: 2rem;
}

@media (max-width: 1200px){
	#HeaderStartWithLogin #logo-main-votacion{
		margin: 0;
		margin-right: 1rem;
	}
}

#HeaderStartWithLogin h3,
#HeaderStartWithLogin h2{
	border: 0;
	font-size: 1rem;
	margin: 0 !important;
    padding: 0 !important;
	text-align: left !important;
	width: auto;
	color: var(--color-primary) !important;
	color: #000 !important;
}

@media (max-width: 1200px){
	#HeaderStartWithLogin h3{
		/* width: 100% !important;
		margin-top: 1.4rem !important; */
	}
}

@media (max-width: 768px){
	#HeaderStartWithLogin h3,
	#HeaderStartWithLogin h2{
		width: 100% !important;
		text-align: center !important;
		margin-top: 1rem !important;
	}
}

#HeaderStartWithLogin h3 p{
	font-size: 1.2rem;
	margin-bottom: 0;
}

@media (max-width: 1200px){
	#HeaderStartWithLogin h3 p{
		/* font-size: 1rem; */
	}
}

@media (max-width: 768px){
	#HeaderStartWithLogin h3 p{
		font-size: 1rem;
	}
}


/* Container authenticated */

.Container-Authenticated #contenedor{
	max-width: 100%;
}

.Container-Authenticated #votacion-wrapper{
	padding: 0 !important;
	width: 100%;
}

.Container-Authenticated #votacion-wrapper > .container-fluid{
	padding: 0 !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	min-height: 100% !important;
}

@media (max-width: 1200px){
	.Container-Authenticated #votacion-wrapper > .container-fluid{
		display: block;
	}
}

#pills-tab{
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	position: relative;
	background-color: #fff;
	-webkit-box-shadow: 0px 2px 3px 0px #d5d5d5;
	        box-shadow: 0px 2px 3px 0px #d5d5d5;
}

@media (max-width: 1200px){
	#pills-tab{
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		    -ms-flex-direction: row;
		        flex-direction: row;
		-webkit-box-pack: left;
		    -ms-flex-pack: left;
		        justify-content: left;
		padding-top: 1rem;
		background: #fff;
		
		padding-top: 0;
		padding-left: 1em;
		padding-right: 1em;
		-webkit-box-shadow: none;
		        box-shadow: none;
	}
}


#pills-tab a{
	padding: 1rem;
	font-weight: bold;
	background-color: transparent !important;
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
	/*color: inherit !important;*/
	color: #333;
	border-radius: 0;

	border-right: 7px solid transparent;
	white-space: nowrap;
}

@media (max-width: 1200px){

	#pills-tab a{
		border-radius: .3rem .3rem 0 0;
		padding: .8rem;
	}
}

@media (max-width: 769px){

	#pills-tab a{
		border-right: 0;
		/* border-bottom: 7px solid transparent; */
		padding: .5rem .4rem;
		font-size: .8rem;
	}
}

@media (max-width: 320px){

	#pills-tab a{
		border-right: 0;
		/* border-bottom: 7px solid transparent; */
		padding: .3rem;
		font-size: 12px;
	}
}
#pills-tab a.active{
	-webkit-box-shadow: none !important;
	        box-shadow: none !important;
}

@media (max-width: 1200px){
	
	#pills-tab a.active{
		background-color: #f7f7f7 !important;
		/* border-left: 0; */
		border-bottom: 0;
		bottom: -1px;
		position: relative;
	}
}

/* Menu left */

#pills-tab{
	width: 200px;
}

@media (max-width: 1200px){
	
	#pills-tab{
		width: auto;
	}
}

@media (max-width: 1200px){
	
	#tab-salir{
		margin-left: auto;
	}
	
	#tab-salir a{
		padding-left: 0;
		padding-right: 0;
	}
}



/* STREAMING */

iframe{
	left: 15px !important;
    width: calc(100% - 30px) !important;
}

#div_streaming_container{
	height: calc(100vh - 11rem) !important;
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

@media (max-width: 769px){
	
	#div_streaming_container{
		-webkit-box-flex: 1;
		    -ms-flex: auto;
		        flex: auto;
	}
}

@media (max-width: 1200px){
	
	#div_streaming_container{
		height: auto !important;
	}
}

#divStreaming{
	height: 100%;
    width: 100%;
    max-width: 100%;
	padding-right: 15px;
    padding-left: 15px;
}

@media (max-width: 769px){
	
	#divStreaming{
		height: auto;
	}
}

#divChat{
	/* padding: 0 !important; */
}

#contentChat{
	padding: 1rem;
	background-color: #fff;
	border: 1px solid #C6D1DA;
	position: relative;
}

#contentChat h2{
	font-size: 1.2rem;
}

#chat-area{
	font-size: 0.9rem;
}

@media (max-width: 1200px){
	#chat-wrap {
		height: 200px;
	}
}

/* Votaciones */

#div_votaciones_contenido{
	font-size: 1rem;
}

#div_votaciones_contenido .list-group{
	margin-bottom: 1.4rem;
}

#div_votacion{
	font-size: 1rem;
    padding: 1.5rem;
    background: #fff;
	-webkit-box-shadow: 0px 2px 3px 0px #d5d5d5;
	        box-shadow: 0px 2px 3px 0px #d5d5d5;
	border: 1px solid #ddd;
}

@media (max-width: 768px){
	#div_votacion {
		padding: .8rem;
	}
}

#divseleccionadovotacion{
	font-size: 1rem;
}

#divseleccionadovotacion .list-group{
	margin-bottom: 1.2rem;
}

#divseleccionadovotacion .alert{
	margin-bottom: .5rem;
}

#div_votaciones_contenido .modal-header{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#div_votaciones_contenido .modal-header button{
	-webkit-box-ordinal-group: 3;
	    -ms-flex-order: 2;
	        order: 2;
}

@media (min-width: 992px) {
	#div_votaciones_contenido .modal-dialog {
	  max-width: 800px;
	}
}
  
  @media (min-width: 1200px) {
	#div_votaciones_contenido .modal-dialog{
	  max-width: 1140px;
	}
}

#formseleccionado .alert-secondary{
	background-color: #fff !important;
}

#container-loading{
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0%;
	top: 0%;
	z-index: 20;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

#container-loading .spinner-grow{
	width: 4rem;
    height: 4rem;
}

/* Footer en el Menu */

#FooterSecondaryMenu{
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    text-align: center;
}

#FooterSecondaryMenu a{
	width: 100%;
    padding: 0;
}

#FooterSecondaryMenu a img{
	width: 100%;
	margin-bottom: 1rem;
}

#FooterSecondaryMenu .list-inline-item a{
    font-weight: 500;
    /* text-decoration: underline; */
    margin: .2rem 0;
    display: inline-block;
}

#FooterSecondaryMenu .list-inline-item{
	margin: 0%;
}

/* Footer Secondary Inner */

#FooterSecondaryInner{
	background-color: #313131;
    padding: 1rem;	
	/* border-top: 1px solid #7a7072; */
	text-align: center;
    font-size: 0.8rem;
	padding-top: 1.5rem;
}

#FooterSecondaryInner img{
	max-width: 200px;
	margin-bottom: 1.3rem;
}

#FooterSecondaryInner .list-inline-item a{
    font-weight: 500;
    /* text-decoration: underline; */
    margin: .4rem .7rem;
    display: inline-block;
	color: #fff;
	opacity: .7;
}

#FooterSecondaryInner .list-inline-item{
	margin: 0%;
}

/* Corrigiendo altura */

#contenedor{
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

#votacion-wrapper{
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

@media (max-width: 1200px){
	.Container-Authenticated #votacion-wrapper > .container-fluid {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
}

#panel-content-main{
	-webkit-box-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}

#votacion-wrapper{
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.Container-Authenticated #votacion-wrapper{
	-webkit-box-align: normal;
	    -ms-flex-align: normal;
	        align-items: normal;
}

#title-votacion{
	color:#4f4f4f;
	width: 85%;
}

@media (max-width: 768px){
	#title-votacion{
		font-size: 1.3rem;
	}
}

