﻿/*----------*/
/*- NAVBAR -*/
/*----------*/
.bs-header {
  min-height: 60px;
}

  .bs-header img {
    height: 30px;
  }

  .bs-header a:hover img.changebutton {
    visibility: visible;
  }

  .bs-header a img.changebutton {
    visibility: hidden;
    padding: 5px;
  }

  .bs-header a.bs-button img {
    opacity: 0.6;
  }

  .bs-header a.bs-button:hover img {
    opacity: 1;
  }

.bs-center-brand {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  text-align: center;
  margin: 0 auto;
}

  .bs-center-brand img {
    margin: -5px auto;
  }

.navbar-toggle {
  z-index: 3;
}

  .navbar-toggle.pull-left {
    margin-left: 15px;
  }

/*to allow scroll on page because offcanvas avoid it, with navbar*/
.bs-body {
  top: 60px;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
}

/*to allow scroll on page because offcanvas avoid it, without navbar*/
.bs-body-no-navbar {
  top: 0px;
  bottom: 0;
  position: absolute;
  left: 0;
  right: 0;
}

@media screen and (max-width: 767px) {
  .bs-body {
    top: 51px;
  }
}

/*- CLASS TO ALLOW SCROLL ON SITE BODY IN MODULESTD LAYOUT -*/
.bs-scrollit {
  overflow: auto;
}

/*--------*/
/*- TEXT -*/
/*--------*/
.text-left-imp {
  text-align: left !important;
}

.text-white {
  color: #FFF;
}

/*-----------*/
/*- TOOLTIP -*/
/*-----------*/
.ui-tooltip, .arrow:after, .arrow-left:after {
  background: #fff; /*#4b4b4b;*/
  border: 2px solid #777;
}
/*
.ui-tooltip {
  padding: 10px 20px;
  color: white;
  font: bold 14px ;
  box-shadow: 0 0 7px black;
  width: 125px;
  text-align: right;
}

.ui-tooltip-content {
  display: inline-block;
}
*/
/*arrow right*/
.arrow {
  width: 15px;
  overflow: hidden;
  position: absolute;
  top: 5px;
  left: 100%;
  height: 100%;
}

  .arrow.top {
  }

  .arrow.left {
    left: 20%;
  }

  .arrow:after {
    content: "";
    position: absolute;
    left: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
  }

  .arrow.top:after {
  }

/*arrow left*/
.arrow-left {
  width: 15px;
  overflow: hidden;
  position: absolute;
  top: 0px;
  right: 100%;
  height: 100%;
}

  .arrow-left.top {
  }

  .arrow-left:after {
    content: "";
    position: absolute;
    left: 8px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
  }

  .arrow-left.top:after {
  }

/*---------*/
/*- IMAGE -*/
/*---------*/
.bs-module-icon img {
  height: 35px;
}

/*guide item*/
.guide-item > img {
  height: 18px;
}

/*--------------*/
/*- BACKGROUND -*/
/*--------------*/
.bs-bg-darkest {
  background-color: #282828;
  color: #fff;
}

.bs-bg-dark {
  background-color: #4b4b4b;
  color: #fff;
}

.bs-bg-middle-dark {
  background-color: #646464;
  color: #fff;
}

.bs-bg-middle {
  background-color: #8d8a8a;
  color: #fff;
}

.bs-bg-middle-light {
  background-color: #a3a3a3;
  color: #fff;
}

/*-----------*/
/*- BUTTONS -*/
/*-----------*/
.ui-datepicker-trigger { /* hide datepicker button */
  display: none;
}

.btn img {
  vertical-align: initial;
}

.btn-xs img {
  height: 18px;
}

.btn-sm img {
  height: 18px;
}

.btn-lg img {
  height: 18px;
}

.btn-file {
  position: relative;
  overflow: hidden;
}

  .btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
  }

input[type=file].btn-file-input {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 100px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

.btn-file-group {
  position: absolute;
  z-index: 100;
}

.bs-btn-col {
  position: absolute;
  top: 0;
  right: 0;
  left: -15px;
  height: 100%;
}

.bs-logo {
  height: 300px;
  /* have to fix height to allow correct background position*/
}

.bs-logo-img {
  height: 300px;
  /* have to fix height to allow correct background position*/
}

  .bs-logo-img img {
    position: relative;
    top: 98px;
  }

.bs-logo-back {
  height: 300px;
  /* have to fix height to allow correct background position*/
  background-image: url('../../App_Themes/_default/images/logo-back.png');
  background-color: transparent;
  background-repeat: repeat-x;
  background-position: 0% 39%;
}

/*----------*/
/* POSITION */
/*----------*/
.bs-vertical-center {
  min-height: 100%; /* Fallback for vh unit */
  min-height: 100vh; /* You might also want to use
                        'height' property instead.
                        Note that for percentage values of
                        'height' or 'min-height' properties,
                        the 'height' of the parent element
                        should be specified explicitly.
                        In this case the parent of '.vertical-center'
                        is the <body> element */
  height: 500px;
  /* Make it a flex container */
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  /* Align the bootstrap's container vertically */
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* In legacy web browsers such as Firefox 9 
    we need to specify the width of the flex container */
  width: 100%;
  /* Also 'margin: 0 auto' doesn't have any effect on flex items in such web browsers
     hence the bootstrap's container won't be aligned to the center anymore.
     Therefore, we should use the following declarations to get it centered again */
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

  .bs-vertical-center .container-fluid {
    z-index: 100;
  }

  .bs-vertical-center .all-width {
    width: 100%;
  }

/* ATTENTION! with this option you can't use all the 12 column of a row in bootstrap 3 or use comment, see this */
/* https://stackoverflow.com/questions/20547819/vertical-align-with-bootstrap-3 */
div.bs-column-vertical-center > div {
  vertical-align: middle;
  display: inline-block;
  float: none;
}

/*------------------*/
/*- FORM VALIDATOR -*/
/*------------------*/
.form-horizontal .has-feedback .jqval-icon {
}

/*---------*/
/*- TABLE -*/
/*---------*/
.bs-table-middle > thead > tr > th {
  vertical-align: middle;
}

.bs-table-middle > tbody > tr > td,
.bs-table-middle > tbody > tr > th,
.bs-table-middle > tfoot > tr > td,
.bs-table-middle > tfoot > tr > th,
.bs-table-middle > thead > tr > td,
.bs-table-middle > thead > tr > th {
  vertical-align: middle;
}

.table.clickable tbody > tr {
  cursor: pointer;
}

/*-----------------------*/
/*- GRID VIEW PAGINATOR -*/
/*-----------------------*/
.table-hover > tbody > tr.pagination-gv, .table-hover > tbody > tr.pagination-gv:hover {
  background-color: transparent;
}

.pagination-gv {
  /*display: inline-block;*/
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

  .pagination-gv table {
    margin: 0 auto;
  }

    .pagination-gv table > tbody > tr > td {
      display: inline;
    }

      .pagination-gv table > tbody > tr > td > a,
      .pagination-gv table > tbody > tr > td > span {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        margin-left: -1px;
      }

      .pagination-gv table > tbody > tr > td > span {
        position: relative;
        float: left;
        padding: 8px 12px;
        line-height: 1.42857143;
        text-decoration: none;
        margin-left: -1px;
        z-index: 2;
        color: #777;
        background-color: #f5f5f5;
        border-color: #dddddd;
        cursor: default;
      }

      .pagination-gv table > tbody > tr > td:first-child > a,
      .pagination-gv table > tbody > tr > td:first-child > span {
        margin-left: 0;
        border-bottom-left-radius: 4px;
        border-top-left-radius: 4px;
      }

      .pagination-gv table > tbody > tr > td:last-child > a,
      .pagination-gv table > tbody > tr > td:last-child > span {
        border-bottom-right-radius: 4px;
        border-top-right-radius: 4px;
      }

      .pagination-gv table > tbody > tr > td > a:hover,
      .pagination-gv table > tbody > tr > td > span:hover,
      .pagination-gv table > tbody > tr > td > a:focus,
      .pagination-gv table > tbody > tr > td > span:focus {
        color: #333;
        background-color: #cdcdcd;
        border-color: #bbb;
      }

/*-------------------*/
/*- VERTICAL OFFSET -*/
/*-------------------*/
.bs-voffset {
  margin-top: 2px;
}

.bs-voffset1 {
  margin-top: 5px;
}

.bs-voffset2 {
  margin-top: 10px;
}

.bs-voffset3 {
  margin-top: 15px;
}

.bs-voffset3i {
  margin-top: 20px;
}

.bs-voffset4 {
  margin-top: 30px;
}

.bs-voffset5 {
  margin-top: 40px;
}

.bs-voffset6 {
  margin-top: 60px;
}

.bs-voffset7 {
  margin-top: 80px;
}

.bs-voffset8 {
  margin-top: 100px;
}

.bs-voffset9 {
  margin-top: 150px;
}

.mb-0 {
  margin-bottom:0px;
}

/*---------*/
/*- PANEL -*/
/*---------*/

.panel-with-fade-text {
  height: 100px;
  overflow: hidden;
  position: relative;
}

  .panel-with-fade-text:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(transparent, white);
  }

/*-------*/
/* ALERT */
/*-------*/

.glyph-icon {
  font-size: 30px;
  padding-right:20px;
}
