

#f_index {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.fields {
	/*background: white;*/
	/*border: 10px solid #FF6D05;*/
}

.fields label {
	display: none;
}

.fields li {
	padding: 0px 20px;
    margin: 20px 0px;
}

.fields input {
	background: transparent;
    border: none;

    -moz-transition: -moz-box-shadow .7s ease-in-out .2s;
    -o-transition: -o-box-shadow .7s ease-in-out .2s;
    -webkit-transition: -webkit-box-shadow .7s ease-in-out .2s;
    transition: box-shadow .7s ease-in-out .2s;

    color: #0061A0;
}

.fields input:focus {
    -moz-box-shadow: 0 0 0.1em #E9E6E6, 0 0.8em .7em #F8F8F8 inset;
    -webkit-box-shadow: 0 0 0.1em #E9E6E6, 0 0.8em .7em #F8F8F8 inset;
    box-shadow: 0 0 0.1em #E9E6E6, 0 0.8em .7em #F8F8F8 inset;
}

.required_notification, #li_pass {
	display: none;
}

#welcome {
	text-align: center;
	padding: 20px 40px;
	/*20181031 PJHO*/
	/*display: none;*/
	/*background: white;*/
	/*border: 10px solid #FF6D05;*/
}

#a_pass {
	text-decoration: none;
	color: #7F7F7F;
	font-weight: bold;
	font-size: 0.9rem;
}

#a_pass:hover {
	color: #000000;
}

#a_password {
	position: relative;
	top: 20px;
	font-size: .7rem;
}

#contrasena, #usuario {
	text-align: center;
	text-transform: uppercase;
	font-size: 1.2rem;

	padding: 5px 10px;
	border: 1px solid white;
	border-bottom: 1px solid black;
}

#d_error {
	margin-top: 20px;
}

@media all and (min-height: 600px) and (min-width: 750px)   {
	
	.fields li {
		padding: 0px 100px;
	    margin: 50px 0px;
	}

	#welcome {
		padding: 40px 100px;
		margin-top: 0px;
	}
}


/*.c_index_login*/
.c_index_login {
	width: 100%;
	height: calc(100%);
	/*height: 100%;*/
	background: white url("../img/backgrounds/bg_maps.jpg")  50% 50%/cover no-repeat fixed;
    /*background-size: 100% 100%;*/
    padding-top: 5%;
}

/*b2b*/
#bg_b2b, #bg_maps, .c_index_login {
	background: white url("../img/backgrounds/bg_b2b.jpg")  50% 50%/cover no-repeat fixed;
}

/*maps*/
#bg_maps {
    background: white url("../img/backgrounds/bg_maps.jpg")  50% 50%/cover no-repeat fixed;
}

#bg_musa {
    background: white url("../img/backgrounds/bg_musa.jpg")  50% 50%/cover no-repeat fixed;
}

#bg_b2b #f_index,
#bg_maps #f_index,
.c_index_login #f_index,
.c_index_password #f_index {
	width: 300px;
	/*height: 250px;*/
	background: white;
	margin: auto;
	box-shadow: 1px 1px 10px 1px grey;
}

div.ui-panel-wrapper { 
	background: white!important;
}


@media all and (min-width: 500px) {
	.c_index_login #f_index {
		width: 500px!important;	
	}	
}

#bg_b2b #f_index ul.fields,
#bg_maps #f_index ul.fields,
.c_index_login #f_index ul.fields {
	background-color: #F1F1F1;
	width: calc(100% - 40px);
	padding: 10px 20px 10px 20px;
}

#bg_b2b #f_index ul.fields li,
#bg_maps #f_index ul.fields li,
.c_index_login #f_index ul.fields li {
	padding: 0px;
	margin: 0px;
}

#bg_b2b #f_index ul.fields input,
#bg_maps #f_index ul.fields input,
.c_index_login #f_index ul.fields input {
	font-size: .8rem;
	width: 40%;
	display: inline-block;
	float: left!important;
	margin: 20px;
	background: white;
	text-align: left;
	text-transform: none;
	border: 1px solid #BFBFBF !important;
	border-radius: 3px;
}

#bg_b2b #f_index ul.fields input:focus,
#bg_maps #f_index ul.fields input:focus,
.c_index_login #f_index ul.fields input:focus {
	border: 1px solid #0061ad !important;
}

#bg_b2b #f_index #flogo,
#bg_maps #f_index #flogo,
.c_index_login #f_index #flogo {
	height: 100px;
	line-height: 100px;
}

#bg_b2b #f_index #flogo img,
#bg_maps #f_index #flogo img,
.c_index_login #f_index #flogo img {
	width: 250px;
	vertical-align: middle;
}

#bg_b2b #f_index button,
#bg_maps #f_index button,
.c_index_login #f_index button {
	float: right!important;
	font-size: .8rem;
	width: 150px;
	color: #fff;
    background-color: #0061ad;
    font-weight: normal;
    /*text-transform: uppercase;*/
    transition: all 0.5s ease;
    margin-top: 17px;
}

#bg_b2b #f_index button:hover,
#bg_maps #f_index button:hover,
.c_index_login #f_index button:hover {
	background-color: #5D5C5C;
}


/*
#f_index {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: space-around;
    -ms-flex-line-pack: distribute;
    align-content: space-around;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
*/


/* MENÚ */

.a_modulos {
	border: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: none;
	padding: 25px 80px;
	display: inline-block;
	
	margin: 0px 30px;
	margin-bottom: 30px;

	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 700;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	text-decoration: none;
	/*min-width: 2rem;*/
	
	background-color: #FF9B29;
	color: #fff!important;
	
	padding: 1.5em 3.5em 1.5em 7em;
	
	-moz-border-radius: 0.5em 0.3em 0.3em 0.5em;
    -webkit-border-radius: 0.5em 0.3em 0.3em 0.5em;
    border-radius: 0.5em 0.3em 0.3em 0.5em;

    min-width: 250px;
}

.a_modulos:after {
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	
	width: 20px;
	height: 20px;
	background: #fff;
	z-index: 1;
	left: 55px;
	top: 50%;
	margin: -10px 0 0 -10px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.a_modulos:before {
	
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	position: relative;
	-webkit-font-smoothing: antialiased;
	
	position: absolute;
	height: 100%;
	left: 0;
	top: 0;
	line-height: 3;
	font-size: 140%;
	width: 2.8em;
	
	background: #fff;
	z-index: 1;
	
	-moz-border-radius: 0.3em 0em 0em 0.3em;
    -webkit-border-radius: 0.3em 0em 0em 0.3em;
    border-radius: 0.3em 0em 0em 0.3em;

    content: " ";
}

form nav img {
	display: none;
}

form nav svg {
	position: absolute;
	left: 20px;
	z-index: 2;
	top: 20px;
	width: 1.6em;
    height: 1.6em;
    fill: #FF9B29;
}


.a_modulos:hover {
	background: #E18E20;
}

.a_modulos:active {
	background: #D76A15;
}

.a_modulos:hover svg {
	fill: #E18E20;
}

.a_modulos:active svg {
	fill: #D76A15;
}

.a_modulos:hover:before {
	color: #00ACF5;
}

.a_modulos:active:before {
	color: #277CA4;
}

.a_modulos:active:after {
	left: 60px;
}

#f_index nav {
	text-align: center;
	
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: space-around;
    -ms-flex-line-pack: distribute;
    align-content: space-around;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

nav.nav_a .a_modulos {
	background: #0061A0;
}

nav.nav_a .a_modulos:hover {
	background: #164EA3;
}

nav.nav_a .a_modulos:active {
	background: #0B2B44;
}

nav.nav_a .a_modulos:hover svg {
	fill: #164EA3;
}

nav.nav_a .a_modulos:active svg {
	fill: #0B2B44;
}

nav.nav_a .a_modulos:hover:before {
	color: #164EA3;
}

nav.nav_a .a_modulos:active:before {
	color: #0B2B44;
}


nav.nav_b .a_modulos {
	background: #19A316;
}

nav.nav_b .a_modulos:hover {
	background: #068103;
}

nav.nav_b .a_modulos:active {
	background: #04521C;
}

nav.nav_b .a_modulos:hover svg {
	fill: #068103;
}

nav.nav_b .a_modulos:active svg {
	fill: #04521C;
}

nav.nav_b .a_modulos:hover:before {
	color: #068103;
}

nav.nav_b .a_modulos:active:before {
	color: #04521C;
}

nav.nav_d .a_modulos {
	background: #FF97E5;
}

nav.nav_d .a_modulos:hover {
	background: #B344B4;
}

nav.nav_d .a_modulos:active {
	background: #882B89;
}

nav.nav_d .a_modulos:hover svg {
	fill: #B344B4;
}

nav.nav_d .a_modulos:active svg {
	fill: #882B89;
}

nav.nav_d .a_modulos:hover:before {
	color: #B344B4;
}

nav.nav_d .a_modulos:active:before {
	color: #882B89;
}

nav.nav_e .a_modulos {
	background: #EB2B2B;
}

nav.nav_e .a_modulos:hover {
	background: #C02929;
}

nav.nav_e .a_modulos:active {
	background: #6F0D0D;
}

nav.nav_e .a_modulos:hover svg {
	fill: #C02929;
}

nav.nav_e .a_modulos:active svg {
	fill: #6F0D0D;
}

nav.nav_e .a_modulos:hover:before {
	color: #C02929;
}

nav.nav_e .a_modulos:active:before {
	color: #6F0D0D;
}

nav.nav_h .a_modulos {
	background: #000000;
}

nav.nav_h .a_modulos:hover {
	background: #4B4B4B;
}

nav.nav_h .a_modulos:active {
	background: #808080;
}

nav.nav_h .a_modulos:hover svg {
	fill: #4B4B4B;
}

nav.nav_h .a_modulos:active svg {
	fill: #808080;
}

nav.nav_h .a_modulos:hover:before {
	color: #4B4B4B;
}

nav.nav_h .a_modulos:active:before {
	color: #808080;
}

nav#nav_modulo a.a_modulo {
	width: 400px;
    height: 200px;
    border: 1px solid black;
    margin: 50px 10px;
    background-color: #184665;
    color: white;
    text-decoration: none;
    position: relative;
    transition: background-color .5s ease-in-out 0s, color .5s ease-in-out 0s;
}


nav#nav_modulo a.a_modulo:hover {
	background-color: white;
	color: #184665;
}

nav#nav_modulo a.a_modulo h3 {
	padding: 5px;	
	letter-spacing: 2px;
	font-family: 'OpenSansLight';
}

nav#nav_modulo a.a_modulo ul li {
	width: 75%;
    font-size: 13px;
    font-family: 'OpenSansLight';
    margin-bottom: 5px;
} 

nav#nav_modulo a.a_modulo ul {
	width: 60%;
    margin-left: 50%;
    margin-top: 15px;
    list-style: none;
    text-align: left;
}

nav#nav_modulo a.a_modulo img {
    width: 40%;
    position: absolute;
    display: inline-block;
    margin: 0px;
    left: 5px;
    top: 0;
    bottom: 0;
    margin: auto;
}

#s_m_nuevo {
  animation: pj_t_c 2s infinite;
  animation-fill-mode: forwards;
}

@keyframes pj_t_c {
  from {color: #FFEC23;}
  to {color: #D33225;}
}

/*#nav_modulo {
  animation-duration: 3s;
  animation-name: pj_slidein;
}

@keyframes pj_slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}*/

