/*
Theme Name: HDZ Međimurje
Author: Altruist d.o.o.
Author URI: http://www.altruist.hr/
Description: WP theme for HDZ Međimurje developed by Altruist d.o.o.
Version: 1.0
*/

/* BASE STYLES */

body {
  background: #f9f9f9 url("img/bg-main.jpg") 0% 0%;
  background-attachment: fixed;
  overflow-x: hidden;
  color: #777; }

a:hover {
  text-decoration: none;
  transition: all 200ms ease-in-out; }

.content-wrapper .container {
  padding: 0 40px 30px;
  box-sizing: border-box; }

section {
  padding: 20px 0 10px; }
  section h2 {
    max-width: 150px;
    margin-bottom: 20px;
    padding-top: 20px;
    color: #005aab;
    font-size: 20px; }
  section h3 {
    margin-bottom: 30px;
    color: #005aab;
    font-size: 14px; }
  section img {
    width: 100%;
    /*height: 250px;*/
    margin: 0 auto; }
  section h3.news-title {
    margin-bottom: 10px; }
    section h3.news-title a {
      color: #005aab;
      font-size: 1.6rem;
      font-weight: 700; }
  section.section-news p {
    margin-bottom: 10px;
    color: #005aab;
    font-size: 1.3rem;
    text-align: justify; }
  section a.archive {
    color: #777;
    font-size: 1.6rem;
    transition: all 200ms ease-in-out;
    opacity: 0;
    transform: translateX(20px);
    }
    section a.archive:hover {
      color: #777;
      text-decoration: none; }
  section a.info {
    text-align: center; }
    section a.info:hover {
      text-decoration: none; }
    section a.info h3 {
      padding: 10px 0;
      font-size: 1.6rem;
      font-weight: 700; }
  section h3.about-title {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center; }
  section ul.footer-list {
    margin: 60px 30px 0;
    list-style: none; }
    section ul.footer-list li {
      color: #005aab;
      margin-bottom: 5px; }
      section ul.footer-list li.blank-item {
        height: 10px; }
      section ul.footer-list li a:hover {
        color: #777; }

header {
  height: 80px;
  background: #e2f1ff;
  padding: 20px 0 20px;
  box-sizing: border-box; }
  header img {
    height: 64px;
    padding-bottom: 16px; }

.navbar.navbar-default {
  background: #005aab;
  margin: 0;
  border-radius: 0;
  border-color: #005aab; }
  .navbar.navbar-default .container {
    padding: 0; }
  .navbar.navbar-default .collapse.navbar-collapse {
    margin: 0;
    padding: 0;
    text-align: center;
    overflow-x: hidden; }
  .navbar.navbar-default .nav.navbar-nav li {
    text-align: center; }
    .navbar.navbar-default .nav.navbar-nav li a {
      color: #fff; }

.navbar-toggle {
  margin-right: 30px;
  background: #f9f9f9; }
  .navbar-toggle span.icon-bar {
    background: #005aab !important; }

.carousel.slide.container {
  padding: 0; }

.carousel-inner .item {
  max-height: 450px; }
  .carousel-inner .item img {
    width: 100%;
    height: 450px;
    max-height: 450px; }

.carousel-indicators li {
  border: 2px solid #005aab; }
  .carousel-indicators li.active {
    background: #005aab; }

.carousel-control {
  transition: all 200ms ease-in-out; }
  .carousel-control span {
    transition: all 200ms ease-in-out; }
    .carousel-control span:hover {
      color: #005aab;
      transform: scale(2); }

.right.carousel-control {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0, rgba(226, 241, 255, 0.3) 100%); }

.left.carousel-control {
  background-image: linear-gradient(to right, rgba(226, 241, 255, 0.3) 0, rgba(0, 0, 0, 0.0001) 100%); }

.content-wrapper .container {
  background: #fff; }

footer {
  background: #005aab;
  padding: 10px 0;
  color: #fff;
  font-size: 14px; }
  footer a {
    color: #fff; }
    footer a:hover {
      color: #fff;
      text-decoration: none; }
  footer .col-md-4,
  footer .col-md-8 {
    margin: 5px 0 0; }

@media all and (max-width: 768px) {
  .carousel-inner .item img {
    width: 100%;
    height: 250px;
    max-height: 250px; }
  ul.footer-list {
    margin: 0 0 60px -30px !important;
    text-align: center; } }

section.section-news .col-md-3 {
  transition: all 200ms ease-in-out;
  transform: rotateZ(20deg) rotateX(20deg) scale(1.3);
  opacity: 0; }

section.section-info .col-md-3 {
  transition: all 200ms ease-in-out;
  transform: rotateZ(-20deg) rotateX(-20deg) scale(1.3);
  opacity: 0; }

section.section-news .col-md-3.news-is-showing,
section.section-info .col-md-3.info-is-showing {
  transform: rotateZ(0) rotateX(0) scale(1);
  opacity: 1; }


/* WP RELATED STYLES */

h1 {
  color: #005aab;
}

.dropdown-menu,
.dropdown-menu a:hover,
.menu-item.open,
.menu-item.open a {
  background: #005aab !important;
}

.dropdown-menu li.menu-item:hover {
  background: transparent !important;
}

.recent-thumbnail {
  min-height: 200px;
  height: 200px;
}

.full-thumbnail {
  width: 100%;
  height: auto;
  padding-top: 20px;
}

.read-more {
  display: block;
  margin-bottom: 40px;
  font-weight: 700;
  transition: all 200ms ease-in-out;
}

.read-more:hover {
  color: #777;
  transform: translateX(5px);
}

section a.archive.archive-is-showing {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 30px;
  border-bottom: 1px dotted #eee;
  transition: all 200ms ease-in-out;
  opacity: 0;
  transform: translateY(-50px);
}

img.news-list-thumb {
  height: 300px;
}

h2.news-title {
  display: block;
  max-width: 100%;
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 2px solid #005aab;
  color: #005aab;
  font-size: 24px;
}

h2.news-title a {
  color: #005aab;
}

h2.news-title small {
  margin-top: 9px;
  font-size: 14px;
  text-align: right;
}

h3.news-title {
  min-height: 50px;
  height: 50px;
}

.recent-except-container {
  min-height: 85px;
  height: 85px;
  overflow: hidden;
}

.news-item-is-showing {
  opacity: 1;
  transform: translateY(0);
}

.single-post {
  padding: 40px 0;
}

.single-post p {
  text-align: justify !important;
}

.single-post p:first-child {
  padding-top: 30px;
}

footer .col-md-4 {
  text-align: right;
}

a.back-to-news {
  color: #005aab;
  font-size: 20px;
  font-weight: bold;
  transition: all 200ms ease-in-out;
}

a.back-to-news:hover {
  margin-left: -20px;
}

.not-found-title {
  padding: 50px 0 15px;
  border-bottom: 3px solid #005aab;
}

.page-not-found {
  min-height: 100%;
  height: 100%;
}

p.lead {
  padding: 20px 0;
}

p.lead a,
p.lead a:hover {
  color: #005aab;
}
.contact-form {
  margin-top: 40px;
}

.form-control:first-child {
  margin-top: 30px;
}

.btn.btn-primary.btn-block {
  margin-top: 20px;
  background: #005aab;
}

.footer-list li a,
.footer-list li a:hover {
  color: #005aab !important;
}

/* CONTACT FORM 7 */
div.div.wpcf7-response-output {
  padding: 20px !important;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #005aab !important;
  border-radius: 5px;
}

/* POST PAGE NAV */

p.navigation a,
p.navigation a:hover,
p.navigation a:focus {
  color: #005aab;
  font-weight: 700;
}

/* FEATRED IMAGE */

img.wp-post-image {
  display: block;
  max-width: 800px;
  max-height: 600px;
  height: auto !important;
  margin: 0 auto;
}

/* RECENT POST IMAGE */
.recent-post-img {
  width: 250px;
  height: 188px;
}

.recent-post-img img {
  max-height: 188px;
}

@media screen and (min-width: 769px){
  ul.dropdown-menu li.menu-item {
    text-align: left !important;
  }
}
