body {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  min-height: 100vh;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

main {
  -webkit-box-flex: 1 0 auto;
  -moz-box-flex: 1 0 auto;
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

/* GENERAL CLASSES */
.content-image {
  display: block;
  height: auto;
  margin: 2rem auto;
  max-width: 800px;
  width: 100%;
}

label.error {
  color: #f44336 !important;
  font-size: 15px;
  left: auto;
  right: 10px;
}

.radio label.error {
  display: block;
  margin-bottom: 10px;
}

.radio input:enabled+label {
  color: #000;
  color: rgba(0, 0, 0, 0.87);
}

.flash-msg {
  font-weight: bold;
  margin-bottom: 0;
}

.flash-msg.error {
  color: #f44336;
}

@media only screen and (max-width: 992px) {
  .clear-left-on-med-and-down {
    clear: left;
  }
}

/* MATERIALIZECSS OVERRIDES */
a {
  color: #1565C0;
}

a[href^=tel] {
  color: inherit;
  text-decoration: none;
}

.btn.default-teal,
.btn[type=submit],
.btn-large[type=submit] {
  background-color: #009688;
}

.btn.default-teal:hover,
.btn[type=submit]:hover,
.btn-large[type=submit]:hover {
  background-color: #009688;
}

fieldset {
  border: none;
  margin: 15px 0;
  padding: 0.35em 0.625em;
}

fieldset .row:last-child {
  margin-bottom: 5px;
}

input:not([type]):focus:not([readonly]),
input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]),
input[type=email]:focus:not([readonly]),
input[type=url]:focus:not([readonly]),
input[type=time]:focus:not([readonly]),
input[type=date]:focus:not([readonly]),
input[type=datetime-local]:focus:not([readonly]),
input[type=tel]:focus:not([readonly]),
input[type=number]:focus:not([readonly]),
input[type=search]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid #1565C0;
  box-shadow: 0 1px 0 0 #1565C0;
}

input:not([type]):focus:not([readonly])+label,
input[type=text]:focus:not([readonly])+label,
input[type=password]:focus:not([readonly])+label,
input[type=email]:focus:not([readonly])+label,
input[type=url]:focus:not([readonly])+label,
input[type=time]:focus:not([readonly])+label,
input[type=date]:focus:not([readonly])+label,
input[type=datetime-local]:focus:not([readonly])+label,
input[type=tel]:focus:not([readonly])+label,
input[type=number]:focus:not([readonly])+label,
input[type=search]:focus:not([readonly])+label,
textarea.materialize-textarea:focus:not([readonly])+label {
  color: #1565C0;
}

[type="radio"].with-gap:checked+label:before {
  border: 2px solid #1565C0;
}

[type="radio"].with-gap:checked+label:after {
  background-color: #1565C0;
  border: 2px solid #1565C0;
}

[type="radio"]:checked+label:after {
  background-color: #1565C0;
  border: 2px solid #1565C0;
}

.bullet-list {
  margin: 5px 0 0 17px;
}

.bullet-list li {
  list-style: disc outside;
}

nav.transparent {
  background: rgba(13, 89, 175, 0.8) !important;
}

@media only screen and (max-width: 600px) {
  nav .brand-logo {
    font-size: 1.6rem;
    line-height: 52px;
  }
}

nav .brand-logo img {
  height: 50px;
  margin: 0;
  vertical-align: middle;
}

footer.page-footer {
  margin-top: 0;
}

footer.page-footer .dropdown-button i {
  margin-top: 12px;
}

.page-footer .bullet-list li {
  color: #fff !important;
}

.page-footer .bullet-list li a {
  color: #fff;
}

.page-footer .partners a {
  margin: 0 30px;
}

@media only screen and (max-width: 601px) {
  .page-footer .container .row h5 {
    text-align: center;
  }

  .page-footer .container .row .bullet-list {
    list-style-type: none !important;
    margin-left: 0;
    text-align: center;
  }

  .page-footer .container .row .bullet-list li {
    list-style: none !important;
  }

  .page-footer .container .row ul {
    text-align: center;
  }

  .page-footer .partners a {
    margin: 0 20px;
  }
}

@media only screen and (max-width: 992px) {
  .page-footer .container .row h5 {
    text-align: center;
  }

  .page-footer .container .row .bullet-list {
    list-style-type: none !important;
    margin-left: 0;
    text-align: center;
  }

  .page-footer .container .row .bullet-list li {
    list-style: none !important;
  }

  .page-footer .container .row ul {
    text-align: center;
  }
}

.collapsible-header {
  padding: 1rem;
}

.collapsible-header,
.collapsible-header i {
  line-height: 1.5rem;
}

.collapsible-header p {
  margin: 0;
}

.collapsible-header.active {
  background-color: #1565c0;
  color: #fff;
}

.collapsible-body p {
  padding: 1rem 1.6rem 1rem;
}

.collapsible-body .bullet-list {
  margin: 0 0 10px 55px;
}

.dropdown-content li>a,
.dropdown-content li>span {
  color: #1565C0;
}

.footer-links {
  margin: 0;
}

.footer-links li {
  display: inline;
  margin-left: 10px;
}

@media only screen and (min-width: 601px) {
  .container {
    margin: 0 auto;
    max-width: 1280px;
    width: 90%;
  }
}

@media only screen and (min-width: 993px) {
  .container {
    width: 90%;
  }
}

@media only screen and (max-width: 992px) {
  .clear-left-on-med-and-down {
    clear: left;
  }
}

.fb-like {
  margin: 50px 0 20px;
}

.fb-comments {
  max-width: 700px;
}

.view-category {
  clear: right;
  margin-top: 24px;
}

.plan {
  font-size: 1.2rem;
  margin-left: 10px;
}

.card-panel {
  padding: 10px;
}

/* HOME */
.home.section {
  padding-bottom: 0;
  padding-top: 0;
}

.home.section .section {
  padding-bottom: 1.5rem;
  padding-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.home.section .section h4 {
  margin-bottom: 24px;
}

.home.section .section .row .magazine {
  border: 15px solid transparent;
  border-radius: 5px 5px 0 0;
  z-index: 10000;
}

.home.section .section .row .magazine img {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.home.section .section .row .about .button {
  margin-bottom: 20px;
  margin-top: 10px !important;
}

.home.section .section .row .about .button a {
  background: #fff;
  color: #1565C0;
  font-size: 12px;
}

.home.section .section .row .about .button .btn {
  margin: 5px;
  padding: 0 0.5rem;
}

.home.section .section .row .article .card-content h5 {
  margin-top: 0;
}

/* ARHIV */
.magazines .magazine {
  margin: 24px 0;
}

.magazines .magazine img {
  height: auto;
  width: 100%;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.sadrzaj {
  margin-top: 12px;
}

.sadrzaj td {
  border-bottom: 1px dashed #b5b5b5;
  padding: 4px 0;
}

.sadrzaj td+td {
  text-align: right;
}

.sadrzaj .tema {
  font-weight: bold;
  text-transform: uppercase;
}

.sadrzaj tr+.tema td {
  padding-top: 50px;
}

#fb-plugin {
  margin-top: 16px;
}

.photo {
  margin-top: 15px;
}

/* MARKETING*/
.collection {
  min-height: 190px;
}

.collection-item img {
  display: block;
  margin: 0 auto;
  padding: 10px 0;
}

.google-maps {
  position: relative;
  padding-bottom: 78%;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}