/*
 - Adjustments and improvements to Bootstrap 4 (TODO)
 - Aditional components that works together with Boostrap 4 (TODO)
 - Sidebar layout (including adjustments for Bootstrap 4)
 - Automatic color adjustments for compontents based on @af-primary-color (TODO)
*/
/* SIDEBAR */
/* /file/site/style/af.2016.additions.less:L21 */
html {
  overflow-y: scroll;
}
/* /file/site/style/af.2016.additions.less:L25 */
.hide,
.hidden {
  display: none;
}
/* /file/site/style/af.2016.additions.less:L27 */
.c-select {
  width: 100%;
  border-radius: 0px;
}
/* /file/site/style/af.2016.additions.less:L32 */
.c-select {
  width: 100%;
  border-radius: 0px;
}
/* /file/site/style/af.2016.additions.less:L37 */
.btn {
  vertical-align: inherit;
}
/* /file/site/style/af.2016.additions.less:L41 */
.btn-secondary {
  background-color: #dddddd;
  border-color: #cccccc;
}
/* /file/site/style/af.2016.additions.less:L45 */
.btn-secondary.active,
.btn-secondary.active:focus {
  background-color: #bcbcbc;
  border-color: #999999;
  box-shadow: inset 0 0.15rem 0.3rem rgba(0, 0, 0, 0.2);
}
/* /file/site/style/af.2016.additions.less:L52 */
.btn-secondary-outline {
  color: #373a3c;
  background-color: white;
  border-color: #cccccc;
}
/* /file/site/style/af.2016.additions.less:L58 */
.af-active {
  background: #e4f3ff;
  color: #013e73;
}
/* TODO: Finne ut hvilke typer som bør inkluderes her */

/* /file/site/style/af.2016.additions.less:L65 */
input.form-control:not([type="checkbox"]):not([type="radio"]),
textarea.form-control {
  border-radius: 0;
  box-shadow: inset 0 0.1rem 0.3rem rgba(0, 0, 0, 0.085);
  -webkit-appearance: none;
  /* reset styling on iOS */

}
/* /file/site/style/af.2016.additions.less:L68 */
input.form-control:not([type="checkbox"]):not([type="radio"]):focus,
textarea.form-control:focus {
  box-shadow: inset 0 0.1rem 0.3rem rgba(24, 120, 217, 0.2), 0 0 0.3rem rgba(24, 120, 217, 0.2);
}
/* /file/site/style/af.2016.additions.less:L76 */
.dropdown-menu {
  box-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.15);
}
/* /file/site/style/af.2016.additions.less:L80 */
/* /file/site/style/af.2016.additions.less:L81 */
.c-checkbox > .c-indicator,
.c-radio > .c-indicator {
  border: 1px solid rgba(0, 0, 0, 0.25);
}
/* /file/site/style/af.2016.additions.less:L86 */
.c-select {
  border-radius: .25rem;
}
/* /file/site/style/af.2016.additions.less:L90 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus) {
  background-color: transparent;
  border-color: transparent;
  /* Hover equilevants for these */

}
/* /file/site/style/af.2016.additions.less:L94 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus):not(.btn-secondary):not(.btn-link):not([rel*="btn"][rel*="outline"]) {
  color: inherit;
}
/* /file/site/style/af.2016.additions.less:L98 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus).btn-primary {
  color: #0275d8;
}
/* /file/site/style/af.2016.additions.less:L99 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus).btn-success {
  color: #5cb85c;
}
/* /file/site/style/af.2016.additions.less:L100 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus).btn-info {
  color: #5bc0de;
}
/* /file/site/style/af.2016.additions.less:L101 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus).btn-warning {
  color: #f0ad4e;
}
/* /file/site/style/af.2016.additions.less:L102 */
.btn.af-btn-hover:not(:hover):not(:active):not(.active):not(:focus).btn-danger {
  color: #d9534f;
}
/* /file/site/style/af.2016.additions.less:L108 */
.af-form-inline-xs > * {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}
/* /file/site/style/af.2016.additions.less:L115 */
table.table th {
  vertical-align: top;
}
/* /file/site/style/af.2016.additions.less:L119 */
table th[data-field-popup] {
  color: #0267bf;
}
/* /file/site/style/af.2016.additions.less:L121 */
table th[data-field-popup]:hover {
  color: #025aa5;
  background-color: #f4faff;
}
/* /file/site/style/af.2016.additions.less:L127 */
.af-navbar {
  background-color: rgba(244, 244, 245, 0.94);
  background: linear-gradient(rgba(250, 250, 250, 0.94), rgba(239, 239, 240, 0.94));
  border-color: rgba(215, 215, 219, 0.95);
}
/* /file/site/style/af.2016.additions.less:L128 */
.af-navbar .navbar-brand:not(a),
.af-navbar .navbar-brand:not(a):hover {
  color: gray;
  text-shadow: 0 1px 0 white;
}
/* /file/site/style/af.2016.additions.less:L136 */
.af-navbar.navbar-fixed-top {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
/* /file/site/style/af.2016.additions.less:L142 */
.af-breadcrumb {
  margin-top: 2.46rem;
  margin-left: -0.9375rem;
  margin-right: -0.9375rem;
  padding: 0.4rem 0.9375rem 0.3rem;
  line-height: 1;
  border-bottom: 1px dotted silver;
  font-size: 1rem;
}
/* /file/site/style/af.2016.additions.less:L153 */
.dropdown-item:hover {
  color: white;
  background-color: #0275d8;
}
/* /file/site/style/af.2016.additions.less:L158 */
.dropdown-header {
  margin-top: .85rem;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1;
}
/* /file/site/style/af.2016.additions.less:L166 */
.af-center-xs,
.af-center-sm,
.af-center-md,
.af-center-lg {
  margin-right: auto;
  margin-left: auto;
}
/* /file/site/style/af.2016.additions.less:L170 */
.af-center-xs {
  max-width: 34em;
}
/* /file/site/style/af.2016.additions.less:L171 */
.af-center-sm {
  max-width: 48em;
}
/* /file/site/style/af.2016.additions.less:L172 */
.af-center-md {
  max-width: 62em;
}
/* /file/site/style/af.2016.additions.less:L173 */
.af-center-lg {
  max-width: 75em;
}
/* /file/site/style/af.2016.additions.less:L175 */
.navbar-brand {
  font-weight: bold;
}
/* /file/site/style/af.2016.additions.less:L179 */
/* /file/site/style/af.2016.additions.less:L182 */
.af-app-with-sidebar .af-main {
  padding-top: 0.9375rem;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
  transition: margin-right 0.33s, opacity 0.33s;
}
/* /file/site/style/af.2016.additions.less:L189 */
.af-app-with-sidebar .af-sidebar {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: transform 0.33s;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 14.375rem;
  border-left: 1px solid whitesmoke;
  z-index: 99998;
}
/* /file/site/style/af.2016.additions.less:L192 */
.af-app-with-sidebar .af-sidebar::-webkit-scrollbar {
  width: 10px;
}
/* /file/site/style/af.2016.additions.less:L193 */
.af-app-with-sidebar .af-sidebar::-webkit-scrollbar-button {
  display: none;
}
/* /file/site/style/af.2016.additions.less:L194 */
/* /file/site/style/af.2016.additions.less:L195 */
/* /file/site/style/af.2016.additions.less:L196 */
.af-app-with-sidebar .af-sidebar::-webkit-scrollbar-thumb {
  width: 5px;
  height: 50px;
  background-color: rgba(128, 128, 128, 0.5);
  border-radius: 99px;
}
/* /file/site/style/af.2016.additions.less:L208 */
.af-app-with-sidebar .af-toggle-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  padding: 0.9375rem;
  z-index: 99999;
  cursor: pointer;
}
@media (max-width: 54.9em) {
  /* /file/site/style/af.2016.additions.less:L219 */
  .af-app-with-sidebar .af-main {
    opacity: 1;
    margin-right: 0;
  }
  /* /file/site/style/af.2016.additions.less:L224 */
  .af-app-with-sidebar .af-mobile-sidebar-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99997;
    display: none;
  }
  /* /file/site/style/af.2016.additions.less:L234 */
  .af-app-with-sidebar .af-sidebar {
    transform: translate(14.375rem);
  }
  /* /file/site/style/af.2016.additions.less:L238 */
  .af-app-with-sidebar .af-toggle-sidebar-desktop {
    display: none;
  }
  /* /file/site/style/af.2016.additions.less:L242 */
  /* /file/site/style/af.2016.additions.less:L243 */
  .af-app-with-sidebar.af-mobile-show-sidebar .af-sidebar {
    transform: translate(0);
  }
  /* /file/site/style/af.2016.additions.less:L244 */
  .af-app-with-sidebar.af-mobile-show-sidebar .af-mobile-sidebar-background {
    display: block;
  }
  /* /file/site/style/af.2016.additions.less:L245 */
  .af-app-with-sidebar.af-mobile-show-sidebar .af-main {
    opacity: 0.33;
  }
}
@media (min-width: 55em) {
  /* /file/site/style/af.2016.additions.less:L251 */
  .af-app-with-sidebar .af-sidebar {
    transform: translate(0);
  }
  /* /file/site/style/af.2016.additions.less:L253 */
  .af-app-with-sidebar .af-toggle-sidebar-mobile,
  .af-app-with-sidebar .af-mobile-sidebar-background {
    display: none;
  }
  /* /file/site/style/af.2016.additions.less:L255 */
  .af-app-with-sidebar .af-main {
    margin-right: 14.375rem;
  }
  /* /file/site/style/af.2016.additions.less:L259 */
  /* /file/site/style/af.2016.additions.less:L260 */
  .af-app-with-sidebar.af-desktop-hide-sidebar .af-sidebar {
    transform: translate(14.375rem);
  }
  /* /file/site/style/af.2016.additions.less:L261 */
  .af-app-with-sidebar.af-desktop-hide-sidebar .af-main {
    margin-right: 0;
  }
}
/* /file/site/style/af.2016.additions.less:L268 */
.af-app-with-sidebar .navbar-fixed-top,
.af-app-with-sidebar .navbar-fixed-bottom {
  transition: right 0.33s, padding-right 0.33s;
}
/* /file/site/style/af.2016.additions.less:L272 */
.af-app-with-sidebar .navbar-full {
  margin-left: -0.9375rem;
  margin-right: -0.9375rem;
  transition: padding-right 0.33s;
}
@media (max-width: 54.9em) {
  /* /file/site/style/af.2016.additions.less:L279 */
  .af-app-with-sidebar .navbar-full,
  .af-app-with-sidebar .navbar-fixed-top,
  .af-app-with-sidebar .navbar-fixed-bottom {
    padding-right: 2.8125rem;
  }
}
@media (min-width: 55em) {
  /* /file/site/style/af.2016.additions.less:L286 */
  .af-app-with-sidebar .navbar-fixed-top,
  .af-app-with-sidebar .navbar-fixed-bottom {
    right: 14.375rem;
  }
  /* /file/site/style/af.2016.additions.less:L290 */
  /* /file/site/style/af.2016.additions.less:L291 */
  .af-app-with-sidebar.af-desktop-hide-sidebar .navbar-fixed-top,
  .af-app-with-sidebar.af-desktop-hide-sidebar .navbar-fixed-bottom {
    right: 0;
  }
  /* /file/site/style/af.2016.additions.less:L295 */
  .af-app-with-sidebar.af-desktop-hide-sidebar .navbar-full,
  .af-app-with-sidebar.af-desktop-hide-sidebar .navbar-fixed-top,
  .af-app-with-sidebar.af-desktop-hide-sidebar .navbar-fixed-bottom {
    padding-right: 2.8125rem;
  }
}
/* /file/site/style/af.2016.additions.less:L304 */
.af-app-with-sidebar .navbar-brand.af-hide-on-overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  float: none;
}
/* Extra padding on button for Edge b.c. of ugly overlay scroller which makes the proportions wrong */

/* Uses Hack to detect Edge */

@supports (-ms-accelerator:true) {
  /* /file/site/style/af.2016.additions.less:L315 */
  .af-app-with-sidebar .af-toggle-sidebar {
    right: 0.75rem;
  }
}
/* Should be updated to use Edge in browser detection string when that is updated */

/* /file/site/style/af.2016.additions.less:L320 */
html.edge .af-app-with-sidebar .af-toggle-sidebar {
  right: 0.75rem;
}
/* /file/site/style/af.2016.additions.less:L323 */
html.InternetExplorer .af-app-with-sidebar .af-toggle-sidebar {
  right: 0.75rem;
}
