/** 
 * Information Services Landing Page: Main Stylesheet
 * by Stephen Christopher | Information Servicess
 * (c) 2018 University of Portsmouth
 */

html,
body {
  /*overflow-x: hidden;*/ /* Prevent scroll on narrow devices */ 
  background: #f6f6f6 url(../images/bg.jpg);  
}

html {
  
}


body {
  padding-top: 100px;
}

a.anchor {
    display: block;
    position: relative;
    top: -140px;
    visibility: hidden;
}

@media (max-width: 767.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    background-color: var(--gray-dark);
    transition: -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  .offcanvas-collapse.open {
    -webkit-transform: translateX(-1rem);
    transform: translateX(-1rem); /* Account for horizontal padding on navbar */
  }
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-link {
  transition: 0.3s;
}

@media (max-width: 767px) {

  .nav-link {
    padding: 0.5rem 0.8rem;
  }

}

.nav-underline .nav-link {  
  padding: 0.75rem 0.4rem 0.75rem 0.4rem;
  font-size: .875rem;
  font-weight: 500;
  color: #621360;
  letter-spacing: 0.3px;
  display: inline-block;
  text-decoration:none
}

@media (min-width: 768px) {
  .nav-underline .nav-link {  
    padding: 0.75rem 1rem 0.75rem 1rem;
  }
}


/*.hb-chat {
  display: none!important;
}*/

.nav-underline .nav-link:hover {
  color: #3c023c;
  background-color: #f3f1f7;
}

/*.nav-underline .nav-link:after {
  color: #3b1b7d;  
  content: "";
  display: block;
  width: 0;  
  margin: 0 auto;
  transition:all 0.2s linear 0s;  
  border-bottom: 3px solid #eae7f1;
}

.nav-underline .nav-link:hover:after {
   width: 100%;
 }*/

.nav-underline .active {
  font-weight: 500;
  color: var(--gray-dark);
}

.text-white-50 { color: rgba(255, 255, 255, .5); }

.bg-purple { background-color: var(--purple); }

.border-bottom { border-bottom: 1px solid #e5e5e5; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-100 { line-height: 1; }
.lh-125 { line-height: 1.25; }
.lh-150 { line-height: 1.5; }
.lh-175 { line-height: 1.75; }

.avatar {
  position: relative;
  border: 1px solid #ddd;
  padding: 5px;
  background: #fff;
  border-radius: 3px;  
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.modal-body {
  background-color: #f6f6f6;
}

.bg-purple {
  background-color: #621360!important;
}

/**
 * ---------------------------------------------------------
 *
 * Top nav
 *
 * ---------------------------------------------------------
 */

.navbar {
  height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-brand {
    /*height:auto;
    padding-left: 10px;
    padding-top: 10px;
    padding-right: 5px;*/
    margin-right: 0;
    font-weight: 500;
}

.navbar-brand img {

}

.navbar-image {
    position: relative;
    top: 0px;
    left: 5px;
    padding-top: 0;    
    letter-spacing: 1px;   
}

@media (min-width: 768px) {
  .navbar-image {
    padding-right: 25px;
  }
}

.navbar-userimg {
    position:absolute;
    top: 4px; 
    right: 13px;
    border-radius: 49%;
    /*border-radius: 3px;*/
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;  
}

.navbar-header { padding-left: 10px; width: 100%; }
.navbar-right { margin-right: 0px; }
/*#main-container.open #alt-nav .navbar-right { margin-right: 280px; }*/

.second-nav {
  position: fixed;
  top: 56px;
  width: 100%;
  border-bottom: 1px solid #ece2ff;
}

.nav-underline .active {
  background-color: #f8f8f8;
}

.lookup-menu-button {
    /*margin-left: -50px;*/
    margin-top: 0;
    padding: 0;
    float: left;
}

.top-form {
  box-shadow: 0 2px 10px 2px rgba(200,200,200,.5);
  background-color: #fff;
}

.tab-content {
  height: auto;
  position: relative;
  min-height: 100px;
  overflow: auto;
  width: 100%;
}

/**
 * ---------------------------------------------------------
 *
 * Media tweaks
 *
 * ---------------------------------------------------------
 */

.media {
  position: relative;
  /*border-top:1px solid #fff;*/
  border-bottom:1px solid #ddd;
}

.media:hover {
  background-color: #eee;
}

.media.active {
  /*border: 2px solid #ccc;  */
  background: #007bff;
  color: #fff;
}

.media.active .text-muted {
  color: #fff!important;
}

.myport-tickets h6 {
  font-size: 14px;
}

.myport-tickets .fa {
  width: 16px;
  text-align: center;
}

.myport-tickets h5 .fa {
  width: 18px;
}

.myport-ticket-open {

}

.myport-ticket-closed {
  background-color: #f8f8f8;
}

.myport-ticket-escalated {
  background-color: #ffffe0; 
}

.myport-ticket-escalated:hover {
  background-color: #ffffd4; 
}

.myport-ticket-escalated-flag {
  position:absolute;right:5px;top:5px;
}

.myport-ticket-open.myport-ticket-escalated .badge-primary {
  background-color: #dc3545;
}

.myport-ticket-closed .badge-primary {
  background-color: #aaa;
}

.myport-ticket-closed p,
.myport-ticket-closed small {
  color: #aaa;
}

.myport-ticket-closed img {
  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
          filter: grayscale(100%);
  opacity: 0.5;
}

.myport-ticket-closed a {
  color: #aaa;
} 

.myport-ticket-closed a:hover {
  color: #888;
}

.customer-avatar {
  position: relative;
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
  border-radius: 3px;  
  margin: 0 auto;
  margin-top: -10px;
  text-align: center;
  box-shadow: 0 0 5px rgba(0,0,0,.15);
}

.customer-avatar::after {
  position: absolute;
  content: " ";
  top: -24px;
  left: 15px;
  width: 44px;
  height: 101px;
  background: url(../images/paperclip.png) left top no-repeat;
}

/**
 * ---------------------------------------------------------
 *
 * Preloader
 *
 * ---------------------------------------------------------
 */

.preloader-outer {
  display: inline-block; position: absolute; top: 50%; left: 50%; margin: -60px 0 0 -72px; width: 144px; height: 120px; background: #ffffff; border-radius: 10px; box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);}
.preloader-outer .wait { text-align: center; font-weight: bold; padding-top: 25px;}
.preloader { display: inline-block; position: absolute; top: 50%; left: 50%; margin: -18px 0 0 -18px; width: 36px; height: 36px; -webkit-animation: container-rotate 1568ms linear infinite; animation: container-rotate 1568ms linear infinite; }
.preloader-outer .preloader { margin-top: -5px; }
.preloader .spin { position: absolute; width: 100%; height: 100%; opacity: 1; -webkit-animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; animation: fill-unfill-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; border-color: #0099cc; }
.preloader .circle { border-radius: 50%; }
.preloader .gap { position: absolute; top: 0; left: 45%; width: 10%; height: 100%; overflow: hidden; border-color: inherit; }
.preloader .gap .circle { width: 1000%; left: -450%; }
.preloader .clip { display: inline-block; position: relative; width: 50%; height: 100%; overflow: hidden; border-color: inherit; }
.preloader .clip .circle { width: 200%; height: 100%; border-width: 3px; border-style: solid; border-color: inherit; border-bottom-color: transparent !important; border-radius: 50%; -webkit-animation: none; animation: none; position: absolute; top: 0; right: 0; bottom: 0; }
.preloader .clip { display: inline-block; position: relative; width: 50%; height: 100%; overflow: hidden; border-color: inherit; }
.preloader .clip.left .circle { -webkit-animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; animation: left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
.preloader .clip.right .circle { -webkit-animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; animation: right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both; }
.preloader .clip.left .circle { left: 0; border-right-color: transparent !important; -webkit-transform: rotate(129deg); transform: rotate(129deg); }
.preloader .clip.right .circle { left: -100%; border-left-color: transparent !important; -webkit-transform: rotate(-129deg); transform: rotate(-129deg); }

@-webkit-keyframes container-rotate { to { -webkit-transform: rotate(360deg); } }
@keyframes container-rotate { to { transform: rotate(360deg); } }
@-webkit-keyframes fill-unfill-rotate { 12.5% { -webkit-transform: rotate(135deg); } 25% { -webkit-transform: rotate(270deg); } 37.5% { -webkit-transform: rotate(405deg); } 50% { -webkit-transform: rotate(540deg); } 62.5% { -webkit-transform: rotate(675deg); } 75% { -webkit-transform: rotate(810deg); } 87.5% { -webkit-transform: rotate(945deg); } to { -webkit-transform: rotate(1080deg); } }
@keyframes fill-unfill-rotate { 12.5% { transform: rotate(135deg); } 25% { transform: rotate(270deg); } 37.5% { transform: rotate(405deg); } 50% { transform: rotate(540deg); } 62.5% { transform: rotate(675deg); } 75% { transform: rotate(810deg); } 87.5% { transform: rotate(945deg); } to { transform: rotate(1080deg); } }
@-webkit-keyframes left-spin { from { -webkit-transform: rotate(130deg); } 50% { -webkit-transform: rotate(-5deg); } to { -webkit-transform: rotate(130deg); } }
@keyframes left-spin { from { transform: rotate(130deg); } 50% { transform: rotate(-5deg); } to { transform: rotate(130deg); } }
@-webkit-keyframes right-spin { from { -webkit-transform: rotate(-130deg); } 50% { -webkit-transform: rotate(5deg); } to { -webkit-transform: rotate(-130deg); } }
@keyframes right-spin { from { transform: rotate(-130deg); } 50% { transform: rotate(5deg); } to { transform: rotate(-130deg); } }


/**
 * ---------------------------------------------------------
 *
 * Callouts
 *
 * ---------------------------------------------------------
 */
.bd-callout {
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
    border: 1px solid #eee;
    background-color: #fff;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-top: 0;
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-color: #5bc0de
}

.bd-callout-info {
    color: #5bc0de
}

.bd-callout-warning {
    border-color: #f0ad4e
}

.bd-callout-warning {
    color: #f0ad4e
}

.bd-callout-danger {
    border-color: #d9534f
}

.bd-callout-danger {
    color: #d9534f
}


/**
 * ---------------------------------------------------------
 *
 * Forms
 *
 * ---------------------------------------------------------
 */

.form-search input,
.form-search select {
  font-size: 14px;
  height: 38px;
}

.form-ticket input[type="submit"] {
    min-width: 80px;
}

.form-control:disabled {
  color: #6c757d!important;
}

.ticket-success-dialog {
    position: absolute; top: 50%; left: 50%; margin: -60px 0 0 -150px; width: 300px; height: auto; background: #ffffff; border-radius: 10px; box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2); padding: 20px; text-align: center;

}

.custom-checkbox label,
.custom-radio label {
  padding-top: 2px!important;
}

.table th {
  text-transform: uppercase;
  font-size: 13px;
}

.table td {
  vertical-align: middle;
  font-size: 13px;
}

.modal .tab-adduser {
    border: none;
    border-top: 1px solid #ddd;
    padding: 15px;
}

@media (min-width: 576px) {
  .modal .tab-adduser {
    border: none;
    border-left: 1px solid #ddd;
  }
}

.card-block .fa {
  width: 16px;
  text-align: center;
}

.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.1);
    transition: 0.3s;
    color: initial;
}

.card-buttons .card-body {
  padding: 0 1.25rem 1.25rem;
}

/* On mouse-over, add a deeper shadow */
a.card:hover {
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);    
    text-decoration: none;  
    border: 1px solid #59379e;     
}

a.card img {
  opacity: 0.8;
  transition: 0.3s;
}

a.card:hover img {
  opacity: 1;
}

.svg-inline--fa {
    width: 1.2em!important;
}

.hb-no-catalogs {
  display: none;
}

.hb-catalog-section h6 {
  letter-spacing: 0.5px;
  font-weight: 500;
  color: #333;
}

.card-deck {
  margin-bottom: 0!important;
}

@media (min-width: 576px) {

  .hb-service {
    max-width: 30%;
  }

  .card-deck {
    margin-bottom: 1rem!important;
  }

}

.hb-service .card-header {
  background-color: #f3edff;
}

.hb-service .card-title {   
  color: #6c757d;
  font-weight: 500;
  transition: 0.3s;
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0;
}

.hb-service .fa {
  position: absolute;
  top: 1px;
  left: 0;
}

.hb-service:hover {
   border-color: #59379e;
}

.hb-service:hover .card-title {
  color: #59379e;
} 

.hb-service:hover p {
  color: #7c64af!important;
} 

/**
 * ---------------------------------------------------------
 *
 * Carousel
 *
 * ---------------------------------------------------------
 */

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
  -webkit-transform-style: preserve-3d;
     -moz-transform-style: preserve-3d;
          transform-style: preserve-3d;
  z-index: 10;  
}

.carousel-caption h1 {
  line-height: 1;
  font-size: 2rem;
}

@media (min-width: 768px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
}

.carousel-caption a {
  color: #ddd;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 15rem;
  background-color: #777;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 15rem;
}

/**
 * ---------------------------------------------------------
 *
 * Breadcrumb
 *
 * ---------------------------------------------------------
 */

 .breadcrumb {
    background-color: #ffffff;
    border: 1px solid #f3edff;
 }


/**
 * ---------------------------------------------------------
 *
 * Tables
 *
 * ---------------------------------------------------------
 */

.table-ss-key td {
  padding: 0.55rem;
}

/**
 * ---------------------------------------------------------
 *
 * Service Status
 *
 * ---------------------------------------------------------
 */

 #ssInfo {
  border-radius:0;
  text-align:center;
}

 #servicestatus a {
    color: #888;
 }

/**
 * ---------------------------------------------------------
 *
 * Footer
 *
 * ---------------------------------------------------------
 */

.page-footer {    
    padding-top: 0;
    padding-bottom: 20px!important;
    background-color: #343a40;
    color: #aaa;       
}

.page-footer h6 {
  color: #888;
}

.page-footer a {
  color: #fff;
  display: block;
}

.page-footer a.external {    
    /*background: url(../images/external_link.png) no-repeat left 0;
    padding-left: 24px;*/
}

.page-footer .footer-copyright {   
    padding-top: 3px;
    padding-bottom: 3px;
    text-align:left;
}

@media screen and (max-width: 767px) {
    .page-footer {
        text-align: center;
    }
}

