/* image mask styles */
.img-thumbnail {
    padding: 4px !important;
    line-height: 1.42857143 !important;
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.img-boxed {
    padding: 10px;
    border: 1px solid #cccccc;
    -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    box-shadow: 0 3px 6px rgba(0, 0, 0, .25);
    background-color: rgba(235, 235, 235, .45);
}

/* banner image styles */
.img-banner {
    position: relative;
    display: block;
    margin-top: 3%;
}

.img-banner img {
    padding: 10px;
    border: 1px solid #cccccc;
    background-color: rgba(235, 235, 235, .45);
    margin-bottom: 37px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.img-banner .img-banner-image {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
    z-index: 3;
    max-width: 100%;
}

.img-banner .img-banner-text {
    padding: 10px;
    position: absolute;
    bottom: 11px;
    left: 11px;
    right: 11px;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(5, 2, 2, 0.5) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(0, 0, 0, 0.5)), color-stop(100%, rgba(5, 2, 2, 0.5)));
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(5, 2, 2, 0.5) 100%);
    background: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(5, 2, 2, 0.5) 100%);
    background: -ms-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(5, 2, 2, 0.5) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(5, 2, 2, 0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#80050202', GradientType=1);
    color: #ffffff;
}

.img-banner .img-banner-text h1,
.img-banner .img-banner-text h2,
.img-banner .img-banner-text h3,
.img-banner .img-banner-text h4,
.img-banner .img-banner-text h5,
.img-banner .img-banner-text h6 {
    color: #ffffff;
}

.img-banner .img-banner-image:after {
    content: '';
    background-image: url(../../images/cta_pages/image-bottom.png);
    width: 100%;
    height: 38px;
    position: absolute;
    bottom: -38px;
    left: 0;
    background-size: 90% 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.img-banner:before {
    content: '';
    width: 100%;
    height: 80%;
    margin-top: -3%;
    background-color: grey;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
}

.container .container-fluid > .row .img-banner:before {
    left: -15px;
    right: -15px;
    width: auto;
}

.box .img-banner:before {
    z-index: 1;
}

.box .img-banner {
    z-index: 1;
}

/* override styles */
@media (max-width: 767px) {
    .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
        float: left;
        max-width: 100%;
        width: 100%;
    }
}

/* button styles */
.activedemand-button-container {
    text-align:center;
}

.activedemand-button-container .activedemand-button p {
    margin:0;
}

/* carousel styles */
.carousel-linked-nav-wrapper {
    text-align:center;
}

.carousel-linked-nav.pagination li {
    display: none;
}

.carousel-linked-nav.pagination li.display, .carousel-linked-nav.pagination .page-end, .carousel-linked-nav.pagination .page-start {
    display: inline;
}

.carousel .carousel-inner .item {
    text-align:center;
}

.carousel .carousel-inner .item img {
    display:inline;
}

.carousel .carousel-inner {
    background-color: rgba(0,0,0,.1);
}

.social-media-link {
    margin: 2px;
}

/* utility classes */
.text-left-center-small img, .text-right-center-small img {
    display: inline;
}

.text-left-center-small {
    text-align: left;
}

.text-right-center-small {
    text-align: right;
}

@media (max-width: 767px) {
    .text-left-center-small {
        text-align: center;
    }

    .text-right-center-small {
        text-align: center;
    }
}

.bubble-right {
    display: inline-block;
    position: relative;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.bubble-right:before {
    pointer-events: none;
    position: absolute;
    z-index: -1;
    content: '';
    border-style: solid;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: right;
    transition-property: right;
    top: calc(50% - 40px);
    right: -30px;
    border-width: 40px 0 40px 30px;
    border-color: transparent transparent transparent #ffffff;
}

.fa-border {
    border-radius: 10em;
}
