/* Footer */ 

h4 {
    font-size: 1.5rem;
}

.footer-icon {
    font-size: 1.5rem;   
    margin-right: 10px;
    color:#000;
}

.footer-headlines {
    margin-top: -0.4rem;
    margin-bottom: 0.9rem !important;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

span.footer-inline {
    display: flex;
    align-items: center;
}

.footer-links {
    color: #176227;
    font-size: 1rem;
    font-weight: 500;
    margin:1rem 0 1rem 0;
}

.footer-links:hover {
    font-weight: 600;
}

.fc {
    margin: 1rem 0 1rem 0;
}

.align-content img{
    width: 100%;
    height: fit-content;
    max-width: 200px;
}

.align-content {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: flex-start;
}

@media only screen and (max-width: 1279px) {
    .top-pad1 {
        padding-top: 10%;
    }
}

@media only screen and (max-width: 1024px) {
    .footer-inline p,
    .footer-links,
    .footer-icon {
        font-size: 0.9rem; 
    }
}

@media only screen and (max-width: 767px) {
    h4 {
        font-size: 1.2rem;
    }

    .footer-inline p,
    .footer-links,
    .footer-icon {
        font-size: 0.8rem;
    }

    .top-pad1 {
        padding-top: 10%;
    }

    .align-content {
        flex-wrap: nowrap;
    
    }
}

/* Buy - Sell */

.buy-sell-section {
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    background-color: #F2F2F2;
}

.buy-sell-col img {
    width: 100%;
    height: 100%;
    max-width: 96px;
}

.buy-sell-col {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;       
}

.buy-sell-col h2{
    margin: 1rem 0rem 0rem 0rem;
    font-size: 1.9rem;
    text-transform: uppercase;
}

.buy-sell-col p {
    text-align: center;
    padding: 0rem 2.5rem 0rem 2.5rem;
}

.buy-sell-col .btn {
    margin-top: 1rem;
    margin-right: 0px;
}

@media only screen and (max-width: 991px) {
    .top-pad3 {
        padding-top: 6.25rem;
    }
}

/*background-image-section forside*/

.background-image-section {
    position: relative;
    z-index: 1;
    height: 700px;
    background-color: #000;
}

.background-container {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    z-index: 1;
    height: 25%;
    background-color: #222222;
    opacity: 80%;
    text-align: center; 
}

.background-header h3 {
    display: inline-block;
    color: white;
    font-size: 2.1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: solid 5px #176227;
}

.content-container {
    width: 100%;
}

.sd {
    position: absolute;
    top: 25%;
    right: 0;
    padding-left: 0;
    padding-right: 0;
    height: 75%;
    background-color: #FFFFFF;
    opacity: 90%;
}   

.image-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    height: 100%;
    padding: 3.899rem;
}

.image-content h4 {
    font-size: 1.9rem;
    color: black;
    text-transform: uppercase;
    margin-top: 0;
    margin-left: 1rem;
}

.image-content span {
    display: flex;
    align-items: center;
    padding: 1rem 0 1rem 0;
}

.image-content img {
    margin-right: 1.2rem;
    max-width: 100px;
    width: 100%;
    height: 100%;
}

.image-content p {
    color: black;
    text-transform: uppercase;
    font-size: 1.15rem;
}

@media screen and (max-width: 1300px) { 
    .background-header h3 {
        font-size: 1.8rem;
    }

    .image-content h4 {
        font-size: 1.6rem;
    }

    .image-content img {
        font-size: 0.8rem;
    }

    .image-content p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 991px) {
    .image-content h4 {
        font-size: 1.5rem;
    }

    .image-content img {
        font-size: 1rem;
    }

    .image-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .background-header h3 {
        font-size: 1.6rem;
    }

    .image-content h4 {
        font-size: 1.4rem;
    }

    .image-content img {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 570px) {
    .background-header h3 {
        font-size: 1.4rem;
        border: none;
    }

    .image-content h4 {
        font-size: 1.25rem;
    }

    .image-content img {
        font-size: 0.6rem;
    }

    .image-content p {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 420px) {
    .image-content h4 {
        font-size: 1rem;
    }

    .image-content p {
        font-size: 0.8rem;
    }
}

/*Banner sections - pages */

.banner-section-page {
    position: relative;
    z-index: 1;
    height: 500px;
    background-color: #000;
}

.banner-section-page .content-mid {
    margin-bottom: 0;
    width: 100%;
    top: 180px;
}

@media screen and (max-width: 700px) {
   .banner-section-page h1 {
    font-size:40px !important;
   }
}

@media screen and (max-width: 580px) {
    .banner-section-page .content-mid {
        top: 150px;
    }
    
    .content-mid h1 {
     font-size:32px !important;
    }

    .banner-section-page {
        height: 350px;
    }
}

@media screen and (max-width: 480px) {
    .banner-section-page .content-mid {
        top: 150px;
    }

    .content-mid h1 {
     font-size: 30px !important;
    }

    .banner-section-page {
        height: 350px;
    }
}

@media screen and (max-width: 400px) {
    .content-mid {
        top: 150px;
    }
    
    .content-mid h1 {
     font-size: 26px !important;
    }

    .banner-section-page {
        height: 350px;
    }
}

/* banner section - kontakt */

.banner-section-kontakt {
    position: relative;
    z-index: 1;
    height: 300px;
    background-color: #000;
}

.banner-section-kontakt .content-mid {
    margin-bottom: 0;
    top: 90px
}

/*Interest section - pages */

.interest-section {
    padding-top: 100px;
    padding-bottom: 100px;
    display: flex;
    justify-content: flex-start;
}

.interest-section h2 {
    font-size: 28px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.interest-section .btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.interest-content { 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.interest-section h3 {
    margin: 1rem 0 0 0;
}

/*Card Section - Maskiner til salg */

.card-section {
    padding-top: 40px;
    padding-bottom: 80px;
    display: flex;
}

.card-content {
    display: flex;
    flex-direction: row;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 450px; 
    background-color: #000;
}

.btn-a-card {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    width: 100%;
    height: auto;
}

.card-banner {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}

.card-banner img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem;
    background-color: #000;
    opacity: 0.8;
    width: 100%;
    transition: 250ms ease; 
}

.card-text h3 {
    font-size: 1.2rem;
    color: white;
    padding-right: 1rem;
    position: relative;
}

.card-margin {
    margin-bottom: 80px;
}

.card-section .container .row {
    justify-content: space-between;
}

.card-text h3::after {
    content: '';
    position: absolute;
    right: -15px;
    bottom: 5px;
    display: block;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%) rotate(-45deg);
    padding: 2px;
    transition: 0.4s ease;
}

.card-text h3:hover::after {
    right: -35px;
}

@media screen and (max-width: 950px) {
    .card-content {
        height: 300px;
    } 
}

@media screen and (max-width: 767px) {
    .card-margin {
        margin-bottom: 56px;
    }
    .card-content {
        height: 350px;
    } 
}

@media screen and (max-width: 520px) {
    .card-content {
        height: 300px;
    }

    .card-text {
        padding: 1rem;
    }
    
    .card-text h3 {
        font-size: 1rem;
    }

    .card-text h3::after {
        width: 2px;
        height: 2px;
        bottom: 3px;
    }

    .card-margin {
        margin-bottom: 56px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media screen and (max-width: 420px) {
    .card-content {
        height: 200px;
    }
    
    .card-text {
        padding: 1rem;
    }
    
    .card-margin {
        margin-bottom: 40px;
    }
}

/* Banner - for product sites*/

.product-banner-background-image-section {
    position: relative;
    z-index: 1;
    height: 200px;
    background-color: #000;
}

.product-banner-background-container {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
    opacity: 0.3;
}

.product-banner-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-banner-background-header {
    position: absolute;
    width: 100%;
    z-index: 1;
    height: 100%;
    border-left: solid 5px #176227;
    top:50px;  
}

.product-banner-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: solid 5px #176227;
}

.product-banner-section-header-h {
    display: inline-block;
    color: white;
    text-transform: uppercase;
    font-size: 2.1rem;
    margin-bottom: 0;
    margin-top: 0;
}

.product-banner-section-header-p {
    display: inline-block;
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0;
    margin-top: 0;
}


@media screen and (max-width: 625px) {
    .product-banner-background-header {
        top:65px;
    }
    .product-banner-section-header-h {
        font-size: 1.6rem;
    }

}


@media screen and (max-width: 550px) {
    .product-banner-background-header {
        top:60px;
    }

    .product-banner-wrap {
        margin-left: 40px;
    }


    

    .product-banner-section-header-p {
        font-size: 1.2rem;
    }
}



@media screen and (max-width: 478px) {
    .product-banner-background-header {
        top:50px;
    }

    .product-banner-wrap {
        margin-left: 40px;
    }


    

    .product-banner-section-header-p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 450px) {
    .product-card-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .product-banner-background-header {
        top: 55px;
    }

    .product-banner-wrap {
        margin-left: 40px;
    }

    .product-banner-section-header-h {
        font-size: 1.5rem;
    }

    .product-banner-section-header-p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 380px) {
    .product-banner-background-header {
        top:75px;
    }

    .product-banner-wrap {
        margin-left: 40px;
    }

    .product-banner-section-header-h {
        font-size: 1.2rem;
    }
}

/*Product card section */

.product-card-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.card-data {
    display: flex;
    flex-direction: row;
    height: auto;
}

.card-data-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 20px;
    height: 100%;
    width: 100%;
}

.card-data-right p {
    margin:10px 0;
    font-size: 16px;
}

.tr-card {
    margin-bottom: 20px;
}

table {
    border-collapse: collapse;
}

.tr-pad {
    padding-top: 4px;
    padding-bottom: 10px;
}

.cardh4 {
    display: flex;
    justify-content: flex-start;
    color: #000;
    font-size: 26px;
    margin: 16px 0;
}

.product-img {  
    height: 100%;
    width: 100%;
}

.btn-product-card {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}

th {
    text-align: left;
    font-size: 20px;
    width: 25%;
}

td {
    font-size: 18px;
}

.btn-product-card a {
    padding: 12px 30px;
}

.col-billede {
    height: fit-content;
    width: 45%;
}

.col-data {
    height: auto;
    display: flex;
    justify-content: space-between;
    padding-bottom: 6px;
    width: fit-content;
}

@media screen and (max-width: 1400px) {
    .col-billede {
        width: 55%;
    }
    th {
        font-size: 18px;
    }

    td {
        font-size: 16px;
    }
}

@media screen and (max-width: 1300px) {
    .col-billede {
        width: 60%;
    }

    th {
        font-size: 17px;
    }

    td {
        font-size: 16px;
    }
    .card-data-right p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1170px) {
    .col-billede {
        width: 70%;
    }

    .card-data-right p {
        margin: 8px 0;
        font-size: 14px;
    }

    th, td {
        font-size: 16px;
    }

    .tr-pad {
        padding-top: 0;
        padding-bottom: 6px;
    }
}

@media screen and (max-width: 974px) {
    .col-billede {
        width: 85%;
    }
    th,
    td {
        font-size: 14px;
    }
    .card-data-right p {
        margin: 8px 0;
        font-size: 12px;
    }

    .btn-product-card a {
        font-size: 14px;
    }
}


@media screen and (max-width: 850px) {
    .col-billede {
        width: 100%;
    }

    .btn-product-card a {
        padding: 10px 26px;
        font-size: 12px;
    }

    .card-data-right p {
        margin: 6px 0;
    }
}

@media screen and (max-width: 767px) {
    .card-data {
        flex-direction: column;
    }
    .col-billede {
        margin-bottom: 10px;
    }
    
    .card-data-right {
        padding: 0;
    }
    .btn-product-card a {
        margin-top: 10px;
    }
    .card-data-right p {
        margin: 10px 0;
    }

    .product-card-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .cardh4 {
        font-size: 24px;
    }
}

@media screen and (max-width: 600px) {
    .btn-product-card a {
        font-size: 12px;
        padding: 12px 24px;
    }
}

@media screen and (max-width: 450px) {
    .cardh4 {
        font-size: 22px;
    }

    .btn-product-card a {
        font-size: 12px;
        padding: 12px 24px;
    }
}

@media screen and (max-width: 400px) {
    .cardh4 {
        font-size: 20px;
    }

    .btn-product-card a {
        font-size: 12px;
        padding: 12px 24px;
    }

    th {
        font-size: 14px;
    }

    td {
        font-size: 12px;
    }

    .p-product-card {
        font-size: 12px;
    }
}

.product-card {
    margin-bottom: 60px;
}

/*Kontakt*/



.contact-box {
    width: fit-content;
    background-color: #F5F5F5;
    padding: 40px 56px;
}

.contact-box span {
    margin:2px 0;
}

.h4-contact {
    margin: 8px 0 !important; 
}

.contact-sp p {
    font-size: 18px;
    font-weight: 500;
    margin: 8px 0;
}

.contact-div {
    margin-bottom: 8px;
}

.contact-links {
    color: #1D7B31;
    font-size: 18px;
    font-weight: 500; 
}

.contact-links:hover {
    font-weight: 600;
}

#field_9bqsi {
    height: 150px;
}

iframe {
    width: 100%;
}

.contact-section  {
    display: flex;  
    flex-direction: column;
    align-items: center;
    text-align: center;
    
    margin-top: 80px;
}

.contact-section h2  {
    margin-bottom: 8px;
    font-size: 28px;
}

.contact-section p  {
    text-align: center;
    width: 70%;
    margin-top: 0;
    
}

.aaa {
    display: flex;
    justify-content: center;
}

.contact-section a {
    color: #176227;
    font-weight: 600;

}

@media screen and (max-width: 991px) {
    .topbot-marg {
        margin-top: 80px;
        margin-bottom: 40px;
    }
}

.p-alert {
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
}

.p-alert a{
    color: #1D7B31;
}

.p-alert a:hover{
    color: #1D7B31;
    font-weight: 600;
}

@media screen and (max-width: 700px) {
    .p-alert {
        font-size: 18px;
        line-height: 36px;
    }
}

@media screen and (max-width: 600px) {
    .p-alert {
        font-size: 16px;
        line-height: 32px;
    }
}