html, body {height: 100%;}

body{
    background:#FFF !important;
    margin:0;
    padding:0;
    font-family: 'Ubuntu', 'sans-serif';
}

a {
    color:#500000;
    text-decoration: none
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

header {
    border-bottom:1px solid #fff;
    text-align: center;
}


.nav, .navbar-default{
    background: #fff !important;
    /* background: #FAFDFE !important; */
    text-align: center;
    border-bottom-color: #800000 !important;
    
    
}
.navbar-brand {
    color:#800000 !important;
}
.nav ul {
    padding: 0;
    list-style: none;
    font-size:1.2em;
    font-weight: 300;
    display: inline-block;
}

.nav li span {
    display: block;
}

.nav a {
    display: block;
    color: #444;
    text-decoration: none;
    -webkit-transition: color .5s, background .5s, height .5s;
    -moz-transition: color .5s, background .5s, height .5s;
    -o-transition: color .5s, background .5s, height .5s;
    -ms-transition: color .5s, background .5s, height .5s;
    transition: color .5s, background .5s, height .5s;
}

.nav i, .nav fi{
    /* Make the font smoother for Chrome */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

/* Remove the blue Webkit background when element is tapped */

a, button {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Hover effect for the whole navigation to make the hovered item stand out */

.nav ul:hover a {
    /*color: rgba(208, 101, 3, .2);*/
}

.nav li a:hover, .nav li a:focus,.nav li a:active {
    color: rgb(208, 101, 3);
}

/* For screen bigger than 800px */
@media (min-width: 1025px) {

	/* Transforms the list into a horizontal navigation */
	.nav li {
		float: left;
    width: 150px;
		text-align: center;
		-webkit-transition: border .5s;
		-moz-transition: border .5s;
		-o-transition: border .5s;
		-ms-transition: border .5s;
		transition: border .5s;
	}

	.nav a {
		display: block;
		width: auto;
	}

	/* Placing the icon */

	.icon {
	}

	.icon + span {
		-webkit-transition: margin .5s;
		-moz-transition: margin .5s;
		-o-transition: margin .5s;
		-ms-transition: margin .5s;
		transition: margin .5s;
	}

	/* Animating the height of the element*/
	.nav a {
                padding: 1em;
	}
        .nav a:hover{
            text-decoration: none;
        }


	/* Making the text follow the height animation */
	.no-touch .nav a:hover .icon + span {
            -webkit-transition: margin .5s;
            -moz-transition: margin .5s;
            -o-transition: margin .5s;
            -ms-transition: margin .5s;
            transition: margin .5s;

	}

	/* Positioning the icons and preparing for the animation*/
	.nav i {
            position: relative;
            display: inline-block;
            margin: 0 auto;
            padding: 0.2em;
            font-size: 1.8em;
	}



        /* CSS for the profile menu */
        .nav-profile{
            width:auto;
        }

        .nav-profile fi{
            font-size:1em;

        }

        .nav .ul-reset{
            font-size:1em;
            display:none;
        }

        .nav .ul-reset li{
            text-align: left;
        }

}

@media (min-width: 701px) and (max-width: 1024px) {

	/* Size and font adjustments to make it fit into the screen*/
	.nav ul {
            font-size: 1.2em;
	}

}

/* The "tablet" and "mobile" version (max-width: 49.938em) */

@media (min-width: 701px) and (max-width: 1024px) {

        .nav{
            text-align: left;
        }
        .nav .ul-reset{
            font-size:1em;
            display:none;
        }


}

/* CSS specific to the 2x3 columns version */
@media (min-width:32.5em) and (max-width: 49.938em) {


	/* Creating the 2 column layout using floating elements once again */
	.nav li {
            display: block;
            float: left;
            width: 50%;
	}

	/* Adding some padding to make the elements look nicer*/
	.nav a {
            padding: 0.8em;
	}

	/* Displaying the icons on the left, and the text on the right side using inlin-block*/
	.nav li span,
	.nav li span.icon {
            display: inline-block;
	}

	.nav li span.icon {
            margin-right:1em;
	}

	.nav li .icon + span {
            font-size: 1em;
	}

	.icon + span {
            position: relative;
            top: -0.2em;
	}

	/* Adaptating to the icons to animate the size and border of the rounded background in a more discreet way */
	.nav li i {
            display: inline-block;
            padding: 8% 9%;
            font-size: 1.5em;
	}

}

/* Adapting the font size and width for smaller screns*/
/* @media (min-width: 32.5em) and (max-width: 38.688em) { */
    @media (min-width: 701px) and (max-width: 1024px) {

    .nav li span.icon {
        margin-right:1em;
    }

    .nav li .icon + span {
        font-size: 0.9em;
    }
    .nav {
        padding: 0em;
    }
}

/* Styling the toggle menu link and hiding it */
.nav .navtoogle{
    display: none;
    width: 100%;
    padding: 0.5em 0.5em 0.8em;
    font-family: 'Lato',Calibri,Arial,sans-serif;
    font-weight: normal;
    text-align: left;
    color: rgb(7, 16, 15);
    font-size: 1.2em;
    background: none;
    border: none;
    border-bottom: 4px solid rgb(221, 221, 221);
    cursor: pointer;
}

.navtoogle i{
    z-index:-1;
}

.icon-menu {
    position: relative;
    top: 3px;
    line-height: 0;
    font-size: 1.6em;
}

#datatables-collections {
    /*height: 300px;*/
}

.dataTables_scrollBody {
    -webkit-transition: height .5s;
            -moz-transition: height .5s;
            -o-transition: height .5s;
            -ms-transition: height .5s;
            transition: height .5s;
}

@media (max-width: 500px) {
    /* @media (min-width: 701px) and (max-width: 1024px) { */

	/* Unhiding the styled menu link */
	.nav .navtoogle{
		margin: 0;
		display: block;
	}

	/* Animating the height of the navigation when the button is clicked */

	/* When JavaScript is disabled, we hide the menu */
	.no-js .nav ul {
		max-height: 30em;
		overflow: hidden;
	}

	/* When JavaScript is enabled, we hide the menu */
	.js .nav ul {
		max-height: 0em;
		overflow: hidden;
	}

	/* Displaying the menu when the user has clicked on the button*/
	.js .nav .active + ul {
		max-height: 30em;
		overflow: hidden;
		-webkit-transition: max-height .4s;
		-moz-transition: max-height .4s;
		-o-transition: max-height .4s;
		-ms-transition: max-height .4s;
		transition: max-height .4s;
	}

	/* Adapting the layout of the menu for smaller screens : icon on the left and text on the right*/

	.nav li span {
            display: inline-block;
            height: 100%;
	}

	.nav a {
            padding: 0.2em;
	}
        .icon {
            font-size: 0.8em;
        }
	.icon + span {
            margin-left: 0.5em;
            font-size: 1em;
	}

	/* make the nav bigger on touch screens */
	.touch .nav a {
            padding: 0.8em;
    }
    .nav .ul-reset{
        font-size:1em;
        display:none;
    }
}

hr{clear:both;}

.mainbody{
    margin:0px;
    background:#fff;
    overflow:auto;
    padding-bottom: 150px;
}


.whitesheet{
    background-color:#fff;
    text-align:left;
    width:90%;
    padding:20px;
    margin-left:auto;
    margin-right:auto;
}

footer{
   /* background:url(../images/noise.png) repeat scroll 0 0 transparent;
    border-top: 1px solid #B3B8BC;*/
    text-align:center;
    position: relative;
    /*margin-top: -100px; /* negative value of footer height */
    height: 100px;
    clear:both;
}


/*Opera Fix*/
body:before {
    content:"";
    height:100%;
    float:left;
    width:0;
    margin-top:-32767px;
}

.error {
    border-style:solid;
    border-color:#ff0000;
    border-width:5px;
}

fieldset {
    border: none;
}


.subtleinfo{
    color: #bbb;
}

span.inline {
    margin-right: 25px;
    vertical-align:bottom;
}


span.login{
    vertical-align:bottom;
    text-align:right;
}


/*
    Extra classes for the bootstrap popover (non existing in bootstrap 3.2.0)
*/
.ui-autocomplete {
  z-index: 10000;
}

.checkbox-child-coll, .checkbox-child-stat {
    padding-left: 15px !important;
}


.filter {
    list-style: none;
    padding: 3px 0;
}

li {
    padding: 3px 0;
}
ul {
    padding: 5px 0;
    list-style: none;
}

.ul-filter li {
   margin-left: 20px;
}



.panel-default > a > .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-default a {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
  text-decoration: inherit; /* no underline */
}

.new-site-alert {
    position: fixed;
    width: 250px;
    bottom: 0px;
    right: 5%;
}

.div-404 {
    text-align: center; padding: 150px;
    font: 20px Helvetica, sans-serif; color: #333;
}
.h1-404 {font-size: 150px; color: lightgray}
.h1-404-sub { font-size: 50px; }
  .article-404 { display: block; text-align: left; width: 650px; margin: 0 auto; }
  .a-404 { color: #dc8100; text-decoration: none; }
  .a-404:hover { color: #333; text-decoration: none; }
