body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: #000;
}
.header.bgcover {
    padding-top: 30px;
    background: #fff url('../images/header-home.jpg') no-repeat center top;
    min-height: 240px;    
}
body.site.index .header.bgcover {
    min-height: 768px;    
}
h1, h2, h3, h4 {
    font-family: 'Bevan', cursive;
}
.btn-link,
a {
    color: #7C746B;
}
.btn-link:hover,
.btn-link:focus,
a:hover, a:focus {
    color: #F0AD4E;
}
.btn-link {
    text-decoration: none;
}
main.content h1,
main.content h2,
main.content h3,
main.content h4 {
    font-family: 'Lato', sans-serif;
}
main.content h2.nomargin {
    font-family: 'Bevan', cursive;
}
.navbar-vgg {
    background-color: transparent;
    border-bottom: 0;
}
.navbar-vgg .navbar-nav > li > a {
    color: #fff;
    font-weight: 900;
    letter-spacing: 1px;
}
.navbar-vgg .navbar-brand {
    color: #d7d7d7;
    font-family: 'Bevan', cursive;
}
.navbar-vgg .navbar-brand:hover, .navbar-vgg .navbar-brand:focus {
    color: #fafafa;
}
.navbar-vgg .navbar-brand small {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover {
    color: #fff;
    background-color: transparent;
}
.navbar-default .navbar-nav > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover {
    color: #fafafa;
}
.bggrey {
    background-color: rgba(97, 97, 97, 0.9);
    color: #fff;
    padding: 20px 18px;
}
.bggrey h2 small {
    color: #fff;
}
.claim {
    margin-top: 180px;
}
.claim h1 {
    margin: 0;
    font-size: 64px;
}
.claim p {
    margin: 25px 20px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    line-height: 1.9em;
}
.loghi {
    padding-top: 30px;
    padding-bottom: 30px;
}
.loghi img {
    margin: 0 20px;
}
.fascia-archivio {
    background: #616161 url('../images/bgarchivio.jpg') no-repeat center center;
    min-height: 750px;
    color: #ececec;
    padding-top: 180px;
}
.fascia-archivio h3 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0;
    color: #ececec;
}
.fascia-archivio p {
    font-size: 18px;
    line-height: 2;
    font-weight: 300;
}
.fascia-archivio small {
    color: #fff;
    font-size: 28px;
}
.btn {
    border-radius: 0;
}
.btn-transparent {
    color: #fff;
    border: 2px solid #fff;
}
.btn-transparent:hover, .btn-transparent:focus {
    background-color: #fff;
    color: #616161;
    border: 2px solid #fff;
}
.btn-black {
    color: #616161;
    border: 2px solid #616161;
}
.btn-black:hover, .btn-black:focus {
    background-color: #616161;
    color: #fff;
    border: 2px solid #616161;
}
.mt {
    margin-top: 20px;
}
.mwdt {
    min-width: 180px;
}
.fascia-notizie {
    background: #616161 url('../images/corriere.jpg') no-repeat center center;
    color: #616161;
    padding-top: 70px;
    padding-bottom: 70px;
}
.bgimg {
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    margin-bottom: 15px;
}
.notizia time {
    font-size: 80%;
}
.notizia h4 {
    font-size: 22px;
    line-height: 1.2;
}
.bgcover {
    background-size: cover;
}
.bandiera > div {
    height: 15px;
}
.bandiera .green {
    background-color: #009246;
}
.bandiera .white {
    background-color: white;
}
.bandiera .red {
    background-color: #ce2b37;
}
footer .bggrey {
    padding-top: 40px;
    padding-bottom: 40px;
}
footer ul {
    font-weight: 300;
}
@media screen and (max-width: 767px) {
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #d7d7d7;
    }
    .navbar-default .navbar-toggle {
        border-color: #d7d7d7;
    }
    .navbar-default .navbar-toggle:focus,
    .navbar-default .navbar-toggle:hover {
        background-color: #d7d7d7;
    }
    .navbar-default .navbar-toggle:focus .icon-bar,
    .navbar-default .navbar-toggle:hover .icon-bar {
        background-color: rgb(97, 97, 97);
    }
    #navbar {
        border-bottom: 1px solid #d7d7d7;
        border-top-color: #d7d7d7; 
    }
    .navbar-vgg .navbar-nav > li > a {
        text-align: right;
    }
    .navbar-vgg .navbar-brand {
        font-size: 90%;
        padding-top: 6px;
        padding-bottom: 6px;
    }
    .loghi > img {
        width: 35%;
    }
    .claim {
        margin-top: 60px;
    }
    .claim h1 {
        font-size: 30px;
    }
    body.site.index .header.bgcover {
        min-height: 450px;
    }
    .fascia-archivio {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media (min-width: 768px) {
    .field-nersearch-id_conll_doc,
    .field-nersearch-searchner,
    #frasisearch-searchstring {
        min-width: 300px;
    }
}
.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav > li > form {
    padding: 8px;
}

@media(max-width:768px) {
    .nav li > form {
        padding: 3px;
    }
}
.white {
    color: #fff;
}
footer a, footer a:hover, footer a:focus {
    color: #fff;
}
.nomargin {
    margin: 0;
}
.mbottom {
    margin-bottom: 20px
}
.newsdate {
    float: right;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    margin-top: 12px;
    margin-left: 10px;
}
.scrollable {
    margin-bottom: 60px;
}
.olay {
    position: relative;
}
.olay:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    right: 0;
    background-color: red;
    z-index: 1;
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
}
.olay:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: red;
    z-index: 1;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
}
.scrollable.over {
    overflow: auto;
    padding: 50px 0;
}
.currentsent {
    background-color: #f5f5f5;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    padding-top: 10px;
    padding-bottom: 10px;
}
.bbottom {
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 10px;
}
.collapse-toggle {
    display: block;
}
.clitic {
    display: inline-block;
    border: 1px solid #9c9990;
    border-radius: 4px;
    font-size: 85%;
    padding: 0 4px;
    background-color: #edecea;
    position: relative;
    margin-left: 4px;
}
.clitic:before {
    content: "";
    position: absolute;
    left: -6px;
    top: 50%;
    width: 0; 
    height: 0; 
    margin-top: -6px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent; 
    border-right: 6px solid #9c9990; 
}
td.kv-group-odd {
    background-color: #FFF6DC !important;
}
td.kv-group-even {
    background-color: #F4EAE1 !important;    
}
.panel-body.small {
    padding-top: 8px;
    padding-bottom: 5px;
}
.panel-body.small p {
    margin-bottom: 5px;
}
.frasi-index .panel-default > .panel-heading {
    padding-top: 5px;
    padding-bottom: 5px;
}
.summary {
    font-size: 85%;
}
.marked {
    display: inline-block;
    background-color: rgba(252, 245, 218);
    padding: 0 2px;
    position: relative;
    margin-top: 2px;
}
.marked.inactive {
    background-color: transparent;
}
a.marked {
    text-decoration: none;
    color: #000;
}
.kwm {
    position: relative;
    display: inline-block;
}
.kwm:after,
.marked:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
}
.marked-loc:after,
.marked0:after {
    background-color: #9c27b0; /* violino */
}
.marked-per:after,
.marked1:after {
    background-color: #00bcd4; /* cyan */
}
.marked-org:after,
.marked2:after {
    background-color: #ffc107; /* giallo */
}
.marked3:after {
    background-color: #009688;
}
.marked4:after {
    background-color: #e91e63; /* rosa */
}
.marked5:after {
    background-color: #673ab7; /* viola scuro */
}
.marked6:after {
    background-color: #795548; /* brown */
}
.marked7:after {
    background-color: #ff5722; /* orange */
}
.marked8:after {
    background-color: #607d8b; /* grey */
}
.marked9:after {
    background-color: #cddc39; /* lime */
}
table .badge {
    font-weight: 400;
}
.c-loc {
    color: #f0ad4e;
}
.c-per {
    color: #5cb85c;
}

.c-org {
    color: #d9534f;
}
.mb0 {
    margin-bottom: 0;
}
.field-nersearch-id_conll_doc,
.field-nersearch-searchner,
.field-nersearch-tipo,
.mr10 {
    margin-right: 10px;
}
.nowrap {
    white-space: nowrap;
}
.btn-primary {
    border-color: #F0AD4E;
    background-color: #F0AD4E;
}
.btn-primary:active,
.btn-primary.active, .open > .dropdown-toggle.btn-primary,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus, .open >
.dropdown-toggle.btn-primary.focus,
.btn-primary:hover,
.btn-primary:focus {
    border-color: #ec971f;
    background-color: #ec971f;
}
.btn-default {
    border-color: #F0AD4E;
}
.text-primary {
    color: #7C746B;
}
.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary,
.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
    background-color: #F0AD4E;
}
.form-control {
    border-radius: 0;
}
.bootstrap-switch.bootstrap-switch-focused,
.form-control:focus {
    border-color: #7C746B;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(124, 116, 107, .6);
}
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    border-color: #7C746B;
    background-color: #7C746B;
}
.pagination > li > a, .pagination > li > span,
.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    color: #7C746B;
}
.bootstrap-switch,
.bootstrap-switch.bootstrap-switch-on .bootstrap-switch-label,
.bootstrap-switch.bootstrap-switch-off .bootstrap-switch-label,
.bootstrap-switch .bootstrap-switch-handle-on,
.bootstrap-switch .bootstrap-switch-handle-off,
.bootstrap-switch .bootstrap-switch-container {
    border-radius: 0 !important;
}
.frasi-index,
.frasi-view {
    min-height: 65vh;
}
.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
  background-color: #F0AD4E;
}
.select2-container--bootstrap.select2-container--focus .select2-selection, .select2-container--bootstrap.select2-container--open .select2-selection {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(124, 116, 107, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(124, 116, 107, .6);
  border-color: #7C746B;
}
.select2-container--bootstrap .select2-dropdown {
  border-color: #7C746B;
}
.btnblk > div {
    margin-top: 40px;
    margin-bottom: 60px;
}
.btnblk a:hover, .btn-block:focus {
    text-decoration: none;
}
.btnblk h4 {
    position: relative;
    font-size: 24px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.btnblk h4:after {
    position: absolute;
    content: "";
    left: 50%;
    bottom: 0;
    width: 100px;
    margin-left: -50px;
    height: 2px;
    background-color: #7C746B;
}
.btnblk p {
    max-width: 400px;
    margin: 0 auto 10px auto;
}
.bglightgrey {
    background-color: #efefef;
}
.bglightgrey h4:after {
    content: none;
}
.bglightgrey h2 {
    color: #7C746B;
    margin-top: 40px;
}
.bglightgrey h4 {
    font-size: 18px;
}
.bglightgrey .btnblk .bgw {
    background-color: #fff;
    display: block;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}