/*
  * Copyright Gordon Wenk
  * Sulzbacher Straße 39 - 65760 Eschborn
  * phone (06196) 9676760 - E-Mail info@itconsult24.de
  * http://www.itconsult24.de
  *
  * Diese Datei ist urheberrechtlich geschützt und Gedankengut von Gordon Wenk. Sie ist Bestandteil
  * des Content Management Systems "activity" das ebenfalls von Gordon Wenk entwickelt wurde. 
  *
  * Kein unerlaubter Verleih, Verkauf oder andere Arten der Veräußerungen!
  * Verwendung nur zum Zweck der Anwendung zu der diese Datei vom Urheber in
  * Projekte eingebunden wurde!
  * Mit Herausgabe bzw. Einbindung in andere Projekte durch den Urheber,
  * werden ausschließlich Nutzungsrechte übertragen.
  * Dieser Urheberrechtsvermerk darf nicht verändert oder entfernt werden.
*/

:root
{

  --contract-text-title: navy;
  --contract-background: #F8F8F8;
  --contract-border: #D8D8D8;
  --contract-shadow: rgba(0,0,0,0.3);
  --contract-text: silver;
  --contract-caption-text: white;
  --contract-caption-shadow: black;
    
  --prj-background: #F8F8F8;
  --prj-border: silver;
  --prj-shadow: rgba(0,0,0,0.3);
  --prj-text: silver;
  --prj-caption-text: white;
  --prj-caption-shadow: black;
  --prj-workframe: white;
  
  --module-item-add-text: white;

  --sel-files-border: #E0E0E0;
  --sel-files-text: #808080;
  --sel-files-text-hover: #303030;
  --sel-files-background: #FFFFFF;
  --sel-files-background-hover: #808080;

  --sel-file-item-background: #E0E0E0;
  --sel-file-item-background-hover: #E0E0E0;
  --sel-file-item-text: #808080;

  --wc-button-background: #a3195b;
  --wc-button-background-hover: #b3397b;
  --wc-input-selector-background: #a3195b;
}


body
{
  color: var(--text);
  font-family: 'Mira Sans', 'Lucida Sans Unicode', 'Lucida Grande', 'Helvetica', sans-serif;
  font-size: var(--basic-font-size);  /* 14px; */
  padding: 0px;
  margin: 0px;
  user-select: none;
}

#debugging
{
  position: fixed;
  overflow: auto;
  left: calc(100% - 420px);
  top: calc(100% - 370px);
  width: 400px;
  height: 350px;
  border: 1px solid #C0C0C0;
  font-size: 12px;
  line-height: 1.1;
  color: #808080;
}

input, textarea, button 
{ 
    font-family: inherit; 
    line-height: inherit;
    font-size: inherit;
}

h1, t1 {font-weight: bold; margin-bottom: 10px; padding: 0px; font-size: 2em; color: var(--text-h1); }
h2, t2 {font-weight: bold; margin-bottom: 10px; padding: 0px; font-size: 1.5em; color: var(--text-h2); }
h3, t3 {font-weight: 500; margin-bottom: 10px; padding: 0px; font-size: 1.2em; color: var(--text-h3); }
h4, t4 {font-weight: bold; font-size: 1em; margin-bottom: 0px; padding: 0px; color: var(--text-h4); }
h5, t5 {font-weight: bold; margin-bottom: 0px; padding: 0px; font-size: 0.9em; color: var(--text-h5); }

h1-top { margin-top: 0px; }

t1, t2, t3, t4, t5 {padding: 0px; margin: 0px;}

hr { height: 1px; border: 0px solid transparent; border-bottom: 1px solid var(--form-line); }


#screenBlocker
{
  /* position: absolute; */
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  /* background-color: var(--background);
  opacity: 0.8; */

  background-color: black;
  opacity: 0.5;
}

.dlgBorder
{
  position: absolute;
  /* border: 2px solid red; */
  /* background: #F0F0F0; */
  /* left: 100px; */
  top: 100px; 
  width: 100%;
  min-height: 200px;

  /* Standardeinstellungen  */
  min-width: 360px;
  max-width: 900px;
  min-height: 300px;
  /* max-height: 95%;  */

  border-radius: 4px;
  box-shadow: 0 1px 5px 1px rgba(0,0,0,0.3);

  display: none;
  /* z-index: 99999; */
}

.dlgBorder-Fit
{
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: none;
}

.dlgFrame
{
  width: 100%;
  height: 100%;
  margin: 0px;
  margin-top: 0px;
  border-radius: 4px;
  /* resize: both; */
  background-color: yellow;
}
@media screen and (max-width: 700px) 
{
  .dlgFrame
  {
    border-radius: 0px;
  }
}

.clickButton
{
  float: left;

  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-right: 20px;
  border-radius: 4px;
  background-color: #E0E0E0;
  cursor: pointer;
}

.clickButton:hover
{
  background-color: #F8F8F8;
}

.bodyarea_frames_form_inner
{
  padding: 20px;
}

/*  -----------------------------------------------------------------------------  */

.selbtn-files
{
  float: right; 
  padding: 0px; 
  padding-left: 12px; 
  padding-right: 12px; 
  border-radius: 4px; 
  cursor: pointer;
  /* text-align: center; */
  line-height: 32px;
  height: 30px;
  color: var(--sel-files-text);
  border: 1px solid var(--sel-files-border);
  background-color: var(--sel-files-background);
  font-size: 0.9em;
}
.selbtn-files:hover
{
  background-color: var(--sel-files-background-hover);
  color: var(--sel-files-text-hover);
}

.selbtn-files-droparea
{
  float: right;
  padding: 0px; 
  /* padding-top: 50px; */
  border-radius: 0px; 
  cursor: pointer;
  text-align: center;
  width: 180px;
  height: 170px;
  border: 1px solid var(--sel-files-border);
  /* font-size: 0.7em; */
  background-color: var(--sel-files-background);
  color: var(--sel-files-text);
  /* display: none; */
}

.selbtn-files-list
{
  float: left;
  padding: 0px; 
  padding-left: 0px; 
  padding-right: 8px; 
  border-radius: 0px; 
  width: calc(100% - 206px);
  height: 170px;
  border: 1px solid var(--sel-files-border);
  /* background-color: white; */
  /* display: none; */
  margin-bottom: 8px;
  overflow-y: auto;
  overflow-x: hidden;
}
.selbtn-files-list-readonly
{
  width: calc(100% - 10px);
}

.selbtn-files-list-item
{
  box-sizing: border-box;
  position: relative;
  float: left;
  width: 140px;
  height: 145px;
  border: 2px solid rgba(0,0,0,0);
  margin: 5px;
  cursor: pointer;
}
.selbtn-files-list-item:hover
{
  border: 2px solid gray;
}

.selbtn-files-list-item-image
{
  box-sizing: border-box;
  display: none;
  /* position: relative; */
  float: left; 
  width: 136px; 
  height: 120px; 
  /* border-top-left-radius: 4px; 
  border-top-right-radius: 4px;  */
  margin-bottom: 5px; 
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center center; 
  background-color: white;
}

.selbtn-files-list-item-frame
{
  display: none;
  float: left; 
  width: 140px; 
  height: 120px; 
  border: 1px solid blue;
  margin-bottom: 5px; 
  /*
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center center; 
  */
  /* background-color: yellow; */
}

.selbtn-files-list-item-remover
{
  float: left;
  position: absolute;
  right: 0px;
  top: 0px;
  width: 30px;
  height: 30px;
  cursor: pointer;

  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center center; 
  background-image: url('../images/icons/delete_wh.svg');
}
.selbtn-files-list-item-remover:hover
{
  background-image: url('../images/icons/delete_bk.svg');
}

.selbtn-files-list-item-filename
{
  font-size: 12px;
  text-align: center;
  max-width: 150px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0);
  margin-top: 0px;
  padding-top: 0px;
  line-height: 1em;
}

/*  -----------------------------------------------------------------------------  */

.ts_highlight
{
  text-decoration: underline;
  color: lightskyblue;
}

.ts_red
{
  color: red;
}

.ts_green
{
  color: green;
}