/*
https://barista.cac.washington.edu/shared/local/core/

$uw-purple: #4b2e83;
$uw-gold: #b7a57a;
$small-device: "screen and (min-width : 768px)";
$medium-device: "screen and (min-width : 992px)";
$large-device: "screen and (min-width : 1200px)";
*/

/*
The spinning loading animation.  Just insert
Loading <i class="glyphicon glyphicon-refresh glyphicon-refresh-animate"></i>
where you want the loading animation displayed.
https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
Original version: http://www.bootply.com/128062
This version adds support for IE 10+ and Firefox.
*/
.glyphicon-refresh-animate {
    -animation: spin .7s infinite linear;
    -ms-animation: spin .7s infinite linear;
    -webkit-animation: spinw .7s infinite linear;
    -moz-animation: spinm .7s infinite linear;
}
@keyframes spin {
    from { transform: scale(1) rotate(0deg);}
    to { transform: scale(1) rotate(360deg);}
}
@-webkit-keyframes spinw {
    from { -webkit-transform: rotate(0deg);}
    to { -webkit-transform: rotate(360deg);}
}
@-moz-keyframes spinm {
    from { -moz-transform: rotate(0deg);}
    to { -moz-transform: rotate(360deg);}
}


/*** Global style rules ***/

#skiptocontent a {
	padding: 6px;
	position: absolute;
	top: -40px;
	left: 0px;
	color: black;
	border-right: 1px solid black;
	border-bottom: 1px solid black;
	border-bottom-right-radius: 8px;
	background: transparent;
	-webkit-transition: top 1s ease-out, background 1s linear;
    transition: top 1s ease-out, background 1s linear;
    z-index: 99999;
}
#skiptocontent a:focus {
	position: absolute;
	left: 0px;
	top: 0px;
    /*background:#BF1722;*/
    background: white;
	outline: 0;
	-webkit-transition: top .1s ease-in, background .5s linear;
    transition: top .1s ease-in, background .5s linear;
}

/* keep the awstats img from altering the layout */
body > img {
    display: block;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.72222;
}
a {
    /*color: #0074bb;*/
    /*color: #4b2e83;*/
    /*this may need some improvement in the next version for accessibility*/
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Encode Sans Compressed", sans-serif;
    font-weight: 800;
    line-height: 1.3;
    color: #4b2e83;
}
h1, h2, h3 {
    margin-top: 29px;
    margin-bottom: 14px;
}
.jumbotron .h1,
.jumbotron h1 {
    color: #4b2e83;
    font-size: 48px;
}
.jumbotron {
    background-color: #e8e8e8;
}
.jumbotron p {
    font-size: inherit;
}
.jumbotron p.lead {
    font-size: x-large;
}

.breadcrumb {
    background-color: #eaeaea;
}
.h1 .small, .h1 small, h1 .small, h1 small,
.h2 .small, .h2 small, h2 .small, h2 small,
.h3 .small, .h3 small, h3 .small, h3 small,
.h4 .small, .h4 small, h4 .small, h4 small,
.h5 .small, .h5 small, h5 .small, h5 small,
.h6 .small, .h6 small, h6 .small, h6 small {
    color: #333;
}
.dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}


/***  tile panels  ***/

/* symbol for "open" panels */
.panel-heading .collapse-toggle-icon:before {
    font-family: 'Glyphicons Halflings';
    content: "\e252";
    float: left;
    color: grey;
    padding-right: .5em;
}
/* symbol for "collapsed" panels */
.panel-heading.collapsed .collapse-toggle-icon:before {
    content: "\e250";
}


/***  header  ***/

header.navbar {
    border-bottom: 0;
    margin-bottom: 0;
}
header.navbar-inverse {
    background-color: #4b2e83
}

header.navbar-inverse .nav.navbar-right > li {
    color: #fff;
}
header.navbar-inverse a {
    color: #fff !important
}
header.navbar-inverse a:focus,
header.navbar-inverse a:hover {
    color: #b7a57a !important;
}



/***  header #core-internal-header  ***/

.navbar-brand,
#core-internal-header .nav.navbar-nav > li > a {
    color: #fff;
}
#core-internal-header .nav.navbar-nav > li > a:hover,
#core-internal-header .nav.navbar-nav > li > a:focus {
    color: #35215d !important;
    background-color: #fff;
}

#core-top-nav {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
#core-top-nav .nav-pills {
    padding-left: 0;
}
#core-top-nav .nav>li>a {
    padding-top: .25em;
    padding-bottom: .25em;
}

#uw-w-logo {
    padding-top: 8px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    bottom: -1px;
}
@media (min-width: 768px) {
    #uw-w-logo {
        margin-right: 1em;
    }
}

#core-internal-header .navbar-left > li {
    border-left: dotted 1px #5e5e5e;
    font-size: larger;
    font-weight: 800;
}
#core-internal-header .navbar-right > li {
    border-right: dotted 1px #5e5e5e;
}
#core-internal-header .navbar-right > li:last-child {
    border-right: 0;
}

#core-internal-header .navbar-nav > li > div {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
    position: relative;
    display: block;
    padding: 10px 15px;
}
@media (min-width: 768px) {
    #core-internal-header .navbar-nav > li > div {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #core-internal-header .navbar-nav > li > div.form-inline {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#core-internal-header .glyphicon {
    opacity: .6;
    font-size: inherit;
}
#core-internal-header ul.dropdown-menu {
    background-color: #dfdfdf;
}
#core-internal-header li.dropdown.open > ul > li > a {
    color: #3d3d3d !important;
}



/*** notification container ***/

#core-notification-container {
    padding-top: .5em;
}



/*** top app name row ***/

#core-top-app-name {
    margin-left: 0;
    margin-top: 0;
}



/*** tab navigation container ***/

.nav-tabs li.active > a {
    color: #3d3d3d !important;
}
.nav-tabs li > a:hover {
    color: #3d3d3d !important;
    background-color: #b7a57a;
}
.nav-tabs li > a:focus {
    background-color: transparent;
}
.nav-pills li.active > a,
.nav-pills li.active > a:hover,
.nav-pills li.active > a:focus {
    color: #fff !important;
    background-color: #4b2e83;
}
.nav-pills li > a:hover {
    color: #3d3d3d !important;
    background-color: #b7a57a;
}

.nav-tabs, .nav-pills {
    padding-left: 1em;
}



/*** main content container ***/

#core-content-container {
    /* padding-top: 60px;  needed for navbar-fixed-top header */
    padding-top: .5em;
    padding-bottom: 4em;
    min-height: 25em;
}



/*** footer ***/

@media print {
    footer.core-footer {
        display: none;
    }
}

.btn.focus, .btn:focus, .btn:hover {
    color: #333;
    text-decoration: none;
}
.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.btn-primary {
    color: #fff;
    background-color: #4b2e83;
    border-color: #402770;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #35215d;
    border-color: #261743;
}

.no-background-image {
    background-image: url();
}
.uw-footer {
    background-position: center;
}

.uw-footer ul.footer-links {
    margin-top: 20px;
}

.form-control {
    color: #555;
}
.modal-header {
    border-radius: 6px 6px 0px 0px;
}
