.floating-ad {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 300px;
        z-index: 9999;
        background: #fff;
}

/* Ad container (exact ad size box) */
.ad-inner {
    width: 300px;
    height: 250px;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    background: #fff;
    overflow: hidden;
    position: relative;
}

/* DO NOT force 100% height */
.ad-inner img,
.ad-inner iframe {
    width: 301px;
    height: 251px;
    display: block;
}

/* Close button */
.ad-close-btn {
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
    /*z-index: 10000;*/
    /*background-color: rgba(255,255,255,0.95);*/
    /*border-radius: 50%;*/
    /*box-shadow: 0 2px 6px rgba(0,0,0,0.2);*/
    
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);

    width: 28px;
    height: 28px;
    padding: 0;

    z-index: 10000;
    /*background: #EE4B2B;*/
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.35);
    opacity: 1;
}

/*.ad-close-btn-2 {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    z-index: 10000;*/
    
    /* Size */
/*    width: 18px;     */
/*    height: 18px;*/
/*    padding: 0;*/

    /* Square */
/*    border-radius: 0;*/
    
/*    background-color: rgb(255,255,255);*/
/*    background-color: #dc3545;*/
/*    box-shadow: 0 2px 6px rgba(0,0,0,0.2);*/
/*}*/


/*.ad-close-btn-2 {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    right: 0;*/
/*    z-index: 10000;*/

/*    width: 18px;*/
/*    height: 18px;*/
/*    padding: 0;*/

/*    background: #dc3545;*/
/*    color: #fff;*/
/*    border: none;*/
/*    border-radius: 0;*/

/*    font-size: 14px;*/
/*    line-height: 18px;*/
/*    text-align: center;*/
/*    cursor: pointer;*/
/*}*/

.ad-close-btn-2 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10000;

    width: 18px;
    height: 18px;
    padding: 0;

    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 0;

    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}


/*MOBILE*/

.floating-banner-320x50 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 320px;
    z-index: 9999;
    background: #fff;
}

.banner-container-320x50 {
    width: 320px;
    height: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    position: relative;
}

.banner-container-320x50 img,
.banner-container-320x50 iframe {
    width: 320px;
    height: 50px;
    display: block;
}

.banner-close-btn-320x50 {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10000;

    width: 20px;
    height: 20px;
    padding: 0;

    background: #EE4B2B;
    border: 1px solid #ccc;
    border-radius: 0;

    font-size: 18px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    color: #000;

    cursor: pointer;
}

@media (max-width: 767px) {
    .floating-banner-320x50 {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }
}

/* Mobile adjustment */
@media (max-width: 767px) {
    .floating-ad {
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
    }
}

.mobileShow {display: none;}

  /* Smartphone Portrait and Landscape */
  @media only screen
    and (min-device-width : 320px)
    and (max-device-width : 480px){ 
      .mobileShow {display: inline;}
  }
  .mobileHide { display: inline; }

  /* Smartphone Portrait and Landscape */
  @media only screen
    and (min-device-width : 320px)
    and (max-device-width : 480px){
     .mobileHide { display: none;}
  }
  
@media (min-width: 768px) {
    .floating-banner-320x50 {
        display: none;
    }
}
  