@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: #ada;
    min-height: 600px;
    color: #212529;
    font-family: EB Garamond Medium serif;
    font-size: 1.5rem;
}

p {
    margin-bottom: 0.5rem;
}

a {
    color: #7f7;
}

hr {
    height: 1px;
}

.clear-both {
	clear: both;
}

.hidden {
    display: none;
}

.shown {
    display: block;
}

.navbar {
    background-color: #141;
}
.navbar.profile {
    padding: unset;
}
.navbar-brand.language img {
    width: 30px;
    height: 20px;
    margin-bottom: 3px;
}

.navbar-admin .navbar {
    background-color: transparent;
}
.navbar-dark .navbar-brand {
    color: #ada;
}
.navbar-dark .navbar-brand:hover {
	color: #ccd;
}

.btn {
	padding: 10px 20px;
}
.btn-light:disabled {
    opacity: 0.2;
}

.pagination .page-item .page-link {
    height: 100%;
    background-color: rgb(17, 62, 17);
    color: #ada;
    border-color: #ada;
}
.pagination .page-item.active .page-link {
    background-color: rgba(17, 62, 17, 0.5);
}

.paging {
    margin: 10px 0;
}

.footer {
    height: 100px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 40px;
}

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

form.login .form-group {
	width: 200px;
	margin: 5px 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.admin table td, div.admin table th {
	vertical-align: middle;
}
div.admin table td a {
	color: #000;
}

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

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

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

.modal-header {
    font-size: 1.5rem;
    font-weight: bold;
}

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

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

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

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

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

.tools {
    float: right;
    margin-top: 10px;
}
.navigation {
    background-color: rgba(17, 68, 17, 0.5);
    margin: -10px -10px 10px;
}

.date {
	font-size: 0.8rem;
	font-style: italic;
}

.comment {
    width: 100%;
    padding: 10px;
    margin: 5px 20px;
    border: 1px solid #141;
    border-radius: 15px;
    background-color: #141;
    color: #8b8;
}
.comment .date {
    border-bottom: 1px solid #8b8;
}
.comment .tools {
    border-top: 1px solid #8b8;
    width: 100%;
    padding-top: 5px;
    text-align: right;
}
.comment .tools button {
    color: #fff;
}


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

/* 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: #887c90;
    -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;
}

.overlay {
  position: absolute;
  z-index: 2;
  opacity: 0;
  color: #abf;
  background: #445;
  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;
}

.form-control, .richText .richText-editor, .richText .richText-toolbar {
    background: #ada;
    border-left: #ada;
}
.form-control:focus, .richText .richText-editor:focus {
    background: #beb;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #696;
}
::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.9);
}

select.multiple {
    height: 300px;
}

.dropdown.status {
	width: 70%;
	margin: 0 auto;
}
.dropdown.status .dropdown-toggle::after {
	float: right;
	margin: 12px 0 10px 0;
}
.dropdown.status button {
	width: 100%;
	border: 1px solid #000;
	border-radius: 2rem;
	padding: 5px 10px;
	text-align: left;
	cursor: pointer;
}
.dropdown.status .dropdown-item:hover {
	background-color: #ccc;
}

.checked {
    color: orange;
}

.thumbnail {
	height: 160px;
	width: 160px;
	margin: 5px;
}

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 {
    border: 1px solid #212529;
	border-radius: 8px;
	padding-bottom: 50px;
}

div.view h1 {
    background: #3d414b;
    color: #abf;
	border-radius: 8px 8px 0 0;
	padding: 10px;
}

.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: #3d414b;
}

.btn-comment {
    margin-left: 0;
}

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

.view label {
    font-weight: bold;
}

.view form {
    padding: 10px;
}

.view form input {
    color: #fff;
    background-color: #887c90;
}

.selected {
    color: #bfa;
}

div.photo, div.title, div.pagination {
	width: 100%;
	text-align: center;
}

div.title {
    font-weight: bold;
    font-size: 1em;
}

div.content {
    padding: 10px;
    text-align: justify;
	background: #8b8;
}
div.content a {
    color: #7f7;
}
div.content .modal a.btn-ok {
    color: #fff;
}

div.index div.row.first {
    margin-left: -10px;
    margin-right: -10px;
}
div.index div.main div.post {
    margin: 5px;
    padding: 5px;
    border: 1px solid #8b8;
    border-radius: 15px;
    height: 400px;
}
.post .content, .main .content {
	background: transparent;
}

div.summary div.content {
	padding: 0;
}
div.summary div.content .image {
    max-width: 40%;
    max-height: 300px;
    float: left;
    margin: 0 10px 10px 0;
}
div.summary.small {
    padding: 5px;
}
div.summary.small div.content .image {
    max-width: 100%;
    max-height: 150px;
    float: unset;
}

div.page div.content .image {
    max-width: 100%;
    max-height: 800px;
    margin: 0 10px 10px 0;
}
div.page div.content .image-container {
    width: 100%;
    text-align: center;
}

div.headline {
    height: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #8b8;
}
div.headline div.content .image {
    max-width: 20%;
    max-height: 100px;
    float: left;
    margin: 0 5px 5px 0;
}

form .preview {
    text-align: center;
}
form .preview .image {
    max-width: 200px;
    max-height: 200px;
    margin: 10px;
}

.summary .btn-edit {
    margin-top: 10px;
}

.draft {
    background-color: rgba(255,187,51,0.5);
}

div.pagination div {
	margin: 10px auto;
}

#navbarText {
	color: #fff;
}

div.bottom-navigation {
    height: 20px;
}

div.bottom-navigation ul {
	height: 20px;
}

div.bottom-navigation ul li {
	list-style-type: none;
	float: left;
	margin: 3px;
}

div.bottom-navigation ul.left {
    float: left;
}

div.bottom-navigation ul.right {
    float: right;
}

.admin td img {
    height: 35px;
}

.remember-me {
    margin: 0;
}
.remember-me .checkbox {
    margin: auto 0;
    cursor: pointer;
}
.remember-me .label {
    margin: 8px 10px 0;
}

.btn-success {
    background-color: rgba(17, 68, 17, 1);
    border-color: rgba(17, 68, 17, 1);
}

.btn-tag, .btn-search-tag, .btn-update-tag, .tag {
    border: 1px solid #141;
    border-radius: 20px;
    height: 40px;
    padding-top: 7px;
    margin: 10px 3px;
    background: rgba(17, 68, 17, 0.5);
    color: #ada;
}
.btn-tag.selected, .btn-search-tag.selected, .btn-update-tag.selected, .tag.selected {
	background: rgba(17, 68, 17, 1);
}

#tagForm {
    margin-top: 10px;
}

.status-bullet {
    margin-top: 10px;
}

.sort-icon {
    color: rgba(17, 68, 17, 0.3);
}
.sort-icon.active {
    opacity: 100%;
}

textarea#comment, .contact textarea {
    height: 300px;
}
.comment-error {
    display: none;
}

.search-group {
    border: 1px solid #141;
    border-radius: 5px;
    width: 50%;
    float: left;
    margin: 5px;
}
.search-group label {
    background-color: #141;
    color: #ada;
    margin-bottom: 0;
    padding: 2px 5px;
    width: 50%;
}

span.beta {
    color: #ada;
}

@media (max-width: 1024px) {
	.title, content {
		font-size: 1.5rem;
	}

    .dropdown-toggle span.fa-circle {
        margin: 5px 0;
    }
    .dropdown-toggle span.text {
        display: none;
    }
}

@media (max-width: 768px) {
}
