/*
Sections:
    - Layout
        - Layout - Content Grid
    - After Sales Page
        - After Sales Page - Nav
        - After Sales Page - Machines
        - After Sales Page - Training & Development
        - After Sales Page - Media Queries
        - After Sales Page - Support
    - Contact Page
        - Contact Page - Map & Form
        - Contact Page - Dealer's Location
        - Contact Page - Become A Dealer
        - Contact Page - Dealer's Requirement
    - News Listing Page
    - News Inner Page
*/

/** Layout **/
:root {
    --color-white: #fff;
    --color-black: #000;
    --color-yellow: #ffc600;
    --color-form-field-border: #ccc;
    --color-nav-bg: #f1f1f1;
    --color-news: #888888;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
    line-height: normal;
}

h2 {
    margin-top: 50px;
    position: relative;
    font-weight: 600;
}

h2::before {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    background: var(--color-yellow);
    top: -18px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
.et_pb_button, .btn, #content-area .button, #main-content .button, .form-submit .et_pb_button, .woocommerce #respond input#submit {
    color: var(--color-white);
    font-size: calc(12px + (14 - 12) * (100vw - 375px) / (1900 - 375));
    background: var(--color-black);
    border: none;
    padding: calc(10px + (20 - 10) * (100vw - 375px) / (1900 - 375)) calc(10px + (25 - 10) * (100vw - 375px) / (1900 - 375));
    border-radius: 0px;
    display: inline-block;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    letter-spacing: normal;
}

.et_pb_button:hover, .et_pb_module .et_pb_button:hover, .btn:hover, #content-area .button:hover, .form-submit .et_pb_button:hover, #main-content .button:hover, .woocommerce #respond input#submit:hover {
    color: var(--color-white);
    border: none;
    padding: calc(10px + (20 - 10) * (100vw - 375px) / (1900 - 375)) calc(10px + (25 - 10) * (100vw - 375px) / (1900 - 375));
    background: var(--color-black);
    opacity: 0.7;
}
*/

.bg-full {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 24%;
}

#breadcrumbs {
    margin-top: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}



/** Layout - Content Grid **/
.content-grid {
    display: flex;
    flex-direction: column;
}

.content-grid > .item {
    display: flex;
    align-items: center;
}

.content-grid > .item.align-right {
    flex-direction: row-reverse;
}

.content-grid > .item .image {
    width: 53%;
    height: 50%;
}

.content-grid > .item .content {
    width: 47%;
    padding: 3%;
}

@media screen and (max-width: 541px) {
    .content-grid > .item {
        flex-direction: column;
    }
    
    .content-grid > .item.align-right {
        flex-direction: column;
    }
    
    .content-grid > .item .image {
        width: 100%;
        height: 50vw;
    }
    
    .content-grid > .item .content {
        width: 100%;
    }
}

/** Layout - End **/


/** After Sales Page **/
#aftersales-section {
    padding: 10px 0;
    background-repeat: no-repeat;
}

/** After Sales Page - Nav **/


/** After Sales Page - Machines **/
.aftersales-counter-columns {
    display: flex;
    justify-content: space-around;
	width: 90%;
	margin: auto;
}

.aftersales-counter-columns > .column {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: normal;
}

.aftersales-counter-columns > .column .number {
    font-size: calc(70px + (100 - 70) * (100vw - 320px) / (1920 - 320));
    color: var(--color-yellow);
    font-weight: bold;
    line-height: normal;
    width: 100%;
}

.aftersales-counter-columns > .column .label {
    font-size: calc(16px + (20 - 16) * (100vw - 320px) / (1920 - 320));
    font-weight: bold;
    width: 100%;
}

/** After Sales Page - Support **/
#support-button {
    text-align: center;
}

#support-button a {
    color: var(--color-white);
    font-size: calc(12px + (14 - 12) * (100vw - 375px) / (1900 - 375));
    background: var(--color-black);
    padding: calc(10px + (20 - 10) * (100vw - 375px) / (1900 - 375)) calc(10px + (25 - 10) * (100vw - 375px) / (1900 - 375));
    display: inline-block;
    text-transform: uppercase;
}

#support-button a:hover {
    opacity: 0.7;
}

/** After Sales Page - Media Queries **/
/*
@media only screen and (min-width: 1350px) {
    #spare-parts-row.et_pb_row {
        padding: 50px 0 100px 0 !important;
    }
    
    #international-row.et_pb_row {
        padding: 100px 0 !important;
    }
    
    #support-row.et_pb_row {
        padding: 50px 0 !important;
    }
}
*/

@media screen and (max-width: 541px) {
    .aftersales-counter-columns {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
}

/** After Sales Page - End **/

/** Contact Page **/
.page-id-23 #main-content {
    background: none;
}

/** Contact Page - Map & Form **/
#map-form-section h4 {
    margin-bottom: 0;
}

#map-form-section .et_pb_gutters3 .et_pb_column_1_2 .et_pb_module,
#map-form-section .et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module {
    margin-bottom: 10px !important;
}

.contact-details {
    display: flex;
    gap: 30px;
}

.form-fields {
  display: flex;
  flex-wrap: wrap;
}

.form-fields label {
  font-weight: bold;
}

.form-fields > .half-col {
  margin-left: 0.5em;
  margin-right: 0.5em;
  width: calc(50% - 1em);
}

.form-fields > .full-col {
  margin-left: 0.5em;
  margin-right: 0.5em;
  width: calc(100% - 1em);
}

.form-fields > .half-col > .wpcf7-form-control-wrap,
.form-fields > .full-col > .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-form select {
  width: 100%;
  padding: calc(5px + (15 - 5) * (100vw - 375px) / (1900 - 375))
    calc(10px + (25 - 10) * (100vw - 375px) / (1900 - 375));
  margin: 10px 0;
  display: inline-block;
  background: none;
  box-sizing: border-box;
  color: var(--color-black);
  font-weight: normal;
  line-height: 1;
  background: var(--color-white);
  border-radius: 0px;
  outline: 0;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.form-input,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="file"] {
  border: thin solid var(--color-form-field-border);
  height: 50px;
  width: 100%;
}

.wpcf7-form textarea {
    border: thin solid var(--color-form-field-border);
}

.form-input:focus,
.wpcf7-form input.text:focus,
.wpcf7-form input.title:focus,
.wpcf7-form input[type=text]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border: thin solid var(--color-form-field-border);
    color: var(--color-black);
}

.captcha-button {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.captcha-button .wpcf7-form-control-wrap.recaptcha {
    transform: scale(0.6);
    transform-origin: right top;
}

.captcha-button p {
    text-align: right;
    width: 150px;
    margin-left: 20px;
}

.captcha-button .et_pb_button {
    width: 100%;
    display: inline-block;
}

.captcha-button .et_pb_button::before,
.captcha-button .et_pb_button::after {
    display: none;
}

#contact-form .wpcf7 form .wpcf7-response-output {
    display: none;
}

@media (min-width: 981px) {
    #map-form-section .et_pb_gutters3 .et_pb_column_1_2 .et_pb_module,
    #map-form-section .et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module {
        margin-bottom: 10px !important;
    }
}

@media screen and (max-width: 541px) {
    .form-fields > .half-col {
        width: calc(100% - 1em);
    }
    
    .captcha-button {
        flex-direction: column;
        justify-content: flex-start;
    }
  
    .captcha-button .wpcf7-form-control-wrap.recaptcha {
        margin-left: 0.5em;
        transform: scale(0.6);
        transform-origin: left top;
    }
    
    .captcha-button p {
        margin-left: 0.5em;
    }
}

/** Contact Page - Dealer's Location **/
.contact-dealers-location {
    display: flex;
    gap: 30px;
}

.contact-dealers-location > aside {
    width: 20%;
}

.search-field {
    width: 100%;
    margin-bottom: 20px;
    border: thin solid var(--color-form-field-border);
    background: var(--color-white);
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
}

.search-field > input {
    width: calc(100% - 40px);
    border: none;
    background: transparent;
    height: 30px;
}

.search-field > button {
    width: 30px;
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.search-field > button > img {
    width: 100%;
}

.search-field > button:hover {
    opacity: 0.7;
}

.contact-dealers-location > aside .regions {
    margin-top: 20px;
}

.contact-dealers-location > aside .list-group-header {
    padding: 5px 0;
    cursor: pointer;
    position: relative;
}

.contact-dealers-location > aside .list-group-header:hover,
.contact-dealers-location > aside .list-group-header:focus,
.contact-dealers-location > aside .list-group-header.active {
    color: var(--color-yellow);
}

.contact-dealers-location > aside .list-group-header > .toggle {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    font-size: 18px/26px;
}

.contact-dealers-location > aside .list-group-header:hover  > .toggle,
.contact-dealers-location > aside .list-group-header:focus  > .toggle {
    color: var(--color-yellow);
}

.contact-dealers-location > aside .list-group-header.active  > .toggle {
    color: var(--color-yellow);
    transform: translate(-50%, -50%) rotate(180deg);
}

.contact-dealers-location > aside .list-group-items {
    display: none;
}

.contact-dealers-location > aside .list-group-items.active {
    display: block;
}

.contact-dealers-location > aside .list-group-item {
    display: block;
    width: 100%;
    padding: 5px 0 5px 20px;
    cursor: pointer;
}

.contact-dealers-location > aside .list-group-item:hover,
.contact-dealers-location > aside .list-group-item:focus,
.contact-dealers-location > aside .list-group-item.active {
    text-decoration: underline;
}

.contact-dealers-location > main {
    width: calc(80% - 30px);
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
}

.contact-dealers-location > main .mobile-header {
    width: 100%;
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-dealers-location > main .mobile-header .regions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.contact-dealers-location > main .mobile-header .regions > .regions-label {
    width: 100%;
    text-align: center;
}

.contact-dealers-location > main .mobile-header .list-group-headers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.contact-dealers-location > main .mobile-header .list-group-items {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.contact-dealers-location > main .mobile-header .list-group-items.active {
    display: flex;
}

.contact-dealers-location > main .list-group-header:hover,
.contact-dealers-location > main .list-group-header:focus,
.contact-dealers-location > main .list-group-header.active {
    color: var(--color-yellow);
}

.contact-dealers-location > main .list-group-item:hover,
.contact-dealers-location > main .list-group-item:focus,
.contact-dealers-location > main .list-group-item.active {
    text-decoration: underline;
}

.contact-dealers-location > main .locations {
    display: none;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.contact-dealers-location > main .locations.active {
    display: flex;
}

.locations > .location-header {
    display: none;
    width: 100%;
}

.locations > .location {
    width: calc(50% - 15px);
    display: flex;
    gap: 20px;
	align-items: center;
}

.location .image {
    width: calc(45% - 10px);
}

.location .content {
    width: calc(55% - 10px);
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 19px;
}

.location .content div {
	font: 15px/26px "Roboto", sans-serif;
}
.location .content a {
	font: 15px/26px "Roboto", sans-serif;
}

.location .content.no-image {
    width: 100%;
}

.location .name {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-dealers-location > main .no-results {
    width: 100%;
    height: 100%;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    gap: 10px;
}
.contact-dealers-location > main .no-results .buttons{
    margin-top: 20px;
}

@media screen and (max-width: 541px) {
    .contact-dealers-location > aside {
        display: none;
    }
    
    .contact-dealers-location > main {
        width: 100%;
        margin-top: 0;
    }
    
    .contact-dealers-location > main .mobile-header {
        display: flex;
    }
}

@media screen and (max-width: 415px) {
    .locations > .location {
        width: 100%;
    }
}

/** Contact Page - Become A Dealer **/
.content-grid.become-a-dealer-content > .item .content {
    padding: 0 0 0 50px;
}

.content-grid.become-a-dealer-content > .item.align-right .content {
    padding: 50px 50px 50px 0;
}

@media screen and (max-width: 541px) {
    .content-grid.become-a-dealer-content > .item .content {
        padding: 50px 0;
    }
    
    .content-grid.become-a-dealer-content > .item.align-right .content {
        padding: 50px 0;
    }
}

/** Contact Page - Dealer's Requirement **/
.contact-dealers-requirement {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-dealers-requirement > .item {
    display: flex;
    width: calc(50% - 15px);
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.contact-dealers-requirement > .item .image > img {
    display: block;
    width: 80%;
}

.contact-dealers-requirement > .item .content {
    width: calc(100% - 120px);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
	line-height: 1.8em;
}

@media screen and (max-width: 769px) {
    .contact-dealers-requirement > .item {
        width: 100%;
    }
    
    .contact-dealers-requirement > .item {
        flex-direction: column;
        justify-content: center;
    }
    
    .contact-dealers-requirement > .item .content {
        width: 100%;
        text-align: center;
    }

}

@media screen and (max-width: 321px) {
    .contact-dealers-requirement > .item .image {
        width: 100%;
    }
}

/** Contact Page - End **/

/** News Listing Page **/
.article-listing {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.article-listing > article {
  display: block;
  margin: 0 10px 30px 10px;
  width: calc(33% - 20px);
  -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.3);
  padding-bottom: 15px;
}
.article-listing > article .link{
    position: absolute;
    bottom: 10px;
}

.article-listing > article:hover {
  -webkit-box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.5);
}

.article-listing > article > img {
  width: 100%;
}

.article-listing > article div {
    color: var(--color-news);
}

.article-listing > article > .text {
  padding: calc(10px + (20 - 10) * (100vw - 375px) / (1900 - 375));
}

.article-listing > article h5 {
    font-weight: 600;
	letter-spacing: 1px;
    text-transform: none;
    color: #222222;
    padding-bottom: 0;
    margin-bottom: 5px !important;
	font-size: 18px;
   overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 2;
   line-clamp: 2;
   -webkit-box-orient: vertical;
   min-height: 45px;
}

.article-listing > article .description {
    margin: 10px 0;
	font: 14px/23px "Roboto", sans-serif;
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.article-listing > article .link {
    color: var(--color-yellow);
    text-transform: uppercase;
    text-decoration: underline;
}

.paginate-links {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .paginate-links a,
.paginate-links span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
} */

.paginate-links .page-numbers {
  display: block;
  color: var(--color-black);
  border: none;
  background: transparent;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 5px;
}

.paginate-links .page-numbers.current {
  background: var(--color-yellow);
  border: none;
}

.paginate-links .page-numbers.prev,
.paginate-links .page-numbers.next {
  font-size: 0;
  width: 15px;
  height: 30px;
  background-image: url('');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  border: none;
}

.paginate-links .page-numbers.prev {
  background-image: url('../images/prev-black-22x37.png');
}

.paginate-links .page-numbers.next {
  background-image: url('../images/next-black-22x37.png');
}

@media screen and (max-width: 769px) {
  .article-listing > article {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 541px) {
  .article-listing > article {
    width: calc(100% - 20px);
  }
}
/** News Listing Page - End **/

/** News Inner Page **/
.single_news {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
}

.single_news_10 h4 {
    text-align: center;
    text-transform: none;
    margin-bottom: 30px;
}

/*.single_news_10 div,*/
/*.single_news_10 p {*/
/*    color: var(--color-news);*/
/*}*/

.single_news .text-container .share-container span {
    /*color: var(--color-news);*/
    width: 40px;
    font-weight: normal;
}

.share-container {
    display: block !important;
    text-align: left !important;
    margin: 10px 0 !important;
}

#nav-single {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

#nav-single a {
  display: block;
  padding: 8px 35px;
  color: var(--color-white);
  background: var(--color-black);
  margin-top: 0;
  border: none;
  text-transform: uppercase;
  width: 130px;
  text-align: center;
}

#nav-single a:hover {
    color: var(--color-black);
    background: var(--color-yellow);
}
/** News Inner Page - End **/