@font-face {
    font-family: 'EB Garamond Regular';
    src: url('fonts/EBGaramond-Regular.eot');
    src: url('fonts/EBGaramond-Regular.eot?#iefix') format('embedded-opentype'),
    url('fonts/EBGaramond-Regular.woff') format('woff'),
    url('fonts/EBGaramond-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EB Garamond Medium';
    src: url('fonts/EBGaramond-Medium.eot');
    src: url('fonts/EBGaramond-Medium.eot?#iefix') format('embedded-opentype'),
    url('fonts/EBGaramond-Medium.woff') format('woff'),
    url('fonts/EBGaramond-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background: #ddd;
    min-height: 600px;
    color: #212529;
    font-family: EB Garamond Medium serif;
}

a {
    color: #212529;
}

hr {
    background-image: linear-gradient(to right, #999, #212529, #999);
    height: 1px;
    width: 50%;
}

.clear-both {
	clear: both;
}

.hidden {
    display: none;
}

.shown {
    display: block;
}

.navbar {
    background-color: #212529;
}

.btn {
	padding: 10px 20px;
}

.content {
    background: #fff;
    padding: 10px;
}

.paging {
    margin: 10px 0;
}

.footer {
    background-image: linear-gradient(to top, #ddd, #ddd, #ddd, #eee, #fff);
    height: 100px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 40px;
    background-color: #fff;
}

div.account {
	margin: 10px;
    border-radius: .25rem !important;
}

div.account:hover {
    background: #444;
}

div.list {
    margin: 20px auto;
}

div.vidry-com {
    text-align: right;
}

div.vidry-com a {
    font-family: "EB Garamond Medium" sans-serif;
    font-size: 2em;
    font-style: italic;
    color: #000050;
}

div.vidry-com a:hover {
    text-decoration: none;
}
.vidry-com img {
	height: 40px;
}

div.accounts table {
    margin: 10px auto;
}

div.accounts table td.balance {
    font-weight: bold;
}

form.login {
	width: 300px;
	margin: 50px auto;
}

form.login .form-group {
	width: 200px;
	margin: 5 auto;
	text-align: right;
}

form.login .form-group input {
	width: 100%;
	border: 1px solid #000;
}

.navbar-admin {
    background: #491217;
}

.light-grey {
    background: #aaa;
}

.navbar-admin a {
    color: #fff;
}

.navbar-nav a {
    color: #c8cbcf;
}

.nav-item-icon {
    margin: 0 10px;
}

div.admin table {
    margin: 10px 0;
}

div.account-name {
    display: flex;
    text-align: center;
}

div.account-name span {
    margin: auto 0;
}

table th {
    font-weight: bold;
    text-align: center;
}

th span.header-sortable {
    cursor: pointer;
}

.btn-light {
    border: none;
    background: transparent !important;
    cursor: pointer;
}

button.btn-light:hover {
    background: none;
}

button.btn-edit, button.btn-edit-anime {
    color: #999;
}

button.btn-watch {
    color: #5B7;
}

button.btn-view, button.btn-view-anime {
    color: #57B;
}

button.btn-delete, button.btn-delete-anime {
    color: #dc3545;
}


/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    float:right;
}
.switch.search {
    float: left;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input.default:checked + .slider {
    background-color: #444;
}
input.primary:checked + .slider {
    background-color: #2196F3;
}
input.success:checked + .slider {
    background-color: #8bc34a;
}
input.info:checked + .slider {
    background-color: #3de0f5;
}
input.warning:checked + .slider {
    background-color: #FFC107;
}
input.danger:checked + .slider {
    background-color: #f44336;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

div.bottom-right {
    position: relative;
}

div.bottom-right button {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 15px;
}

.checkbox-label {
    height: 55px;
}

.btn-previous, .btn-next {
	font-size: x-large;
}

.btn-next {
	text-align: right;
}

div.movie-cell {
	text-align: center;
	background: #212529;
	color: #999;
	font-weight: bold;
	cursor: pointer;
	border: 2px solid #888;
	border-radius: 8px;
	margin: 12px;
	padding: 5px;
	width: 12%;
	height: 190px;
	float: left;
}

div.movie-cell .thumbnail img {
    border: 1px solid #999;
}

.overlay {
  position: absolute;
  z-index: 2;
  opacity: 0;
  background: #212529;
  transition: opacity 200ms ease-in-out;
  border-radius: 4px;
  margin: -5px 0 0 -5px;
}

.overlay:hover {
    opacity: 0.9;
}

.overlay .section {
    width: 100%;
    height: 40px;
    padding-top: 5px;
}

.overlay .section.left {
    text-align: left;
    padding-left: 5px;
}

.overlay .section.left .btn-delete {
	float: right;
}

.overlay .section.links {
    height: 40px;
}

.overlay .section.rate {
    height: 25px;
}

div.btn-list {
	text-align:right;
	padding-right: 30px;
}

select.form-control {
    background-color: #ccc;
}

select.multiple {
    height: 300px;
}

.checked {
    color: orange;
}

.default-image {
	height: 100px;
	width: 75px;
	padding-top: 30px;
}

div.image {
	margin: 0 auto;
	width: 360px;
	height: 100%;
	background-color: #212529;
	background-size: cover;
	background-repeat: no-repeat;
	min-height: 492px;
	border: 4px solid #212529;
	border-radius: 8px;
	box-shadow: 5px 5px #777;
}

div.view {
	background: #999;
	border-radius: 8px;
	padding-bottom: 50px;
}

div.view h1 {
	background: #212529;
	color: #999;
	border-radius: 8px;
	padding: 10px;
	border: 2px solid #999;
}

.btn-category, .btn-category:active, .btn-category:focus {
	height: 30px;
	padding: 5px 10px;
	border-radius: 15px;
	border: none;
	background-color: #57B;
	color: #abf;
	float: left;
}

.btn-category.unselected, .btn-category.unselected:active, .btn-category.unselected:focus {
    background-color: #444;
}

.view .btn-imdg, .view .btn-allocine {
	float: left;
}

.view .rating {
	float: right;
    font-size: 16px;
	display: flex;
}

.view .rating .rating-value {
	margin: auto 10px;
}

.view .duration {
	font-size: 0.3em;
}

.view .links {
	padding-top: 20px;
}

.view label {
    font-weight: bold;
}

.view form {
    padding: 10px;
}

.view form input {
    background-color: #ccc;
}

.section.rating {
	padding-left: 5px;
}
.star-ratings {
  unicode-bidi: bidi-override;
  color: #ccc;
  font-size: 24px;
  position: relative;
  margin: 0;
  padding: 0;
}
.star-ratings .fill-ratings {
    color: orange;
    padding: 0;
    position: absolute;
    z-index: 1;
    display: block;
    top: 0;
    left: 0;
    overflow: hidden;
}
.star-ratings .fill-ratings span {
    // Allows us to grab the width of the span elements
    display: inline-block;
}
.star-ratings .empty-ratings {
    padding: 0;
    display: block;
    z-index: 0;
}

.remember-me {
    margin: 0;
}

.remember-me .checkbox {
    margin: auto 0;
}

.remember-me .label {
    margin: 8px 10px 0;
}
