/* Theme Name: Pet Containment Systems */
.toggle-bar .position {
    flex-grow: 1;
    max-width: 90%;
}

.main-nav .mobile-nav .mobile-list a,
.nav-toggler,
.nav-toggler span {
    font-size: 14px;
}

.nav-toggler {
    padding: 0 10px;
    height: 1.3em;
}

.additional-section {
    background-color: #fff;
    padding: 30px 0 0;
}

.additional-section .services {
    margin-top: 30px;
}

.additional-section .service {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.additional-section .service .image {
    flex: 1 1 50%;
    align-self: stretch;
    max-height: 500px;
}

.additional-section .service .image img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 100%;
}

.additional-section .service .content-col {
    flex: 1 1 50%;
    padding: 40px;
}

.additional-section ul {
    list-style-position: inside;
}

.additional-section h2 {
    margin: 30px 0;
}

.additional-section .service:nth-child(even) .image {
    order: 3;
    background-color: #eee;
}

.additional-section .service:nth-child(even) {
    background-color: #eee;
}

.c2a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f12217;
    color: #fff;
}

.c2a a {
    color: #fff;
}

.c2aitems {
    margin: 0 50px;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.top-motto {
    text-align: center;
    background: #f12217;
    color: #fff;
    padding: 1px;
    font-weight: bold;
}

.top-motto p {
    font-size: 2em;
    line-height: 1.4em;
}

.ourservice {
    width: 100%;
    margin-top: 20px;
}

#underground-fence-installation {
    align-items: unset;
}

/* = BANNER = */
.carousel-control {
    z-index: 9;
}

.carousel-inner {
    border: none;
    box-shadow: none;
}

.carousel-inner img,
.banner-inner img {
    width: 100%;
}

.carousel.fade {
    opacity: 1;
}

.carousel.fade .item {
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    left: 0 !important;
    opacity: 0;
    top: 0;
    position: absolute;
    width: 100%;
    display: block !important;
    z-index: 1;
}

.carousel.fade .item:first-child {
    top: auto;
    position: relative;
}

.carousel.fade .item.active {
    opacity: 1;
    -moz-transition: opacity ease-in-out .7s;
    -o-transition: opacity ease-in-out .7s;
    -webkit-transition: opacity ease-in-out .7s;
    transition: opacity ease-in-out .7s;
    z-index: 2;
}

.clearfix {
    clear: both;
}

#carousel-slider2 {
    position: absolute;
    top: 20%;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 0;
}

#carousel-slider2 .carousel-inner,
#carousel-slider2 .item {
    height: 100%;
}

#carousel-slider2 img {
    position: static;
    transform: none !important;
}

#carousel-slider2 .carousel-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner .banner-content {
    z-index: 3 !important;
}

.gallery-section-inner {
    padding: 30px;
}

.gallery-img img:hover {
    border: 2px solid #f12217;
}

.gallery-img img {
    width: 100%;
    object-fit: cover;
    border: 2px solid #fff;
    height: calc(25vw - 100px);
    transition: transform ease .7s;
}

.gallery-img {
    padding: 0;
    margin-bottom: 30px;
}

.service-container:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
}

#blurb {
    text-align: center;
}

#blurb em {
    font-size: 1.2em;
}

#learnmore {
    text-align: center;
    padding: 30px;
}

#learnmore h2 {
    display: block;
}

#learnlower {
    display: flex;
    text-align: left;
    max-width: 930px;
    margin: 30px auto;
}

#lowercon {
    padding-left: 30px;
}

#top-wrapper.sticky {
    position: fixed;
    width: 100%;
    height: auto;
    background: #fff;
    z-index: 9999;
    top: 0;
}

#top-wrapper.sticky #header {
    box-shadow: 0px 7px 21px -13px #111;
}

#red-sec {
    background: #f12217;
    color: #fff;
    text-align: center;
    padding: 30px;
}

.contactinfo {
    display: flex;
    justify-content: center;
    color: #fff;
    background: #f12217;
    margin-bottom: 30px;
}

#foot-left {
    margin: 30px;
}

#foot-left .btn {
    border: 1px solid #fff;
}

#foot-right {
    text-align: left;
    margin: 30px;
}

#foot-right a {
    color: #fff;
}

#foot-right a:hover {
    font-size: 12px;
    color: #000;
}

#text-feature ul {
    list-style-position: inside;
}

.subh {
    display: block;
    font-size: 30px;
    font-style: italic;
}

#header {
    position: static;
}

.toggle-content {
    display: none;
}

.toggle-item {
    border: 2px solid #333;
    margin-bottom: 5px;
}

.toggle-item .toggle-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 30px;
    cursor: pointer;
}

.toggle-item .toggle-heading .heading {
    font-size: 28px;
}

.toggle-item .icon {
    transition: transform ease-in-out .4s;
}

.toggle-item .toggle-content {
    display: none;
    border-top: 1px solid #333;
    padding: 5px 15px;
}

.toggle-item.active .toggle-content {
    display: block;
}

.toggle-item .toggle-content p {
    margin: 10px 0;
}

.toggle-item .icon.active {
    transform: rotate(90deg);
}

@media screen and (max-width: 991px) {
    .gallery-img img {
        height: calc(50vw - 100px);
    }

    .logo-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .additional-section .service {
        display: block;
    }

    .additional-section .service .content-col {
        padding: 20px;
    }

    .additional-section .service .image img {
        height: 50vw;
    }

    #learnmore img {
        height: unset;
    }
}

@media screen and (max-width: 767px) {
    .contactinfo {
        display: block;
    }

    #foot-right {
        padding-bottom: 20px;
        text-align: center;
    }

    #foot-left {
        padding-top: 20px
    }

    #top-wrapper.sticky {
        position: relative;
    }

    .logo-container {
        display: block;
        justify-content: center;
        align-items: center;
        padding-top: 15px;
    }

    #learnlower {
        display: block;
    }

    #learnmore img {
        margin: 0 auto;
    }
}
