/* global  */
body {
	background-color: #fafafa;
	font-family: helvetica;
	
}

.tooltip > div {
  animation-name: delayedFadeIn;
  animation-duration: 1s; /* Adjust this duration */
}

/* collapse chevons */

[data-toggle="collapse"] .fa:before {  
  content: "\f106";
}

[data-toggle="collapse"].collapsed .fa:before {
  content: "\f107";
}

/* bug fixes and utils */

/* this fixes the z-index so drop menus can go over accordions, should be aplied to top containter of the menu */
.drop-menu-fix {
    z-index: 2;
} 


/* materil icon fixes */

.mdi::before {
    font-size: 24px;
    line-height: 14px;
}
.btn .mdi::before {
    position: relative;
    top: 4px;
}

span .mdi::before {
    position: relative;
    top: 4px;
}

span .mdi-18px::before {
    top: 2px;
}


a .mdi::before {
    position: relative;
    top: 2px !important;
}

.span .mdi::before {
    position: relative;
    top: 4px;
}


.input-group-prepend .mdi::before {
    position: relative;
    top: 4px;
}

.badge .mdi::before {
    position: relative;
    top: 4px;
}

.btn .mdi::before {
    font-size: 18px;
    top: 0px;
}

.btn-sm .mdi::before {
    font-size: 18px;
    top: 3px;
}

.btn-xs .mdi::before {
    font-size: 18px;
    top: 3px;
}

.dropdown-menu .mdi {
    width: 18px;
}
.dropdown-menu .mdi::before {
    position: relative;
    top: 4px;
    left: -8px;
}
.nav .mdi::before {
    position: relative;
    top: 4px;
}
.navbar .navbar-toggle .mdi::before {
    position: relative;
    top: 4px;
    color: #FFF;
}

.breadcrumb .mdi::before {
    position: relative;
    top: 4px;
}
.breadcrumb a:hover {
    text-decoration: none;
}
.breadcrumb a:hover span {
    text-decoration: underline;
}

.alert .mdi::before {
    position: relative;
    top: 4px;
    margin-right: 2px;
}
.input-group-addon .mdi::before {
    position: relative;
    top: 3px;
}
.navbar-brand .mdi::before {
    position: relative;
    top: 2px;
    margin-right: 2px;
}
.list-group-item .mdi::before {
    position: relative;
    top: 3px;
    left: -3px
}



/* bootstrap extendened classes */

.btn-rounder {
	border-radius: 20px !important;
	
}

.btn-rounder-dashed {
	border-radius: 20px !important;
	border: dashed 1px;	
}

.status-pill {
  background-color: #EAEAEA;
  border: 1px solid rgba(0, 0, 0, 0.16);
  
}

.note-add-btn {
    position: relative;
    left: 45px;
    top: -55px;  
}


/*                      */
/* bootstrap overrides */
/*                    */

/* buttons */

.btn {
	border-radius: 5px;	
}

/* breadcrumbs */

.breadcrumb {
  background-color: #FFFFFF;
  height: 28px;
}

.breadcrumb li {
/*   line-height: 4px; */
  font-size: 12px;
}

.breadcrumb-body {
     padding-bottom: 10px;   
}

changeYearDropdown {
 padding-left: none;   
}

.breadcrumb-item .changeSiteDropdown, 
.breadcrumb-item .changeYearDropdown {
    color: #007bff;
    border: none;
    line-height: 12px;
    font-size: 12px;
    /* chrome fixes  */
    -webkit-appearance: none;
    background: none;
}




/* datatables */

table.dataTable tbody td {
  vertical-align: middle;
} 

table.dataTable tbody tr:hover {
  cursor: hand;
} 


/* cards */

/* drop shadows - thise needs to be in theme */
.card {
  filter: drop-shadow(0px 1px 3px rgba(0,0,0, 0.1));
/*   border-radius: 4px;  */
}

.card-flat {
  filter: none !important;
  
}

/* login */

.form-signin {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  margin: auto;
  margin-top: 40%;
  text-align: center;
  height: 400px;
}


/* nav bar menu */

.navbar-dark {
    
    background-color: #2B2B2B !important;
}

.navbar-dark a{
    color: white !important;
}

.navbar-dark a:hover{
    
    text-decoration: none;
    color: rgba(255,  255,  255, 0.82) !important;
}


body > nav.navbar.navbar-dark.bg-dark > div:nth-child(2) > div > div > a{
    color: black !important;
    
}

 
.navbar-dark .navbar-toggler {
  border: none;
  color: rgba(204, 52, 52, 1); /* this isn't working */
}

.navbar #globalSearchForm {
    width: 60%;
}

.navbar #globalSearchForm input {
    background-color: #666365;
    border-color: #666365;
}

.navbar #globalSearchForm .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.navbar #globalSearchForm .form-control:-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.navbar #globalSearchForm .form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.navbar #globalSearchForm input:focus {
    background-color: #f2f2f2;
    
}

.navbar #globalSearchForm input:focus .form-control::-webkit-input-placeholder {
    color: black !important;
}

/* custom elements */

#canvas {
  max-width: 1300px;
  
}

#student-panel-holder {
    min-height: %50;
}

/* custom clasess */

.label {
  color: rgba(0, 0, 0, 0.64);
  
}

.privOverlay {
   position: absolute;
   width: 100%;
   height: 100%;
   overflow: hidden;
   z-index: 100;  
}

.loadingOverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.63);
    z-index: 100;
    filter: blur(5px);      
}

.loadingOverlayContent {
    filter: none !important;
    position: relative;      
}


/* Pills */

.attendancePill strong,
#ragPill strong {
   font-weight: normal !important;
}


.attendancePill,
#ragPill {
    line-height: 1;    
}



.attendancePill::after,
#ragPill::after {
    float: right;
    margin-top: 5px;
 
}

/*  notes on student page  */

#genNoteCollapse .card-body {
    max-height: 400px;    
}

#regNoteCollapse .card-body {
    max-height: 400px;    
}


/* strong { font-weight: normal; }      */


/*////////////////////////////////////////////////////////////////////////////*/

/* taken from phins traffic light text classes */

/*////////////////////////////////////////////////////////////////////////////*/

                
.trafficLightGreen {
    color: #28a745;
}
                
.trafficLightAmber {
    color: #ffc107;
}
                
.trafficLightRed {
    color: #dc3545;
}

/* overrides phins text classes for pills */

.attendancePill .trafficLightRed, 
.attendancePill .trafficLightAmber,
.attendancePill .trafficLightGreen {
    color: white !important;
}

/*////////////////////////////////////////////////////////////////////////////*/

/* PLAX Override phins Classes */

/*///////////////////////////////////////////////////////////////////////////*/

.PLAXcell {
    padding: 5px 3px 5px 3px;
    width: 10px;
}


.PLAXcolorP_bgDark {
    background-color: #d4edda;    
}

.PLAXcolorL_bgDark {
    background-color: #fff3cd;    
}

.PLAXcolorA_bgDark {
    background-color: #a1baa7;
}

.PLAXcolorX_bgDark {
    background-color: #f8d7da;
}

.PLAXcolorN_bgDark {
   background-color:  #d6d8d9; 
}

.PLAXcolorR_bgLight {
   background-color:  #e2e3e5; 
}

.PLAXcolorP_bgLight {
		background: #ebffeb;
		}

.PLAXcolorL_bgLight {
		background: #ffffeb;
		}

.PLAXcolorA_bgLight {
		background: #ebffeb;
		}

.PLAXcolorX_bgLight {
		background: #ffebeb;
		}

.PLAXcolorR_bgLight {
		background: #e0e0e0;
		}

/*////////////////////////////////////////////////////////////////////////////*/

/* avatar */

.avatar-circle {
      width: 96px;
      height: 96px;
      background-color: #6c757d;
      text-align: center;
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
}
 
            
.initials {
      position: relative;
      top: 22px; /* 25% of parent */
      font-size: 50px; /* 50% of parent */
      line-height: 50px; /* 50% of parent */
/*       color: #fff; */
/*       font-weight: 100; */
}

.avatar-circle-sm {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
}

.avatar-circle-sm .initials{
    font-size: 20px !important;
    top: 13px;
    left: 0px;
    line-height: 22px;
}

.avatar-circle-xs {
      width: 25px;
      height: 25px;
      border-radius: 50%;
      -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
}

.avatar-circle-xs .initials{
    font-size: 10px;
    top: 7px;
    right: -4px;
    line-height: 11px;    
}



/* student info panel  --need to change this may want to move this into classes */ 

#student-info .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-link:hover {
	border: 0 ;
	border-bottom: 1px solid #6200EE !important;
	background-color: rgba(255, 255, 255, 0);
	color: #6200EE;
}

#student-info .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
	
	color: #495057;
}

#student-info .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover {
	border: 0 ;
	color: #6200EE;
	border-bottom: 1px solid #6200EE !important;
}


/* this is a hack need to look at the theme */  
#student-info.card { 
	background-color: #f5f5f5 !important;
}

#reg-info.card { 
	background-color: #f5f5f5 !important;
}



.panel-header {
/*     min-height: 164px; */
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
	background-color: #DFDFE0; 
    
}



/*  student filter header */

#filter-header .card-body {
    padding: 0.40rem;
    
}

/* groups info panel  -- we should move this into classes */ 

#sisPanelHolder {
    max-width: 400px;
        
}


#groupsPanel.card-header.panel-header {
    height: 120px !important;
}


/* side menu */ 

/* Toggle Styles */

#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 320px;
}

#sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 320px;
    z-index: 1000;
    overflow-y: auto;
    margin-left: -320px;
    width: 0;
    height: 100%;
    background: #FAFAFA;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled #sidebar-wrapper {
    width: 320px;
}

#page-content-wrapper {
    padding: 15px;
    width: 100%;
}

#wrapper.toggled #page-content-wrapper {
    position: fixed;
    margin-right: -320px;
}

/* Sidebar Styles */

#side-bar-header {
    background-color: #A33C9B;
    min-height: 152px;
    margin-bottom: 20px;
    
}

.sidebar-nav {
    margin: 0;
    padding: 0;
    width: 320px;
    list-style: none; 
    padding-left: 10px;       
}

.sidebar-nav li {
/*     text-indent: 20px; */
    line-height: 40px;
}

.sidebar-nav li.nav-item {
    line-height: 40px;
    text-align: left !important;
}

.sidebar-nav li i {
    margin-right: 12px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #212529;

}

.sidebar-nav li a:hover {
/*     background: rgba(9, 9, 9, 0.51); */
    color: rgba(0,  0,  0, 0.7);
    text-decoration: none;
    border: none !important;
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 65px;
    font-size: 18px;
    line-height: 60px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999999;
}

.sidebar-nav > .sidebar-brand a:hover {
    background: none;
    color: #fff;
}

/*
@media (min-width: 768px) {
    #wrapper {
        padding-left: 320px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 320px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        padding: 20px;
    }

    #wrapper.toggled #page-content-wrapper {
        position: relative;
        margin-right: 0;
    }
}
*/

/* animations */

.animated {
           
            -webkit-animation-duration: 10s;
            animation-duration: 10s;
            -webkit-animation-fill-mode: both;
            animation-fill-mode: both;
         }
         
         @-webkit-keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity: 1;}
         }
         
         @keyframes fadeIn {
            0% {opacity: 0;}
            100% {opacity: 1;}
         }
         
         .fadeIn {
            -webkit-animation-name: fadeIn;
            animation-name: fadeIn;
         }



@Keyframes delayedFadeIn {
  0% {opacity: 0;}
  75% {opacity: 0;} /* Set this to 99% for no fade-in. */
  100% {opacity: 1;}
}
