﻿.input-group, .form-control { margin: 14px 0px 14px 0px; }
.input-group .form-control { margin: 0px !important; }
.closeInputRightSide {border-right: solid 1px #cccccc!important; border-top-right-radius:4px!important; border-bottom-right-radius:4px!important; }

.stForm > .stWidget
{
    margin-bottom:15px;
}

.input-group-addon.required:after {
  content:" *";
  color:red;
}

.top5{margin-top:5px;}
.top7{margin-top:7px;}
.top10{margin-top:10px;}
.top15{margin-top:15px;}
.top20{margin-top:20px;}
.top25{margin-top:25px;}

.left30{margin-left:30px;}

.noMargin{margin:0px !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);}
}

.allowWordWrap
{
    word-break:break-word;
}

/* ===== 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;
}
.scopeTotalAlert
{
    overflow-y: hidden!important;
}

.modal-body{padding:20px 20px 0px 20px;}
.alert-topright { position: absolute; top: 40px; right: 40px; z-index: 1041; border: solid 1px; }

td > pre
{
    display: inherit;
    padding: inherit;
    margin: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    word-break: inherit;
    word-wrap: inherit;
    background-color: inherit;
    border: none;
    border-radius: 0;
}


.select2-container--default .select2-selection--single
{
    border-radius:0px!important;
    height:34px!important;
    vertical-align:middle!important;
}

.select2-selection__clear
{
    font-size:larger;
}

.table-totalrow > td
{
    background-color: #008cdc!important;
    color:white;
}
.datepicker
{
    z-index: 2000;
}

.emptyTimelineProductCell{
    background-color:#fff9e6;
}

.filledTimelineProductCell{
    background-color:#e6ffe6;
}

.slider{width:100% !important;margin-left:10px; margin-right:10px;}
.slider-selection
{
    background-image: -webkit-linear-gradient(top, #428bca 0%, #1cc6ff 100%)!important;
    background-image: -o-linear-gradient(top, #428bca 0%, #1cc6ff 100%)!important;
    background-image: linear-gradient(to bottom, #428bca 0%, #1cc6ff 100%)!important;
}

/** stToggle **/
/** FROM https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch **/
.switch input {display:none;}

.toggle 
{
  position: relative;
  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 2px rgba(0, 0, 0, 0.1);*/
  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-color: #89cdef;*/
  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;
}

