﻿/* Sticky footer styles
-------------------------------------------------- */

html, body {
    height: 100%; /* The html and body elements cannot have any padding or margin. */
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%; /* Negative indent footer by its height */
    margin: 0 auto -110px; /* Pad bottom by footer height */
    padding: 0 0 110px;
}

/* Set the fixed height of the footer here */
footer {
    height: 110px;
    background-color: #222222;
    background-image: linear-gradient(to bottom, #3C3C3C 0px, #222222 100%);
    background-repeat: repeat-x;
}

    footer a {
        color: #999;
    }

        footer a:hover {
            color: #fff;
            text-decoration: none;
        }

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

#wrap > .container {
    padding: 60px 15px 20px;
}

.navbar-inverse .navbar-brand,
.navbar-inverse .navbar-nav > li > a {
    color: white;
}

    .navbar-inverse .navbar-nav > li > a:hover,
    .navbar-inverse .navbar-nav > li > a:focus {
        color: #aaaaaa;
    }

.container .credit {
    margin: 20px 0;
}

#footer > .container {
    padding-left: 15px;
    padding-right: 15px;
}

code {
    font-size: 80%;
}

kbd {
    font-size: 90%;
}

samp {
    font-size: 90%;
}

/* Tables */

table.table td.num-udg {
    width: 6em;
}

table.table td.nom-usuari {
    text-transform: capitalize;
    width: 14em;
}

table.llistat {
    margin-top: 10px;
}

.nom-estudiant {
    text-transform: capitalize;
}

table td.estudiant-estat {
    width: 19em;
}

table td.estudiant-data-ins {
    width: 12em;
}

table td.botonera {
    min-width: 4.5em;
}

table td.actions {
    width: 2em;
}

/* Forms */
/*
.help-inline
{
    margin-bottom: 10px; / group margin fix /
}
*/

span.required {
    color: #ff0000;
    font-weight: bold;
}

label.required:after {
    color: #ff0000;
    content: " *";
}

.estat {
    cursor: pointer;
}

/*
body {
    padding-top: 50px;
    padding-bottom: 20px;
}
*/

/* Set padding to keep content from hitting the edges */
/*
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
*/

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

/* styles for validation helpers */
/*.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}*/

.form-inline .form-group {
    margin-right: 1.5em;
}

select[multiple].tall-multiselect {
    height: 150px;
}

.filtres .row {
    margin-bottom: 1em;
}

    .filtres .row:last-child {
        margin-bottom: 0;
    }

.filtres label {
    margin-right: .5em;
}

.grid-pager {
    text-align: center;
}

.tab-content > .tab-pane {
    padding: 2em 0;
}

.number-input {
    width: 10em;
}

.date-input {
    width: 8em;
}

/* Badges */

.badge-default {
    background-color: #428bca;
}

.badge-warning {
    background-color: #ec971f;
}

.badge .glyphicon {
    color: #fff;
}

/* Angular UI Bootstrap */

.nav, .pagination, .carousel, .panel-title a {
    cursor: pointer;
}

/* Login buttons */

.btn-login {
    width: 100%;
    margin-bottom: .25em;
}

    .btn-login .glyphicon {
        float: left;
    }

/* Animacions assignació automàtica */
.assig {
    -moz-animation: bounceInUp 1s;
    -o-animation: bounceInUp 1s;
    -webkit-animation: bounceInUp 1s;
    animation: bounceInUp 1s;
}

    .assig.ng-hide {
        opacity: 0;
    }

table tr.disabled {
    color: #ccc;
}

table td.pes {
    width: 5em;
}

table td.nota {
    width: 3.5em;
}

.inp-obs-edit {
    width: 54em !important;
}

ul.blocs-avaluacio {
    padding-left: 0;
}

    ul.blocs-avaluacio,
    ul.blocs-avaluacio ul {
        list-style-type: none;
    }


/* Parsley Styles */

.parsley-errors-list {
    list-style: none;
    padding-left: 3px;
    color: red;
}

.parsley-error {
    border-color: red;
}


/* BOOTSTRAP FIXES*/

.no-border, border-0 {
    border: 0;
}

.form-control.no-border {
    border: 0;
    box-shadow: none;
}

div[id^="react-autowhatever"] > ul {
    padding: 0;
    margin: 0;
}

    div[id^="react-autowhatever"] > ul > li {
        list-style: none;
        border-bottom: solid 1px #eee;
        padding: 1px 10px 4px;
    }

.p-1 {
    padding: 0.5rem;
}

border-top {
    border-top: 1px solid #ddd;
}

.bg-light {
    background-color: #f2f2f2;
}


/* Draft-WYSIWIG*/

.public-DraftStyleDefault-block,
.public-DraftStyleDefault-ol,
.public-DraftStyleDefault-ul {
    margin: .4em 0 !important;
}

.demo-editor.rdw-editor-main {
    margin: 0 1em !important;
}

#formModel .demo-editor.rdw-editor-main {
    height: 350px;
    margin: 0 !important;
    padding: 0 1em;
}

.rdw-editor-component {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
}
.parsley-error ~ .rdw-editor-component {
    border-color:red;
}
    .rdw-editor-component .view-control {
        position: absolute;
        z-index: 1;
        width: calc(100% - 1px);
        bottom: 1px;
    }

    .rdw-editor-component .rdw-editor-wrapper {
        padding-bottom: 30px;
    }


/* DateTime */
.rdtPicker {
    top: 33px;
}


/* Loading Spinner */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: opacity 0.5s ease-out 0s;
}

    .overlay.cloak {
        opacity: 0;
        z-index: -1;
    }

    .overlay .loader {
        display: inline-block;
        position: absolute;
        width: 64px;
        height: 64px;
        top: 50%;
        margin-top: -32px;
        left: 50%;
        margin-left: -32px;
    }

        .overlay .loader div {
            animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
            transform-origin: 32px 32px;
        }

            .overlay .loader div:after {
                content: " ";
                display: block;
                position: absolute;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background: #666;
                margin: -3px 0 0 -3px;
            }

            .overlay .loader div:nth-child(1) {
                animation-delay: -0.036s;
            }

                .overlay .loader div:nth-child(1):after {
                    top: 50px;
                    left: 50px;
                }

            .overlay .loader div:nth-child(2) {
                animation-delay: -0.072s;
            }

                .overlay .loader div:nth-child(2):after {
                    top: 54px;
                    left: 45px;
                }

            .overlay .loader div:nth-child(3) {
                animation-delay: -0.108s;
            }

                .overlay .loader div:nth-child(3):after {
                    top: 57px;
                    left: 39px;
                }

            .overlay .loader div:nth-child(4) {
                animation-delay: -0.144s;
            }

                .overlay .loader div:nth-child(4):after {
                    top: 58px;
                    left: 32px;
                }

            .overlay .loader div:nth-child(5) {
                animation-delay: -0.18s;
            }

                .overlay .loader div:nth-child(5):after {
                    top: 57px;
                    left: 25px;
                }

            .overlay .loader div:nth-child(6) {
                animation-delay: -0.216s;
            }

                .overlay .loader div:nth-child(6):after {
                    top: 54px;
                    left: 19px;
                }

            .overlay .loader div:nth-child(7) {
                animation-delay: -0.252s;
            }

                .overlay .loader div:nth-child(7):after {
                    top: 50px;
                    left: 14px;
                }

            .overlay .loader div:nth-child(8) {
                animation-delay: -0.288s;
            }

                .overlay .loader div:nth-child(8):after {
                    top: 45px;
                    left: 10px;
                }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.blurred {
    filter: blur(2px);
}

@-webkit-keyframes spin {
    0%, 100% {
        box-shadow: 10px 10px #4f4d49, -10px 10px #dfdfdf, -10px -10px #4f4d49, 10px -10px #dfdfdf;
    }

    25% {
        box-shadow: -10px 10px #dfdfdf, -10px -10px #4f4d49, 10px -10px #dfdfdf, 10px 10px #4f4d49;
    }

    50% {
        box-shadow: -10px -10px #4f4d49, 10px -10px #dfdfdf, 10px 10px #4f4d49, -10px 10px #dfdfdf;
    }

    75% {
        box-shadow: 10px -10px #dfdfdf, 10px 10px #4f4d49, -10px 10px #dfdfdf, -10px -10px #4f4d49;
    }
}

.redux-toastr .bottom-center {
    left: 5vw !important;
    margin-left: 0 !important;
    width: 95vw !important;
}

.mr-3{margin-right:15px;}
