/*                      MAIN ELEMENTS
------------------------------------------------------------------------- */

body
{
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: white;
}

body.dark-mode {
  background-color: #1d1f1d;
}

div
{
  box-sizing: border-box;
}
div:focus {
  outline: 0;
}

#app-ui
{
  width:100%;
  height:100%;
  overflow: auto;
  position: absolute;
  background-color: #FFFFFF;
  -webkit-overflow-scrolling: touch;
}

#app-ui.dark-mode {
  background-color: #1d1f1d;
}

input[type=button]
{
  -webkit-appearance: button;
}

body > svg {
  display: none;
}

/*                      FRAMEWORK ELEMENTS
------------------------------------------------------------------------- */

/*                      WEBRTC COMPONENT (CHAT)
------------------------------------------------------------------------- */
.rtc-popup-default
{
  z-index: 1;
  width: 25%;
  min-width: 110px;
  position: absolute;
  display: none;
  top: 0;
  right: 0;
}

.rtc-popup-custom
{
  z-index: 1;
  min-width: 110px;
  position: absolute;
  width: 100%;
  display: none;
}

.rtc-popup-custom .dialog-int, .rtc-popup-default .dialog-int
{
  width: 100%;
}

.rtc-icon
{
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  display: -webkit-flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}

.rtc-icon-selected
{
  color: grey;
}

.rtc-controls-box
{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  color: #47aa4d;
}

.rtc-controls-box img
{
  width: 18px;
  height: 18px;
}

/*                      POPUP - DIALOG - MODAL
------------------------------------------------------------------------- */

.dialog-ext
{
  display: flex;
  display: -webkit-flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  pointer-events: none;
}

.dialog-ext-modal
{
  display: flex;
  display: -webkit-flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: rgba(170, 170, 170, 0.5);
  z-index: 999;
}

.dialog-int
{
  margin: auto;
  pointer-events: auto;
}

.whisker-ext
{
  border-style: solid;
  border-color: transparent;
  width: 0;
  position: absolute;

}

.whisker-int
{
  border-style: solid;
  border-color: transparent;
  width: 0;
  position: absolute;
}


/*                      ERROR DIALOG POPUP
------------------------------------------------------------------------- */

.element-invalid
{
  border-color: red;
}

.error-popup
{
  display: flex;
  display: -webkit-flex;
  border-color: #bababa;
  border-radius: 2px;
  box-shadow: 1px 1px 8px #bababa;
  background-color: #fbfbfb;
  padding: 5px;
}

.error-popup + .whisker-ext
{
  border-bottom-color: #bababa;
}

.error-popup + .whisker-ext + .whisker-int
{
  z-index: 3;
}

/*                      POPUP LIST
------------------------------------------------------------------------- */

.menu-list
{
  overflow-y: auto;
  overflow-x: hidden;
}

.menu-item
{
  min-height: 24px;
  padding: 4px;
  font-family: sans-serif;
  cursor: pointer;
  border-bottom: 1px solid lightgray;
  width: 100%;
  display: flex;
  display: -webkit-flex;
}

.menu-item:hover
{
  background-color:lightgray;
}

.menu-item-right
{
  flex: 1;
  -webkit-flex: 1;
  align-self: center;
  -webkit-align-self: center;
}

.menu-item-detail
{
  font-size: 10px;
  color: #A0A0A0;
}

.menu-item-name
{
  font-size: 12px;
  white-space: nowrap;
}

.menu-item-svg, .menu-item-cls, .menu-item-img
{
  width: 18px;
  height: 18px;
  padding-right: 2px;
}

/*                      SELECT
------------------------------------------------------------------------- */

.element-autocomplete-container
{
  display: flex;
  font-family: sans-serif;
  border: 1px solid lightgray;
  padding: 2px;
  font-size: 12px;
  width: 90px;
  height: 20px;
  flex-direction: row;
  background-color: white;
}

.element-autocomplete-disabled
{
  color: gray;
}

.element-autocomplete-caption
{
  width: 40px;
  flex-grow: 1;
  flex-shrink: 1;
  height: 100%;
  border: none;
  background-color: transparent;
}

.element-autocomplete-input
{
  width: 40px;
  flex-grow: 1;
  flex-shrink: 1;
  height: 100%;
  border: none;
  background-color: transparent;
  padding: 1px;
}

.element-autocomplete-input:focus
{
  outline: none;
}

.element-autocomplete-placeholder
{
  color: lightgray;
}

.element-autocomplete-icon, .element-autocomplete-righticon
{
  width: 18px;
  height: 18px;
  align-self:center;
  -webkit-align-self: center;
  padding-right: 2px;
  flex-grow: 0;
  flex-shrink: 0;
}

.element-autocomplete-attvalue
{
  background: rgb(231,237,247);
}

.element-autocomplete-attvalue:hover
{
  background-color: lightblue;
}

.element-autocomplete-dialog {
  background-color: white;
  max-height: 240px;
  border: 1px solid lightgray;
}

.element-autocomplete-value-hl {
  background-color: #d6d617;
}

.element-autocomplete-mobile-row {
  height: 40px;
}

/*                      LAYOUT
------------------------------------------------------------------------- */

.container-horizontal
{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
}

.container-horizontal > *
{
  flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
}

.container-vertical
{
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
}

.container-absolute > *
{
  position: absolute;
}

/*                      SPLITVIEW
------------------------------------------------------------------------- */

.splitview-backpanel
{
  width: 100%;
  height: 100%;
}

.splitview-leftpanel
{
  height:100%;
  position:absolute;
  border-right: 1px solid lightgray;
}

.splitview-rightpanel
{
  height:100%;
}

/*                      SWIPEMENU
------------------------------------------------------------------------- */

.swipe-menu-item
{
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  padding: 0 10px;
  cursor: pointer;
  align-items: center;
}

.swipe-menu
{
  position: absolute;
  display: flex;
  display: -webkit-flex;
  z-index: 0;
}

.swipe-menu-item-value
{
  margin: auto;
}

/*                      ALTCONTAINER
------------------------------------------------------------------------- */

.altcontainer-flip-container
{
  -webkit-perspective: 1000;
  perspective: 1000;
  transform-style: preserve-3d;
}

.altcontainer-swiping-page-container
{
  position: relative;
}

.altcontainer-swiping-page
{
  position: absolute;
  top: 0px;
  left: 0px;
}

.altcontainer-swipe-animation
{
  transition-timing-function: ease-out;
  transition-duration: 250ms;
  transition-property: transform;
  -webkit-transition-timing-function: ease-out;
  -webkit-transition-duration: 250ms;
  -webkit-transition-property: transform;
}

.altcontainer-parallax-page
{
  box-shadow: -2px 0px 8px rgba(0, 0, 0, 0.4);
}

/*                      RIPPLE ANIMATION
------------------------------------------------------------------------- */

.animation-ripple-container
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/*                      LIST REORDER
------------------------------------------------------------------------- */

.listhandle
{
  cursor: pointer;
  fill: currentColor;
  width: 40px;
  height: 40px;
}
.listhandle:focus {
  outline: invert none medium;
}


/*                      CANVAS GAUGE
------------------------------------------------------------------------- */

.canvasgauge
{
  position:relative;
  overflow:hidden;
}
.canvasgauge canvas
{
  position:absolute;
  top:0;
  left:0;
}

/*                      INDEX SCROLLBAR
------------------------------------------------------------------------- */

.index-scrollbar
{
  -webkit-user-select: none;
  display: flex;
  display: -webkit-flex;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

/*                      CONTAINER - MORE ROW - SCROLLER
------------------------------------------------------------------------- */

.more-rows
{
  width: 100%;
  height: 60px;
  color: black;
  text-align: center;
  font-size: 20px;
  font-weight:bold;
}

.more-rows::after
{
  content: "...";
}

.window-scroller
{
  position: absolute;
  top: 0;
  z-index:-1000;
  pointer-events: none;
  width: 1px;
  background: transparent;
}

/*                      SCROLLCONTAINER
------------------------------------------------------------------------- */

.pulltemplate
{
  position:absolute;
  top: 0px;
  transition: transform 500ms;
  transition-timing-function: ease;
  transform: translate3d(0px, -100%, 0px);
}

.pulltemplate.visible
{
  transform: translate3d(0px, 0px, 0px);
}

/*                      OFFLINE
------------------------------------------------------------------------- */

.app-offline-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(57, 64, 58, 0.9);
  z-index: 3000;
  opacity: 0;
  -webkit-transition: opacity 0.4s cubic-bezier(0.5, 0, 0.5, 1);
  -moz-transition: opacity 0.4s cubic-bezier(0.5, 0, 0.5, 1);
  -o-transition: opacity 0.4s cubic-bezier(0.5, 0, 0.5, 1);
  transition: opacity 0.4s cubic-bezier(0.5, 0, 0.5, 1);
}
.app-offline-screen.visible {
  opacity: 1;
}

.app-screencover-content {
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
  width: 300px;
  height: 350px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
}
.app-screencover-content .screencover-icon {
  width: 160px;
  height: 160px;
  fill: #999999;
}
.app-screencover-content h1 {
  font-size: 2em;
  line-height: 2em;
  margin: 0px;
  color: #FFFFFF;
}
.app-screencover-content h2 {
  font-size: 1.5em;
  line-height: 1.5em;
  margin: 0px;
  font-weight: 400;
  color: #999999;
}

/*                      PREVIEW EDITING
------------------------------------------------------------------------- */

.editing {
}

.hilightClass
{
  outline: 2px dotted red !important;
  outline-offset: -2px !important;
  mix-blend-mode: normal !important;
}
body[style*="zoom: 50%"] .hilightClass {
  outline: 4px dotted red !important;
  outline-offset: -4px !important;
}

.element-hidden-highlighted
{
  outline: 2px dotted #717171 !important;
  outline-offset: -2px !important;
  mix-blend-mode: normal !important;
}
body[style*="zoom: 50%"] .element-hidden-highlighted {
  outline: 4px dotted #717171 !important;
  outline-offset: -4px !important;
}

.drop-left {
  border-left: 2px solid #37B349;
}
.drop-top {
  border-top: 2px solid #37B349;
}
.drop-right {
  border-right: 2px solid #37B349;
}
.drop-bottom {
  border-bottom: 2px solid #37B349;
}
.drop-over {
  border: 2px solid #37B349;
}
.overHilight {
  box-shadow: 3px 3px 5px #888888;
  opacity: 0.9;
}


.rectSelection
{
  border: 2px dotted #37B349;
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
}


body[style*="zoom: 25%"] .rectSelection {
  border: 4px dotted #37B349;
}
body[style*="zoom: 50%"] .rectSelection {
  border: 4px dotted #37B349;
}
body[style*="zoom: 75%"] .rectSelection {
  border: 4px dotted #37B349;
}
body[style*="zoom: 100%"] .rectSelection {
  border: 2px dotted #37B349;
}
body[style*="zoom: 125%"] .rectSelection {
  border: 2px dotted #37B349;
}
body[style*="zoom: 150%"] .rectSelection {
  border: 1px dotted #37B349;
}
body[style*="zoom: 175%"] .rectSelection {
  border: 1px dotted #37B349;
}
body[style*="zoom: 200%"] .rectSelection {
  border: 1px dotted #37B349;
}


.editing #app-ui::-webkit-scrollbar{
  width:10px;
  height:10px;
}
.editing #app-ui::-webkit-scrollbar-track{
  background-color:rgba(0,0,0,0.0);
}
.editing #app-ui::-webkit-scrollbar-track:hover{
  background-color:rgba(0,0,0,0.05);
}
.editing #app-ui::-webkit-scrollbar-thumb{
  background-color:#7EDB7E;
}
.editing #app-ui::-webkit-scrollbar-thumb:hover{
  background-color:#15A515;
}

.editing #app-ui
{
  user-select: none;
  -webkit-user-select: none;
}

.emptycontainer
{
  min-width: 30px;
  min-height: 15px;
  border: 1px dashed gray;
  mix-blend-mode: difference;
}

span.emptycontainer
{
  display: inline-block;
}

img.emptycontainer
{
  width: 50px;
  height: 50px;
}

/*                      PREVIEW EDITOR COMMON CLASSES
------------------------------------------------------------------------- */

#widget-editor-overlay
{
  text-align: center;
  white-space: nowrap;
  display:block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

#widget-editor
{
  width: 80%;
  height: 85%;
  display: inline-block;
  margin: 20px auto;
  padding: 20px;
  text-align: left;
  white-space: normal;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
  border-radius: 3px;
  position: relative;
  /* vertical-align: middle; */
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
  overflow: hidden;
}

#widget-editor-title
{
  font-weight: 200;
  padding-bottom: 1em;
  font-size: 1.4em;
  margin: 20px 0;
  padding: 0;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

#widget-editor-help
{
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
  font-size: 10pt;
  font-style: italic;
  text-align: center;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  float: right;
  margin-top: 2px;
  padding: 3px 5px 3px 3px;
  border: solid 1px #CCCCCC;
  background-color: whitesmoke;
  cursor: pointer;
}

#widget-editor-buttons
{
  height: 40px;
  margin: 20px 20px 0 20px;
  position: relative;
  clear: both;
}

#confirm-btn-div
{
  position: absolute;
  top: 0;
  right: 0;
}

#confirm-button
{
  float: right;
  padding: 0px 20px;
  min-width: 120px;
  text-align: center;
  background-color: #37B349;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  cursor: pointer;
  border:none;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-appearance: button;
  text-transform: none;
  color: white;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

#cancel-btn-div
{
  position: absolute;
  top: 0;
  left: 0;
}

#cancel-button
{
  float: left;
  padding: 0 20px;
  min-width: 120px;
  text-align: center;
  background-color: #9DA69F;
  color: white;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  border: none;
  outline: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-appearance: button;
  text-transform: none;
  cursor: pointer;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

#widget-editor-tabbar
{
  display: inline-flex;
  display: -webkit-inline-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  margin-left: 1px;
  margin-top: -2px;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

#widget-options-container
{
  overflow: auto;
  border-top: solid 1px #CCCCCC;
  padding: 5px;
  margin-top: -1px;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

.widget-section-groupHeader
{
  width: 100%;
  font-weight: bold;
  margin-bottom: 5px;
}

.widget-next-section-groupHeader
{
  margin-top: 20px;
  padding-top: 10px;
  border-top: solid 1px #CCCCCC;
}

#widget-property-container
{
  width: 100%;
  display: flex;
  display: -webkit-flex;
  font-size: 10pt;
  margin: 5px 0px 5px 0px;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

#widget-property-label
{
  width: 40%;
  padding: 4px 0px;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
  margin-top: 10px;
}

.widget-color-label
{
  display: block;
  width: calc(25% - 42px);
  height: 25px;
  margin-right: 10px;
  margin-top: 13px;
  border: solid 1px #CCCCCC;
  border-radius: 80px 20px;
  cursor: pointer;
}

.widget-property-textvalue
{
  font-size: 10pt;
  display: block;
  width: 35%;
  height: 18px;
  border: solid 1px #CCCCCC;
  padding: 1px 4px;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

.widget-input-field
{
  font-size: 10pt;
  width: 60%;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
}

.widget-checkbox
{
  margin-left: calc(50% - 10px);
}

.widget-text
{
  width: calc(60% - 30px);
}

/*                      CALENDAR CONFIGURATOR COMPONENT
------------------------------------------------------------------------- */

.fullcalendar-subproperty-name
{
  display: inline-block;
  width: 30%;
}

.fullcalendar-subproperty-textvalue, .widget-text, .widget-property-textvalue
{
  height: 30px;
  padding: 0 10px;
  border: 1px solid #DDDDDD;
  border-radius: 3px;
  background-color: #FFFFFF;
  outline: none;
  color: #39403A;
  font-size: 0.9em;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-font-smoothing: subpixel-antialiased;
  line-height: normal;
  margin-top: 10px;
}

.fullcalendar-subproperty-textvalue, .widget-property-textvalue {
  min-width: 200px;
}

.fullcalendar-tab
{
  border: solid 1px #CCCCCC;
  background-color: whitesmoke;
  line-height: 1.5;
  text-align: center;
  font-size: 10pt;
  cursor: pointer;
  margin-top: -1px;
  margin-left: -1px;
  padding: 10px 10px;
}

/*                      COLORPICKER FOR CONFIGURATOR COMPONENT
------------------------------------------------------------------------- */

#widget-editor-colorpicker-overlay
{
  width: 100%;
  height: 100%;
  top: 0px;
  position: absolute;
  background-color: rgba(0,0,0,0);
}

#widget-editor-colorpicker-popup
{
  position: absolute;
  width: 430px;
  background-color: #FFFFFF;
  box-shadow: 0px 0px 5px black;
  border-radius: 5px;
  border-color: #CCCCCC;
}

#widget-editor-colorpicker-buttons
{
  width: 100%;
  text-align: center;
  padding: 0px 10px 10px 10px;
  font-family: Open Sans, sans-serif;
  font-size: 10pt;
}

#confirm-button-colorpicker, #cancel-button-colorpicker
{
  display: inline-block;
  width: 50%;
  padding: 14px 0px;
  cursor: pointer;
}

.widget-colorpicker
{
  font-family: Open Sans, sans-serif;
  font-size: 10pt;
  padding: 4px;
  border-radius: 5px;
  float: none !important;
}


/*                      CHARTJS
------------------------------------------------------------------------- */

.chartjs-container
{
  position:relative;
  width: 100%;
  height: 100%;
}

.chartjs-container canvas {
  margin:auto;
}


/*                      CHARTJS CONFIGURATOR COMPONENT
------------------------------------------------------------------------- */

.chartjs-textarea
{
  font-size: 10pt;
  font-family: Open Sans, sans-serif;
  width: 60%;
  height: 100px;
  border: solid 1px #CCCCCC;
}


.chartjs-tab
{
  padding: 6px 10px;
  border: solid 1px #CCCCCC;
  background-color: whitesmoke;
  line-height: 1.5;
  text-align: center;
  font-size: 10pt;
  cursor: pointer;
  margin-top: -1px;
  margin-left: -1px;
}


.chartjs-global-options-tab
{
  padding: 15px 10px 4px 10px;
}


.chartjs-type-tab
{
  padding-top: 4px;
  cursor: pointer;
}


.chartjs-dataset-tab
{
  margin-left: -1px;
  padding: 5px 10px 4px 10px;
}


.chartjs-dataset-title-tab
{
  font-style: italic;
  font-size: 8pt;
}

/*                      SHELL EMULATOR - CAMERA
------------------------------------------------------------------------- */

#getPicture-overlay
{
  overflow: hidden;
  z-index: 50000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 100%;
  display: -webkit-flex;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  max-height: 600px;
  max-width: 600px;
  margin: auto;
  border: 1px solid rgba(222,222,222,1);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

#video-container {
  height:100%;
  width: 100%;
}

#device-camera-video {
  height:100%;
  width: 100%;
  object-fit: cover;
}

#getPicture-container
{
  height: 100%;
  width:100%;
  background-color: #FFFFFF;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
}

#getPicture-buttons-cell
{
  display: flex;
  display: -webkit-flex;
  justify-content: space-around;
  -webkit-justify-content: space-around;
  padding: 5px;
  position:absolute;
  bottom:0;
  width:100%;
  background-color: white;
  padding-top: 5px;
  padding-right: 0px;
  padding-left: 0px;
}

#getPicture-confirm-button, #getPicture-cancel-button
{
  text-align: center;
  padding: 14px 0px;
  width: 48%;
  cursor: pointer;
}

#getPicture-confirm-button
{
  border: solid 1px #47aa4d;
  background-color: #47aa4d;
  color: #FFFFFF;
}

#getPicture-confirm-button:hover
{
  box-shadow: 0px 0px 3px #4d4d4d;
}

#getPicture-confirm-button:active
{
  box-shadow: 0px 0px 1px #4d4d4d;
  border: solid 1px #FFFFFF;
}

#getPicture-cancel-button
{
  border: solid 1px #d14836;
  background-color: #d14836;
  color: #FFFFFF;
}

#getPicture-cancel-button:hover
{
  box-shadow: 0px 0px 3px #4d4d4d;
}

#getPicture-cancel-button:active
{
  box-shadow: 0px 0px 1px #4d4d4d;
  border: solid 1px #FFFFFF;
}

#getPicture-flash
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: rgba(255,255,255,0.3);
}

#getPicture-dropzone {
  border:2px dotted blue;
  flex-grow: 1;
}


#fromLibrary-cancel-button {
  margin-top: 20px;
  box-shadow: 0px 0px 1px #4d4d4d;
  border: solid 1px #FFFFFF;
  width:200px;
  text-align: center;
  padding: 14px 0px;
  width: 48%;
  cursor: pointer;
  border: solid 1px #d14836;
  background-color: #d14836;
  color: #FFFFFF;
}


/*                      SHELL EMULATOR - BARCODE SCANNER
------------------------------------------------------------------------- */

.barcode-scanning-line {
  height: 5px;
  background-color: #d14836;
  animation : MoveUpDown 3s linear infinite;
  position: absolute;
  top: 50%;
}

.barcode-cancel-button {
  flex-grow: 1;
  margin-right: 5px;
  margin-left: 5px;
}

.barcode-shadow {
  position: absolute;
  opacity: 0.6;
  box-shadow: 10px 10px 10px 20000px #000000;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
}

@keyframes MoveUpDown {
  0%, 50%, 100% {
    top: calc(50% - 5px);
  }
  25% {
    top: calc(100% - 5px);
  }
  75% {
    top: 0%;
  }
}

/*                      SHELL EMULATOR - SOCIAL SHARING
------------------------------------------------------------------------- */

#socialSharing-overlay
{
  overflow: hidden;
  z-index: 50000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  height: 100%;
  display: -webkit-flex;
  justify-content: space-around;
  -webkit-justify-content: space-around;
}

#socialSharing-main-container
{
  background-color: #FFFFFF;
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  max-height: 600px;
  max-width: 600px;
  margin: auto;
  border: 1px solid rgba(222,222,222,1);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  padding:8px;
}

#socialSharing-main-container > h4
{
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 15px;
}

#socialSharing-items-container
{
  flex-basis: 80%;
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: center;
  justify-content: space-around;
}


.socialSharing-item {
  display: flex;
  display: -webkit-flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  align-items: center;
  padding:10px;
  width: 90px;
  height:40%;
  margin: 10px;
}

@media  (orientation: landscape) and (max-width:576px)  {
  .socialSharing-item {
    width: 20%;
    height: 100%;
  }
}


#socialSharing-btn-container
{
  flex-basis: 20%;
  flex-grow: 1;
  flex-shrink: 1;
  display: flex;
  display: -webkit-flex;
  flex-direction: row;
  -webkit-flex-direction: row;
  padding: 15px;
  align-items: flex-end;
}


#socialSharing-btn-cancel {
  text-transform: uppercase;
  color: #387ef5;
  cursor:pointer;
}


.socialSharing-svg
{
  cursor:pointer;
}


.socialSharing-svg-facebook
{
  fill: #306199;
}


.socialSharing-svg-facebook:hover
{
  fill: #18304b;
}


.socialSharing-svg-linkedin
{
  fill: #007bb6;
}


.socialSharing-svg-linkedin:hover
{
  fill: #003650;
}


.socialSharing-svg-twitter
{
  fill: #26c4f1;
}


.socialSharing-svg-twitter:hover
{
  fill: #0eaad6;
}


.socialSharing-svg-googleplus
{
  fill: #e93f2e;
}


.socialSharing-svg-googleplus:hover
{
  fill: #ce2616;
}

/*                      MARK AREAS
------------------------------------------------------------------------- */
.markablearea {
  border: 2px dotted #999999;
  mix-blend-mode: difference;
  cursor: pointer;
}
.markablearea:hover {
  background-color: rgba(153, 153, 153, 0.3);
}
.markablearea.mark-selected {
  mix-blend-mode: initial;
  border: 2px dotted #37B349;
  background-color: rgba(55, 179, 73, 0.3);
}
.markablearea.error {
  mix-blend-mode: initial;
  border: 2px dotted #E74C3C;
  background-color: rgba(231, 76, 60, 0.3);
}


/*                FEEDBACK
----------------------------------------------------------------------*/

.feedbackscreen {
  z-index: 10000000;
  position: fixed;
  top: 100%;
  opacity: 0.3;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

@media screen and (min-width: 900px) {
  .feedbackscreen {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.feedbackscreen.visible {
  top: 0;
  opacity: 1;
}

.feedbackform {
  width: 100%;
  max-width: 640px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  min-height: 90%;
  margin-top: 0;
}

@media screen and (min-width: 900px) {
  .feedbackform {
    padding: 0px 20px 10px 20px;
    text-align: left;
    white-space: normal;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    border-radius: 2px;
    position: relative;
    vertical-align: middle;
  }
}

.feedback-popup-small {
  min-height: 50px;
  height: auto;
}

.feedbackscreen h2 {
  text-align: center;
  color: white;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.feedbackscreen textarea {
  display: block;
  font-size: 1em;
  font-family: "Source Sans Pro", Helvetica, "Lucida Grande", Arial, sans-serif;
  border: none;
  padding: 0.5em;
  margin-bottom: 1em;
  resize: none;
  outline: none;
}

.feedbackscreen input[type="text"] {
  display: block;
  border: none;
  margin-bottom: 1em;
  resize: none;
  outline: none;
  height: 33px;
  font-size: 1em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.feedback-buttons, .feedback-checks {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: space-between;
}

.feedback-buttons button {
  height: 34px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  font-size: 0.9em;
}

.feedback-submit:disabled {
  background-color: #444;
  color: #999;
  cursor: default;
}

.feedback-submit {
  display: block;
  width: 100%;
  border: none;
  padding: 0.5em 0;
  margin-bottom: 1em;
  background-color: #37B349;
  color: white;
  outline: none;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  cursor: pointer;
  text-transform: uppercase;
  line-height: 1.1em;
}

.feedback-close {
  display: block;
  width: 100%;
  padding: 0.5em 0;
  text-transform: uppercase;
  border: none;
  background-color: grey;
  color: white;
  outline: none;
}

@media screen and (min-width: 454px) {
  .feedback-buttons button {
    width: calc(50% - 7.5px) !important;
  }
}

@media screen and (min-width: 454px) {
  .feedback-checks .row {
    width: calc(50% - 7.5px) !important;
  }
}

.feedback-popup-small .feedback-close{
  width: 100% !important;
}

.feedback-formrow {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  margin-bottom: 1em;
  width: 100%;
}

.feedback-formrow label {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  line-height: 30px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding-right: 5px;
  font-size: 0.9em;
  text-transform: uppercase;
  border: none;
  background-color: transparent;
  color: white;
  outline: none;
}

.feedback-formrow input,
.feedback-formrow select,
.feedback-formrow textarea {
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  font-size: 0.8em;
}

.feedback-formrow input,
.feedback-formrow select {
  height: 30px;
}

.feedback-positive {
  background-color: #37B349;
}

.screenshot-checkbox:after, .screenshot-checkbox:before {
  content: ' ';
  display: table;
}

.screenshot-checkbox input[type=checkbox] {
  display: none;
}

.screenshot-checkbox span {
  float: left;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border: 1px solid #ddd;
  outline: 0;
  color: #39403a;
  font-size: .9em;
  vertical-align: middle;
  cursor: pointer;
  background-size: auto;
  background-repeat: no-repeat;
  background-color: #fff;
  background-position: 50% 50%;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.screenshot-checkbox:after {
  clear: both;
}

.screenshot-checkbox.checked span {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.07%2011.197l-4.246-4.31L1%209.76l5.654%205.747%201.416%201.436%2010.9-11.07L16.14%203%208.07%2011.197%22%20fill%3D%22%2339403A%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
}

.feedbackform input {
  border: solid 1px transparent;
  -webkit-border-radius: 2px;
  border-radius: 2px;
}

.feedbackform textarea {
  border: solid 1px transparent;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  flex-grow: 1;
}

.ios-feedback-textarea {
  margin-left: 0px;
  margin-right: 0px;
}

.feedback-message-cnt {
  line-height: 30px;
  overflow: hidden;
  font-size: 1.2em;
  text-transform: uppercase;
  color: white;
  outline: none;
  margin: 0px auto;
  margin-top: 20px;
  text-align: center;
}

.feedback-message-cnt a {
  color: limegreen;
}

.feedback-invisible {
  display:none !important;
}

.feedback-transparent {
  background-color:transparent !important;
}

input[type="checkbox"] {
  width: 30px;
  cursor: pointer;
  background-size: auto;
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: 50% 50%;
  margin-right: 20px;
}

/* For tabbed view: enable click on tab and block click on the tabs content */
ion-tabs[data-widget="1"] * {
  pointer-events: none !important;
}
ion-tabs[data-widget="1"].widget-selected ion-tabbar {
  pointer-events: auto !important;
}
ion-tabs[data-widget="1"].widget-selected ion-tabbar * {
  pointer-events: auto !important;
}

.ui-color-picker {
  min-width: 10px;
  min-height: 10px;
}
