/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .section_three {
        width: 100%;
        /* padding-left: 13px; */
        /* padding-right: 13px; */
        padding-bottom: 13px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .section_three {
        width: 100%;
        /* padding-left: 13px;
            padding-right: 13px;
            padding-bottom: 13px; */
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .section_three {
        width: 100%;
        /* padding-left: 25px;
        padding-right: 25px; */
        padding-bottom: 25px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .section_three {
        width: 100%;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .section_three {
        width: 100%;
    }
}

/* -------------------Slider--------------------------------------------- */

.item {
    position: relative;
    text-align: center;
    color: white;
}

/*.centered {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*}*/

/* .buttonstyle { */
/* display: flex;
        margin-top: 30px;
        margin-bottom: 10px;
        height: 30px;
        width: 7rem;
        justify-content: center;
        align-items: center; */
/* border-radius: 30px; */
/* border: 1px solid #014260; */
/* background-color: #014260; */
/* background-color: white; */
/* background-color: ; */

/* } */

/* .buttonstyle:hover {
        background-color: white;
        border: 1px solid #014260;
    } */

.btn-main {
    background: #28ABE3;
    border: 1px solid #28ABE3;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 12px 40px;
    text-transform: uppercase;
    border-radius: 40px;
}

/*  */

/* .slider-item {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.slider-item::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
}

.slider-item .bannerscss {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 15%;
    margin-right: 15%;

} */

/* --------------------------------------------- */

.text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.buttonstyle {
    float: right;
    margin-top: 15px;
}

.text-box h2,
.text-box p,
.text-box a.buttonstyle {
    margin-left: 15%;
    margin-right: 15%;
}

/* --------------------------------------------- */

.text-box h2 {
    color: #fff;
    font-size: 45px;
    line-height: 60px;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 50px;
}

.text-box p {
    color: #fff;
    margin-bottom: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {

    .text-box h2 {
        font-size: 35px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 15px;
        line-height: 15px;
    }

    .btn-main {
        width: 110px;
        font-size: 12px;
        padding: 9px 10px;
    }

}

/* @media (max-width: 991px) {

    .text-box {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .text-box h1,
    .text-box p,
    .text-box a.buttonstyle {
        margin-right: -40vh;
        margin-top: -10px;
    }

} */

@media only screen and (min-width: 870px) and (max-width: 991px) {

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    /* .text-box h1,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -15rem;
        margin-right: -15rem;
    } */

    .text-box h2 {
        font-size: 30px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 12px;
        line-height: 12px;
    }

    .btn-main {
        width: 80px;
        font-size: 9px;
        padding: 8px 9px;
    }
}

@media only screen and (min-width: 771px) and (max-width: 869px) {

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 25px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 12px;
        line-height: 12px;
    }

    .btn-main {
        width: 80px;
        font-size: 9px;
        padding: 8px 9px;
    }
}

@media only screen and (min-width: 727px) and (max-width: 770px) {

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 25px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 12px;
        line-height: 12px;
    }

    .btn-main {
        width: 80px;
        font-size: 9px;
        padding: 8px 9px;
    }
}

@media only screen and (min-width: 650px) and (max-width: 726px) {

    .text-box {
        margin-top: -15px;
    }

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 24px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 12px;
        line-height: 10px;
    }

    .btn-main {
        width: 60px;
        font-size: 5px;
        padding: 5px 7px;
    }

    .buttonstyle {
        margin-top: -10px;
    }
}

@media only screen and (min-width: 601px) and (max-width: 649px) {

    .text-box {
        margin-top: -15px;
    }

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 24px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 12px;
        line-height: 10px;
    }

    .btn-main {
        width: 60px;
        font-size: 5px;
        padding: 5px 7px;
    }

    .buttonstyle {
        margin-top: -10px;
    }
}

@media only screen and (min-width: 516px) and (max-width: 600px) {
    .text-box {
        margin-top: -15px;
    }

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 19px;
        line-height: 45px;
    }

    .text-box p {
        font-size: 10px;
        line-height: 5px;
    }

    .btn-main {
        width: 50px;
        font-size: 5px;
        padding: 4px 5px;
    }

    .buttonstyle {
        margin-top: -10px;
    }
}


@media only screen and (min-width: 481px) and (max-width: 515px) {
    .text-box {
        margin-top: -15px;
    }

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -30%;
        margin-right: -30%;
    }

    .text-box h2 {
        font-size: 15px;
        line-height: 30px;
    }

    .text-box p {
        font-size: 9px;
        line-height: 5px;
    }

    .btn-main {
        width: 50px;
        font-size: 5px;
        padding: 4px 5px;
    }

    .buttonstyle {
        margin-top: -10px;
    }
}

@media (max-width: 480px) {
    /*.text-box {*/
    /*    margin-top: -15px;*/
    /*}*/

    .text-box h2,
    .text-box p,
    .text-box a.buttonstyle {
        margin-left: -145px;
        margin-right: -145px;
    }

    .text-box h2 {
        font-size: 11px;
        line-height: 5px;
    }

    .text-box p {
        /*font-size: 6pt;*/
        /*line-height: 1pt;*/
         font-size: 7px;
        line-height: 1px;
    }

    .btn-main {
        width: 50px;
        font-size: 5px;
        padding: 4px 5px;
    }

    .buttonstyle {
        margin-top: -10px;
    }
}

/* ----------------- Home Page Image Hover Effect------------------- */

.shrink a img {
    /*transition: 0.5s ease;*/
    transition: all 1000ms;
}
.shrink a img:hover {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    /*transition: 0.5s ease;*/
     transition: all 1000ms;
}

/*.shrink:hover a img {*/
/*    transform: scale(1.1);*/
/*    filter: brightness(.7);*/
/*}*/
