/*@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,700');*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600');

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ LINKS & BODY */

body {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-rows: 4em 1fr;
    grid-template-areas: "header header" "sidebar content";
}

body * {
    font-family: 'Montserrat', sans-serif;
}

body a, body p, body div, table tr th, table tr td, table tr td input {
    font-size: 17px;
}

body a, body a:visited {
    color:#f16f23;
}

body a i, body a:visited i {
    color:#fff;
}

body a:hover {
    color:#f44242;
}

body a.black, body a.black:hover {
    color: #000;

}

.space-bottom {
    margin-bottom: 1rem;
}

.space-top {
    margin-top: 1rem;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ STRUCTURE */
#container {
    grid-area: content;
    height: auto;
    overflow: auto;
    min-height: 100vh;
}

main {
    grid-area: content;
    overflow-y: scroll;
}

.main-content-wrapper {
    padding: 1rem;
}

#innerMain {
    /*box-shadow: 0 0 0.5rem 0 #ccc;*/
    border:1px solid #c0c0c0;
    box-shadow: 0px 1px 1px #c0c0c4;
    border-radius: 5px;
    padding: 20px;
    overflow: hidden;
    height: auto;
    margin-top: 15px;
}

header {
    grid-area: header;
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: #232323;
    color: #fff;
    height: 4rem;
    z-index: 100;
}

header > * {
    flex-grow: 1;
}

#sidebar {
    grid-area: sidebar;
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    background-color: #302f2f;
    z-index: 100;
    min-width: 16rem;

    display: flex;
    flex-direction: column;
}

.compact-menu-action {
    color: white;
    cursor: pointer;
    margin-bottom: 1rem;
}


body.compact #sidebar {
    min-width: 0;
}

body.compact .menu-item-label,
body.compact #sidebar footer {
    display: none;
}

body.compact #sidebar .flex {
    padding: 0;
}

body.compact #sidebar nav ul li {
    padding: 7px;
}

#searchSidebar {
    position: fixed;
    top: 0px;
    bottom: 0px;
    border-left: 1px solid #f16f23;
    box-sizing: border-box;
    padding: 20px;
    background-color: #fff;
    z-index: 200;
}

footer {
    color: #fff;
    font-size: 12px;
}

#footerLine {
    height:3px;
    width:100%;
    position:fixed;
    bottom:0px;
    background-color: #2d2d2d;
}

.info {
    background-color: #aae5f7;
    padding: 1rem;
}

.info a,
.info a:visited {
    font-weight: bold;
    color: #008eba;
}
.info a:hover,
.info a:active,
.info a:focus {
    color: #006787;
}

.info p:last-child {
    margin: 0;
}

.shadow {
    border-radius: 5px;
    padding: 20px;
    float: left;
    border:1px solid #c0c0c0;
    box-shadow: 0px 1px 1px #c0c0c4;
}

.shadow img {
    border-radius: 5px;
}

.shadowFull {
    border:1px solid #c0c0c0;
    box-shadow: 0px 1px 1px #c0c0c4;
    border-radius: 5px;
    padding: 20px;
    width: 100%;
    margin-top: 15px;
}

.shadow h3, .shadowFull h3 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
}

.formButtonDiv {
    margin-top: 10px;
    padding: 5px;
}

.tag {
    float:left;
    padding: 5px;
    border: 1px solid #000;
    background-color: #eee;
    border-radius: 5px;
    margin-right: 5px;
}

.row {
    max-width: unset;
}

.media-select-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.media-select-row .media-thumb {
    width: 8rem;
    margin-right: 1rem;
    flex: 0 0 auto;
}

.media-select-row .media-thumb img {
    width: 100%;
}

.media-select-row .media-details {
    flex-grow: 1;
}

.media-select-row .media-details * {
    line-height: 1.2;
    margin: 0.2rem 0;
    color: inherit;
    font-size: .7rem;
}

.media-select-row .media-details h1 {
    font-size: 1.2rem;
}

.media-select-row .media-details h3 {
    font-size: 1rem;
}

.media-select-row .media-details h6 {
    font-size: 0.8rem;
}

.media-select-row .media-details .nosearch {
    font-size: inherit;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ BREADCRUMB */

#breadcrumb {
    background-color: #eee;
    padding: 5px;
    border-radius: 5px;
    margin-top: 15px;
    border:1px solid #c0c0c0;
    box-shadow: 0px 1px 1px #c0c0c4;

    color:#000;
}

#breadcrumb a {
    color:#000;
    font-weight: 700;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ POPUP */
#popup_background {
    position: fixed;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    opacity: 0.7;
    background-color: #000;
    z-index: 100;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
}

#popup_content {
    position: fixed;
    top: 100px;
    bottom: 100px;
    background-color: #fff;
    border-radius: 5px;
    z-index: 101;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
    border:2px solid #f16f23;
    overflow: scroll;
}

#popup_icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 10px;
    z-index: 99;
    background-color: #f16f23;
    cursor: pointer;
}
#popup_icon i {
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ PAGINATOR */

#paginator {
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 15px;
    text-align: center;
    width: auto;
    height: auto;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    background-color: #eee;
    border: 1px solid #ccc;
}

#paginator li {
    list-style: none;
    margin-top: 3px;
    margin-bottom: 3px;
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}
#paginator li a {
    color:#000;
    font-weight: 700;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ NAV */
nav {
    width: 100%;
    flex: 1 1 0;
    overflow-y: auto;
}

nav ul {
    list-style-type: none;
    width: 100%;
    padding: 0px;
    margin: 0px;
}
nav ul li {
    width: 100%;
    padding: 7px;
    padding-left: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
    color: #fff;
    height: auto;
    overflow: auto;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
}

nav ul li i {
    font-size: 13px;
    color: #fff;
    padding: 10px;
    border-radius: 17px;
    margin-left: auto;
    width: 34px;
    height: 34px;
    text-align: center;
}

nav ul li.clicked ul {
    display: block;
}

nav ul li ul {
    display: none;
    margin-left: 0px;
    padding: 10px;
}

nav ul li ul li {
    padding: 0px;
    border-radius: 0px;
}

nav .flex {
    display: flex;
    align-items: center;
    width: 100%;
    padding-left: 5px;
}


/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INPUTS */

button, input[type='submit'], .button, .button:visited {
    display: inline-block;
    background-color: #f16f23;
    border-radius: 5px;
    color:#fff;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    outline: none;
    margin: 0;
    text-transform: uppercase;
    font-family: inherit;
    font-weight: bold;
    font-size: 15px;
    border: none;
}
button:hover, input[type='submit']:hover, .button:hover {
    background-color: #000000;
}
button:focus, input[type='submit']:focus, .button:focus {
    background-color: #f16f23;
}

form [type='submit'], form .button, .row .columns button {
    width: 100%;
}

.row .columns .trumbowyg-button-group button {
    width: unset;
    color: black;
}

.trumbowyg-box {
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
}

.trumbowyg-box.trumbowyg-fullscreen {
    border-radius: 0;
}

.trumbowyg-button-pane {
    background-color: #fafafa;
}

input[type=checkbox],
input[type=radio] {
    margin: 0px;
    border:1px solid #1798A5;
    margin-right: 10px;
}
input[type=text], input[type=password], input[type=email], input[type=search], input[type=tel] {
    box-shadow: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: transparent;
    color: #000;
}
input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=search]:focus {
    color:#000;
}

input[type=number],
textarea,
select {
    border-radius: 5px;
    box-shadow: none;
}

select {
    padding-right: 20px;
}

/* ---------------------------------------------------------------------------------------------------------- SELECT2 */
body .select2-container span.select2-selection {
    line-height: 0;
    border-color: #ccc;
}

body .select2-container span.select2-selection--single {
    background-color: #fafafa;
}

body .select2-container--focus span.select2-selection,
body .select2-container--default.select2-container--focus .select2-selection--multiple,
body .select2-container:hover span.select2-selection,
body .select2-container:hover .select2-selection--multiple {
    border-color: #999;
}

body .select2-container .select2-results__option--highlighted[aria-selected] {
    background-color: #f16f23;
}

.select2-selection.select2-selection--single {
    border-radius: 5px;
}

.select2 *, .select2 .select2-results__option {
    font-size: 0.875rem;
}

.select2 .select2-selection {
    box-sizing: content-box;
    padding: 3px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px;
    right: 3px;
}

.select2.select2-container {
    margin-bottom: 15px;
}

.select2 .select2-search .select2-search__field {
    margin:0px;
}

#searchSidebar .select2.select2-container {
    width: 100% !important;
}

/* Duration picker */

.duration-picker .line {
    display: flex;
    flex-direction: row;
}

.duration-picker .line .col {
    width: 10rem !important;
    max-width: calc(100% - 1rem);
}

.duration-picker .line .col ~ .col {
    margin-left: 1rem;
}

.duration-picker .duration-selectors select {
    margin-bottom: .5rem;
}

.duration-picker .duration-labels {
    margin-bottom: 1rem;
}

.duration-picker .duration-labels .col {
    font-size: 60%;
    text-transform: uppercase;
}


/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ FLASH */

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    z-index: 999;
    overflow: hidden;
    line-height: 2.5em;
    height: auto;
    position: fixed;
    right: 10px;
    border-radius: 5px;
}

.message {
    height: auto;
    width: auto;
    border-collapse: collapse;
    background-color: white;
}

.message.success {
    border: 3px solid darkgreen;
}
.message.success i {
    color: darkgreen;
}

.message.error {
    border: 3px solid #a40100;
}
.message.error i {
    color:#a40100;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ TABLE */

table tr th {
    color: #000;
    border-bottom: 2px solid #f16f23;
    background-color: transparent;
    color: #f16f23;
    font-size: 13px;
    text-align: center;
}

table tr th.ultima {
    border-bottom: 1px solid #aaa;
}

table tr td {
    border-bottom: 1px solid #ddd;
    vertical-align: middle !important;
    text-align: center;
    -webkit-transition: all 100ms linear;
    -moz-transition: all 100ms linear;
    -o-transition: all 100ms linear;
    -ms-transition: all 100ms linear;
    transition: all 100ms linear;
}

table tr td ul {
    margin-bottom: 0px;
}

table tr td.tdFunzioni {
    text-align: right;
}
table tr td.tdFunzioni i {
    color: #000;
    margin-left: 10px;
    font-size: 20px;
}

table tr td:first-child, table tr th:first-child  {
    text-align: left;
}

table tr:hover td {
    background-color: #f8f8f8;
    border-bottom: 1px solid #302f2f;
}

table tr.trRossa td {
    background-color: #ffefef;
}

table tr td input {
    margin: 0px !important;
}

.gymtool-picture img {
    display: inline-block;
    height: 4rem;
    width: auto;
}

.gymtool-picture i {
    font-size: 2rem;
    padding: 1rem;
}

.calendar-close-button:hover {
    opacity: 0.8;
}

.fc-widget-content {
    height: 0.05em !important;
    border-bottom: 0 !important;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ RANDOM ??? */

#imgLogged {
    position: fixed;
    bottom: 40px;
    left: 15px;
    width: 65px;
    height: 65px;
}

#rightLine {
    width:3px;
    position: fixed;
    top:0;
    right:0;
    height: 100vh;
    background-color: #2d2d2d;
}

#logoutIcon {
    color:#f16f23;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.divCerca {
    margin-bottom: 15px;
    padding: 20px;
    background-color: #ffcccc;
    height: auto;
    border: 1px solid #f16f23;
}

#map {
    width:100%;
    height:300px;
}

.tagDiv {
    border:1px solid #ccc;
    border-radius: 5px;
    width: 32%;
    padding: 1%;
    margin-right:1%;
    text-align: center;
    float:left;
    margin-bottom: 20px;
    font-size: 12px;
}

.ticketMessage {
    width: 80%;
    border:1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.ticketMessage.one {
    margin-left: 20%;
    text-align: right;
}
.ticketMessage.two {
    margin-right: 20%;
    text-align: left;
    background-color: #eee;
}

.iMessage {
    padding:3px;
    cursor: pointer;
}
.iMessage.one {
    float:left;
}
.iMessage.two {
    float:right;
}

.analyticsDiv {
    padding: 20px;
    border:1px solid #ccc;
    height: auto;
    overflow: auto;
    border-radius: 4px;
    box-shadow: 2px 2px 2px #ccc;
}


/* Storage indicator */

.storage-indicator {
    display: block;
    max-width: 16rem;
    margin: 0 auto;
    background-color: #efefef;
    border: 1px solid #8d8d8d;
    text-align: left;
}

.storage-bar {
    height: 1rem;
    background-color: #bdbdbd;
}

.storage-ok {
    background-color: #66bb6a;
}

.storage-warning {
    background-color: #ffca28;
}

.storage-danger {
    background-color: #ef5350;
}

.storage-description {
    font-size: 80%;
    margin: .25em 0;
}

.inline-action {
    display: inline-block;
    margin-left: .5rem;
}

.inline-action i {
    color: black !important;
}


/* Sortable */

.sortable-contents {
    border-top: 1px solid #8d8d8d;
}

.sortable-contents .sortable-row {
    cursor: move;
    background-color: white;
    border-bottom: 1px solid #8d8d8d;
    padding: .5rem 0;
}

.sortable-contents .ui-sortable-helper {
    border-bottom: none;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
}

.sortable-contents .sortable-buttons a i.fa {
    color: black;
    font-size: 1.5rem;
    padding: .25rem;
}

.bottom-spacer {
    display: block;
    height: 50vh;
}

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
}

.dialog::before {
    content: "";
    display: block;
    background-color: rgba(0, 0, 0, 0.125);
    position: fixed;
    width: 400vw;
    height: 400vh;
    top: -100vh;
    left: -100vw;
    z-index: -2;
}

.dialog::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    box-shadow: 0 .5rem 2.5rem rgba(0, 0, 0, 0.25);
    z-index: -1;
}

.dialog-wrapper {
    display: block;
    overflow: auto;
    width: 50rem;
    max-width: 80vw;
    max-height: 80vh;
}

.dialog-content {
    padding: 2rem;
}

.dialog-input-label {
    margin-top: 1rem;
}

.dialog-content .fancy-divider {
    display: block;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    font-size: .8rem;
    line-height: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: #cccccc;
    margin: 1.5rem auto;
}

.dialog-content .fancy-divider .fancy-label {
    background-color: white;
    position: relative;
    padding: 0 .5rem;
}

.dialog-content .fancy-divider::before {
    content: "";
    display: block;
    background-color: #eeeeee;
    width: 100%;
    height: 1px;
    transform: translateY(.6rem);
}

.dialog-close {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    text-align: center;
    color: #888888;
    cursor: pointer;
    position: fixed;
    line-height: 1;
    font-size: 2rem;
    right: .5rem;
    top: .5rem;
}

.standard-event {
    margin-bottom: .5rem;
}

.standard-event h6 {
    font-style: italic;
}

.standard-event .media {
    font-size: .8rem;
}


#date-clock {
    text-transform: capitalize;
}


/* MEDIA QUERIES */

@media screen and (min-width: 0px) {
    h1, .sh1 { font-size:20px; }
    h2, .sh2 { font-size:17px; }
    h3, .sh3 { font-size:15px; }
    h4, .sh4 { font-size:13px; }
    h5, .sh5 { font-size:11px; }
    .small { display: none; }
    .big { display: table-cell; }
    .mediaWidth { width: 100%; }
    #centrale { width:100%; }
    #laterale { width: 100%; border-left: none; padding-left: 1%; border-top: 1px solid #ccc; }
    #external, #external_fixed { width: 50%; left: -50%; }
    #external_logo { left: 6%; }
    #container { margin-left: 3%; }

    .shadow {
        width: 100%;
        margin-top: 15px;
    }

    .sameHeight {
        display: block;
        height: auto;
        overflow: auto;
        margin-top: 0px;
    }
    .mobile {
        display: block;
    }
    .standalone, .standaloneBlock {
        display: none;
    }
}

@media screen and (min-width: 0px) {
    h1, .sh1 { font-size:23px; }
    h2, .sh2 { font-size:20px; }
    h3, .sh3 { font-size:17px; }
    h4, .sh4 { font-size:15px; }
    h5, .sh5 { font-size:11px; }
    .small { display: none; }
    .big { display: table-cell; }
    .mediaWidth { width: 100%; }
    #centrale { width:100%; }
    #laterale { width: 100%; border-left: none; padding-left: 1%; border-top: 1px solid #ccc; }
    #external, #external_fixed { width: 50%; left: -50%; }
    #external_logo { left: 6%; }
    #container { margin-left: 3%; }
    #searchSidebar {
        width: 80%;
        right: -80%;
    }
    #popup_content {
        right: 2%;
        left: 2%;
    }

    .shadow {
        width: 100%;
        margin-top: 15px;
    }

    .sameHeight {
        display: block;
        height: auto;
        overflow: auto;
        margin-top: 0px;
    }
    .mobile {
        display: block;
    }
    .standalone, .standaloneBlock {
        display: none;
    }
}

/* Schermi solitamente di 480px */
@media screen and (min-width: 440px) {
    h1, .sh1 { font-size:23px; }
    h2, .sh2 { font-size:20px; }
    h3, .sh3 { font-size:17px; }
    h4, .sh4 { font-size:15px; }
    h5, .sh5 { font-size:11px; }
    .small { display: none; }
    .big { display: table-cell; }
    .mediaWidth { width: 100%; }
    #centrale { width:100%; }
    #laterale { width: 100%; border-left: none; padding-left: 1%; border-top: 1px solid #ccc; }
    #external, #external_fixed { width: 50%; left: -50%; }
    #external_logo { left: 6%; }
    #container { margin-left: 3%; }
    #searchSidebar {
        width: 70%;
        right: -70%;
    }
    #popup_content {
        right: 5%;
        left: 5%;
    }

    .shadow {
        width: 100%;
        margin-top: 15px;
    }

    .sameHeight {
        display: block;
        height: auto;
        overflow: auto;
        margin-top: 0px;
    }
    .mobile {
        display: block;
    }
    .standalone, .standaloneBlock {
        display: none;
    }
}

/* Schermi solitamente di 600px */
@media screen and (min-width: 560px) {
    h1, .sh1 { font-size:23px; }
    h2, .sh2 { font-size:20px; }
    h3, .sh3 { font-size:17px; }
    h4, .sh4 { font-size:15px; }
    h5, .sh5 { font-size:11px; }
    .small { display: none; }
    .big { display: table-cell; }
    .mediaWidth { width: 100%; }
    #centrale { width:100%; }
    #laterale { width: 100%; border-left: none; padding-left: 1%; border-top: 1px solid #ccc; }
    #external, #external_fixed { width: 50%; left: -50%; }
    #external_logo { left: 6%; }
    #container { margin-left: 3%; }
    #searchSidebar {
        width: 70%;
        right: -70%;
    }
    #popup_content {
        right: 10%;
        left: 10%;
    }

    .shadow {
        width: 100%;
        margin-top: 15px;
    }

    .sameHeight {
        display: block;
        height: auto;
        overflow: auto;
        margin-top: 0px;
    }
    .mobile {
        display: block;
    }
    .standalone, .standaloneBlock {
        display: none;
    }
}

/* Schermi solitamente di 768px */
@media screen and (min-width: 720px) {
    h1, .sh1 { font-size:23px; }
    h2, .sh2 { font-size:20px; }
    h3, .sh3 { font-size:17px; }
    h4, .sh4 { font-size:15px; }
    h5, .sh5 { font-size:11px; }
    .small { display: table-cell; }
    .big { display: none; }
    .mediaWidth { width: 50% !important; margin-left: 25% !important; }
    #centrale { width:100%; }
    #laterale { width: 100%; border-left: none; padding-left: 1%; border-top: 1px solid #ccc; }
    #external, #external_fixed { width: 40%; left: -40%; }
    #external_logo { left: 6%; }
    #container { margin-left: 2%; }
    #searchSidebar {
        width: 60%;
        right: -60%;
    }
    #popup_content {
        right: 15%;
        left: 15%;
    }

    .shadow {
        width: 100%;
        margin-top: 15px;
    }

    .sameHeight {
        display: block;
        height: auto;
        overflow: auto;
        margin-top: 0px;
    }
    .mobile {
        display: block;
    }
    .standalone, .standaloneBlock {
        display: none;
    }
}

/* Schermi solitamente di 1024px o superiori */
@media screen and (min-width: 960px) {
    h1, .sh1 { font-size:30px; }
    h2, .sh2 { font-size:23px; }
    h3, .sh3 { font-size:20px; }
    h4, .sh4 { font-size:17px; }
    h5, .sh5 { font-size:12px; }
    .small { display: table-cell; }
    .big { display: none; }
    .mediaWidth { width: 50% !important; margin-left: 25% !important; }
    #centrale { width:60%; }
    #laterale { width: 40%; border-left: 1px solid #ccc; padding-left: 2%; border-top: none; }
    #external, #external_fixed { width: 30%; left: -30%; }
    #external_logo { left: 3%; }
    #container { margin-left: 1%; }
    #searchSidebar {
        width: 40%;
        right: -40%;
    }
    #popup_content {
        right: 20%;
        left: 20%;
    }

    .shadow {
        width: 49.5%;
        margin-top: 0px;
    }

    .sameHeight {
        display: flex;
        display: -webkit-flex;
        flex-flow: row nowrap;
        -webkit-flex-flow: row nowrap;
        align-items: stretch;
        -webkit-align-items: stretch;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        margin-top: 15px;
    }
    .mobile {
        display: none;
    }
    .standalone {
        display: flex;
    }
    .standaloneBlock {
        display: block;
    }
}

@media screen and (min-width: 1400px) {
    h1, .sh1 { font-size:30px; }
    h2, .sh2 { font-size:25px; }
    h3, .sh3 { font-size:20px; }
    h4, .sh4 { font-size:17px; }
    h5, .sh5 { font-size:12px; }
    .small { display: table-cell; }
    .big { display: none; }
    .mediaWidth { width: 50% !important; margin-left: 25% !important; }
    #centrale { width:60%; }
    #laterale { width: 40%; border-left: 1px solid #ccc; padding-left: 2%; border-top: none; }
    #external, #external_fixed { width: 30%; left: -30%; }
    #external_logo { left: 3%; }
    #container { margin-left: 1%; }
    #searchSidebar {
        width: 30%;
        right: -30%;
    }
    #popup_content {
        right: 25%;
        left: 25%;
    }

    .shadow {
        width: 49.5%;
        margin-top: 0px;
    }

    .sameHeight {
        display: flex;
        display: -webkit-flex;
        flex-flow: row nowrap;
        -webkit-flex-flow: row nowrap;
        align-items: stretch;
        -webkit-align-items: stretch;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        margin-top: 15px;
    }
    .mobile {
        display: none;
    }
    .standalone {
        display: flex;
    }
    .standaloneBlock {
        display: block;
    }
}

.langImg {
    border-radius: 5px;
    padding: 0px 4px;
}

.langImgActive {
    background-color: #f16f23;
}