/* General CSS */
body {
    font-family: 'Roboto', 'sans-serif';
    font-size: 1.5em;
}

#page-wrapper {
    min-height: 700px;
    background-color: #fff;
}

/* Navbar css related */
.navbar-main {
    margin-bottom: 0;
    background: #ffffff;
}

.navbar-brand {
    margin-right: 20%;
}

.nav li {
    display: inline-block;
}

.dropdown-link {
    /*display: block;*/
    max-width: 500px;
    padding: 15px 30px 20px 20px !important;
}

.dropdown-link .glyphicon {
    margin: 10px 0 0 auto;
    font-size: 30px;
    color: #00ABBB;
}

.dropdown-link .icon {
    text-align: right;
}

.dropdown-link .link-name {
    color: #225378;
    font-size: 1.0em;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Roboto Medium', sans-serif;
}

.dropdown-link .link-description {
    color: #555555;
}

.dropdown-menu {
    transition: opacity, max-height;
    transition-duration: .2s, .3s;

    opacity: 0;
    max-height: 0;
    display: block;
    overflow: hidden;
}

/* to make the menu reactive on hover */
@media (min-width: 979px) {
  ul.nav li.dropdown:hover > .dropdown-menu {
      display: block;
      margin: 0;
      opacity: 1;
      max-height: 1500px;
  }
}

.open > .dropdown-menu {
    opacity: 1;
    max-height: 1500px;
}

.nav .btn-campus {
    font-weight: bold;
}

.btn-campus-text {
    background: #337ab7 linear-gradient(135deg, rgba(51,122,183,1) 0%,rgba(51,122,183,1) 40%,rgba(255,255,255,1) 50%,rgba(51,122,183,1) 50%,rgba(51,122,183,1) 100%) 0 0 no-repeat;
    background-size: 200px;

    color: rgba(255, 255, 255, 0.1);
    -webkit-background-clip: text;

    -webkit-animation-name: shine;
    -webkit-animation-duration: 6s;
    -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes shine
{
    0%
    {
        background-position: top right;
    }
    20%
    {
        background-position: top left;
    }
}

@media(max-width:768px) {
    body {
        font-size: 1.3em;
    }

    h2 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 1.8em;
    }


    .nav li {
        display: block;
    }
    .nav {

        text-align: center;
    }
    .nav hr {
        margin-top: 0;
        margin-bottom: 0;
    }
}
.nav li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-collapse.in {
    overflow-y: visible;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

.navbar-toggle {
}

.navbar-toggle .icon-bar {
    background-color: #225378;
}


.menu-text, .menu-bar {
    display: inline-block;
}

.menu-text {
    color: #225378;
    vertical-align: middle;
    margin-top: -5px;
    margin-right: 5px;
}

.dropdown-menu {
    min-width: 100px;
}
.navbar-top-links .dropdown-menu button {
    display: block;

    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
}

@media(min-width:768px) {

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.footer {
    background-color: #225378;
    color: #ffffff;
    padding-top: 15px;
}

.footer .row{
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer .row:last-of-type {
    margin-bottom: 0;
}

.footer a{
    color: #ffffff;
}

.footer ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    margin-bottom: 20px;
}

.footer li {
    margin-top: 5px;
}

.footer .social {
    font-size: 2.5em;
    margin-left: 20px;
    margin-right: 20px;
    transition: all 1200ms cubic-bezier(0.165, 0.84, 0.44, 1)
}

.footer .social:hover {
    color: #a4f1ff;
}

.footer .bottom-row {
    background-color: #1a3a57;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 30px;
}

.footer .bottom-row a{
    color: #ffffff;
    font-weight: bold;
}


/* Alerts */
.alert-info {
    background-color: #1695A3;
    color: #F3FFE2;
    border-color: transparent;
}

.alert-info a {
    color: #a4f1ff;
}

.alert-warning {
    background-color: #FFCA59;
    border: none;
    color: #000000;
}

.alert-warning a {
    color: #fff4d2;
}


/* btn */
.btn-info {
    background-color: #225378;
    border-color: #225378;
}

.btn-info:hover {
    background-color: #3179ad;
    border-color: #3179ad;
}

.btn-info:focus {
    background-color: #3179ad;
    border-color: #3179ad;
}


/* Fonts */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
    font-family: 'Roboto Medium';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

#unregistered-device:hover {
    background-color: #d9534f;
}

.danger {
    color: #d9534f;
}

.success {
    color: #1ed212;
}

.warning {
    color: #FFCA59;
}

/* For the FAQ */
.vote {
    display: block;
}

/* Nice callouts from Bootstrap doc */
.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}


@media screen and (max-width: 765px) {
    .graph {
        padding-bottom: 60%;
    }
}

.graph {
    padding-bottom: 40%;
}

@media screen and (max-width: 765px) {
    .graph {
        padding-bottom: 60%;
    }
}
