@import url('CS-content/css/bootstrap-datetimepicker.css');
@import url('CS-content/css/font-awesome.min.css');
@import url('CS-content/css/bootstrap.min.css');
@import url('CS-content/css/loaders.min.css');
@import url('CS-content/css/responsive.css');
@import url('CS-content/css/hover-min.css');
@import url('CS-content/css/animate.css');



body{
    background-image: url("https://jptomsholding.com/app/img/dubai.jpg");
    font-family: 'Source Sans Pro', sans-serif;
    /*background: #ededed;*/
}

a {
            color:#670078;
            font-weight:700;
}
a:hover {
  color: #BF00E1;
  font-weight:700;
}
fa{
    color:#000;
}
a,a:hover,a:focus,a:active{
    text-decoration: none;
}

a,button{
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.table {
    margin-bottom: 0px;
}

.comments-box{
    padding: 5px 5px;
    background: #fff;
    float: left;
    width: 100%; 
    display: none;       
}


.profile-image{
    border-radius: 50%;
}



#contactos a{
    display: inline-block;
    margin-bottom: 8px;
    float: left;        
}

#contactos a > img{
    border-radius: 50%;
}

.message-icon > img {
 min-height: 40px;
 max-height: 40px;
 border-radius: 50%;
}


.message-footer a{
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    cursor: pointer;    
}


.nopadding{
	padding: 0px;
}

.nomargin{
    margin: 0px;
}


#loginbox{
    margin: 85px auto;
    width: 325px;
}

.CS-status{
    padding: 15px 10px 0px;
}


/* CS */
#CS-container{
	margin-top: 0px;
}

.login-link-content{
    padding: 0px;
    margin-top: 5%;
    text-align: right;	
}

.login-link-content a{
    display: block;
    width: 100%;
    margin-bottom: 2px;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
}


.bootstrap-datetimepicker-widget *{
	-moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;	
}


.panel-body {
    padding: 15px 10px 5px;
}

.panel{
    width: 100%;
    float: left;
    -webkit-box-shadow: 2px 4px 5px 0px rgba(150,150,150,1);
-moz-box-shadow: 2px 4px 5px 0px rgba(150,150,150,1);
box-shadow: 2px 4px 5px 0px rgba(150,150,150,1);
}

.panel2{
    width: 100%;
    float: left;
}

.hidelike{
    display: none;
}

.deletepost{
    position: absolute;
    right: 15px;
    top: 10px;
    background: #CE1F1F;
    padding: 2px 5px;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;    
}

.deletepost:hover,.deletepost:focus,.deletepost:active{
    text-decoration: none;
    background: #B70000;
    color: #FFF;
} 


.deletecomment{
    position: absolute;
    right: 15px;
    top: 10px;
    background: #CE1F1F;
    padding: 2px 5px;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;    
}

.deletecomment:hover,.deletecomment:focus,.deletecomment:active{
    text-decoration: none;
    background: #B70000;
    color: #FFF;
} 




#loaders{
    top: 0px;
    left: 0px;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center;
    padding-top: 4%;    
}

.line-scale-pulse-out-rapid>div {
    background-color: #D17171;
}

.hideform{
    display: none;
}


#loadingimg{
    position: absolute;
    width: 100%;
    left: 0;
    top: 12%;    
}

.opacityimg{
    opacity: 0.3;    
}

#alertimg{
    background: #E61B1B;
    border-radius: 4px;
    display: none;
    color: #fff;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;      
}

#viewmore{
    padding-bottom: 4%;
}

#viewmore a{
    cursor: pointer;
}

.hidebtncontact{
    display: none;
}



#messagesul>li>a {
    display: block;
    padding: 5px 5px 5px 3px;
    float: left;
    width: 100%;
    white-space: normal;
}

#messagesul>li>a p{
    margin: 0px;
}

.ptimemessage{
    background: #D1719D;
    display: inline-block;
    border-radius: 4px;
    color: #fff;
    padding: 1px 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;   
}

.messageprofileradius{
    border-radius: 50%;
}

.navbar-default .navbar-toggle {
    border-color: transparent;
    color: #FFF;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: transparent;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.messagesbox{
  padding: 0px;
}

.messageview{
    cursor: pointer;
}

.mesages-body{
    font-weight: bold;
}

.message-fecha{
    background: #10AD0D;
    color: #fff;
    text-align: center;
    display: inline-block;
    padding: 3px 5px;
    border-radius: 4px;  
}

.message-usuario{
    color: #777;
}

.modal-content{
    float: left;
    width: 100%;
}

.modal-header {
    float: left;
    width: 100%;
}

.modal-body {
    position: relative;
    padding: 15px;
    float: left;
    width: 100%;
}

.modal-footer {
    float: left;
    width: 100%;
}


.alert {
   float: left;
   width: 18%;
   position: absolute;
}

#updasuccess{
    width: 200px;
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #65BD23;
    border-radius: 4px;
    padding: 5px 13px;
    text-align: center;
    color: #fff;
    display: none;    
}

.actualmail{
    display: inline-block;
    width: 100%;
    background: #369839;
    color: #FFF;
    padding: 5px 10px;
    border-radius: 3px;    
}

.actualperma{
    display: inline-block;
    width: 100%;
    background: #983636;
    color: #FFF;
    padding: 5px 10px;
    border-radius: 3px;    
}

#notactualpass{
    display: none;
}

.borderimgsearch{
    border-radius: 50%;
}

.parselinks a{
    margin-left: 3px;
}

.busqueda .link{
   color: #777;
}

.busqueda .link:hover,.link:focus,.link:active{
   color: #D86A32;

}

#notactualperma{
   display: none;
}

#notactualemail{
    display: none;
}

#notactualusemail{
    display: none;
}


#follow{
    float: left;
    width: 100%;
    padding: 15px 10px;   
}

#follow a{
    display: inline-block;
    float: left;    
}

#follow a>img{
   border-radius: 50%;   
}


#followers{
    float: left;
    width: 100%;
    padding: 15px 10px;   
}

#followers a{
    display: inline-block;
    float: left;    
}

#followers a>img{
   border-radius: 50%;   
}

.avisodisable{
    background: #14a6de;
    margin: 0px;
    text-align: center;
    color: #FFF;
    border-radius: 4px;
    padding-top: 3%;
    padding-bottom: 3%;
    font-size: 14px;    
}

.avisodisable i{
    display: block;
}


.menu-container {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    width: 100%;
}

.menu-header {
    background-color: #5C9D31;
    color: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.menu-header i {
    margin-right: 10px;
}

.menu-body {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-top: 1px solid #ddd;
}

.menu-body a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    margin-right: 10px;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-body a:hover {
    background-color: #5C9D31;
    color: #fff;
}

.menu-collapse {
    display: none;
}

/* ############## menu bolsa de empleo ############### */

.job-nav {
    background-color: #3c454f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

.job-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.job-nav-links li {
    margin: 0 15px;
}

.job-nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    padding: 10px;
    transition: background-color 0.3s;
}

.job-nav-links a:hover {
    background-color: #5C9D31;
    color: #fff;
    border-radius: 5px;
}

.job-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.job-menu-toggle .job-bar {
    background-color: #333;
    height: 3px;
    width: 25px;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive styles */
@media (max-width: 768px) {
    .job-nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #3c454f; /* Asegúrate de que coincida con el color del navbar */
        position: absolute;
        top: 50px; /* Ajusta según el alto del navbar */
        left: 0;
        z-index: 1000; /* Asegúrate de que el menú se muestre sobre otros contenidos */
        color: #fff;
    }

    .job-nav-links.active {
        display: flex;
    }

    .job-nav-links li {
        margin: 0;
    }

    .job-nav-links a {
        padding: 15px;
        border-bottom: 1px solid #575757;
    }

    .job-menu-toggle {
        display: flex;
    }
}

/* ######  frilla bolsa de empleo ###### */

.job-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* O usa repeat(3, 1fr) para columnas fijas */
    gap: 20px;
}

.job-grid-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.job-content {
    flex: 1; 
    padding: 20px; 
    box-sizing: border-box; 
}

.job-grid-item h2 {
    margin-top: 0;
    color:#5C9D31;
    font-weight:700;
}

.job-grid-item p {
    margin: 10px 0;
}

.apply-button {
    background-color: #5C9D31;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin: 10px 20px 20px; 
    transition: background-color 0.3s;
}

.apply-button:hover {
    background-color: #4a8a23; 
    color: #fff;
}

.job-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}


/* Botón del asistente */
#chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #5C9D31;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
}

#chatbot-button:hover {
    background-color: #5C9D31;
}

/* Ventana del chatbot */
#chatbot-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    display: none; /* Inicialmente oculta */
    z-index: 1000;
}

#chatbot-header {
    background-color: #333;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-content {
    height: calc(100% - 40px); /* Restar la altura del encabezado */
    padding: 10px;
}

#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#chatbot-close:hover {
    color: #ccc;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
.bounce-icon {
    animation: bounce 2s infinite;
}

.flecha-animada {
  animation: parpadeo 2s infinite;
}

@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ############## ana ############# */
#botonFlotante {
  position: fixed;
  bottom: 70px;
  right: 20px;
  z-index: 9999;
  display: block;
  text-align: center;
}

#botonFlotante img {
  width: 109px;
  height: 191px;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

#botonFlotante img:hover {
  transform: scale(1.1);
}

@media (max-width: 767px) {
  #botonFlotante img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain; /* Evita recortes */
    padding: 5px; /* Espacio interno para no cortar la cara */
    background-color: white; /* Fondo blanco para que el padding se vea bien */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
    box-sizing: border-box;
  }

  #botonFlotante center {
    display: none; /* Oculta texto */
  }
}

#chatBox {
  display: none;
  position: fixed;
  bottom: 130px;
  right: 20px;
  width: 300px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-radius: 12px;
  z-index: 9999;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

#barraChat {
  position: fixed;
  left: -320px; /* Oculta fuera de la pantalla */
  width: 300px;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  border-radius: 8px;
  z-index: 9999;
  transition: left 0.4s ease-in-out;
}

#barraChat.abierto {
  left: 20px; /* Se muestra animado */
}

.barra-header {
  background-color: #670078;
  color: white;
  padding: 10px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cerrar-chat {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 767px) {
  #barraChat {
    width: 90%;
    left: -100%;
  }

  #barraChat.abierto {
    left: 5%;
  }
}

.espacio{
    margin-top:10px;
}