@charset "utf-8";
/* CSS Document */

:root {
  --darkBlue1: #080c18;
  --darkBlue2: #12255c;
  --lightBlue1: #637bbb;
  --white: #fff;
  --red: #ff0000;
  --green: #008000;
  --yellow: #ffff00;
  --blue: #0080fe;
}

*, html {
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body {
  font-family:"Playfair Display", serif;
  font-size:1em;
}

body.start,
body.admin {
  min-height:100vh;
  background-size:cover;
  background-position:top center;
  background-attachment:fixed;
}

body.start {
  background-image:url(assets/bg-page-start.jpg);
}

body.admin {
  background-image:url(assets/bg-page-private.jpg);
}

@media (max-width: 800px) {
  body.start {
    min-height:calc(100vh - 120px);
    background-size:125%;
    background-position:top -10px right -50px;
  }
}

h1, h2, h3, h4, h5, h6, p {
  margin:0;
	padding:0;
}

h1, h2, h3, h4, h5, h6 {
  margin:10px auto;
}

h1 {
  font-size:2em;
}

p {
  line-height:1.3em;
}

ul {
  padding-left:16px;
  margin-bottom:10px;
}

a, a:visited {
	text-decoration:underline;
}

a:hover, a:active {
	text-decoration:underline;
}

button,
a.button, 
a.button:visited {
  cursor:pointer;
  text-decoration:none;
  padding:10px;
  transition:all .3s ease-out;
  border-width:2px;
  border-style:solid;
  border-radius:5px;
  text-transform:uppercase;
  width:auto;
}

button:hover,
a.button:hover, 
a.button:active {
  text-decoration:none;
  transition:all .3s ease-out;
}

button[disabled],
a.button.disabled {
  cursor:default;
}

input[type='text'] + p,
input[type='password'] + p,
input[type='file'] + p,
select + p,
textarea  + p {
  line-height:1em;
}

input[type='text'] + label,
input[type='password'] + label,
input[type='file'] + label,
select + label,
textarea + label {
  display:block;
}

textarea + label {
  vertical-align:top;
}

input[type='text'],
input[type='password'],
input[type='file'],
select,
textarea {
  outline:0;
  width:100%;
  padding:6px;
  border-width:1px;
  border-style:solid;
  border-radius:5px;
  font-size:1em;
  line-height:normal;
}

textarea {
  height:7.2em;
}

input[type='checkbox'] {
  outline:0;
  border:0;
}

input[type='checkbox'] + label {
  margin-left:10px;
}

input[type='text'].error,
input[type='password'].error,
input[type='file'].error,
select.error,
textarea.error {
  border-color:var(--red);
}

span.details, 
span.default, 
span.chars {
  font-size:0.8em;
  font-style:italic;
  display:block;
  width:100%;
  text-align:right;
}

span.details.left,
span.default.left, 
span.chars.left{
  text-align:left;
}

span.default {
  display:none;
}

p.butLine {
  margin:15px 0;
}

p.responseForm {
  min-height:20px;
}

p.responseForm.ok,
p.responseForm span.ok {
  color:var(--green);
}

p.responseForm.error,
p.responseForm span.error {
  color:var(--red);
}

/*DEVICE*/
#print-device {
  font-size:0.85em;
}

/*MESSAGE BOX*/
#message {
  display:none;
  position:fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:999;
}

#message-box {
  position:fixed;
  top:50%;
  left:50%;
  width:400px;
  height:300px;
  margin-left:-200px;
  margin-top:-150px;
  border-radius:5px;
  border-style:solid;
  border-width:1px;
  z-index:9999;
}

#message-box h1 {
  margin:0;
  padding:10px;
  font-size:1.3em;
  width:100%;
  border-bottom-style:solid;
  border-bottom-width:1px;
}

#message-box h1 a.item_close {
  cursor:pointer;
  position:absolute;
  right:10px;
  width:13.5px;
  height:18px;
  text-decoration:none;
}

#message-box h1 a.item_close::after {
  font-family:"Font Awesome 6 Free";
  font-size:18px;
  font-weight:bold;
  line-height:1;
  position:absolute;
  top:0;
  right:0;
  content:"\f00d";
}

#message-box div.content {
	padding:10px;
	display:flex;
	flex-direction:column;
	justify-content:space-between;
  height:calc(100% - 42px);
}

#message-box div.butLine {
  bottom:10px;
  width:100%;
  text-align:center;
  line-height:3;
  font-size:0.8em;
}

#message-box div.butLine a.button {
  padding: 5px;
  display: inline-block;
  margin-bottom: 5px;
}

/*START*/
body.start #wrapper {
  min-height:100vh;
  height:inherit;
  width:440px;
}

@media (max-width: 800px) {
  body.start #wrapper {
    margin-top:120px;
    width:100%;
    min-height:calc(100vh - 120px);
    height:calc(100% - 120px);
  }
}

body.start #content {
  padding:20px;
  min-height:100vh;
  height:inherit;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

@media (max-width: 800px) {
  body.start #content {
    min-height:calc(100vh - 120px);
  }
}

body.start #recovery,
body.start #device {
  display:none;
}

body.start p.password {
  position:relative;
}

body.start .toggle-password {
  position:absolute;
  right:0;
  top:60%;
  cursor:pointer;
  width:30px;
}

body.start .toggle-password:after {
  content:"\f06e";
  font-family:"Font Awesome 6 Free";
  position:absolute;
  bottom:-5px;
  left:calc(50% - 10px);
}

body.start .toggle-password.active:after {
  content:"\f070";
}

/*ADMIN*/
body.admin #wrapper {
  position:absolute;
  top:0;
  width:100%;
  min-height:100vh;
  z-index:9;
  transition:margin-left .3s, width .3s;
  -webkit-transition:margin-left .3s, width .3s;
}

body.admin #wrapper.resized {
  margin-left:230px;
  width:calc(100% - 230px);
  transition:margin-left .3s, width .3s;
  -webkit-transition:margin-left .3s, width .3s;
}

body.admin #content {
  padding:120px 100px 20px 100px;
}

body.admin #content h1 {
  padding:10px 0;
  margin:0;
}

body.admin #content h2 {
  margin:0 0 10px 0;
  font-size:1em;
  padding:10px;
  border-bottom-width:1px;
  border-bottom-style:solid;
}

body.admin #content h3 {
  margin:0 0 10px 0;
  font-size:1em;
  padding:10px;
  border-bottom-width:1px;
  border-bottom-style:solid;
}

body.admin #content .boxLeft,
body.admin #content .boxRight {
  border-radius:5px;
  width:49%;
}

body.admin #content .boxLeft {
  float:left;
}

body.admin #content .boxRight {
  margin-left:51%;
}

body.admin #content .boxRight + .boxRight:not(:first-of-type) {
  margin-top:20px;
}

body.admin #content .boxLeft.home h2,
body.admin #content .boxRight.home h2 {
  font-size:1.3em;
  padding: 10px 0;
  border-bottom-width: 0;
}

body.admin #content .boxLeft .inner-box,
body.admin #content .boxRight .inner-box {
  padding:0 10px 10px 10px;
}

body.admin h1 a[title]:hover::after,
body.admin table td.actions a[title]:hover::after,
body.admin table td span.social_ico[title]:hover::after {
  content:attr(title);
  font-family:"Arial";
  font-weight:normal;
  position:absolute;
  top:-20px;
  right:0;
  font-size:10px;
  white-space:nowrap;
  padding:2px;
  text-transform:uppercase;
  z-index:99;
}

body.admin #content span.user_ico {
  position: relative;
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  line-height: 1;
  border-width: 2px;
  border-style: solid;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

body.admin #content span.user_ico:before {
  content: "\f118";
  font-size: 30px;
  position: absolute;
  top: 8px;
  left: 8px;
}

body.admin #content span.social_ico {
  position: relative;
  font-family: "Font Awesome 6 Free";
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 10px;
}

body.admin #content span.social_ico:before {
  font-size: 30px;
  position: absolute;
  top: 0;
  left: 0;
}

body.admin #content span.social_ico.web:before {
  content: "\f0ac";
}

body.admin #content span.social_ico.fb:before {
  font-family: "Font Awesome 6 Brands";
  content: "\f09a";
}

body.admin #content span.social_ico.ig:before {
  font-family: "Font Awesome 6 Brands";
  content: "\f16d";
}

body.admin #content span.social_ico.x:before {
  font-family: "Font Awesome 6 Brands";
  content: "\e61b";
}

body.admin #content span.social_ico.li:before {
  font-family: "Font Awesome 6 Brands";
  content: "\f08c";
}

body.admin #content span.social_ico.tt:before {
  font-family: "Font Awesome 6 Brands";
  content: "\e07b";
}

body.admin #content img.user_image {
  width:50px;
  height:50px;
  border-radius:50%;
  vertical-align: middle;
  margin-right: 10px;
}

body.admin #content a.item_ins,
body.admin #content a.item_ins:visited,
body.admin #content a.item_filter,
body.admin #content a.item_filter:visited,
body.admin #content a.item_ord,
body.admin #content a.item_ord:visited,
body.admin #content a.item_xls,
body.admin #content a.item_xls:visited,
body.admin #content a.item_list,
body.admin #content a.item_list:visited,
body.admin #content a.item_back,
body.admin #content a.item_back:visited,
body.admin #content a.item_view,
body.admin #content a.item_view:visited,
body.admin #content a.item_options,
body.admin #content a.item_options:visited,
body.admin #content a.item_del,
body.admin #content a.item_del:visited,
body.admin #content a.item_calendarD,
body.admin #content a.item_calendarD:visited,
body.admin #content a.item_calendarW,
body.admin #content a.item_calendarW:visited, 
body.admin #content a.item_calendarM,
body.admin #content a.item_calendarM:visited {
  cursor:pointer;
  position:relative;
  font-family:"Font Awesome 6 Free";
  font-size:22px;
  font-weight:bold;
  line-height:1;
  float:right;
  padding:5px;
  border-width:2px;
  border-style:solid;
  border-radius:5px;
  margin-left:5px;
  text-decoration:none;
  transition:.3s;
}

body.admin #content a.item_list,
body.admin #content a.item_back {
  margin-left: auto;
}

body.admin #content a.item_ins:hover,
body.admin #content a.item_ins:active,
body.admin #content a.item_filter:hover,
body.admin #content a.item_filter:active,
body.admin #content a.item_ord:hover,
body.admin #content a.item_ord:active,
body.admin #content a.item_xls:hover,
body.admin #content a.item_xls:active,
body.admin #content a.item_list:hover,
body.admin #content a.item_list:active,
body.admin #content a.item_back:hover,
body.admin #content a.item_back:active,
body.admin #content a.item_view:hover,
body.admin #content a.item_view:active,
body.admin #content a.item_options:hover,
body.admin #content a.item_options:active,
body.admin #content a.item_del:hover,
body.admin #content a.item_del:active,
body.admin #content a.item_calendarD:hover,
body.admin #content a.item_calendarD:active,
body.admin #content a.item_calendarW:hover,
body.admin #content a.item_calendarW:active,
body.admin #content a.item_calendarM:hover,
body.admin #content a.item_calendarM:active {
  text-decoration:none;
}

body.admin #content a.item_ins:before {
  content:"\f067";
}

body.admin #content a.item_filter:before {
  content:"\f0b0";
}

body.admin #content a.item_ord:before {
  content:"\f163";
}

body.admin #content a.item_xls:before {
  content:"\f1c3";
}

body.admin #content a.item_view:before {
  content:"\f06e";
}

body.admin #content a.item_list:before {
  content:"\f03a";
}

body.admin #content a.item_back:before {
  content:"\f04a";
}

body.admin #content a.item_options:before {
  content:"\f141";
}

body.admin #content a.item_del:before {
  content:"\f2ed";
}

body.admin #content a.item_del.file {
  font-size:15px;
  border:0;
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 9;
}

body.admin #content a.item_calendarD:before {
  content:"\f017";
}

body.admin #content a.item_calendarW:before {
  content:"\f784";
}

body.admin #content a.item_calendarM:before {
  content:"\f073";
}

body.admin #content h1 span.day_prev,
body.admin #content h1 span.day_next {
  cursor:pointer;
}
  
body.admin #content h1 span.day_prev:hover,
body.admin #content h1 span.day_next:hover {
  text-decoration: underline;
}

body.admin #content .pre_list {
  padding:20px 20px 10px 20px;
  border-radius:5px;
  display:none;
}

body.admin #content .pre_list.fixed {
  position:sticky;
  margin-bottom:0px;
  z-index:9;
}

body.admin #content .pre_list .box {
	display:inline-block;
}

body.admin #content .pre_list .content {
  display:flex;
	align-items:flex-end;
	justify-content:space-between;
}

body.admin #content .pre_list div#buttons {
  white-space:nowrap;
  text-align:right;
  display:inline-block;
}

body.admin #content .pre_list div#buttons button {
  padding:6px;
  margin-bottom:10px;
}

body.admin #content .pre_list input,
body.admin #content .pre_list select,
body.admin #content .group select {
  padding:5px;
  border-radius:5px;
  width:100%;
}

body.admin #content .pre_list select, 
body.admin #content .pre_list label, 
body.admin #content .pre_list input {
  width:auto !important;
  margin-bottom:10px;
}

body.admin #content .pre_list input.search {
  width:300px !important;
}

body.admin #content .post_list {
  margin-top:30px;
  height:60px;
	width:100%;
  padding:10px;
  border-radius:5px;
}

body.admin #content .post_list select {
  border-width:1px;
  border-style:solid;
  padding:5px;
  border-radius:5px;
  width:auto;
}

body.admin #content .post_list a, 
body.admin #content .post_list a:visited,
body.admin #content .pager .page-number {
  cursor:pointer;
  display:inline-block;
  min-width:34px;
  line-height:0.6em;
  padding:10px 3px;
  border-width:2px;
  border-style:solid;
  border-radius:5px;
  text-decoration:none;
  text-align:center;
  transition:.3s;
}

body.admin #content .pager .page-number {
  margin-right:5px;
}

body.admin #content .post_list a:active, 
body.admin #content .post_list a:hover,
body.admin #content .pager .page-number:hover {
	text-decoration:none;
}

body.admin #content p.row,
body.admin #content p.view {
  position: relative;
  margin-bottom:10px;
}

body.admin #content p.row.file {
  margin-bottom:30px;
}

body.admin #content p.row.file label,
body.admin #content p.view.file label {
  vertical-align: top;
}

body.admin #content p.view {
  margin-top:20px;
  margin-bottom:20px;
}

body.admin #content p.row img,
body.admin #content p.view img {
  width: calc(100% - 154px);
}

body.admin #content p.row .cke img {
  width: 100%;
}

body.admin #content label {
  display: inline-block;
  width:150px;
}

body.admin #content input[type='text'],
body.admin #content input[type='file'],
body.admin #content select,
body.admin #content textarea {
  display: inline-block;
  width:calc(100% - 154px);
}

body.admin #content input[type='checkbox'] + label {
  margin-left:10px;
  width: calc(100% - 30px);
}

body.admin #content textarea {
  vertical-align:top;
}

body.admin #content .boxLeft .cke,
body.admin #content .boxRight .cke {
  position:relative;
  display: inline-block;
  width: calc(100% - 156px);
  vertical-align: text-top;
  visibility: visible;
}

body.admin #content .boxLeft label.lang,
body.admin #content .boxRight label.lang {
  padding-left:25px;
  background-size: contain;
  background-repeat: no-repeat;
}

body.admin #content .boxLeft label.lang.it,
body.admin #content .boxRight label.lang.it {
  background-image: url("/css/assets/flags/flag_it.png");
}

body.admin #content .boxLeft label.lang.en,
body.admin #content .boxRight label.lang.en {
  background-image: url("/css/assets/flags/flag_en.png");
}

body.admin #content .boxLeft label.lang.de,
body.admin #content .boxRight label.lang.de {
  background-image: url("/css/assets/flags/flag_de.png");
}

body.admin #content .addons {
  border-width:1px;
  border-style:solid;
  border-radius:5px;
}

body.admin #content ul.grid2 {
  list-style-type: none;
  padding:0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
}

body.admin #content ul.grid2 li {
  line-height: 1.3em;
}

body.admin #content ul.grid2 li label {
  display: block;
  margin-top: -1em;
  margin-left: 20px;
}

body.admin #content ul.grid3 {
  list-style-type: none;
  padding:0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

body.admin #content ul.grid3 li {
  line-height: 1.3em;
}

body.admin #content ul.grid3 li label {
  display: block;
  margin-top: -1em;
  margin-left: 20px;
}

body.admin #content table.table-list,
body.admin #content table.table-sublist,
body.admin #content table.table-calendar {
  border:0;
  border-spacing:0px;
  border-collapse:separate;
  margin:0;
  padding:0;
  width:100%;
  table-layout:fixed;
}

body.admin #content table.table-list caption h1,
body.admin #content table.table-calendar caption h1,
body.admin #content table.table-list caption h2,
body.admin #content table.table-calendar caption h2 {
  text-align:left;
  padding:10px 0;
  margin:0;
}

body.admin #content h1 .group {
  float:right;
  width:200px;
  font-size:0.5em;
}

body.admin #content span.tag {
  font-size: 0.85em;
  padding: 3px;
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  display:inline-block;
}

body.admin #content span.tag.status0 {
  background: var(--red);
  color: var(--white);
}

body.admin #content span.tag.status1 {
  background: var(--green);
  color: var(--white);
}

body.admin #content span.tag.status2 {
  background: var(--yellow);
  color: var(--darkBlue1);
}

body.admin #content span.tag.status3 {
  background: var(--darkBlue1);
  color: var(--white);
}

body.admin #content span.highlight {
  background: gold;
}

body.admin #content table.table-list tbody tr.inactive,
body.admin #content table.table-sublist tbody tr.inactive {
  color:var(--red);
}

body.admin #content table.table-list thead tr th,
body.admin #content table.table-list tbody tr td,
body.admin #content table.table-sublist thead tr th,
body.admin #content table.table-sublist tbody tr td,
body.admin #content table.table-calendar thead tr th,
body.admin #content table.table-calendar tbody tr td {
  position:relative;
  padding:10px;
  text-align:center;
}

body.admin #content table.table-list thead tr th,
body.admin #content table.table-sublist thead tr th,
body.admin #content table.table-calendar thead tr th {
  border-bottom-width:1px;
  border-bottom-style:solid;
}

body.admin #content table.table-list thead tr th:first-child,
body.admin #content table.table-calendar thead tr th:first-child {
  /*border-top-left-radius:5px;*/
}

body.admin #content table.table-list thead tr th:last-child,
body.admin #content table.table-calendar thead tr th:last-child {
  /*border-top-right-radius:5px;*/
}

body.admin #content table.table-list tbody tr td,
body.admin #content table.table-sublist tbody tr td,
body.admin #content table.table-calendar tbody tr td {
  position:relative;
  border-top-width:1px;
  border-top-style:solid;
}

body.admin #content table.table-calendar tbody tr td {
  vertical-align: top;
  height: 80px;
}

body.admin #content table.table-calendar.week thead th,
body.admin #content table.table-calendar.week tbody td {
  border-left-width: 1px;
  border-left-style: solid;
}

body.admin #content table.table-calendar.week thead tr th:first-of-type,
body.admin #content table.table-calendar.week tbody tr td:first-of-type {
  width:80px;
  border-left-width:0;
}

body.admin #content table.table-list thead tr th.id,
body.admin #content table.table-list tbody tr td.id {
  text-align:left;
  width:30px;
}

body.admin #content table.table-list thead tr th.ico,
body.admin #content table.table-list tbody tr td.ico,
body.admin #content table.table-sublist thead tr th.ico,
body.admin #content table.table-sublist tbody tr td.ico {
  width:40px;
}

body.admin #content table.table-list thead tr th.actions,
body.admin #content table.table-list tbody tr td.actions {
  width:120px;
}

body.admin #content table.table-sublist thead tr th.actions,
body.admin #content table.table-sublist tbody tr td.actions {
  width:60px;
}

body.admin #content table.table-list tbody tr td.ico img {
  width:50px;
}

body.admin #content table.table-list tbody div.info {
  overflow:hidden;
}

body.admin #content table.table-list thead tr th.thumb,
body.admin #content table.table-list tbody tr td.thumb {
  width:140px;
}

body.admin #content table.table-list thead tr th.date,
body.admin #content table.table-list tbody tr td.date {
  width:130px;
}

body.admin #content table.table-sublist thead tr th.thumb,
body.admin #content table.table-sublist tbody tr td.thumb,
body.admin #content table.table-sublist thead tr th.date,
body.admin #content table.table-sublist tbody tr td.date {
  width:100px;
}

body.admin #content table.table-list tbody tr td.thumb img {
  cursor:pointer;
  width:100%;
}

body.admin #content table.table-calendar tbody tr td.today {
  background: rgba(255, 255, 255, 0.1);
}

body.admin #content table.table-list tbody tr:last-child td:first-child,
body.admin #content table.table-calendar tbody tr:last-child td:first-child {
  border-bottom-left-radius:5px;
}

body.admin #content table.table-list tbody tr:last-child td:last-child,
body.admin #content table.table-calendar tbody tr:last-child td:last-child {
  border-bottom-right-radius:5px;
}

body.admin #content table.table-calendar div.item {
  cursor:pointer;
  border-width:2px;
  border-style:solid;
  font-size: 0.8em;
  line-height: 1.2em;
  margin: 10px auto;
  padding: 10px 3px;
  border-radius: 5px;
}

body.admin #content table.table-calendar div.item span.social_ico {
  width: 20px;
  height: 20px;
}

body.admin #content table.table-calendar div.item span.social_ico:before {
  font-size: 20px;
}

body.admin #content table.table-list tbody td.actions ul.dropdown {
  display:none;
  list-style:none;
  margin:0;
  position:absolute;
  top:calc(50% + 20px);
  right:10px;
  padding:0;
  border-width:2px;
  border-style:solid;
  border-radius:5px;
  z-index:9;
}

body.admin #content table.table-list tbody td.actions ul.dropdown li {
  cursor:pointer;
  text-align:left;
  white-space:nowrap;
  line-height:2em;
  padding:0 10px;
  font-size:0.95em;
  transition:0.3s;
}
