
:root {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --gap: 10px;
}

html,body {
  padding: 0;
  margin: 0;
}
body {
  padding: 0 0 10px 0;
  font: 1em "Lucida Grande", Helvetica, Arial, sans-serif;
}

.boxed {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0px 0px 23px -4px rgba(0,0,0,0.08);
}

.rounded {
  border-radius: 10px;
}

a {
  color: #36689D;
}
.element-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.element-link:focus, .element-link:hover, .element-link:active {
  text-decoration: none;
}
.element-link:hover {
  opacity: 0.8;
}

.img-cover {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

img {
  max-width: 100%;
}

picture {
  max-width: 100%;
  position: relative;
  display: block;
  padding-top: 56.25%;/* default 16:9 */
}
picture img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

abbr {
  text-decoration: none;
}

.pac-container {
  z-index: 2000;
}

.clickable {
  cursor: pointer;
}
.clickable:hover {
  opacity: 0.88;
}

/*
nav .dropdown:hover .dropdown-menu {
  display: block;
}
*/

.odd-row {
  background-color: #f9f9f9;
}

.icon_grid {
  vertical-align: top;
}
.icon_grid>a {
  text-decoration: none;
  display: inline-block;
  width: 90px;
  padding: 5px;
  text-align: center;
}
.icon_grid i {
  font-size: 2em;
  display: block;
  margin-bottom: 5px;
  line-height: 2em;
}

.panel-heading input[type=text]{
  color: #000;
}

.odd {
  background-color: #F0F2F2;
}

.muted {
  opacity: 0.88;
}
.muted-more {
  opacity: 0.6;
}

.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  box-shadow: #eee 2px 2px 10px;
  padding: 10px;
  margin: 10px 0;
}
a.link-box:hover {
  opacity: 0.8;
  outline: 2px solid rgba(172, 214, 255, 0.5);
}
.link-box .img {
  flex: 1;
}
.link-box .img img {
  width: 100%;
  max-height: 4rem;
  object-fit: cover;
}
.link-box .txt {
  flex: 4;
  padding: 10px;
}
.link-box .txt>* {
  display: block;
  font-size: 0.9rem;
}
.link-box .txt>.description {
  white-space: pre-line;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  line-height: 1.2rem;
  max-height: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.link-box .right-ico {
  flex: 0 1;
  padding: 8px;
}

.text-lines {
  white-space: pre-line;
}

.std-scroll-y {
  max-height: 100px;
  overflow-y: auto;
  border: 1px solid #F0F2F2;
  padding: 5px;
}

button:disabled, .disabled {
  cursor: not-allowed !important;;
  opacity: 0.6;
}
button.wait, .wait {
  cursor: wait !important;
}

.btn-bare {
  margin: 0;
  padding: 2px;
  font-size: inherit;
  line-height: 1;
  border-radius: 0;
  background: transparent;
  color: #575757;
  vertical-align: baseline;
}
.btn.btn-bare.toggle-set-toggler {
  text-align: left;
  padding: 8px 5px;
  font-weight: bold;
}
.btn.btn-bare:hover {
  opacity: 0.8;
  background-color: #1b5cff0c;
}
.btn.btn-bare.active {
  background-color: #1b5cff0c;
  box-shadow: none;
}
.toggle-set.open .btn.btn-bare.toggle-set-toggler {
  background-color: #1b5cff0c;
}
.btn.btn-bare:active {
  box-shadow: none;
}
.btn.btn-bare:focus-visible {
  box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.4);
}
.btn-full { width: 100%; }

.panel.panel-sm .panel-heading {
  padding: 5px 7px;
}
.panel.panel-sm .panel-body {
  padding: 7px;
}

.alert.alert-sm {
  padding: 5px;
}

.toast {
  padding: 10px;
  color: #000;
  background: #ccc;
  border-radius: 10px;
  opacity: 0.95;
  padding-right: 35px;
  font-size: 0.8rem;
}
.toast-success {
  background-color: rgba(78, 162, 114);
  color: #fff;
}
.toast-warning {
  background-color: rgba(243, 156, 18);
  color: #fff;
}
.toast-error {
  background-color: rgba(231, 76, 60);
  color: #fff;
}
.toast .btn-bare {
  color: inherit;
  padding: 4px 8px;
  background: rgba(0,0,0,0.3);
}
.toast .btn-bare:hover {
  background: rgba(0,0,0,0.5);
  text-decoration: none;
}

.row.dashboard {
  margin-left: -5px;
  margin-right: -5px;
}
.dashboard div {
  padding: 5px;
}

.dash-item {
  position: relative;
  text-align: center;
  color: #fff;
  display: block;
  overflow: hidden;
}
.dash-item .showover {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  transition: all 0.5s;
  opacity: 0.9;
}
.dash-item .showover p {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px;
}
.dash-item:hover .showover {
  top: 0;
}

.dash-item>i {
  padding-top: 15px;
  line-height: 70px;
}

.dash-item>p {
  padding-top: 15px;
  padding-bottom: 15px;
  margin-bottom: 0px;
  font-weight: 900;
  text-transform: uppercase !important;
}

.dash-item-container .dash-item {
  background: linear-gradient(135deg, #1e5799 0%,#2989d8 47%,#2989d8 47%,#7db9e8 100%);
  color: #fff;
  padding: 30px 0;
}
.dash-item-container .dash-item:hover {
  text-decoration: none;
}

.icondash {
  text-align: center;
}
.icondash a {
  display: block;
}
.icondash .iconb {
  background: #51A7F0;
  display: inline-block;
  border-radius: 100px;
  text-align: center;
  margin-bottom: 10px;
  width: 90px;
  height: 90px;
}
.icondash .iconb, .icondash .iconb i {
  line-height: 90px;
  color: #fff;
}
.icondash a:hover {
  text-decoration: none;
  opacity: 0.7;
}
.icondash small {
  color: #000;
}

.std-menu {
  list-style-type: none;
    padding: 0;
    margin: 0;
}
.std-menu a {
  padding: 10px 5px;
  border-bottom: 1px solid #ddd;
  display: block;
}
.std-menu li:last-child a {
  border-bottom: 0;
}
.std-menu a:hover, .std-menu .active>a {
  background-color: #51A7F0;
  color: #fff;
  text-decoration: none;
}

.bigstat {
  color: #f36f21;
  font-size: 3em;
  margin: 4px 0;
}
.statbox {
  background: #51A7F0;
  border-radius: 10px;
  padding: 20px;
}
.statbox, .statbox .bigstat {
  color: #fff;
}

.form-control-max {
  max-width: 350px;
}
.form-group.sib {
  margin-bottom: 0;
}
.form-group.sib + .form-group.sib {
  margin-top: 15px;
}
.form-inline, .inline-block {
  display: inline-block;
  vertical-align: middle;
}
.inline-block-top {
  display: inline-block;
  vertical-align: top;
}
.vmiddle, .table.vmiddle>tbody>tr>td, .table.vmiddle>tfoot>tr>td, .table>thead>tr>td {
  vertical-align: middle;
}

.mt0 {
  margin-top: 0;
}
.mb0 {
  margin-bottom: 0;
}
.mb {
  margin-bottom: 20px;
}
.mb10 {
  margin-bottom: 10px;
}
.mb20 {
  margin-bottom: 20px;
}
.pvhalf {
  padding-top: 10px;
  padding-bottom: 10px;
}

.transparent-image-bg {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
}

.embed-responsive-item.item-img {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.when_deactive { display: none; }
.deactive { opacity: 0.6; }
.deactive .when_active { display: none; }
.deactive .when_deactive { display: inline-block; }
.active-toggler { color: #4FE374; }
.deactive .active-toggler { color: #FF6E6E; }

.differs, .form-control.differs[readonly] { background: rgba(250,219,165,0.5); }

.stretchy-box {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #eee;
}
.stretchy-box.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.stretchy-box.tall:after {
  content: "";
  display: block;
  padding-bottom: 156.25%;
}
.stretchy-box.wide:after {
  content: "";
  display: block;
  padding-bottom: 56.25%;
}
.stretchy-box.square:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}
.stretchy-box.dark:before {
  z-index: 2;
  background-color: rgba(0,0,0,0.4);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.stretchy-box .bg_img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.stretchy-box .footer {
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 3px 0;
  text-align: center;
}

/*
  Equal height row stuff
*/
.row-eq-height-xs {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
@media (min-width: 768px) {
  .row-eq-height-sm {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (min-width: 992px) {
  .row-eq-height-md {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (min-width: 1200px) {
  .row-eq-height-lg {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
}

/*
  Flex cols
*/

.min-visible-block-sm {
  display: none;
}
.max-visible-block-sm {
  display: block;
}

.flex-cols-2 .flex-col {
  --flex-col-width: 50%;
}
.flex-cols-3 .flex-col {
  --flex-col-width: calc(100% / 3);
}
.flex-cols-4 .flex-col {
  --flex-col-width: 25%;
}
.flex-cols-5 .flex-col {
  --flex-col-width: 20%;
}
.flex-cols-6 .flex-col {
  --flex-col-width: calc(100% / 6);
}

.flex-xs {
  display: flex !important;
  justify-content: center;
  --flex-col-width: 100%;
  --max-col-width: 100%;
}
.flex-xs.flex-align-center {
  align-items: center;
}
.flex-xs.flex-shrunk>*{
  flex-shrink: 1;
}
.flex-xs .flex-shrink {
  flex-shrink: 1;
}
.flex-xs .flex-grow {
  flex-grow: 1;
}
.flex-xs.flex-vertical {
  flex-direction: column;
}
.flex-xs.flex-gap {
  gap: 10px;
}
.flex-xs .flex-col {
  flex: 1;
  max-width: min(var(--flex-col-width),var(--max-col-width));
}

@media (min-width: 768px) {
  .max-visible-block-sm {
    display: none;
  }
  .min-visible-block-sm {
    display: block;
  }
  .min-visible-inline-block-sm {
    display: inline-block;
  }
  .text-right-sm {
    text-align: right;
  }
  .flex-sm {
    display: flex !important;
    justify-content: center;
    --flex-col-width: 100%;
    --max-col-width: 100%;
  }
  .flex-gap {
    gap: var(--gap);
  }
  .flex-sm.flex-align-center {
    align-items: center;
  }
  .flex-sm.flex-vertical {
    flex-direction: column;
  }
  .flex-sm.flex-shrunk>*{
    flex-shrink: 1;
  }
  .flex-sm .flex-shrink {
    flex-shrink: 1;
  }
  .flex-sm .flex-grow {
    flex-grow: 1;
  }
  .flex-sm .flex-col {
    flex: 1;
    max-width: min(var(--flex-col-width),var(--max-col-width));
  }
}

.maxwsmall {
  max-width: 300px;
}
.maxwmed {
  max-width: 500px;
}
.maxwhalfperc {
  max-width: max(50%,300px);
}
.maxwthirdperc {
  max-width: max(33%,300px);
}
.maxwhalfscreen {
  max-width: max(50vw,300px);
}
.maxwthirdscreen {
  max-width: max(33vw,300px);
}

.tooly {
  --bg-color: #dddddd;
  --fg-color: #000;
	position: relative;
}
abbr.tooly {
	border-bottom: 1px dotted;
  cursor: default;
}
.tooly:hover {
	opacity: 1 !important;
}
.tooly:hover::before, button.tooly:focus::before {
  pointer-events: none;
	content: attr(data-title);
	position: absolute;
	background: var(--bg-color);
	color: var(--fg-color);
	padding: 10px;
	border-radius: 12px;
	font-size: 0.7rem;
	line-height: 1;
	font-weight: normal;
	bottom: calc(100% + 5px);
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	max-width: min(90vw,300px);
	z-index: 9999;
  white-space: wrap;
  opacity: 1;
  transition: all 0.2s ease-in-out 0.1s;
  @starting-style {
    opacity: 0;
  }
}
.tooly:hover::after, button.tooly:focus::after {
  pointer-events: none;
	z-index: 9999;
	content: "";
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 5px solid var(--bg-color);
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
  opacity: 1;
  transition: all 0.2s ease-in-out 0.1s;
  @starting-style {
    opacity: 0;
  }
}
.tooly.tooly-left:hover::before, button.tooly.tooly-left:focus::before {
	left: unset;
	bottom: 50%;
	right: calc(100% + 4px);
	transform: translateY(50%) translateX(0);
}
.tooly.tooly-left:hover::after, button.tooly.tooly-left:focus::after {
	left: unset;
	bottom: 50%;
	right: 100%;
	transform: translateY(50%) translateX(0);
	border-top: 8px solid transparent;
	border-left: 5px solid var(--bg-color);
	border-bottom: 8px solid transparent;
	border-right: 0;
}
.tooly.tooly-right:hover::before, button.tooly.tooly-right:focus::before {
	left: calc(100% + 4px);
	bottom: 50%;
	transform: translateY(50%) translateX(0);
}
.tooly.tooly-right:hover::after, button.tooly.tooly-right:focus::after {
	left: 100%;
	bottom: 50%;
	transform: translateY(50%) translateX(0);
	border-top: 8px solid transparent;
	border-right: 5px solid var(--bg-color);
	border-bottom: 8px solid transparent;
	border-left: 0;
}
.tooly.tooly-bottom:hover::before, button.tooly.tooly-bottom:focus::before {
	bottom: unset;
	top: calc(100% + 10px);
}
.tooly.tooly-bottom:hover::after, button.tooly.tooly-bottom:focus::after {
	bottom: unset;
	top: calc(100% + 5px);
	border-top: 0;
	border-right: 8px solid transparent;
	border-bottom: 5px solid var(--bg-color);
	border-left: 8px solid transparent;
}

.profile-photo {
  border: 2px solid #ccc;
  width: 100%;
  vertical-align: middle;
  max-width: 200px;
  max-height: 200px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 200px;
}
.profile-photo.thin {
  border-width: 1px;
}
.profile-photo.darkbg {
  border-color: #fff;
}
.profile-photo.responsive {
  width: 200px;
  height: auto;
  max-width: 100%;
  border-radius: 200px;
}
.profile-photo.sm {
  max-width: 40px;
  max-height: 40px;
  border-radius: 40px;
  border-width: 1px;
}
.profile-photo.xs {
  max-width: 25px;
  max-height: 25px;
  border-radius: 25px;
  border-width: 1px;
}

.form-control.danger {
  background-color: #f2dede !important;
}

.form-control-sm {
  height: 30px;
  font-size: 12px;
  line-height: 1.5;
}

.cropper-img-container {
  display: block;
  min-height: 497px;
}
.cropper-img-container img {
  max-width: 100%;
}

.cropper-ready {
  display: none;
}
.cropper-tools .btn:focus {
  background: #fff;
}
.cropper-tools .btn.active {
  background: #2A3F54;
  color: #fff;
}
.cropper-tools .btn-group {
  margin: 0 5px;
}

/*!
 * Cropper v3.1.3
 * https://github.com/fengyuanchen/cropper
 *
 * Copyright (c) 2014-2017 Chen Fengyuan
 * Released under the MIT license
 *
 * Date: 2017-10-21T10:03:37.133Z
 */

.cropper-container {
  direction: ltr;
  font-size: 0;
  line-height: 0;
  position: relative;
  -ms-touch-action: none;
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.cropper-container img {/*Avoid margin top issue (Occur only when margin-top <= -height)
 */
  display: block;
  height: 100%;
  image-orientation: 0deg;
  max-height: none !important;
  max-width: none !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 100%;
}

.cropper-wrap-box,
.cropper-canvas,
.cropper-drag-box,
.cropper-crop-box,
.cropper-modal {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.cropper-wrap-box,
.cropper-canvas {
  overflow: hidden;
}

.cropper-drag-box {
  background-color: #fff;
  opacity: 0;
}

.cropper-modal {
  background-color: #000;
  opacity: .5;
}

.cropper-view-box {
  display: block;
  height: 100%;
  outline-color: rgba(51, 153, 255, 0.75);
  outline: 1px solid #39f;
  overflow: hidden;
  width: 100%;
}

.cropper-dashed {
  border: 0 dashed #eee;
  display: block;
  opacity: .5;
  position: absolute;
}

.cropper-dashed.dashed-h {
  border-bottom-width: 1px;
  border-top-width: 1px;
  height: 33.33333%;
  left: 0;
  top: 33.33333%;
  width: 100%;
}

.cropper-dashed.dashed-v {
  border-left-width: 1px;
  border-right-width: 1px;
  height: 100%;
  left: 33.33333%;
  top: 0;
  width: 33.33333%;
}

.cropper-center {
  display: block;
  height: 0;
  left: 50%;
  opacity: .75;
  position: absolute;
  top: 50%;
  width: 0;
}

.cropper-center:before,
.cropper-center:after {
  background-color: #eee;
  content: ' ';
  display: block;
  position: absolute;
}

.cropper-center:before {
  height: 1px;
  left: -3px;
  top: 0;
  width: 7px;
}

.cropper-center:after {
  height: 7px;
  left: 0;
  top: -3px;
  width: 1px;
}

.cropper-face,
.cropper-line,
.cropper-point {
  display: block;
  height: 100%;
  opacity: .1;
  position: absolute;
  width: 100%;
}

.cropper-face {
  background-color: #fff;
  left: 0;
  top: 0;
}

.cropper-line {
  background-color: #39f;
}

.cropper-line.line-e {
  cursor: e-resize;
  right: -3px;
  top: 0;
  width: 5px;
}

.cropper-line.line-n {
  cursor: n-resize;
  height: 5px;
  left: 0;
  top: -3px;
}

.cropper-line.line-w {
  cursor: w-resize;
  left: -3px;
  top: 0;
  width: 5px;
}

.cropper-line.line-s {
  bottom: -3px;
  cursor: s-resize;
  height: 5px;
  left: 0;
}

.cropper-point {
  background-color: #39f;
  height: 5px;
  opacity: .75;
  width: 5px;
}

.cropper-point.point-e {
  cursor: e-resize;
  margin-top: -3px;
  right: -3px;
  top: 50%;
}

.cropper-point.point-n {
  cursor: n-resize;
  left: 50%;
  margin-left: -3px;
  top: -3px;
}

.cropper-point.point-w {
  cursor: w-resize;
  left: -3px;
  margin-top: -3px;
  top: 50%;
}

.cropper-point.point-s {
  bottom: -3px;
  cursor: s-resize;
  left: 50%;
  margin-left: -3px;
}

.cropper-point.point-ne {
  cursor: ne-resize;
  right: -3px;
  top: -3px;
}

.cropper-point.point-nw {
  cursor: nw-resize;
  left: -3px;
  top: -3px;
}

.cropper-point.point-sw {
  bottom: -3px;
  cursor: sw-resize;
  left: -3px;
}

.cropper-point.point-se {
  bottom: -3px;
  cursor: se-resize;
  height: 20px;
  opacity: 1;
  right: -3px;
  width: 20px;
}

@media (min-width: 768px) {
  .cropper-point.point-se {
    height: 15px;
    width: 15px;
  }
}

@media (min-width: 992px) {
  .cropper-point.point-se {
    height: 10px;
    width: 10px;
  }
}

@media (min-width: 1200px) {
  .cropper-point.point-se {
    height: 5px;
    opacity: .75;
    width: 5px;
  }
}

.cropper-point.point-se:before {
  background-color: #39f;
  bottom: -50%;
  content: ' ';
  display: block;
  height: 200%;
  opacity: 0;
  position: absolute;
  right: -50%;
  width: 200%;
}

.cropper-invisible {
  opacity: 0;
}

.cropper-bg {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
}

.cropper-hide {
  display: block;
  height: 0;
  position: absolute;
  width: 0;
}

.cropper-hidden {
  display: none !important;
}

.cropper-move {
  cursor: move;
}

.cropper-crop {
  cursor: crosshair;
}

.cropper-disabled .cropper-drag-box,
.cropper-disabled .cropper-face,
.cropper-disabled .cropper-line,
.cropper-disabled .cropper-point {
  cursor: not-allowed;
}
