body {background: #f5f5f5; font-size: 16px;}

a {text-decoration: none;}

.main-footer {text-align: right!important;}

.adminlogo {float: unset!important; max-height: 50px!important;}

.hidden {display: none;}

.hiddenimportant {display: none!important;}

.login-page, .register-page {
  background-image: url('/images/bg-admin.png');
  background-repeat: no-repeat;
  background-size: 50vw;
  background-position-x: right;
  background-position-y: bottom;
}

.login-box, .register-box {
  margin-bottom: 20vh;
}

a {color: #cd7307;} /*COLOR MAS FUERTE PARA QUE SE VEAN LOS LINKS - ORIGINAL: #f0a954*/

/* COLORES PANEL ADMIN */

.bg-mongia {
    background-color: #f0a954 !important;
}

.viewfront {padding: .5rem 1rem;}

.hometextcontent {text-align: justify;}

.hometextcontent img {
  float: right;
  padding: 10px 0 40px 50px;
}

/* HEADER */
.floatright {float: right!important;}
.header-nav .nav-link {padding-top: 0!important; padding-bottom: 0!important;}
/*.header-nav {position: sticky!important; top: 0!important; z-index: 999!important;}*/
.header {background: #ececec!important; min-height: 100px; position: relative!important; margin-top: 48px!important}
.logo1, .logo2 {float: left!important; width: 50%!important; position: relative!important; min-height: 100px;}

.logo1 img {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.logo2 img {
  margin: 0;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  /*.logo1, .logo2 {max-width: 40%!important;}
  .header {min-height: 100px!important;}*/
  .logo1 img, .logo2 img {position: relative!important; margin-top: 50px; max-width: 80%!important;}
}

.ul-redes li {
  padding: 0 10px!important;
}

.navbar-data span {margin: 0 10px!important;}

@media (max-width: 1199px) {
  .navbar-data {display: none!important;}
}

button.form-control {
  background-color: green!important;
  color: #fff!important;
  max-width: 200px!important;
  height: 50px!important;
}

.headerimghome {max-width: 100%;}

/* MENU SUBHEADER */
.menusubheader {background: #f0a954; padding: 0px;}
.sticky-top { top: 48px; }

.menusubheader a {color: #fff; text-decoration: none; padding: 10px 15px; font-size: 18px; font-weight: 500;}

.menusubheader a:hover {color: #333;}

.topnav a:has(.active)  {background: #999;}

.topnav a {
  border-right: 1px solid #f5f5f5!important;
  display: table-cell;
  padding: 10px 0;
}

.topnav a:first-child {
  border-left: 1px solid #f5f5f5!important;
}

.rowhome .col-md-12.rubydisplay {
  background: #fff;
  padding: 20px;
  display: ruby;
  text-align: center;
}

.homesidebarblock {
  background: #f0a954;
  margin: 10px;
  float: left;
}

.homesidebarblock img {max-width: 100%;}

.homesidebarblock a {
  color: #fff;
}

.homesidebarblock h4 {
  padding: 10px 0 5px 0;
  text-align: center;
  font-size: 26px;
}

/* CURSOS HOME */

.cursohome-block {width: 33%; float: left; padding: 10px;}

@media (min-width: 992px) and (max-width: 1199px) {
  .cursohome-block {width: 50%;}
}

@media (max-width: 991px) {
  .cursohome-block {width: 100%;}
}

.cursohome-block-intern {box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; padding: 0px; height: 340px!important; width: 100%;}

.cursohome-bg-image {height: 200px; background-repeat: no-repeat!important; background-position: center center!important; background-size: cover!important;}
.contentcursohome {padding: 20px;}
.cursolinkhome {text-decoration: none!important; color: #f0a954!important;}
.cursolinkhome h2 {font-weight: bold!important; font-size: 22px!important; color: #333;}

.containerhome {display: inline;}
.homeleft {float: left; width: 20%; margin-top: 52px;}
.homeleftintern {box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px; margin-right: 20px; padding: 20px 0px;}
.homeleftintern ul {list-style: none; padding: 0 20px;}
.homeright {float: left; width: 80%;}
.homeleftintern li {border-bottom: 1px solid #c7c7c7; padding: 10px 0;}

@media screen and (max-width: 1024px) {
  .homeleft, .homeright {width: 100%!important; margin-bottom: 40px;}
}

.cursosbadge {
  height: 28px;
  color: #fff;
  padding-left: 20px;
  font-size: 18px;
  text-transform: uppercase;
}

.cursosbadge.taller {
  background-color: #007bff;
}

.cursosbadge.curs {
  background-color: #f0a954;
}

.cursosbadge.ocupacional {
  background-color: #007bff;
}

.cursosbadge.ocupabilitat {
  background-color: #66b970;
}

.cursosbadge.competencies {
  background-color: #db5d5d;
}

.cursosbadge.joves {
  background-color: #333;
}


.inactiufrontend .cursohome-bg-image {opacity: .5;}

.actiuinactiu {
  background-color: #f0a954!important;
  padding: 10px;
  opacity: 1!important;
  float: right;
  color: #fff;
  border-radius: 0 0 0 5px;
}

.actiuinactiu a {
  color: #fff;
}

.inactiufrontend .actiuinactiu {background-color: #999!important;}


/* CURSO VIEW FRONT */

.cursoview {display: flex;}
.contentcursoview {
  width: 70%;
  padding: 40px;
}

.contentcursoview.viewnoticia {width: 100%!important;}

.contentcursosidebar {width: 30%; padding-left: 20px!important; margin-top: 64px;}

@media screen and (max-width: 1024px) {
  .contentcursoview, .contentcursosidebar {width: unset!important;}
}

.contentcursoview h2 {margin-bottom: 30px;}

.mainimagecursdiv {margin-bottom: 20px;}
.mainimagecursdiv img {max-width: 100%;}

.imatgecurssidebar {width: 100%!important; max-width: 150px!important;}
.divimatgesidebar {float: left; width: 40%;}
.divcontentsidebar {float: left; width: 60%; padding-left: 10px!important}
.botoinscripcio {
  background: #f0a954;
  max-width: 300px;
  margin: auto;
  text-align: center;
  padding: 10px 0;
}

.botoinscripcio a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.contentcursoview h4 {
  color: #f0a954;
  font-weight: bold;
}

.contentcursoview h4:not(:first-child) {
  padding: 30px 0 10px 0;
}



.cursheader {
  display: flex;
  background: #6e6e6e;
  /*padding: 10px;*/
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .cursheader {display: block!important;}
  .imagecursheader {text-align: center!important;}
}

.imagecursheader {
  /*width: 30%;*/
}

.imagecursheader img {
  max-width: 300px;
}

.titolcursheader {
  min-width: 70%;
  padding: 20px 20px;
  text-align: center;
  color: #fff;
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  .titolcursheader {min-width: unset!important;}
}

.titolcursheader h1 {
  font-weight: bold;
  font-size: 26px;
}

.capitalize {text-transform: capitalize;}

.datatablesalunos {display: flex; padding-right: 10px; float: right;  margin: -30px 0 10px 0;}
.datatablesalunos .form-control {width: 150px; float: left!important; margin: -11px 5px 0 5px; height: 35px;}

/* ANIMAR CURSOS HOME */
.animate {
  animation-duration: 0.5s;
  animation-name: animate-fade;
  animation-delay: 0.5s;
  animation-fill-mode: backwards;
}
    
@keyframes animate-fade {
    0% { opacity: 0; }
  100% { opacity: 1; }
}


.animate.pop {
  animation-name: animate-pop;
  animation-timing-function: cubic-bezier(.26,.53,.74,1.0);
}

@keyframes animate-pop {
  0% {
    opacity: 0;
    transform: scale(0.5, 0.5);
  }
        
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

.delay-0 {
  animation-delay: 0s;
}

.delay-1 {
  animation-delay: 0.1s;
}
    
.delay-2 {
  animation-delay: 0.2s;
}
    
.delay-3 {
  animation-delay: 0.3s;
}

/* END ANIMAR CURSOS HOME */

/* MAIN FOOTER */

.mainfooter {background: #f0a954; padding: 20px;}
.mainfooter img {float: right; max-width: 250px}
.py-0 {min-height: calc(100vh - 288px);}

/* END MAIN FOOTER */


/* ADMIN BREADCRUMB */

.breadcrumb {
  list-style: none;
  border-radius: 4px;
  float: right;
}
.breadcrumb > li {
  display: inline-block;
}
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #ccc;
  content: "/\00a0";
}
.breadcrumb > .active {
  color: #777;
}

/* END ADMIN BREADCRUMB */


/* CALENDARIO */

.modal-dialog {
  width: 90%!important;
  max-width: 800px!important;
  margin: 10px auto!important;
}

.modal-header {
  color: #fff;
}

.modal-header.curs {background-color: #f0a954!important;}
.modal-header.taller {background-color: #007bff!important;}

.modificarcita a {color: #fff!important}

.fc-v-event, .fc-event {
  /*background-color: #f0a954!important;*/
  border: 0px solid #ffffff00 !important;
  padding: 10px;
  color: #fff;
}

.fc-timegrid-event, .fc-timegrid-more-link {
  font-size: 1em!important;
}

.calcolors {
  width: 100px;
  height: 30px;
  border: 1px solid #000;
  display: inline-flex;
  margin-right: 10px;
  display:table-cell;
  vertical-align:middle;
  text-align: center;
  color: #fff;
}

.event_filter_wrapper.colorcurs {background: #f0a954!important;}
.event_filter_wrapper.colortaller {background: #007bff!important;}
.event_filter_wrapper.colororientacio {background: green!important;}
.event_filter_wrapper.colortreball {background: #000!important;}

/*.filter-cal-admin {float: right;}*/

.event_filter_wrapper {
  display: inline-table!important;
  width: auto!important;
  min-width: 100px!important;
  height: 40px!important;
  color: #fff!important;
  padding: 10px!important;
  border-radius: 3px!important;
}

.event_filter_wrapper label {
  margin-left: 10px!important;
}

.event_filter_wrapper input[type="checkbox"] {
  width: 20px!important;
  height: 20px!important;
  vertical-align: middle!important;
  /*outline: 1px solid #6aa5e5!important;*/
}

.event_filter_wrapper input[type="checkbox"] {accent-color: #ececec!important;}

/* END CALENDARIO */

/* RECAPTCHA */
/*.grecaptcha-badge {display: none;}*/

/* FORM INSCRIPCIO */

.form-group {margin-bottom: 20px;}
.conegutradios input {margin: 0 6px 0 20px; display: inline-flex;}

.form-group:has(input[required]) label:after,
.form-group:has(select[required]) label:after,
.form-group:has(email[required]) label:after {
  content: '*';
  margin: .1em;
  padding: .1em;
  color: #ff0000;  
}


input:focus:required:invalid:not(.form-check-input),
textarea:focus:invalid:not(.form-check-input),
select:focus:required:invalid:not(.form-check-input),
email:focus:required:invalid:not(.form-check-input) { background-color: pink!important;}

input:required:valid:not(.form-check-input),
textarea:valid:not(.form-check-input):not(:placeholder-shown),
select:required:valid:not(.form-check-input),
email:required:valid:not(.form-check-input) { background-color: white!important; color:  #000; font-weight: 600;}


.form-control.is-invalid {
  border:  2px solid #dc3545!important;
}


.picker__select--month, .picker__select--year {
  padding: .3em .5em!important;
}

@media (max-width: 767px) {
  .picker__nav--prev, .picker__nav--next {
    padding: 2.8em .3em!important;
  }
  .picker__select--year,
  .picker__select--month {
    width: auto!important;
  }
}

.picker__nav--prev, .picker__nav--next {
    padding: 2.5em .3em!important;
  }

.picker__header:before {
  content: 'Data de naixement';
  display: block!important;
  margin: 20px auto!important;
}


/* END FORM INSCRIPCIO */

/* OFERTAS  */

.afegiroferta {
  background: #f0a954;
  max-width: 300px;
  margin: auto;
  text-align: center;
  padding: 10px 0;
}

.afegiroferta a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.afegiroferta a:hover {
  color: #333;
}

.bg-publicaroferta {
  background: #e1e1e1;
  padding: 30px;
}

/* NO USADO - BORRAR */

.ofertashome-block {
  width: 100%;
}

.ofertashome-block-intern {
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  background: #ececec;
  padding: 0px;
}

.ofertashome-block-intern.ofertashometableheader {
  background: #f0a954;
  color: #fff;
  font-weight: bold;
}

.contentofertashome {
  display: inline-flex;
  width: 100%;
}

.contentofertashome div {
  width: 35%!important;
  border-right: 2px solid #fff;
  padding: 10px 10px 5px 20px;
  vertical-align: middle;
}

.contentofertashome div:nth-child(1),
.contentofertashome div:nth-child(4),
.contentofertashome div:nth-child(5) {
  width: 10%!important;
  min-width: 140px;
}

/* NO USADO - BORRAR */

.ofertaslinkhome {
  text-decoration: none!important;
}

.ofertaslinkhome:hover {
  color: #000!important;
}

.ofertaslinkhome h2 {
  font-size: unset!important;
}

#tablaofertas th,
.tablaestiloofertas th {
  background: #f0a954!important;
  color: #fff;
  font-weight: normal;
}

#tablaofertas th,
#tablaofertas td,
.tablaestiloofertas th,
.tablaestiloofertas td {
  border-color: #fff!important;
  border-width: 1px!important;
}

.datatablesofertas {display: flex; float: right; margin-bottom: 10px;}
.datatablesofertas .form-control {width: 150px; float: left!important; margin-top: -3px; height: 35px;}
.datatablesofertas .dataTables_filter {margin-right: 10px;}

#tablaofertas_paginate a {margin: 0 10px;}

#tablaofertas p {margin-bottom: 0!important;}

/* END OFERTAS  */

/* ACCOUNT - EL MEU COMPTE */

#accountinfo,
#curriculum {display: flex;}

.tablabordersaccount tr td:first-of-type {border-right: 1px solid #d7d7d7!important;}

.tablabordersaccount table {border: 1px solid #d7d7d7!important;}

#editbutton {
  background: #f0a954;
  max-width: 300px;
  margin: auto;
  text-align: center;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 0;
  padding: 10px 20px;
}

#myform {display: inline-flex;}

#editprofile,
#accountinfo {margin-top: 40px;}

#editprofile .col-md-6 {padding-right: 40px;}

.inlinebuttons {display: flex;}

.cancelformbutton {
  width: 200px !important;
  height: 50px !important;
  margin: 10px 10px 0 0;
}

.chosen-container {width: 300px!important;}


/* END ACCOUNT - EL MEU COMPTE */


/* BORSA DE TREBALL */

.upperclass {
  text-transform: capitalize;
}

/* END BORSA DE TREBALL */


/* NOTICIAS */

.noticiascontainer {background: #fff; border: 1px solid #000;}

.noticiasheader {
  display: flex;
  background: #fff;
  margin-top: 20px;
  border: 1px solid #ececec;
}

.imagenoticiasheader img {
  max-width: 300px;
}

.titolnoticiasheader {
  min-width: 70%;
  padding: 30px 20px;
  text-align: center;
  color: #000;
  font-size: 18px;
}

.fechanoticiasheader {
  text-align: right;
  font-size: 16px;
}

.titolnoticiasheader h1 {
  font-weight: bold;
  font-size: 26px;
}

/* END NOTICIAS */

/* LEGAL MENU */

.legalmenu,
.legalmenu a {
  color: #fff;
}

.legalmenu {padding-top: 10px;}

.legalmenu a:hover {
  color: #333;
}

/* END LEGAL MENU */

.contacte span {
  display: block;
  font-style: italic;
  font-size: 14px;
  margin-bottom: 20px;
}

.contacte {line-height: 40px;}

/*.fc-content td:hover{background: #adf4fa;}*/

/*.fc-non-business {background: #eeeeee!important;}*/

.fc-bg-event {background-color: #ff2e00!important; display: block!important;}

.fc-direction-ltr .fc-timegrid-col-events {margin: 0;}

#calendar3 .fc-event-main {display: none;}

#calendar3 .fc-timegrid-slot {background-color: ;}

.selectaddcitasinformativas option:not(:first-child):disabled {background: #ececec;}

.nav-sidebar .nav-treeview {
    font-size: 14px;
}

[class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:focus, [class*=sidebar-dark-] .nav-treeview>.nav-item>.nav-link.active:hover {
    background-color: #565656!important;
    color: #fff!important;
}

.nav-flat.nav-sidebar>.nav-item .nav-treeview .nav-item>.nav-link, .nav-flat.nav-sidebar>.nav-item>.nav-treeview .nav-item>.nav-link {
    border-left: .3rem solid!important;
    border-left-color: #f0a954!important;
}

.alert {text-align: center;}

.competenciescheckbox input {display: inline!important;}
.competenciescheckbox label {margin-left: 10px!important;}
.competenciescheckbox li {list-style: none!important;}

.registerinlogin {
  padding: 20px 20px 20px 50px;
  margin-left: 50px;
}

.registerinlogin .botoinscripcio {
  margin: 20px!important;
}

.registerinlogin {
  margin-bottom: 20vh!important;
}


/* MAIN MENU RESPONSIVE */

.bg-maincolor {background: #f0a954!important;}

.topnav {
  overflow: hidden;
  background-color: #f0a954;
}

@media screen and (max-width: 1200px){
  .topnav a {border: none!important;}
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #999;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 1200px) {
  .topnav a/*:not(:first-child)*/ {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .ul-redes {display: none!important;}
  /*header {margin-top: 0!important;}*/
  ul.navbar-nav:not(.ul-redes) {display: contents!important;}
  ul.navbar-nav:not(.ul-redes) li {margin-right: 20px!important;}
}

.displaynavbarflex {display: flex!important;}

.floatdreta {float: right; padding: 10px;}

.marginbottom0 {margin-bottom: 0!important;}



/* TOOLTIP COMPETENCIES */


/*DEBUG*/
/*div, section, table, td {border:  2px solid #ff0000!important;}*/