/*
Theme Name: Ich Plotte Theme
Author: Carlos Ribeiro
Author URI: https://www.cqr.pt
Date: 13/02/2020
Description: A theme using the Bootstrap framework.
Version: 1.0
Text Domain: ichplotte
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed|Roboto+Slab:300,700|Roboto:300,400');

/*
 * Globals
 */

body {
  /*font-family: Georgia, "Times New Roman", Times, serif;*/
  font-family: 'Roboto', sans-serif;
  color: #555;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  color: #000;
}

h1, .h1{
  font-size: 2rem !important;
}

h1.entry-title {
  text-align: center;
  text-transform: uppercase;
}

a{
  color: #9D5F60;
}
a:hover{
  text-decoration: underline;
  color: #9D5F60;
}

img {
  max-width: 100%;
}

.main {
  max-width: 100%;
  min-width: 240px;
  margin: auto;
}

.designblocks img {
  width: 285px;
  height: 155px;
}

div#navbarNavDropdown {
  margin-top: 30px;
}

/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}


/*
 * Masthead for nav
 */
 .bg-light {
  background-color: #FFF !important;
}

/* Nav links */
#menu-topo li {
  font-family: 'Roboto Condensed', sans-serif;
  margin-right: 10px;
}
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}
.navbar-light .navbar-nav .nav-link {
  color: #1A171B;
  text-transform: uppercase;
  font: 300 13px/14px "Open Sans", sans-serif
}
.topfunctions {
  width: 100%;
  height: 40px;
}
.login-text {
  text-transform: uppercase;
  color: #8A1D16;
  font-weight: 700;
  font-size: 20px;
  float: right;
  padding-top: 5px;
  margin-right: 15px;
}
.login-text a {
  color: #8A1D16;
}
.search-button {
  float: right;
  margin-right: 5px;
}
.facebook-button {
  float: right;
  margin-right: 5px;
}
.newsletter-button {
  float: right;
  margin-right: 5px;
}
input#searchsubmit {
  width: 100%;
  padding: 30px;
  font-size: 20px;
  border: 0;
  background: #fbfbfb;
}
#menu-littlefeet-ch-blog > li {
    margin-right: 10px;
}
.newsletter-button > a {
  background-color: #8A1D16;
  color: #FFF;
  padding: 4px 10px;
  border-radius: 10px;
  display: inline-block;
}
.newsletter-button > a:hover {
  text-decoration: none;
}

/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Blog name and description
 */

.blog-header {
  margin-bottom: 20px
}
.blog-title {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}
ul#menu-littlefeet-ch-blog .current-menu-parent {
  background-color: #8A1D16;
}
ul#menu-littlefeet-ch-blog .current-menu-parent > a {
  color: #FFF;
}

.blog-modules {
  padding: 10px 0;
}

/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 16px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

 .column3{
   width: 30%;
   margin-right: 20px;
 }
 .blog-post-image img {
  width: 100%;
  height: 200px; 
}
.blog-post {
  margin-bottom: 60px;
  background-color: #D8DAD0;
}
.blog-post-content {
  padding: 10px 20px;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 24px;
  color: #FFF;
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  text-align: center;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}
.blog-menu {
  text-align: center;
  color: #9D5F60;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  margin-bottom: 5px;
}
.blog-content-text {
  margin-top: 10px;
  font-size: 14px;
}
h2.blog-post-title a {
  color: #FFF;
}
.blog-impressum{
  background-color: #fafafa;
  padding: 20px 0;
  font-size: 0.8rem;
}
.blog-impressum p{
  margin-bottom: 0.5rem;
}
p.impressum-title {
  font-weight: bold;
  font-size: 0.95rem;
}
.featured-image img {
  height: auto;
  width: 100%;
  max-height: 300px;
}
/*
 * Navigation Links
 */

.nav-previous {
  display: inline;
}
.nav-next {
  float: right;
}

/*
 * Slider Home
 */
div#n2-ss-1 .nextend-bullet-bar {
  position: absolute;
  bottom: 20px;
  right: 20px;
}
.n2-ow .n2-active{
  background: #FFF !important;
}

/*
 * Footer
 */

.blog-footer {
  padding: 20px 5px;
  color: #999;
  text-align: center;
  background-color: #3A3D41;
  border-top: 1px solid #3A3D41;
  clear: both;
  font-size: 0.8rem;  
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
  color: #FFF;
  background: #8A1D16 !important;
}


/* Go to Top */
a#scrollup {
  background-color: #000;
  bottom: 20px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: #fff;
  display: none;
  -webkit-font-smoothing: antialiased;
  /* font: normal 24px/1 'Genericons'; */
  background-image: url("img/angle_up.png");
  padding: 5px;
  position: fixed;
  right: 20px;
  text-decoration: none;
  vertical-align: top;
  opacity: 0.5;
  filter: alpha(opacity=50);
  z-index: 999;
  width: 34px;
  height: 34px;
  background-repeat: no-repeat;
  background-position: center;
}
a#scrollup:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.date-published,
.blog-post-date {
  color: #b5b4b4;
}
.entry-container {
  margin-top: 20px;
}
.blog-post-date {
  text-align: center;
  font-size: smaller;
}

.navbar-toggler {
  float: right;
  margin-top: 20px;
}

/* Infoboxes */

.bkg-1 {
  background-color: #8f9265;    
}
.bkg-2 {
  background-color: #45777c;    
}
.bkg-3 {
  background-color: #d4ab48;    
}
.bkg-4 {
  background-color: #782330;    
}
.bkg-5 {
  background-color: #878783;    
}
.bkg-6 {
  background-color: #e29a7c;    
}

.infobox{
color: white;
  font-size: 13px;
  padding: 15px 20px 15px 0;
}

.infobox h2 {
  color: white;
  padding-left: 35px;
  font-size: 1.4rem;
}

.infobox a {
  color: unset;
  text-decoration: underline;
}

/* MEDIA */

@media (max-width: 767px){
  nav .col-sm-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 100% !important;
  }
  nav .col-sm-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 100% !important;
  }
  nav .col-sm-8 {
    margin-top: 20px;  
  }
  .topfunctions {
    width: 60%;
    height: 40px;
    float: left;
  }
  .navbar-toggler {
    margin-top: 0 !important;
  }
  .navbar-light .navbar-brand,
  .navbar-light .navbar-brand img {
    margin: auto;
    display: block;
  }
  .facebook-button, .search-button, .login-text{
    float: left !important;
  }
  .cart-button{margin-right: 5px;}
  div#navbarNavDropdown {
    margin-top: 40px;
  }  
}

@media (min-width: 600px) and (max-width: 781px){
  .wp-block-column:nth-child(2n) {
      margin-left: 0 !important;
  }
  .wp-block-column:not(:only-child) {
    flex-basis: unset !important;
  }
}

@media only screen and (max-width: 785px){
  .wp-block-columns{
    display: block !important;
  }
  .wp-block-column:nth-child(2n) {
    margin-left: 0 !important;
  }
  .widget_media_image img {
    display: block;
    margin: 0 auto 20px auto;
  }
  table#supsystic-table-1 img,
  table#supsystic-table-2 img {
    display: none;
  }
  .infobox {
    margin-bottom: 15px;
  }
  .limitimagesize2 > img {
    max-height: unset !important;
    width: 300px;
    height: auto;
  }
  .navbar .col-sm-3.col-md-3 {
    width: 40%;
  }
  .navbar .col-sm-9.col-md-9 {
    width: 60%;
  }
  div#navbarNavDropdown {
    margin-top: 0 !important;
    margin-left: 25px;
  }
  #navbarNavDropdown .navbar-nav .nav-link {
    color: #1A171B;
    text-transform: uppercase;
    font: 300 13px/14px "Open Sans", sans-serif;
  }
  #navbarNavDropdown .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #FFF;
    background: #8A1D16 !important;
  }
}

@media only screen and (max-width: 477px){
  div#navbarNavDropdown {
    margin-top: 80px;
  }
  .newsletter-button{
    display: none;
  }
}

@media only screen and (min-width: 768px){
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media only screen and (min-width: 992px){
  li.menu-item {
    /*height: 50px;
    width: 85px;*/
    text-align: center;
  }
}

@font-face {
  font-family: Pacifico;
  src: url(fonts/Pacifico.ttf);
}

.limitimagesize > img {
  max-height: 197px;
}

.limitimagesize2 > img {
  max-height: 160px;
}

.custom-sidebar-anferg {
    padding: 25px;
    background-color: #f5f5f5;
}

.box-color-1 {
  background-color: #43777D;
  color: #FFF;
}

.box-color-2 {
  background-color: #BBBD9B;
  color: #FFF;
}

.box-color-3 {
  background-color: #722131;
  color: #FFF;
}

.box-color-4 {
  background-color: #8E9265;
  color: #FFF;
}

.custom-title-anferg {
  font-family: Pacifico;
  font-size: 30px;
}

ul.right-icon {
  list-style: none;
  padding-left: 8px;
}

ul.right-icon li:before {
    content: '';
    display: inline-block;
    height: 12px;
    width: 12px;
    background-image: url(img/arrow-right.png); // Fallback PNG
    background-image: url(img/arrow-right.svg);
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 0.5em;   
  }

  .swap {
    position: relative;
  }


  /* .swap > img {
    width: 100%;
  } */

  .swap > .text {
    visibility: hidden;
    font-size: 12px;
    color: #FFF;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(71, 121, 130, 0.80);
    width: 100%;
    height: 100%;
    padding: 10px;
  }

  .swap:hover > .text {
    visibility: visible;
  }