/* fieldset{
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
} */

#section-1 {
    background: linear-gradient(#eeeeee 40%, #fff 80%);
}

#section-1 .inner {
    flex-direction: column;
    align-items: center;
}

#section-1 p {
    line-height: 2;
}

#section-1 h1 {
    align-self: flex-start;
    margin-bottom: 2rem;
}

#section-1 .inner {
    flex-direction: column;
    align-items: center;
}


#section-1 .content-container {
    flex-direction: column;
}

#section-1 .image-wrapper {
    width: 100%;
    margin-bottom: 1rem;
}

#section-1 .image-wrapper img {
    /* width: 100%; */
    object-fit: cover;
    height: 100%;
}

#section-1 .inner {
    justify-content: space-between;
    padding-bottom: 2rem;
}


#contact-info-section {
    padding-bottom: 4rem;
    background-color: #fff;
}



.contacts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.contact-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 4rem;
    width: 100%;

}

.contact-info a {
    width: 100%;
    display: flex;
    align-items: center;
    color: rgba(20, 20, 20, 0.8);
    font-size: 18px;
    font-weight: 300;
}

.contact-info .img-wrapper {
    margin-bottom: 1rem;

}

.contact-info .img-wrapper img {
    border-radius: 50%;
    width: 170px;
    height: 170px;
    object-fit: cover;
    object-position: center;
}

.contact-info a img {
    margin-right: 1rem;
}

.contact-info a:first-of-type {
    margin-left: 3px;
    margin-bottom: 1rem;
}

.contact-info a span {
    position: relative;
}

.contact-info a span::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    content: "";
    width: 100%;
    border-bottom: 2px solid rgba(20, 20, 20, 0.4);
    transform: scaleX(0);
    transition: .4s;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info a:hover span::after {
    transform: scaleX(1);
}



#section-2 {
    padding-top: 2rem;
    padding-bottom: 0;
    background: linear-gradient(#eeeeee 40%, #fff 80%);

}

#section-2 .inner {
    flex-direction: column;
}

#section-2.contact-section .inner {
    padding-bottom: 0;
}

#section-2 table .bold {
    font-weight: 700;
    white-space: nowrap;
}

#section-2 table {
    border-collapse: separate;
}

#section-2 table+table {
    margin-top: 0.5rem;
}

#section-2 h2:not(:first-of-type) {
    margin: 2rem 0;
}

#section-2 td:first-child {
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.9);
}

#section-2 .darbalaiks tr:not(:first-of-type) td {
    color: rgba(20, 20, 20, 0.7);
}

#section-2 td span {
    font-weight: 400;
    color: rgba(20, 20, 20, 0.6);
}

#section-2 td:not(:first-child) {
    color: rgba(20, 20, 20, 0.6);
}

#section-2 td {
    vertical-align: top;
    padding: 0.3rem 1rem 0.3rem 0;
}

#section-2 .map-container {
    margin: 2rem 0;
    height: 400px;
}

#section-2 .mapouter,
#section-2 .gmap_canvas {
    height: 100%;
}

#section-2 .offer-table tr:not(:first-child) td {
    font-weight: 400;
    color: rgba(20, 20, 20, 0.6);
}

#section-2 .autoplacis-container {
    margin: 2rem 0;
}

#section-2 .left-col {
    margin: 0.5rem 0;
}

#section-3 {
    padding: 2rem 0 6rem;
    background: #ececec;
}

#section-3 .inner {
    flex-direction: column;
}

#section-3 h1 {
    font-weight: 200;
}

#section-3 form {
    width: 100%;
}

#section-3 input,
#section-3 textarea {
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    padding-right: 0;
    outline: none;
    border: none;
    background: #fff;
    border-radius: 22px;
    width: 100%;
}

#section-3 textarea {
    resize: none;
    /* margin-top: 1rem; */
    height: 300px;
}

#section-3 .textarea-wrapper {
    margin-top: 1.5rem;
}

#section-3 input+input {
    margin-top: 1.5rem;
}

#section-3 form p {
    position: relative;
    font-size: 16px;
    margin: 1rem 0 2rem 1.5rem;
}

#section-3 form p::before {
    position: absolute;
    content: "*";
    left: -0.7rem;
}

#section-3 form button {
    outline: none;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    border-radius: 30px;
    background: #a81427;
    padding: 0.7rem 1.8rem;
    transition: .4s;
}

#section-3 form button:hover {
    background: #162132;
}

footer {
    margin-top: 0;
}

@media (min-width: 576px) {
    .contact-info {
        flex-direction: row;
    }

    .contact-info .img-wrapper {
        margin-right: 60px;
        margin-bottom: 0;
    }
}

@media (min-width:768px) {
    #section-2 .offer-table-container {
        display: flex;
        justify-content: space-between;
    }

    #section-2 .left-col,
    #section-2 .right-col {
        width: calc(50% - 1rem);
        margin: 0;
    }
}

@media (min-width:992px) {
    #section-1 .content-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }


    #section-1 .image-wrapper {
        width: calc(50% - 1rem);
        margin-bottom: 0;

    }

    #section-1 .image-wrapper img {
        width: 100%;
    }

    #section-2 .veikalu-info-container {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    #section-2 .autoplacis-container,
    #section-2 .autoveikals-container {
        width: calc(50% - 1rem);
        margin-top: 0;
    }

    #section-3 .button-container {
        display: flex;
    }

    #section-3 .inner-button-container {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        margin-top: 2rem;
    }

    #section-3 form p {
        margin: 0 0 0 2.5rem;
    }



    #section-3 .fieldset {
        display: flex;
    }

    #section-3 .textarea-wrapper {
        margin: 0 0 0 1.5rem;
        width: 70%;
    }

    #section-3 textarea {
        height: 100%;
    }

    #section-3 .input-container {
        width: 30%;
    }

    #landing-form .button-container {
        display: flex;
        justify-content: center;
    }

    #landing-form .inner-button-container {
        display: flex;
        flex-direction: row;
        width: 100%;
        float: left;
        align-items: center;
        margin-top: 2rem;
    }

    #landing-form form p {
        margin: 0 0 0 2.5rem;
    }



    #landing-form .fieldset {
        display: flex;
        justify-content: space-between;
    }

    #landing-form .textarea-wrapper {
        margin: 0 0 0 1.5rem;
        width: 70%;
    }

    #landing-form textarea {
        height: 100%;
    }

    #landing-form .input-container {
        width: 45%;
    }
}


@media (min-width:1050px) {
    .contact-info {
        width: calc(50% - 1rem);
    }
}

#landing-form {
    padding: 2rem 0 6rem;
    background: #ececec;
}

#landing-form .inner {
    flex-direction: column;
}

#landing-form h1 {
    font-weight: 200;
}

#landing-form form {
    width: 100%;
}

#landing-form input,
#landing-form textarea {
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    padding-right: 0;
    outline: none;
    border: none;
    background: #fff;
    border-radius: 22px;
    width: 100%;
}

#landing-form textarea {
    resize: none;
    /* margin-top: 1rem; */
    height: 300px;
}

#landing-form .textarea-wrapper {
    margin-top: 1.5rem;
}

#landing-form input+input {
    margin-top: 1.5rem;
}

#landing-form form p {
    position: relative;
    font-size: 16px;
    margin: 1rem 0 2rem 1.5rem;
}

#landing-form form p::before {
    position: absolute;
    content: "*";
    left: -0.7rem;
}

#landing-form form button {
    outline: none;
    border: none;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    color: #fff;
    border-radius: 30px;
    background: #a81427;
    padding: 0.7rem 1.8rem;
    transition: .4s;
}

#landing-form form button:hover {
    background: #162132;
}