/* 
InsAgy Logo Colors
Dark Blue:  #025B92;
Light Blue: #338EC9
*/

html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f4f0ec;
}

body {
  color: #333;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* { border-radius: 0 !important;}

a {
  color: rgb(0, 100, 200);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: rgb(0, 80, 160);
}

label {
  display: block;
}

input,
button,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  -webkit-padding: 0.4em 0;
  padding: 0.4em;
  margin: 0 0 0.5em 0;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 2px;
}

input:disabled {
  color: #ccc;
}

button {
  color: #333;
  background-color: #f4f4f4;
  outline: none;
}

button:disabled {
  color: #999;
}

button:not(:disabled):active {
  background-color: #ddd;
}

button:focus {
  border-color: #666;
}

/* BootStrap Overrides */
.card-footer {
  border-top: none;
}

/* BootStrap Form Controls */
.form-floating {
  margin-bottom: 16px;
}
.form-floating>label {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
}
.invalid-feedback {
  position: absolute;
  top: -4px;
  right: 12px;
  text-align: right;
  font-size: 12px;
}
.btn-primary {
  color: #fff;
  background-color: #025B92;
  border-color: #025B92;
}
.btn-primary:hover {
  color: #fff;
  background-color: #338EC9;
  border-color: #338EC9;
}
.btn-check:focus+.btn-primary, .btn-primary:focus {
  background-color: #338EC9;
  border-color: #338EC9;
}
.form-check-input:checked {
  background-color: #025B92;
  border-color: #025B92;
}

/* ToolTips */
.input-info.qtip {
  height: 20px;
  width: 20px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  display: block;
  position: absolute;
  right: -5px;
  bottom: -5px;
  background-color: #338EC9;
  color: #fff;
  border-radius: 50% !important;
}

.qtip {
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #338EC9;
  box-sizing: border-box;
  font-style: normal;
  transition:all .25s ease-in-out
}
.qtip:hover {color:#000;}
/*the tip*/
.qtip:before {
  content: attr(data-tip);
  font-size: 14px;
  position: absolute;
  background: rgba(10, 20, 30, 1);
  color: #fff;
  line-height: 1.2em;
  padding: 0.5em;
  font-style: normal;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  min-width: 160px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out;
  font-family: sans-serif;
  letter-spacing: 0;
  font-weight: 400;
  z-index: 999;
}
.qtip:after {
  width: 0;
  height: 0;
  border-style: solid;
  content: '';
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out
}
.qtip:hover:before,
.qtip:hover:after {
  visibility: visible;
  opacity: 1
}
/*top*/
.qtip.tip-top:before {
  top: 0;
  left: 50%;
  transform: translate(-94%, calc(-100% - 8px));
  box-sizing: border-box;
}
.qtip.tip-top:after {
  border-width: 9px 0px 0px 13px;
  border-color: rgba(10, 20, 30, 1) transparent transparent transparent;
  top: -10px;
  left: 3px;
  transform: translate(-50%, 0);
  border-radius: 0;
}
/*bottom*/
.qtip.tip-bottom:before {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, calc(100% + 8px));
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-bottom:after {
  border-width: 0 8px 8px 8px;
  border-color: transparent transparent rgba(10, 20, 30, 0.85) transparent;
  bottom: -8px;
  left: 50%;
  transform: translate(-50%, 0);
}
/*left*/
.qtip.tip-left:before {
  left: 0;
  top: 50%;
  transform: translate(calc(-100% - 8px), -50%);
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-left:after {
  border-width: 8px 0 8px 8px;
  border-color: transparent transparent transparent rgba(10, 20, 30, 0.85);
  left: -8px;
  top: 50%;
  transform: translate(0, -50%);
}
/*right*/
.qtip.tip-right:before {
  right: 0;
  top: 50%;
  transform: translate(calc(100% + 8px), -50%);
  box-sizing: border-box;
  border-radius: 3px;
}
.qtip.tip-right:after {
  border-width: 8px 8px 8px 0;
  border-color: transparent rgba(10, 20, 30, 0.85) transparent transparent;
  right: -8px;
  top: 50%;
  transform: translate(0, -50%);
}


/* Spinner */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 17px;
}
.lds-ellipsis div {
  position: absolute;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50% !important;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* =============================== */
/* CUSTOM STYLES */
/* =============================== */

/* Left Nav */
.left-nav {
  width: 70px;
  min-height: 100vh;
  background-color: #fff;
  margin-left: -12px;
}
.left-nav .nav-item {
  display: block;
  text-indent: -500em;
  height: 70px;
  width: 70px;
  text-align: center;
  color: #999;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.left-nav .nav-pills .nav-link {
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 70px;
  height: 70px;
  display: block;
  margin: 0;
}
.left-nav .nav-pills .nav-link.active, 
.left-nav .nav-pills .show>.nav-link {
  background-color: #f4f0ec;
}
.left-nav .nav-pills .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.15);
}
.left-nav .nav-pills .nav-link.active:hover {
  background-color: #f4f0ec;
}
.left-nav .nav-icon {
  display: block;
  height: 70px;
  width: 70px;
  padding: 8px;
}

/* Page Nav */
.page-nav {
  margin: 15px 0;
}
.page-nav hr {
  margin: 14px 0;
}
.page-nav .nav-pills .nav-link {
  margin-bottom: 0;
}
.page-nav .nav-pills .nav-link.active, 
.page-nav .nav-pills .show>.nav-link {
  background-color: #338EC9;
}
.page-nav .nav-link:focus, 
.page-nav .nav-link:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Main Content Area */
.page-content {
  padding-bottom: 40px;
}
.page-content h3 {
  font-size: 36px;
  font-weight: 300;
  line-height: 42px;
  padding: 14px 0;
}