﻿body {
    min-height: 100vh;
    color: #000000;
    background-color:white;
}

.width100{width:100%;}

.form-control { margin: 14px 0px; }
.input-group .form-control { margin: 0px !important; }

.top5{margin-top:5px;}
.top7{margin-top:7px;}
.top10{margin-top:10px;}
.top15{margin-top:15px;}
.top20{margin-top:20px;}
.top25{margin-top:25px;}

.bottom5{margin-bottom:5px;}
.bottom7{margin-bottom:7px;}
.bottom10{margin-bottom:10px;}
.bottom15{margin-bottom:15px;}
.bottom20{margin-bottom:20px;}
.bottom25{margin-bottom:25px;}

.minHeight60{min-height:60px;}

.noMargin{margin:0px !important;}

.panel-noborder{
    border:none!important;
}
.panel-heading .panel-title:after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: grey;         /* adjust as needed */
}
.panel-heading .panel-title.collapsed:after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.dropDownLoading
{
    position:absolute;
    top:10px;
    right:20px;
    z-index: 5;
}

.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}

@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
  
@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}

@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}


/* ===== Pagination ===== */
.pagination > li > a,
.pagination > li > span {
  margin: 0 1px;
  border-radius: 4px;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #4180BF;
  background-image: -webkit-linear-gradient(top, #45b8d8 0%, #4180BF 100%);
  background-image: -moz-linear-gradient(top, #45b8d8 0%, #4180BF 100%);
  background-image: -o-linear-gradient(top, #45b8d8 0%, #4180BF 100%);
  background-image: linear-gradient(top, #45b8d8 0%, #4180BF 100%);
}

/*** Pagination ***/
.pagination-example ul {
  margin: 10px 0;
}

/* === TABLE-ROW SORTABLE */
.table-row-sortable{position:relative;padding-right:20px;cursor:pointer}
.table-row-sortable::after,.table-row-sortable::before{position:absolute;right:5px;content:''}
.table-row-sortable::after{bottom:55%}
.table-row-sortable::before{top:55%}
.table-row-sortable.sort-active{font-weight:700}
.table-row-sortable.sort-active.asc::after{border-bottom-color:#bbb}
.table-row-sortable.sort-active.desc::before{border-top-color:#bbb}
.sort{width:0;height:0}
.sort-asc,
.table-row-sortable::after{border-right:4px solid transparent;border-bottom:8px solid #eee;border-left:4px solid transparent}
.sort-desc,.table-row-sortable::before{border-top:8px solid #eee;border-right:4px solid transparent;border-left:4px solid transparent}

/*** Bootbox styles ***/
.scopeTotalAlert .modal-dialog .modal-content .modal-body
{
    padding:0px;
    margin:0px;
}
.scopeTotalAlert .modal-dialog .modal-content .modal-body .alert
{
    margin:0px;
}

/** stToggle **/
/** FROM https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch **/
.switch input 
{
    display:none;

}

.toggle 
{
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 15px;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to bottom, #f5f5f5 0%, #f9f9f9 100%);
  background-repeat: repeat-x;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  height:12px;
  width: 44px;
}

.toggle:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 0px;
  bottom: -4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s ease;
}

input:checked + .toggle {
  background-image: linear-gradient(to bottom, #89cdef 0%, #89cdef 100%);
  background-repeat: repeat-x;
}

input:focus + .toggle {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .toggle:before {
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
}

/* Rounded sliders */
.toggle.round {
  border-radius: 34px;
}

.toggle.round:before {
    border-radius: 50%;
    background-color: #337ab7;
    background-image: -webkit-linear-gradient(top, #149bdf 0%, #0480be 100%);
    background-image: -o-linear-gradient(top, #149bdf 0%, #0480be 100%);
    background-image: linear-gradient(to bottom, #149bdf 0%, #0480be 100%); 
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0);
    filter: none;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
    border: 0px solid transparent;
}

.toggle.round.disabled:before
{
    background-color:#ccc!important;
     background-image:none!important;
}

/*** WIDGETS ****/
.stWidget .panel{
    border-radius:0px;
}

.stWidget .panel-heading{
    border-radius:0px;
}

/**** DATA LOADER ****/
.placeMappDataLoader .loadingData
{
    display:inline-block;
    border-radius: 70%;
    width:14px;
    height:14px;
    margin-right:10px;
    background-color: red;
    font-size:7pt;
    text-align:center;
    vertical-align:middle;
    padding-top:2px;
}

.placeMappDataLoader .loadingDataDone
{
  background-color: green;
}


/***** TIME LINE PICKER ******/
.timeline {
    position: relative;
    overflow: hidden;
    height: 96px;
    white-space: nowrap;
    text-align: center
}

.timeline::after {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 64px;
    margin-left: -.5px;
    background-color: #00e2ff
}

.timeline-content {
    position: relative;
    height: 64px;
    font-size: 1px
}

.timeline-button-wrapper {
    position: relative;
    z-index: 1;
    display: block;
    margin-left: calc(50% - 60px / 2);
    width: 100%;
    height: 100%;
    text-align: left;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.25, .8, .25, 1);
    transition: transform .4s cubic-bezier(.25, .8, .25, 1)
}

.timelineV2
{
    background-color:rgba(0, 0, 0, 0.4);
    position:fixed;
    bottom:0px;
    left:calc(350px + ((100% - 350px) * 0.05));
    width: calc((100% - 350px) * 0.9);
    height:35px;    
    font-size: 1px;
}

.timeline-button-wrapperV2 {
    position: relative;
    bottom:0px;
    z-index: 1;
    display: block;
    width: 100%;
    height: 35px;
    text-align: center;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.25, .8, .25, 1);
    transition: transform .4s cubic-bezier(.25, .8, .25, 1)
}

.timeline-dateV2
{
    position:absolute;
    width:100px;
    height:14px;
    left:0;
    right:0;
    margin:-50px auto;
    background-color:#eee;
    color: black;
    font-size:11px;
    text-align:center;
    vertical-align:middle;
    font-weight:bold;
}

.timeline-arrowV2
{
    top:20%;
    font-size:20px;
    color:white;
    position:absolute;
    z-index:7;
    cursor:pointer;
}

.timeline-arrowV2.disabled {
    cursor: not-allowed;
    opacity: .4;
    -webkit-transform: scale(.8);
    transform: scale(.8)
}

.timeline-arrowV2-left {
    left: 8px
}

.timeline-arrowV2-right {
    right: 8px
}

.ng-fade-right,
.timeline-button {
    -webkit-transition: .4s cubic-bezier(.25, .8, .25, 1)
}

.timeline-button-out
{
    background-color: rgba(255, 255, 255, .1)!important;
    cursor:default!important;
}

.timeline-option-cell
{
    background-color:red;
    border:solid 2px yellow;
    display:inline-block;
}

.timeline-button {
    position: relative;
    top: 50%;
    z-index: 2;
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: -5px 24px 0;
    overflow: hidden;
    color: #00e2ff;
    background-color: rgba(255, 255, 255, .8);
    border: 0;
    border-radius: 12px;
    outline: 0;
    transition: .4s cubic-bezier(.25, .8, .25, 1);
    -webkit-transition-property: opacity -webkit-transform box-shadow;
    transition-property: opacity transform box-shadow
}

.timeline-arrow,
.timeline-line {
    top: 50%;
    z-index: 1;
    position: absolute
}

.timeline-button.selected {
    color: #fff;
    background-color: #fff;
    -webkit-transform: scale(1.8);
    transform: scale(1.8)
}

.timeline-button.disabled {
    cursor: not-allowed;
    opacity: .4;
    -webkit-transform: scale(.8);
    transform: scale(.8)
}

.timeline-line {
    left: 50%;
    width: 255px;
    height: 14px;
    margin-top: -6px;
    background-color: #00bcd4;
    border-radius: 14px;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0)
}

.timeline-date {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    padding: 8px 0;
    font-size: 12px;
    background-color: #eee
}

.timeline-arrow {
    margin-top: -12px;
    font-size: 16px;
    color: rgba(68, 68, 68, .5)
}

.timeline-arrow:hover {
    color: #444
}

.timeline-arrow-left {
    left: 8px
}

.timeline-arrow-right {
    right: 8px
}

.timeline-date-text {
    position: absolute;
    width: 100%;
    opacity: 1;
    -webkit-transition: opacity .4s cubic-bezier(.25, .8, .25, 1);
    transition: opacity .4s cubic-bezier(.25, .8, .25, 1)
}

.timeline-date-text.ng-hide,
.timeline-date-text.ng-hide .ng-leave {
    opacity: 0
}

.timeline-button.selected
{
    box-shadow: 0 0 0 2px #00e2ff
}

/** Tooltip **/
.large.tooltip-inner {
    max-width: 350px;
    width: 350px;
}