/* global body padding */
body {
  padding-top:    20px;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  body {
    padding-top:    50px;
    padding-bottom: 50px;
  }
}

/* Print */
@media only print {
    * {
        background-color: #fff;
        color: #000!important;
    }
    body {
        background:none;
        color: #000;
    }
    .noprint {
        display: none;
    }
    .printonly {
        display: block;
    }
}

@media screen {
    .printonly {
        display: none;
    }
}


/* global spacing overrides */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
}
hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

.navbar-fixed-top,
.navbar-static-top {
  border-bottom: 0;
}

.ng-invalid.ng-dirty {
  border-color: #FA787E;
}

.ng-valid.ng-dirty {
  border-color: #78FA78;
}

/*.ng-empty {
  border-color: transparent!important;
}*/

/* NG switch animations */

.animate-switch-container {
  position:relative;
  /*background:white;
  border:1px solid black;
  height:40px;*/
  overflow:hidden;
}

.animate-switch {
  padding:10px;
}

.animate-switch.ng-animate {
  transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}

.animate-switch.ng-leave.ng-leave-active,
.animate-switch.ng-enter {
  top:-50px;
}
.animate-switch.ng-leave,
.animate-switch.ng-enter.ng-enter-active {
  top:0;
}


/*Student certificates*/

.student-certificate button {
  margin-bottom:10px;
}

.student-certificate h1 {
  font-size:4em;
}

.pk-sortable-table th {
  cursor: pointer; 
}

/*Collapsable elements */

.collapsable {
  height:100%;       
}
.collapsable .hideMe {
  display: inline-block;
  overflow: hidden;
  height: 0;
  transition: height 1s;
  -webkit-transition: height 1s;        
  -moz-transition: height 1s;        
  -o-transition: height 1s; 
}

/* File Upload */
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}


/* Admin thumbnails */

.thumbnail.right-caption > img {
    float: left;
    margin-right: 9px;
}

.thumbnail.right-caption {
    float: left;
}

.thumbnail.right-caption > .caption {
    padding: 4px;
}

.ellipsis {
    white-space: nowrap;  
    overflow: hidden;  
    text-overflow: ellipsis;  
}

.flag-red {
  color: #e64759;
}

.flag-blue {
  color: #5dc0f7; 
}


li a.active, li a.active:hover, li a.active:focus {
  color: #ffffff;
  background-color: #1ca8dd;
}




/* Angular UI - datepicker */

.full button span {
  background-color: limegreen;
  border-radius: 32px;
  color: black;
}
.partially button span {
  background-color: orange;
  border-radius: 32px;
  color: black;
}

.fadein, .fadeout {
    opacity: 0;
    -moz-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
}
.fadein {
    opacity: 1;
}
.hoverable {
  background-color: #fff; cursor: none;
}
.hoverable:hover {
  background-color: #ccc; cursor:pointer;
}

/* Quick hack so datepicker appears ok */
.glyphicon-chevron-left:before {
  /* content: "\EA43"; */
  content: "<";
}
.glyphicon-chevron-right:before {
  /*content: "\EA44";*/
  content: ">";
}

.add-students-summary {
  background-color:inherit !important;
}

.well {
  -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
     -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.2);
          box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/** Alerts **/

div[uib-alert] {
    /* Layout */
  position: relative;
  z-index: 200000;
  display: block;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 1.2em;
  height: auto;
  /* Be pretty */
  border-radius: 6px;
  -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.4);
     -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.4);
          box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  border: 1px solid #555555;
  border-left-width: 6px;
/*  background-color: #f5f3f1;
  color: inherit;*/
}

/* Feedback for queued actions */
.uib-alert-container {
  z-index: 200000;
  position: fixed;
  top: 110px; 
  left: 10px;
  text-align: center;
  left: 50%;
  width: 300px;
  margin-left: -150px;
}

/* Feedback for queued actions */
.uib-alert-container:empty {
    display: none;
    padding: 0;
}

.uib-alert-container-center {
  left: 50%;
  margin-left: -150px;
}
 
.uib-alert-container-right {
  left: initial;
  right: 10px;
}

/* COLORS 

 text:       #555555;
 background: #f5f3f1;
 background: #ffffff;
 success:    #58b76b; // was #1bc98e;
 info:       #5896b7; // was #9f86ff;
 warning:    #f5c800; // was #e4d836;
 danger:     #da5a40; // was #e64759;
*/

/* Page */
/*body {
 background: #f5f3f1;
 color: #555555;
}*/

/* Alert (well, growl) */
/*.alert-success {
 border-color: #58b76b!important;
 background-color: #f9fffa!important;
}
.alert-success hr {
 border-top-color: #58b76b!important;
}
.alert-info {
 border-color: #5896b7!important;
 background-color: #f8fcff!important;
}
.alert-info hr {
 border-top-color: #5896b7!important;
}
.alert-warning {
 border-color: #f5c800!important;
 background-color: #fffbeb!important;
}
.alert-warning hr {
 border-top-color: #f5c800!important;
}
.alert-danger {
 border-color: #da5a40!important;
 background-color: #fffaf9!important;
}
.alert-danger hr {
 border-top-color: #da5a40!important;
}*/

.disabled-row {
  pointer-events:none;
}

.awaiting-payment {}