/*
**  Styling and branding for lab portal
**  by Shawn Meunier
*/

body{
  background-color: #fff;
  background-repeat: no-repeat;
}
.header {
  background: black !important;
  color: #fff !important;
}
a.button, button, input[type=submit] {
  background-color: #367bd4;
}
a.button:hover, button:hover, input[type=submit]:hover {
background-color: #164ba4;
}

/***********************/
/* Custom login screen */
/***********************/

.login-ui .login-dialog-middle {
  background-color: #f0f0f0;
}

.login-ui .login-dialog {
  background-color: #fff;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 8px 0 rgba(0, 0, 0, 0.05);
}

.login-ui .login-dialog .logo {
  -webkit-background-size: 9em auto !important;
  width: 9em !important;
  height: 0;
  display: block;
  margin: .5em auto;
  background-repeat: no-repeat;
}

.webage-logo {
  background-image: url(app/ext/branding/images/WebAge_Logo_222x44.png) !important;
  height: 50px !important;
}

.exitcertified-logo {
  background-image: url(app/ext/branding/images/EC_Logo_222x29.png) !important;
  height: 40px !important;
}

.accelebrate-logo {
  background-image: url(app/ext/branding/images/Accelebrate_Logo_222x115.png) !important;
  height: 125px !important;
}
.ascendientlearning-logo {
  background-image: url(app/ext/branding/images/AL_Logo_222x86.png) !important;
  height: 125px !important;
}


/**********************************/
/* Custom nav bar on login screen */
/**********************************/

.page-tabs .page-list li a[href].current{
  background: #31731f !important;
  color: #FFFFFF !important;
}

.login-page-navigation {
  background: black !important;
  color: #fff !important;
  display: flex;
  align-items: center;
  height: inherit;
  max-width: unset;
  justify-content: right;
  padding-right: 60px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 44px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.50);
}

.login-page-navigation a:hover {
  background-color: #367bd4;
  color: white;
}

.login-page-navigation a {
  float: left;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  line-height: 12px;
  border-radius: 3px;
}

.login-ui.error p.login-error {
  top: 50px !important;
}

/****************************/
/** Custom VM Status Panel **/
/****************************/

div.home-connection{
    height: 22px;
    position: relative;
    overflow: hidden;
}

.expanded-connection{
    height: 141px !important;
}

/* Style the panel container */
.home-connection div.outter-box{
    width: 100%;
  }
  
 /* Style the vm controls */
 .home-connection div.vm-controls a svg {
    height:0.75em;
    margin-top: -4px;
    margin-right: 10px;
    padding: 0 3px;
 }
  
.home-connection div.vm-controls {
    overflow: hidden;
    border: 1px;
    border-style: solid;
    border-color: #f0f0f0;
    margin: -2px;
  }
  
  .home-connection div.vm-controls a {
    float: left;
    color: #000;
    text-align: center;
    padding: 6px 16px;
    text-decoration: none;
    font-size: 17px;
    border: 1px;
    border-style: solid;
    border-color: #f0f0f0;
  }
  
  .home-connection div.vm-controls a:hover {
    background-color: #ddd;
    color: black;
  }

  span.rdplink{
    padding: 4px 4px 2px 4px !important;
  }
  span.rdplink:hover{
    background-color: #367bd4;
    border-radius: 5px;
    color:white;
  }
  
  /* Style the status panel */
  .home-connection div.status-panel{
    display: flex;
  }
  
  .home-connection div.status-panel-left, .home-connection div.status-panel-right{
    margin:10px 0;
    width:40em;
    line-height: 1.2em;
  }
  
  .home-connection span.status-panel-attribute{
    padding: 10px;
    font-weight: bold;
  }

/* Style RDP instructions modal
* Modal container */
.home-view .rdp-modal:target:before {
  display: none;
}
.home-view .rdp-modal:before {
  content:"";
  display: block;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.home-view .rdp-modal .rdp-modal-content {
  background: #fefefe;
  border: #333333 solid 1px;
  border-radius: 5px;
  margin-left: -45%;
  position: fixed;
  left: 50%;
  z-index: 11;
  width: 90%;
  max-height: 80%;
  top: 10%;
  overflow: auto;
}
.home-view .rdp-modal-body {
  padding: 20px;
}
.home-view .rdp-modal-header, .rdp-modal-footer {
  padding: 10px 20px;
}
.home-view .rdp-modal-header {
  border-bottom: #eeeeee solid 1px;
}
.home-view .rdp-modal-header h2 {
  font-size: 20px;
}
.home-view .rdp-modal-footer {
  border-top: #eeeeee solid 1px;
  text-align: right;
}
.home-view .rdp-modal .btn-close {
  color: #aaaaaa;
  font-size: 30px;
  text-decoration: none;
  position: absolute;
  right: 5px;
  top: 0;
}
.home-view .rdp-modal .btn-close:hover {
  color: #919191;
}
.home-view .rdp-modal .rdp-modal:target:before {
  display: none;
}

.home-view .rdp-modal .btn {
  background: #428bca;
  border: #357ebd solid 1px;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  padding: 8px 15px 5px 15px;
  text-decoration: none;
  text-align: center;
  min-width: 60px;
  position: relative;
  transition: color .1s ease;
}
.home-view .rdp-modal .btn:hover {
  background: #357ebd;
}
.home-view .rdp-modal .btn.btn-big {
  font-size: 18px;
  padding: 15px 20px;
  min-width: 100px;
}

/* Style the lists  */
.page-tabs .page-list li a[href]:hover{
    background: #394d0f !important;
    color: #FFFFFF !important;
}
.page-list-level li  
.menu-dropdown{
    background: #979879 !important;
}
.home .list-item .caption{
    padding:0 !important;
}
.list-item:not(.selected) .caption:hover{
    background: #dce1ec !important; 
}
.list-item .name {
  color: black;
  font-weight: 400;
  padding: 0.1em;
  margin-left: 0.25em;
}
.recent-connections .connection:hover {
    background: #dce1ec  !important;
}

/* Style the menu */
.user-menu{
    background: black !important;
    color: black !important;    
}
.user-menu:hover{
    background: #367bd4 !important;
}
.menu-dropdown .ng-isolate-scope .open{
    background: #979879 !important;
}
.menu-dropdown .menu-indicator{
  filter: invert(100%);
}
.menu-dropdown .menu-title{
  filter: invert(100%);
}
.menu-dropdown.open, .menu-dropdown.open:hover{
  background: #367bd4 !important;
}
.menu-dropdown .menu-contents li a:hover {
  background-color: #c6d6f7;
}
.connection-list-ui .header .filter input {
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -khtml-border-radius: 0;
  border-radius: 4px;
  border: 1px;
  border-color: #aaa;
  border-style: solid;
  background-color: white;
}
.connection-select-menu{
  color:black;
}
.page-tabs .page-list li a[href].current {
background-color:#367bd4 !important;
}
.page-tabs .page-list li a[href]:hover {
  background-color:#569bf4 !important;
  color: #FFFFFF !important;
}

/* add support email on home screen */
div.connection-list-ui > :first-child > h2:first-of-type {
   flex: 0 0 14em !important;
}

.section-header-recent-connections-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
	  padding-right: 7em;
}

.section-header-recent-connections-middle a {
    color: white;
    text-align: center;
    margin: 4px;
    padding: 8px;
    text-decoration: none;
    line-height: 12px;
    border-radius: 3px;
}

.section-header-recent-connections-middle a:hover {
    background-color: #367bd4;
    color: white;
}





/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
