﻿.mySlides {
    display: none;
    position:relative;
}
.h-second {
    position: absolute;
    top: 50%;
    left:20%;
    color: white;
    font-weight:bold;
    letter-spacing:5px;
    animation-duration: 3s;
    animation-name: slidein;
    animation-iteration-count: 1;
}
.p-second {
    position: absolute;
    top: 20%;
    left: 50%;
    color: white;
    font-weight: bold;
    font-size: 30px;
    animation-duration: 3s;
    animation-name: slide;
    animation-iteration-count: 1;
}
@keyframes slide {
    from {
        margin-left: 100%;
        width: 300%;
    }

    to {
        margin-left: 0%;
        width: 100%;
    }
}
@keyframes slidein {
    from {
        margin-left: 100%;
        width: 300%;
    }

    to {
        margin-left: 0%;
        width: 100%;
    }
}
img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
}
.mySlides>.first {
    object-fit: contain;
    height: 500px;
}
.mySlides > .second {
    object-fit: cover;
    height: 500px;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration:none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

    /* On hover, add a black background color with a little bit see-through */
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

    .active, .dot:hover {
        background-color: #717171;
    }

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .prev, .next, .text {
        font-size: 11px
    }
}
form {
    padding: 30px 20px;
    border-radius: 8px;
}
#formforreal{
    background-color:#ccc;
}
#searchnow {
    background-color: #666;
    color: white;
}
select {
    border-radius: 5px;
    font-size: 14px;
    color: #212529;
    padding: 9px;
    width: 100%;
    border: 1px solid #ced4da;
}
@media (min-width:2000px) and (max-width:3000px) {
    .form-control {
        font-size: 30px;
    }
    select {
        border-radius: 5px;
        height: 59px;
        font-size: 30px;
    }
    .listing-item.compact .listing-badges {
        font-size: 25px;
    }
}

@media (min-width:768px) and (max-width:992px) {

    .first {
        padding: 0px;
    }
}

@media (min-width:576px) and (max-width:767px) {

    #form-banner {
        grid-row-gap: 5px;
    }
}

@media (max-width:575px) {

    #form-banner {
        grid-row-gap: 5px;
    }
}