/* width */
::-webkit-scrollbar {
  width: 8px;

}
::-webkit-scrollbar-thumb {
  background: rgb(150, 150, 150);
  border-radius: 10px;
}

html, body, #content {
  padding: 0;
  margin: 0;
  background: rgb(242, 242, 245);
  overflow:initial;
  height: 100%;
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  color: rgba(0,0,0,.74);
}

table a {
    display: inline-block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

main {
    /*padding: 0 10%;*/
    padding: 0 25px;
    /*padding-bottom: 500px;*/
}

h1 {
  padding-left: 10px;
}
h2 {
  padding-left: 10px;
}
h3 {
  padding-left: 10px;
}

header {
    box-shadow: 0 0 15px 0 rgba(100, 100, 100, 0.4);
    position: sticky;
    top: 0;
    z-index: 1;
}

.mainmenu {
    background-color: #f8cc5c;
    display: flex;
    justify-content: space-between;
}

.mainmenu * {
    display: block;
}
.mainmenu ul, .mainmenu li {
    padding: 0;
    margin: 0;
}

.mainmenu ul {
    display: flex;
}

.mainmenu .menu-item a, .logout-btn, .mainmenu .menu-item .search {
    padding: 20px;
    background: #f8cc5c;
    color: black;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    height: 61px;
}

.mainmenu .menu-item .search {
    max-width: 300px;
    padding: 0;
}

.mainmenu .menu-item .search .search-wrapper {
    margin: 10px;
    padding: 0;
    background: white;
    display: flex;
    flex: 1 1 auto;
    border-radius: 25px;
}

.mainmenu .menu-item .search input,
.mainmenu .menu-item .search button {
    outline: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-appearance: none;
    padding: 10px 20px;
}

.mainmenu .menu-item .search button {
    cursor: pointer;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    background: rgb(33, 150, 243);
    padding: 10px;
}

.mainmenu .menu-item .search button svg {
    width: 18px;
    fill: white;
    margin: 0 5px;
}

.mainmenu .menu-item a:hover {
    opacity: 0.75;
    background: #feeec4;
}

.logo a {
    display: block;
    background: white !important;
    padding: 20px !important;
}

.logo svg {
    height: 1.3rem;
    width: auto;
}

.logout-btn {
    background: white;
    border-radius: 15px;
    padding: 10px;
    margin: 10px;
}

.submenu {
  padding-left: 10px;
  font-size: small;
  background: white;
}

.jobstats {
  background-color: #whitesmoke;
  padding-left: 10px;
  font-size: small;
}

.submenu a, .submenu .pulsante {
  color: black;
  background-color: transparent;
  padding: 5px 10px;
  margin-right: 10px;
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}

.city {
  display: inline-block;
  width: 90%;
  padding: 10px;
}

.city a {
  color: black;
  padding: 2px 4px;
  text-decoration: underline overline dotted red;
  border-radius: 2px;
  background-color: #e6f9ff;
}

.pagination {
  display: inline-block;
  padding: 12px 6px 0;
  vertical-align: top;
  height: 48px;
}

.pagination span {
    background: #716cb0 !important;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
}

.pagination a {
  color: black;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  background-color: #eeeeee;
  padding: 6px 12px;
}

.pagination a.active {
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
}

.empty-row {
  border: 0;
  margin: 0;
  background: white;
  padding: 12px 18px 0;
  vertical-align: top;
  height: 48px;
  font-size: 13px;
}

.pagination-container {
    margin: 0;
    background: white;
    font-size: 12px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0,0,0,.12);
}

img {
    margin: auto;
    max-width: 200px;
    max-height: 60px;
}

.table-wrapper {
    margin: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.12);
}

.table-wrapper > .table-resize {
    overflow-x: auto;
}

table {
    width: 100%;
    position: relative;
    border-left: 1px solid rgba(0,0,0,.12);
    border-right: 1px solid rgba(0,0,0,.12);
    border-collapse: collapse;
    white-space: nowrap;
    font-size: 13px;
    background-color: #fff;
}
table,
th,
tr,
td
 {
    position: relative;
    vertical-align: middle;
    height: 48px;
    /*border-top: 1px solid rgba(0,0,0,.12);
    border-bottom: 1px solid rgba(0,0,0,.12);*/
    padding: 12px 18px 0;
    box-sizing: border-box;
    font-size: 13px;
    border: 0;
}

tr {
    border-bottom: 1px solid rgba(0,0,0,.1);
    transition: background-color .3s;
}

tr:hover {
    background-color: rgba(120, 120, 220, .14);
    color: rgba(0,0,0,.54);
}

td > div { min-width: 10%; overflow: hidden; }

table tr:first-child td,
table tr:first-child th {
    color: rgba(0,0,0,.54);
    font-size: 12px;
    text-overflow: ellipsis;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

.articlemeta-zone {
  width: 70%;
  border: 3px solid rgb(178, 187, 50);
  padding: 1px;
  margin: 10px;
}

.articleimages-zone {
  width: 70%;
  border: 3px solid rgb(35, 77, 155);
  padding: 1px;
  margin: 10px;
}

.articledata-zone {
  font-size: 14px;
  width: 70%;
  border: 3px solid red;
  padding: 2px;
  margin: 10px;
}

.jobform {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.jobform > .form-item {
    padding: 5px 20px;
}

.jobform label {
  display: block;
  padding: 5px 0;
  color: #444;
}

.inline-block {
  display: inline-block;
}

.container {
  display: flex;
  justify-content: space-between;
}

.image-container {
  display: inline;
  flex-wrap: wrap;
  justify-content: first baseline;
}

.storypackage-container {
  display: inline;
  border: 1px solid #ddd;
  background-color: #eee;
}

.sp-page {
  border-bottom: 1px solid #ddd;
  padding: 20px;
  background-color: white;
}

.sp-page img {
  display: block;
  width: 50%;
  height: auto;
  padding-left: 0;
  padding-right: 0;
}

.somehermesnotice {
  font-size: 11px;
  border: 3px solid rgb(52, 53, 134);
  padding: 10px;
  margin: 10px;
}

.job-block {
  display: flex;
  margin-bottom: 20px;
  width: 100%;
}

.job-block__description {
  width: 40%;
  border: 1px solid #ddd;
  margin: 0;
  padding: 10px;
  font-size: 10px;
}

.job-sp__container {
  border: 1px solid #ddd;
  width: 60%;
}

.job-sp {
  display: inline-block;
  padding: 10px;
  border-bottom: 1px solid #ddd;
  width: 100%;
}

.page-preview-active {
  border: 1px solid red;
  transform: scale(1.2);
}

.preview-story-packages {
  background-color: #eee;
  padding: 40px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-top: 10px;
  margin-bottom: 10px;
}

table {
  background-color: white;
}

.grid-charts {
    display: grid;
    grid-template-columns: 65% 35%;
}

.grid-art-charts {
    display: grid;
    grid-template-columns: 37.5% 37.5% 25%;
}

.grid-line-charts {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 3px;
    display: inline-block;
    margin: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    /*height: 700px;*/
}

.card > .bottom-arrow {
    display: flex;
    justify-content: space-around;
}

.card > .bottom-arrow > a {
    font-size: 18px;
    text-decoration: none;
    margin: 10px;
    color: rgb(33, 150, 243);
}

.card .content {
  display: inline-flex;
  width: 100%;
  overflow: hidden;
  justify-content: center;
  /*height: 620px;*/
}

.card .title {
  height: 80px;
  width: 100%;
}

.card .title p {
  text-align: left;
  height: 80px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  padding-left: 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #444;
  font-size: 18px;
  /*color: rgb(255, 255, 255);
  background-color: rgb(33, 150, 243);*/
}

.input-group {
  position: relative;
  margin: 45px 0;
}

.md textarea {
  resize: none;
}

input, select, textarea {
    display: inline-block;
    background: white;
    padding: 10px 10px 10px 5px;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.12);
    box-shadow: none;
    color: rgba(0,0,0,.54);
    font-size: 12px;
}

.md input[type=text],
.md input[type=number],
.md input[type=password],
.md textarea {
  display: block;
  border: none;
  border-bottom: 1px solid #c6c6c6;
}
input[type=text]:focus,
input[type=number]:focus,
input[type=password]:focus,
textarea:focus {
  outline: none;
}
.md input:focus ~ label,
.md input:valid ~ label,
.md textarea:focus ~ label,
.md textarea:valid ~ label {
  top: -14px;
  font-size: 12px;
  color: rgb(33, 150, 243);
}
.md input:focus ~ .bar:before,
.md textarea:focus ~ .bar:before {
  /*width: 320px;*/
}

.md input[type=password] {
  letter-spacing: 0.3em;
}

.md label {
  color: #c6c6c6;
  font-size: 16px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 300ms ease all;
}

.bar {
  position: relative;
  display: block;
  /*width: 320px;*/
}
.bar:before {
  content: "";
  height: 2px;
  width: 0;
  bottom: 0px;
  position: absolute;
  background: #2196F3;
  transition: 300ms ease all;
  left: 0%;
}

.global_chart_wrapper {
    display: flex;
    justify-content: center;
}

.global_chart_wrapper > .box {
    width: 280px;
    padding: 10px;
    margin: 10px;
    border-top: 1px solid rgb(230, 230, 230);
}

.global_chart_wrapper > .box > .box-title {
    font-size: 28px;
    line-height: 2;
    text-align: center;
    font-weight: bold;
}

.global_chart_wrapper > .box > .box-sub-title {
    font-size: 16px;
    line-height: 2;
    text-align: center;
}

.button, .pulsante a {
    text-decoration: none;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    min-width: 64px;
    height: 36px;
    vertical-align: middle;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    background-color: rgb(33, 150, 243);
    /*box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);*/
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%);
    /*font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);*/
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.button:hover, .button:focus {
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12);
}

.button:active {
    box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
    opacity: 0.7;
}

.pulsante a {
  background-color: #f8cc5c !important;
  text-decoration: none;
  color: rgb(50, 50, 50);
}


.info {
    color: rgb(33, 150, 243);
}

.success {
    color: rgb(39, 174, 96);
}

.warning {
    color: rgb(248, 204, 92);
}

.danger {
    color: rgb(255, 99, 132);
}

.bkg-info {
    color: white;
    background-color: rgb(33, 150, 243);
}

.bkg-success {
    color: white;
    background-color: rgb(39, 174, 96);
}

.bkg-warning {
    color: white;
    background-color: rgb(248, 204, 92);
}

.bkg-danger {
    color: white;
    background-color: rgb(255, 99, 132);
}

.status-label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 9px !important;
}

.tiny {
    font-size: 9px !important;
    color: rgba(0,0,0,.54) !important;
    padding: 10px 0;
    display: block;
}

.job_submenu {
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    flex: 2;
}

.job_submenu > div {
    margin: 0 10px;
}

.avatar {
    display: inline-flex;
    justify-content: center;
    text-transform: uppercase;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgb(200, 200, 200);
    color: #716cb0;
    font-size: 24px;
    margin: 5px 10px;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%);
}

.avatar.big {
    width: 225px;
    height: 225px;
    font-size: 94px;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
    text-align: end;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    width: 200px;
    right: 0;
}

.dropdown-menu .dropdown-menu-item {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-menu a.dropdown-menu-item {
    background-color: #f1f1f1;
}

.dropdown-wrapper:hover .dropdown-menu, .dropdown-menu.active {display: block;}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.form-wrapper .form-item {
    padding: 0 10px;
}

.form-wrapper .form-item label {
    display: block;
    padding: 10px;
}

.form-wrapper .form-item .form-input-wrapper {
    display: block;
    padding: 10px;
}

.form-wrapper .form-item .form-input-wrapper input, .form-wrapper .form-item .form-input-wrapper select {
    display: block;
    border: none;
    padding: 15px;
    width: 100%;
    background-color: rgba(0,0,0,.04);
    outline: none;
    /*border-bottom: 2px solid #716cb0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;*/
}

.form-wrapper .form-item .form-input-wrapper input[type='checkbox'] {
    display: inline-block;
    width: auto;
}

.button-wrapper {
    margin: 0;
    padding: 10px 20px;
}

.main-grid {
    display: grid;
    grid-template-columns: 12.5% 87.5%;
    height: 100%;
}

aside {
    background: white;
    position: relative;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%);
}

.aside-menu {
    padding: 0;
    list-style: none;
    position: sticky;
    top: 0;
    margin: 0;
}

.aside-menu .menu-item a, .aside-menu .menu-item a i {
    color: #716cb0;
}

.aside-menu .menu-item a {
    display: block;
    padding: 20px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
}

.aside-menu .menu-item a:hover {
    background-color: rgba(120, 120, 220, .14);
    color: rgba(0,0,0,.54);
    border-right: 3px solid #716cb0;
}

.aside-menu .menu-item a i {
    margin-right: 15px;
}

.aside-menu .logo a i {
    color: white;
}

.aside-menu .logo a {
    display: block;
    background: #716cb0 !important;
    color: white;
    padding: 20px !important;
    height: 86px;
    font-size: 24px;
    text-decoration: none;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: none;
    background: rgb(242, 242, 245);
    z-index: 99;
}

.content-header-heading {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block {
    display: block !important;
}

.search {
    text-decoration: none;
    position: relative;
    display: block;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    min-width: 64px;
    height: 36px;
    vertical-align: middle;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    background-color: white;
    box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%);
    font-size: 14px;
    font-weight: 500;
    line-height: 36px;
    overflow: hidden;
    outline: none;
    cursor: pointer;
    transition: box-shadow 0.2s;
    display: flex;
    flex: 1 1;
}

.top_0 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.bot_0 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.search input {
    outline: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    -webkit-appearance: none;
    padding: 10px 20px;
    flex: 2;
}

.search button, .search span {
    border: 0;
    cursor: pointer;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    padding: 10px;
    background: white;
}

.group-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column: 1 / span 2;
}

.group-form-grid  > div {
    padding: 5px 20px;
}

.jobform select, .jobform input, .jobform textarea {
    display: block;
    border: none;
    padding: 15px;
    width: 100%;
    background-color: rgba(120, 120, 220, .14);
    outline: none;
}

.jobform textarea {
    resize: none;
    width: 100%;
}

.jobform input[type='checkbox'] {
    display: inline-block;
    width: auto;
}

.table-icon {
    margin-right: 4px;
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    transition: all 0.35s;
    text-decoration: none;
    color: rgba(0,0,0,.54);
}

.table-icon:hover {
    background: rgba(200, 200, 200, 0.6);
}

.table-icon-wrapper {
    display: flex;
}

.table-header {
    padding: 15px 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'><path stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/></svg>");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
}

.switch {
  display: inline-block;
  position: relative;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 24px;
}
.switch > input {
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 20px;
  opacity: 0;
  z-index: 0;
}
.switch > label {
  display: block;
  padding: 0 0 0 44px;
  cursor: pointer;
}
.switch > label:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 36px;
  height: 14px;
  background-color: rgba(0, 0, 0, 0.26);
  border-radius: 14px;
  z-index: 1;
  transition: background-color 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.switch > label:after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  z-index: 2;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  transition-property: left, background-color;
}
.switch input:checked + label:before {
  background-color: #716cb0;
}
.switch input:checked + label:after {
  left: 16px;
  background-color: #3f51b5;
}

.meter {
    display: flex;
    align-items: center;
}

.bar-label {
    font-size: 9px;
}

.bar-wrapper {
  box-sizing: content-box;
  height: 7px; /* Can be anything */
  position: relative;
  margin: 5px; /* Just for demo spacing */
  background: #555;
  border-radius: 25px;
  box-shadow: inset 0 -1px 1px rgba(255, 255, 255, 0.3);
  width: 60px;
}
.bar-content {
  display: block;
  height: 100%;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgb(43, 194, 83);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    center bottom,
    rgb(43, 194, 83) 37%,
    rgb(84, 240, 84) 69%
  );
  box-shadow: inset 0 2px 9px rgba(255, 255, 255, 0.3),
    inset 0 -2px 6px rgba(0, 0, 0, 0.4);

  border-radius: 25px;
}

.job-detail-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;

}

.job-detail-container-grid strong {
    font-size: 11px !important;
}

.calendar-table-row {
    display: flex;
}

.calendar-table span {
    border: 1px solid gray;
    display: inline-block;
    padding: 2px;
    width: 21px;
    font-size: 9px;
}
