/* 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;
}

#banner:hover {
  cursor: pointer;
}

/* Specific to First Republic Bank Banners */
.greenoverlay {
  background-color: rgba(9, 46, 35, 0.9);
}

.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: 161px;
  height: 208px;
  top: 26px;
  right: 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: -3%;
}

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

#name {
  position: absolute;
  top: 200px;
  right: 17px;
  opacity: 0;
}

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

#txt2 {
  position: absolute;
  top: 44px;
  right: 20px;
}

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

#ctabox {
    position: absolute;
    top: 156px;
    width: 118px;
    height: 29px;
    background: #ab8421;
}

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

/*
#fdic {
  position: absolute;
  bottom: 4px;
  right: 4px;
  opacity: 0;
}
*/

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

/*
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 -183px;
  width: 92px;
  height: 12px;
}
.icon-logo {
  background-image: url(assets/txtsprite.png);
  background-position: -301px -166px;
  width: 140px;
  height: 16px;
}
.icon-name {
  background-image: url(assets/txtsprite.png);
  background-position: -301px -138px;
  width: 172px;
  height: 27px;
}
.icon-txt1 {
  background-image: url(assets/txtsprite.png);
  background-position: 0px 0px;
  width: 300px;
  height: 201px;
}
.icon-txt2 {
  background-image: url(assets/txtsprite.png);
  background-position: -301px 0px;
  width: 185px;
  height: 137px;
}
.icon-txt3 {
  background-image: url(assets/txtsprite.png);
  background-position: 0px -202px;
  width: 140px;
  height: 84px;
}

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .icon-ctatxt {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
  .icon-logo {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
  .icon-name {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
  .icon-txt1 {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
  .icon-txt2 {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
  .icon-txt3 {
    background-image: url(assets/txtsprite@2x.png);
    background-size: 486px 286px;
  }
}
