/* GLOBAL DOCUMENT
-------------------------------------------------- */

html {
    overflow-y: scroll;
}

body {
    background-color:#0f82f5;
    padding-top: 8px;
    padding-bottom: 8px;
}

#page-wrapper {
    background-color : #FFF;
}

b {
    font-weight: 700;
}


/* BOOTSTRAP CHANGES
-------------------------------------------------- */

.modal-body {
   max-height: 800px;
}


select,
textarea,
input,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
  background-color : #fdf2eb;
}

.nav-tabs > li > a,
.nav-pills > li > a {
    line-height: 18px;
}

/* HEADER
-------------------------------------------------- */

.top-of-site {
    background-color : #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
}

a.social-icon {
    text-decoration: none;
}

a.social-icon img {
    background-color : #696969;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-left: 6px;
    margin-right: 6px;
    width : 40px;
    height : 40px;
}

a.social-icon img:hover {
    background-color : #0f82f5;
}

/* FOOTER
-------------------------------------------------- */

#footerbar1 {
    background-color: #0f82f5;
    padding-bottom: 10px;
}

#footerbar2 {
    background-color: #6512ee;
    padding-right: 10px;
}

.footer-menu {
    margin-left: 5px;
}

.footer-menu-title {
    color: #000;
    padding-top: 10px;
}

.footer-menu-list > li {
    list-style: none outside none;
}

.footer-menu-list > li > a {
    display: block;
    color: #FFF;
    text-decoration: none;
    padding: 4px 10px;
    margin-left : -30px;
}

.footer-menu-list > li > a:hover {
    background-color: #0072E6;
}

.creator {
    color: #CCC;
    padding-left : 10px;
}

.creator:hover {
    color: #FFF;
    text-decoration: none;
}

.copyrights {
    color: #CCC;
}

.copyrights:hover {
    color: #FFF;
    text-decoration: none;
}

/* NAVIGATION
-------------------------------------------------- */

.menu-overflow {
    background-color: #080808;
    margin-bottom: 0px;
}

.navbar {
    margin-bottom: 0px;
}

.main-menu > li > a:hover {
    background-color:#0f82f5 !important;
    color: #FFF  !important;
    text-shadow: none !important;
}

.dropdown-menu > li > a {
    color: #080808  !important;
}

.dropdown-menu > li > a:hover {
    color: #FFF  !important;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
}

.carousel .container {
  position: relative;
  z-index: 9;
}

.carousel-indicators {
  z-index:10;
}

.carousel-control {
  font-family : Arial,sans-serif;
  z-index:10;
}

.carousel .item {
  height: 500px;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}

.carousel-caption {
  background-color: transparent;
  background-image:url('/img/fade-black.png');
  position: static;
  max-width: 550px;
  padding: 0px 30px 20px 30px;
  margin-top: 230px;
}

.carousel-caption h1 {
  margin: 0;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0px 0px 4px rgba(0,0,0,.8);
}

.carousel-caption .lead {
  margin: 0;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0px 0px 4px rgba(0,0,0,.8);
}

.carousel-caption .btn {
  margin-top: 10px;
}

/* Content
-------------------------------------------------- */

#page-header {
  padding-top: 40px;
  margin-bottom: -20px;
}

#page-content {
  padding-top: 40px;
  padding-bottom: 40px;
}

#page-content-nb {
  padding-top: 40px;
}

.bw-image {
  padding-top: 20px;
  padding-bottom: 20px;
}

.page-title {
  padding-bottom: 20px;
}

.chapter-title {
  font-size: 30px;
}

.chapter-lead {
  font-size: 18px;
  line-height: 24px;
}

#contact-form {
  margin-top: 30px;
  background-color: rgb(238, 238, 238);
  margin-right: -20px;
  margin-left: -20px;  
}

#download-form {
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: rgb(238, 238, 238);
  margin-right: -20px;
  margin-left: -20px;  
}

#ContactForm,
#DownloadForm {
  padding: 0 20px;
}

.contact-island-image {
  width: 140%;
  max-width: 140%;
  overflow: visible;
  margin: auto;
}

.apply-island-image {
  width: 110%;
  max-width: 110%;
  overflow: visible;
  margin: auto;
}

#texttip {
  position:absolute;
  z-index:99;
  display:block;
  background:#6512EE;
  color:#FFF;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  white-space: nowrap;
  padding:15px;
  box-shadow: 2px 5px 5px #000;
}

.course-heading {
  color: #FFF;
  background-color: #0F82F5;
}

.course-heading:hover {
  color: #FFF;
  background-color: #0072e6;
  text-decoration: none;
}

.course-heading:focus {
  color: #FFF;
  background-color: #0F82F5;
  text-decoration: none;
}

.course-table {
  margin-top: 15px;
  margin-right: 15px;
  background-color: #F4F4F4;
}

.job-heading {
  color: #FFF;
  background-color: #0F82F5;
}

.job-heading:hover {
  color: #FFF;
  background-color: #0072e6;
  text-decoration: none;
}

.job-heading:focus {
  color: #FFF;
  background-color: #0F82F5;
  text-decoration: none;
}

.job-table {
  margin-top: 15px;
  margin-right: 15px;
  background-color: #F4F4F4;
}

/* Users
-------------------------------------------------- */

#login-alert {
    margin-bottom: 0px;
}

fieldset {
  position: relative;
}

#editor-actions {
   margin-bottom: -15px;
}

#editor-area {
  height: 230px;
  min-height: 50px;
  max-height: 305px;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* mailboxes
-------------------------------------------------- */

.loadtable { float: left; font-size: 12px; border-collapse: collapse; border: 1px solid #555;  }
.loadtable td { padding: 3px 10px 3px 10px ;  }
#page_double { float: left; margin: 5px 10px 30px 10px ;  }
.mail_row { float: left; clear: both; margin: 5px 20px 10px 20px ;  }
#mail_table { float: left; width: 658px; clear: both; margin: 5px 20px 10px 0px ;  }

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 979px) {

  .carousel .item {
    height: 500px;
  }
  .carousel img {
    width: auto;
    height: 500px;
  }

  .nav-pills > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }
}

@media (max-width: 767px) {

  .top-of-site,
  .menu-overflow,
  #page-wrapper,
  #footerbar1,
  #footerbar2
   {
    margin-left: -20px;
    margin-right: -20px;
  }
  .header-logo {
    max-width: 320px;
  }
  .carousel .item {
    height: 300px;
  }
  .carousel img {
    height: 300px;
  }
  .carousel-caption {
    width: 65%;
    padding: 0 70px;
    margin-top: 0px;
    padding-right: 300px;
    padding-bottom: 300px;
  }
  .carousel-caption h1 {
    font-size: 30px;
  }
  .carousel-caption .lead,
  .carousel-caption .btn {
    font-size: 18px;
  }

  #page-content,
  #page-content-nb {
    margin-left: 10px;
    margin-right: 10px;
  }

  .contact-island-image,
  .apply-island-image {
    width: 100px;
  }

}

