/*@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 {
    overflow-x: hidden;
}

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:#14b6c3;
}

body a i, body a:visited i {
    color:#14b6c3;
}

body a:hover {
    color:#f44242;
}

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

}

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

main {
    float:left;
    margin-top: 60px;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 15px;
}

#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 {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: #232323;
    color: #fff;
    height: 60px;
    overflow: auto;
    position: fixed;
    overflow: hidden;
    z-index:100;
}

#sidebar {
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    background-color: #302f2f;
    min-height: 101vh;
    margin-top: 60px;
    z-index: 100;
}

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

footer {
    position: absolute;
    width: 100%;
    left: 20px;
    right: 20px;
    bottom: 80px;
    color: #fff;
    font-size: 12px;
}

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

.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;
}

#centrale {
    float:left;
    padding: 2%;
    padding-bottom: 50px;
}

#totale {
    width:100%;
    padding: 2%;
}

#laterale {
    width: 27%;
    float: left;
    padding: 2%;
    padding-left: 2%;
    min-height: 100vw;
    padding-bottom: 50px;
}

a button {
    width: auto;
    margin-bottom: 15px;
}

/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 #14b6c3;
    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: #14b6c3;
    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%;
}

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;
}

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

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

button, input[type='submit'] {
    width: 100%;
    background-color: #14b6c3;
    border-radius: 5px;
    color:#fff;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    outline: none;
    margin-bottom: 0px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    border:none;
}
button:hover, input[type='submit']:hover {
    background-color: #000000;
}
button:focus, input[type='submit']:focus {
    background-color: #14b6c3;
}

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;
}

select {
    border-radius: 5px;
}

/* ---------------------------------------------------------------------------------------------------------- SELECT2 */
.select2-selection.select2-selection--single {
    border-radius: 0px;
    border:1px solid #ccc;
}

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

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

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

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

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

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

.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 #14b6c3;
    background-color: transparent;
    color: #14b6c3;
    font-size: 13px;
    text-align: center;
    text-decoration: none !important;
}

table tr th a {
    font-size: 13px;
    text-decoration: none !important;
}

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;
}

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

.imgGallery {
    width: 23%;
    margin: 1%;
    float:left;
}

#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:#14b6c3;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

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

#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;
}

/* 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;
    }
    main {
        width: 100%;
        margin-left: 0%;
    }
    #sidebar {
        position: fixed;
        top: 0px;
        bottom: 0px;
        width: 90%;
        right: -90%;
    }
    .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;
    }
    main {
        width: 100%;
        margin-left: 0%;
    }
    #sidebar {
        position: fixed;
        top: 0px;
        bottom: 0px;
        width: 70%;
        right: -70%;
    }
    .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;
    }
    main {
        width: 100%;
        margin-left: 0%;
    }
    #sidebar {
        position: fixed;
        top: 0px;
        bottom: 0px;
        width: 70%;
        right: -70%;
    }
    .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;
    }
    main {
        width: 100%;
        margin-left: 0%;
    }
    #sidebar {
        position: fixed;
        top: 0px;
        bottom: 0px;
        width: 70%;
        right: -70%;
    }
    .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;
    }
    main {
        width: 100%;
        margin-left: 0%;
    }
    #sidebar {
        position: fixed;
        top: 0px;
        bottom: 0px;
        width: 50%;
        right: -50%;
    }
    .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;
    }
    main {
        width: 75%;
        margin-left: 25%;
    }
    #sidebar {
        left: 0px;
        float: left;
        width: 25%;
    }
    .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;
    }
    main {
        width: 80%;
        margin-left: 20%;
    }
    #sidebar {
        left: 0px;
        float: left;
        width: 20%;
    }
    .mobile {
        display: none;
    }
    .standalone {
        display: flex;
    }
    .standaloneBlock {
        display: block;
    }
}