﻿.text-themecolor {
    color: #006595 !important;
}

.topbar {
    background: linear-gradient(to right, #006595 0%, #0090d4 100%);
}

.topbar .top-navbar {
    min-height: 50px;
}

.topbar .top-navbar .navbar-header,
.topbar .top-navbar .navbar-header .navbar-brand b {
    line-height: 50px;
}

.topbar .top-navbar .navbar-nav > .nav-item > .nav-link {
    line-height: 35px;
}


@media (min-width: 768px) {
    .navbar-header {
        width: 210px;
    }
}

.navbar-header .mobile-logo {
    height: 35px;
}

.navbar-header .logo {
    height: 28px;
    width: auto;
}

@media (max-width: 1168px) {
    .navbar-header .logo {
        display: none;
    }
}

@media (min-width: 1169px) {
    .navbar-header .mobile-logo {
        display: none;
    }
}

.topbar .top-navbar .navbar-header .navbar-brand b img {
    height: 25px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #006595;
}

a.nav-link {
    color: #006595;
}

a.nav-link:hover {
    color: #007bff;
}

/* Helps center the tool tips better */
.tooltip {
    top: 0;
}

.truncate-text {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.truncate-text.login-partial-text {
  max-width: 140px;
}

.login-register-bg {
    background-image: url(../images/login-register.jpg);
}

.login-register-bg-ifhe {
    background-image: url(../images/ifhe-login-register.png);
}

.splash-page {
    font-family: "Arial";
    padding-top: 3em;
    margin: 0 auto;
}

.splash-page__signin {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
}

.splash-page__company-wrapper {
  max-width: 415px;
  height: auto;
  background: url("../images/login-register_large_blur_edited.jpg") no-repeat fixed;
  background-position: 0 70px; /* bump down the blurred backround the amount of the navbar */
}

.splash-page__company {
  border: 6px solid white;
  width: 100%;
  height: auto;
  padding: 0.8rem 1rem 0.8rem;
}

.splash-page__company img {
  width: 100%;
  height: auto;
}

.splash-page__company h1 {
  font-weight: 500;
  color: white;
  margin-bottom: 0;
}

.splash-page__lead {
  color: white;
  font-size: 1.5em;
  font-weight: 300;
}

.splash-page__products {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(110px, 1fr) auto minmax(110px, 1fr) auto minmax(110px, 1fr) auto minmax(110px, 1fr);
  grid-template-rows: auto;
  grid-template-areas:
    "product product product product product product product product product"
    "product-info product-info product-info product-info product-info product-info product-info product-info product-info";
  grid-gap: 0.7rem;
  background: whitesmoke;
  border-radius: 4px;
  margin: 1rem 0 -1.5rem 0;
  padding: 0.5rem 0.7rem 2rem 0.7rem;
  color: slategrey;
  max-width: 880px;
}

.splash-page__products .product {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.splash-page__products .product a {
    color: slategray;
    font-weight: 300;
}

.splash-page__products .product a:link {
  color: slategray;
}

.splash-page__products .product a:hover {
  color: skyblue;
}

.splash-page__products i,
.splash-page__products img {
  display: block;
  cursor: pointer;
}

.product-info {
  grid-area: product-info;
  margin-left: -15px;
  margin-right: -15px;
}

/* Animation when product-info divs expand and collapse */
.collapsing {
  -webkit-transition: all .3s ease-out;
  -o-transition: all .3s ease-out;
  transition: all .3s ease-out;
}

.product-info .card {
  margin-left: 5px;
  margin-right: 2px;
}

.product-info hr {
  margin: 0 0 0 .5em;
}

.product-info .card {
  margin-bottom: 0;
}

.m-square-icon {
  width: 50%;
  height: auto;
}

.product-line {
  border-left: 2px solid lightslategray;
  width: 0;
  height: 3.2rem;
  margin: 0.8em 0 0 0;
  padding: 0;
}

.sign-in-btn {
  border-radius: 25px;
}

.sign-in-btn i {
  font-size: 1rem;
  padding: 0 0 0 .4em;
}

.sign-in-btn:hover {
  opacity: 0.9;
}

.splash-page__welcome .card {
  margin: 0 auto;
  background-color: whitesmoke;
  color: slategray;
  max-width: 650px;
}

.accordion-close-icon {
  font-size: 1.3rem;
}

.login-box .logo {
    height: 35px;
}

.login-box .logo-ifhe {
    height: 70px;
}

.poweredby {
    margin-top: 20px;
    color: #000;
    font-size: 12px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .product-line {
    height: 2.2rem;
  }
}

@media only screen and (min-width: 571px) and (max-width: 767px) {
  .m-square-icon {
    width: 70%;
    height: auto;
  }

  .splash-page__products i.fa-user-o {
    font-size: 2.3rem;
    padding: 1.1rem 0.5rem .6rem;
  }

  .splash-page__welcome .card {
    max-width: 450px;
  }

  .splash-page__products {
    grid-template-columns: minmax(94px, 1fr) auto minmax(94px, 1fr) auto minmax(94px, 1fr) auto minmax(94px, 1fr) auto minmax(94px, 1fr);
  }

  .product-link {
    font-size: .9rem;
  }
}

@media only screen and (max-width: 570px) {
  .splash-page__company-wrapper {
    width: 100%;
  }

  .splash-page {
    width: 90%;
  }

  .sign-in-btn {
    font-size: 1em;
  }

  .splash-page__welcome {
    width: 100%;
  }

  .splash-page__products {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "product product"
      "product product"
      "product product"
      "product-info product-info";
    margin-bottom: 50px;
  }

  .product-info .card {
    margin-left: 5px;
    margin-right: 5px;
  }

  .product-info hr {
    margin-left: 1em;
    margin-right: 1em;
  }

  .m-plus-icon {
    width: 50%;
    height: auto;
  }
}

/* Profile Photo */

.profile-photo-container .card-body {
    margin: 0 auto;
    text-align: center;
}

.profile-photo-container .card-body h4 {
    color: #54667a;
    margin-bottom: 15px;
}

.profile-photo-container img {
    background-color: #eee;
    border: 1px solid #cccccc;
    border-radius: 6px;
}

.profile-photo-container .img-social {
    width: 235px;
    height: 235px;
}

.profile-photo-container .img-professional {
    width: 170px;
    height: 235px;
}

.profile-photo-container .alert-warning, .profile-photo-container .alert-success {
    display: block;
    margin-bottom: 1rem;
}

.profile-photo-container .alert-dismissible .close {
    padding-bottom: 0px;
}

.profile-photo-container .card-body .alert {
    font-size: 14px;
    margin: 30px 20px 10px 20px;
    padding: 10px 15px;
    text-align: left;
}

.img-container img {
    max-width: 100%;
    cursor: pointer;
}

.modal-img-container img {
    max-width: 100%;
}

.bootbox .modal-header, .bootbox .modal-footer {
    margin: 0px 5px;
    padding: 1rem .5rem;
}

.avatar-circle {
    border-radius: 50%;
    height: 30px;
    width: auto;
}

.topbar ul.dropdown-user li .dw-user-box .u-img img {
    background-color: #eee;
}