body {
    margin-top: 20px;
}

a {
    color: #000;
}

a:hover {
    color: #000;
}


/* The flip box container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-box {
    background-color: transparent;
    width: 100%;
    height: 250px;
    border: none;
    perspective: 1000px;
    margin-top: -100px;
    /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
    transform: rotateX(180deg);
}

/* Position the front and back side */
.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}

/* Style the front side */
.flip-box-front {
    background-color: #000;
    color: white;
    padding: 50px;
}

/* Style the back side */
.flip-box-back {
    background-color: #000;
    color: white;
    transform: rotateX(180deg);
    padding: 50px;
}

.flip-box i {
    font-size: 40px;
    margin-bottom: 10px;
    color: white;
}

.flip-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 30px;
    color: white;
}

.flipback1 {
    background-image: url(../images/CES10010.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000;
}

.flipback2 {
    background-image: url(../images/CES9999.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000;
}

.flipback3 {
    background-image: url(../images/croft-filters-y-strainer.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #000;
}

.flip-box a {
    color: #fff;
}

.flip-box p {
    color: #fff;
}

.map-container {
    padding: 0;
    margin: 0;
}

#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
}

.btn-totop {
    background-color: #000;
    color: white;
    border-color: #000;
}

.btn-totop:hover {
    background-color: rgb(53, 53, 53) !important;
    color: #fff !important;
}

.contacts {
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.contacts i {
    margin-right: 10px;
}

.contacts li {
    margin-bottom: 10px;
}

.contacts a {
    color: #000;
    text-decoration: none;
}

.contacts a:hover {
    color: #000;
    text-decoration: underline;
}

.contact-info {
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px !important;
    font-weight: 700;
}

.contact-info i {
    margin-right: 10px;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    color: #000;
    text-decoration: underline;
}


h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
}

.slogan {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.navbar {
    margin-top: 20px;
    text-align: center;
    background-color: #000;
    color: white;
    justify-content: center;
    padding: 0;
}

.navbar a {
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 150px;
}

.navbar li:hover {
    background-color: white;
    color: #000;
}

.navbar-toggler {
    border-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-item img {
    object-fit: cover;
}

.carousel i {
    padding-right: 10px;
    font-size: 16px;
}

.carousel .btn {
    background-color: black;
    padding: 10px 15px;
    border-color: #000;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-right: 20px;
}

.carousel h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-top: -250px;
}

.carousel .btn:hover {
    background-color: white;
    color: #000;
    border-color: white;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.services {
    background-color: rgb(247, 247, 247);
    padding: 0;
}

.service-box {
    background-color: #000;
    padding: 50px;
    color: #fff;
}

.service-box h2 {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6em;
}

.service-box i {
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer {
    background-color: #000;
}

.footer li {
    color: white;
}

.footer a {
    color: white;
}

.footer-list {
    line-height: 1.8em;
    list-style-type: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.footer-list a {
    text-decoration: none;
}

.footer-list a:hover {
    text-decoration: underline;
}

.footer-list li {
    margin-bottom: 10px;
    margin-left: -30px;
}

.footer-list i {
    padding-right: 10px;
    font-size: 16px;
}

.footer h2 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
}

.footer li {
    margin-left: -30px;
}

.border-bottom {
    border-color: white;
    border-width: 5px;
}

hr {
    border-color: #fff;
}

.footer p {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.footer a:hover {
    color: #fff;
}

.service-container {
    background-color: #000;
}

.service-container h2 {
    color: #fff;
}

.service-container h2 {
    font-size: 26px;
}

.service-container p {
    font-weight: 400;
    color: #fff;
}

.service-container hr {
    color: #fff;
    border-width: 2px;
    opacity: 1;
}

.service-container a {
    color: #fff;
}

.my-modal .img-thumbnail {
    height: 220px;
}

.my-modal img:hover {
    cursor: pointer;
}

.img-thumbnail {
    border: none;
}

.my-modal1 .img-thumbnail {
    height: 150px;
}

.my-modal1 img:hover {
    cursor: pointer;
}

.vid {
    margin-bottom: 30px;
}

p {
    color: #000;
}


@media (max-width: 450px) {

    .contacts {
        margin-top: 20px;
        text-align: center;
        padding-right: 20px;
    }

    .service-box {
        margin-bottom: 20px;
    }

    h2 {
        font-size: 24px;
    }

    .flip-box {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer h2 {
        margin-top: 20px;
    }





}

@media (max-width: 768px) {

    .flip-box {
        margin-top: 20px;
    }

    .service-box {
        margin-top: 20px;
    }


}

@media (max-width: 1024px) {

    .flip-box {
        height: 400px;
    }

    .flip-box p {
        font-size: 12px;
    }


}