body, html {
	font-family: 'Roboto', sans-serif;
	position: relative;
	height: 100%;
}

/* VARS */
:root {
	--mdc-theme-primary: #107a79;
	--mdc-theme-secondary: #000000;
}
/* END VARS */

/* MATERIALIZE */
.spinner-layer {
	border-color: var(--mdc-theme-primary);
}
.toast {
	font-family: Roboto,sans-serif;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-weight: 500;
	letter-spacing: .0125em;
}
.btn, .btn-large, .btn-small {
	letter-spacing: 1px;
	font-weight: 100;
	font-size: .875rem;
	font-family: Roboto, sans-serif;
	background-color: var(--mdc-theme-primary);
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
.btn:hover, .btn-large:hover, .btn-small:hover,
.btn:focus, .btn-large:focus, .btn-small:focus {
	background-color: var(--mdc-theme-secondary);
	color: var(--mdc-theme-primary);
}
.modal {
	border-radius: 4px;
}
.modal-content h5 {
	font-weight: bold;
	font-size: 1.25rem;
	color: rgba(0,0,0,0.87);
}
.modal-content p {
	color: rgba(0,0,0,0.6);
}
.modal-footer button {
	color: var(--mdc-theme-primary);
}
.modal-footer button.btn {
	color: #FFF;
}
.modalLarge {
	width: 90%;
	max-height: 80%;
}
#modalClose {
	display: none;
	position: fixed;
	top: 12px;
	right: 12px;
	border: none;
	border-radius: 50%;
	background-color: #c6c8c9;
	padding: 6px;
	color: white;
	z-index: 1004;
}
#modalClose:hover {
	background-color: #7c7d7e;
}
#modalClose i {
	font-size: 18px;
}
.dropdown-content li > a, 
.dropdown-content li > span {
	color: var(--mdc-theme-primary);
}
textarea.materialize-textarea {
	max-height: 100px;
}
.card .card-content {
	padding: 16px;
}
.card .card-content .card-title {
	font-size: 18px;
}
/* END MATERIALIZE */

.p12 {padding: 12px !important;}
.pt16 {padding-top: 16px !important;}
.pb16 {padding-bottom: 16px !important;}
.pl0 {padding-left: 0 !important;}
.pl24 {padding-left: 24px !important;}

.m0 {margin: 0 !important;}
.mt0 {margin-top: 0 !important;}
.mt6 {margin-top: 6px !important;}
.mr12 {margin-right: 12px !important;}
.mb0 {margin-bottom: 0 !important;}
.mb6 {margin-bottom: 6px !important;}
.mb12 {margin-bottom: 12px !important;}

.overflow {
	overflow: hidden;
}
.fullWidth {
	width: 100%;
}
.fullHeight {
	position: relative;
	height: 100%;
}
.fullHeightMain {
	position: relative;
	height: -moz-calc(100% - 56px);
	height: -webkit-calc(100% - 56px);
	height: calc(100% - 56px);
}
.relative {
	position: relative;
}
.justify {
	text-align: justify;
}
.imgLoadingOverlay,
.divLoadingOverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1;
	left: 0;
	top: 0;
}
strong {
	font-weight: bold;
}
.modalSmall {
	width: 34%;
}
.pointer {
	cursor: pointer;
}

/* HOME */
nav {
	background-color: white;
}
nav .brand-logo img {
	max-height: 40px;
	margin-top: 8px;
}
#mainCtn {
	color: black;
}
.explanation {
	margin-bottom: 0;
	padding: 12px 0 24px;
	color: white;
}
.explanation .rent, 
.explanation .delivery, 
.explanation .return {
	padding: 12px 0;
	border-radius: 6px;
	margin-bottom: 12px;
	background-color: #515151;
	border: solid 3px var(--mdc-theme-primary);
}
.explanation p {
	padding: 0 16px;
}
.card .card-content .card-title {
	line-height: 1.2em;
	font-size: 20px;
	position: relative;
	overflow: hidden;
	max-height: 3.6em;
}
.card .authorp {	
	max-height: 3.6em;
	overflow: hidden;
}
.carousel {
	height: 500px !important;
}
.carousel.carousel-slider .carousel-item {
	height: 500px !important;
	position: relative;
	visibility: visible;
}
.carousel.carousel-slider .carousel-item h2 {
	font-size: 38px;
	font-weight: 100;
	line-height: 1;
	margin-top: 0;
}
.carousel.carousel-slider .carousel-item p {
	font-size: 22px;
	padding: 6px 12px;
	background-color: rgba(0,0,0,0.6);
	border-radius: 6px;
	display: inline-block;
	margin: 0;
}
.carousel.carousel-slider .carousel-item p.simpleText {
	background: none !important;
	border-radius: none !important;
	display: block;
	font-size: 18px;
}
.carousel.carousel-slider .carousel-item img {
	position: absolute;
	bottom: 0;
}
.carouselItemDiv {
	position: absolute;
	top: 25%;
	left: 0;
	width: 100%;
	z-index: 1;
}
.bookCard .card:hover {
	-webkit-box-shadow:0 4px 6px 0 rgba(0,0,0,0.44), 0 5px 4px -2px rgba(0,0,0,0.42),0 3px 7px 0 rgba(0,0,0,0.32);
	box-shadow:0 4px 6px 0 rgba(0,0,0,0.44),0 5px 4px -2px rgba(0,0,0,0.42),0 3px 7px 0 rgba(0,0,0,0.32);
}
.bookCard .bookBtnCtn {
	height: 36px;
}
.bookCard .bookBtnCtn button {
	position: absolute;
	bottom: 16px;
	width: 65px;
	left: 50%;
	margin-left: -32.5px;
}
.searchCtn .input-field input[type=search] {
	height: inherit;
	padding: 0.5rem 0.5rem 0.5rem 4rem;
	width: calc(100% - 4rem);
	border: solid 1px rgba(0,0,0,0.4) !important;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-radius: 5px;
}
.input-field input[type=search]+.label-icon {
	top: 8px;
}
.input-field input[type=search] ~ .mdi-navigation-close, 
.input-field input[type=search] ~ .material-icons {
	top: 5px;
}
#contectUl {
	color: black;
	line-height: 1.2;
	padding-top: 12px;
}
#contectUl li {
	float: none;
	padding: 3px 0;
	overflow: hidden;
}
#contectUl li i {
	line-height: 1;
	height: 24px;
	float: left;
}
#contectUl li span {
	float: left;
	margin: 3px 0 0 6px;
}
.bookLabel {
	position: absolute;
	top: 10%;
	left: -24%;
	width: 100%;
	background-color: #515151;
	transform: rotate(-45deg); 
	-webkit-transform: rotate(-45deg); 
	-moz-transform: rotate(-45deg); 
	-o-transform: rotate(-45deg);
	color: white;
	text-align: center;
	text-transform: uppercase;
	padding: 6px;
}
.rentedBook {
	background-color: #ba384b;
}
.newBook {
	background-color: #1785fb;
}

#filtersCtn {
	padding: 12px 0;
}
#filtersCtn button {
	margin: 0 3px 6px;
	border-radius: 20px;
	line-height: 35px;
}
#filtersCtn button.active {
	background-color: var(--mdc-theme-secondary);
	color: var(--mdc-theme-primary);
}
#bannerUl {
	padding-left: 5%;
	margin: 10px 0 0;
}
#bannerUl li {
	list-style: disc;
	font-size: 16px;
}

/* ADMIN */
.dropFilesBox {
	border-style: dashed;
	border-color: #E0E0E0;
	cursor: pointer;
	overflow: auto;
	max-height: 400px;
	min-height: 300px;
	background: #f8fafb;
	color: #E0E0E0;
}
.dropFilesBoxOver {
	border-color: #26ace0;
}
.dropFilesBox.invalid {
	border-color: #F44336;
}
.imgDiv {
	padding: 12px;
}
.imgPreviw {
	position: relative;
	display: inline-block;
	margin: 0 6px 12px;
}
.imgDiv canvas,
.imgDiv img {
	max-height: 180px;
	max-width: 100%;
}

.adminActions a {
	color: var(--mdc-theme-primary);
	margin: 0 4px;
}
.adminActions a.btn-floating i {
	color: var(--mdc-theme-primary);
}
.adminActions a.btn-floating:hover,
.adminActions a.btn-floating i:hover {
	background-color: transparent !important;
}
nav ul a {
	color: black;
}
.ui-state-highlight {
	height: 5rem;
	line-height: 5rem;
	background-color: var(--mdc-theme-secondary) !important;
	border: dashed 2px var(--mdc-theme-primary) !important;
}
.handleCol {
	cursor: grab;
}
.ui-loader {
	display: none;
}

footer {
	padding: 24px 0;
}
.fullHeightMain {
	position: relative;
	height: -moz-calc(100% - 56px);
	height: -webkit-calc(100% - 56px);
	height: calc(100% - 56px);
}
#pdfCtn {
	z-index: 1;
	background-color: #fafafa;
	width: calc(100% - 48px);
	height: -moz-calc(100% - 24px);
	height: -webkit-calc(100% - 24px);
	height: calc(100% - 24px);
}
.absolute {
	position: absolute;
}

@media only screen and (max-width: 600px) {
	.modalSmall {
		width: 80%;
	}
	.card .card-content {
		padding: 12px;
	}
	.card .card-content .card-title {
		font-size: 17px;
	}
	.carousel {
		height: 160px !important;
	}
	.carousel.carousel-slider .carousel-item {
		min-height: 160px;
		height: 160px !important;
	}
	.carousel.carousel-slider .carousel-item h2 {
		font-size: 26px;
		margin-bottom: 1rem;
		text-shadow: 2px 1px 2px rgba(255, 255, 255, 0.8);
	}
	.carousel.carousel-slider .carousel-item p {
		font-size: 17px;
	}
	.carousel.carousel-slider .carousel-item p.simpleText {
		font-size: 14px;
		color: var(--mdc-theme-primary);
		text-shadow: 2px 1px 4px var(--mdc-theme-secondary);
	}
	.carouselItemDiv {
		top: 4%;
	}
	.bookLabel {
		top: 8%;
		left: -24%;
	}
	.explanation {
		margin-left: -1rem;
		margin-right: -1rem;
	}
	.explanation .col {
		padding: 0 .25rem;
	}
	.explanation .rent, 
	.explanation .delivery, 
	.explanation .return {
		padding: 0 6px;
	}
	.explanation p {
		padding: 0;
	}
	h5 {
		font-size: 1.4rem;
	}
	.collection {
		margin-bottom: 5rem;
	}
	.collection .collection-item {
		padding: 10px;
	}
	.collection .collection-item .adminActions {
		padding: 0;
	}	
}
@media only screen and (min-width: 601px) {
	.fullHeightMain {
		height: -moz-calc(100% - 64px);
		height: -webkit-calc(100% - 64px);
		height: calc(100% - 64px);
	}
	nav .brand-logo img {
		max-height: 56px;
		margin-top: 12px;
	}
}
@media only screen and (min-width: 601px) and (max-width: 992px) {
	.modalSmall {
		width: 50%;
	}
	.card .card-content .card-title {
		font-size: 18px;
	}
}
@media only screen and (max-width: 992px) {
	nav .brand-logo {
		left: auto;
		transform: none;
		-webkit-transform: none;
	}
}
@media only screen and (min-width: 993px) {
	.container {
		width: 90%;
	}
}
@media only screen and (min-width: 769px) and (max-width: 1024px) {
	.row .col.l2 {
		width: 20%;
	}
}