/**
 * Tweeter Bootstrap restyle redefined
 *************************************/

body {
/*  padding-top: 80px; /* 60px to make the container go all the way to the bottom of the topbar */
}
.navbar-header{
  height:70px;
}
.navbar-default {
  background-color: #ed1c24;
  border-color: #7b0a06;
}
.navbar-default .navbar-brand {
  color: #fff;
  margin: 0;
  line-height: 44px;
}
.navbar-default .navbar-brand>img {
  width: 120px;
  margin-right: 15px;
}
.navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
  color: #fff;
}
.navbar-default .navbar-nav>li>a {
  color: #fff;
  line-height: 46px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  color: #fff;
  background: #7b0a06;
}
.navbar-default .navbar-nav>.active>a {
  color: #fff;
  background: rgb(237,28,36); /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkMWMyNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3YjBhMDYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(top,  rgba(237,28,36,1) 0%, rgba(123,10,6,1) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(237,28,36,1)), color-stop(100%,rgba(123,10,6,1))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  rgba(237,28,36,1) 0%,rgba(123,10,6,1) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  rgba(237,28,36,1) 0%,rgba(123,10,6,1) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  rgba(237,28,36,1) 0%,rgba(123,10,6,1) 100%); /* IE10+ */
  background: linear-gradient(to bottom,  rgba(237,28,36,1) 0%,rgba(123,10,6,1) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ed1c24', endColorstr='#7b0a06',GradientType=0 ); /* IE6-8 */
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #7b0a06;
}
.navbar-default .navbar-toggle {
  border-color: #fff;
}
.navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.open>a:hover, .navbar-default .navbar-nav>.open>a:focus {
  background-color: #7b0a06;
  color: #fff;
}

/**
 * Login box styles
 ******************/
.login-box {
  background: none repeat scroll 0 0 #FEFEFE;
  border: 1px solid #EEEEEE;
  box-shadow: 0 0 3px #EEEEEE;
  color: #555555;
  padding: 30px;
}
.login-header {
  border-bottom: 1px solid #EEEEEE;
  color: #555555;
  margin-bottom: 35px;
  text-align: center;
}

.photo-rules{
  list-style:none !important;
  max-width:500px;
  text-align:left;
}

.form-container{
  max-width:500px;
}

.edu-message{
  padding:15px;
  max-width:270px;
  box-shadow: 5px 5px 5px #DADADA;
  border-radius: 3px;
  border:1px solid #D3D3D3;
}

.moodle-status{
  padding:15px;
  box-shadow: 5px 5px 5px #DADADA;
  border:1px solid #D3D3D3;
  max-width:270px;
  border-radius: 3px;
}

.faculty-contact{
  padding:15px;
  max-width: 270px;
  box-shadow: 5px 5px 5px #DADADA;
  border:1px solid #D3D3D3;
  border-radius: 3px;
}

.recent-news{
  padding:15px;
  max-width: 270px;
  box-shadow: 5px 5px 5px #DADADA;
  border:1px solid #D3D3D3;
  border-radius: 3px;
}

.home-container > img{
  width:200px;
  height:180px;
}

@media(max-width:1280px){
  .home-container > img{
    width:200px;
    height:120px;
  }
}
@media(max-width:1280px){
  .home-container > img{
    width:200px;
    height:110px !important;
  }
  #moodle-img{
    height:110px;
  }
}
@media(width:600px){
  .home-container > img{
    height:180px;
  }
  .warning-formatting {
    width: 100%;
  }
}
.my-info-box{
  border:1px solid #ddd;
  border-radius:3px;
  padding:15px;
}

.label{
  display:inline-block !important;
}

.address{
  max-width:500px;
  display:block;
}


@media(max-width:450px){
  .address{
    float:initial !important;
    max-width:300px !important;
  }
}

.ad-select > form > .form-group > select{
  width:300px;
}

@media(max-width:980px){
  #welcome-name{
    display:none !important;
  }
  #nav-small{
    float:left !important;
  }
}
/*@media(width:768px){
  #welcome-name{
    display:none !important;
  }
  #nav-small{
    float:left !important;
  }
}*/

@media(max-width: 450px){
  .ad-select > form > .form-group > select{
    width:220px;
  }
}

/* iPhone 3+4 Portrait 320px Device */
@media(width:320px){
  .ad-select > form > .form-group > select{
    width:273px;
  }
  #moodle-img{
    width:200px;
    height:180px;
  }
}

/* iPhone Landscape 480px */
@media(width:480px){
  .ad-select > form > .form-group > select{
    width:440px;
  }
}

/* iPhone 5 Landscape 568px */
@media(width:568px){
  .ad-select > form > .form-group > select{
    width:440px;
    margin-right:80px;
  }
}

/* Crappy Android Phone 240px */
@media(width:384px){
  .ad-select > form > .form-group > select{
    width:300px;
    margin-right:20px;
  }
}

/* Android Phone - Landscape 600px */
@media(width:240px){
  .ad-select > form > .form-group > select{
    width:192px;
  }
}

/* Android Phone 384px */
@media(width:600px){
  .ad-select > form > .form-group > select{
    width:443px;
    margin-right:110px;
  }
}

/* iPad Portrait 768px */
@media(width:768px){
  .ad-select > form > .form-group > select{
    width:150px !important;
  }
}

.gpa-calculate{
  max-width:450px;
}

.gpa-calculate span{
  padding:8px;
}

.award-details td{
  padding:8px;
}

.flexable-notice {
  display: flex;
  justify-content: flex-end;
}

.flexable-notice > #total-bottom > h4 {
  font-weight: 600;
  margin-right: 18px;
}

@media(width: 375px) {
  .flexable-notice > #total-bottom > h4 {
    margin-right: 20px;
  }
}

/* iPhone Device */
@media(width:320px){
  .award-details{
    max-width: 500px !important;
  }
  .flexable-notice {
    justify-content: center;
  }
  .flexable-notice > #total-bottom > h4 {
    font-size: 14px;
  }
}

/* Responsive aspect for header */
@media(width:320px){
  .navbar-header{
    height:120px;
  }
}

/* Responsive aspect for header */
@media(width:240px){
  .navbar-header{
    height:120px;
  }
}

  /* My Info Responsive aspect Width 767px*/
  @media(max-width: 767px){
    .navbar-default .navbar-nav .open .dropdown-menu>li>a{
      color:#fff !important;
    }
  }
.admin li a{
  text-decoration: none;
  list-style: none;
}
#border-remove > tbody > tr > td{
  border:none;
}
#stud-photo > li{
  text-align: left;
}
@media(width:320px){
  #small-device{
    display: block !important;
  }
}

.learners-block {
  padding: 10px;
  line-height: 2;
  border: 1px solid #ddd;
}

#learner-info {
  cursor: pointer;
}

.legend {
  display: block;
  width: 100%;
}

/* JohnM testing side menu */
/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #111; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
    .warning-formatting {
      width: 100%;
    }
}

.warning-formatting {
  display: flex !important;
  justify-content: center;
  width: 72%;
  margin: auto;
  padding:20px;
  font-size: 16px;
}

.account-nav-ul > li > a {
  font-size: 20px !important;
}

.choose-letter li span.abolished {
  color: red; 
  font-size: 0.7em; 
  text-decoration: none !important;
}

.repeats  {
  margin-bottom: 20px;
}

.repeats td, .repeats th  {
  padding: 10px;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #ed1c24;
  color: white;
  text-align: left;
  padding: 10px 20px;
  font-weight: 200;
  font-size: 12px;
  border-top: 2px solid #000;
  z-index: 999;
}

.container {
  padding-bottom: 100px;
}

nav .container {
  padding-bottom: 0;
}

footer a, footer a:visited {
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 720px) {
  .container {
    padding-bottom: 200px;
  }
}


.cropit-preview {
  background-color: #f8f8f8;
  background-size: cover;
  border: 2px solid #ccc;
  border-radius: 3px;
  margin-top: 7px;
  width: 350px;
  height: 350px;
}
.cropit-preview-image-container {
  cursor: move;
}
.cropit-preview-background {
  opacity: .2;
  cursor: auto;
}
.image-size-label {
  margin-top: 10px;
}
.image-editor input, .export {
  /* Use relative position to prevent from being covered by image background */
  position: relative;
  z-index: 10;
  display: block;
}
button {
  margin-top: 10px;
  z-index: 9999;
}
.image-size-label {
  width: 350px;
}

.image-editor {
  margin-top: 20px;
}

[hidden] {
  display: none !important;
  z-index: 9999;
}
.tooltip-inner {
  white-space:pre-wrap;
}