/*------------------------------------*\
  #NORMALIZE
\*------------------------------------*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
img,legend{border:0}legend,td,th{padding:0}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre,textarea{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}table{border-collapse:collapse;border-spacing:0}

/*------------------------------------*\
  #BASE
\*------------------------------------*/
html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  min-height: 100%;
  font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto",
               "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1, h2, h3 {
  font-weight: bold;
  line-height: 1.3;
  margin-top: 16px;
  margin-bottom: 16px;
}

/*
  Use matching classes to override
  default size on any text element
*/
h1, .h1 { font-size: 32px; }
h2, .h2 { font-size: 24px; }
h3, .h3 { font-size: 20px; }
h4, .h4 { font-size: 16px; }
h5, .h5 { font-size: 14px; }
h6, .h6 { font-size: 12px; }

p { margin-bottom: 16px; }

a {
  color: #0067c3;
  text-decoration: none;
}

a:hover { text-decoration: underline }

small { font-size: 14px; }

img { max-width: 100%; }

/*------------------------------------*\
  #BUTTONS
\*------------------------------------*/
.btn {
  display: inline-block;
  padding: 8px 24px;
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn-primary {
  color: #fff;
  background-color: #0067c3;
  transition: background-color 0.15s ease-in;
}

.btn-primary:focus,
.btn-primary:hover {
  background-color: #005CAF;
  transition: background-color 0.15s ease-in;
}

/*------------------------------------*\
  #GRID
\*------------------------------------*/
.container {
  width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.container:before,
.container:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}

.container:after,
.row:after { clear: both; }

/* 24 Column Grid */
.col-10,
.col-11,
.col-12 { float: left; }

.col-10 { width: 41.666667%; }
.col-11 { width: 45.833333%; }
.col-12 { width: 50%; }

.col-offset-2 { margin-left: 8.333333%; }
.col-offset-4 { margin-left: 16.666667%; }
.col-offset-7 { margin-left: 29.166667%; }

/*------------------------------------*\
  #FONT-AWESOME
\*------------------------------------*/
.table .fa { line-height: 1.6; }

.table .fa-sort-amount-asc,
.table .fa-sort-amount-desc { color: rgba(0, 0, 0, 0.5); }

.table .fa-exchange {
  color: rgba(0, 0, 0, 0.2);
  -webkit-transform: rotate(90deg) scale(-1, 1);
      -ms-transform: rotate(90deg) scale(-1, 1);
          transform: rotate(90deg) scale(-1, 1);
}

/*------------------------------------*\
  #FORMS
\*------------------------------------*/
.form-group {
  margin-bottom: 16px;
}

.form-label {
  margin-bottom: 16px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.form-control-sm { font-size: 14px; }

.form-inline .form-group {
  display: inline-block;
  vertical-align: middle;
}
.form-inline .form-control {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

.custom-select {
    display: inline-block;
    max-width: 100%;
    -webkit-appearance: none;
    padding: .375rem 1.75rem .375rem .75rem;
    padding-right: .75rem\9;
    color: #55595c;
    vertical-align: middle;
    background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMV…GzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center;
    background-image: none\9;
    -webkit-background-size: 8px 10px;
    background-size: 8px 10px;
    border: 1px solid #ccc;
    -moz-appearance: none;
}

.custom-select {
  display: inline-block;
  max-width: 100%;
  padding: .375rem 1.75rem .375rem .75rem;
  padding-right: .75rem \9;
  color: $input-color;
  vertical-align: middle;
  background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center;
  background-image: none \9;
  background-size: 8px 10px;
  border: $input-btn-border-width solid $input-border-color;
  @include border-radius($border-radius);
  -moz-appearance: none;
  -webkit-appearance: none;
}

.custom-select:focus {
  border-color: #51a7e8;
  outline: none;
  box-shadow(inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5));
  }

/* Hides the default caret in IE11 */
.custom-select::-ms-expand {
  opacity: 0;
}

.custom-select-sm {
  padding-top: 3px;
  padding-bottom: 3px;
  font-size: 12px;
}

.custom-select-sm:not([multiple]) {
  height: 26px;
  min-height: 26px;
}

/*------------------------------------*\
  #PAGINATION
\*------------------------------------*/
.pagination {
  display: inline-block;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 16px;
  border-radius: 4px;
}

.page-item { display: inline; }

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.page-item:last-child .page-link {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.page-item.disabled .page-link,
.page-item.disabled .page-link:focus,
.page-item.disabled .page-link:hover {
  color: #818a91;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #ddd;
}

.page-link {
  position: relative;
  float: left;
  padding: 8px 12px;
  margin-left: -1px;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.page-link:focus,
.page-link:hover {
  color: #014c8c;
  background-color: #eceeef;
  border-color: #ddd;
}

.page-item.active .page-link,
.page-item.active .page-link:focus,
.page-item.active .page-link:hover {
  z-index: 2;
  color: #fff;
  cursor: default;
  background-color: #0067c3;
  border-color: #0067c3;
}

.pagination-sm .page-link {
  padding: 4px 12px;
  font-size: 14px;
}

/*------------------------------------*\
  #TABLES
\*------------------------------------*/
table {
  background-color: transparent;
  border-spacing: 0;
  border-collapse: collapse;
}

th { text-align: left; }

.table {
  width: 100%;
  margin-bottom: 16px;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}

.table td,
.table th {
    padding: 12px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-bordered { border: 1px solid #ddd; }

.table-bordered th,
.table-bordered td { border: 1px solid #ddd; }

.table-sm { font-size: 14px; }

.table-sm td,
.table-sm th {
  padding: 8px;
}

/*------------------------------------*\
  #UTILITIES
\*------------------------------------*/
.pull-left { float: left; }
.pull-right { float: right; }

.m-b-4 { margin-bottom: 32px; }
.m-b-6 { margin-bottom: 128px; }

.font-weight-normal { font-weight: 400; }

.text-center { text-align: center; }

.text-danger  { color: #d9534f; }
.text-success { color: #5cb85c; }
