﻿/********************************** MEDIA QUERIES **********************************/
@media only screen and (max-width: 600px) {
    #left-sidebar {
        display: none;
    }

        #left-sidebar.minimized + #main-content {
            padding: 0;
        }

    .shrinkable {
        table-layout: fixed;
    }

        .shrinkable tbody td {
            word-wrap: break-word
        }

    h2 {
        font-size: 1.5em;
    }
}

@media only screen and (min-width: 601px) {
    #left-sidebar.minimized + #main-content {
        padding: 0 0 0 60px;
    }
}

/********************************** FONTS **********************************/
@font-face {
    font-family: yantramanavFont;
    src: url(fonts/Yantramanav-Regular.ttf);
}

@font-face {
    font-family: oswaldBoldFont;
    src: url(fonts/Oswald-Bold.ttf);
}

@font-face {
    font-family: impactFont;
    src: url(fonts/impact.ttf);
}
/********************************** GLOBAL CSS **********************************/

html {
    width: 100%;
    height: 100%;
    font-family: yantramanavFont;
}

input {
    font-family: yantramanavFont !important;
}

h1, h2, h4, h6 {
    font-family: oswaldBoldFont;
}

body {
    color: #000;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.navbar-fixed, nav {
    height: 80px;
    line-height: 80px;
}

.icon-btn,
.if-icons {
    position: relative;
    display: block;
    text-align: center;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
}

    .icon-btn::before,
    .if-icons::before {
        position: absolute;
        font-size: 25px;
        left: 0;
        right: 0;
        top: 10px;
        bottom: 0;
        -webkit-font-smoothing: antialiased;
        line-height: 24px;
    }

.icofont-logout {
    position: absolute;
    font-size: 25px;
    color: #525556;
    left: -5px;
    top: 9px;
    -webkit-font-smoothing: antialiased;
}



/********************************** COLOR CSS **********************************/

nav, footer /*, footer.page-footer*/ {
    background-color: white !important;
}

.col-right {
    background-color: rgba(2,0,0,0.05);
}

.btn, .btn-large, .btn-small, .datepicker-date-display, .pagination li.active {
    background-color: #e7500f !important;
}

.filled-in:checked + span:not(.lever):after {
    background-color: #e7500f !important;
    border: #e7500f !important;
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:before, [type="radio"].with-gap:checked + span:after {
    border: 2px solid #e7500f !important;
}

[type="radio"]:checked + span:after, [type="radio"].with-gap:checked + span:after {
    background-color: #e7500f !important;
}

.validation-summary-errors li {
    color: red;
}

/*h6*/ .logo {
    color: #e7500f !important;
    font-family: impactFont;
}


/********************************** HEADER **********************************/
header nav {
    padding: 0 25px;
}

    header nav .brand-logo {
        max-width: 260px;
        padding: 5px 0 0 0;
    }

    header nav ul > li {
        position: relative;
    }

        header nav ul > li > a {
            padding: 0;
            position: relative;
        }

            header nav ul > li > a i {
                width: 64px;
                height: 64px;
                line-height: 64px !important;
                color: #525556;
            }

/********************************** SIDENAV **********************************/

#left-sidebar {
    width: 300px;
    height: 100%;
    float: left;
    /*height: 0px;*/
    will-change: width;
    transition: width 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out;
    -moz-transition: width 0.3s ease-in-out;
    -o-transition: width 0.3s ease-in-out;
}

    #left-sidebar .mn-item img {
        float: left;
        margin-right: 5px;
        width: 40px;
        padding: 5px;
    }

    #left-sidebar.minimized,
    #left-sidebar.minimized #slide-menu {
        width: 60px;
        will-change: width;
        transition: width 0.3s ease-in-out;
        -webkit-transition: width 0.3s ease-in-out;
        -moz-transition: width 0.3s ease-in-out;
        -o-transition: width 0.3s ease-in-out;
    }

        #left-sidebar.minimized #minimizeMenu {
            right: 17px;
        }

        #left-sidebar.minimized .colored-divider {
            width: 100%;
            margin: 0;
        }
        /*#left-sidebar.minimized #minimizeMenu i.icofont-ui-play::before {
                content: '\ec74';
            }*/

        #left-sidebar.minimized #slide-menu .user-img {
            width: 100%;
            margin-top: 35px;
        }

        #left-sidebar.minimized #slide-menu .user-details {
            display: none;
            opacity: 0;
        }

        #left-sidebar.minimized #slide-menu > .mn-item > a > i.if-icons {
            width: 100%;
            margin: 0;
        }

        #left-sidebar.minimized #slide-menu > .mn-item > a > .text-btn {
            display: none;
        }

        #left-sidebar.minimized .mn-item img {
            margin-left: 4px;
        }


.side-nav {
    top: 80px;
    overflow-y: visible;
    z-index: 9990;
    position: fixed;
    height: calc(100% + 60px);
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 60px;
    width: 300px;
}

#slide-menu {
    background-color: rgb(255,255,255);
}
/* USER DETAILS */

.side-nav .top-user .user-view {
    margin-bottom: 0;
    /*padding: 15px 0 0 0;*/
    padding: 0;
    position: relative;
}

    .side-nav .top-user .user-view .user-img {
        max-width: 40px;
        margin: 5px auto;
    }

    .side-nav .top-user .user-view .user-details {
        height: 85px;
        padding-top: 25px;
        font-size: 18px;
        font-family: oswaldBoldFont;
    }

        .side-nav .top-user .user-view .user-details a {
            line-height: 15px;
            padding-bottom: 5px;
            /*color: white;*/
        }

    /* MINIMIZE ICON */

    .side-nav .top-user .user-view #minimizeMenu {
        position: absolute;
        top: 5px;
        right: 5px;
        width: 25px;
        height: 25px;
        /*background-color: #333333;*/
        cursor: pointer;
    }

        .side-nav .top-user .user-view #minimizeMenu i {
            width: 100%;
            height: 100%;
            line-height: 25px;
        }

            .side-nav .top-user .user-view #minimizeMenu i::before {
                font-size: 30px;
            }

/* MENU ITEM */

.side-nav .mn-item {
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: 48px;
    line-height: 48px;
    padding: 0 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

    .side-nav .mn-item a {
        padding: 0 5px;
        color: #525556;
        display: block;
    }

    .side-nav .mn-item span.icon-btn {
        display: none;
    }

    .side-nav .mn-item span,
    .side-nav .mn-item i {
        height: 48px;
        line-height: 48px;
    }

    .side-nav .mn-item i {
        width: 40px;
        margin: 0 5px 0 0;
        float: left;
    }

        .side-nav .mn-item i::before {
            color: #525556;
            font-size: 20px;
        }

/* SUBMENU */

.side-nav li.mn-item > ul.submenu {
    width: 100%;
    min-width: 250px;
    background-color: #ebebeb;
    display: none;
    opacity: 0;
    position: absolute;
    left: 100%;
    margin-top: -48px;
}

.side-nav li.mn-item:hover > ul.submenu {
    display: block;
    opacity: 1;
}

/********************************** MAIN CONTENT **********************************/

#left-sidebar.minimized + #main-content {
    will-change: padding;
    transition: padding 0.3s ease-in-out;
    -webkit-transition: padding 0.3s ease-in-out;
    -moz-transition: padding 0.3s ease-in-out;
    -o-transition: padding 0.3s ease-in-out;
    z-index: 9990;
}

#main-content {
    padding-left: 300px;
    will-change: padding;
    transition: padding 0.3s ease-in-out;
    -webkit-transition: padding 0.3s ease-in-out;
    -moz-transition: padding 0.3s ease-in-out;
    -o-transition: padding 0.3s ease-in-out;
}

    #main-content .top-container {
        position: relative;
    }

        #main-content .top-container .page-title {
            margin: 0 0 10px 0;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            line-height: 50px;
            color: #1a6a81;
            font-size: 2.5rem;
            padding: 0 10px;
        }

            #main-content .top-container .page-title + .settings-box {
                position: absolute;
                top: 0;
                right: 0;
            }

                #main-content .top-container .page-title + .settings-box i::before {
                    color: #333333;
                }

    #main-content .box-container {
        background: rgba(0,0,0,0.05);
        padding: 10px;
        margin: 0 0 10px 0;
        display: inline-block;
        width: 100%;
    }

        /*#main-content .box-container h5.title {
            background-color: rgba(0,0,0,0.1);
            padding: 10px;
            margin: 0;
            border-left: 5px solid rgba(0,0,0,0.3);
        }*/

        /* BOX CONTAINER SEARCH */

        #main-content .box-container.box-settings-input .row {
            margin-bottom: 5px;
        }

        #main-content .box-container.box-settings-input .input-field input[type=text],
        #main-content .box-container.box-settings-input .input-field input[type=password],
        #main-content .box-container.box-settings-input .input-field input[type=email] {
            margin-bottom: 0;
        }

        #main-content .box-container.box-settings-input ul.collapsible > li .collapsible-body {
            padding: 5px 0 15px 0;
            width: 100%;
            /*float: left;*/
        }

            #main-content .box-container.box-settings-input ul.collapsible > li .collapsible-body ul.list-horizontal {
                float: none;
            }

            #main-content .box-container.box-settings-input ul.collapsible > li .collapsible-body ul.list-horizontal
            /* MAIN FULLWIDTH USER PAGE MENU */ {
                width: 100%;
                will-change: width;
                transition: width 0.5s ease-in-out;
                -webkit-transition: width 0.5s ease-in-out;
                -moz-transition: width 0.5s ease-in-out;
                -o-transition: width 0.5s ease-in-out;
            }

.inp-tooltip {
    margin-top: 2.3rem;
}
    .inp-tooltip i {
        background-color: #e7500f;
        border-radius: 50%;
        padding: 5px;
        border: 2px solid white;
        color: white;
    }
/********************************** LIST **********************************/
ul.list-horizontal {
    width: 100%;
    margin: 0;
    float: left;
}

    ul.list-horizontal > li,
    ul.horizontal > li {
        display: inline-block;
        padding: 0 0.5rem;
    }

        ul.list-horizontal > li a,
        ul.horizontal > li a {
            display: inline;
        }

    ul.list-horizontal + .table-container {
        width: 100%;
        float: left;
    }


    ul.list-horizontal i {
        cursor: pointer;
        font-size: 25px;
        margin: 5px;
        line-height: 60px;
    }

/********************************** LOADER **********************************/
#loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.83);
    z-index: 99999;
}

    #loader .loader-container {
        width: 100%;
        height: 100%;
        text-align: center;
        margin: 0 auto;
    }

        #loader .loader-container > * {
            margin: 0 auto;
        }

/********************************** ALTRO **********************************/
.hidden {
    display: none;
    opacity: 1;
    visibility: hidden;
    z-index: 0;
    transition: opacity 0.55s ease-in;
    -webkit-transition: opacity 0.55s ease-in;
    -moz-transition: opacity 0.55s ease-in;
    -o-transition: opacity 0.55s ease-in;
}

.vis-hide {
    visibility:hidden;
}

.velocityinputgroup {
    display: none;
}

.col-right {
    float: right !important;
    padding: 15px !important;
}

@media screen and (max-width: 600px) {
    #resetform {
        margin-top: 10px;
    }
}

.clickable {
    cursor: pointer;
}

.modal.bottom-sheet {
    padding-left: 50px;
}

.collection-item {
    min-height: 60px;
}

.logout {
    margin-top: 200px;
}

/********************************** INPUT SLIDER **********************************/
.slider-cont, .slider-cont > div {
    margin-top: 15px;
    margin-bottom: 25px;
}

.slider-cont-wrap {
    margin-left: 18px !important;
}

.slider-cont-wrap-step {
    margin-left: 41px !important;
}

/********************************** INPUT WITH POSTFIX **********************************/
.input-field .postfix ~ input {
    width: 80%;
    width: calc(100% - 4.7rem);
    margin-left: 0;
    margin-right: 4.7rem !important;
}

.input-field .postfix {
    position: absolute;
    width: 4.7rem;
    right: 0;
    font-size: 1.4rem;
    -webkit-transition: color .2s;
    transition: color .2s;
}

.postfix.active {
    color: #26a69a;
}


/********************************** TABLES****************************************/
.container table.output {
    max-width: 120%;
}

table.output {
    margin-top: 5%;
}

    table.output td {
        border-right: 3px solid #e1e1e1;
    }

        table.output td:first-child {
            border-left: 3px solid #e1e1e1;
        }

    table.output th:not(:last-child) {
        border-right: 3px solid rgba(255,255,255,1);
    }

    table.output th {
        border-top: 6px solid rgba(255,255,255,0);
    }

    table.output th, table.output caption, table.permissions th {
        background-color: #e7500f;
    }

    table.output caption {
        font-weight: bold;
        font-size: 20px;
    }

.col-main.table-container {
    padding-left: 10px;
    padding-right: 10px;
}

table.permissions th:not(:last-child) {
    border-right: 3px solid rgba(255,255,255,1);
}

table.permissions th {
    border-bottom: 3px solid rgba(255,255,255,1);
}

/********************************** CHART OUTPUT ****************************************/
.chart-container {
    width: 80%;
    background-image: url("/images/since_1967_Vertical.png");
    background-repeat: no-repeat;
    background-position: center;
    /*background-size:contain;*/
    background-size: auto 70%;
    font-family: yantramanavFont;
}

.table-container.chart, .summaryoutput-container {
    background-image: url("/images/since_1967_Vertical.png");
    background-repeat: no-repeat;
    background-position: center;
    /*background-size:contain;*/
    background-size: auto 70%;
    font-family: yantramanavFont;
}


/********************************** DASHBOARD CSS ****************************************/
.dash-cont {
    float: left;
    width: 320px;
    height: 300px;
    background-color: #3eb4e7;
    margin: 15px;
    padding: 10px;
    border-radius: 25px;
}

    .dash-cont.large {
        width: 450px;
    }

    .dash-cont a {
        color: white;
    }

#geochart p {
    position: absolute;
    z-index: 1;
}
/********************************** COLORED DIVIDER ****************************************/
.colored-divider {
    height: 10px;
    margin-bottom: 0;
}

    .colored-divider .p1 {
        background-color: white;
        border: 1px solid #525556;
        border-right: 0;
        height: inherit;
        padding: 0;
    }

    .colored-divider .p2 {
        background-color: #f1002d;
        height: inherit;
        padding: 0;
    }

    .colored-divider .p3 {
        background-color: #2fb6e2;
        height: inherit;
        padding: 0;
    }

    .colored-divider .p4 {
        background-color: #26ae43;
        height: inherit;
        padding: 0;
    }

/********************************** LOGIN ****************************************/
#account {
    margin: 0 auto;
    max-width: 400px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #c6c8c8;
    z-index: -1;
}

.since_logo {
    background-image: url(/images/since_1967.png);
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.pericoli_logo {
    background-image: url(/images/LOGOUFFICIALEPERICOLI.png);
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom left;
}

/********************************** HORTI PROJECT PAGE ****************************************/

@media only screen and (min-width: 800px) {
    .horti-prj .col-main {
        display: flex;
    }

    .box-greenhouse-measures {
        width: fit-content !important;
    }
}

.box-greenhouse-measures {
    background: rgba(0, 0, 0, 0.05);
    padding: 10px;
    margin: 0 0 10px 0;
}

.horti-prj .collapsible > li.disabled > .collapsible-header {
    pointer-events: none;
}

.horti-prj .collapsible > li.disabled input[type="checkbox"] {
    pointer-events: all;
}

.horti-prj .collapsible-body {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

/*CUSTOM MODAL GEOCODING*/
/* The Modal (background) */
#modalgeocoding {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modalgeocoding-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

.modalgeocoding-footer {
    margin-top:10px;
}
    /*google maps autocomplete widget*/
    #place-autocomplete-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin: 10px;
    padding: 5px;
    font-size: large;
    font-weight: bold;
}

gmp-place-autocomplete {
    width: 60vw;
    max-width: 600px
}

#google-map{
    height:50vh;
}
