﻿/*========================================================================================================================================================*/
/*ALL SCREEN RESOLUTIONS (DEFAULT LAYOUT)*/
/*========================================================================================================================================================*/
.promoimage {
    width: 100%;
    padding: 10px;
}

.repairsection1 {
    width: 100%;
}

.repairsection1container {
    display: flex;
    flex-direction: row;
    margin-bottom: 40px;
}


.repairsection1containerleft {
    border: solid;
    border-radius: 20px;
    border-width: 1px;
    padding: 20px;
    font-size: 12px;
    box-shadow: 5px 10px 18px #888888;
    margin: 10px;
    position: relative;
    top: 15px;
    left: 20px;
    animation: repairsection1containerleft;
    animation-duration: 2s;
    background-color:white;
}

@keyframes repairsection1containerleft {
    from {
        top: -1000px;
    }

    ; to {
        top: 15px;
    }
}

.repairsection1containerleft h1 {
    font-size: 25px;
    font-weight: bold;
    color: #fc4444;
}

.repairsection1containerleft div {
    display: flex;
    justify-content: end;
}

.repairsection1containerright {
    margin: 10px;
    position: relative;
    top: 15px;
    left: 30px;
    animation: repairsection1containerright;
    animation-duration: 4s;
    border-radius: 20px;
    box-shadow: 5px 10px 18px #888888;
}

@keyframes repairsection1containerright {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


#repairsection1carousel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 580px;
    height: 470px;
    border-radius: 20px;
    overflow: hidden;
}

    /*=========================================================================================================================*/
    /*==========override bootstrap css==========*/
    #repairsection1carousel .carousel-inner {
        height: 100%;
    }

.carousel-caption {
    position: absolute;
    bottom: 150px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.carousel-item:hover .carousel-caption {
    opacity: 1;
}

/*========================================================================================================================================================*/
/*TABLET AND PORTRAIT*/
/*========================================================================================================================================================*/

@media only screen and (max-width: 800px) {
    .repairsection1container {
        flex-direction: column;
    }

    .repairsection1containerleft {
        padding: 20px;
        top: 0;
        left: 30px;
        width: 90vw;
    }

    .repairsection1containerright {
        width: 90vw;
    }

    #repairsection1carousel {
        width: 100%;
        height: unset;
    }

        #repairsection1carousel .carousel-inner {
            height: 400px;
            display: flex;
            align-items: center;
        }

    .carousel-caption {
        bottom: 10px;
        opacity: 1;
    }

        .carousel-caption h5 {
            font-size: 14px;
        }
}

/*PHONE AND PORTRAIT=====================================================================================================================================*/
@media only screen and (max-width: 480px) {

    .repairsection1containerleft {
        width:95%;
        margin: 10px;
        left: 0px;
        border:solid;
    }

    .repairsection1containerright {
        width: 95%;
        left: 0px;
    }


        #repairsection1carousel .carousel-inner {
            width: 360px;
            height: 220px;
        }
}
