/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

/* Home Page Carousel */

header.carousel {
    height: 50%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 50px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}
@media (min-width: 768px) {
.ibox {
    position: relative;
    background: #fff;
    /* width: 480px; */
    width: 160px;
    padding: 0 0 0 15px;
    font-size: 14px;
    display: block;
    height: auto;
    float: left;
    margin-right: 20px;
    left: 80%;
    text-align: center;
} 

.box {
    display: inline-block;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    position: absolute;
    width: 1020px;
    z-index: 12;
    top: 170px;
}
    
#d8 {
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 11;
    height: 100%;
}
    
#d9 {
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 10;
    height: 100%;
}

.slider {
    height: 100%;
    overflow: hidden;
}

.ibox h3 {
    font-size: 20px;
}

}

.active {
    color: #a94045;
}

@media (max-width: 767px) {
.ibox {
    position: relative;
    background-image: none;
    background-color: #fff;
    /* width: 480px; 
    width: 100px; */
    padding: 0 15px 0 15px;
    display: block;
    height: auto;
    float: left;
    margin-right: 20px;
    left: 10px;
    text-align: center;
} 
    
    .box {
    margin-bottom: 0;
    margin-top: 0;
    position: absolute;
    top: 345px;
    z-index: 4;
    left: 7%;
}
    
.slider {
    padding-top: 80px;
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;

}
    
    .swiper-container {
    height: 375px !important;
}
    
header {
    height: 75% !important;
}
    
    
}

.ibox p { line-height: 8px; }