
* {
    box-sizing: border-box;
}

.ui.grid {
    margin-left: 0;
    margin-right: 0;
}
.hidden { display: none !important; }

a, a:link, a:visited {
    color: @orange;
    
    &:hover,
    &:focus {
        color: darken(@orange, 10%);
    }
}

.ui.large.button {
  min-width: 100px;
}

.floated {
    &.left { float: left !important; }
    &.right { float: right !important; }
}

.aligned {
    &.left { text-align: left !important; }
    &.center { text-align: center !important; }
    &.right { text-align: right !important; }
}

img#logo_img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto 5px;
}

.ui.fileupload {
    position: relative;
    width: 120px; 
    height: 40px;
    line-height: 40px;
    display: block;
    overflow: hidden;
    padding: 0px 20px;

    .span { 
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 40px;
    }

    input {
        position: absolute;
        top: 0; left: 0;
        width: 200%;
        opacity: 0;
        height: 100px;
    }
}

.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 10px 0;

  > li {
    display: inline; // Remove list-style and block-level defaults
    > a,
    > span {
      position: relative;
      float: left; // Collapse white-space
      padding: 10px 15px;
      line-height: 20px;
      text-decoration: none;
      color: #000;
      background-color: #FFF;
      border: 1px solid #CCC;
      margin-left: -1px;
    }
    &:first-child {
      > a,
      > span {
        margin-left: 0;
      }
    }
    &:last-child {
      > a,
      > span {
      }
    }
  }

  > li > a,
  > li > span {
    &:hover,
    &:focus {
      z-index: 3;
      color: #00B5AD;
      background-color: #FFF;
      border-color: #00B5AD;
    }
  }

  > .active > a,
  > .active > span {
    &,
    &:hover,
    &:focus {
      z-index: 2;
      color: #FFF;
      background-color: #00B5AD;
      border-color: #00B5AD;
      cursor: default;
    }
  }

  > .disabled {
    > span,
    > span:hover,
    > span:focus,
    > a,
    > a:hover,
    > a:focus {
      color: #DDD;
      background-color: #FFF;
      border-color: #DDD;
    }
  }
}

.ui.radio.checkbox {
    margin-right: 20px;
}

.ui.form select.picker__select--month,
.ui.form select.picker__select--year {
    display: inline-block;
}
.ui.form select.picker__select--year {
    width: 22.5%;
}
.ui.form select.picker__select--month {
    width: 35%;
}
.ui.icon.message > .content {
    margin-left: 20px;
}
@media only screen and (max-width: 767px) {
    .ui.container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.dataTables_wrapper .ui.grid {
  width: 100%;
}

.ui.bottom.attached.segment {
  margin-bottom: 20px;
}

.dataTables_wrapper.dt-semanticUI ~ .column {
  padding-left: 0;
  padding-right: 0;
}
.dataTables_wrapper.dt-semanticUI .row .column {
  padding: 0;
}
