.empty,
.empty a{
  color: #999!important;
}

label.inline {
  display: inline-block;
  margin: .3rem;
}
label.inline > span:first-child {
  margin-right: .3rem;
}

input {
  border: 1px solid #cccccc;
  padding: .3rem .5rem;
  border-radius: 3px;
  height: auto;
  line-height: normal;
  display: inline-block;
  transition: border .3s;
}

select {
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: .3rem 1.3rem .3rem .5rem;
  height: auto;
  line-height: normal;
  display: inline-block;
  transition: border .3s;
}
select:not(:disabled):hover,
select:not(:disabled):focus {
  border: 1px solid gray;
}

abbr {
  cursor: help;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.select2-dropdown {
  z-index: 2000000;
}
.select2-selection__placeholder {
  color: #b3b3b3;
}

.select2-container--default .select2-selection--single {
  padding: .6rem .8rem;
  border: 2px solid #ECEFF1;
  border-radius: 3px;
  background-color: white;
  color: dimgray;
  font-size: 1em;
  box-sizing: border-box;
  letter-spacing: .5px;
  width: 100%;
  height: auto;
  transition: border .3s;
  min-height: calc(1.6rem + 1em);
}
.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--single:focus {
  border: 2px solid gray;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.2em;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  width: 1.5rem
}
.select2-container--default .select2-selection--single .select2-selection__clear {
  height: 100%;
}

div[data-sortable] {
  padding: .3rem;
  border-radius: 3px;
  border: 1px solid lightgray;
}
div[data-sortable] > div {
  padding: .3rem .5rem;
  background-color: whitesmoke;
  margin-bottom: .3rem;
  cursor: row-resize;
}
div[data-sortable] > div:last-child {
    margin-bottom: 0;
}
div[data-sortable] > div::before {
  content: "||";
  margin-right: .5rem;
  color: lightgray;
  letter-spacing: -.2em;
  transition: color .3s;
}
div[data-sortable] > div:hover::before {
  color: black;
}

select[multiple] {
  min-height: 250px;
  min-width: 400px;
  max-width: 800px;
}

input[disabled]{
    background-color:#eee !important;
}

textarea[disabled]{
    background-color:#eee !important;
}

details > summary {
  cursor: pointer;
}
details[open] > summary ~ * {
  animation: sweep .5s ease-in-out;
}
details[open].no-animation > summary ~ * {
  animation: none;
}
@keyframes sweep {
  0%    { opacity: 0; }
  100%  { opacity: 1; }
}

div.divinput{
  padding: 4px;
}

span.label {  /* sono le label in linea */
  padding: 0 5px;
  width: 350px;
}

div.group {display: table; margin: 2px 0; width: 100%;} /*sono le label su colonna, sostituiscono le table tr td. comp IE8+*/
div.group .label,
div.group .offer {
  display: table-cell;
  text-align: left;
  vertical-align: middle;
}
div.group .label {width: 150px;}

.pointer{
  cursor: pointer;
}

.sidealert{
  position:fixed;
  padding:10px;
  top:50px;
  right:30px;
  background-color:white;
  border:1px solid #eee;
}

#userinfo-hidden{
  display:none;
  visibility:hidden;
}

.attachedpath {
    color: light-grey;
    margin: 3px 0 0;
}

.menuparagraph-link-outer{
  float:right;
  padding-left: 6px;
  width:20px
  }
.menuparagraph-link-inner{
  float:right;
  padding-left:2px;
  width:140px
}

.LISel a div{
  font-weight: bold;
}

/* vocabolari */
.voctype-a:after {
    content: "A";
    padding: 0 4px;
}
.voctype-c:after {
    content: "C";
    padding: 0 4px;
}
.voctype-n:after {
    content: "N";
    padding: 0 4px;
}

.Pcolv, .colv{
    display: none;
}

.voctype {
    display: none;
    float: right;
    font-size: 80%;
    padding: 5px 0;
}

.field-key{
  display: inline;
  font-size:  80%;
  color: white;
  margin: 0 2px;
}
.field-key:after{
  content:url('images/field-key-sml.png');
}

.paginazione{
  clear:both;
    border-bottom: 1px solid #CCCCCC;
    background-color: white;
    padding: 5px;
    min-height:16px;
}
.stick-paging {
    position:fixed;
    top:0px;
    z-index: 10;
    width : 85%;
}

.stick-buttons{
    border-radius: 3px;
    bottom: 10px;
    padding: 10px;
    position: fixed;
    right: 10px;
}


.buttons-sticker{
  float:right;
  cursor:pointer;
  background-image: url("images/buttons-icon.png");
  background-position: right center;
    background-repeat: no-repeat;
  margin: 0 5px;
  width:16px;
  height:16px;
  display: none;
}

.buttons-print {
  cursor:pointer;  
}

.buttons-printer {
  float:right;
  cursor:pointer;
  background-image: url("images/print.png");
  background-position: right center;
  background-repeat: no-repeat;
  margin: 0 5px;
  width:16px;
  height:16px;
  display: none;
}

.coladmin {
  width: 400px;
}

.coladminorder {
  width: 400px;
}

div.padminbuttonsorder {
  position: relative;
  width: 320px;
  float: right;
  text-align:right;
}

span.link-remove {
  color: red;
  text-align: right;
  float: right;
  cursor: pointer;
}


/* MENU SCHEDA LEFT SIDE */
/*attenzione (sequenza necessaria ul li ul) spunto da http://jsfiddle.net/q9eK6/*/
.menuparagraph-list li{
    /*height: 19px;*/
    border:none;
    display:inline-block;
    float:left;
}

.menuparagraph-list ul li ul{
  display:none;
  list-style-type:none;
  width:300px;
}

.menuparagraph-list li ul {
  display: none;
  float: left;
  position: absolute;
}
.menuparagraph-list ul li:hover ul{
  display:block;
  border:1px solid black;
}
.menuparagraph-list ul li:hover ul li{
  width:300px;
  /*height:19px;*/
  display:inline-block;
}

.menuparagraph-list li:hover ul {
  display: block;
  margin-left:140px;
  margin-top:-20px;
}

.par-content-summary {
  background-color: white;
  border:1px solid black;
  min-width:320px;
  padding: 20px 10px;
  z-index:1;
  top: -19px;
  position: relative;
}

.par-content-summary-beak{
  /*background-image: url("images/par-content-summary-beak.png");
  height: 16px;
  width: 16px;
  position: absolute;
  left: -10px;*/
}

.par-content-summary-others{
  width: auto!important;
}
.menuparagraph-buttons{
  text-align: right;
  cursor:pointer;
  float:right;
  width: 40%;
}

.menuparagraph-summary .par-comment{
  font-weight: bold;
  margin-bottom: 5px;
}

.menuparagraph-summary .repeatable,
.menuparagraph-summary .occurrences{
  float: right;
  display: inline-block;
  min-width: 12px;
}

.menuparagraph-summary .repeatable a {
    padding: 0;
}


.kfield-summary{font-style: italic; clear: both;border-top: 1px solid #EEEEEE;}
.sfield-summary{margin-left: 20px; clear: both;}


.kfield-summary .mark,
.sfield-summary .mark,
.cfield-summary .mark{
  font-size: 90%;
  font-weight: bold;
  width: 20%;
  display:inline-block;
  vertical-align: top;
}

.kfield-summary .comment{
  display: inline-block;
  width: 40%;
}
.sfield-summary .comment,
.cfield-summary .comment{

  display: inline-block;
  width: 70%;
}

/* CATALOGAZIONE TABELLE SHOW/CREATE/MODIFY CAMPI*/

table.summary,
table.summary-show,
table.summary-show-inner,
table.summary-id,
table.summary-selected{
  width: 100%;
  padding: 0px 0px 0px 0px;
}
table.summary-insert{
  width: 100%;
}

table td.subparagraphlabel-mark{ font-weight: bold;}
table td.subparagraphlabel-comment{ font-weight: bold;}
table tr.subparagraphlabel{}

table td.paragraphlabel-mark{ font-weight: bold;}
table td.paragraphlabel-comment{font-weight: bold;}
table tr.paragraphlabel{color: #cc0000;}

table td.label-mark{}
table td.label-comment{}
table tr.label{}

table.results .tabledescription {
    color: #808080;
    display: none;
    font-style: italic;
}

.dispatchresults{ /* colonna operativa */
  white-space: nowrap;
  float: left;
}
.dispatchresults .workspaceresults,
.dispatchresults .loadresults{
  display: inline-block;
  min-width: 15px;
  cursor:pointer;
}
.dispatchresults .loadresults a{
  float: left;
}

.paginazione .workspaceresults {
  float: right;
  margin: 0 8px;
  cursor:pointer;
}
.label-mark.cccmark{font-weight: bold;}


.summary.tableduplica .mark { /*allarga le colonne del mark per fare posto al check di duplicazione*/
  width: 70px;
}

/*
option.fieldchoice-standard:before {
    color: #DDDDDD;
    content: " default";
    float: right;
}
*/
.hovertext{
  color: #aaa;
}
.hovertext:hover{
  color: #333;
}
.softwarn {
    color: #BBBBBB;
}

#savepointlist {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    margin: 10px;
    max-width: 600px;
    position: absolute;
    right: 0;
    padding: 15px;
}

.savepointbutton {
    float: left;
    width: 80px;
    cursor: pointer;
}

.notificationbase {
    display: inline-block;
    position: relative;
}

.notification {
    background-color: #FF0000;
    border-radius: 10px;
    color: #FFFFFF;
    line-height: 1.5em;
    min-width: 15px;
    position: absolute;
    right: -10px;
    text-align: center;
    top: -5px;
}


/* -----------------  USERADMIN */

.containersel > option {
    max-width: 500px;
    overflow: hidden;
}

/* -----------------  ICON */

.ico {
    background-color: rgba(0, 0, 0, 0);
    border: 0 none;
    display: inline-block;
    float: left;
    height: 14px;
    width: 14px;
}
.icopin {
    background-image: url("images/pin.png");
}
.icopinned{
    background-image: url("images/pinned.png");
}
.icochainlink {
    background-image: url("images/chainlink.png");
}
.icochainbroken{
    background-image: url("images/chainbroken.png");
}


.column-treeview{
  display:none;
}

#SplitterContainer, #SplitterContainerTO {
  height: 400px;
  width: 99%;
  border: 2px solid #ccc;
}
#LeftPane, #LeftPaneTO {
  background: #fff;
  overflow: scroll;
  width: 400px;
  min-width: 400px;
}
#RightPane,  #RightPaneTO {
  background: #fff;
  min-width: 400px;
  overflow: scroll;
}
#SplitterContainer .vsplitbar {
  width: 6px;
  background: #eee url(images/vgrabber.gif) no-repeat center;
}
#SplitterContainerTO .vsplitbar {
  width: 6px;
  background: #eee url(images/vgrabber.gif) no-repeat center;
}
#SplitterContainer .vsplitbar.active, #SplitterContainer .vsplitbar:hover {
  background: #f0f0f0 url(images/vgrabber.gif) no-repeat center;
}
#SplitterContainerTO .vsplitbar.active, #SplitterContainerTO .vsplitbar:hover {
  background: #f0f0f0 url(images/vgrabber.gif) no-repeat center;
}

.thumb[data-viewer] {
  cursor: zoom-in;
  opacity: .8;
  transition: opacity .3s;
}
.thumb[data-viewer]:hover,
.thumb[data-viewer]:focus {
  opacity: 1;
}

.column-result-hidden {
  top:0;
  left:-9999px;
  width:0px; height:0px;
  overflow:hidden;
  visibility: hidden;
  position: absolute;
}

.sort-results {
  margin: 1rem 0;
  padding: .5rem;
}
.sort-results[open] > summary {
  padding-bottom: 1rem;
}
.sort-results > div {
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
}
.sort-options,
.sort-fields {
  padding: 1rem;
}

[data-splitter] {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  justify-content: start;
}
[data-splitter] .gutter.gutter-horizontal {
  background-color: whitesmoke;
  cursor: col-resize;
}

.flex {
  display: flex;
  flex-flow: row wrap;
}
.flex > * {
  box-sizing: border-box;
  display: inline-block;
}
.flex.ai-start {
  align-items: flex-start;
}
.flex.ai-center {
  align-items: center;
}
.flex.ai-stretch {
  align-items: stretch;
}
.flex.ai-end {
  align-items: flex-end;
}
.flex.jc-start {
  justify-content: flex-start;
}
.flex.jc-center {
  justify-content: center;
}
.flex.jc-end {
  justify-content: flex-end;
}
.flex.jc-space-between {
  justify-content: space-between;
}
.flex .as-last-baseline {
  align-self: last baseline;
}
.flex .flex-1 {
  width: 6.25%;
  flex: 0 1 6.25%;
}
.flex .flex-2 {
  width: 12.5%;
  flex: 0 1 12.5%;
}
.flex .flex-3 {
  width: 18.75%;
  flex: 0 1 18.75%;
}
.flex .flex-4 {
  width: 25%;
  flex: 0 1 25%;
}
.flex .flex-5 {
  width: 31.25%;
  flex: 0 1 31.25%;
}
.flex .flex-6 {
  width: 37.5%;
  flex: 0 1 37.5%;
}
.flex .flex-7 {
  width: 43.75%;
  flex: 0 1 43.75%;
}
.flex .flex-8 {
  width: 50%;
  flex: 0 1 50%;
}
.flex .flex-9 {
  width: 56.25%;
  flex: 0 1 56.25%;
}
.flex .flex-10 {
  width: 62.5%;
  flex: 0 1 62.5%;
}
.flex .flex-11 {
  width: 68.75%;
  flex: 0 1 68.75%;
}
.flex .flex-12 {
  width: 75%;
  flex: 0 1 75%;
}
.flex .flex-13 {
  width: 81.25%;
  flex: 0 1 81.25%;
}
.flex .flex-14 {
  width: 87.5%;
  flex: 0 1 87.5%;
}
.flex .flex-15 {
  width: 93.75%;
  flex: 0 1 93.75%;
}
.flex .flex-16 {
  width: 100%;
  flex: 0 1 100%;
}
@media (max-width: 320px) {
  .flex .flex-ms-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-ms-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-ms-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-ms-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-ms-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-ms-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-ms-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-ms-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-ms-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-ms-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-ms-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-ms-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-ms-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-ms-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-ms-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-ms-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
@media (max-width: 375px) {
  .flex .flex-mm-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-mm-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-mm-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-mm-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-mm-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-mm-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-mm-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-mm-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-mm-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-mm-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-mm-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-mm-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-mm-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-mm-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-mm-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-mm-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
@media (max-width: 425px) {
  .flex .flex-ml-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-ml-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-ml-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-ml-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-ml-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-ml-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-ml-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-ml-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-ml-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-ml-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-ml-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-ml-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-ml-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-ml-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-ml-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-ml-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
@media (max-width: 768px) {
  .flex .flex-t-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-t-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-t-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-t-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-t-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-t-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-t-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-t-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-t-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-t-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-t-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-t-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-t-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-t-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-t-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-t-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
@media (max-width: 1024px) {
  .flex .flex-l-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-l-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-l-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-l-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-l-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-l-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-l-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-l-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-l-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-l-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-l-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-l-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-l-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-l-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-l-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-l-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
@media (max-width: 1440px) {
  .flex .flex-ll-1 {
    width: 6.25%;
    flex: 0 1 6.25%;
  }
  .flex .flex-ll-2 {
    width: 12.5%;
    flex: 0 1 12.5%;
  }
  .flex .flex-ll-3 {
    width: 18.75%;
    flex: 0 1 18.75%;
  }
  .flex .flex-ll-4 {
    width: 25%;
    flex: 0 1 25%;
  }
  .flex .flex-ll-5 {
    width: 31.25%;
    flex: 0 1 31.25%;
  }
  .flex .flex-ll-6 {
    width: 37.5%;
    flex: 0 1 37.5%;
  }
  .flex .flex-ll-7 {
    width: 43.75%;
    flex: 0 1 43.75%;
  }
  .flex .flex-ll-8 {
    width: 50%;
    flex: 0 1 50%;
  }
  .flex .flex-ll-9 {
    width: 56.25%;
    flex: 0 1 56.25%;
  }
  .flex .flex-ll-10 {
    width: 62.5%;
    flex: 0 1 62.5%;
  }
  .flex .flex-ll-11 {
    width: 68.75%;
    flex: 0 1 68.75%;
  }
  .flex .flex-ll-12 {
    width: 75%;
    flex: 0 1 75%;
  }
  .flex .flex-ll-13 {
    width: 81.25%;
    flex: 0 1 81.25%;
  }
  .flex .flex-ll-14 {
    width: 87.5%;
    flex: 0 1 87.5%;
  }
  .flex .flex-ll-15 {
    width: 93.75%;
    flex: 0 1 93.75%;
  }
  .flex .flex-ll-16 {
    width: 100%;
    flex: 0 1 100%;
  }
}
.flex .flex-left-1 {
  margin-left: 6.25%;
}
.flex .flex-left-2 {
  margin-left: 12.5%;
}
.flex .flex-left-3 {
  margin-left: 18.75%;
}
.flex .flex-left-4 {
  margin-left: 25%;
}
.flex .flex-left-5 {
  margin-left: 31.25%;
}
.flex .flex-left-6 {
  margin-left: 37.5%;
}
.flex .flex-left-7 {
  margin-left: 43.75%;
}
.flex .flex-left-8 {
  margin-left: 50%;
}
.flex .flex-left-9 {
  margin-left: 56.25%;
}
.flex .flex-left-10 {
  margin-left: 62.5%;
}
.flex .flex-left-11 {
  margin-left: 68.75%;
}
.flex .flex-left-12 {
  margin-left: 75%;
}
.flex .flex-left-13 {
  margin-left: 81.25%;
}
.flex .flex-left-14 {
  margin-left: 87.5%;
}
.flex .flex-left-15 {
  margin-left: 93.75%;
}
.flex .flex-right-1 {
  margin-right: 6.25%;
}
.flex .flex-right-2 {
  margin-right: 12.5%;
}
.flex .flex-right-3 {
  margin-right: 18.75%;
}
.flex .flex-right-4 {
  margin-right: 25%;
}
.flex .flex-right-5 {
  margin-right: 31.25%;
}
.flex .flex-right-6 {
  margin-right: 37.5%;
}
.flex .flex-right-7 {
  margin-right: 43.75%;
}
.flex .flex-right-8 {
  margin-right: 50%;
}
.flex .flex-right-9 {
  margin-right: 56.25%;
}
.flex .flex-right-10 {
  margin-right: 62.5%;
}
.flex .flex-right-11 {
  margin-right: 68.75%;
}
.flex .flex-right-12 {
  margin-right: 75%;
}
.flex .flex-right-13 {
  margin-right: 81.25%;
}
.flex .flex-right-14 {
  margin-right: 87.5%;
}
.flex .flex-right-15 {
  margin-right: 93.75%;
}
.flex .flex-grow {
  flex-grow: 1;
}
.flex .flex-row {
  flex: 1 1 100%;
}

.to-left {
  float: left;
}
.to-right {
  float: right;
}

body {
  min-height: 100vh;
  margin:0;
  padding:0;
  font-family: sans-serif;
  font-size: 13px;
}
body.popup {
  padding: 2rem;
}

select {
  background-color: white;
}

input.as-text {
  border: 1px solid transparent;
}

.no-appearance {
  appearance: none;
}
.no-transition {
  transition: none;
}
a.no-appearance,
a.no-appearance:link,
a.no-appearance:focus,
a.no-appearance:active,
a.no-appearance:visited {
  color: black;
  text-decoration: none;
}
ul.no-appearance {
  margin: 0;
  padding: 0;
}

.secondary {
  color: gray;
}
a.secondary,
a.secondary:link,
a.secondary:visited {
  color: gray;
  text-decoration: none;
  transition: all .3s;
}
a.secondary:hover,
a.secondary:focus,
a.secondary:active {
  color: black;
}

[hidden] {
  display: none !important;
}

.d-block {
  display: block;
}

.flex,
.d-flex {
  display: flex !important;
}
.flex-row {
  flex-flow: row wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
.align-items-center {
  align-items: center;
}
.align-items-stretch {
  align-items: stretch;
}
.justify-content-start {
  justify-content: flex-start;
}
.justify-content-end {
  justify-content: flex-end;
}
.justify-content-between {
  justify-content: space-between;
}

.flex-gap {
  gap: .5rem;
}
.gap-1,
.flex-gap-1 {
  gap: 1rem;
}
.gap-2,
.flex-gap-2 {
  gap: 2vw !important;
}

.flex-grow {
  flex-grow: 1;
}

.flex-1 {
  flex: 1;
}
.flex-auto {
  flex-basis: auto;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.align-center {
  display: flex;
  align-items: center;
}

.h-100 {
  height: 100%;
}
.mh-100v {
  max-height: 100vh;
}

.gap > * {
  margin-left: 1rem;
}
.gap {
  margin-left: -1rem;
}

.gap-v > * {
  margin-bottom: 1rem;
}
.gap-v {
  margin-bottom: -1rem;
}

.gap-v1 > * {
  margin-bottom: .5rem;
}
.gap-v1 {
  margin-bottom: -.5rem;
}

.gap-1 {
  margin-left: -1vw;
}
.gap-1 > * {
  margin-left: 1vw;
}
.gap-v-1 > * {
  margin-bottom: 1vw;
}
.gap-v-1 > *:last-child {
 margin-bottom: 0;
}

.flex-gap {
  gap: 1rem;
}

.flex-column {
  display: flex;
  flex-flow: column;
  gap: .5rem;
}

.p-0 {
  padding: 0!important;
}
.p-1 {
  padding: .8vw !important;
}
.p-2 {
  padding: 2vw !important;
}
.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.px-1 {
  padding-left: 1vw;
  padding-right: 1vw;
}
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-1 {
  padding-top: 1vw;
  padding-bottom: 1vw;
}

.p-small {
  padding: .5rem;
}

.pi-1 > * {
  padding: .8vw;
}

.ms-0 {
  margin-left: 0 !important;
}
.ms-1 {
  margin-left: 1rem !important;
}
.ms-2 {
  margin-left: 2rem;
}


.me-0 {
  margin-right: 0 !important;
}
.me {
  margin-right: .5rem !important;
}
.me-1 {
  margin-right: 1rem !important;
}
.me-2 {
  margin-right: 2rem;
}

.m-0 {
  margin: 0 !important;
}
.m-1 {
  margin: 1vw;
}
.mr-1 {
  margin-right: 1vw;
}
.my-1 {
  margin-top: 1vw !important;
  margin-bottom: 1vw !important;
}
.my-2 {
  margin-top: 2vw;
  margin-bottom: 2vw;
}

.mt {
  margin-top: .5rem;
}
.mt-1 {
  margin-top: 1vw;
}
.mt-2 {
  margin-top: 2vw;
}
.mb-1 {
  margin-bottom: 1vw !important;
}
.mb-2 {
  margin-bottom: 2vw !important;
}

.background {
  background-color: #F5F5F5;
}

.no-select {
  user-select: none;
}

.no-border {
  border: none;
}
.border {
  border-width: 1px;
  border-style: solid;
  border-color: lightgray;
}
.border-bottom {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: lightgray;
}

.gray-100 {
  color: #F5F5F5;
}
.gray-200 {
  color: #EEEEEE;
}
.gray-400 {
  color: #78909C;
}

.button-group {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}
.button-group.inline {
  display: inline-flex;
}
.button-group > button {
  background-color: #F5F5F5;
  color: dimgray;
  padding: .3rem .5rem;
  margin-left: .5rem;
  border-radius: 3px;
  border: 1px solid lightgray;
  white-space: nowrap;
  box-shadow: 2px 2px 6px -3px lightgray;
  cursor: pointer;
  transition: all .3s;
  font-size: 1em;
}
.button-group > button:hover {
  background-color: #EEEEEE;
  color: black;
}
.button-group > button:first-child {
  margin-left: 0;
}
button.primary {
  color: dimgray;
  background-color: #F5F5F5;
}
button.primary:hover {
  color: black;
}
.button.button-success,
button.success {
  background-color: #208420;
  color: white;
  border: none;
  padding: .5rem 1rem;
}
.button.button-success:hover,
button.success:hover {
  background-color: #2D912D;
  color: white;
}
.button.button-default,
button.default {
  background-color: black;
  color: white;
  border: none;
  padding: .5rem 1rem;
}
.button.button-default:hover,
button.default:hover {
  background-color: #434343;
  color: white;
}

.button.block,
button.block {
  display: block;
  width: 100%;
  padding: .5rem;
}
button.clear,
button.clear:hover,
.button.clear,
.button.clear:hover {
  background-color: transparent;
  border: 0;
}


.button.loading {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.button.loading::after {
  content: "";
  background-image: url("/samira/images/btn-loader.apng");
  width: 18px;
  height: 18px;
  display: inline-block;
  background-position: -6px -6px;
}
.button[disabled] {
  background-color: whitesmoke;
  color: gray;
  border: 1px solid lightgray;
  cursor: default;
}
.button[disabled]:hover {
  color: gray;
}

.modal {
  display: none;
  margin: 2rem;
  padding: 2rem;
  background: white !important;
  border-radius: 3px;
  box-shadow: 5px 5px 20px -10px gray;
  max-height: 100vh;
  overflow: auto;
  box-sizing: border-box;
  transition: all .3s;

  &.modal-open {
    display: block;
    max-height: calc(100vh - 4rem);
    max-width: calc(100vw - 4rem);
    height: auto;
    width: auto;
    position: relative !important;
  }
  &.modal-fullscreen {
    height: 100vh;
    max-height: none;
  }
  &.modal-md {
    width: 60vw;
    max-width: 800px;
  }
  &.modal-sm {
    width: 30vw;
    max-width: 500px;
  }
  @media (max-width: 1024px) {

    &.modal-md {
      width: 80vw;
    }
  }
  @media (max-width: 768px) {

    &.modal-md {
      width: 80vw;
    }
  }
  @media (max-width: 425px) {

    &.modal-md {
      width: 90vw;
    }
  }

  > header {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
  }
  > header > *:first-child {
    margin: 0;
  }
  .modal-alert > .btn {
    float: right;
    margin: 0;
  }
  .modal-alert .content {
    font-size: 1rem;
    line-height: 1.5em;
  }
  &.small .modal-alert .content {
    font-size: .8rem;
  }
  .buttons {
    justify-content: flex-end;
    border: none;
    padding: 1vw 0;
    margin-top: 2rem;
    position: static;
  }
  .button {
    border-radius: 3px;
    background-color: black;
    color: white;
    padding: .5rem 1rem;
    transition: .3s all;
    border: none;
  }
  .button:hover {
    box-shadow: 0 0 0px 3px lightgray;
    color: white;
    background-color: #434343;
  }
  .button.button-primary,
  button.primary {
    color: dimgray;
    background-color: #F5F5F5;
  }
  .button.button-primary:hover,
  button.primary:hover {
    color: black;
  }
  .button.button-success,
  button.success {
    background-color: #208420;
    color: white;
    border: none;
    padding: .5rem 1rem;
  }
  .button.button-success:hover,
  button.success:hover {
    background-color: #2D912D;
    color: white;
  }
  .button.button-default,
  button.default {
    background-color: black;
    color: white;
    border: none;
    padding: .5rem 1rem;
  }
  .button.button-default:hover,
  button.default:hover {
    background-color: #434343;
    color: white;
  }
  > footer {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: flex-end;
    margin-top: 2rem;
  }
}
.overlay-center {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}
.modal-overlay {
  background-color: rgba(0,0,0,.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}
body.disable-scroll {
  width: 100vw;
  height: 100vh;
  padding-right: 17px;
  position: fixed;
}

.w-10 {
  width: 10%;
  flex-basis: 10%;
}
.w-20 {
  width: 20%;
  flex-basis: 20%;
}
.w-25 {
  box-sizing: border-box;
  width: 25%;
  flex-basis: 25%;
}
.w-30 {
  width: 30%;
  flex-basis: 30%;
}
.w-40 {
  width: 40%;
  flex-basis: 40%;
}
.w-50 {
  box-sizing: border-box;
  width: 50%;
  flex-basis: 50%;
}
.w-60 {
  width: 60% !important;
}
.w-70 {
  width: 70% !important;
}
.w-80 {
  width: 80%;
}
.w-90 {
  width: 90%;
}
.w-100 {
  box-sizing: border-box;
  min-width: 100%;
}
.w-v40 {
  width: 40vw !important;
}
.w-auto {
  width: auto !important;
}
@media (max-width: 425px) {

  .w-v100-ml {
    width: 100vw !important;
  }
  .w-100-ml {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {

  .w-60-t {
    width: 60%;
  }
  .w-v60-t {
    width: 60vw !important;
  }
  .w-100-t {
    width: 100%;
    flex-basis: 100%;
  }
}

.w-v40 {

  width: 40vw;
}

.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-center {
  text-align: center;
}

.buttons {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  background-color: white;
  padding: 1rem;
  border-top: 1px solid lightgray;
  box-shadow: 0px -10px 10px 0px white;
}
.buttons.light {
  background-color: #F5F5F5;
}

.overlay-center {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}
body.disable-scroll {
  width: 100vw;
  height: 100vh;
  padding-right: 17px;
  position: fixed;
}

.viewer-regen::before,
.viewer-rotate::before,
.viewer-scale::before,
.viewer-crop::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: white;
  font-size: 18px;
}
.viewer-regen::before {
  content: "\F130";
}
.viewer-rotate::before {
  content: "\F116";
}
.viewer-scale::before {
  content: "\F150";
}
.viewer-crop::before {
  content: "\F1B5";
}
.image-wrapper {
  position: relative;
}
.image-wrapper img {
  width: 100%;
  object-fit: contain;
  object-position: center;
  max-height: 50vh;
  z-index: 0;
}

.modal_map_container {
  height: 60vh;
}

.text-no-wrap {
  white-space: nowrap;
}

.samira-helper {
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.samira-helper::after {
  display: inline-block;
  content: "\F505";
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  color: #5f9ea0;
  font-size: 16px;
  margin-left: .5rem;
  cursor: help;
}

i.icon {
  background-color: transparent;
  display: inline-block;
  margin: 0.3rem 0;
  text-align: center;
  border: none;
  padding: .3rem;
}
i.icon::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  font-size: 24px;
  cursor: pointer;
  color: dimgray;
  width: 24px;
  height: 24px;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
i.icon.small::before {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
i.icon.regular {
  padding: .1rem;
}
i.icon.regular::before {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
i.icon.no-space {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

.btn:hover,
.btn:focus {
  background-color: whitesmoke;
  border: 2px solid lightgray;
}
.btn.disabled {
  pointer-events: none;
  opacity: .3;
}
.btn.btn-icon {
  background-color: transparent;
  display: inline-block;
  margin: 0.3rem 0;
  text-align: center;
  border: none;
  padding: .3rem;
}
.btn.btn-icon::before {
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  font-size: 24px;
  cursor: pointer;
  color: dimgray;
  width: 24px;
  height: 24px;
  background-origin: content-box;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}
.btn.btn-icon.inline {
  padding: .3rem;
  vertical-align: middle;
  margin: 0;
}
.btn.btn-icon.small::before {
  font-size: 16px;
  width: 16px;
  height: 16px;
}
.btn.btn-icon.regular::before {
  font-size: 18px;
  width: 18px;
  height: 18px;
}
.btn-icon:hover,
.btn-icon:focus {
  background-color: transparent;
  border: none;
}
.btn-icon.as-font::before {
  width: 1em;
  height: 1em;
}
.btn.btn-icon > img,
.btn.btn-icon > span {
  display: none;
}
.btn.btn-icon.danger::before {
  color: red;
}
.btn.btn-icon.btn-dark {
  background-color: gray;
  color: white;
  border-radius: 3px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s all;
}
.btn.btn-icon.btn-dark::before {
  color: white !important;
}
.btn.btn-icon.btn-dark:hover {
  background-color: black;
}

.btn-edit::before {
  content: "\F4CA";
}
.btn-card:not(.cardlink)::before {
  content: "\F392";
}
.btn-clipboard::before {
  content: "\F290";
}
.btn-clipboard-check::before {
  content: "\F28B";
}
.btn-clipboard-x::before {
  content: "\F28F";
}
.btn-cardlink::before {
  content: "\F4CA";
}
.btn-copy::before {
  content: "\F3C2";
}
.btn-delete::before {
  content: "\F78B";
}
.btn-dictionary::before {
  content: "\F473";
}
.btn-list-columns::before {
  content: "\F6A0";
}
.btn-email::before {
  content: "\F32F";
}
.btn-file::before {
  content: "\F362";
}
.btn-image::before {
  content: "\F36D";
}
.btn-insert::before {
  content: "\F37D";
}
.btn-link::before {
  content: "\F470";
}
.btn-map::before {
  content: "\F47F";
}
.btn-movetop::before {
  content: "\F115";
}
.btn-moveup::before {
  content: "\F148";
}
.btn-movebottom::before {
  content: "\F112";
}
.btn-movedown::before {
  content: "\F128";
}
.btn-new::before {
  content: "\F3AB";
}
.btn-url::before {
  content: "\F470";
}
.btn-video::before {
  content: "\F37B";
}
.btn-arrow-left::before {
  content: "\F12F";
}
.btn-arrow-right::before {
  content: "\F138";
}
.btn-x::before {
  content: "\F62A";
}
.btn-diagram-3::before {
  content: "\F2EE";
}
.btn-arrow-in-right::before {
  content: "\F1BE";
}
.btn-open::before {
  content: "\F1C5";
}
.btn-reboot::before {
  content: "\F1A7";
}
.btn-stickies::before {
  content: "\F58B";
}
.btn-add::before {
  content: "\F4F8";
}
.btn-dash::before {
  content: "\F2E4";
}
.btn-plus::before {
  content: "\F4FE";
}
.btn-search::before {
  content: "\F52A";
}
.btn-clean::before {
  content: "\F78B";
}
.btn-grip-vertical::before {
  content: "\F3FE";
}
.btn-arrow-up::before {
  content: "\F145";
}
.btn-arrow-down::before {
  content: "\F124";
}
.btn-chevron-right::before {
  content: "\F285";
}
.btn-arrow-clockwise::before {
  content: "\F116";
}
.btn-search-heart::before {
  content: "\F787";
}
.btn-database::before {
  content: "\F8BE";
}
.btn-person-circle::before {
  content: "\F4D7";
}
.btn-backspace-reversed::before {
  content: "\F158";
}
.btn-chevron-double-up::before {
  content: "\F281";
}
.btn-chevron-double-down::before {
  content: "\F27E";
}
.btn-gear-fill::before {
  content: "\F3E2";
}
.btn-home::before {
  content: "\F425";
}
.btn-arrow-bar-left::before {
  content: "\F113";
}
.btn-arrow-left-short::before {
  content: "\F12C";
}
.btn-arrow-counterclockwise::before {
  content: "\F117";
}
.btn-arrow-right-short::before {
  content: "\F135";
}
.btn-arrow-bar-right::before {
  content: "\F114";
}
.btn-pencil-square::before {
  content: "\F4CA";
}
.btn-trash::before {
  content: "\F5DE";
}
.btn-history::before {
  content: "\F292";
}
.btn-toggle[data-status="on"]::before {
  content: "\F5D6";
}
.btn-toggle[data-status="off"]::before {
  content: "\F5D5";
}
.btn-fullscreen::before {
  content: "\F3DF";
}
.btn-fullscreen-exit::before {
  content: "\F3DE";
}

.hover {
  background-color: white;
  transition: background-color .3s;
}
.hover:hover {
  background-color: whitesmoke;
}


ul.list {
  padding: 0;
  list-style: none;
}

.stack-h > *,
.stack-horizontal > * {
  display: block;
  margin-right: 1rem;
}
.stack-h > *:last-child,
.stack-horizontal > *:last-child {
  margin-right: 0;
}
.stack-v > *,
.stack-vertical > * {
  display: block;
  margin-bottom: 1rem;
}
.stack-v > *:last-child,
.stack-vertical > *:last-child {
  margin-bottom: 0;
}

.stack-v-2 > *,
.stack-vertical-2 > * {
  display: block;
  margin-bottom: 5vh;
}
.stack-v-2 > *:last-child,
.stack-vertical-2 > *:last-child {
  margin-bottom: 0;
}

.flex-stack {
  display: flex !important;
  flex-flow: column nowrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;

  > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  &.large {
    gap: 1rem;
  }
}

.label.stacked,
label.stacked {
  display: block;
}
.label.stacked > span:first-child,
label.stacked > span:first-child {
  margin-bottom: .5rem;
  display: block;
}
.label.inline,
label.inline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.label.inline > span:first-child,
label.inline > span:first-child {
  white-space: nowrap;
}
.label-help {
  margin-top: .5rem;
  margin-left: .5rem;
  color: #999!important;
  font-style: italic;
}
.label.inline > .label-help,
label.inline > .label-help {
  margin: 0;
}


input[type='checkbox'].w-100 {
  width: 100%;
  margin: 0;
  padding: 0;
}

input[type="password"],
input[type="text"],
input[type="number"],
input[type="date"],
input[type="file"] {
  padding: .6rem .8rem;
  border: 2px solid #ECEFF1;
  border-radius: 3px;
  background-color: white;
  color: dimgray;
  font-size: 1em;
  box-sizing: border-box;
  letter-spacing: .5px;
  width: 100%;
  outline: 0;
  font-family: inherit;
  min-width: 70px;
}
input[type="password"]:autofill,
input[type="text"]:autofill,
input[type="number"]:autofill,
input[type="file"]:autofill {
  background: white;
}
input[type="password"]:placeholder,
input[type="text"]:placeholder,
input[type="date"]:placeholder,
input[type="number"]:placeholder,
input[type="file"]:placeholder {
  color: lightgray;
}

input[type="password"].small,
input[type="text"].small,
input[type="date"].small,
input[type="number"].small,
input[type="file"].small {
  padding: .3rem .5rem;
}

input[type="password"].clear,
input[type="text"].clear,
input[type="date"].clear,
input[type="number"].clear,
input[type="file"].clear {
  margin: 0;
  border: 0;
}

input[type="password"]:disabled,
input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="date"]:disabled,
input[type="file"]:disabled {
  cursor: not-allowed;
  background-color: whitesmoke;
}

input:hover[readonly],
input:focus[readonly] {
  cursor: default;
}

input[readonly=""] {
  background-color: ghostwhite;
}

input:hover[cardlink],
input:focus[cardlink] {
  cursor: default;
}

input[cardlink=""] {
  background-color: ivory;
}

textarea {
  font-family: sans-serif;
  padding: .6rem .8rem;
  border: 2px solid #ECEFF1;
  border-radius: 3px;
  background-color: white;
  color: dimgray;
  font-size: 1em;
  box-sizing: border-box;
  letter-spacing: .5px;
  outline: 0;
  width: 100%;
  max-width: 100%;
}
textarea:hover, textarea:focus {
}
textarea.small {
  padding: .3rem .5rem;
}
textarea.clear {
  margin: 0;
  border: 0;
}

input:focus-visible {
  outline: none;
}

.form-text-row,
.field-type-text {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: start;
  gap: .5rem;
}
.form-text-row > input,
.field-type-text > input,
.form-text-row > textarea,
.field-type-text > textarea {
  flex: 1;
}

.modal-overlay-login_samira {
  background-color: rgba(0,0,0,.8);
}
.modal-login_samira {
  box-shadow: 0px 0px 50vw 0 #263238;
  width: 20rem;
}
.modal-login_samira > h3 {
  margin-top: 0;
  margin-bottom: 2rem;
}
.modal-login_samira label > span {
  display: block;
  margin-bottom: .5rem;
  font-size: 14px;
  color: dimgray;
}

body > nav {
  padding: .5rem 2rem;
  background-color: white;
  margin: 0;
  box-shadow: 3px 3px 10px -5px gray;
  position: relative;
  z-index: 2;
}

.alerts {
  display: flex;
  flex-flow: row wrap;
}
.alerts > .alert {

}
.alert {
  padding: 1rem 1.2rem;
  border-radius: 3px;
}
.alert.small {
  padding: .6rem .8rem;
}
.alert.block {
  width: 100%;
  flex-basis: 100%;
}
.alert-info {
  background-color: whitesmoke;
  color: black;
}
.alert.success {
  background-color: #dfd;
}
.alert.alert-warn {
  background-color: #e9967a5c;
}
.alert.alert-error,
.alert.alert-danger {
  background-color: tomato;
  color: white;
}

hidden, .hidden {
  display: none;
}
.invisible {
  visibility: hidden;
}
.invisible-opacity {
  opacity: 0;
}

#modal_query_tool {
  width: 800px;
}

.querytool-row {
  margin-bottom: 1rem;
  border-bottom: 1px dotted gray;
  padding-bottom: 1rem;
}
.querytool-row:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
  padding-bottom: 0;
}
#query_tool .loader {
  background-image: url("/samira/images/loader.gif");
  height: calc(100% - 4rem);
  width: calc(100% - 4rem);
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,.8);
}

.margin-remove {
  margin: 0 !important;
}
.padding-remove {
  padding: 0 !important;
}

.select-terms  {
  width: calc(600px - 4rem);
}
@media (max-width: 600px) {

  .select-terms  {
    width: calc(100vw - 4rem);
  }
}
.select-terms-list {
  height: 50vh;
  overflow: auto;
  padding-right: 18px;
  transition: all .5s;
}
.select-terms-list > div {
  padding: .2rem .5rem;
  cursor: pointer;
  border-radius: 3px;
  color: dimgray;
}
.select-terms-list > div:hover {
  background-color: whitesmoke;
  color: black;
}


#wrapper {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 5fr;
  grid-gap: 1rem;
  min-height: 100vh;
  margin-right: 1rem;

  #content {
    padding: 1rem;
  }
}
main {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) 5fr;
  grid-gap: 1rem;
  min-height: 100vh;
  margin-right: 1rem;

  article {
    padding: 1vw;

    > header {
      margin-bottom: 2rem;
    }
    > footer {
      margin-top: 2rem;
    }
    .buttons {
      justify-content: flex-start;
      border: none;
      padding: 1vw 0;
      margin-top: 2rem;
    }
    .button {
      border-radius: 3px;
      background-color: black;
      color: white;
      padding: .5rem 1rem;
      transition: .3s all;
      border: none;
    }
    .button:hover {
      box-shadow: 0 0 0px 3px lightgray;
      color: white;
      background-color: #434343;
    }
  }
}
#sidemenu {
  font-size: 13px;
  background-color: whitesmoke;

  > * {
    margin: .5rem !important;
  }

  .menu-header {
    margin-bottom: 1rem;
  }
  .menu-header > div {
    margin: 0 .5rem;
    padding: .5rem;
    display: flex;
    align-items: center;
  }
  .menu-header a {
    padding: 0;
  }

  > details {
    border: 1px solid whitesmoke;
    margin: .5rem;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 3px 3px 10px -5px lightgray;
    background-color: white;
  }
  > details > summary {
    background-color: #3e3e3e;
    color: white;
    padding: .5rem;
    user-select: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all .3s;
  }
  > details > summary:hover {
    background-color: dimgray;
  }
  > details[open] > summary {
    background-color: black;
  }
  details > summary::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    margin-left: auto;
  }
  details[open] > summary::after {
    content: "\F286";
  }
  > details > summary > span {
    margin: 0 .5rem;
  }
  > details > ul {
    list-style: none;
    padding: 0;
    margin: .4rem 0;
  }
  .menu-item a,
  .menu-item button {
    background-color: white;
    font-size: 13px;
    padding: .2rem 1rem;
    display: block;
    user-select: none;
    padding-left: 2rem;
    color: #3E3E3E;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
  }
  .menu-item a:hover,
  .menu-item button:hover {
    background-color: whitesmoke;
    color: black;
  }
  .menu-item.selected a,
  .menu-item.selected button {
    color: black;
    background-color: #DBDBDB;
    cursor: default;
  }
  details > summary::before {
    font-family: "bootstrap-icons";
    width: 1rem;
    text-align: center;
    font-size: 14px;
  }
  details#menunavigazione > summary::before {
     content: "\F425";
  }
  details#menuricerca > summary::before {
     content: "\f52A";
  }
  details#menuschede > summary::before {
     content: "\f227";
  }
  details#menuscheda > summary::before {
     content: "\f227";
  }
  details#menuparagrafi > summary::before {
     content: "\f2EB";
  }
  details#menuutils > summary::before {
     content: "\f5DB";
  }
  details#menuadmin > summary::before {
     content: "\f4DA";
  }
  details#menuinteroper > summary::before {
     content: "\f3D7";
  }
  details#menuconfig > summary::before {
     content: "\f3E2";
  }
  details#menumodel > summary::before {
     content: "\f227";
  }
  @media (max-width: 1024px) {

    details > summary::before {
      content: none !important;
    }
    details > summary > span {
      margin-left: 0;
    }
    a {
      padding-left: .5rem;
    }
  }
  details ul.inner {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  details > ul > li.paragraph {
    display: flex;
    padding-left: 0;
  }
  ul > li.paragraph > a {
    padding: 0;
    display: flex;
    width: 100%;
    border-bottom: 1px solid whitesmoke;
  }
  ul > li.paragraph > a > span {
    display: flex;
    align-items: center;
    padding: .2rem;
  }
  ul > li.paragraph > a > span.mark {
    width: 2em;
    flex: 0 0 3em;
    justify-content: center;
    margin-right: .5rem;
    border-bottom: 1px solid whitesmoke;
    background-color: lightgray;
    color: black;
  }
  ul > li.paragraph > a > span.comment {
    font-size: 11px;
  }
  ul > li.paragraph.empty > a > span.mark {
    background-color: whitesmoke;
    color: gray;
  }
  ul > li.paragraph.selected > a,
  ul > li.paragraph.selected > a > span.mark,
  ul > li.paragraph.selected > a > span.comment {
    background-color: gray !important;
    color: white !important;
  }
  ul > li.paragraph.selected > a > span.mark {
    background-color: dimgray !important;
    border-bottom: 0;
  }
}

div.buttons samira-pdf-print,
div.buttons samira-pdf-print:link,
div.buttons samira-pdf-print:visited,
div.buttons samira-pdf-print:active {
  padding: .3rem .5rem;
}

div#extender {
  margin: .5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
div#extender i {
  font-size: 120%;
}
div#extender a {
  margin-left: 2%;
  height: auto;
  color: black;
  font-size: 100%;
  padding: 0;
}
button {
  border-width: 0;
}

#modal_personalize {
  width: 350px;
  height: auto;
}
.personalize {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.personalize .options {
  min-height: 150px;
}
.personalize .option {
  display: flex;
  align-items: center;
  user-select: none;
  justify-content: space-between;
}
.personalize .option.icon::after {
  font-family: "bootstrap-icons";
  width: 1rem;
  font-size: 210%;
  margin-left: auto;
  margin-right: 4%;
}
.personalize .option[data-key='menu_compact_mode'][data-value='extended']::after,
.personalize .option[data-key='menu_compact_mode'][data-value='']::after,
.personalize .option[data-key='paragraph_compact_mode'][data-value='extended']::after,
.personalize .option[data-key='paragraph_compact_mode'][data-value='']::after {
  content: "\f5D6";
}
.personalize .option[data-key='menu_compact_mode'][data-value='unextended']::after,
.personalize .option[data-key='menu_compact_mode'][data-value='']::after,
.personalize .option[data-key='paragraph_compact_mode'][data-value='unextended']::after,
.personalize .option[data-key='paragraph_compact_mode'][data-value='']::after {
  content: "\f5D5";
}
.personalize button.save-preferences {
  color: black;
  background-color: #DBDBDB;
  margin-bottom: 0;
}
.paginazione {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}
.paginazione-options a i, .paginazione-options a:hover i,
.paginazione-options a:visited i, .paginazione-options a:active i,
.paginazione-options a:link i {
  color: black;
}

repeater-list {
  display: flex;
  flex-flow: column nowrap;
  gap: .5rem;
}
.repeater-grip {
  pointer-events: none;
  opacity: .5;
}
.repeater-header {
  display: flex;
  justify-content: flex-start;
}
.repeater-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: .5rem;
}
.repeater-item > div:first-child {
  flex-grow: 1;
  margin-right: 1rem;
}
.repeater-item {
  display: flex;
  flex-flow: nowrap;
  justify-content: space-between;
  align-items: center;
  transition: all .3s;
}
.repeater-item.dragged {
  opacity: .3;
}
.repeater-item.drag-over {
  margin-bottom: 1rem;
}
.repeater-item.drag-over::last-child {
  margin-bottom: 0;
}
.repeater-move-buttons {
  display: inline-flex;
  flex-flow: column nowrap;
}
.repeater-move-buttons > .btn.btn-icon {
  padding-top: 0;
  padding-bottom: 0;
  height: 16px;
}
.repeater-move-buttons > .btn.btn-icon::before {
  width: 24px;
  height: 16px;
  line-height: 16px;
}

#modal_helper {
  max-width: 600px;
}

select-card:not([data-small]) {
  display: block;
  min-width: 20rem;
}
select.small + .select2-container--default .select2-selection--single {
  padding: .3rem 1.5rem .3rem .5rem;
  min-height: auto;
}

input-text {
  width: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  flex-flow: row nowrap;
  border: 2px solid #ECEFF1;
  background-color: white;
  border-radius: 3px;
  box-sizing: border-box;
  transition: .3s box-shadow;
}
input-text > input {
  border: 0 !important;
  background-color: transparent !important;
}
input-text:hover,
input-text:active {
  box-shadow: 0 0 0px 5px whitesmoke;
}

input-search {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row nowrap;
  border: 2px solid #ECEFF1;
  background-color: white;
  border-radius: 3px;
  box-sizing: border-box;
}
input-search > input {
  border: 0 !important;
  background-color: transparent !important;
}

#MenuH > ol {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
  gap: 1rem;
}
#MenuH a {
  color: black;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: 16px;
}
#MenuH > ol > li {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}


#nav_search {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: .3rem;
}
#nav_search input {
  width: 12rem;
}
#nav_card {
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: .3rem;
}
#nav_card input {
  width: 6rem;
}


.form label > span {
  margin-bottom: .5rem;
  display: block;
  color: dimgray;
  margin-left: .2rem;
}

.container-md {
  width: 60vw;
  max-width: 800px;
}
.container-sm {
  width: 30vw;
  max-width: 500px;
}
@media (max-width: 1024px) {

  .container-md {
    width: 80vw;
  }
  .wrapper-md {
    width: 80%;
  }
  .container-sm {
    width: 40vw;
  }
}
@media (max-width: 768px) {

  .container-md {
    width: 80vw;
  }
  .wrapper-md {
    width: 80%;
  }
  .container-sm {
    width: 60vw;
  }
}
@media (max-width: 425px) {

  .container-md {
    width: 90vw;
  }
  .wrapper-md {
    width: 90%;
  }
  .container-sm {
    width: 90vw;
  }
}

.background-info {
  background-color: whitesmoke;
}

.header {
  font-size: 13px;
  display: flex;
  flex-flow: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 1rem 0;
  position: sticky;
  top: 0;
  background-color: white;
  padding: .5rem;
}

.pagination {
  font-size: 13px;
  display: flex;
  flex-flow: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin: 1rem 0;
  position: sticky;
  bottom: 0;
  background-color: white;
  padding: .5rem;
}
.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-flow: nowrap;
  align-items: center;
  justify-content: center;
}
.pagination li {

}
.pagination li > span,
.pagination li > a:link {
  padding: .3rem .5rem;
  color: dimgray;
  text-decoration: none;
  line-height: 0;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all .3s;
}
.pagination > a:link:hover {
  border: 2px solid lightgray;
}
.pagination input#edit-name {
  width: 15em;
}

.label-mark {
  white-space: nowrap;
}


#samira_user {
  background-color: black;
  color: white;
}
#samira_user * {
  color: white;
}
#samira_user *:before {
  color: white;
}

.card {
  padding: .3rem .5rem;
  background-color: white;
  border-radius: 5px;
  box-shadow: 3px 3px 10px -5px lightgray;
  border: 2px solid #eceff1;

  &.large {
    padding: .6rem 1rem;
    border: 2px solid lightgray;
  }
}
.card.clear .select2-container--default .select2-selection--single {
  border: 2px solid transparent;
}

.card.card-menu {
  border: 2px solid whitesmoke;
  margin: .5rem;
  padding: 0;
}
.card.card-menu h3 {
  background-color: black;
  padding: .5rem .8rem;
  color: white;
  font-size: 12px;
  font-weight: normal;
  border-radius: 3px 3px 0 0;
  margin: 0;
}
.card.card-menu h3 + * {
  padding: .5rem;
}

.table-row-actions {
  display: inline-block;
  margin-left: auto;
}


table.samira-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid lightgray;
}
table.samira-table th,
table.samira-table td {
  padding: .3rem .5rem;
  border-bottom: 1px solid lightgray;
  transition: background-color .3s;
}
table.samira-table th {
  text-align: left;
  background-color: black;
  color: white;
  border: 1px solid black;
}
table.samira-table th * {
  color: white;
}
table.samira-table tr:hover td {
  background-color: whitesmoke;
}
table.samira-table .actions {
  opacity: 0;
  transition: opacity .3s;
}
table.samira-table tr:hover .actions {
  opacity: 1;
}

.input-group {
  border: 2px solid #ECEFF1;
  border-radius: 3px;
  background-color: white;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.input-group input {
  border: none;
  padding: .3rem;
  text-align: right;
  appearance: textfield;
}


.tooltip-image-preview {
  max-width: 600px;
  max-height: 600px;
}
.tooltip-image-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sticky {
  position: sticky;
  top: 0;
}
.sticky-aside {
  overflow: auto;
  max-height: 100vh;
}
.sticky-aside-right {
  padding-left: .3rem;
}
.sticky-aside-left {
  padding-right: .3rem;
}

.card-details {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 100vh;
}
.card-details > div {
  flex: 1;
}
.card-details > aside {
  flex-basis: 15%;
}
.card-details > aside .sticky {
  margin-left: 1rem;
  max-height: 100vh;
}
.card-details > aside h3 {
  margin: 0;
  margin-bottom: 1rem;
}
.card-details > aside ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.card-details > aside ul > li > a {
  display: flex;
  align-items: start;
  gap: .5rem;
  border-bottom: 1px solid whitesmoke;
  padding: .2rem;
  font-size: .9em;
  cursor: default;
}
.card-details > aside .menu > a {
  line-height: 1.5em;
}

.card-details > aside ul > li span.comment {
  border-left: 1px solid lightgray;
  padding-left: .5rem;
}
.card-details > aside ul > li span.mark {
  flex: 0 0 1.3rem;
}
.card-details > aside ul > li:hover {
  background-color: whitesmoke;
}
.card-details > aside .menu {
  display: flex;
  flex-flow: column;
  gap: .2rem;
}
.card-details > aside .menu > a {
  padding: 0;
  color: #3E3E3E;
}

.popup-files-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.popup-files-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  background-color: whitesmoke;
  border-radius: 3px;
  margin-bottom: .3rem;
}
.popup-files-list li label {
  padding: .5rem;
}
.popup-files-list img {
  max-height: 5rem;
  width: auto;
  object-fit: contain;
}

.card-table {
  border-collapse: collapse;
  border: 1px solid lightgray;
}
.card-table thead {
  font-size: .9em;
  background-color: black;
  color: white;
  border: 1px solid black;
  position: sticky;
  top: -2rem;
}
.card-table tr:hover {
  background-color: whitesmoke;
}
.card-table th {
  font-weight: normal;
  text-align: left;
  padding: .3rem .6rem;
  white-space: nowrap;
  user-select: none;
}
.card-table td {
  text-align: left;
  padding: .3rem .6rem;
  line-height: normal;
  user-select: none;
  border-bottom: 1px solid lightgray;
}
.card-table td[data-type="ID"] {
  text-align: center;
}
.card-table td[data-type='IMAGE'] {
  padding: .2rem;
}
.card-table td[data-type='IMAGE'] img {
  height: 5rem;
  width: 100%;
  object-fit: contain;
  vertical-align: top;
}

table .field td {
  padding-top: 0.8rem;
  vertical-align: top;
}
.paragrafo.paragraphlabel td,
.subparagraphlabel td {
  padding: .8rem;
  background-color: whitesmoke;
}
.subparagraphlabel td div,
.paragrafo.paragraphlabel td div {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: bold;
  font-size: 1em;
}


#multiForm .field-value select-mark {
  display: inline-block;
  min-width: 15rem;
  width: 100%;
}
#multiForm .field-value input[type="text"] {
  min-width: 20rem;
  width: 100%;
}


.select2-container--default .select2-selection--multiple {
  border: 2px solid #ECEFF1;
  outline: 0;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 2px solid gray;
  outline: 0;
}
.select2-container--default .select2-selection--multiple:hover,
.select2-container--default .select2-selection--multiple:focus {
  border: 2px solid gray;
}

#modal_map {
  padding: 0;
  width: calc(100vw - 4rem);
  height: calc(100vh - 4rem);
}

.field-map.field-map-g3w {
  height: 20rem;
}

select-term.voc {
  position: relative;
}
select-term.voc .btn-icon::after {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: white;
  padding: 0 2px;
  border-radius: 5px;
  border: 1px solid lightgray;
  font-size: .6rem;
  pointer-events: none;
}
select-term.voc.voc-open .btn-icon::after {
  content: "VA";
}
select-term.voc.voc-close .btn-icon::after {
  content: "VC";
}













details.paragraph .mark,
div.subparagraph-view .subparagraph span.mark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .4rem .4rem .4rem .6rem;
  margin-right: 1rem;
  width: 6rem;
  border-radius: 3px;
  letter-spacing: 1px;
  font-weight: 600;
}
div.subparagraph-view .subparagraph span.mark {
  margin: 0 1rem;
}
details.paragraph, div.subparagraph-view .summary-show-inner {
  margin-bottom: 1rem;
  border: 2px solid #e3e3e3;
  border-radius: 5px;
  margin-top: 1rem;
  box-shadow: 3px 3px 10px -5px lightgray;
  overflow: hidden;
}
div.subparagraph-view .summary-show-inner div.subparagraph {
  border-left:0 ;
  margin-top: 0;
}
details.paragraph:first-of-type, div.subparagraph-view:first-of-type {
  margin-top: 1rem;
}
details.paragraph:last-of-type, div.subparagraph-view:last-of-type {
  margin-bottom: 0;
}
details.paragraph > summary, div.subparagraph-view div.subparagraph {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: .1rem .3rem;
  background-color: #e3e3e3;
  border-bottom: 2px solid #e3e3e3;
}
details.paragraph > summary::before {
  content: "\F4FE";
  font-family: "bootstrap-icons";
  margin-left: 0;
  font-size: 150%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
details[open].paragraph > summary::before {
  content: "\F2EA";
}
details.paragraph > summary > span.mark,
div.subparagraph-view div.subparagraph > .Kcol1 > span.mark  {
  background-color: dimgray;
  color: white;
}
details.paragraph > summary > span.mark.samira-helper::after {
  color: white;
}
details.paragraph > summary > h3 {
  margin: 0;
  flex: 1;
}
details.paragraph .padminbuttons {
  display: flex;
  flex-flow: row nowrap;
  margin: 0;
}
details.paragraph .padminbuttons > * {
  margin: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
}
div.paragraph-content {
  margin: .5rem 0 .6rem 0;
}
div.paragraph-content:first-child {
  padding-top: 0;
}
div.subparagraph {
  display: flex;
  align-items: center;
  padding: .3rem .3rem .3rem 1.5rem;
  background-color: #ededed;
  margin-top: .5rem;
  border-left: .5rem solid white;
}
div.subparagraph > .Kcol1 {
  flex-basis: 6rem;
}
div.subparagraph > .Kcol1 > span.mark {
  background-color: #d9d9d9;
  color: black;
}
div.subparagraph > .Kcol2 {
  flex: 1;
  min-width: 20em;
}
div.subparagraph > .coladmin {
  flex: 0;
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
}
.subparagraph-view .coladmin > .btn-group.sort-input {
  flex-basis: 10em;
  /*
  padding-left: 1.5em;
  box-sizing: border-box;
  */
}

div.paragraph-content .field.subfield {
  border-left: .5rem solid white;
  display: flex;
  align-items: center;
  padding: .2rem .5rem .2rem 1.5rem;
  background-color: whitesmoke;
}
div.paragraph-content .field.subfield > .mark {
  flex-basis: 6rem;
  padding: .4rem .4rem .4rem .6rem;
  margin-right: 1rem;
}
div.paragraph-content .field.subfield > .comment {
  flex-basis: 30%;
  min-width: 10em;
  max-width: 20em;
}
div.paragraph-content .field.subfield > .value  {
  flex: 1;
}
div.field-content,
div.subparagraph-view div.subfield {
  display: flex;
  align-items: center;
  padding: .2rem .5rem .2rem 2rem;
}
div.subparagraph-view div.subfield {
  padding-left: 1.3rem;
}
div.field-content > .mark,
div.subparagraph-view div.subfield > .mark {
  flex-basis: 6rem;
  padding: .4rem .4rem .4rem .6rem;
  margin-right: 1rem;
}
div.field-content > .comment,
div.subparagraph-view div.subfield > .comment{
  flex-basis: 30%;
  min-width: 10em;
  max-width: 20em;
}
div.field-content > .value,
div.subparagraph-view div.subfield > .value {
  flex: 1;
}
.subparagraph-view details.paragraph, div.subparagraph-view .summary-show-inner {
  margin-top: 0;
}

details.paragraph .sort-input {
  margin-left: auto;
}
details.paragraph .sort-input input {
  max-width: 6rem;
}

@media (max-width: 360px) {

  div.field-content.field .mark,
  div.subfield.field .mark {
    display: none;
  }
  div.field-content.field > .description,
  div.subfield.field > .description {
    flex-basis: 20%;
    min-width: 5em;
  }
}

.container {

  max-width: 60vw;


  @media (max-width: 1024px) {

    & {
      max-width: 80vw;
    }
  }
  @media (max-width: 768px) {

    & {
      max-width: 100vw;
    }
  }
}
.container.small {

  max-width: 40vw;


  @media (max-width: 1024px) {

    & {
      max-width: 60vw;
    }
  }
  @media (max-width: 768px) {

    & {
      max-width: 80vw;
    }
  }
  @media (max-width: 425px) {

    & {
      max-width: 100vw;
    }
  }
}


.card-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: stretch;
  margin: 1rem 0;

  > div {
    display: flex;
    flex-flow: column;
    gap: 1rem;
  }
  .card-status,
  .card-signature,
  .card-property {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 1rem;
  }
  .card-status > div:first-child,
  .card-signature > div:first-child,
  .card-property > div:first-child {
    min-width: 5rem;
  }
  .card-status span {
    font-weight: bold;
    text-transform: uppercase;
  }
  .card-property a {
    padding: 0;
  }
}

.formatted.dark {
  padding: 1rem;
  background-color: dimgray;
  color: white;
  border-radius: 5px;
  margin: .5rem 0;
  white-space: break-spaces;
}

.samira-table {

  thead th {
    color: black;
    border-top: 1px solid black !important;
    border-bottom: 1px solid black !important;
  }

  .samira-table-paging {

    > span {
      display: inline-flex;
      flex-flow: row nowrap;
      align-items: center;
      gap: .3rem;
    }
    .paginate_button {
      padding: .4rem .6rem;
      display: inline-block;
      border-radius: 3px;
      border: none;
      cursor: pointer;
      color: black;
    }
    .paginate_button.disabled {
      visibility: hidden !important;
    }
    .paginate_button:hover {
      background-color: whitesmoke;
    }
    .paginate_button.current {
      background-color: dimgray;
      color: white;
    }
    .paginate_button.current:hover {
    }
  }
}

input-toggle {
  cursor: pointer;
  display: inline-block;

  &::after {
    display: inline-block;
    font-family: "bootstrap-icons";
    content: "\f5D5";
    font-size: 26px;
    color: dimgray;
    transition: .3s all;
  }
  &:hover::after {
    color: black;
  }
  &.checked::after {
    content: "\f5D6";
    color: green;
  }
}
