﻿/*
 * CET App Layout
 *
 * Desc.
 * Desc.
 * Desc.
 */

.grid-scale
{
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

.grid-scale-3d
{
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

#swiffycontainer
{
  width: 100%;
  direction: ltr !important;
  height: 100%;
}

.app-center-wrapper
{
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  position: absolute;
  top: 50%;
  left: 50%;
  display: none;
}

  .app-center-wrapper.grid-ready
  {
    display: block;
  }

.app-container
{
  position: relative;
  overflow: hidden;
  border: 5px solid #8ed8f8;
  border-radius: 5px;
  background-color: #8ed8f8;
}


.app-outer-wrapper
{
  background-color: white;
  /*-webkit-box-shadow: inset 0px 0px 0px 1px #ff0000;
box-shadow: inset 0px 0px 0px 1px #ff0000;*/
  border-radius: 5px;
}

.app-content
{
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom: solid 1px #005B9E;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}


.app-header,
.app-footer
{
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 9989;
}


img
{
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.app-header
{
  display: none;
}

.app-footer
{
  /*border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;*/
  /*border: 1px solid #B1B3B5;*/
  border-top-width: 0;
  z-index: 9969 !important;
  height: 50px;
  line-height: 50px;
  padding: 0 18px;
}

.app-title
{
  display: inline-block;
  margin: 0;
  margin: 5px 8px;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  border-radius: 16px;
  /*font-size: 1.2em;*/
  /*font-size: 14pt;*/
  font-size: 19px;
  line-height: 20px;
  cursor: default;
}

/*.app-content {
  position: relative;
  overflow: hidden;
  min-height: 150px;
}*/

/* ==========================================================================
   CET Help
   ========================================================================== */

.app-help-wrapper
{
  position: absolute;
  right: 0;
  left: 0;

  top: -2000px;
}

.app-help
{
  position: relative;
  z-index: 9979;
  padding: 0 4px;
  /*padding: 0 9px 31px;*/
  /*background-color: #cacaca;*/
  /*background-color: #d9d9e3;*/
}

.app-help-content
{
  overflow: hidden;
  padding: 0 16px;
  /*padding: 16px 20px;*/
  /*background-color: #eaeaea;*/
  /*background-color:#ededf2;*/
  /*font-size: 1em;*/
  /*font-size: 12pt;*/
  font-size: 16px;
  line-height: 22px;
}

  .app-help-content h3
  {
    color: #1570a6;
    line-height: 36px;
  }

  .app-help-content p,
  .app-help-content li
  {
    margin: 9px 0;
  }

.btn-help, .btn-exit
{
  position: absolute;
  z-index: 9999;
  cursor: pointer;
}

  .btn-help::before
  {
    /*display: block;
    width: 18px;
    height: 18px;
    border: 1px solid #222;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background-color: #eaeaea;
    color: #222;
    content: "?";
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    line-height: 18px;*/
  }

.open .btn-help::before
{
  /*content: "×";*/
}

.help-transition.open
{
}

/* ==========================================================================
   CET Helper classes
   ========================================================================== */

/*.rtl,
.he,
.ar {
  direction: rtl;
  text-align: right;
}

.ltr,
.en,
.ru {
  direction: ltr;
  text-align: left;
}*/

/* ==========================================================================
   Display modes: Kotar mode, tablet mode, full screen mode, inline mode
   ========================================================================== */

.cet-disallowdisplaymodes #fullscreen,
.cet-disallowdisplaymodes #btn-fullscreen
{
  display: none;
}

/*
 * CET Colors
 *
 * Desc.
 * Desc.
 * Desc.
 */

.bg-blue,
.bg-green,
.bg-orange,
.bg-red
{
  color: #fff!important;
}


.bg-blue
{
  background: rgb(95,175,218);
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzVmYWZkYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyMDc3YjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top, rgba(95,175,218,1) 0%, rgba(32,119,178,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(95,175,218,1)), color-stop(100%,rgba(32,119,178,1)));
  background: -webkit-linear-gradient(top, rgba(95,175,218,1) 0%,rgba(32,119,178,1) 100%);
  background: -o-linear-gradient(top, rgba(95,175,218,1) 0%,rgba(32,119,178,1) 100%);
  background: -ms-linear-gradient(top, rgba(95,175,218,1) 0%,rgba(32,119,178,1) 100%);
  background: linear-gradient(to bottom, rgba(95,175,218,1) 0%,rgba(32,119,178,1) 100%);
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5fafda', endColorstr='#2077b2',GradientType=0 );*/
  -webkit-box-shadow: 1px 1px 0px 1px rgba(178, 178, 178, 1);
  box-shadow: 1px 1px 0px 1px rgba(178, 178, 178, 1);
}

  .bg-blue:hover
  {
    background: rgb(32,119,178);
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzIwNzdiMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM1ZmFmZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(32,119,178,1) 0%, rgba(95,175,218,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(32,119,178,1)), color-stop(100%,rgba(95,175,218,1)));
    background: -webkit-linear-gradient(top, rgba(32,119,178,1) 0%,rgba(95,175,218,1) 100%);
    background: -o-linear-gradient(top, rgba(32,119,178,1) 0%,rgba(95,175,218,1) 100%);
    background: -ms-linear-gradient(top, rgba(32,119,178,1) 0%,rgba(95,175,218,1) 100%);
    background: linear-gradient(to bottom, rgba(32,119,178,1) 0%,rgba(95,175,218,1) 100%);
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2077b2', endColorstr='#5fafda',GradientType=0 );*/
  }

.bg-green
{
  background-color: #5bb75b!important;
}

.bg-orange
{
  background-color: #faa732!important;
}

.bg-red
{
  background-color: #af2b26!important;
}




/*
 * CET App Buttons
 *
 * Desc.
 * Desc.
 * Desc.
 */

.btn
{
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  line-height: 33px;
  cursor: pointer;
  border-radius: 5px;
  /*font-size: 0.95em;*/
  /*font-size: 11pt;*/
  font-size: 15px;
  margin: 8px 9px 0;
  min-width: 80px;
  padding: 0 5px;
  height: 33px;
}

  .btn[disabled],
  .btn.disabled
  {
    -moz-opacity: .65;
    opacity: .65;
    filter: alpha(opacity=65);
    cursor: default;
  }

  .btn.bg-blue,
  .btn.bg-green,
  .btn.bg-orange,
  .btn.bg-red
  {
  }

  .btn.fl,
  .btn.fr
  {
  }

.legend-btn
{
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 8px;
  height: 21px;
  border: 1px solid #bbb;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: #f8f8f8;
  vertical-align: middle;
  text-align: center;
  white-space: nowrap;
  font-weight: 700;
  line-height: 19px;
  cursor: pointer;
}

  .legend-btn [class^="icon-"],
  .legend-btn [class*=" icon-"]
  {
    margin-top: 3px;
    width: 12px;
    height: 12px;
  }


.app-footer .btn
{
}

/* ==========================================================================
  CET Label
  ========================================================================== */

footer
{
  font-weight: 700;
}

  footer input
  {
    vertical-align: middle;
  }

  footer > label
  {
    font-size: 16px;
  }

label.disabled
{
  color: #5d5d5d;
}



/*
 * CET App Icons
 *
 * Desc.
 * Desc.
 * Desc.
 */

.disabled [class^="icon-"],
.disabled [class*=" icon-"],
[disabled] [class^="icon-"],
[disabled] [class*=" icon-"]
{
  -moz-opacity: .65;
  opacity: .65;
  filter: alpha(opacity=65);
}

[class^="icon-"],
[class*=" icon-"]
{
  display: block;
  margin: 0 auto;
}

.icon-fullscreen
{
  width: 39px;
  height: 24px;
  background-image: url(img/icon-fullscreen.svg);
  background-repeat: no-repeat;
  margin-top: 4px;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}

.icon-restart
{
  width: 35%;
  height: 100%;
  background: url(img/icon-restart.svg) no-repeat;
  background-repeat: no-repeat;
  margin-top: 4px;
  -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;
}
