/*
Theme Name:   RTI
Theme URI:    https://http://www.rti-rating.org/
Description:  Tema personalizado para Energía Gestión
Author:       Paginaweb4u
Author URI:   https://www.paginaweb4u.com/
Template:     Divi
Version:      1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Contact Form 7 */
.wpcf7-text, .wpcf7-select, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-number {
background-color: #eee !important;
border: none !important;
width: 100% !important;
-moz-border-radius: 0 !important;
-webkit-border-radius: 0 !important;
border-radius: 0 !important;
font-size: 14px;
color:#999!important;
padding:8px!important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.wpcf7-submit {
color: #fff !important;
margin: 8px auto 0;
cursor: pointer;
font-size: 1em!important;
font-weight: 500;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
padding: 3px 20px!important;
line-height: 1.7em;
background:  #2EA3F2;
border: 2px solid;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
transition: all 0.2s;
margin-right:-10px;
}
.wpcf7-submit:hover { 
background-color: #eee; 
border-color:#eee; 
color: #666666 !important;
background: #dddddd !important;
border-radius: 2px;
padding: 3px 20px!important;
}

.wpcf7-submit:after {
font-family: "ETmodules" !important;
font-weight: normal;
font-style: normal;
font-variant: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1;
text-transform: none;
speak: none;
position: absolute;
margin-left: -1em;
opacity: 0;
font-size: 32px;
line-height: 1em;
content: "\35";
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
transition: all 0.2s;
}

.wpcf7-submit:hover:after {
margin-left: 0;
opacity: 1;
}

.wpcf7-response-output {
clear:both;
margin:0;
}

@media all and (min-width: 640px) {
.wpcf7-submit {
font-size: 1.1em!important;
}
}
.infoGDPR {
	max-height:150px;
	padding:1em 0.5em;
	overflow-y:scroll;
	background:rgba(255,255,255,.5);
	text-align:left;
	margin: 1em 0 1em 0.75em;
}
/* Mostrar botón de quiero más información al hacer scroll */
.btn-fixed-top {
	display:none;
	position:fixed!important;
	top:0;
	left:0;
	width:100%;
}
.btn-fixed-top .et_pb_button {
    width: 100%;
    display: block;
    text-align: center;
}

.rwd-line {
   display: inline-block;
}

@media screen and (max-width: 981px) {
	.rwd-line {
   		display: block;
	}
}

table.wpDatatable {
	position:relative;
}
a.caja>.info {
	display: block;
    visibility: hidden;
    position: absolute;
    background-color: #186498;
    padding: .75em;
    white-space: normal;
    border-radius: .5em;
    color: white;
	left:0;
	z-index:10;
	width:100%;
}
a.caja:hover>.info {
	visibility:visible;
}

.ranking-best {
	background-color:#23823b!important;
	color:#fff!important;
}

.ranking-good {
	background-color:#95c983!important;
	color:#fff!important;
}

.ranking-regular {
	background-color:#fbbb52!important;
	color:#fff!important;
}

.ranking-bad {
	background-color:#ed400e!important;
	color:#fff!important;
}

.ranking-worst {
	background-color:#d23002!important;
	color:#fff!important;
}

/************************ INTERLINEADO MENU MÁS PEQUEÑO *******************/
#top-menu>li.menu-item:not(.mega-menu)>ul.sub-menu>li.menu-item {
    padding: 0;
    width: 100%;
	line-height: 1.25;
}

#top-menu li li a {
    width: auto;
    padding: 6px 15px;
}

.nav li ul {
    padding: 10px 0;
	width: 250px;
}

/* Cambia el menu a X cuando está abierto */
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

/* Ajuste menu fijo no movil */
.et_fixed_nav.et_secondary_nav_enabled #main-header,
.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header {
	top: 30px!important;
}

/*********************************
style mobile fixed header
*********************************/
.et_fixed_nav #main-header,
.et_fixed_nav #top-header.et-fixed-header{
	position:fixed;
	display:block;
}

.et_fixed_nav #top-header,
.et_fixed_nav #main-header.et-fixed-header {
	position:fixed;
	display:block;
}

.et-fixed-header .mobile_menu_bar {
	padding-bottom: 5px;
}
