
/* LINEA ESTE */
body.c {
	color: #282f33;
	font-weight: 500;
}

body.c .primary {
	background-color: #e1251b;
	color: #fff;

}
body.c section.main {
	background-color: #edf2f4;
}
body.c section.main::after {
	content: '';
	background-image: url(../img/vector-bkg-copsa.svg);
	background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    height: 20%;
    width: 100%;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
}
body.c h1 {
    color: #e1251b ;
}
body.c h2 {
	position:relative;
	margin-bottom: 1.5em;
    color:#e1251b;
    text-decoration-color:#630036;
}

body.c section.main .container {
    height: 80vh;
    position: relative;
}
/* HEAD */
body.c .header-le h1{
    color: #fff;
}
body.c h3 {
    color:#e1251b
}
a {
    color: #e1251b;
}
a:hover {
    color: #630036;
}
/* NAVBAR */
.navbar-brand {
    background-color: #e1251b;
}
.navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
    background-color: #e1251b;
    padding-left: 35px;
}
.navbar-nav .btn-info:hover img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(84deg) brightness(300%) contrast(103%);
}
.navbar-nav .btn-info img, footer .btn-footer img {
    margin-top: -3px;
    margin-left: 5px;
} 


/* NEWS HOME */

.news-module .news-all {
    position: absolute;
    top:4em;
    right: 3em;
    text-transform: uppercase;
    text-align: right;
}
.news-module a:hover {
    color:#630036
}
.carousel-indicators {
    bottom:-40px;
    left:0;
    width:100%;
    padding: 6px 0px;
    margin-left:0;
}
.carousel-indicators li {
    width:12px;
    height:12px;    
    background:transparent;
    border: 2px solid;
    border-color:#ccc;
 
}
.carousel-indicators .active {
    width:14px;
    height:14px;
    background:transparent;
    border-color:#e1251b;
}
.carousel-inner .thumbnail {
    margin-bottom:0;
    border-bottom-left-radius:0;
    border-bottom-right-radius:0;
}
  
.news-module h2 {
    margin-bottom: 1em!important;
    margin-top: 0;
}
.news-module h5 {
    color: #e1251b;
    font-weight: bold;
}









/* BUTTONS */

.btn-primary {
    background: #e1251b;
    transition: all ease-in-out 0.3s;
}
.btn-primary:hover {
    background: #630036;
}
.btn-info {
	border: 1px solid #3d7cc9;
    padding: 0.7em 1.5em!important;
    border-radius: 50vh;
    background: #fff;
    display: block;
	margin-top: 1.8em;
    margin-left: 1em;
    color: #3d7cc9!important;
    transition: all ease-in-out 0.3s;
}
.btn-info:hover {
	background: #3d7cc9 !important;
	color: #fff !important;
    border-color:#fff;
} 

/* HEADER SECTION*/
header.header-c {
	background-color: #e1251b;
	text-align: center;
	color: #fff;

}
header.header-c h1 {
    color: #fff;
}
.mod-buttons-head  {
    margin:3em 0;
}
.mod-buttons-head .btn-primary {
    border:1px solid #fff;
    padding: 15px 60px;
}
.bus-img {
    position: absolute;
    z-index: 2;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: 31%;
}
/* SEARCH MODULE*/
.search-module {
    transform: translateY(-70%);
}
.news-module {
    transform: translateY(-70%);
}

label {
	text-transform: uppercase;
	color:#e1251b;
}

.select-wrapper {
	border:1px solid #e1251b;
    background-image: url(../img/select-c-arrow.svg);
    background-position: center right 20px;
    background-repeat: no-repeat;
}
.form-wrapper {
	border:1px solid #e1251b;
	border-radius: 50vh;
	padding: 13px 20px;
    width: auto;
}
.select-wrapper.select-extended {
	width: 130%;
}
.select-wrapper select.form-control {
    color: #e1251b;
}
.form-control {
    background: #fff;
    box-shadow: none;
    border: solid 1px #e1251b;
    color: #e1251b;
    cursor: pointer;
    border-radius: 50vh;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.1em;
    background: transparent;
}
input[type=text].form-control {
	height: 3em;
}
input[type=date], input[type=time] {
    width: 100%;
    background: transparent;
    border: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 1.1em;
    text-transform: uppercase;
    color: #e1251b;
    position: relative;
}
.form-control[type=text], .form-control[type=email] {
	padding: 30px 21px;
}
.form-control::placeholder {
  color: #e1251b;
  opacity: 1; /* Firefox */
}
.radio-btn label {
    background: #fff;
    box-shadow: 0 0 0 1px #e1251b;
    color: #e1251b;
	padding: 10px 40px;
    cursor: pointer;
    border-radius: 50vh;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.1em;
    cursor: pointer;
    margin-bottom: 0;
}
.radio-btn input[type="radio"]:checked+label {
    background-color: #e1251b;
    color: #fff;
}
.radio-btn input[type=radio] {
    display: none;
}


.mod-lineas .form-inline {
    text-align: center;
}
.form-inline .form-group {
    width: 24em;
}
.mod-horarios {
    margin-top: 3em;
}
.mod-horarios .nav-tabs {
    text-align: center;
}
.mod-horarios .tab-content {
    padding-top: 3em;
}
.mod-horarios .nav-tabs>li {
    float:none;
    display: inline-table;
    text-transform: uppercase;
    color: #282f33;
}
.mod-horarios h3 {
    text-transform: uppercase;
}
.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 2vh 2vh 0 0;
    color: #282f33;
    padding: 1em 2em;
}


.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 20px 8px;
    border-top: 1px solid #ddd;
}
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
	text-transform: uppercase;
}
.table-striped>tbody>tr:hover {
    background: #efefef !important;
}
.btn-mod {
    text-align: right;
}



/* AGENCIAS */
.mod-agencias {
    margin-top: 2em;
}
.mod-agencias .nav-tabs {
    text-align: center;
}
.mod-agencias .nav-tabs>li {
    float: none;
    display: inline-table;
    text-transform: uppercase;
    color: #282f33;
}


.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
   background: #e1251b;
   color: #fff; 
}

.mod-agencias .tab-content {
    padding-top: 3em;
}
.mod-agencias ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mod-agencias i {
    margin-right: 1em;
    color: #630036;
}
.mod-agencias .btn-mod {
    margin-top: 1em;
}
.mod-agencias .btn-mod i {
    color: #fff;
}
.agencias-row {
    overflow: hidden;
    margin-bottom: 2em;
    border-bottom: solid 1px #ccc;
    padding-bottom: 1em;
}
.agencias-row ul li {
    margin-bottom: 0.5em;
}










/*FOOTER */
footer .btn-footer {
    min-width: 15em;
}



/* SMALL DESKTOP */
/* Medium devices (desktops, 1200) */
@media (max-width: 1441px) { 
body.c {
    font-size: 11px;
}
body.c section.main::after {
    width: 100%;
    bottom: 0;
}
.navbar-default {
    border-color: #e1251b;
}
.row-group {
    margin-bottom: 1.2em;
}
.btn {
    padding: 1em;
    font-size: 1.2em;
}
.search-module, .news-module {
    min-width: auto;
    width: 40%;
    transform: translateY(-80%);
}


.btn-mod {
    margin-top: 1em;
}
div.select-wrapper select.form-control {
    height: 2.1em;
}
div.select-wrapper {
    background-size: 23px 15px;
}
.form-wrapper {
    padding: 5px 20px;

}

.bus-img {
    width: 35%;
}


}


/*IPHONE 5 PORT*/
@media (max-width: 767px) and (orientation : portrait) {
body.c section.main::after {
    width: 100%;
    bottom: -6%;
    left: 0;
    background-position: center;
    background-size: 230%;
}
body.c section.main {
    height: auto!important;
    position: relative;
    padding-bottom: 12em;
}
.bus-img {
    width: 72%;
    bottom: 12%;
}

.search-module, .news-module  {
    min-width: inherit;
    padding: 2em;
    position: initial;
    width: 100%;
    transform: none;
    margin-top: 1em;
}
.news-module .news-all {
    position: inherit;
    float: right;
    right: 3em;
    text-transform: uppercase;
    text-align: right;
    margin-top: -4em;
}

}

/* ENLACE A PDFS EN HORARIOS */
.linkLA{
    display: flex; 
    justify-content: center;
}
.lineasAdicionales{
    text-align: center; 
    padding-top: 25px; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding-bottom: 30px;
    padding-top: 15px;
}

/* MODALES 
 Capa de oscurecimiento personalizada 
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);  Cambia la opacidad aquí 
  z-index: 999;  Detrás del dialog 
}
dialog {
    border: none;
    border-radius: 30px;
    padding: 0;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: sans-serif;
    outline: none;
}

.modal-header,
.modal-footer {
    padding: 1em;
    background-color: #f2f2f2;
}

.modal-header {
  border-bottom: 1px solid #ccc;
  font-weight: bold;
  color: #e1251b;
}

.modal-body {
  padding: 1em;
  background-color: #f1ebd6;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  border-top: 1px solid #ccc;
}*/

/* FORM TRABAJA */
.contPostula {
    border: 1px solid #e1251b;
    padding: 20px;
    border-radius: 25px;        /* Borde redondeado */
    margin-bottom: 15px;
}

.textoPostula {
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #e1251b; /* Texto azul */
}

.checkboxesPostula {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.checkboxesPostula label {
  display: flex;
  align-items: center;
  text-transform: none;
  font-weight: 550;
}

.checkboxesPostula input[type="checkbox"]{
    margin-top: 0px;
    margin-right: 10px;
}

.textAreaTrab{
    width: 100%;
    height: 80px;
    box-sizing: border-box; /* Asegura que el padding no exceda el ancho */
    padding: 5px;
    font-size: 1.1em;
    background: none;
    border: none;
    outline: none;
    color: #e1251b;
}

.contTarbajoTotal{
    padding-left: 150px;
    padding-right: 150px;
}
.contCur{
    border: 1px solid #e1251b;
    padding: 20px;
    border-radius: 25px;
}

.rowCentrada{
    display: flex;
    justify-content: center;
}
.selPos{
    display: table;
}
.btnPos{
    margin-right: 17%;
}
.contCap{
    margin-left: 17%;
}
.textMin{
    text-transform: none;
}

@media (max-width: 767px) and (orientation : portrait) {
    .contTarbajoTotal {
        padding-left: 25px;
        padding-right: 25px;
    }
    .rowCentrada{
        display: block;
    }
    .selPos{
        display: block;
    }
    .btnPos{
        margin-right: 0;
        text-align: center;
    }
    .contCap{
        text-align: center;
    }
    
}

/* OFERTAS LABORALES */
.contOfertas{
    padding-right: 50px;
    padding-left: 50px;
}
.divOferta{
    border-bottom: 3px solid black;
    padding-top: 20px;
}
.encabezado{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10%;
    padding-bottom: 30px;
}
.hEcabezado{
    color: #e1251b;
}
.hOferta{
    font-size: larger;
}
.pOferta{
    padding-bottom: 15px;
    padding-top: 15px;
}
.btnPostul{
    font-size: 1em;
}

/* MODALES DIALOGS */
.mdialog {
    border: none;
    border-radius: 15px;
    padding: 14px;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    font-family: sans-serif;
}

.modal-header,
.modal-footer {
    padding: 1em;
/*    background-color: #f2f2f2;*/
}

.modal-header {
  border-bottom: 0px solid #ccc;
  font-weight: bold;
  color: #e1251b;
}

.modal-body {
  padding: 1em;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5em;
  border-top: 0px solid #ccc;
}

.p-mdialog{
    margin-bottom: 0px;
}

.btn-mdialog {
  padding: 0.5em 1em;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.btn-cancelar {
  background-color: #e1251b;
  color: white;
}

.btn-aceptar {
  background-color: #e1251b;
  color: white;
}

/* Fondo oscuro detrás del modal */
.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 100;
}

/* *************** */

