* {
    padding: 0;
    margin: 0;
}

html {
    height: 100%;
}

body {
    color: #333333;
    font-size: 1.4em;
    min-height: 100%;
    background: #fff !important;
    font-family: 'Open Sans', sans-serif !important;
}

*:focus {
  box-shadow: none !important;
}

@media only screen and (max-width: 767px) {
    body {
        padding-top: 135px !important;
    }

    body.site-name-lines-3 {
        padding-top: 143px !important;
    }

    body.toolbar.navbar-is-fixed-top {
        padding-top: 185px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    body {
        padding-top: 197px !important;
    }

    body.toolbar.navbar-is-fixed-top {
        padding-top: 223px !important;
    }
}

@media only screen and (min-width: 992px) {
    body {
        padding-top: 193px !important;
    }

    body.toolbar.navbar-is-fixed-top {
        padding-top: 223px !important;
    }
}

ul, ol {
    margin: 0 0 1em 0;
    padding: 0 0 0 1.5em;
}

.region-content a {
    color: #0058ff;
}

a, a:hover {
    color: #000;
    text-decoration: none !important;
}

img, a img {
    border: none;
}

input,
textarea,
select,
button {
    border-radius: 0 !important;
}


/*
 * BACKGROUNDS
 */
.bg-orange {
    background: #c54c00;
}

.bg-gray {
    background: #5d5949;
}

.bg-red {
    background: #822433;
}


/*
 * BROWSERS RESETTING
 */

/* Change Autocomplete styles in Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
input:-webkit-autofill, 
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}


/*
 * BOOTSTRAP
 */
.container {
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1,
.col-xs-2, .col-sm-2, .col-md-2, .col-lg-2,
.col-xs-3, .col-sm-3, .col-md-3, .col-lg-3,
.col-xs-4, .col-sm-4, .col-md-4, .col-lg-4,
.col-xs-5, .col-sm-5, .col-md-5, .col-lg-5,
.col-xs-6, .col-sm-6, .col-md-6, .col-lg-6,
.col-xs-7, .col-sm-7, .col-md-7, .col-lg-7,
.col-xs-8, .col-sm-8, .col-md-8, .col-lg-8,
.col-xs-9, .col-sm-9, .col-md-9, .col-lg-9,
.col-xs-10, .col-sm-10, .col-md-10, .col-lg-10,
.col-xs-11, .col-sm-11, .col-md-11, .col-lg-11,
.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 10px;
    padding-right: 10px;
}

.list-group-item {
    border-radius: 0 !important;
}

div.error {
    background: none;
}

.btn {
    border-radius: 0;
}

a.btn {
    color: #fff;
}

.btn-primary {
    background-color: #822433;
    border-color: #6e1e2b;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary:hover,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #6e1e2b;
    border-color: #5a1923;
    outline: none;
}

.biblioteca .btn-primary {
    background-color: #52514B;
    border-color: #45443f;
}

.biblioteca .btn-primary:hover,
.biblioteca .btn-primary:focus,
.biblioteca .btn-primary.focus,
.biblioteca .btn-primary:active:hover,
.biblioteca .btn-primary:active:focus,
.biblioteca .btn-primary:active.focus,
.biblioteca .btn-primary.active:hover,
.biblioteca .btn-primary.active:focus,
.biblioteca .btn-primary.active.focus,
.biblioteca .open > .dropdown-toggle.btn-primary:hover,
.biblioteca .open > .dropdown-toggle.btn-primary:focus,
.biblioteca .open > .dropdown-toggle.btn-primary.focus {
    background-color: #45443f;
    border-color: #383733;
}

.centro .btn-primary {
    background-color: #146255;
    border-color: #104d43;
}

.centro .btn-primary:hover,
.centro .btn-primary:focus,
.centro .btn-primary.focus,
.centro .btn-primary:active:hover,
.centro .btn-primary:active:focus,
.centro .btn-primary:active.focus,
.centro .btn-primary.active:hover,
.centro .btn-primary.active:focus,
.centro .btn-primary.active.focus,
.centro .open > .dropdown-toggle.btn-primary:hover,
.centro .open > .dropdown-toggle.btn-primary:focus,
.centro .open > .dropdown-toggle.btn-primary.focus {
    background-color: #104d43;
    border-color: #0c3831;
}

.dipartimento .btn-primary {
    background-color: #005866;
    border-color: #00424d;
}

.dipartimento .btn-primary:hover,
.dipartimento .btn-primary:focus,
.dipartimento .btn-primary.focus,
.dipartimento .btn-primary:active:hover,
.dipartimento .btn-primary:active:focus,
.dipartimento .btn-primary:active.focus,
.dipartimento .btn-primary.active:hover,
.dipartimento .btn-primary.active:focus,
.dipartimento .btn-primary.active.focus,
.dipartimento .open > .dropdown-toggle.btn-primary:hover,
.dipartimento .open > .dropdown-toggle.btn-primary:focus,
.dipartimento .open > .dropdown-toggle.btn-primary.focus {
    background-color: #00424d;
    border-color: #002c34;
}

.facolta .btn-primary {
    background-color: #2b425c;
    border-color: #23364b;
}

.facolta .btn-primary:hover,
.facolta .btn-primary:focus,
.facolta .btn-primary.focus,
.facolta .btn-primary:active:hover,
.facolta .btn-primary:active:focus,
.facolta .btn-primary:active.focus,
.facolta .btn-primary.active:hover,
.facolta .btn-primary.active:focus,
.facolta .btn-primary.active.focus,
.facolta .open > .dropdown-toggle.btn-primary:hover,
.facolta .open > .dropdown-toggle.btn-primary:focus,
.facolta .open > .dropdown-toggle.btn-primary.focus {
    background-color: #23364b;
    border-color: #1b293a;
}

.museo .btn-primary {
    background-color: #534F2C;
    border-color: #423f23;
}

.museo .btn-primary:hover,
.museo .btn-primary:focus,
.museo .btn-primary.focus,
.museo .btn-primary:active:hover,
.museo .btn-primary:active:focus,
.museo .btn-primary:active.focus,
.museo .btn-primary.active:hover,
.museo .btn-primary.active:focus,
.museo .btn-primary.active.focus,
.museo .open > .dropdown-toggle.btn-primary:hover,
.museo .open > .dropdown-toggle.btn-primary:focus,
.museo .open > .dropdown-toggle.btn-primary.focus {
    background-color: #423f23;
    border-color: #312f1a;
}

.pagination > li > a, 
.pagination > li > span {
    border-radius: 0 !important;
    color: #822433;
}

.pager li > a,
.pager li > span {
    border-radius: 0 !important;
}

.biblioteca .pager > li > a {
    color: #52514B;
}

.centro .pager > li > a {
    color: #146255;
}

.dipartimento .pager > li > a {
    color: #005866;
}

.facolta .pager > li > a {
    color: #2b425c;
}

.museo .pager > li > a {
    color: #534F2C;
}

.pager li.pager-current {
    font-size: 16px;
}

.pager li.pager-previous {
    margin-right: 15px;
}

.pager li.pager-next {
    margin-left: 15px;
}

.biblioteca .pagination > li > a {
    color: #52514B;
}

.centro .pagination > li > a {
    color: #146255;
}

.dipartimento .pagination > li > a {
    color: #005866;
}

.facolta .pagination > li > a {
    color: #2b425c;
}

.museo .pagination > li > a {
    color: #534F2C;
}

/* Pagination */
.view .text-center {
    clear: both;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    color: #fff;
    cursor: default;
    background-color: #822433;
    border-color: #822433;
}

.biblioteca .pagination > .active > a,
.biblioteca .pagination > .active > span,
.biblioteca .pagination > .active > a:hover,
.biblioteca .pagination > .active > span:hover,
.biblioteca .pagination > .active > a:focus,
.biblioteca .pagination > .active > span:focus {
    background-color: #52514B;
    border-color: #52514B;
}

.centro .pagination > .active > a,
.centro .pagination > .active > span,
.centro .pagination > .active > a:hover,
.centro .pagination > .active > span:hover,
.centro .pagination > .active > a:focus,
.centro .pagination > .active > span:focus {
    background-color: #146255;
    border-color: #146255;
}

.dipartimento .pagination > .active > a,
.dipartimento .pagination > .active > span,
.dipartimento .pagination > .active > a:hover,
.dipartimento .pagination > .active > span:hover,
.dipartimento .pagination > .active > a:focus,
.dipartimento .pagination > .active > span:focus {
    background-color: #005866;
    border-color: #005866;
}

.facolta .pagination > .active > a,
.facolta .pagination > .active > span,
.facolta .pagination > .active > a:hover,
.facolta .pagination > .active > span:hover,
.facolta .pagination > .active > a:focus,
.facolta .pagination > .active > span:focus {
    background-color: #2b425c;
    border-color: #2b425c;
}

.museo .pagination > .active > a,
.museo .pagination > .active > span,
.museo .pagination > .active > a:hover,
.museo .pagination > .active > span:hover,
.museo .pagination > .active > a:focus,
.museo .pagination > .active > span:focus {
    background-color: #534F2C;
    border-color: #534F2C;
}


/*
 * TABS
 */
#tabs ul {
    margin: 0 0 20px;
}

#tabs a {
    border-radius: 0;
}

.front #tabs ul {
    margin: 20px 0 0 0;
}


/*
 * MESSAGES
 */
.messages-area {
    margin-top: 20px;
}

.messages-area .alert {
    margin-bottom: 10px;
    border-radius: 0;
}


/*
 * GRIPPIE
 */
.grippie {
    display: none !important;
}


/*
 * TITLES
 */
h2.title {
    margin: 0 0 10px;
    font-size: 26px;
    text-transform: uppercase;
}

.front h2.title {
    display: none;
}

.block-title {
    margin: 0;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    font-weight: 300;
    text-transform: uppercase;
    background: #822433;
}

.biblioteca .block-title {
    background: #52514B;
}

.centro .block-title {
    background: #146255;
}

.dipartimento .block-title {
    background: #005866;
}

.facolta .block-title {
    background: #2b425c;
}

.museo .block-title {
    background: #534F2C;
}


/*
 * BREADCRUMB
 */
#breadcrumb {
    margin: 20px 0;
}

.front #breadcrumb {
    display: none;
}

#breadcrumb .breadcrumb {
    background: transparent !important;
    font-size: 12px;
    padding: 5px 0;
    margin: 0;
    border-radius: 0;
}

#breadcrumb .breadcrumb li.active {
    color: #822433;
    font-weight: bold;
}

#breadcrumb .breadcrumb li.active:before {
    font-weight: normal;
}


/*
 * SQUARE
 */
.square > div {
    padding-bottom: 20px;
}

.square img {
    margin: 0 auto !important;
    padding: 13% 0;
}

.square br {
    display: none;
}

.square h3 {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 16px;
    margin: 0;
}

.square h3 a,
.square h3 a:hover {
    color: #fff !important;
}

.square h3 br {
    display: block;
}

@media only screen and (max-width: 767px) {
    .square > div {
        margin-bottom: 10px;
        padding-top: 20px;
    }

    .square img {
        display: none;
    }

    .same-height {
        height: auto !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .square {
        margin-bottom: 20px;
    }

    .square img {
        height: 230px;
        width: auto;
    }
}

@media only screen and (min-width: 992px) {
    .square img {
        height: 230px;
        width: auto;
    }
}


/*
 * MENU BLOCK
 */
.block-menu ul:not(.contextual-links) li,
.block-menu-block ul:not(.contextual-links) li {
    border: 1px solid #ddd;
}

.block-menu ul:not(.contextual-links) li a,
.block-menu-block ul:not(.contextual-links) li a {
    font-weight: 300;
    color: #555;
}

.block-menu ul:not(.contextual-links) li a:focus,
.block-menu-block ul:not(.contextual-links) li a:focus {
    outline: none;
}

.block-menu ul:not(.contextual-links) li:not(:last-child),
.block-menu-block ul:not(.contextual-links) li:not(:last-child) {
    border-bottom: 0;
}

.block-menu .active,
.block-menu-block .active {
    background: #eee;
}

.block-menu .block-title a,
.block-menu-block .block-title a {
    background-color: transparent;
    color: #fff;
}

.region-sidebar-first .block-menu .block-title,
.region-sidebar-first .block-menu-block .block-title {
    display: none;
}


#hero {
    margin-top: 20px;
}


/*
 * IMCE
 */
body.imce {
    padding: 0 !important;
    margin: 0 !important;
}

body.imce #preview-wrapper {
    height: 100%;
}