.layout, .section, .columns {
 height: 100%;
}

.columns {
 display: flex;
 flex-direction: column;
}

.columns table:last-of-type {
 margin-top: auto;
}

.js-no-touch #footer .ym-hlist a:hover {
    background-color: transparent;
    color: #b3c618;
    text-decoration: none;
}

#footer {
    color: #fff;
    background: #666666;
    font-size: 13px;
    margin: 75px 0 0;
    padding: 0 0 1.5em 0;
}

#footer p {
    font-size: 1em;
    line-height: 1.5em;
    margin: 0 0 1.5em 0;
}

.sticky-footer {
  position: relative;
    background-color: #d7d7d7;
    width: 100%;
}

#footer .sticky-footer-inner {
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
    align-items: flex-start;
    display: flex;
    padding: 10px 0;
    justify-content: center;
    text-decoration: none;
}

#footer .sticky-footer-inner .stickyness {
    position: relative;
    padding: 0 5px 0;
    width: 20%;
    text-align: center;
    text-decoration: none;
    display: block;
}

#footer .sticky-footer-inner .item .cmpicture + .cmpicture {
    display: none;
}

#footer .sticky-footer-inner .item:hover > .cmpicture {
    display: none;
}

#footer .sticky-footer-inner .item:hover .cmpicture + .cmpicture {
    display: block;
}

#footer .sticky-footer-inner .item:hover p {
    color: #b3c618;
}

#footer .sticky-footer-inner .item img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
 box-sizing: border-box;
}

#footer .sticky-footer-inner .item p {
    margin-top: 40px;
    margin-bottom: 0;
}

#footer a:not(.stickyness):not(.top-link),
#footer .ym-hlist ul li a:not(.stickyness)  {
    text-decoration: none;
    color: #fff;
    background: url(https://www.claas.de/blueprint/images/arrow-white-right.png) no-repeat right center;
    padding: 0 12px 0 0;
    margin: 0 30px 0 0;
}

#footer .ym-wrapper {
    min-width: 0px;
    max-width: 80em;
    margin: 0 auto;
    padding-top: 2em;
}

#footer .ym-wbox {
    position: relative;
    min-height: 26px;
}

#footer .ym-hlist ul li {
    display: inline;
    float: left;
    font-size: 1.0em;
    line-height: 1em;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#footer .ym-hlist ul li a {
    background: transparent;
    display: block;
    font-size: 1em;
    line-height: 2em;
    padding: 0 0.5em;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 0 1px 1px rgb(0 0 0 / 50%);
    width: auto;
}

.js-no-touch #footer a:not(.stickyness):not(.top-link):hover,
.js-no-touch #footer .ym-hlist ul li a:not(.stickyness):hover {
    background: url(https://www.claas.de/blueprint/images/arrow-white-right-hover.png) no-repeat right center;
}

#footer .ym-hlist {
    width: 100%;
    overflow: hidden;
    position: relative;
    line-height: 1em;
}

#footer .ym-hlist ul {
    margin: 0 76px 0 0;
    padding: 0;
    display: inline;
    float: left;
}

#footer div.ym-hlist.socialMediaLinks{
    margin-top: 20px;
    width: 100%;
}

#footer div.ym-hlist.socialMediaLinks ul{
    display: block;
    margin: 0;
    float: right;
}

#footer div.ym-hlist.socialMediaLinks ul li{
    display: inline-block;
    margin: 0 0 0 10px;
}

#footer div.ym-hlist.socialMediaLinks ul li a{
    width: 35px;
    height: 35px;
    display: inline-block;
    background: none;
    padding: 0;
    margin: 0;
}

#footer .top-link {
    color: #fff;
    position: absolute;
    right: 20px;
    top: 5px;
 margin: 0;
    background: url(https://www.claas.de/blueprint/images/arrow-white-top.png) no-repeat right center;
    padding: 0 12px 0 0;
}

.js-no-touch #footer .top-link:hover {
    background: url(https://www.claas.de/blueprint/images/arrow-green-top.png) no-repeat right center;
    color: #b3c618;
}

.js-no-touch #footer .ym-hlist a:hover {
    color: #b3c618;
    text-decoration: none;
}

#footer .copyright {
    text-align: center;
    margin: 46px 0;
}

/* --------------  Breakpoint 1024 ---------------- */

@media only screen and (max-width: 1100px) and (min-width: 769px) {

    #footer .ym-wrapper {
        padding-left: 25px;
        padding-right: 25px;
    }
}

/* --------------  Breakpoint 768 ---------------- */

@media only screen and (max-width: 768px) {
    #footer .ym-wrapper {
        padding-left: 50px;
        padding-right: 50px;
    }

    #footer .ym-hlist ul {
        display: block;
        float: none;
        margin: 0 40px 0 0;
    }

    #footer .ym-hlist ul.footerLinks li {
        width: 33%;
    }

    #footer .ym-hlist ul.footerLinks li a {
        display: inline;
    }

    #footer div.ym-hlist.socialMediaLinks ul{
        float: left;
    }
    #footer div.ym-hlist.socialMediaLinks ul li{
        margin: 0 10px 10px 0;
    }
    #footer div.ym-hlist.socialMediaLinks ul li a{
        width: 35px;
        height: 35px;
        display: block;
    }

    #footer .top-link {
        margin: 0;
        right: 20px;
    }
}

/* --------------  Breakpoint 620 (for Search Input) ---------------- */

@media only screen and (max-width: 620px) {
    #footer .ym-hlist ul.footerLinks li {
        width: 100%;
    }

    #footer .ym-hlist ul li a {
        font-family: "CLAASCultivaWeb", Arial, sans-serif;
    }

}

/* --------------  Breakpoint 480 ---------------- */

@media screen and (max-width: 480px) {
  #footer .sticky-footer-inner .item {
 font-size: 11px;
  }

  #footer .sticky-footer-inner .item p {
      margin-top: 30px;
  }

  #footer .sticky-footer-inner .item img {
      width: 30px;
      height: 30px;
  }

  #footer .copyright {
      text-align: left;
  }
}

/* --------------  Breakpoint 320 ---------------- */

@media only screen and (max-width: 320px) {
    #footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    #footer .ym-hlist ul.footerLinks li {
        width: 100%;
    }

    #footer .top-link {
        right: 30px;
        top: 100px;
        position: absolute;
        height: 30px;
        display: block;
        position: static;
        display: table;
        background-position: right 4px;
    }
}
