/* SCG */

.nav li ul {
	border-top: none;
}
#top-menu-nav>ul>li>a:hover {
	opacity: 1;
	color: #db291c;
}
.et_mobile_menu li a:hover, .nav ul li a:hover {
	opacity: 1;
	background-color: #fff;
    color: #db291c !important;
}
.logo_container h1{
    display: inline;
}


/*lineas_page*/

.lieans_test_outer_section.et_pb_section {
    padding: 10px;
    font-size: 16px !important;
    font-family: OpenSans !important;
    padding-left: 42px;
    padding-right: 40px;
}
.tabs_inner_section li.et_pb_tab_0 {
    width: 33.3%;
    padding: 20px;
    text-align: center;
}
.tabs_inner_section li.et_pb_tab_1 {
    width: 33.3%;
    padding: 20px;
    text-align: center;
}
.tabs_inner_section li.et_pb_tab_2 {
    width: 33.4%;
    padding: 20px;
    text-align: center;
}
 .lineas_main_section li.et_pb_tab_0.et_pb_tab_active {
    background-color: #DA291C;
}
 .lineas_main_section li.et_pb_tab_1.et_pb_tab_active {
    background-color: #DA291C;
}
 .lineas_main_section li.et_pb_tab_2.et_pb_tab_active {
    background-color: #DA291C;
}
.tabs_inner_section a
{
    font-family: OpenSans-Bold;
    font-size: 20px;
    
}
.tabs_inner_section .et-pb-active-slide {
    /*border: 2px solid red;*/
	border: 2px solid #DA291C;
    margin-top: -1px;
}
.lineas_main_section.et_pb_section 
   {
    padding-top: 0px;
    padding-left: 45px;
    padding-right: 43px;
   }
.map_text h4 {
    color: #DA291C;
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 25px;
}
.map_text h2 {
    color: #DA291C;
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 25px;
}
.map_text p {
    font-size: 16px;
    font-family: OpenSans;
}
.main_text {
    background-color: #DA291C;
    padding-bottom: 10px;
}

.main_text h1 {
    padding: 19px;
}
.text_1 h1 {
    text-align: center;
    background-color: #fff;
    padding-top: 8px;
    padding-bottom: 36px;
    opacity: 0.8;
    height: 40px;
    font-size: 22px;
    color: #000;
}

.custom_text h1
{
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 600;
    font-size: 30px;
    color: #ffffff!important;
    position: relative;
    top: 20px;
}
.news_block article img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.news_block article h2 {
    line-height: 1.2;
    min-height: 58px;
}
.news_block article .entry-featured-image-url {
    margin-bottom: 20px !important;
}
.last_warning_title a
{
    color: #fff;
    font-size: 1.3em;
}

.post-grid .grid-items {
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
}


.divi_text p {
    line-height: 17px;
    font-size: 15px;
}
    /*.home_latest_pst img {
height: 150px;
}*//*SCG*/

.home_latest_pst #post-grid-941 .element_1 
{
   font-size: 13px;
    line-height: 1.5em;
    color: #383838!important; 
    padding:0px;
}
.home_latest_pst #post-grid-941 .element_0 {

  padding:0px 0px 10px 0px;
}
.home_latest_pst #post-grid-941 .element_2
{
    padding:0px;
}
.home_latest_pst .element.element_0.title
{
    font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif!important;
    color: #d1111c!important;
    font-size: 20px!important;
    line-height: 1.2;
    min-height: 58px;
    margin-top: 20px;
}
.home_latest_pst .post_date
{
font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
    font-size: 13px;
    color: #383838!important;
    margin-bottom:6px;
    margin-top: 20px;
    padding:0px;

}

#et-top-navigation {
    font-size: 14px;
    font-family: OpenSans-Semibold,OpenSans !important;
}
/*tarifas-page-start*/
.tarifas_text p {
    font-size: 14px;
    font-family:OpenSans;
}
.tarifas_table table {
    text-align: center;
    table-layout: fixed;
}

.tarifas_table table td {
    border-top: none;
}
.tarifas_table .greycls {
    padding: 0 0 2px 0;
    font-size: 13px;
    vertical-align: bottom;
    color: #000;
    background: #d9d9d9;
}
.redcls {
    background-color: #DA291C;
}
.darkpurpulecls {
    background-color: #572666;
}
.purplecls {
    background-color: #87489b;
}
.lightpurplecls {
    background-color: #a783b3;
}
.darkgreencls {
   background-color: #3a9c4a;
}
.lightgreencls {
     background-color: #7abc85;
}
table .whitecls {
    color: #fff;
    font-size: 24px;
}
table th.whitecls {
    color: #fff;
    font-size: 24px;
}
.tarifas_table .table_2_cls {
    width: 48.5%;
}
.tarifas_table .table_1_cls {
    width: 48.5%;
    margin-right: 3%;
}
.tarifas_table tr td, .tarifas_table tr th {
    padding-left: 0;
    padding-right: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}
.columncls {
    border: 1px solid #f6f6f6;
    font-size: 18px;
    color: #353535;
}
tr.redrowcls td.columncls:hover {
	color: #DA291C;
}
tr.darkpurpulerowcls td.columncls:hover {
    color: #572666;
}
.purplerowcls td.columncls:hover {
    color: #87489b;
}
tr.lightpurplerowcls td.columncls:hover {
    color: #a783b3;
}
tr.darkgreenrowcls td.columncls:hover {
   color: #3a9c4a;
}
tr.lightgreenrowcls td.columncls:hover {
     color: #7abc85;
}
.tarifas_table h2 {
    color: #572666;
    text-transform: capitalize;
    font-size: 23px;
	margin-left: 100px;
	padding-top: 10px;
}
.Billete_cls:before {
    content: "";
    background: url(/wp-content/uploads/2019/06/1-1.jpg);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
}
.Billete_cls .et_pb_text_inner, .Bono_cls .et_pb_text_inner {
    padding-top: 5px;
    padding-bottom: 5px;
}
.Bono_cls:before {
    content: "";
    background: url(/wp-content/uploads/2019/06/2-1.jpg);
    position: absolute;
    height: 100%;
    width: 100%;
    top: -3%;
    left: 0;
    background-repeat: no-repeat;
}
.tarifas_table .et_pb_column .et_pb_text {
    margin-bottom: 3%;
}
.tabla_de_tarifas_cls h1 {
    font-size: 30px;
    text-transform: uppercase;
    color: #DA291C;
}
.tarifas_table .et_pb_row_2 {
    padding-bottom: 0;
}
li.list1_cls {
	color: #DA291C;
	border: 1px solid #DA291C;
}
li.list2_cls {
    color: #572666;
    border: 1px solid #572666;
}
li.list3_cls {
    color: #87489b;
    border: 1px solid #87489b;
}
li.list4_cls {
    color: #a783b3;
    border: 1px solid #a783b3;
}
li.list5_cls {
   color: #3a9c4a;
   border: 1px solid #3a9c4a;
}
li.list6_cls {
     color: #7abc85;
     border: 1px solid #7abc85;
}
.list_cls_terifas ul li {
    list-style: none;
    display: inline;
    padding-left: 10px;
    padding-right: 10px;
    vertical-align: middle;
    font-size: 25px;
}
.list_cls_terifas ul {
    padding-top: 1em;
}
.list_cls_terifas ul li.list1_cls {
    color: #DA291C;
    border: 1px solid #DA291C;
    padding-left: 17px;
    padding-right: 17px;
}
.text_last_cls h3 {
	color: #572666;
}
/*tarifas-page-end*/

/*Home-page*/

.home_tab_inner .et_pb_tabs_controls li {
   display: inline-block !important;
    width: 33.3% !important;
    text-transform: uppercase;
    min-height: 78px;
    background-color: #fff;
    font-size: 15px;
    font-family: OpenSans-Semibold;
    border: none;
    line-height: 1.2 !important;
    vertical-align: middle;
    padding-top: 21px;
    
}
.home_tab_section {
    padding-top: 0px;
}
.home_tab_inner input {
   font-size: 15px;
    padding: 7px 22px 7px 22px;
    float: right;
    margin-right: 38px;
    background-color: #a91314;
    border: 1px solid #a91314;
    border-radius: 3px;
    color: #fff;
}
.Encuentra_home_cls h2 {
    font-family: 'Open Sans' !important;
     color: #434343;
}

.find_bus .et_pb_main_blurb_image {
	margin-bottom: 10px;
}
.Encuentra_home_cls .et_pb_row.et_pb_row_3.home_tab_section {
    width: 100% !important;
}
.find_bus p {
    font-size: 14px;
    font-family:OpenSans;
    color: #434343;
}
.home_tab_inner li.et_pb_tab_1 {
    line-height: 44px;
}
.home_tab_inner li.et_pb_tab_0 {
    line-height: 44px;
}
.home_tab_inner
{
    border: none;
}
.home_tab_inner ul.et_pb_tabs_controls {
    background-color: #f3f3f3;
}
.home_tab_inner ul.et_pb_tabs_controls:after 
{
    border: none;
}
.home_tab_inner .et_pb_tabs_controls li.et_pb_tab_active {
    background-color: #f3f3f3;
    font-size: 16px;
    
}
.home_tab_inner .et_pb_all_tabs {
    background-color: #f3f3f3;
}
.home_tab_inner .et_pb_tab_active a
{
    color:#d1111c !important;
}
.home_tab_inner .et_pb_all_tabs p {
    font-size: 13px;
    font-family:OpenSans;
}
.home_tab_inner .et_pb_tabs_controls li a {
    display: block;
    text-align: center;
    padding-left: 0px;
    padding-right: 0px;

}
/* Lineas-page */

.tabs_inner_section .et_pb_tab_0 a
{
    position: relative;
}
.tabs_inner_section .et_pb_tab_0::before
{
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2019/06/locnew.png);
    height: 45px;
    width: 44px;
    top: 15px;
    left: 43px;
	background-position: center;
}
.tabs_inner_section .et_pb_tab_0.et_pb_tab_active a::before
{
    position: absolute;
    content: "";
    background: url( /wp-content/uploads/2019/06/loc_overlay.png);
    height: 45px;
    width: 44px;
    top: -5px;
    left: 23px;
	background-position: center;
}
.tabs_inner_section .et_pb_tab_1 a
{
    position: relative;
}
.tabs_inner_section .et_pb_tab_1 a::before
{
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2019/06/new.png);
    height: 34px;
    width: 38px;
    top: -4px;
    left: 37px;
	background-position: center;
}
.tabs_inner_section .et_pb_tab_1.et_pb_tab_active a::before
{
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2019/06/new_overlay.png);
    height: 34px;
    width: 38px;
    top: -4px;
    left: 37px;
	background-position: center;
}
.tabs_inner_section .et_pb_tab_2 a
{
    position: relative;
}
.tabs_inner_section .et_pb_tab_2 a::before
{
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2019/06/bus.png);
    height: 35px;
    width: 33px;
    top: -4px;
    left: 12px;
	background-position: center;
}
.tabs_inner_section .et_pb_tab_2.et_pb_tab_active a::before
{
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2019/06/bus_overlay.png);
    height: 35px;
    width: 33px;
    top: -4px;
    left: 12px;
	background-position: center;
}
.tabs_inner_section #wpcf7-f795-p770-o1 input
{
    float: right;
    background-color: #84bd00;
    border: 1px solid #84bd00;
    text-align: center;
    padding: 6px;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    font-family: OpenSans;
}
.tabs_inner_section #wpcf7-f795-p770-o1 select
{
width: 100%;
padding: 13px;
    padding-bottom: 26px;
    padding-left: 85px; 
    background-color: #f2f2f2;
    border: 1px;
    margin-top: 55px;
    font-size: 16px;
    font-family: OpenSans-Bold;
    font-style: italic;

}
 .tabs_inner_section .et_pb_tab_1 span
{
 position: relative;
}
.tabs_inner_section .et_pb_tab_1 span::before
{
    position: absolute;
    content:"";
    background: url(/wp-content/uploads/2019/06/drop.png);
   height: 26px;
    width: 38px;
    top: -4px;
    left: 35px;
}
.tabs_inner_section .et_pb_tab_1 span::after {
    position: absolute;
    content:"Despliega lista con todas las localidades";
    left: 107px;
    top: 18px;
    color: #6e6e6e;
    text-transform: uppercase;
    font-size: 13px;
}
.tabs_inner_section input.wpcf7-text {
    padding:10px;
    width: 100%;
     color: #6e6e6e;
    text-transform: uppercase;
    margin-top: 55px;
}
.tabs_inner_section input.wpcf7-submit {
    float: right;
    background-color: #84bd00;
    border: 1px solid #84bd00;
    text-align: center;
    padding: 6px;
    margin-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    font-family: OpenSans;
    
}
/* lineas-single-page*/
.madrid 
{
    position: relative;
}
/*.madrid::before
{
    position: absolute;
    content: "";
    background:url(/wp-content/uploads/2019/07/first-banner.png);
    height: 155px;
    width: 351px;
}*/
.ALPEDRETE
{
    position: relative;
}
/*.ALPEDRETE::before
{
    position: absolute;
    content: "";
    background:url(/wp-content/uploads/2019/07/banner2.png);
    height: 155px;
    width: 351px;
    left: 120%;
}*/
.purple-section .container {
    width: 80%;
    padding-top: 50px;
    padding-bottom: 193px;
}
.inner-tarifas
{
background-color: #DA291C;
    padding: 2px;
}
.Salidas1 
{
    display: inline-block;
    width: 32%;
}



/* Map2 */


.madrid_outer
{
background-color: #fff;
    padding-top: 5px;
    font-size: 13px;
    padding-bottom: 5px;
    text-align: center;
    color: #572666;
}
.madrid p
{
    text-align: center;
    color: #fff;
    font-size: 17px;
    padding-bottom: 3px;
}
.ALPEDRETE p
{
    text-align: center;
    color: #fff;
    padding-bottom: 3px;
    font-size: 17px;
}
.Salidas1 p
{
    font-size: 11px;
}
.Salidas1 h5,.Salidas1 h6
{
   font-size: 22px;
   text-align: center;
   color:#fff;
}