/* CSS Estil */

body {
    background-color: #d6d6c2;
    background-image: url("https://www.transparenttextures.com/patterns/purty-wood.png");
    /* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
    font-family: 'Ubuntu', sans-serif;
}


/* HR Formulari Afegir */

.hr-radios {
    margin-top: 0.2em;
    margin-bottom: 0.1em;
}

.div-afegir {
    background-color: rgb(153, 179, 255, 0.5);
}

.taula-alumnes {
    white-space: nowrap;
    font-size: 14px;
    vertical-align: middle;
}


/* CALENDARI */

.calendar-contain {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, "Helvetica Neue", sans-serif;
    position: relative;
    left: 0;
    right: 0;
    border-radius: 0;
    width: 100%;
    overflow: hidden;
    max-width: 100%;
    /*min-width: 400px;*/
    margin: 1rem auto;
    background-color: #f5f7f6;
    box-shadow: 5px 5px 72px rgba(30, 46, 50, 0.5);
    color: #040605;
}

@media screen and (min-width: 55em) {
    .calendar-contain {
        margin: auto;
        top: 5%;
    }
}

.title-bar {
    width: 100%;
    display: table;
    text-align: center;
    background: #f5f7f6;
    padding: 0.5rem;
    margin-bottom: 0;
}

@media screen and (min-width: 55em) {
    .title-bar {
        float: right;
        width: 70%;
        text-align: center;
        background: #f5f7f6;
        padding: 0.5rem;
        margin-bottom: 0;
    }
}

.title-bar:after {
    display: table;
    clear: both;
}

.title-bar__prev {
    position: relative;
    float: left;
    text-align: left;
    cursor: pointer;
    width: 25px;
    height: 30px;
    font-size: 30px;
}


/*
.title-bar__prev:after {
    content: "";
    display: inline;
    position: absolute;
    width: 14px;
    height: 14px;
    right: 0;
    left: 2px;
    top: 7px;
    margin: auto;
    border-top: 1.5px solid black;
    border-right: 1.5px solid black;
    -webkit-transform: rotate(224deg);
    transform: rotate(224deg);
}
*/

.title-bar__next {
    position: relative;
    float: right;
    text-align: right;
    cursor: pointer;
    width: 25px;
    height: 30px;
    font-size: 30px;
}


/*
.title-bar__next:after {
    content: "";
    display: inline;
    position: absolute;
    width: 14px;
    height: 14px;
    right: 2px;
    top: 7px;
    margin: auto;
    border-top: 1.5px solid black;
    border-right: 1.5px solid black;
    -webkit-transform: rotate(44deg);
    transform: rotate(44deg);
}
*/

.title-bar__year {
    /*
  position: relative;
  float: left;
*/
    font-size: 1rem;
    line-height: 30px;
    padding: 0 0.5rem;
    text-align: center;
}

.title-bar__year select {
    padding: 2px 6px;
    font-size: 16px;
}

.title-bar__month {
    /*
  position: relative;
  float: left;
*/
    font-size: 1rem;
    line-height: 30px;
    padding: 0 0.5rem;
    text-align: center;
}

.title-bar__month select {
    padding: 2px 6px;
    font-size: 16px;
}

.calendar__sidebar {
    width: 100%;
    margin: 0 auto;
    float: none;
    background: linear-gradient(120deg, #eff3f3, #e1e7e8);
    padding-bottom: 0.7rem;
}

@media screen and (min-width: 55em) {
    .calendar__sidebar {
        position: absolute;
        height: 100%;
        width: 30%;
        float: none;
        margin-bottom: 0;
    }
}

.calendar__sidebar .content {
    padding: 1.5rem 1.2rem 2rem 2rem;
    color: #040605;
}

.sidebar__list {
    list-style: none;
    margin: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -10px;
}

.sidebar__list-item {
    margin: 1 rem 0;
    color: #141f1a;
    font-weight: 300;
    font-size: 1rem;
}

.list-item__time {
    display: inline-block;
    /*width: 60px;*/
}

@media screen and (min-width: 55em) {
    .list-item__time {
        margin-right: 1rem;
    }
}

.sidebar__list-item--complete {
    color: #330000;
}

.sidebar__list-item--complete .list-item__time {
    color: rgba(4, 6, 5, 0.3);
}

.sidebar__heading {
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.sidebar__heading span {
    float: right;
    font-weight: 300;
}

.calendar__heading-highlight {
    color: #2d444a;
    font-weight: 900;
}

.calendar__days {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column wrap;
    -webkit-box-align: stretch;
    align-items: stretch;
    width: 100%;
    float: none;
    margin-right: 10px;
    min-height: 420px;
    height: 100%;
    font-size: 11px;
    padding: 0.8rem 0.5rem 1rem 0.5rem;
    background: #f5f7f6;
}

@media screen and (min-width: 55em) {
    .calendar__days {
        width: 69%;
        float: right;
        margin-right: 10px;
    }
}

.calendar__top-bar {
    display: -webkit-box;
    display: flex;
    -webkit-box-flex: 32px;
    flex: 32px 0 0;
}

.top-bar__days {
    width: 100%;
    padding: 0 5px;
    color: #2d4338;
    font-weight: 100;
    -webkit-font-smoothing: subpixel-antialiased;
    font-size: 18px;
}

.calendar__week {
    display: -webkit-box;
    display: flex;
    -webkit-box-flex: 1;
    flex: 1 1 0;
}

.calendar__day {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    width: 98%;
    padding: 0.5rem 0.2rem 0.2rem;
    cursor: pointer;
    background-color: #e0ebeb;
    border: 1px solid #d6d6c2;
}

.calendar__day.event .calendar__date,
.calendar__day.event .calendar__task {
    color: #4285f4;
}

.calendar__date {
    color: #040605;
    font-size: 14px;
    font-weight: 600;
    line-height: 0.7;
}

@media screen and (min-width: 55em) {
    .calendar__date {
        font-size: 14px;
    }
}

.calendar__week .inactive .calendar__date,
.calendar__week .inactive .task-count {
    color: #c6c6c6;
}

.calendar__week .today .calendar__date {
    color: #cc0000;
}

.calendar__task {
    color: #040605;
    display: -webkit-box;
    display: flex;
    font-size: 10px;
}

@media screen and (min-width: 55em) {
    .calendar__task {
        font-size: 11px;
    }
}

.calendar__task.calendar__task--today {
    color: #cc0000;
}

.calendar-select {
    padding: 8px 8px;
    border: none;
    border-radius: 4px;
    background-color: #b3b3b3;
}


/* CheckMark */

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 2% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill_check .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}


/* Error Mark */

.errormark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #ff3333;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.errormark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 5% auto;
    box-shadow: inset 0px 0px 0px #ff3333;
    animation: fill_error .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.errormark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none
    }

    50% {
        transform: scale3d(1.1, 1.1, 1)
    }
}

@keyframes fill_check {
    100% {
        box-shadow: inset 0px 0px 0px 30px #7ac142
    }
}

@keyframes fill_error {
    100% {
        box-shadow: inset 0px 0px 0px 30px #ff3333
    }
}


/* LOGIN */

.login-dark {
    height: auto;
    background-size: cover;
    /*position: relative;*/
}

.login-dark form {
    max-width: 450px;
    width: 90%;
    background-color: #1e2833;
    padding: 50px;
    border-radius: 4px;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.2);
}

.login-dark .illustration {
    text-align: center;
    padding: 10px 0 5px;
    font-size: 50px;
    color: #fa6216;
}

.login-dark form .form-control {
    background: none;
    border: none;
    border-bottom: 1px solid #434a52;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    color: inherit;
}

.login-dark form .btn-primary {
    background: #fa6216;
    border: none;
    border-radius: 4px;
    padding: 11px;
    box-shadow: none;
    margin-top: 26px;
    text-shadow: none;
    outline: none;
}

.login-dark form .btn-primary:hover,
.login-dark form .btn-primary:active {
    background: #fa6216;
    outline: none;
}

.login-dark form .btn-primary:active {
    transform: translateY(1px);
}

.login-dark input[type=text] {
    width: 80%;
    margin: 0 auto;
}

.login-dark input[type=password] {
    width: 80%;
    margin: 0 auto;
}


/* SOMBRES */

.sombra4dp {
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2)
}

.credits {
    position: absolute;
    bottom: 15px;
    left: 0px;
    width: 100%;
    font-size: 14px;
}


/* Animated Icon 2*/

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.animated-icon2 {
    width: 30px;
    height: 20px;
    position: relative;
    margin: 0px;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.animated-icon2 span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

.animated-icon1 span {
    background: #e65100;
}

.animated-icon2 span {
    background: #e3f2fd;
}

.animated-icon3 span {
    background: #f3e5f5;
}

.animated-icon2 span:nth-child(1) {
    top: 0px;
}

.animated-icon2 span:nth-child(2),
.animated-icon2 span:nth-child(3) {
    top: 10px;
}

.animated-icon2 span:nth-child(4) {
    top: 20px;
}

.animated-icon2.open span:nth-child(1) {
    top: 11px;
    width: 0%;
    left: 50%;
}

.animated-icon2.open span:nth-child(2) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.animated-icon2.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.animated-icon2.open span:nth-child(4) {
    top: 11px;
    width: 0%;
    left: 50%;
}

.checkbox-wrapper-1 *,
.checkbox-wrapper-1 ::after,
.checkbox-wrapper-1 ::before {
    box-sizing: border-box;
}

.checkbox-wrapper-1 [type=checkbox].substituted {
    margin: 0;
    width: 0;
    height: 0;
    display: inline;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.checkbox-wrapper-1 [type=checkbox].substituted+label:before {
    content: "";
    display: inline-block;
    vertical-align: top;
    height: 1.15em;
    width: 1.15em;
    margin-right: 0.6em;
    color: rgba(0, 0, 0, 0.275);
    border: solid 0.06em;
    box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em inset, 0 0 0 0.07em transparent inset;
    border-radius: 0.2em;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="white" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>') no-repeat center, white;
    background-size: 0;
    will-change: color, border, background, background-size, box-shadow;
    transform: translate3d(0, 0, 0);
    transition: color 0.1s, border 0.1s, background 0.15s, box-shadow 0.1s;
}

.checkbox-wrapper-1 [type=checkbox].substituted:enabled:active+label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:enabled+label:active:before {
    box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset;
    background-color: #f0f0f0;
}

.checkbox-wrapper-1 [type=checkbox].substituted:checked+label:before {
    background-color: #3B99FC;
    background-size: 0.75em;
    color: rgba(0, 0, 0, 0.075);
}

.checkbox-wrapper-1 [type=checkbox].substituted:checked:enabled:active+label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:checked:enabled+label:active:before {
    background-color: #0a7ffb;
    color: rgba(0, 0, 0, 0.275);
}

.checkbox-wrapper-1 [type=checkbox].substituted:focus+label:before {
    box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset, 0 0 0 3.3px rgba(65, 159, 255, 0.55), 0 0 0 5px rgba(65, 159, 255, 0.3);
}

.checkbox-wrapper-1 [type=checkbox].substituted:focus:active+label:before,
.checkbox-wrapper-1 [type=checkbox].substituted:focus+label:active:before {
    box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(0, 0, 0, 0.1) inset, 0 0 0 3.3px rgba(65, 159, 255, 0.55), 0 0 0 5px rgba(65, 159, 255, 0.3);
}

.checkbox-wrapper-1 [type=checkbox].substituted:disabled+label:before {
    opacity: 0.5;
}

.checkbox-wrapper-1 [type=checkbox].substituted.dark+label:before {
    color: rgba(255, 255, 255, 0.275);
    background-color: #222;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="rgba(34, 34, 34, 0.999)" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>');
}

.checkbox-wrapper-1 [type=checkbox].substituted.dark:enabled:active+label:before,
.checkbox-wrapper-1 [type=checkbox].substituted.dark:enabled+label:active:before {
    background-color: #444;
    box-shadow: 0 0 0.04em, 0 0.06em 0.16em -0.03em transparent inset, 0 0 0 0.07em rgba(255, 255, 255, 0.1) inset;
}

.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked+label:before {
    background-color: #a97035;
    color: rgba(255, 255, 255, 0.075);
}

.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked:enabled:active+label:before,
.checkbox-wrapper-1 [type=checkbox].substituted.dark:checked:enabled+label:active:before {
    background-color: #c68035;
    color: rgba(0, 0, 0, 0.275);
}