#homeBanner{
    position:relative;
}
 
.hero-home {
    background-image: url(http://adeelsadiq.com/projects/dfh/images/banner.png);
    background-size: cover;
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    
    max-width: 100%;
    position: relative;
    overflow: hidden;
    height: 45vw;
    }
    
.slideshow-nav {
    
}    
.slideshow-nav a.nav-left, 
.slideshow-nav a.nav-right {
    width: 70px;
    height: 140px;
    top: 50%;
    margin-top: -70px;
    background: rgba(33,45,35,0.8);
    cursor: pointer;
    display: block;
    position: absolute;
    padding: 58px 16px;
    
    -webkit-transition: all linear .1s;
    -o-transition: all linear .1s;
    transition: all linear .1s;
    z-index: 1;
    
}
.slideshow-nav a.nav-left img, 
.slideshow-nav a.nav-right img{
        width: 30px;
}
.slideshow-nav a.nav-left {
    -webkit-animation: navLeftSlideOut .5s linear;
    animation: navLeftSlideOut .5s linear;
    left: 0px;
    border-top-right-radius: 900px;
    border-bottom-right-radius: 900px;
}
.slideshow-nav a.nav-left:before {
    background-position: 0 0;
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
    width: 19px;
    height: 35px;
    background: url(../images/close-x.svg) no-repeat center left;
    left: 50%;
    margin-left: -17px;
}
.slideshow-nav a.nav-left:hover {
        left: 0;
}

    
.slideshow-nav a.nav-right {
    -webkit-animation: navRightSlideOut .5s linear;
    animation: navRightSlideOut .5s linear;
    right: 0px;
    border-top-left-radius: 900px;
    border-bottom-left-radius: 900px;
}
.slideshow-nav a.nav-right:before {
    background-position: -69px 0;
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
    width: 19px;
    height: 35px;
    background: url(../images/close-x.svg) no-repeat center right;
    right: 50%;
    margin-right: -17px;
}
.slideshow-nav a.nav-right:hover {
    right: 0;
}

.slideshow-nav a.nav-left:hover,
.slideshow-nav a.nav-right:hover {
    opacity: .5;
}
    
    
.button {
    color: white;
    font-weight: bold;
    font-size: 16px;
    background-color: rgba(33,45,35,0.7);
    display: block;
    padding: 0px 0px;
    border-radius: 100%;
    cursor: pointer;
    animation: fadein .5s;
    animation: pulse 1.5s infinite;
    height: 32px;
    width: 32px;
    border: 1px solid #EF462C;
    text-align: center;
}
.button img{
    width: 14px;
}
.button:hover {
    color: #fff;
    background: #EF462C;
}

.content {
    background: white;
    padding: 1rem 1rem 2rem 1rem;
    text-align: center;
    display: none;
    margin: 10%;
    border-radius: 8px;
    box-shadow: 0 4px 2px -2px rgba(211, 47, 47, 0);
}

.cross {
    font-weight: bold;
}

#b1 {
    position: absolute;
    left: 66%;
    top: 24%;
}

#b2 {
    position: absolute;
    left: 28%;
    top: 71%;;
}

#b3 {
    position: absolute;
    left: 67%;
    top: 50%;
}

#input1:checked ~ #content1,
#input2:checked ~ #content2,
#input3:checked ~ #content3 {
    display: block !important;
    animation: fadein .5s;
}

input:checked ~ label .button {
    display: none !important;
    animation: fadeout .5s;
}


.cta {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 12px 24px;
    margin-top: 48px;
    border-radius: 24px;
    text-decoration: none;
    transition: all .3s ease;
}

.cta:hover {
    text-decoration: underline !important;
    box-shadow: 0 0 0 6px rgba(211, 46, 46, 0.4);
}


/* HOME PAGE HOTSPOT DESIGN */
.hotspot-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9;
    height: 100%;
    width: 100%;
}
.each-hotspot {
    position: absolute;
    cursor: pointer;
    width: 142px;
    text-align: center;
    margin: -16px 0 0 -71px;
    top: 50%;
    left: 50%;
    }
.each-hotspot a{
    display: block;
    height: 32px;
    width: 32px;
    border-radius: 100%;
    background: rgba(33,45,35,0.7);
    border: 1px solid #EF462C;
    margin: 0 auto;
    z-index: 11;
    cursor: pointer;
    position: relative;
    -webkit-animation: size 1s infinite;
    -moz-animation: size 1s infinite;
    -o-animation: size 1s infinite;
    -ms-animation: size 1s infinite;
    animation: size 1s infinite;
    animation: pulse 1.5s infinite;
}
.each-hotspot a img {
    width: 14px;
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99999;
    display: block;
    margin: -7px 0 0 -7px;
}
.each-hotspot a:hover{
    background: #EF462C;
}

.each-hotspot span{
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    text-align: center;
    background: rgba(33,45,35,0.7);
    display: block;
    border-radius: 13px;
    padding: 2px 6px;
    margin: 24px 0 0;
    font-weight: bold;
    letter-spacing: 1px;
}




.tooltip-css {
    bottom: 20px;
    right: 44px;
    width: 32px;
    height: 32px;
    color: red;
    background: rgba(33,45,35,0.7);
    padding: 7px;
    border-radius: 100%;
    line-height: 15px;
    position: absolute;
    z-index: 11;
}
.tooltip-css img{
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    transition: none !important;
    animation-name: none !important;
    transform: scale(1) !important;
}
.tooltip-css .tooltiptext {
    visibility: hidden;
    width: auto;
    min-width: 120px;
    background: rgba(33,45,35,0.7);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 11px;
    line-height: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    position: absolute;
    z-index: 1;
    top: -37px;
    left: -180%;
}
.tooltip-css .tooltiptext span{
  display:block;
}

.tooltip-css:hover .tooltiptext {
  visibility: visible;
}


@media only screen and (max-width: 1260px) {
    .tooltip-css {
        bottom: 20px;
        right: 20px;
    }
}

@media only screen and (max-width: 1200px) {
    .banner-content .banner-advertisement .advertisement .ad-img img {
        max-width: 100%;
        max-height: 129px;
    } 
    .tooltip-css {
        bottom: 144px;
    }
}

@media only screen and (max-width: 1024px) {
    .hero-home {
         height: 75vw;
    }
    .slideshow-nav{
        display:none;
    }
}



@media only screen and (max-width: 992px) {
    .hero-home {
        height: 78vw;
    }
}

@media only screen and (max-width: 920px) {
    .hero-home {
        height: 90vw;
    }
    .tooltip-css {
        bottom: 236px;
    }
    
}

@media only screen and (max-width: 767px) {

    .hero-home{
        height: 87vw;
        top:90px;
    }
    .each-hotspot{
        top: 40%;
    }
    .tooltip-css {
        bottom: 178px;
    }
}

@media only screen and (max-width: 740px){
    .hero-home {
        height: 102vw;
    }
}
@media only screen and (max-width: 725px){
    .hero-home {
        height: 104vw;
    }
}

@media only screen and (max-width: 660px){
    .hero-home {
        height: 95vw;
    }
    .each-hotspot{
        top: 116px;
    }
}
@media only screen and (max-width: 640px){
    .hero-home {
        height: 110vw;
    }
    .each-hotspot {
        top: 186px;
    }
}
@media only screen and (max-width: 580px){
    .hero-home {
        height: 119vw;
    }
}
@media only screen and (max-width: 500px){
    .hero-home {
        height: 113vw;
    }
    .tooltip-css {
        bottom: 216px;
    }
}

@media only screen and (max-width: 480px){
    .hero-home {
        height: 113vw;
    }
}
@media only screen and (max-width: 460px){
    .hero-home {
        height: 118vw;
    }
}
@media only screen and (max-width: 430px){
    .hero-home {
        height: 129vw;
    }
    .banner-content {
        top: 280px;
    }
    
}

@media only screen and (max-width: 420px){
    .hero-home {
        height: 137vw;
    }
}

@media only screen and (max-width: 414px){
    .hero-home {
        height: 134vw;
    }
    .each-hotspot {
        top: 130px;
    }
    .banner-content .banner-advertisement .advertisement .about-ad {
        padding-left: 15px;
    }
}

@media only screen and (max-width: 400px){
    .hero-home {
        height: 143vw;
    }
 
}

@media only screen and (max-width: 380px){
    .hero-home {
        height: 135vw;
    }
    .banner-content {
     top: 240px;
    }
}


@media only screen and (max-width: 375px){
    .hero-home {
        height: 149vw;
    }
   .each-hotspot {
        top: 116px;
    }
    .tooltip-css {
        bottom: 249px;
    }
}


@media only screen and (max-width: 360px){
    /*#mainImage_1221 .each-hotspot:nth-child(2) {
        right: 31%;
        top: 30%;
    }
    */
}



@media only screen and (max-width: 320px){
    .hero-home {
        height: 161vw;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeout {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    from {
        box-shadow: 0 0 0 0px rgba(211, 47, 47);
    }
    to {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
}


.bottom-position1 {
    bottom: 60px;
}
.bottom-position2 {
    bottom: 115px;
}
.bottom-position3 {
    bottom: 325px;
    right: 74px;
}
@media only screen and (min-width:360px) and (max-width:768px){
    .bottom-position1 {
        bottom: 60px;
    right: 40px;
}
    .bottom-position2 {
        bottom: 55px;
    right: 35px;
    }
   
    .bottom-position3{
        right: 70px;
    bottom: 165px;
        }
}
@media only screen and (max-width:360px){
   
    .bottom-position1 {
        right: 30px;
        bottom: 40px;
}
    .bottom-position2 {
        bottom: 40px;
         right: 30px;
    }
   
    .bottom-position3{
        right: 70px;
    bottom: 265px;
        }
}