/* BOOTSTRAP e STRUTTURA */
body { font-family: 'Source Sans Pro', sans-serif; font-size: 16px; font-weight: 300; background: #fff; color: #666666; line-height: 100%; }

/* Typography */
a, a:hover { color: #666666; text-decoration: none !important; }
.box .tit, .box .tit a { color: #000000; }
.box .text-white .tit, .box .text-white .tit a { color: #fff; }

h1, h2, h3, h4, h5, h6 { font-weight: 400; margin-bottom: 10px; line-height: 110%; padding: 0; }
    h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong { font-weight: 600; }
    h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1:hover a, h2:hover a, h3:hover a, h4:hover a, h5:hover a, h6:hover a { color: #000; }
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6, .text-white h1 a, .text-white h2 a, .text-white h3 a, .text-white h4 a, .text-white h5 a, .text-white h6 a, .text-white h1:hover a, .text-white h2:hover a, .text-white h3:hover a, .text-white h4:hover a, .text-white h5:hover a, .text-white h6:hover a { color: #fff; }
h1 { font-size: 32px; }

@media (max-width: 767px) {
    h1 { font-size: 24px; }
}

h2 { font-size: 28px; }

@media (max-width: 767px) {
    h2 { font-size: 22px; }
}

h3 { font-size: 24px; line-height: 110%; }

@media (max-width: 767px) {
    h3 { font-size: 20px; }
}

h4 { font-size: 18px; line-height: 110%; }
h5 { font-size: 16px; line-height: 120%; }
h6 { font-size: 16px; line-height: 130%; }
.text-extralarge { font-size: 32px; line-height: 105%; }

@media (max-width: 767px) {
    .text-extralarge { font-size: 24px; line-height: 105%; }
}

.text-large { font-size: 28px; line-height: 105%; }

@media (max-width: 767px) {
    .text-large { font-size: 22px; }
}

.text-medium { font-size: 24px; line-height: 110%; }

@media (max-width: 767px) {
    .text-medium { font-size: 20px; }
}

.text-normal { font-size: 18px; line-height: 130%; }

@media (max-width: 767px) {
    .text-normal { font-size: 18px; }
}

.text-small { font-size: 16px; line-height: 130%; }
.text-extrasmall { font-size: 12px; line-height: 130%; }
.textarea-content, .blockquote, .tab-content { font-size: 16px; line-height: 140%; }
.box .textarea, .box .blockquote { font-size: 16px; line-height: 130%; }
.cat, .info { font-size: 16px; color: #000; line-height: 100%; }

p { margin-bottom: 0; }
.line-height-large { line-height: 150% !important; }
.line-height-medium { line-height: 130% !important; }
.line-height-normal { line-height: 105%; }
.uppercase { text-transform: uppercase; }
.font-weight-light { font-weight: 300; }
.font-weight-normal { font-weight: 400; }
.font-weight-semibold { font-weight: 600; }
.strong, strong { font-weight: 700 !important; }

.black, .black a, a.black, .text-dark, .text-dark a, .text-dark a:hover { color: #000 !important; }
.white, .white a, a.white, .text-white, .text-white a, .text-white a:hover { color: #fff !important; }
.text-light-grey, .text-light-grey a { color: #666666 !important; }
.text-grey, .text-grey a { color: #666666 !important; }
.text-dark-grey, .text-dark-grey a { color: #333333 !important; }

.bg-white { background-color: #fff !important; }
.bg-black { background-color: #000 !important; }
.bg-dark-grey { background-color: #000 !important; }
.bg-grey { background-color: #F7F7F7 !important; }
.bg-light-grey { background-color: #F7F7F7 !important; }
.bg-blue { background-color: #4F8095 !important; }
.bg-dark-blue { background-color: #184057 !important; }
.bg-yellow { background-color: #FFC400 !important; }

/* INTRANET */
#page-container { background: #F2F2F2; margin-left: auto; margin-right: auto; }
.col.col-sx { background: #4F8095; }
.col.col-dx { background: #F2F2F2; }
.box-logo { padding: 10px; background: #477386; }
    .box-logo img.logo-img { width: 113px; }
.page-content { margin: 30px 50px; padding: 0; display: block; position: relative; }
    .page-content:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
.box-shadow { -webkit-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.05); -moz-box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.05); box-shadow: 0px 0px 5px 1px rgba(0,0,0,0.05); }
.custom-textbox { height: 34px; padding: 5px 8px; font-size: 16px; color: #666666 !important; border: 1px solid #EEEDEA; font-weight: 300 !important; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; text-align: right; }

@media (min-width: 1200px) {
    .page-content { margin: 50px 100px; }
}

@media (min-width: 992px) {
    body { height: 100%; }
    #page-container, .container-fluid.container-c2i, .container-fluid.container-c2i .row.row-c2i { min-height: 100vh; height: 100% !important; }
    #page-container { display: flex; display: -webkit-flex; }
    .row.row-c2i { -ms-flex-align: stretch !important; align-items: stretch !important; -ms-flex-pack: justify !important; justify-content: space-between !important; }
    .col.col-sx { width: 260px; max-width: 260px; }
}

@media (max-width: 991px) {
    .page-content { margin: 30px; }
    .col.col-sx { width: 100%; flex: 0 0 100%; height: auto; }
    .col.col-dx { width: 100%; flex: 0 0 100%; }
}

/* Navigation*/
.c2i-menu, .c2i-menu-dropdown { list-style-type: none; width: 100%; padding-left: 0; padding-right: 0; }
    .c2i-menu .c2i-menu-li { padding: 0; margin: 0; }
    .c2i-menu .c2i-menu-a { font-size: 16px; font-weight: 300; border-left: 5px solid rgba(255,255,255,0); padding: 15px; margin: 0; display: block; }
    .c2i-menu .c2i-menu-li.active .c2i-menu-a, .c2i-menu .c2i-menu-li:hover .c2i-menu-a { border-left: 5px solid #FFC400; background: #477386; }
    .c2i-menu .icon { margin-right: 10px; }
    .c2i-menu .arrow { float: right; margin-top: 3px; }
    .c2i-menu .c2i-menu-dropdown { padding: 0; background: #5E8FA4; }
    .c2i-menu .c2i-menu-li.active .c2i-menu-dropdown .c2i-menu-a { border-left: 5px solid rgba(255,255,255,0); background: #5E8FA4; padding: 8px 15px; }

.header { min-height: 70px; }
.box-menu .nav-link, .box-submenu .nav-link { padding: 0 10px 0 0; font-size: 16px; color: #000000; font-weight: 300; margin: 0; }
    .box-menu .nav-item.active .nav-link, .box-submenu .nav-link strong { font-weight: 400; }
.box-menu .nav-item { border-bottom: 3px solid #fff; margin: 0 30px 0 0; }
    .box-menu .nav-item.active, .box-menu .nav-item:hover { border-color: #FFC400; }
.box-menu .nav-link { line-height: 67px; padding: 0 5px; }
.box-menu .nav-item.first, .box-menu ul .nav-item.first:hover { padding-right: 30px; background: url("../images/css-arrow-right-light.svg") no-repeat right center; border-color: #fff; }
.box-menu .list-group a { height: 50px; color: white; }
.box-menu .list-group .sidebar-submenu a { height: 45px; padding-left: 30px; }
.box-menu .sidebar-submenu { font-size: 0.9rem; }
.box-menu .sidebar-separator-title { background-color: #333; height: 35px; }
.box-menu .sidebar-separator { background-color: #333; height: 25px; }
.box-menu .list-group .c2i-menu-a .submenu-icon { display: inline-block; }
.box-menu .list-group .c2i-menu-a[aria-expanded="false"] .submenu-icon::after { content: "\f0dd"; font-family: 'FontAwesome'; display: inline; text-align: right; padding-left: 10px; }
.box-menu .list-group .c2i-menu-a[aria-expanded="true"] .submenu-icon::after { content: "\f0da"; font-family: 'FontAwesome'; display: inline; text-align: right; padding-left: 10px; }
.box-menu-user { padding: 0; }
.icon-user { width: 42px; height: 42px; line-height: 42px; margin-left: 15px; background: #4F8095; font-size: 20px; text-align: center; -webkit-border-radius: 100%; -moz-border-radius: 100%; border-radius: 100%; color: #fff; }
.btn-exit { line-height: 42px; margin-left: 18px; padding-left: 15px; border-left: 1px solid #E8E8E8; }
    .btn-exit a { background: url("../images/css-icon-exit.svg") no-repeat left center; padding-left: 22px; display: block; }
.box-submenu .nav-link { font-size: 14px; }
    .box-submenu .nav-link strong { font-weight: 400 !important; }

/* Template */
.template { position: relative; }
.box { border: none !important; border-radius: 0; background: none; }
.textarea { padding-left: 0; padding-right: 0; }
.box .textarea { padding: 1rem; }
.box .tit { margin-bottom: 0; }
.img { width: 100%; position: relative; }
    .img img { max-width: 100%; width: auto; }

/* PULSANTI BTN-INTRANET */
.btn.btn-intranet, .btn.btn-intranet:hover { line-height: 42px; padding: 0 15px; font-size: 16px; font-weight: 400; color: #fff; background-color: #FFC400; border: 1px solid #FFC400; height: auto !important; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; display: inline-block; }
    .btn.btn-intranet img { margin-left: 10px; }
    .btn.btn-intranet.btn-full { width: 100%; }
.btn.btn-large { width: 300px; }
.btn.btn-medium { width: 200px; }
.text-white .btn.btn-intranet, .text-white .btn.btn-intranet:hover, .text-white .btn-link.btn-intranet, .text-white .btn-link.btn-intranet:hover, .btn-link.btn-intranet.text-white, .btn-link.btn-intranet.text-white:hover { color: #000 !important; }
.btn-intranet.btn-download { min-height: 40px; background: url("../images/css-icon-download-on.png") no-repeat right center; width: 100%; display: block; line-height: 100%; padding: 10px 30px 10px 20px; }
.btn.btn-link-intranet { color: rgb(71, 115, 134); font-weight: 600; font-size: 1.1em; }
    .btn.btn-link-intranet:hover { text-decoration: dotted underline !important; }

/* OVERRIDE .BTN > I */
.btn i { margin-right: 5px !important; }
.btn.btn-only-icon i { margin: 0 !important; }

/* PAGINAZIONE */
.page-item.active .page-link { background-color: #FFC400; color: #202020; border-color: #EEB400; }

/* TABELLE */
.table .thead-light th { background-color: rgba(71, 115, 134, 0.9); color: #FFFFFF; }

/* HACK 5 COLONNE */
.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }
.col-xs-5ths { width: 20%; float: left; }

@media (min-width: 768px) {
    .col-sm-5ths { width: 20%; float: left; }
}

@media (min-width: 992px) {
    .col-md-5ths { width: 20%; float: left; }
}

@media (min-width: 1200px) {
    .col-lg-5ths { width: 20%; float: left; }
}

/* BORDER */
hr { margin-top: 5px; margin-bottom: 5px; border-top: 1px solid #E8E8E8; }
.border { border: 1px solid #E8E8E8; }
.border-t { border-top: 1px solid #E8E8E8; }
.border-b { border-bottom: 1px solid #E8E8E8; }
.border-l { border-left: 1px solid #E8E8E8; }
.border-r { border-right: 1px solid #E8E8E8; }
.border-black { border: 1px solid #E8E8E8; }
.border-t-black { border-top: 1px solid #E8E8E8; }
.border-b-black { border-bottom: 1px solid #E8E8E8; }
.border-l-black { border-left: 1px solid #E8E8E8; }
.border-r-black { border-right: 1px solid #E8E8E8; }

/* CALLOUT */
.bs-callout { padding: 20px; margin: 20px 0; border: 1px solid #eee; border-left-width: 5px; border-radius: 3px; }
    .bs-callout h4 { margin-top: 0; margin-bottom: 5px; }
    .bs-callout p:last-child { margin-bottom: 0; }
    .bs-callout code { border-radius: 3px; }
    .bs-callout + .bs-callout { margin-top: -5px; }
.bs-callout-default { border-left-color: #777; }
    .bs-callout-default h4 { color: #777; }
.bs-callout-primary { border-left-color: #428bca; }
    .bs-callout-primary h4 { color: #428bca; }
.bs-callout-success { border-left-color: #5cb85c; }
    .bs-callout-success h4 { color: #5cb85c; }
.bs-callout-danger { border-left-color: #d9534f; }
    .bs-callout-danger h4 { color: #d9534f; }
.bs-callout-warning { border-left-color: #f0ad4e; }
    .bs-callout-warning h4 { color: #f0ad4e; }
.bs-callout-info { border-left-color: #5bc0de; }
    .bs-callout-info h4 { color: #5bc0de; }

/* SELECT 2 */
.select2 { line-height: 24px !important; }

/* REDEFINING NAVs */
.nav-pills > .nav-item > .nav-link.active { background-color: #FFC400 !important; font-weight: 600; color: #000000; }
.nav-tabs > .nav-item > .nav-link { border-color: transparent !important; border-bottom-width: 2px; }
    .nav-tabs > .nav-item > .nav-link.active { font-weight: 600; color: #000000; border-bottom-color: #FFC400 !important; }
.navbar-intranet { background-color: #5E8FA4; padding: 0; margin-bottom: 10px; }
    .navbar-intranet ul li { font-size: 0.9em; max-width: 100px; border-bottom: 4px #5E8FA4; }
        .navbar-intranet ul li:hover { background-color: #6E9FB4 !important; }
        .navbar-intranet ul li a { color: #EEEEEE !important; }
            .navbar-intranet ul li a.disabled { color: #7EAFC4 !important; }
        .navbar-intranet ul li.active { background-color: #3E6F84 !important; border-bottom: 4px solid #FFC400; }
            .navbar-intranet ul li.active a { color: #FFC400 !important; }

/* STRUMENTI APPs */
.card-filters { margin-bottom: 10px; }
    .card-filters > .card-header { color: #000000; font-weight: 400; font-size: large; background-color: rgba(71, 115, 134, 0.4); }
    .card-filters > .card-body, .card-filters > .list-group > .list-group-item { background-color: rgba(71, 115, 134, 0.1); }

/* APP MOSTRE - EVENTI - PROGETTI */
.cat { display: block; }
.cat { font-size: 10px; padding: 10px 10px 5px 10px; background: rgba(0,0,0,0.3); color: #fff; text-transform: uppercase; font-weight: 600; line-height: 100%; }
    .cat a { color: #fff; }
.box { margin: 0 auto; position: relative; }
    .box .tit { padding-bottom: 0; }
    .box .tit, .box .txt { display: block; }
    .box.box-list-float, .box.box-list { margin-bottom: 30px; }
        .box.box-list-float .sede { position: absolute; top: 0; right: 0; z-index: 10; float: left; width: 80px; }
        .box.box-list-float .sede-small { position: absolute; top: 0; right: 0; z-index: 10; float: left; width: 40px; }
        .box.box-list-float .cat, .box.box-list .cat { position: absolute; bottom: 0; left: 0; z-index: 100; float: left; }
        .box.box-list .img { width: 23%; max-width: 200px; margin-bottom: 20px; float: left; }
        .box.box-list.box-list-small .img { width: 32%; max-width: 100px; margin-right: 10px; }
        .box.box-list .textarea { width: 74%; padding: 0; margin-bottom: 20px; float: right; }
        .box.box-list.box-list-small .textarea { width: auto; float: none; margin-bottom: 0; }
        .box.box-list-float .textarea { padding-top: 15px; }
        .box.box-list .tit, .box.box-list-float .tit { padding-bottom: 10px; }
        .box.box-list.box-list-small .tit { padding-bottom: 0px; }
        .box.box-list-float .info, .box.box-list .info { padding-bottom: 15px; }
        .box.box-list-float .txt { padding: 0; }
        .box.box-list .txt { padding: 0; }
        .box.box-list-float.media-mostra .cat { background: #333; line-height: 100%; }
        .box.box-list-float.media-mostra.mostra-off .img { opacity: 0.5; filter: alpha(opacity=50); filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); filter: gray; -webkit-filter: grayscale(100%); transition: all 0.5s ease-in-out 0s; -webkit-transition: all 0.5s ease-in-out 0s; }
            .box.box-list-float.media-mostra.mostra-off .img:hover { opacity: 1; filter: alpha(opacity=100); filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale"); -webkit-filter: grayscale(0%); }
        .box.box-list-float.media-mostra.mostra-off .cat { background: #444; }
        .box.box-list-float.media-mostra.mostra-off .red { color: #444 !important; }
        .box.box-list-float.media-mostra-archivio .textarea { padding-top: 10px; }
        .box.box-list-float.media-mostra-archivio .info, .box.box-list-float.media-mostra-archivio .txt { padding: 0; }
        .box.box-list-float.media-mostra-archivio .tit { padding-bottom: 5px; }
            .box.box-list-float.media-mostra-archivio .tit h2, .box.box-list-float.media-mostra-archivio .tit h2 a { font-size: 14px; color: #444; }

    .box h4 { font-variant: small-caps; }
    .box h2 { font-weight: 600; font-size: 130%; }
        .box h2 a { color: #000000; }
    .box .info { border: 0; background-color: transparent; padding: 0; color: #222; }
    .box .img { position: relative !important; }

h1 { margin-bottom: 20px !important; color: #0D2F43 !important; }
.pulsantiera { margin-bottom: 20px; }

/* NESTED LIST */
.nested-list .nested_1 { float: left; margin: 0; }
.nested-list .nested_2 { padding-left: 20px; background: url(../images/css-nested-list-corner.png) 0px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_3 { padding-left: 40px; background: url(../images/css-nested-list-corner.png) 20px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_4 { padding-left: 60px; background: url(../images/css-nested-list-corner.png) 40px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_5 { padding-left: 80px; background: url(../images/css-nested-list-corner.png) 60px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_6 { padding-left: 100px; background: url(../images/css-nested-list-corner.png) 80px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_7 { padding-left: 120px; background: url(../images/css-nested-list-corner.png) 100px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_8 { padding-left: 140px; background: url(../images/css-nested-list-corner.png) 120px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_9 { padding-left: 160px; background: url(../images/css-nested-list-corner.png) 140px 0px no-repeat; float: left; margin: 0; }
.nested-list .nested_10 { padding-left: 180px; background: url(../images/css-nested-list-corner.png) 160px 0px no-repeat; float: left; margin: 0; }

/* SELECT 2 EXTENDED */
.select2-result-repository { padding-top: 4px; padding-bottom: 3px; }
.select2-result-repository__avatar { float: left; width: 55px; margin-right: 5px; }
    .select2-result-repository__avatar img { border-radius: 2px; width: 50px; height: 50px; }
.select2-result-repository__meta { margin-left: 70px; }
.select2-result-repository__title { color: black; font-weight: 600; word-wrap: break-word; margin-bottom: 4px; font-size: 1.3em; }
.select2-result-repository__description { font-size: 13px; color: #777; margin-top: 4px; }
.select2-result-repository span.highlighted { background: rgba(255,196,0,0.5); color: #000000; }
.select2-result-repository .select2-result-repository__tag { margin-right: 1em; display: inline-block; color: #aaa; font-size: 11px; }
.select2-results__option { clear: both; }
.select2-results__option--highlighted .select2-result-repository__title { color: white; }
.select2-results__option--highlighted .select2-result-repository__tag { color: #c1d7e9; }
.select2-results__option--highlighted .select2-result-repository__description { color: #c1d7e9; }
.select2-selection__rendered > span > img { margin: -7px 0 -5px -1px; width: 16px; height: 16px; }
.select2-selection__choice > span > img { margin: -2px 0 0 0; width: 16px; height: 16px; }
.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4 .select2-results__option--highlighted.select2-results__option[aria-selected=true] { background-color: #5E8FA4 !important; }

/* CHECKBOX LIST */
.checkboxlist { height: 200px; overflow-y: scroll; padding: 5px; }
    .checkboxlist ul.list-group li { padding: 8px 0 0 0; border-bottom: 1px solid #F0F0F0; }
        .checkboxlist ul.list-group li input { float: left; margin-top: 2px; }
        .checkboxlist ul.list-group li label { float: left; margin-left: 5px; }

/* CALENDAR */
.clearfix::after,
.calendar ol::after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.calendar .month { font-size: 1.5rem; }

@media (min-width: 992px) {
    .calendar .month { font-size: 2.5rem; }
}

.calendar ol li { float: left; width: 14.28571%; }
.calendar .day-names { border-bottom: 1px solid #eee; }
    .calendar .day-names li { text-transform: uppercase; margin-bottom: 0.5rem; }
.calendar .days li { border-bottom: 1px solid #eee; min-height: 3.5rem; }
    .calendar .days li .date { margin: 0.5rem 0; }
    .calendar .days li:nth-child(n+29) { border-bottom: none; }
    .calendar .days li.outside .date { color: #ddd; }
