/* Font init */
@font-face {
    font-family: 'Roboto';
    src: url('/ext/fonts/roboto/roboto-Regular-webfont.eot');
    src: url('/ext/fonts/roboto/roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('/ext/fonts/roboto/roboto-Regular-webfont.woff') format('woff'),
         url('/ext/fonts/roboto/roboto-Regular-webfont.ttf') format('truetype'),
         url('/ext/fonts/roboto/roboto-Regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* END Font init */
body {
	font-family: 'Roboto', sans-serif;
	background-image: url('/images/background.png');
	position: relative;
	/*font-size: 15px; CANT INCREASE FOTN BECAUSE OF NAVBAR*/
}

/* Nav */
.nav-logo {
	width: 32px;
	height: 32px;
	margin-top: -6px;
}
.navbar > .container {
	width:auto;
}

.navbar-nav .glyphicon {
	top: 2px;
}

/* Navbar dropdown styling */
.navbar-nav > li > .dropdown-menu { 
	background-color: #222222;
}

.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus {
	background-color: #4A4A4A;
}

.navbar-nav > li > .dropdown-menu > li > a {
	color: white;
}

.navbar-nav > li > .dropdown-menu .glyphicon {
	right: 3px;
}

/* Text inside navbar */
.navbar-text {
	padding-left: 15px;
}

@media (max-width: 767px) {
	p.navbar-text {
		margin: 0 !important;
		padding-top: 10px;
		padding-bottom: 10px;
		line-height: 20px;
	}
}
/* END Text inside navbar */

/* Navbar divider */
@media (max-width: 767px) {
	.h-divider {
        border-top: 1px solid #101010;
        -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
	}
}
/* END Navbar divider */

/* Navbar content */
@media (min-width: 768px) {
	.navbar-nav > li > a.inline-link-section {
		height: 50px; /* Fill navbar height */
	}
    .navbar-nav > li > a.inline-link-section .glyphicon {
		top: 4px !important; /* Fill navbar height */
	}
    .inline-badge { /* Collapse the icon, reducing padding */
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}
/* END Navbar content */

/* END Nav */

/* Footer */
.footer {
    font-size: 12px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 76px;
    background-color: #222;
    border-color: #080808;
    color: #9d9d9d;
    padding: 0px 10px;
    border-top: 1px solid #080808;
}

.footer-school-logo, .footer-bibliotech-logo {
    max-height: 48px;
}

@media (min-width: 500px) {
    .footer-school-logo {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
    }
}

@media (max-width: 500px) {
    .footer-develop-section, .footer-school-section {
        height: 70px;
    }
    
    .footer-school-section {
        display: flex;
        align-items: center;
        justify-content: center;
    }
/* Added dynamically
    .footer {
        height: 140px;
        text-align: center;
    }
*/

}

.footer-develop-section {
    text-align: center;
}

@media (min-width: 500px) {
    .footer-develop-section {
        float: right;
    }
}
/* END Footer */

/* Bibliotech logo on container */
.logo-container {
    position: absolute;
    width: 100%;
    right: 0;
    left: 0;
    height: 235px;
}

.logo {
	margin: 60px auto 0 auto;
	display: block;
    position: absolute;
	left: 0;
    right: 0;
    bottom: 0;
	z-index: 2;
	transition: visibility 0.6s, opacity 0.6s linear;
}
/* Reduce dimensions dinamically */
@media (max-width: 600px) {
	.logo {
        width: 68.5%;
	}
}

/* Hide dinamically * /
@media (max-width: 600px) {
	.logo {
		visibility: hidden;
		opacity: 0;
        width: 68.5%;
	}
}
/* Remove after the transition * /
@media (max-width: 420px) {
	.logo {
		display: none;
	}
}
/* END Bibliotech logo on container */

/* Content container */
.content-container {
	background-color: white;
	border-radius: 30px;
	padding: 10px 40px 15px 40px;
    margin: 180px 0px 120px 0px;
}
/* Increase margin-bottom for footer */
@media (max-width: 500px) {
    .content-container {
        margin-bottom: 160px;
    }
}

/* Home container */
.under-logo-container {
    margin-top: 225px;
    padding-top: 20px;
    right: 0px;
    left: 0px;
}
/* END Home container */

/* END Content container */

/* Popup overlay */
@media (max-width: 768px) {
	.overlay:after {
	  content: "";
	  display: block;
	  position: fixed;
	  top: 0;
	  left: 0;
	  height: 100%;
	  width: 100%;
	  z-index: 3;
	  background: rgba(0, 0, 0, 0.7);
	}
}
/* END Popup overlay */

/* Full page popup */
.form-login-popup {
	position: fixed;
	background-color: white;
	opacity: 0.98;
	border-radius: 10px;
	padding: 0px 40px 10px 40px;
	top: 50%;
	left: 50%;
 	transform: translate(-50%, -50%);
 	z-index: 1032;
 	border: 1px solid black;
}

.form-login-popup input[type="email"] {
 	width: 250px;
	margin: 10px 0;
}

.form-login-popup input[type="password"] {
 	width: 250px;
	margin: 10px 0;
}
/* Close button */
.form-login-popup .close {
	font-size: 40px;
	position: absolute;
	left: 300px;
}
/* END Close button */
/* END Full page popup */

/* To delete */
.form-login-popup input[type="text"] {
 	width: 250px;
	margin: 10px 0;
}
/* End To delete */

/* Right corner login popup */
@media (min-width: 768px) {
	.form-login-popup {
		position: fixed; 
		right: 40px;
		top: 60px;;
		left: auto;
		transform: none;
	}
    /* Popup arrow */
    .login-popup-arrow {
        position: absolute;
        top: -25px;
        left: 205px;
        width: 0; 
        height: 0; 
        border-left: 25px solid transparent;
        border-right: 25px solid transparent;
        border-bottom: 25px solid white;
    }
    /* END Popup arrow */
}
/* END Right corner login popup */

/* Search bar basic */
.autocomplete-suggestions {
    z-index: 2;
}

/* Search bar */
.search-bar {
  	border: solid 1px #E4E4E4;
    border-radius: 3px;
  	background-color: #fff;
}
/* END Search bar */

/* Search books bar */
.search-books-bar {
	padding: 3px;
    border-radius: 6px;
}
/* Search bar border */
.search-bar-active {
	border: 1px solid #3073AC;
}
/* END Search bar border */

/* Remove outline from search button */
.search-bar button:active, .search-bar button:focus {
   outline: none !important;
}

.search-bar button {
	margin: 2px 0 0 0;
	background: none;
	box-shadow: none;
	border: 0;
	color: #666666;
	border-left: solid 1px #ccc;
}
/* END Remove outline from search button */

/* Remove default input's border */
.search-bar input {
	border: 0;
	box-shadow: none;
}

.search-bar input:focus {
	border: 0;
	box-shadow: none;
}
/* END Remove default input's border */

/* Utilities */
.text-center {
    text-align: center;
}
.left {
	float: left;
}

.right {
	float: right;
}

.hidden {
	display: none;
}

.full-width {
	width: 100%;
}

.hidden {
	display: none;
}

.no-margin {
	margin: 0;
}

.no-outline {
	outline: none !important;
}

.clear {
    clear: both;
}

.disable-selection {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.select-placeholder {
    color: #b2b2b2;
}

.h-divider-fixed {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ababab;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);
}

.link-standard-color {
    color: inherit;
}

/* Used for text near a floating element */
.text-block {
    overflow: auto;
}
/* End Utilities */