body,html {
	font-size: 15px;
  text-align: justify;
}

.fa {
  padding: 0.1em 0.3em;
}

.btn .fa {
  padding-left: 0;
}

.btn .fa.samewidth {
  padding-left: 0.3em;
}

.administration .content ul li {
  list-style-type: square;
}

.administration a {
  color: #0F9468;
}

.administration a:hover {
  color: #0A6748;
  text-decoration: none;
}

.center-content {
	text-align: center;
}

.administration .content-wrap {
  padding-bottom: 3em;
}

footer {
	background-color: #ddd;
	padding: 0.5em 1em;
	/*position: fixed;
	top: 0;
	left: 0;
	right: 0;*/

}

h1, h2, h3 {
  text-align: left;
}

.administration nav.main h3, .administration nav.main h4
{
	/*font-size: 100%;*/
	/*background-color: red;*/
	padding: 0.5em 15px;
  margin-bottom: 0;
  border-bottom: 1px solid #555;
}

.administration nav.main ul {
  list-style-type: none;
  padding: 0;
}

.administration nav.main ul a {
  border-top: 1px solid #dedede;
  display: block;
  padding: 0.5em 25px;
}

.administration nav.main ul li:first-child a {
  border-top: 0;
}

.administration nav.main ul a:hover {
  background-color: #efefef;
}

.administration nav.main .well {
  margin: 15px 0;
  font-size: 90%;
}

.administration nav.navbar-custom {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.administration nav.main .img-placeholder {
  padding: 0;
}

.administration nav.main .img-placeholder img {
  width: 100%;
  display: inline-block;

}

.administration nav.main .profile td {
  padding: 2px 7px;
}

.administration nav.main .profile td i.fa {
  padding: 0;
  font-size: 4em;
}

.administration nav.main .profile .name {
  font-weight: bold;
  /*text-align: right;*/
}

.administration nav.main .profile .username {
 /* text-align: right;*/
  font-style: italic;
}

.administration .pad {
  padding: 0.5em 0;
}


.bread {
	padding: 0.5em 1em;
}

.listing .actions .action {
	display: inline-block;
	padding: 0.3em 0.5em;
}

.listing .actions .action .fa {
  padding: 0;
}

.custom-pagination-center {
  text-align: center;
}

.custom-pagination
{
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}
.custom-pagination > li {
  display: inline;
}

.custom-pagination > li > a,
.custom-pagination > li.current,
.custom-pagination > li > span > a {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
}

.custom-pagination > li:first-child > a,
.custom-pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.custom-pagination > li:last-child  a,
.custom-pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.custom-pagination > .active > a,
.custom-pagination > .active > span,
.custom-pagination > .active > a:hover,
.custom-pagination > .active > span:hover,
.custom-pagination > .active > a:focus,
.custom-pagination > .active > span:focus {
  z-index: 2;
  cursor: default;
}

.custom-pagination > .disabled > span,
.custom-pagination > .disabled > span:hover,
.custom-pagination > .disabled > span:focus,
.custom-pagination > .disabled > a,
.custom-pagination > .disabled > a:hover,
.custom-pagination > .disabled > a:focus {
  cursor: not-allowed;
}

.administration .custom-pagination > li > a,
.administration .custom-pagination > li.current,
.administration .custom-pagination > li > span > a
{
  color: #0F9468;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}

.administration .custom-pagination > li.current,
.administration .custom-pagination > li > span,
.administration .custom-pagination > li > a.disabled
{
  color: #555;
}

.administration .custom-pagination > li > a:hover,
.administration .custom-pagination > li > a:focus,
.administration .custom-pagination > li > span > a:hover,
.administration .custom-pagination > li > span > a:focus
{
  color: #0A6748;
  background-color: #eee;
  border-color: #ddd;
}

.administration .custom-pagination > li > a.disabled:hover {
  background-color: transparent;
  color: #555;
}

.administration .custom-pagination > .active > a,
.administration .custom-pagination > .active > span,
.administration .custom-pagination > .active > a:hover,
.administration .custom-pagination > .active > span:hover,
.administration .custom-pagination > .active > a:focus,
.administration .custom-pagination > .active > span:focus
{
  color: #fff;
  background-color: #428bca;
  border-color: #428bca;
}
.administration .custom-pagination > .disabled > span,
.administration .custom-pagination > .disabled > span:hover,
.administration .custom-pagination > .disabled > span:focus,
.administration .custom-pagination > .disabled > a,
.administration .custom-pagination > .disabled > a:hover,
.administration .custom-pagination > .disabled > a:focus {
  color: #999;
  background-color: #fff;
  border-color: #ddd;
}

.administration .content .bar {
    height: 18px;
    background: green;

}

.administration .content .upload-btn {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.administration .content .upload-btn input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.administration .content .upload-btn label {
  font-weight: normal;
  margin-bottom: 0;
}

.administration .content .progress {
  margin: 1em 0;
}

.administration .content a.btn-success,
.administration .content a.btn-danger
{
  color: #fff;
}

.administration .content .files {
  padding 1.5em 0;
}

.administration .content .files ul {
  padding-left: 0.6em;
}

.administration .content .files > ul {
  padding: 0.5em 0;
}

.administration .content .files ul li {
  list-style-type: none;
}

.administration .content .files ul li.message .message-text,
.administration .content .files .bg-danger
{
  padding: 0.5em 1em;
  border-radius: 4px;
  margin: 0.2em 0;
}

.administration .content .files ul li.message .message-text i.fa {
  padding: 0;
  padding-right: 0.5em;
}

.administration .content .files ul li.message .message-text.success {
  border-color: #25995F;
  background-color: #dff0d8;
}

.administration .content .files ul li.message .message-text.fail {
  border-color: #B80710;
  background-color: #f2dede;
}

.administration .content .files ul li.message .message-text.fail i.fa {
  color: #B80710;
}

.administration .content .files ul li.message .message-text.success i.fa {
  color: #25995F;
}

.administration .content form .files .error-message {
  padding: 0.2em 1em;
  font-size: 90%;
  margin-bottom: 0.2em;
  border: 1px solid #f2dede;
  background-color: #fff;
  color: #B80710;
}

.administration .content .flash-wrap > .message {
  padding: 0.5em 1em;
  margin-bottom: 1em;
  border-radius: 3px;
  font-size: 115%;
}

.administration .content .flash-wrap > .message.bg-danger {
  background-color: #B80710;
  color: #fff;
}

.administration .content .flash-wrap > .message.bg-success {
  background-color: #25995F;
  color: #fff;
}


.administration .content form .error-message {
  background-color: #373737;
  background-color: #888;
  color: #fff;
  padding: 0.5em 1em;
  margin-top: 0.2em;
  margin-bottom: 0.5em;
  font-size: 95%;
  border-radius: 4px;
}

.administration .content form .submit > input[type='submit'] {

}

.administration .content .glyphicon {
  font-size: 180%;
}

.administration .content table.custom td {
  vertical-align: middle;
  text-align: justify;
}

.administration .content table.custom .center-content {
  text-align: center;
}

.administration .content table.custom .right-content {
  text-align: right;

}

.administration .content table th.min-width-20 {
  width: 20%;
}

.administration .content table th.min-width-5 {
  width: 5%;
}

.administration .content .table.custom > thead > tr > th {
  border-bottom-width: 1px;
}

.administration .content h1 {
  padding-bottom: 0.3em;
  border-bottom: 1px solid #000;
  text-align: left;
}

.administration .content article h1 {
  margin-bottom: 0;
}

.administration .content article .subtext {
  padding: 1em;
  text-align: right;
  border-bottom: 1px solid #dedede;
  /*border-top: 1px solid #000;*/
}

.administration .content article .subtext:last-child {
  margin-bottom: 1em;
}

.administration .content .subtext > span {
  display: inline-block;
  padding-left: 1em;
}

.administration .content article .actions {
  text-align: right;
  padding: 1em;
}

.administration .content .gallery-wrap .gallery-item {
  background-color: red;
}

.administration .content .gallery-wrap .gallery-item.title {
  background-color: blue;
}

.administration .content .galleries-all .row .gallery-header {
  height: 170px;
}

.administration .content .gallery-wrap .gallery-item img
{
  width: 100%;
}

.administration .content .galleries-all .row .gallery-header img {
 /* max-width: 225px;
  width: auto;*/
  width: 100%;
}

.administration .content .gallery-desc th {
  text-align: right;
}

nav.main .tag-form .form-group {
  /*padding-top: 0.5em;
  padding-bottom: 1em;*/
}

nav.main .tag-form .form-group label {
  padding: 0 0.5em;
  padding-right: 1em;
}

.administration .content .errors {
  padding: 0.5em 0;
}

.administration .content .errors .bg-danger {
  padding: 0.5em 1em;
}

.administration .content h1 > .btn {
  margin-top: -4px;
  margin-left: 0.3em;
}

/******** GRID TABLE HELPER ********/

.grid-table {
  display: table;
  table-layout: fixed;
  width: 100%;

  /*height: 100%;*/
}

.grid-table-row {
  display: table-row;
  height: 100%;
}

.grid-table-cell {
  display: table-cell;
  width: 25%;
  height: 100%;
  vertical-align: bottom;
  text-align: center;

  padding: 1em;
}

.images-all .grid-table-cell .img-responsive {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0 auto;
}

/*.images-all .grid-table-cell .image-name a,
.images-all .grid-table-cell .image-name.no-link*/
.images-all .grid-table-cell .image-name
{
  /*padding-top: 15px;*/
  background-color: #eee;
  border-top: 6px solid #ccc;

  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.images-all .grid-table-cell .image-name > a {
  display: block;
  /*padding: 10px;*/
  /*border-bottom: 1px solid #e1e1e1;*/
}

.images-all .grid-table-cell .image-name > a:hover {
  background-color: #dedede;
}

.images-all .grid-table-cell .image-name .desc,
.images-all .grid-table-cell .image-name .actions
{
  font-size: 90%;
  padding: 10px;
  text-align: justify;
  color: #999;
}

.images-all .grid-table-cell .image-name .actions {
  text-align: center;
  border-top: 1px solid #e1e1e1;
}


.images-all .grid-table-cell .image-name .name {
  border-bottom: 1px solid #e1e1e1;
  padding: 10px;
}

.images-all .grid-table-cell .image-name.no-desc .name {
  border-bottom: 0;
  font-size: 90%;
  word-break: break-all;
}

.images-all .grid-table-cell .image-name.no-link .desc {
  text-align: center;
}


.images-all .image-header a.gallery-title-img {
  border-radius: 6px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  margin: 0 auto;

  max-height: 150px;
  overflow: hidden;
  display: block;
}

.images-all .image-header a.img-empty {
  height: 100%;
  min-height: 150px;
  background-color: #fafafa;

}

/******** GRID TABLE HELPER END ****/

.administration ul.images-edit {
  padding-left: 0;
  padding-right: 0;
}

.administration ul.images-edit > li {
  list-style-type: none;

  padding-left: 0;
  padding-right: 0;
}

.administration ul.images-edit .image .form-group.inline label,
.administration ul.images-edit .image .form-group.inline input
{
  display: inline-block;
  width: auto;
  font-weight: normal;
  font-size: 90%;
}

.administration ul.images-edit .image .form-group.inline label {
  width: 20%;
  text-align: right;
  margin-right: 5%;
}

.administration ul.images-edit .image .form-group.inline input {
  width: 75%;
}

.administration ul.images-edit .image .panel-body {
  height: 180px;
  overflow: hidden;

}

.administration ul.images-edit .image .panel-body .img-data,
.administration ul.images-edit .image .panel-body .img-wrap {
  padding-left: 0;
  padding-right: 0;
}

.administration ul.images-edit .image .panel-body .img-data {
  padding-right: 15px;

 /* width: 300px;*/
}

.administration ul.images-edit .image .img-wrap {
  /*width: 200px;*/
  /*display: none;*/

  text-align: center;
  max-height: 150px;
  overflow: hidden;
}

.administration ul.images-edit .image .img-wrap img {
  max-width: 100%;
  /*width: 100%;*/
}

.administration ul.images-edit .image .panel-heading .checkbox {
  font-size: 90%;
  margin: 0;
}

.administration ul.images-edit .image .panel-actions {
  padding: 15px;
  padding-bottom: 0;
}

/********* tinyMCE *********/


.administration .content .mce-panel {
  border: 0;
}

.administration .content .mce-tinymce {
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.administration .content #tinymce.mce-content-body body {
  font-size: 14px;
}

.administration .content span.btn {
  cursor: default;
  display: inline-block;
}

.administration .content .reaction-item span.btn:hover {
  background-color: white;
}

.administration .content article .text,
.administration .content article .perex
{
  padding-bottom: 1em;
  padding-top: 1em;
}

.administration .content article .perex {
  font-size: 110%;
  border-bottom: 1px solid #dedede;
  margin-bottom: 1em;
}

.administration .content article .reactions-wrap,
.administration .content article .times-wrap
{
  border-top: 1px solid #dedede;
  margin-top: 0.5em;
  padding-top: 1em;
  padding-bottom: 0.5em;
}

.administration .content article .reactions-wrap h2,
.administration .content article .times-wrap h2 {
  margin-top: 0;
}

.administration .content article .title-img-wrap {
  width: 20%;
  float: left;
  padding-right: 1.5em;
  padding-bottom: 1.5em;
}

.administration form div.form-group-set {
  padding-top: 1em;
  padding-bottom: 1em;
}

.administration form div.form-group-set p {
  padding-top: 1em;
}

.administration form div.form-inline .form-group {
  display: block;
  padding-top: 0.5em;
}

.administration form div.form-inline .form-group label {
  display: inline-block;
  padding-right: 1em;
  min-width: 25%;

  text-align: right;
}

.administration .title-images-wrap {
  text-align: center;
  margin-bottom: 15px;
}

.administration .title-images-wrap label {
  display: block;
  text-align: left;
}

.administration .title-images-wrap .controls {
  padding: 1em 0;
}

.administration .title-images-wrap .title-image {
  display: inline-block;
  margin: 0.5em;
  cursor: pointer;
}

.administration .title-images-wrap .title-image:hover {
  /*background-color: green;*/
  border-radius: 3px;
}

.administration .title-images-wrap .title-image.selected {
  /*background-color: red;*/
}

.administration .title-images-wrap .title-image img {
  height: 175px;
  width: auto;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.administration .title-images-wrap .title-image .name {
  padding: 0.3em 0.5em;
  background-color: #eee;
  border-top: 4px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.administration .title-images-wrap .title-image:hover .name {
  background-color: #5cb85c;
  border-color: #0F9468;
}

.administration .title-images-wrap .title-image.selected .name {
  background-color: #edb11a;
  border-color: #d6a213;
}

.administration .title-images-wrap .title-row-link {
  float: left;
  width: auto;
}

.administration .title-images-wrap .title-row {
  display: none;
  border: 1px solid #ccc;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  margin-bottom: 1em;
}

.administration .title-images-wrap .title-row.row-selected {
  display: block;
}

.administration .title-images-wrap .title-row-link {
  background-color: #eee;
  padding: 0.5em 0.7em;
  margin-right: 0.5em;
  border: 1px solid #ccc;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  cursor: pointer;
  margin-bottom: -1px;
}

.administration .title-images-wrap .title-row-link.selected {
  background-color: #fff;
  border-bottom-color: #fff;
  /*background-color: red;*/
}

/********* tinyMCE END *****/

/******************** NORMAL WEB **********************/

.default .content ul {
/*  list-style-type: none;
  padding: 0;*/
  margin: 0;
}

.default .content-wrap {
  font-family: 'Roboto', arial;
  font-weight: 300;

  /*font-size: 16px;*/
  font-size: 105%;
  background-color: #F3F3F5;

  /*border: 5px solid #F3F3F5;*/
  /*padding: 1.2em 0.7em;*/
}

/** prohozeni default floatu kvuli rozpadani */
.default .content-wrap > .content,
.default .content-wrap > aside.main {
  float: right;
}

.default .content-wrap > .content > .container-fluid > article {
  padding: 15px;
  border-top: 4px solid #F3F3F5;
}

/* je tam submenu */
.default .content-wrap > .content.col-md-9 {
  padding-left: 0;
}

.default .content-wrap > .content.col-md-12 {
  padding-left: 4px;
  padding-right: 4px;
  width: 100%;
}

.default .content-wrap > aside.main {
  /*margin-right: -4px;*/
  padding-right: 0;
}

.default .content-wrap > aside.main > .container-fluid,
.default .content-wrap > .content > .container-fluid
{
  /*background-color: #f00;*/
  padding: 0;
}

.default .content-wrap > .content > .container-fluid > .row,
.default .content-wrap > aside.main > .container-fluid > .row
{
  margin: 0;
}

.default header.main {
  padding-top: 3em;
  padding-bottom: 1em;
}

.default .main .main-name-wrap,
.default header.main .actions-wrap
{
  display: inline-table;
  width: auto;
  table-layout: fixed;
}

.default .main .main-name-wrap .main-name,
.default header.main .actions-wrap  ul.actions
{
  display: table-row;
}

.default .main .main-name .main-name-logo,
.default .main .main-name .main-name-text,
.default header.main .actions-wrap  ul.actions > li
{
  display: table-cell;
  vertical-align: middle;
  height: 60px;
}

.default header.main .actions-wrap  ul.actions > li {
  vertical-align: bottom;
  vertical-align: middle;
  /*padding-bottom: 0.3em;*/
}

.default .main .main-name .main-name-logo img{
  height: 100%;
  width: auto;
}

.default .main .main-name .main-name-text {
  padding-left: 0.7em;
  font-size: 120%;
  line-height: 170%;
  text-align: left;

  text-transform: uppercase;
  font-family: 'Roboto Slab';
}

.default .main .main-name .main-name-text .text-thin {
  font-size: 120%;
}

.default .main .main-name .main-name-text .text-strong {
  font-size: 150%;
}

.default .text-thin {
  font-weight: 300;
}

.default .text-strong {
  font-weight: 700;
}

.default .navbar.navbar-custom {
  border-radius: 0;
  background-color: #F7DF0D;
  border: 0;
  min-height: 70px;
  margin-bottom: 0;

  font-family: 'Roboto';
  font-weight: 300;
  font-size: 110%;

  position: relative;
}

.default .navbar.navbar-custom .navbar-toggle {
  border-color: #000;
  margin-top: 18px;
  margin-bottom: 18px;
}

.default .navbar.navbar-custom .navbar-toggle .icon-bar {
  background-color: #000;
}

.default .navbar.navbar-custom > .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.default .navbar.navbar-custom > .container-fluid .navbar-brand {
  padding: 25px;
  margin-left: -25px;
  height: 70px;
  display: none;
}

.default .navbar.navbar-custom .navbar-nav > li:first-child > a {
  margin-left: -25px;
  padding-left: 25px;
}

.default .navbar.navbar-custom .navbar-collapse {
  padding: 0;
}

.default .navbar.navbar-custom .navbar-nav > li {
  position: static;
}

.default .navbar.navbar-custom .navbar-nav > li > a {
  padding-top: 25px;
  padding-bottom: 25px;

  color: #000;
  text-transform: uppercase;
}

.default .navbar.navbar-custom .navbar-nav > li > a:hover,
.default .navbar.navbar-custom .navbar-nav > li > a:focus,
.default .navbar.navbar-custom .navbar-nav > li.open > a
{
  background-color: #E2C222;
}

.default .navbar.navbar-custom .navbar-form {
  padding-top: 18px;
  padding-bottom: 18px;

  border-left: 1px solid #fff;

  margin-top: 0;
  margin-bottom: 0;
}

.default .navbar.navbar-custom .navbar-form .input-group {
  max-width: 220px;
}

.default .navbar.navbar-custom .navbar-form .input-group-btn .btn {
  background-color: #000;
  color: #fff;
  border-color: #000;
  border-width: 0;
}

.default .navbar.navbar-custom .navbar-form .input-group-btn .btn:hover {
  background-color: #333;
  border: 0;
}

.default .navbar.navbar-custom .dropdown-menu {
  right: 0;
  border: 0;
  border-radius: 0;
  background-color: #E2C222;
  font-size: 16px;
  font-weight: 300;

  border-bottom: 12px solid #F7DF0D;
}

.default .navbar.navbar-custom .dropdown-menu ul {
  padding-top: 1em;
  padding-bottom: 1em;
}

.default .navbar.navbar-custom .dropdown-menu ul > li {
  list-style-type: none;
}

.default .navbar.navbar-custom .dropdown-menu ul > li > a {
  padding-left: 1em; /* pozdeji do odkazu */
  padding-right: 1em; /* pozdeji do odkazu */
  padding-bottom: 0.7em;
  padding-top: 0.7em;
  display: block;

  color: #000;
  text-decoration: none;
}

.default .navbar.navbar-custom .dropdown-menu ul > li > a:hover {
  text-decoration: none;
  color: #333;
  background-color: #edd209;
  border-radius: 3px;
}

.default .navbar.navbar-custom .dropdown-menu ul > li:first-child > a {
  padding-top: 0.7em;
}

.default footer {
  background-color: #231F20;
  color: #fff;
  padding: 2em;

  font-family: 'Roboto Slab';
  font-weight: 200;
  border-top: 2em #F3F3F5 solid;
}


.default footer .nav-footer-wrap {
  padding-bottom: 1.5em;
  font-size: 110%;
}

.default footer .end-logo-wrap {
  padding-top: 1.5em;
  border-top: 1px solid #fff;
  font-size: 90%;
}

.default footer .quote > i.fa {
  padding-top: 0.3em;
}

.default footer .quote-author {
  text-align: right;
  font-weight: normal;
  padding: 0.75em 1.5em;
}

.default footer .quote .quote-text {
  font-size: 110%;
}

.default footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.default footer ul a {
  display: block;
  padding: 0.5em 1em;
  color: #fff;
  text-decoration: none;
}

.default footer ul a:hover {
  color: #ddd;
}

.default article h1,
.default article h2,
.default article h3
{
  font-family: 'Roboto Slab';
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
}

.default article h1 {
  font-size: 28px;
  margin: 0;
  margin-bottom: 10px;
}

.default article.text {
  background-color: #fff;
  border-top: 4px solid #F3F3F5;
}

.default article form {
  padding: 1em 0;
}

.default .content .btn-dark {
  background-color: #231F20;
  font-weight: 600;
  font-family: 'Roboto Slab';
  color: #fff;
  text-decoration: none;
  display: inline-block;
  border-radius: 0;
  text-transform: uppercase;
}

.default .content .btn-dark:hover {
  color: #ddd;
}

.default .content .btn-dark.btn-single,
.administration .btn.btn-single
{
  margin: 1em 0;
}

.default .content .btn-dark i.fa {
  padding-left: 0.6em;
}

.default .content strong {
  font-weight: normal;
  font-weight: 500;
}

.default .content .sm {
  font-size: 90%;
}

.default .content a
{
  color: #000;
  text-decoration: underline;
}

/*.default .content a:hover
{
  color: #666;
  text-decoration: none;
}*/

.default .content a:hover
{
  color: #ED1B24;
  text-decoration: underline;
}

.default .content .brand i.fa {
  padding-left: 0;
  margin-top: 0.1em;
}

.default .content form label {
  font-weight: normal;
}

.default .content-bg {
  background-color: red;
}

.default .content .row > .grid {
  display: table;
  width: 100%;

  margin-top: 15px;
  margin-left: 1px;
}

/*.default .content .container-fluid .row:first-child > article.grid {
  margin-top: 0;
}*/

.default .content .pagination-info {
  display: none;
}

.default .content .custom-pagination-center {
  padding-top: 1em;
}

.default .custom-pagination {
  font-family: 'Roboto Slab';
  font-weight: bold;

}

.default .custom-pagination > li > span,
.default .custom-pagination > li > span > a,
.default .custom-pagination > li > a
{
  border-radius: 0;
}

.default .custom-pagination > li > a,
.default .custom-pagination > li.current,
.default .custom-pagination > li > span > a
{
  color: #000;
  text-decoration: none;
  background-color: #fff;
  border: 0;
  margin: 0 5px;

  padding: 10px 16px;
}

.default .custom-pagination > li.current {
  background-color: #000;
  color: #fff;
}

.default .custom-pagination > li > span {

}

.default .custom-pagination > li > a.disabled
{
  color: #555;
  background-color: #ddd;

  display: none;
}

.default .custom-pagination > li > a:hover,
.default .custom-pagination > li > a:focus,
.default .custom-pagination > li > span > a:hover,
.default .custom-pagination > li > span > a:focus
{
  color: #fff;
  background-color: #000;
}

.default .custom-pagination > li > a.disabled:hover {
  background-color: #ddd;
  color: #555;
}

.default .custom-pagination > .active > a,
.default .custom-pagination > .active > span,
.default .custom-pagination > .active > a:hover,
.default .custom-pagination > .active > span:hover,
.default .custom-pagination > .active > a:focus,
.default .custom-pagination > .active > span:focus
{
  color: #fff;
  background-color: #428bca;
  border-color: #428bca;
}
.default .custom-pagination > .disabled > span,
.default .custom-pagination > .disabled > span:hover,
.default .custom-pagination > .disabled > span:focus,
.default .custom-pagination > .disabled > a,
.default .custom-pagination > .disabled > a:hover,
.default .custom-pagination > .disabled > a:focus {
  color: #999;
  background-color: #ddd;
}

.default .grid .grid-row {
  display: table-row;
}

.default .grid .grid-row .grid-cell {
  display: table-cell;
  vertical-align: top;
}

.default .grid .grid-row .grid-cell.text {
  background-color: #fff;
  padding: 1.2em;
  padding-bottom: 1.8em;
}

.default .grid .grid-row .grid-cell.text h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 24px;

  text-align: left;
}

.default .grid .grid-row .grid-cell.title-img {
  border-left: 7px solid #F3F3F5;
  width: 25%;
}

.default .grid .grid-row .grid-cell.title-img img {
  width: 100%;
}

.default .grid .grid-row .grid-cell a.link-detail {
  /*font-size: 16px;*/
  font-size: 110%;
  margin-top: -1.4em;
  z-index: 5;

  border-radius: 0;
  padding: 10px 20px;
  border: 0;
  text-transform: uppercase;
  color: #000;
  background-color: #F7DF0D;
  font-weight: 200;
}

.default .grid.events .grid-row .grid-cell a.link-detail {
  margin-top: 1.2em;
}

.default .grid .grid-row .grid-cell a.link-detail:hover {
  color: #fff;
  background-color: #ED1B24;
}




.default .grid .text .additional {
  text-align: right;
  font-size: 120%;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  font-family: 'Roboto Slab';
  font-weight: 300;
  text-transform: uppercase;
}

.default .grid.events .grid-row .grid-cell {
  border-top: 4px #F3F3F5 solid;
  border-left: 2px #F3F3F5 solid;

  width: 50%;
}

.default .grid.events .grid-row .grid-cell:first-child {
  border-right: 2px #F3F3F5 solid;
}

.default .grid.events .grid-row .grid-cell.text {
  padding: 1.7em 1.2em;
}

.default .grid.events .grid-row .grid-cell.text > .date {
  margin: 1em 0;
  padding: 0.3em 0.7em;
  display: inline-block;
  background-color: #000;
  color: #fff;

  font-family: 'Roboto Slab';
  font-size: 105%;
  font-weight: bold;
  text-transform: uppercase;
}

.default .grid.events .grid-row .grid-cell.text > .title-image {
  text-align: center;
  margin-top: 1em;
}

.default .grid.events .grid-row .grid-cell.text > .title-image img {
  width: 65%;
  height: auto;
}

.default .content article.detail {
  background-color: #fff;
}

.default .content article.detail .cat {
  text-align: right;
}

.default .content article.detail .cat.col-xs-12 {
  text-align: left;
}

.default .content article.detail h1 {
  font-size: 28px;
  margin-top: 15px;
  margin-bottom: 0;
}

.default .content article.detail h2 {
  font-size: 22px;
  margin-top: 15px;
  margin-bottom: 0;
}

.default .content article.detail .additional {
  font-size: 110%;
  font-family: 'Roboto Slab';
  /*font-weight: 200;*/
  text-transform: uppercase;
}

.default .content article.detail .additional,
.default .content article.detail .perex-text,
.default .content article.detail .text
{
  padding-top: 1em;
}

.default .content article.detail .perex-text.row > div {
  float: right;
}

.default .content article.detail .perex-text.row > aside.title-img-wrap {
  float: right;
}

.default .content article.detail .perex-text {
  padding-bottom: 1em;
}

.default .content article.detail .perex {
  font-size: 110%;
  padding-bottom: 1em;
  border-bottom: 1px solid #F3F3F5;
}

.default .content article.detail .reactions,
.default .content article.detail .gallery-wrap {
  border-top: 4px solid #F3F3F5;
}

.default .content article.detail .reactions h2 {
  padding-bottom: 1em;
}

.default .content article.detail .reactions ul {
  list-style-type: none;
  margin: 0;
  padding: 1em 15px;
  padding-top: 0;
}

.default .content article.detail .reactions ul > li.reaction {
  padding-top: 0.5em;
}

.default .content article.detail .reactions ul > li.reaction:first-child {
  padding-top: 0;
}

.default .content article.detail .reactions ul > li.reaction h4 {
  margin: 0;
  font-family: 'Roboto';
  font-size: 110%;
  font-weight: normal;
  padding-bottom: 0.3em;
}

.default .content article.detail .gallery {
  padding-top: 1em;
}

.default .content article.detail .gallery > img {
  width: 200px;
}

.default .content .swiper-outer-wrap {
  padding: 1.2em 0;
}

.default .content .swiper-pagination {
  padding-bottom: 1.2em;
}

.default .content .swiper-pagination .page {
  padding: 6px 12px;
  background-color: #F3F3F5;
  color: #000;
  font-weight: bold;
  font-family: 'Roboto Slab';
  display: inline-block;
  cursor: pointer;
  margin: 0 2px;
}

.default .content .swiper-pagination .page:hover {
  background-color: #333;
  color: #fff;
}

.default .content .swiper-pagination .swiper-visible-switch,
.default .content .swiper-pagination .swiper-active-switch
{
  background: #000;
  color: #fff;
}

.default .content .swiper-pagination .swiper-active-switch {
  cursor: default;
}

.default .content .swiper-pagination .swiper-active-switch:hover {
  background-color: #000;
}

.default .content .swiper-slide-visible .tip {
  padding-left: 1em;
  padding-right: 1em;
}

.default .content .swiper-slide-visible .tip .additional {
  font-family: 'Roboto Slab';
  padding: 0;
  padding-bottom: 10px;
  font-size: 110%;
  font-weight: normal;
  text-transform: uppercase;
}

.default .content .swiper-outer-wrap .swiper-container {
  margin-left: -1em;
  margin-right: -1em;
}

.default .content .swiper-outer-wrap .tip > aside.title-image {
  float: right;
  width: 35%;
  padding-left: 1em;
  padding-bottom: 0.3em;
}

.default .content .swiper-outer-wrap .tip > aside.title-image > img {
  width: 100%;
  height: auto;
}

.default .content .swiper-header form,
.default .content .swiper-header .swiper-pagination
{
  display: inline-block;
}

.default .content .swiper-header form .form-control {
  border-radius: 0;
  border-color: #000;
  color: #000;
}

.default .content .selectpicker.btn-dark ~ .btn-group .dropdown-menu {
  background-color: #000;
  font-weight: bold;
  color: #fff;
}

.default .content .selectpicker.btn-dark ~ .btn-group .dropdown-menu > li > a {
  color: #fff;
  font-weight: bold;

}

.default .content .selectpicker.btn-dark ~ .btn-group .dropdown-menu > li > a:hover,
.default .content .selectpicker.btn-dark ~ .btn-group .dropdown-menu > li > a:focus {
  background-color: #333;
  color: #fff;
}

.default .content article h3 {
  margin-top: 0;
  font-size: 22px;
  font-family: 'Roboto Slab';
  font-weight: bold;
  text-transform: uppercase;
}

.default .content article.detail h3 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.default .content .container-fluid > h1 {
  font-family: 'Roboto Slab';
  font-weight: bold;
  text-transform: uppercase;
  border-top: 3px solid #000;

  font-size: 24px;
  margin: 0;
  text-align: center;
  padding-bottom: 24px;
  margin-top: 40px;
}

.default .content .container-fluid > h1 > span {
  display: table;
  margin-top: -22px;
  margin-left: auto;
  margin-right: auto;
  background-color: #F3F3F5;
  padding: 0.3em 0.5em;
}

.default .content article.text .brand {
  padding-top: 1em;
}

.default .content .libraries-wrapper {
  padding: 0;
}

.default .content .contacts-wrapper {
  border-top: 1px solid #F3F3F5;
  border-bottom: 1px solid #F3F3F5;
  margin: 1.5em 0;
  padding: 1.5em 0;
}

.default .content .libraries-wrapper {
  padding-top: 1em;
}

.default .content .contacts-wrapper > .row,
.default .content .libraries-wrapper > .row
{
  padding-top: 1em;
}

.default .content .contacts-wrapper > .row:first-child,
.default .content .libraries-wrapper > .row:first-child
{
  padding-top: 0;
}

.default .content .contacts-wrapper .contact .surname {
  text-transform: uppercase;
}

.default .content .libraries-wrapper .library i.fa {
  font-size: 3.2em;
  margin: 0;
}

.default aside.main .upcoming-events,
.default aside.main .opening
{
  padding: 0;
  background-color: #fff;
  margin-bottom: 1.5em;

  text-align: left;
}

.default aside.main .opening {
}

.default aside.main .opening h3 {
  border-bottom: 1px solid #231F20;
}

.default aside.main h3 {
  font-family: 'Roboto Slab';
  font-size: 18px;
  font-weight: bold;

  padding: 1em 0;
  margin: 0 1em;
}

.default aside.main .upcoming-events h3 i.fa {
  padding-right: 0.5em;
}

.default aside.main .upcoming-events .event {
  background-color: #231F20;
  color: #fff;
  margin-bottom: 1px;
  padding: 1em;
}

.default aside.main .upcoming-events .event .date {
  padding-bottom: 0.3em;
  font-weight: bold;
}

.default aside.main .upcoming-events .event .name {
  border-top: 1px solid #ccc;
  font-size: 110%;
}

.default aside.main .upcoming-events .event .name a {
  padding-top: 0.4em;
  display: block;
  color: #fff;
  text-decoration: none;
}

.default aside.main .upcoming-events .event .name a:hover {
  color: #ddd;
}

.default aside.main .opening .records {
  padding: 1em 1.5em;
  text-transform: uppercase;
}

.default aside.main .opening .records > p {
  margin-bottom: 0.1em;
}

.default aside.main .opening .records .record {
  padding-top: 0.2em;
  font-family: 'Roboto Slab';
  font-weight: 200;
}

.default aside.main .opening .records .record:first-child {
  padding-top: 0;
}

/************ GALLERIA ***************/

.galleria{
  width: 100%;
  height: 500px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.default .galleria-theme-classic {
  background: #F3F3F5;

}

.default .galleria-theme-classic .galleria-stage {
  background-color: #aaa;
  background-color: #777;
}

.default .galleria-theme-classic .galleria-thumbnails {
  margin: 0 auto;
}

.default .galleria-theme-classic .galleria-counter {
  color: #333;
}

.default .galleria-theme-classic .galleria-thumbnails .galleria-image {
  border-color: #ccc;
  background-color: #ccc;
  height: 50px;
}

.default .galleria-theme-classic .galleria-thumbnails-container .galleria-thumb-nav-right,
.default .galleria-theme-classic .galleria-thumbnails-container .galleria-thumb-nav-left
{
  background-color: #666;
}

.default .galleria-theme-classic.notouch .galleria-thumbnails-container .disabled:hover {
  background-color: #666;
}

/************ GALLERIA END ***********/

.default .user-wrap {
  height: 60px;
  display: table;
}

.default .user-wrap .user-panel {
  vertical-align: middle;
  display: table-cell;
  font-family: "Roboto Slab";
  text-transform: uppercase;
  font-size: 120%;

}

.default .img-responsive {
  margin: 0 auto;
}

.default .main-name a,
.default .user-wrap .user-panel a {
  color: #000;
}

.default footer .main-name a
{
  color: #fff;
}

.default .user-wrap .user-panel a:hover,
.default .main-name a:hover
{
  color: #333;
  text-decoration: none;
}

.default footer .main-name a:hover
{
  color: #eee;
}


.libraries-wrapper li {
  list-style-type: none;
  text-align: left;
  padding: 0px;
}

.libraries-wrapper a {
  text-decoration: none!important;
}

.contacts-wrapper li{
  list-style-type: none;
  padding: 0px;
}



.btn:hover {
    text-decoration: none!important;
}

.btn  {
    text-decoration: none!important;
}




/******************** NORMAL WEB END ******************/

.administration .content #reactions-wrap {
  margin-top: 20px;
}

.login .message {
  padding: 6px 12px;
  border: 1px solid #c41515;
  border-radius: 4px;
  margin: 1em 0;
  color: #c41515;
}

.administration .img-wrapper{
  /*width: 85%;*/
  color: #bbb;
}
.administration .img-wrapper img,
.default .img-basic-wrapper img
{
  display: block;
  width: 90%;
  margin: 0 auto;
  padding: 1.2em 0;
}

@media (max-width: 992px) {

  ul.images-edit .image .panel-body {
    height: auto;
  }

  ul.images-edit .image .img-wrap {
    max-height: 100%;
  }

  ul.images-edit .image .img-wrap img {
    margin: 0 !important;
    /*height: auto;
    width: 100%;*/
  }

  .administration .content article .title-img-wrap {
    width: 30%;
  }

  .default .navbar.navbar-custom .navbar-form {
    border-left: 0;
    margin-left: -15px;
  }

  .default .navbar.navbar-custom .navbar-form .input-group {
    max-width: 100%;
  }

  .default .grid .grid-row .grid-cell.title-img {
    width: 30%;
  }

}

.administration .content p.page-desc {
  padding: 1em 0;
  margin: 0;
}

@media (max-width: 767px) {

  /** prohozeni default floatu kvuli rozpadani */
  .default .content-wrap > .content,
  .default .content-wrap > aside.main {
    float: none;
  }

  .default .navbar.navbar-custom .navbar-collapse {
    padding-left: 15px;
    padding-right: 15px;
  }

  .default .navbar.navbar-custom .navbar-nav > li:first-child > a {
    margin-left: 0;
    padding: 10px 15px;
    border-top: 1px solid #fff;
  }

  .default .navbar.navbar-custom .navbar-nav > li > a {
    padding: 10px 15px;
    /*padding: 20px 25px;

    line-height: 40px;*/
  }

  .default .navbar.navbar-custom .navbar-header {
    /*border-bottom: 1px solid #fff;*/
  }

  .default .navbar.navbar-custom .navbar-nav {
    margin: 0px inherit;
  }

  .default .navbar.navbar-custom .navbar-nav > li:first-child {
  }

  .default .navbar.navbar-custom .navbar-form {
    border-top: 1px solid #fff;
    padding: 10px 15px;
    margin: 8px inherit;
    margin-top: 0;
  }

  .default aside.main .opening {
    margin-top: 0;
  }


  .default .content-wrap > .content {
    padding-left: 15px;
  }

  .default .content-wrap > aside.main {
    /*margin-right: -4px;*/
    padding-right: 15px;
  }

  .default article.grid .grid-row .grid-cell.title-img {
    width: 33.3333334%;
  }

  .default .grid.events {
    display: block;
  }

  .default .grid.events .grid-row .grid-cell {
    display: block;
    width: 100%;
    border-left: 0;
  }

  .default .grid.events .grid-row .grid-cell:first-child {
    border-right: 0;
  }

  .default .grid.events .grid-row .grid-cell.text > .title-image img {
    width: 50%;
  }

  .default .content .contacts-wrapper,
  .default .content .libraries-wrapper
  {
    padding-top: 0;
  }

  .default .content .contacts-wrapper > .row,
  .default .content .libraries-wrapper > .row
  {
    padding-top: 0;
  }

  .default .content .contacts-wrapper .contact,
  .default .content .libraries-wrapper .library
  {
    padding-top: 1em;
  }

  .btn .fa {
    padding-right: 0;
  }

  .administration .content article .title-img-wrap {
    width: 35%;
  }

  .default footer .quote-wrap {
    padding-top: 1.2em;
  }

  .galleria{
    width: 100%;
    height: 400px;
  }

}

@media (max-width: 481px) {

  body,html {
    font-size: 14px;
  }

  .default .content-wrap {
    font-size: 100%;
  }

  .default header.main .main-name-wrap,
  .default header.main .actions-wrap {
    float: none !important;
    display: table;
    width: auto;
  }

  .default .content article.detail .cat {
    text-align: left;
  }

  .default .content article.detail .title-img-wrap {
    padding-bottom: 1em;
    text-align: center;
  }

  .default .content article.detail .title-img-wrap img {
    width: 80%;
    margin: 0 auto;
  }

  .default .content .swiper-pagination .swiper-visible-switch {
    background-color: #F3F3F5;
    color: #000;
  }

  .default .content .swiper-outer-wrap .tip > aside.title-image {
    width: 40%;
  }

  .grid-table {
    width: 100% !important;

  }

  .galleria{
    width: 100%;
    height: 350px;
  }

  .administration .grid-table-row .grid-table-cell {
    display: block;
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
    height: auto;
  }

  .default article.grid .grid-row .grid-cell.title-img {
    border: 0;
    display: none;
  }



  .images-all .image-header a.gallery-title-img {
    /*max-height: 200px;*/
  }

  .images-all .image-header a.img-empty {
    height: 150px;
  }
}

.default .content a.collapse-link{
	text-decoration: none;
}
span.headline{
		font-family: 'Roboto Slab';
		font-weight: bold;
		text-transform: uppercase;
		border-top: 3px solid #000;
		font-size: 24px;
		margin: 0;
		text-align: center;
		padding-bottom: 24px;
		margin-top: 40px;
		line-height: 1.1;
    color: inherit;
		width: 100%;
    display: inline-block;
}
span.headline span{
		display: table;
    margin-top: -22px;
    margin-left: auto;
    margin-right: auto;
    background-color: #F3F3F5;
    padding: 0.3em 0.5em;
}
li.active{
	font-weight: 500;
}
span.required{
	font-weight: 500;
	color:red;
}
