body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 27px;
    padding-top: 104px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    margin: 0px;
}	
	@media (max-width:767px) {
    body {padding-top: 50px; }
}
@media (min-width:768px) {
    body {padding-top: 104px; }
}
@media (min-width:992px) {
    body {padding-top: 50px; }
}


/* the height of this element determines the height of the navbar */
.img-navbar-tree {
    height: 40px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 7px;
    margin-bottom: 7px;
}
/* this must be in accordance with the logo above */
.img-navbar-brand {
    margin-top: 6px;
    margin-right: 0px;
}

/* this is for setting the logo in the footer */
.img-footer-logo {
    height: 100px;
    margin-top: 10px;
    margin-right: 25px;
    float: left;
}

/* navbar settings */
.navbar-default {
    font-size: 14px;
    border: 0px;
}

/* navbar settings */
.navbar-inverse {
    font-size: 12px;
    border: 0px;
    background-color: #424242; !important;
}

/* navbar link */
.navbar-default .navbar-nav > li > a {
    color: #3e6e1a;
    font-weight: bold;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #40721D;
    background-color: transparent; /* add a color instead here */
}

.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus { 
    color: #555;
    color: #40721D;
    background-color: #D5D5D5;
    background-color: #e7e7e7;
}

/* navbar caret */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #3e6e1a;
}

.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #40721D;
}

.navbar-default .navbar-nav > .open > a .caret,
.navbar-default .navbar-nav > .open > a:hover .caret,
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #40721D;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #40721D;
}

.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #40721D;
}
    
/* navbar mobile version */
.navbar-default .navbar-toggle {
    border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: transparent;
}

.navbar-default .navbar-toggle .icon-bar {
    border: 2px solid #3e6e1a;
}

/* tabs on product pages */
.nav-tabs {
    font-size: 12px;
}

.nav-tabs > li > a { /* FIXME! Ez vajon mihez kell? */
    color: #999;
    border-top: solid 1px #ddd;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
}

.nav-tabs > li > a:hover {
    border-top: solid 1px #ddd;
    border-left: solid 1px #ddd;
    border-right: solid 1px #ddd;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #fff;
  background-color: #3e6e1a;
  border-top: solid 1px #000;
  border-left: solid 1px #000;
  border-right: solid 1px #000;
}

.langswitcher
{
    top: 54px;
}

/* buttons */
.btn-primary
{
    background-color: #3e6e1a;
    border-color: #4b9516;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-color: #4b9516;
    border-color: #4b9516;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #4b9516;
    border-color: #4b9516;
}


.btn-default
{
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
    background-color: #fff;
    border-color: #fff;
    color: #000;
}

/* jumbotron for Home page and Contact page */
.jumbotron-index {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../pics/jumbotron-100.jpg) center;
    background-size: cover;
    min-height: 50%;
    color: #fff;
}

.jumbotron-contact {
    background: url(../pics/contact.jpg) center;
    background-size: cover;
    height: 180px; /* FIXME: probably its too large for small devices */
}

.jumbotron-thanks {
    background: url(../pics/thanks.jpg) center;
    background-size: cover;
    height: 180px;
	
}

.jumbotron-trunk {
    background: url(../pics/trunk.jpg) center;
    background-size: cover;
    min-height: 50%;
	
}

.jumbotron-root {
    background: url(../pics/root.jpg) center;
    background-size: cover;
    min-height: 50%;
	
}

.jumbotron-others {
    background: url(../pics/others.jpg) center;
    background-size: cover;
    min-height: 50%;
	
}

.jumbotron-wood {
    background: url(../pics/wood.jpg) center;
    background-size: cover;
    min-height: 50%;
	
}

/* headings */
h1 {
    font-size: 48px;
}

h2 {
    font-size: 2.5em;
}

@media (max-width:768px) {  
    h2 { font-size: 1.3em; }  
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 1.75em;
}

@media (max-width:768px) {  
    h4 { font-size: 1em; }  
    .carousel-indicators {
        display: none;
    }
    .carousel-caption {
        padding-top: 0px;
        padding-bottom: 0px;
        bottom: 0px;
    }
}

h5 {
    font-size: 26px;
}

h6 {
    font-size: 20px;
    color: #3e6e1a;
}

hr {
    border-color: #3e6e1a;
}

.hr-thumbnail { /* DELETE ME! this is most probably obsolete now */
    margin-top: 0px;
    margin-bottom: 10px;
    border-top: 3px solid #5bb900;
}

.hr-product { /* DELETE ME! this is most probably obsolete now */
    border: none;
    height: 3px;
    width: 40px;
    color: #3e6e1a; /* old IE */
    background-color: #3e6e1a; /* Modern Browsers */
    margin-left: 0;
    margin-bottom: 0;
}

.hr-product2 {
    border: none;
    height: 1px;
    width: 30px;
    align: left;
    text-align: left;
    color: #3e6e1a; /* old IE */
    background-color: #3e6e1a; /* Modern Browsers */
    margin-left: 0;
    margin-top: 0px;
    margin-bottom: 7px;
}


.carousel-caption > h4 > a {
        color: #8DDD53;
}

a:hover {
    color: #3e6e1a;
}

.fkp-green {
    color: #163100;
	font-weight: bold;
}

.about-content > section > h2 {
    font-size: 24px;
    text-transform: capitalize;
}

.fkp-green-background {
    background-color: #163100;
}

.fkp-gray {
    color: #999;
}

.fkp-dl {
    background-color: #eee;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th,
.table-borderless thead tr td,
.table-borderless tfoot tr th,
.table-borderless tfoot tr td {
    border: none;
}

.td-auto {
    width: 1px;
}

.mb1 {
    margin-bottom: 25px;
}

.mb2 {
    margin-bottom: 10px;
}

.mt1 {
    margin-top: 50px;
}

.mt2 {
    margin-top: 25px;
}

.mt3 {
    margin-top: 33px;
}

.pl1 {
    padding-left: 10mm;
}

.form-control:focus {
    border-color: #3e6e1a;
}

footer {
    background: #424242;
    font-size: 14px;
    color: #fff;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

footer h1 {
    font-size: 18px;
}

footer a,
footer a:hover {
    color: #fff;
}

footer hr {
    border-color: #fff;
    margin-bottom: 0px;
    margin-top: 0px;
}

a:hover {
    color: #3e6e1a;
}

.social [class*="fa fa-"] {
    background-color: #333;
    border-radius: 45px;
    color: #fff;
    display: inline-block;
    height: 45px;
    line-height: 45px;
    margin: auto 3px;
    width: 45px;
    font-size: 22.5px;
    text-align: center;
}

.social i:hover {
    background-color: #3e6e1a; 
}

.social li {
    padding: 0px;
}

.img-portfolio {
    margin-bottom: 0px;
}

.img-hover:hover {
    opacity: 0.1;
}

/* Home page thumbnails */
.box p {
    position: absolute;
    top: 15px;
    left: 0px;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 0;
}

.box img {
    display: block;
    
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}

.box h1 {
    font-size: 18px;
    background-color: #163100;
    color: #fff;
    margin-top: 0px;
    line-height: 1.8em;
}

.box a:hover {
    text-decoration: none;
}

.box div {
    background: #000;
}

.box:hover p {
    opacity: 1;
    color: #fff;
}

.box:hover img {
    background-color: #000;
    opacity: .18;
}

/* embed vimeo responsively */
/* FIXME: it fails big time under UC browser */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* related products */
.related h1 {
    font-size: 16px;
    color: #999;
}

.related h2 {
    font-size: 18px;
    color: #3e6e1a;
}

.related hr {
    border-color: #ccc;
}

.related .img-hover:hover {
    opacity: 0.8;
}

/* make the first letter capital */
h5.fcapital {
    display: block;
    padding-top: .67em;
    padding-bottom: 0.25em;
}

h5.fcapital:first-letter {
    text-transform: uppercase;
}


/* multi level menus based on https://stackoverflow.com/a/18025399 */
.dropdown-menu > li /* To prevent selection of text */ {
    position: relative;
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
    cursor: pointer;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    display: none;
    margin-top: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left-color: #fff;
}

.right-caret:after, .left-caret:after {
    content: "";
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    display: inline-block;
    height: 0;
    vertical-align: middle;
    width: 0;
    margin-left: 5px;
}

.right-caret:after {
    border-left: 5px solid #3e6e1a;
}

.left-caret:after {
    border-right: 5px solid #3e6e1a;
}

/* baguetteBox.js gallery styling */
.gallery:after {
    content: '';
    display: block;
    height: 2px;
    margin: .5em 0 1.4em;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 0%, rgba(77,77,77,1) 50%, rgba(0, 0, 0, 0) 100%);
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(77,77,77,1) 50%, rgba(0, 0, 0, 0) 100%);
}

.gallery img {
    height: 100%;
}

.gallery a {
    width: 240px;
    height: 180px;
    display: inline-block;
    overflow: hidden;
    margin: 4px 6px;
    box-shadow: 0 0 4px -1px #000;
}

.sz2020 {
    position:fixed;
    right:0;
    bottom:0;
    z-index:1
}

.sz2020 img {  width: 200px }
@media screen and (max-width:767px) {
  .sz2020 img { width: 150px; height: auto }
}

@media screen and (max-width:767px) {
  .sz2020 img { width: 150px; height: auto }
}

.carousel-caption > h4 > span > a {
        color: #8DDD53;
}

.carousel-caption h2 span, .carousel-caption h4 span {
    background-color: rgb(0,0,0,1);
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.carousel-caption h4 span {
    line-height: 1.41;
}

.jumbotron .container h1 span {
    background-color: rgb(0,0,0,1);
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    padding-left: 0.25em;
    padding-right: 0.25em;
}

/* image captions */
.imagecaption {
    padding: 0.1em;
    margin: 0.5em;
    float: left;
    border: 1px solid black;
}
figure {
    display: table;
    margin: 0px;

}

/* Distributor entries are sourced from Markdown, but keep the former
   three-column contact-directory appearance. */
.contact-distributors .contact-distributor {
    min-height: 220px;
    margin-bottom: 24px;
}
.contact-distributors .contact-distributor h6 {
    margin-top: 0;
    margin-bottom: 8px;
}
.contact-distributors .contact-distributor p {
    margin: 0 0 4px;
}
.contact-distributors .contact-distributor a {
    overflow-wrap: anywhere;
}

figure img {
    display: block;
}

figcaption {
    display: table-caption;
    caption-side: bottom;
    text-align: center;
    border: 1px dotted blue;
}

/* Product reStructuredText output. */
.product-highlights ul,
.ludwig-checks ul {
    list-style: none;
    padding-left: 0;
}
.product-highlights li,
.ludwig-checks li {
    margin-bottom: 10px;
}
.ludwig-checks li > p {
    display: inline;
    margin: 0;
}
.product-highlights li::before,
.ludwig-checks li::before {
    color: #163100;
    content: "\f00c";
    font-family: FontAwesome;
    font-weight: bold;
    margin-right: 0.5em;
}
.product-offer img {
    display: block;
    height: auto;
    max-width: 100%;
}
.tab-pane .product-columns {
    margin-left: -15px;
    margin-right: -15px;
}
.tab-pane .product-column img,
.tab-pane img {
    display: block;
    height: auto;
    max-width: 100%;
}
.tab-pane table {
    margin-bottom: 20px;
    max-width: 100%;
    width: 100%;
}
.tab-pane table th,
.tab-pane table td {
    border-top: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
}
.product-specifications dl {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 2fr);
}
.product-specifications dt,
.product-specifications dd {
    border-top: 1px solid #ddd;
    margin: 0;
    padding: 8px;
}
.product-specifications dd {
    background: #f5f5f5;
}
