@media (max-height: 1800px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 1450px;
  }
}

@media (max-height: 1500px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 1250px;
  }
}

@media (max-height: 1300px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 1050px;
  }
}

@media (max-height: 1200px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 950px;
  }
}

@media (max-height: 1100px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 850px;
  }
}

@media (max-height: 1000px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 750px;
  }
}

@media (max-height: 900px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 700px;
  }
}

@media (max-height: 800px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 600px;
  }
}

@media (max-height: 700px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 500px;
  }
}

@media (max-height: 600px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 400px;
  }
}

@media (max-height: 500px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 300px;
  }
}

@media (max-height: 400px) and (min-width: 1025px) {
  .home-page .tab-content .tab-text {
    max-height: 200px;
  }
}

@media (max-width: 2560px) {
  .half .inner .text {
    width: 765px;
  }
}

@media (max-width: 2300px) {
  .half .inner .text {
    width: 675px;
  }
}

@media (max-width: 2000px) {
  .half .inner .text {
    width: 600px;
  }
}

@media (max-width: 1700px) {
  .slider {
    top: 20%;
    left: -23%;
  }
}

@media (max-width: 1730px) {
  .half .inner {
    max-width: 60%;
  }
}

@media (max-width: 1590px) {
  .half .inner {
    max-width: 70%;
  }
  .home-page .tab-content .tab-text {
    max-width: 65%;
  }
}

@media (max-width: 1500px) {
  .half .inner .text {
    width: 525px;
  }
}

@media (max-width: 1450px) {
  .slider {
    top: 40%;
    left: -39%;
    width: 125%;
    height: 165px;
    -moz-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    -webkit-transform: rotate(-50deg);
    -o-transform: rotate(-50deg);
    transform: rotate(-50deg);
    transform: rotate(-53deg);
  }
  .home-page .text-offset {
    margin-left: 30%;
  }
  .home-page .main-text {
    width: 50%;
  }
  .home-page .tab-content .tab-text {
    max-width: 75%;
  }
}

@media (max-width: 1300px) {
  .half .inner .text {
    width: 450px;
    margin: auto;
  }
}

@media (max-width: 1360px) {
  .half .inner {
    max-width: 75%;
  }
}

@media (max-width: 1300px) {
  .half .inner {
    max-width: 80%;
  }
  .home-page .tab-content .tab-text {
    margin-left: 30px;
    max-width: 75%;
  }
}

@media (max-width: 1250px) {
  .half .inner {
    max-width: 100%;
    padding: 0 15px;
  }
  .half .inner .text {
    padding-top: 5%;
  }
}

@media (max-width: 1200px) {
  .slider {
    display: none;
  }
  .home-page .text-offset {
    margin-left: 0%;
  }
  .home-page .main-text {
    width: 75%;
  }
  .home-page .content .bottom {
    width: 95%;
  }
  .home-page .tab-content .tab-text {
    margin-left: 30px;
    max-width: 73%;
    padding: 20px;
  }
}

@media (max-width: 1100px) {
  .half .inner .text .image img {
    max-height: 125px;
    max-width: 250px;
  }
}

@media (max-width: 1024px) {
  .owl-carousel .owl-item {
    overflow-y: initial;
  }
  .home-page .tab-content .tab-text h2, .home-page .tab-content .tab-text h3, .home-page .tab-content .tab-text p {
    margin-bottom: 15px;
  }
  .header-container {
    position: relative;
    height: auto;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 10px solid #afc40c;
  }
  .header-container .header {
    width: 100%;
    padding-top: 5px;
  }
  .header-container .header .logo {
    float: left;
    padding-left: 15px;
  }
  .header-container .header .logo img {
    max-width: 175px;
  }
  .header-container .header .burger {
    float: right;
    padding-right: 15px;
    margin-top: 0;
    padding-top: 10px;
  }
  .header-container .header .header-top {
    overflow: hidden;
  }
  .header-container .header .nav {
    position: relative;
    z-index: 1;
    display: block;
    padding-left: 15px;
    text-align: justify;
    overflow: hidden;
    display: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
  }
  .header-container .header .nav img {
    vertical-align: bottom;
  }
  .header-container .header .nav .white {
    display: none;
  }
  .header-container .header .nav .green {
    display: inline-block;
  }
  .header-container .header .nav:after {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .header-container .header .nav li {
    display: inline-block;
  }
  .header-container .header .nav li a {
    color: #afc40c;
  }
  .header-container .header .open-section {
    top: 100%;
    -moz-transform: translate(0, 50%) rotate(180deg);
    -ms-transform: translate(0, 50%) rotate(180deg);
    -webkit-transform: translate(0, 50%) rotate(180deg);
    -o-transform: translate(0, 50%) rotate(180deg);
    transform: translate(0, 50%) rotate(180deg);
  }
  .full-size {
    min-height: inherit;
    height: 100%;
    position: relative;
  }
  .full-size .content {
    display: block;
  }
  .full-size .transition {
    float: none;
    width: 100%;
    height: 55px;
    padding: 0 15px;
  }
  .full-size .transition .title {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    position: relative;
    min-height: inherit;
    width: 100%;
    left: 0;
    margin: 0;
    -ms-writing-mode: inherit;
    -webkit-writing-mode: inherit;
    -moz-writing-mode: inherit;
    -ms-writing-mode: inherit;
    writing-mode: inherit;
    padding: 15px 0;
    text-align: center;
  }
  .full-size .transition .image {
    right: 0;
    top: 0;
    width: 70%;
    height: 100%;
  }
  .home-page .main-text {
    width: 100%;
    padding: 0 15px;
  }
  .home-page .content .inner {
    padding-top: 80px;
    padding-bottom: 25px;
    height: 785px;
  }
  .home-page .content .inner .text {
    min-height: inherit;
  }
  .home-page .content .bottom {
    width: 100%;
    padding: 0 15px;
    overflow: hidden;
  }
  .home-page .transition {
    display: none;
    text-align: center;
  }
  .home-page .transition .title {
    padding-top: 30px;
  }
  .home-page .transition .image {
    opacity: 0.1;
  }
  .home-page .open-section {
    right: 0;
    -moz-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
    padding: 13px 45px 13px 0;
    top: 50%;
    margin-right: 5px;
  }
  .home-page .section-inner {
    width: 100%;
    border-right: 0;
  }
  .home-page .tab-content {
    position: static;
    display: none;
  }
  .home-page .tab-content .tab-pane {
    padding: 85px 0;
    position: relative;
  }
  .home-page .tab-content .tab-text {
    padding: 15px;
    max-width: 100%;
    margin: 0;
    max-height: 100%;
    overflow: visible;
  }
  .home-page .tab-content .tab-text form {
    margin-bottom: 30px;
  }
  .home-page .tab-content, .home-page .tab-content .tab-pane {
    min-height: 785px;
  }
  .home-page .content .bottom, .new-brands + .footer-copyrights {
    position: relative;
  }
  .left-offset {
    margin-left: 0;
    width: 100%;
  }
  .menu-active .header .burger p {
    color: #afc40c;
    display: none;
  }
  .menu-active .header .burger span {
    background: #afc40c;
  }
  .menu-active .header .logo .green {
    display: block;
  }
  .menu-active .header .logo .white {
    display: none;
  }
  .menu-active .home-page .tab-content {
    display: block;
  }
  .menu-active .home-page .content {
    position: static;
    margin-top: -35px;
  }
  .menu-active .home-page .content .inner {
    display: none;
  }
  .menu-active .home-page .content .bottom {
    display: block;
  }
  .menu-active .home-page .open-section {
    background: url("../images/green-arrow.png") no-repeat 100% 50%;
  }
  .menu-active .home-page .open-section span {
    color: #afc40c;
  }
  .menu-active .home-page.full-width-content .text-offset-small {
    height: auto;
    overflow: visible;
  }
  .menu-active .new-brands, .menu-active .new-brands + .footer-copyrights {
    display: none;
  }
  .half {
    width: 100% !important;
    float: none;
    overflow: hidden;
    transition: unset;
  }
  .half .inner {
    max-width: 100%;
    padding: 0 15px;
    height: 700px;
    visibility: visible;
    display: table-cell !important;
    opacity: 1;
  }
  .half .inner .text {
    padding-top: 0;
    padding-bottom: 55px;
  }
  .half .half-close {
    display: block;
    margin-top: -20px;
    margin-bottom: -10px;
  }
  .half .half-close i {
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .half .half-close + span {
    position: relative;
    display: block;
    z-index: 1;
  }
  .half.active {
    height: 100%;
  }
  .brands-page-active .header-container .header {
    border: 0;
  }
  .half .inner .text {
    width: auto;
    padding: 0 0 50px 0;
  }
  .half .inner .text .image img {
    max-height: none;
    max-width: 100%;
  }
  .new-brands {
    height: 55px;
    display: block;
    z-index: 10000;
    margin-top: 0;
    position: relative;
  }
  .new-brands .content {
    border-left: none;
    display: block;
  }
  .new-brands .content .half {
    display: block;
  }
  .new-brands.active {
    height: 100%;
  }
  .new-brands.active .half-close i {
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }
  .home-page .tab-content .image-container img {
    display: block;
    margin: auto;
  }
  .home-page.full-width-content .section-inner {
    overflow: visible;
  }
  .home-page.full-width-content .text-offset-small {
    width: 100%;
    padding: 20px 15px;
  }
  .table-visible {
    display: inline-block;
  }
  .table-hidden {
    display: none;
  }
  .half-close {
    display: inline-block;
    vertical-align: top;
  }
  .new-brands + .footer-copyrights {
    display: block;
  }
  .home-page .content .bottom {
    display: none;
  }
  body:not(.home) {
    overflow: visible;
  }
  body:not(.home).admin-bar {
    padding-bottom: 0;
  }
  body:not(.home) .home-page .content .bottom {
    bottom: 0;
    display: block;
  }
}

@media (max-width: 700px) {
  .home-page .tab-content .tab-pane {
    padding-bottom: 110px;
  }
  .home-page .content .bottom, .new-brands + .footer-copyrights {
    text-align: center;
  }
  .home-page .content .bottom .left, .home-page .content .bottom .right, .new-brands + .footer-copyrights .left, .new-brands + .footer-copyrights .right {
    float: none;
  }
  .home-page .content .bottom .right, .new-brands + .footer-copyrights .right {
    margin-top: 25px;
  }
  .header-container .header .nav img {
    max-width: 65px;
    vertical-align: sub;
  }
  .header .nav li a {
    font-size: 26px;
  }
  .menu-active .home-page .content {
    margin-top: -70px;
  }
}

@media (max-width: 550px) {
  .header-container .header .nav li {
    display: block;
    text-align: center;
  }
  .half .inner .text .image img:nth-last-child(n+2), .half .inner .text .image img:nth-last-child(n+2) ~ * {
    max-width: 50%;
  }
  .half .inner .text .image img:nth-last-child(n+3), .half .inner .text .image img:nth-last-child(n+3) ~ * {
    max-width: 30%;
  }
  .half .inner .text .image img:nth-last-child(n+4), .half .inner .text .image img:nth-last-child(n+4) ~ * {
    max-width: 25%;
  }
  .half .inner .text .image img + img {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .menu-active .home-page .content {
    margin-top: -85px;
  }
}

@media (max-width: 490px) {
  .half .inner .text .image img:nth-last-child(n+2), .half .inner .text .image img:nth-last-child(n+2) ~ * {
    max-width: 45%;
  }
  .half .inner .text .image img:nth-last-child(n+3), .half .inner .text .image img:nth-last-child(n+3) ~ * {
    max-width: 25%;
  }
}

@media (max-width: 450px) {
  .home-page .text .title img {
    max-width: 100px;
    vertical-align: initial;
  }
  .home-page .open-section {
    padding: 0;
    width: 31px;
    height: 58px;
  }
  .home-page .open-section span {
    display: none;
  }
}

@media (max-height: 768px) and (min-width: 1200px) and (max-width: 1400px) {
  .home-page .tab-content .tab-text {
    max-width: 72%;
    padding: 30px;
  }
}

@media (max-height: 768px) and (min-width: 1025px) {
  .half .inner .text {
    padding: 10% 0;
  }
}

@media (max-height: 695px) {
  .home-page .tab-content .tab-text h3, .home-page .tab-content .tab-text h2, .home-page .tab-content .tab-text p {
    margin-bottom: 15px;
  }
}
