@font-face {
    font-family: 'Roboto_Regular';
    src: url(/font/Roboto-Regular.ttf);
}

@font-face {
    font-family: 'Roboto_Thin';
    src: url(/font/Roboto-Thin.ttf);
}

:root {
    --green_soft: #c3eeab;
    --green_light: #8AC169;
    --green_mid: #279938;
    --green_dark: #174922;
    --green_bar: #1F3A21;
    --green_home: #32693A;
    --blue_light: #3DBAC9;
    --blue_mid: #2A7699;
    --blue_dark: #174B5E;
    --blue_bar: #174B5E;
    --time_jobs: 700ms;
}

html,
body {
    margin: 0px;
}

* {
    font-family: 'Roboto_Regular';
}

body *::-webkit-scrollbar {
    display: none;
}

body * {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.actions {
    transition-duration: 300ms;
    width: 30px;
    margin: 5px;
    display: inline-block;
}

.actions:hover {
    transition-duration: 300ms;
    transform: scale(1.1);
}

.deactive {
    opacity: 0.5;
}


/*Input*/

textarea {
    resize: none;
    background-color: transparent;
    border: 2px solid var(--green_mid);
    padding: 5px;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
    width: 250px;
}

textarea:focus {
    transform: scale(1.1);
}

input {
    border: 0px;
    border-bottom: 2px solid var(--green_mid);
    background-color: transparent;
    text-align: center;
    padding: 5px;
    width: 250px;
    outline: none;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

input:focus {
    transform: scale(1.1);
}

input[type=file] {
    border: 0px;
    padding: 5px;
}

input[type=submit] {
    padding: 5px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--green_mid);
    width: auto;
    color: white;
    font-weight: bold;
}

input[type=submit]:hover {
    transform: scale(1.05);
    transition-duration: 300ms;
}


/*submit*/

#title {
    text-align: center;
    color: var(--green_dark);
}

.errorMsg,
.successMsg {
    font-weight: bold;
    font-size: 25px;
}

.errorMsg {
    background-color: red;
}

.successMsg {
    background-color: green;
    color: white;
}

.hidden {
    display: none;
}

#loading td img {
    width: 30px;
}


/* header */

.buttons {
    height: auto;
    text-align: center;
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0);
    padding-top: 10px;
}

.button {
    transition-duration: 300ms;
    height: 35px;
    margin: 0px 4px 0px 4px;
}

.button:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition-duration: 300ms;
}

body {
    margin: 0px;
}

#header {
    z-index: 10;
    margin: 0;
    height: auto;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    width: 100%;
}

#header_Logo {
    width: 170px;
    max-width: 35%;
    cursor: pointer;
    margin-left: 10px;
}

ul {
    font-family: 'Roboto_Regular';
    font-weight: bold;
    float: right;
    padding: 0;
    max-width: 60%;
}

li {
    display: inline-block;
    margin: 0 20px 0 20px;
    float: none;
    font-size: 110%;
    color: var(--green_mid);
    animation-duration: 300ms;
}

.cool {
    background-color: black;
}

.clearfix {
    clear: both;
}

#header_bar li:hover {
    transition-duration: 400ms;
    transform: scale(1.2);
}

#header_bar li {
    transition-duration: 400ms;
}

a {
    color: var(--green_mid);
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
    color: var(--green_mid);
}

.novis {
    display: none;
}


/* Home */

td {
    background-color: #eee;
    padding: 0.5em 2em 0.5em 2em;
}

#Btn {
    background-color: green;
    color: white;
    font-weight: bold;
    padding: 0.5em 0em 0.5em 0em;
    text-align: center;
    width: 8em;
    border-radius: 3px;
    margin: auto;
    transition-duration: 300ms;
    margin-bottom: 20px;
    margin-top: 5px;
}

#Btn a {
    color: white;
}

.selected,
.selected td {
    background-color: var(--green_light) !important;
}

#Btn:hover {
    transform: scale(1.1);
    transition-duration: 300ms;
}


/* job list */

.nowrap {
    white-space: nowrap;
}

.conto {
    text-align: center;
}

#title {
    font-weight: bold;
    color: green;
}

table {
    text-align: center;
    margin: auto;
    transition-duration: 300ms;
}

tr:first-child {
    font-weight: bold;
}

#Descr {
    font-weight: bold;
}

.data {
    transition-duration: 300ms;
    margin: 2em;
    margin-top: 5px;
}

.none {
    opacity: 0.5;
    transition-duration: 300ms;
    display: none;
}

.rotate {
    transition-duration: 300ms;
    transform: rotate(180deg);
}


/*forms da compilare(stile unico)*/

input {
    display: inline-block;
}

#input_btn {
    text-align: center;
    margin-top: 20px;
    transition-duration: 300ms;
    cursor: pointer;
}

#input_btn:hover {
    transform: scale(1.1);
}

#module {
    font-weight: normal;
}

#form_new {
    background-color: #eee;
    padding: 30px;
    width: 500px;
    margin: auto;
    border-radius: 5px;
    word-wrap: break-word;
}

.td_module {
    background: rgba(0, 0, 0, 0);
    padding: 5px 15px 5px 15px;
}

#box {
    width: 80%;
}

#Btn2 {
    text-align: center;
    font-weight: bold;
}

label.btn {
    background-color: var(--green_mid);
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}


/*confirm*/

.confirm {
    height: auto;
    background-color: #dddfdf;
    border-radius: 3px;
    width: auto;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 15px;
}

.confirm h4 {
    text-align: center;
    margin-bottom: 15px;
}

.confirm p {
    display: inline-block;
    width: 30%;
    background-color: var(--green_mid);
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px;
    margin-left: 10px;
    margin-right: 10px;
    transition-duration: 300ms;
}

.red:hover {
    background-color: red;
}

.confirm p:hover {
    transition-duration: 300ms;
    transform: scale(1.1);
}


/* slider pazzo sgravato di sascia*/

#Slider_total {
    float: left;
    width: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

#Back_slider {
    background-color: #ddd;
    width: 40px;
    height: 20px;
    padding: 0;
    border: 4px solid #ddd;
    border-radius: 15px;
    margin: 10px;
    float: left;
}

#Move_slider {
    background-color: var(--green_mid);
    width: 20px;
    height: 20px;
    margin: 0;
    border-radius: 100%;
    display: block;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

.move_slider {
    transform: translateX(20px);
}

#Sliderdx_txt {
    float: left;
    width: 80px;
    font-weight: bold;
    transition-duration: 300ms;
}

#Slidersx_txt {
    float: left;
    width: 80px;
    font-weight: bold;
    transition-duration: 300ms;
}

.align_rgt {
    text-align: right;
}

.align_lft {
    text-align: left;
}

.align_rgt_grey {
    text-align: right;
    color: #bbb;
}

.align_lft_grey {
    text-align: left;
    color: #bbb;
}


/*settings*/

input[type=checkbox] {
    width: 15px;
    padding: 0;
}

hr {
    width: 50%;
    color: var(--green_mid);
}


/* Print */

.inline {
    display: inline-block;
}

body.print {
    padding: 20px;
}

.print_logo {
    width: 25%;
}

.print_info {
    width: 65%;
    text-align: center;
}

.print_h {
    margin-bottom: 10px;
}

.print_info table {
    border-collapse: collapse;
}

.print_info tr {
    font-weight: normal;
}

.print_info td {
    background-color: transparent;
}

.print_info td:first-child {
    border: 2px solid black;
    border-right: 1px solid black;
}

.print_info td:last-child {
    border: 2px solid black;
    border-left: 0px;
}

.print_date {
    position: absolute;
    top: 0px;
    left: 0px;
    margin: 0;
    font-size: 10px;
}

.print_data {
    width: 100%;
}

.print_data table {
    border-collapse: collapse;
}

.print_data tr {
    font-weight: normal;
}

.print_data td {
    background-color: transparent;
}

.print_data tr:first-child {
    font-weight: bold;
}

.print_data tr:first-child td:first-child {
    border: 2px solid black;
    border-right: 0px;
}

.print_data tr:first-child td {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
}

.print_data tr:first-child td:last-child {
    border: 2px solid black;
    border-left: 0px;
}

.print_data td:first-child {
    border-left: 2px solid black;
}

.print_data td:last-child {
    border-right: 2px solid black;
}

.print_data td {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.print_data tr:last-child td {
    border-bottom: 2px solid black;
}


/*FILES*/

#upzone {
    width: 80px;
    height: 80px;
    padding: 10px;
    transition-duration: 300ms;
}

#upzone.highlight {
    transform: scale(1.2);
}

#upform {
    display: none;
}

#upstat {
    width: 300px;
    height: 100px;
}

#upstat:focus {
    transform: scale(1.0) !important;
}


/*resize*/

@media (max-width: 1300px) {
    .phones {
        display: none;
    }
}

@media (max-width: 1100px) {
    .mails {
        display: none;
    }
}