.grfila{
    margin:5px;
    padding-left :1em;
    border: 1px black solid;
}

.grfila.principal{
    border-left: 10px green solid !important;
}

.editable{
    font-weight:bold!important;
    font-size: 2em!important;
    text-decoration:none;
    margin:0.2em;
}

.editable:hover{
  color:orange; 
  text-decoration:none; 
}

 .bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  @media (min-width: 768px) {
    .bd-placeholder-img-lg {
      font-size: 3.5rem;
    }
  }

  .bg-teb {
    background-color: #FFFFFF !important;
    
}  

/*.centered {
  position: fixed;
  top: 25%;
  left: 20%;
  /* bring your own prefixes */
 /* transform: translate(-20%, -20%);   
}*/
    
    body{
      background-color: #FFFFFF !important;/*#EBDFD7;  */
      padding-top: 6.5rem !important;
    }
    
    .tab-pane{background-color: #FFFFFF;}
    .grfila div:first{background-color: #FFFFFF;}
    .dadvis div:first{background-color: #FFFFFF;}

    .navbar-teb {
    background-color: #FFFFFF;/* #6A6A6F #519BDC;*/
    border-bottom: 2px solid #008000;
    
}/* change the brand and text color */
.navbar-teb .navbar-brand,
.navbar-teb .navbar-text {
    color: rgba(0,0,0,.8);
}/* change the link color */
.navbar-teb .navbar-nav .nav-link {
    color: rgba(0,0,0,.5);
}/* change the color of active or hovered links */
.navbar-teb .nav-item.active .nav-link,
.navbar-teb .nav-item:hover .nav-link {
    color: #000000;
}  


.navbar-teb.navbar-toggler {
  border-color: rgb(255,255,255);
}       

.contingut{
    margin-bottom: 8rem;
}

.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}
.line {
  fill: none;
  stroke: black;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.vlpass{
  display:none;
  background: #f1f1f1;
  color: #000;
  position: relative;
  padding: 20px;
  margin-top: 10px;
}

.invalid {
  color: red;
}

.invalid:before {
  position: relative;
  left: -1px;
  color: red;
  content: "✖";
}
.valid {
  color: green;
}

.valid:before {
  position: relative;
  left: -1px;
  color: green;
  content: "✔";
}

.nav-link.active{
   color:#30A2E1!important;
   font-weight: bolder;
   font-size: 1.2em;
}
.nav-link:hover{
    color: #30A2E1!important;
}

.c_submit_fixed{
    /*position:fixed;*/
    bottom:0;
    left: 0;
    padding:1em;
    width:100%;
    background-color: #FFF;
    border: 1px solid #f1f1f1;
}

.alert{
    margin-bottom: 10px !important;
}

.btn-index{
    height: 80px;
    box-shadow: 1px 1px 10px 0px gray;
    color: #4B95D7 !important;
    font-size: 16pt !important;
}

.btn-pages{
    height: auto;
    box-shadow: 1px 1px 10px 0px gray;
    color: gainsboro !important;
    font-size: 16pt !important;
    margin:1em auto;
    background: #4B95D7 !important;
    width:100%;
    margin
}

.dv-titol{
    /*border-top: 1px solid gray;
    border-bottom: 1px solid gray;*/
    background-color: gainsboro;
    padding: 1em;
    margin-bottom:1em;
}

.dv-list-menu{
    margin:auto;
}


.navbar-toggler:focus{
    box-shadow: 0 0 0 0 !important;
}


/* STRUCTURE */

html {
  /*background-color: #519BDC;*/
  background-color:#79B52F;
}

body {
  font-family: "Poppins", sans-serif;
  /*height: 125vh;   */
}

a {
  /*color: #92badd;*/
  color:#BCDA98;
  display:inline-block;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  display:inline-block;
  margin: 40px 8px 10px 8px; 
  color: #cccccc;
}

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column; 
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 1em;
  padding-top:0em;
}

#formContent {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #fff;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  text-align: center;
}

#formFooter {
  background-color: #f6f6f6;
  border-top: 1px solid #dce8f1;
  padding: 25px;
  text-align: center;
  -webkit-border-radius: 0 0 10px 10px;
  border-radius: 0 0 10px 10px;
}


/* FORM TYPOGRAPHY*/
 
input[type=button], input[type=submit], input[type=reset]  {
  border: none;
  color: white;
  background-color: #0d6efd;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  box-shadow: 0 10px 30px 0 rgba(95,186,233,0.4);
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


input[type=button]:active, input[type=submit]:active, input[type=reset]:active  {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type=text] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #d1d1d1;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}


input[type=text]:placeholder {
  color: #cccccc;
}

textarea{
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: 85%;
  border: 2px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
}

textarea:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

textarea:placeholder {
  color: #cccccc;
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fadeIn {
  opacity:0;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:1s;
  -moz-animation-duration:1s;
  animation-duration:1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #519BDC;
  content: "";
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after{
  width: 100%;
}

*:focus {
    outline: none;
} 


/* Calendari Treballador */
.titol-pantalla{
    margin:auto; 
    display:block;
    text-align:center;
    padding:10px;
}
.list-tasques{
    padding-left: 0em;
}

.horaris_treb{
    margin-bottom: 0.5em;
}
.horaris_treb li{
    list-style-type: none;
    padding: 10px 0px;
} 

.list-tasques li{
    /*background-color: rgba(128, 255, 128, 0.4);*/
    list-style-type: square;
}

.list-tasques span{
    text-decoration: underline;
}

.list-tasques li span{
    margin-left:5px;
    text-decoration: none;
}

.tasca-vacances{
    text-transform:uppercase;
    background:linear-gradient(90deg,#FFD700,#E6E6FA);
    margin-top:10px;
}
.tasca-vacances span{
    margin-left: 5px;
}
.card-calendari {
  background: #fff;
  padding: 1em;
  width:100%;
  position: relative;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
  box-shadow: 0 30px 60px 0 rgba(0,0,0,0.3);
} 

div.error{
    width: 100%;
    border: 2px solid black;
    background-color: #FF6347;
    padding:1em;
    text-align:center;    
}

.slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

.slider_value{
    background-color: #abcabc;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border: 1px solid gray;
}

.modal-info{
    width:90%;
    display:none;
    background-color:#fff;
    margin:auto;
    left:0;
    right:0;
    position: absolute; 
    z-index:1000;
    padding: 0.5em;
    font-size: 10pt;
}
/*
.modal-info .bt-modal-close{
  bottom: 0;
  right: 0;
  position: absolute;
  margin-right: 1em;
  margin-bottom: 1em;
}

*/
#dv_add_nota{
  width: 90%;
  position: absolute;
  z-index: 1100;
  background-color: #fff;
  left: 0;
  margin: 5%;
  top: 0;
  padding: 2em;
  border: 2px solid blue;
}

#dv_notes{
    text-align: center;
}

.c_link_card{
    color: black;
    width:100%;
    text-decoration:none;    
}

.c_link_card:hover{
    color: black;   
    text-decoration:none;    
}

/* Slider switch */
.switch input
{
  display: none;
}

.switch 
{
  display: inline-block;
  width: 45px; /*=w*/
  height: 15px; /*=h*/
  margin: 4px;
  /*transform: translateY(50%);*/
  position: relative;
}

.slider
{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 30px;
  box-shadow: 0 0 0 2px #777, 0 0 4px #777;
  cursor: pointer;
  border: 4px solid transparent;
  overflow: hidden;
  transition: 0.2s;
}

.slider:before
{
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #777;
  border-radius: 15px;
  transform: translateX(-55%); /*translateX(-(w-h))*/
  transition: 0.2s;
}

input:checked + .slider:before
{
  transform: translateX(55%); /*translateX(w-h)*/
  background-color: limeGreen;
}

input:checked + .slider
{
  box-shadow: 0 0 0 2px limeGreen, 0 0 8px limeGreen;
}

.switch200 .slider:before
{
  width: 200%;
  transform: translateX(-82px); /*translateX(-(w-h))*/
}

.switch200 input:checked + .slider:before
{
  background-color: red;
}

.switch200 input:checked + .slider
{
  box-shadow: 0 0 0 2px red, 0 0 8px red;
}