@media (max-device-width: 768px) { 
    
    .carousel {
        height: 140px;
        margin-bottom: 60px;
    }

    .carousel-caption {
        z-index: 10;
        /*border: 2px solid rgba(48, 143, 191, 1);*/
        /*border: 2px solid white;*/
        bottom: 1px;
        padding: 1px;
        right: 10%;
        left: 10%;
    }
    
    .carousel .item {
        height: 140px;
        background-color: #777;
    }

    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 140px;
    }
    
    .carousel-caption h1 {
        margin-bottom: 5px;
        font-size: 18px;
        line-height: 1.0;
    }
    
    .carousel-caption p {
        margin-bottom: 5px;
        font-size: 10px;
        line-height: 1.0;
    }
    
    .btn-custom {
        background: transparent; 
        border-color: rgba(48, 143, 191, 1);
        color: white; 
        font-size: 10px; 
        font-weight: bold;
        border-radius: 0px; 
        border-width: 3px;
        margin-bottom: 5px;
    }
    
}

@media (min-device-width: 800px) and (max-device-width: 1199px) {
    
    .carousel {
        height: 333px;
        margin-bottom: 60px;
    }

    .carousel-caption {
        z-index: 10;
        /*border: 2px solid rgba(48, 143, 191, 1);*/
        /*border: 2px solid white;*/
        bottom: 1px;
        padding: 1px;
        right: 20%;
        left: 20%;
    }
    
    .carousel .item {
        height: 333px;
        background-color: #777;
    }

    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 333px;
    }
    
    .carousel-caption p {
        margin-bottom: 5px;
        font-size: 14px;
        line-height: 1.0;
    }
    
    .btn-custom {
        background: transparent; 
        border-color: rgba(48, 143, 191, 1);
        color: white; 
        font-size: 20px; 
        font-weight: bold;
        border-radius: 0px; 
        border-width: 4px;
        margin-bottom: 15px;
    }
    
}

@media (min-device-width: 1200px) and (max-device-width: 1899px) {
    
    .carousel {
        height: 500px;
        margin-bottom: 60px;
    }

    .carousel-caption {
        z-index: 10;
        /*border: 2px solid rgba(48, 143, 191, 1);*/
        /*border: 2px solid white;*/
        bottom: 1px;
        padding: 1px;
        right: 30%;
        left: 30%;
    }
    
    .carousel .item {
        height: 500px;
        background-color: #777;
    }

    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 500px;
    }
    
    .carousel-caption p {
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 1.0;
    }
    
    .btn-custom {
        background: transparent; 
        border-color: rgba(48, 143, 191, 1);
        color: white; 
        font-size: 30px; 
        font-weight: bold;
        border-radius: 0px; 
        border-width: 5px;
        margin-bottom: 20px;
    }
    
}

@media (min-width: 1900px) {
    
    .carousel {
        height: 767px;
        margin-bottom: 60px;
    }

    .carousel-caption {
        z-index: 10;
        /*border: 2px solid rgba(48, 143, 191, 1);*/
        /*border: 2px solid white;*/
        bottom: 1px;
        padding: 1px;
        right: 25%;
        left: 25%;
    }
    
    .carousel .item {
        height: 767px;
        background-color: #777;
    }

    .carousel-inner > .item > img {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        height: 767px;
    }
    
    .carousel-caption p {
        margin-bottom: 5px;
        font-size: 30px;
        line-height: 1.0;
    }
    
    .btn-custom {
        background: transparent; 
        border-color: rgba(48, 143, 191, 1);
        color: white; 
        font-size: 50px; 
        font-weight: bold;
        border-radius: 0px; 
        border-width: 7px;
        margin-bottom: 30px;
    }
    
}

.btn-custom:hover {
    background: rgba(235, 235, 235, 1); 
    border-color: rgba(173, 173, 173, 1); 
    color: rgba(51, 51, 51, 1);
}

.btn-custom:active, .btn-custom:focus {
    background: rgba(235, 235, 235, 1); 
    border-color: rgba(173, 173, 173, 1); 
    color: rgba(51, 51, 51, 1);
}