/* common styles */
img {
  border: none;
  margin: 0;
}

.center {
  display: block;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.vcenter {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

body {
  background: #fff;
  margin: 0;
  padding: 0;
  color: #fff;
}

#banner {
  position: absolute;
  background: #063c2b;
  border: #092e23 1px solid;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;         /* Opera/IE 8+ */
  overflow: hidden;
  opacity: 0;                     /* start with a zero opacity for loading */
}

#banner:hover {
  cursor: pointer;
}

/* end common styles */


/* Specific to First Republic Bank Banners */
.greenoverlay {
  background-color: rgba(6, 60, 43, 0.9);
}

.mobileendoverlay {
  background-color: rgba(6, 60, 43, 0.85);
}

.greensolid {
  background-color: rgba(6, 60, 43, 1);
}

.blackoverlay {
  background-color: rgba(0, 0, 0, 0.5);
}

/* end common styles */

#banner {
  width: 300px;
  height: 250px;
  opacity: 0;
/*  background: url('assets/background.jpg') no-repeat 0 0; */
}

#box2 {
  position: absolute;
  width: 300px;
  height: 117px;
  bottom: 0px;
}

#box1 {
  position: absolute;
  width: 300px;
  height: 14px;
  bottom: 0px;
  opacity: 0;
}

#box0 {
/*  position: absolute; */
  width:300px;
  height:224px;
  opacity: 0;
}

#logo {
  position: absolute;
  top: 3px;
  left: 28px;
}

#hero {
  position: absolute;
  /*background: url('assets/hero.jpg') no-repeat 0 0;*/
  width: 300px;
  height: 250px;
  top: 0;
  left:0;
}

#name {
  position: absolute;
  bottom: 21px;
  left:-2px;
  opacity: 0;
}

#txt1 {
  position: absolute;
  top: 35px;
}

#txt2 {
  position: absolute;
  top: 83px;
  left: 28px;
}

#txt2b {
  position: absolute;
  top: 80px;
  left: 48px;
  opacity: 0;
}

#txt3 {
  position: absolute;
  top: 12px;
  opacity: 0;
  left:-2px;
}

#ctabox {
    position: absolute;
    bottom: 12px;
    width: 128px;
    height: 32px;
    background: #ab8421;
}

#ctatxt {
  position: absolute;
  top:27%;
  /* left: 2%; */
}

#fdic {
  position: absolute;
  right: 6px;
  top: 36px;
  opacity: 0;
}

#dim {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 26px;
}

#topbox {
  position: absolute;
  width: 100%;
  height: 31px;
  top: 0px;
  opacity: 0;
}

/*
Icon classes can be used entirely standalone. They are named after their original file names.

Example usage in HTML:

`display: block` sprite:
<div class="icon-home"></div>

To change `display` (e.g. `display: inline-block;`), we suggest using a common CSS class:

// CSS
.icon {
  display: inline-block;
}

// HTML
<i class="icon icon-home"></i>
*/
.icon-ctatxt {
  background-image: url(assets/txtsprite.png);
  background-position: -301px -51px;
  width: 102px;
  height: 13px;
}
.icon-fdic {
  background-image: url(assets/txtsprite.png);
  background-position: -301px -65px;
  width: 36px;
  height: 17px;
}
.icon-logo {
  background-image: url(assets/txtsprite.png);
  background-position: -225px -273px;
  width: 233px;
  height: 20px;
}
.icon-name {
  background-image: url(assets/txtsprite.png);
  background-position: -225px -294px;
  width: 217px;
  height: 12px;
}
.icon-txt1 {
  background-image: url(assets/txtsprite.png);
  background-position: 0px 0px;
  width: 300px;
  height: 188px;
}
.icon-txt2 {
  background-image: url(assets/txtsprite.png);
  background-position: 0px -273px;
  width: 224px;
  height: 43px;
}
.icon-txt2b {
  background-image: url(assets/txtsprite.png);
  background-position: 0px -189px;
  width: 217px;
  height: 83px;
}
.icon-txt3 {
  background-image: url(assets/txtsprite.png);
  background-position: -301px 0px;
  width: 211px;
  height: 50px;
}

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .icon-ctatxt {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-fdic {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-logo {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-name {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-txt1 {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-txt2 {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-txt2b {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
  .icon-txt3 {
    background-image: url(assets/txtsprite2x.png);
    background-size: 512px 316px;
  }
}
