body {
    /*font-family: 'Roboto', sans-serif;*/
    font-weight: 100;
    margin-top: 120px;
}

/* TEST MICH FOOTER*/
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.container {
    position: relative;
    min-height: 100%;
    position: relative;
    padding-bottom: 150px;

}

.toolbar, .toolbar a {
    font-size: 11px;
}


footer {
    width: 100%;
    height: 150px;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* FINE TEST MICH FOOTER*/


.content_home {
    /*margin-top: 220px; XXXX todo disattivato per far funzionare le tabelle nella vecchia modalità*/
}

/* Sostituto perché in mobile le scritte venivano sovraesposte (vedi sotto)*/
/*h2.box_title {*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    border-bottom: 1px solid #ebebeb;*/
/*    !*line-height: 0.1em;*!*/
/*    margin: 70px 0 40px;*/
/*}*/

/*h2.box_title span {*/
/*    background: #fff;*/
/*    padding: 0 10px;*/
/*}*/

/* Titolo con riga a metà scritta */
.box_title {
    overflow: hidden;
    text-align: center;
    margin: 70px 0 40px;
}

.box_title:before,
.box_title:after {
    background-color: #ebebeb;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.box_title:before {
    right: 0.5em;
    margin-left: -50%;
}

.box_title:after {
    left: 0.5em;
    margin-right: -50%;
}


/* Linea dietro il titolo del menu strumenti TODO modificare h4 in class*/
/*h4.background {*/
/*    position: relative;*/
/*    z-index: 1;*/
/*}*/

/*h4.background:before {*/
/*    border-top: 1px solid #dfdfdf;*/
/*    content: "";*/
/*    margin: 0 auto; !* this centers the line to the full width specified *!*/
/*    position: absolute; !* positioning must be absolute here, and relative positioning must be applied to the parent *!*/
/*    top: 50%;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    width: 95%;*/
/*    z-index: -1;*/
/*}*/

/*h4>span {*/
/*    !* to hide the lines from behind the text, you have to set the background color the same as the container *!*/
/*    background: #fff;*/
/*    padding: 0 15px;*/
/*}*/
.background_title_menu {
    overflow: hidden;
    text-align: center;
    /*margin: 70px 0 40px;*/
}

.background_title_menu:before,
.background_title_menu:after {
    background-color: #ebebeb;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.background_title_menu:before {
    right: 0.5em;
    margin-left: -50%;
}

.background_title_menu:after {
    left: 0.5em;
    margin-right: -50%;
}


.navbar {
    position: fixed;
    height: 60px;
    line-height: 60px;
    border: 1px solid transparent;
    border-radius: 0px;
    border: 0;
    padding: 0 15px;
}


.navbar-header h3 {
    color: #ffffff;
    line-height: 60px;
    margin: 0;
}

/* TODO cancellare da app.css */
.top-menu {
    line-height: 60px;
}

ul.top-menu {
    margin: 0;
}

.top-menu li a {
    color: #fff;
    margin-left: 8px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.top-menu li a:hover, .top-menu li a:active {
    background-color: #fff;
    color: #333;
    text-decoration: none;
}

.top-menu .open > a:hover {
    color: #fff;
}

.top-menu li li a {
    color: #000;
}

a.institute:hover {
    text-decoration: none
}


.bottom-menu {
    /*height: 36px;*/
    /*overflow: hidden;*/
    line-height: 16px;
    padding-top: 10px;
    background-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid #ebebeb;
}

.bottom-menu ul > li a {
    color: #333;
}

/*.bottom-menu:hover .bottom-menu-item{*/
/*    display:block;*/
/*}*/
/*.bottom-menu:hover{*/
/*    display:block;*/
/*}*/

/* TODO cancellare da app.css */
/*.dropdown-menu-header {
    margin-top: -10px;
}*/

.dropdown-class {
    max-height: 600px;
    overflow: auto;
    margin-top: -10px;
}

ul.dropdown-class > li:nth-of-type(2) {
    margin-top: 50px;
}

.dropdown-menu {

    min-width: 280px;
    padding: 5px 10px;
}

ul.dropdown-menu > li {
    margin: 0;
    line-height: 18px;
    list-style: none;
    border-bottom: 1px solid #ebebeb;
    padding: 8px 20px;
}

ul.dropdown-menu > li small {
    color: #999;
}

ul.dropdown-menu > li > ul {
    margin: 0;
    padding: 10px 20px;
}

ul.dropdown-menu > li > ul > li {
    margin: 15px 0;
    line-height: 20px;
    list-style: none;
    padding: 5px 10px;
}


ul.dropdown-menu > li > ul > li:hover {
    background-color: #f5f5f5;
    padding: 5px 10px;
}

ul.dropdown-menu > li > ul > li a:hover {
    text-decoration: none;
    background-color: transparent;
}

ul.dropdown-menu-bottom {
    margin-top: 5px;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    position: static;
}

ol.breadcrumb li a:link, ol.breadcrumb li a:visited {
    color: #333;
}

.breadcrumb > .active {
    color: #333;
}

/*.big-dropdown-menu{
    top:0;
    margin-top: -10px;
}*/

.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {

    background-color: inherit;
}


.dropdown-menu {
    margin: -10px;
}

.dropdown-menu:before {
    position: absolute;
    top: -7px;
    right: 9px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #ccc;
    border-left: 7px solid transparent;
    border-bottom-color: rgba(204, 204, 204, 1);
    content: '';
}

.dropdown-menu:after {
    position: absolute;
    top: -6px;
    right: 10px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    border-left: 6px solid transparent;
    content: '';
}

/* Course */

section.course h2 {
    width: 100%;
    border-bottom: 1px solid #ddd;
    line-height: 0.1em;
    margin: 80px 0 40px;
    color: #666;
}

section.course h2 span {
    background: #fff;
    padding-right: 15px;
}

section.course h2 span a:link,
section.course h2 span a:visited {
    background: #fff;
    padding: 10px 15px;
    font-size: 24px;
    display: inherit;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    color: #666;
    text-decoration: none;
}

section.course h2 span a:hover,
section.course h2 span a:active {
    background: #ddd;
}

section.course h5 {
    width: 100%;
    border-bottom: 1px solid #ddd;
    line-height: 0.1em;
    margin: 35px 0 15px;
    color: #666;
    text-align: left;
}

section.course h5 span {
    background: #fff;
    padding: 0 15px 0 10px;
}

section.course h5 span {
    font-size: 18px;
}

section.course > ul {
    text-align: center;
    margin: 0;
}

section.course ul > li {
    width: 360px;
    /*text-align: center;*/
    margin: 0;
    padding: 15px;
    position: relative;
    vertical-align: top;
}

section.course ul > li > article {
    width: 100%;
    text-align: left;
    background: #fff;
    padding: 0px;
    border: 1px solid #ccc;
    border-radius: 0px;
    border-radius: 3px;
}

section.course ul > li > article > header {
    background: rgb(245, 245, 245);
    height: 125px;
    position: relative;

}

section.course ul > li > article > header > section {
    height: 125px;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

section.course ul > li > article > header > section > span {
    display: block;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}

section.course ul > li > article > header > section > div {
    height: 65px;
}

section.course ul > li > article > header > section > div > h3 {
    margin: 0;
}

section.course ul > li > article > header > section > div > h3 a:link,
section.course ul > li > article > header > section > div > h3 a:visited {
    color: #333;
    text-decoration: none;
}

section.course ul > li > article > header > .info a:link,
section.course ul > li > article > header > .info a:visited {
    display: block;
    position: absolute;
    z-index: 1;
    right: 5px;
    bottom: 5px;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    width: 20px;
    height: 20px;
    line-height: 18px;
    border: 1px solid #ccc;
    color: #333;
    /*background: rgb(248, 248, 248);*/
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    -webkit-transition: all 2s;
    /* Safari */
    transition: all 0.25s;
}

section.course ul > li > article > header > .info a:hover,
section.course ul > li > article > header > .info a:active {
    background: #666;
    color: #fff;
}

section.course ul > li > article > section {
    height: 220px;
    padding: 20px;
    position: relative;
    transition: all 0.25s;
    overflow: hidden;
}

.expand {
    height: 300px !important;

}

section.course ul > li > article > section > h4 {
    margin: 0 0 25px 0;
}

section.course ul > li > article > .moretools span {
    display: block;
    background: #fff;
    color: #333;
    z-index: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #666;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 28px;
    position: absolute;
    bottom: -4px;
    right: calc(50% - 16px);
    transition: all 0.25s;
}

section.course ul > li > article > .moretools span:hover {
    background: #666;
    color: #fff;
    cursor: pointer;
    cursor: hand;
}

section.course ul > li > article > section > ul > li {
    /*width: 90px;*/
    width: 30%;
    margin: 0 2% 27px 0;
    padding: 0;

}

section.course ul > li > article > section > ul > li:last-child {
    margin: 0;

}

section.course ul > li > article > section ul > li .circle-tools {
    position: absolute;
    border: 1px solid #ff0000;
    top: 1px;
    right: 1px;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ff0000;
    color: #fff;
    text-align: center;
    line-height: 17px;
    font-size: 11px;
}

section.course ul > li > article > section ul > li .circle-tools-ext {
    position: absolute;
    border: 1px solid #fff;
    top: -7px;
    right: -7px;
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background: #fff;
    text-align: center;
}

section.course ul > li > article > section > ul > li > a:link,
section.course ul > li > article > section > ul > li > a:visited {
    display: block;
    padding: 10px 0;
    background: rgb(255, 255, 255);
    /*border: 1px solid #ccc;*/
    margin: 0;
    border-radius: 0px;
    text-align: center;
    color: #333;
    font-size: 12px;
    -webkit-transition: all 2s;
    /* Safari */
    transition: all 0.25s;
    text-decoration: none;
}

section.course ul > li > article > section > ul > li > a:hover,
section.course ul > li > article > section > ul > li > a:active {
    background: #666;
    color: #fff;
}

section.course ul > li > article > section > a,
section.course ul > li > article > section > ul + a {
    float: right;
    color: inherit;
    display: block;
    margin-top: 15px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    width: 100%;
    text-align: center;
    position: relative;
}

section.course ul > li > article > section > a {
    line-height: 140px;
    border: 0;
    padding: 0;
    margin: 0;
}

section.course ul > li > article > section > ul + a {
    line-height: normal;
}

/* END Course */
.teacher_list,
.student_list {
    overflow: auto;
    height: 300px;
    /*border-top: 1px solid #ddd;*/
    padding: 15px 0;
    margin-bottom: 60px;
}

ul#current_teacher,
ul#current_student {
    margin: 15px 0;
    padding: 0;
    text-align: left;
    min-height: 50px;
}

ul#current_teacher > li,
ul#current_student > li {
    display: inline;
    padding: 0;
    margin-right: 15px;
}

ul#current_teacher > li > div,
ul#current_student > li > div {
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    background: #eee;
    display: inline-block;
}

ul#current_teacher > li > div > span,
ul#current_student > li > div > span {
    padding: 0 5px;
    border-right: 1px solid #ccc;
}

ul#current_teacher > li > div > span:last-child,
ul#current_student > li > div > span:last-child {
    border-right: 0px;
}

label.teacher_checkbox > input,
label.teach_checkbox > input,
label.student_checkbox > input,
label.class_checkbox > input,
label.role_checkbox > input,
    /*label.teach_student > input,*/
label.active_checkbox > input {
    /* hide radio */
    display: none;
}

label.teacher_checkbox > input + div,
label.teach_checkbox > input + div,
label.student_checkbox > input + div,
    /*label.teach_checkbox > input + div,*/
label.class_checkbox > input + div,
label.role_checkbox > input + div,
label.active_checkbox > input + div {
    /* styles */
    cursor: pointer;
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: normal;
    padding: 5px 8px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin: 10px 10px 0 0;

}

label.teacher_checkbox > input:checked + div,
label.teach_checkbox > input:checked + div,
label.student_checkbox > input:checked + div,
    /*label.teach_checkbox > input:checked + div,*/
label.class_checkbox > input:checked + div,
label.role_checkbox > input:checked + div,
label.active_checkbox > input:checked + div {
    /* checked */
    background-color: #5cb85c;
    border: 1px solid #5cb85c;
    color: #ffffff;
    font-weight: normal;
    padding: 5px 8px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;

}

/*label.teacher_checkbox > input:disabled + div,*/
/*label.teach_checkbox > input:disabled + div,*/
/*label.student_checkbox > input:disabled + div,*/
/*    !*label.teach_checkbox > input:disabled + div,*!*/
/*label.class_checkbox > input:disabled + div,*/
/*label.role_checkbox > input:disabled + div, input:not(:checked) + div,*/
/*label.active_checkbox > input:disabled + div{*/
/*    !* checked *!*/
/*    background-color: #7ac37a;*/
/*    border: 1px solid #7ac37a;*/
/*    color: #999999;*/
/*    !*font-weight: normal;*!*/
/*    !*padding: 5px 8px;*!*/
/*    !*-webkit-border-radius: 2px;*!*/
/*    !*-moz-border-radius: 2px;*!*/
/*    !*border-radius: 2px;*!*/

/*}*/

label.teacher_checkbox > input:disabled + div, input:checked + div,
label.teach_checkbox > input:disabled + div, input:checked + div,
label.student_checkbox > input:disabled + div, input:checked + div,
    /*label.teach_checkbox > input:disabled + div, input:checked + div,*/
label.class_checkbox > input:disabled + div, input:checked + div,
label.role_checkbox > input:disabled + div, input:checked + div,
label.active_checkbox > input:disabled + div, input:checked + div {
    background-color: #90c990;
    border: 1px solid #90c990;
    color: #fff;
    cursor: default;

}

/* check box select all (class) */
label.select_class_all > input {
    /* hide radio */
    display: none;
}

label.select_class_all > input + div::before {
    /* styles */
    font-family: FontAwesome;
    content: "\f111 \00a0";
    cursor: pointer;
    /*border: 1px solid #cccccc;
    color: #333333;
    font-weight: normal;
    padding: 10px 15px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin: 10px 10px 0 0;*/

}


label.select_class_all > input:checked + div::before {
    /* checked */
    content: "\f058 \00a0";
    /* checked */
    /*border: 1px solid #5cb85c;*/
    color: green;

}

@media (max-width: 768px) {

    .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        margin-top: 60px;
        background-color: #fff;
        color: #333;
        z-index: 10000;
        position: relative;
    }

    .navbar-header {
        position: fixed;
        z-index: 3;
        background-color: rgb(40, 96, 144);
        width: 100%;
        line-height: 60px;
        height: 60px;
    }

    .navbar h3 {
        font-size: 20px;
        margin-top: -1px;

    }

    .navbar-default .navbar-toggle {
        background-color: rgb(40, 96, 144);
    }

    .top-menu li {

        border-bottom: 1px solid #ebebeb;
    }

    .top-menu li a {
        color: #000;
    }

    .navbar-toggle {
        border: 0;
        float: left;
        line-height: 60px;
        padding: 18px;
        margin: 0;
        border-radius: 0;
        background-color: #f3f3f3;
    }

    .bottom-menu {
        position: fixed;
        top: 60px;
        width: 100%;
    }
}

/* BOX sitografia */

section.list_box ul {
    margin: 0;
    padding: 0;
    #text-align: center
}

section.list_box ul li {
    list-style-type: none;
    display: inline-block;
    margin-bottom: 30px;
    vertical-align: top;
}

section.list_box ul li article {
    border: 1px solid #ebebeb;
    border-radius: 5px;
    padding: 2px;
    /*text-align: center;*/
    transition: box-shadow 0.2s;
    height: 440px !important;
    width: 280px;
}

/*section.list_box ul li article:hover {
    #border: 1px solid #ccc;
    box-shadow: 0 15px 50px #ebebeb;
}*/

section.list_box ul li article h3 {
    text-align: center;
}


section.list_box ul li article .url_site {
    padding: 15px 0;
    font-size: 12px;
}


section.list_box ul li article figures > img {
    width: 274px;
    height: 200px;
    object-fit: contain;
    vertical-align: top;
}


/* da sistemare */
.box_title {
    overflow: hidden;
    text-align: center;
    margin: 30px 0 20px;
}

/* category title */
.box_title:before,
.box_title:after {
    background-color: #ebebeb;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.box_title:before {
    right: 0.5em;
    margin-left: -50%;
}

.box_title:after {
    left: 0.5em;
    margin-right: -50%;
}

/* filtro sitografia */


/* category title */
section.filter ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

section.filter ul li {
    list-style-type: none;
    display: inline-block;

}

.box_title:before,
.box_title:after {
    background-color: #ebebeb;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.box_title:before {
    right: 0.5em;
    margin-left: -50%;
}

.box_title:after {
    left: 0.5em;
    margin-right: -50%;
}

/*
 checkbox filter */

.filter {
    margin-top: 10px;
}

/*.filter a:link,
.filter a:visited {
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: normal;
    padding: 5px 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 10px 10px 0 0;
    text-decoration: none;
}

.filter a:hover,
.filter a:active,
.filter a.active{
    background-color: #5cb85c;
    border: 1px solid #5cb85c;
    color: #ffffff;
}*/


label.select_site_checkbox > input {
    display: none;
}

label.select_site_checkbox > input + div {
    cursor: pointer;
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: normal;
    padding: 5px 8px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 10px 10px 0 0;
}

label.select_site_checkbox > input:checked + div {
    background-color: #5cb85c;
    border: 1px solid #5cb85c;
    color: #ffffff;

}

.preview-url,
.preview-isbn {
    width: 150px;
    height: 100px;
    border: 1px solid #ccc;
    text-align: center;
    line-height: 100px;
    margin-left: 15px;
    border-radius: 4px;
    padding: 1px;
}

.preview-url > img,
.preview-isbn > img{
    /*width: 100%;
    height: auto;*/
    width: 146px;
    height: 96px;
    object-fit: contain;
    vertical-align: top;
}

.delete-preview,
.delete-preview-isbn{
    height: 100px;
    line-height: 100px;
}

/* Modale commenti */

.modal {
    text-align: left;
}

/* Note */


section .note_txtarea {
    margin-bottom: 15px;
    text-align: right;
    display: none;
}

section .note_txtarea > form {
    position: relative;
}

section .note_txtarea > form #warning-txt {
    position: absolute;
    top: calc(50% - 25px);
    left: 10%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 10px 20px;
    height: 50px;
    width: 80%;
    text-align: center;
    line-height: 30px;
    border-radius: 4px;
    display: none;
}


section .note_txtarea > form > #note_new {
    resize: none;
    width: 100%;
    height: 180px;
}

section .note_txtarea > form input[type = submit]
    /*, input[type = reset]*/
{
    /*border:1px solid #cccccc;*/
    background-color: transparent;
    border: none;
    border-radius: 3px;
    padding: 5px 8px;

}

/*section .note_txtarea > form input[type = reset] {
    /*border: 1px solid #cccccc;*/
/*text-decoration: none;
}*/

section .note_txtarea > form input[type = submit] {
    background-color: #5cb85c;
    border: 1px solid #5cb85c;
    color: #ffffff;
}

section.note_list {
    box-sizing: border-box;
    width: 350px;
    padding: 10px;
    position: fixed;
    bottom: calc((20vh - 100px) / 2);
    right: -350px;
    height: 80vh;
    transition: right 0.35s ease-in-out, bottom 0.35s ease-in-out;
    z-index: 1000;
    background: #fff;
    box-shadow: 0px 15px 25px rgba(48, 48, 48, 0.15);
    border: 1px solid #ccc;
    border-radius: 3px;
    overflow: hidden;

}



.note_open {
    /*height: 70vh !important;
    bottom: 10px !important;*/
    right: 0px!important;

}

section.note_list > header {
    margin-bottom: 10px;
}

section.note_list > header > section {
    display: flex;
    margin-bottom: 15px;
}

section.note_list > header > section > div:first-child {
    width: 70%;
}

section.note_list > header > section > div:last-child {
    width: 30%;
    text-align: right;
}


section.note_list > header > section > div:last-child button {
    background-color: #fff;
    border: none;
    color: #000;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    cursor: hand;
}

section.note_list #search_note {
    position: relative;
}

section.note_list #search_note input {
    width: 100%;
    padding: 5px 40px 5px 10px;
    border-radius: 15px;
    border: 1px solid #ccc;

}

section.note_list #search_note .search_loading {
    position: absolute;
    right: 8px;
    top: 5px;
    display: none;
    color: #888;
}

/*section.note_list div#note_add {
    text-align: center;
}*/


section.note_list div#note_add a:link,
section.note_list div#note_add a:visited {
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 36px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

section.note_list div#note_add a:hover,
section.note_list div#note_add a:active {
    background-color: #337ab7;
    border-color: #2e6da4;
    color: #fff;

}

.header-textarea {
    text-align: left;
    display: flex;
}

.header-textarea > div:first-child {
    text-align: left;
    width: 55%;
}

.header-textarea > div:last-child {
    width: 45%;
    text-align: right;
    font-size: 11px;
    align-self: flex-end;
    padding-bottom: 5px;
}

.header-textarea > div:last-child #countchar {
    font-weight: bold;
}


section.note_item_list {
    height: 78%;
    overflow: auto;
    padding: 15px 0;
}

article.note_item {
    position: relative;
    overflow-x: hidden;
}

section.note_item_list > article.note_item {
    padding: 15px;
    /*background-color: rgba(255, 255, 153, 1);*/
    border-radius: 5px;
    #border: 1px solid rgba(220, 220, 120, 1);
    margin-bottom: 10px;
}

section.note_item_list article.note_item > div:first-child {
    color: #333;
}

section.note_item_list article.note_item > div:last-child {
    display: flex;
    border-top: 1px solid #666;
    padding: 10px 5px;
}

section.note_item_list article.note_item > div:last-child > div:first-child {
    width: 70%;
}

section.note_item_list article.note_item > div:last-child > div:last-child {
    width: 30%;
    text-align: right;
}

section.note_item_list article.note_item > div:last-child > div:last-child > a:link,
section.note_item_list article.note_item > div:last-child > div:last-child > a:visited {
    padding: 2px 5px;
    color: #000;
}

section.note_item_list article.note_item > div:last-child > div:last-child > a:hover,
section.note_item_list article.note_item > div:last-child > div:last-child > a:active {
    text-decoration: underline
}


button#note_btn {
    position: fixed;
    bottom: calc(((100vh - 100px) / 2) - 30px);
    right: 15px;
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    border: 1px solid #ebebeb;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 2px 6px rgba(120, 120, 120, 0.5);
    transition: box-shadow 0.15s;
    color: #333;
    z-index: 900;
    background-image: url(../img/post-it.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 58%;
}

button#note_btn:hover {
    box-shadow: 1px 1px 5px rgba(120, 120, 120, 0.3);
}

button#note_btn:hover span {
    transform: rotate(90deg);
}

/* color radio */
label.color_radio > input {
    /* hide radio */
    display: none;
}

textarea#note_new {
    border-radius: 5px;
    padding: 15px;
}

label.color_radio > input + div.yellow,
textarea.yellow,
section.note_item_list > article.yellow {
    background-color: rgba(255, 255, 153, 1);
    border: 1px solid rgba(220, 220, 120, 1);
}

label.color_radio > input + div.red,
textarea.red,
section.note_item_list > article.red {
    background-color: rgba(255, 126, 185, 1);
    border: 1px solid rgb(214, 90, 141);

}

label.color_radio > input + div.green,
textarea.green,
section.note_item_list > article.green {
    background-color: rgba(116, 237, 75, 1);
    border: 1px solid rgb(93, 191, 63);
}

label.color_radio > input + div.blue,
textarea.blue,
section.note_item_list > article.blue {
    background-color: rgba(169, 237, 241, 1);
    border: 1px solid rgb(126, 177, 181);
}

label.color_radio > input + div {
    /* styles */
    cursor: pointer;
    border: 1px solid #333;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin: 10px 10px 0 0;

}

label.color_radio > input:checked + div > div {
    /* checked */
    /*background-color: #5cb85c;
    border: 1px solid #5cb85c;*/
    background-color: #333;
    margin: 7px;
    width: 14px;
    height: 14px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;

}

label.color_radio > input:disabled + div, input:checked + div {
    background-color: #90c990;
    border: 1px solid #90c990;
    color: #fff;
    cursor: default;

}

/* end color radio 3/

/* Modal mesasge Note*/
.modal_note_delete {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 25px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal_note_delete > section {
    width: 100%;
}

.modal_note_delete > section > div:first-child {
    padding-bottom: 15px;
    #font-size: 16px;
}

.modal_note_delete > section > div:last-child {
    text-align: right;
}


.modal_note_delete a.confirm_erase:link,
.modal_note_delete a.confirm_erase:visited {
    background-color: #d9534f;
    padding: 8px 16px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.modal_note_delete a.confirm_erase:hover,
.modal_note_delete a.confirm_erase:active {
    background-color: #d43f3a;

}

.modal_note_delete a.confirm_drop:link,
.modal_note_delete a.confirm_drop:visited {
    color: #ffffff;
    text-decoration: none;
    padding-right: 15px;
}

.modal_note_delete a.confirm_drop:hover,
.modal_note_delete a.confirm_drop:active {
    text-decoration: underline;
}

#btn-update {
    display: none;
}
/* sitography bibliography */

.sito-section {
    display: none;
}
.btn-sito-biblio > input[type=radio] {
    display: none;
}

.btn-sito-biblio input[type=radio] + label {
    padding: 16px 32px;
    border: 1px solid #ccc;
    display: inline-block;
    border-radius: 4px;
    margin: 0;
    font-weight: normal;

}
.btn-sito-biblio input[type=radio] + label:last-child {
    margin: 0 0 0 -5px;
    border-radius: 0 4px 4px 0;
    border-left: 1px solid transparent;
}

.btn-sito-biblio input[type=radio]:first-child + label {
    border-radius: 4px 0 0 4px;
}


.btn-sito-biblio input[type=radio]:checked + label {
    padding: 16px 32px;
    /*border: 1px solid #016EB2;*/
    border: 1px solid #ccc;
    font-weight: bold;

    /*background: #0089DE;*/
    background: #eee;

    color: #333;
}

.btn-sito-biblio input[type=radio]:hover:checked + label {
    text-decoration: none;

}

.btn-sito-biblio > input[type=radio]:hover + label {
    cursor: pointer;
    text-decoration: underline;
}

/* end sitography bibliography */


