@font-face {
    font-family: ebookBold;
    src: url(../fonts/TTF/BebasNeueBold.ttf)
}

@font-face {
    font-family: ebookBook;
    src: url(../fonts/TTF/BebasNeueBook.ttf)
}

@font-face {
    font-family: ebookLight;
    src: url(../fonts/TTF/BebasNeueLight.ttf), url(../fonts/EOT/BebasNeueRegular.eot)
}

@font-face {
    font-family: ebookRegular;
    src: url(../fonts/TTF/BebasNeueRegular.ttf), url(../fonts/EOT/BebasNeueRegular.eot) 
}

@font-face {
    font-family: ebookThin;
    src: url(../fonts/TTF/BebasNeueThin.ttf)
}

@font-face {
    font-family: helveticaLightCondensed;
    src: url(../fonts/Helvetica/helveticaLightCondensed.ttf)
}

@font-face {
    font-family: helveticaNC;
    src: url(../fonts/Helvetica/HELVNLC_.TTF)
}

textarea#l_msg {
    border-radius: 5px
}

/* EBOOK START */

.ebookContainer{
  background-color: #000000;
  color: #FFFFFF;
  z-index: 999999;
  position: fixed;
  width: 100%;
  height: 250px;
  bottom: 0%;
  left: 0%;
  border-radius: 0px 0px 0px 0px;
  padding:25px;  
}

.ebookContent{
   /* background: url('../img/Room-Still-TV-Clean.jpg') no-repeat;
    background-size: cover; */
    height: 75%;
}
.ebookContent::before{
    content: "";
  position: absolute;
  width: 85%;
  height: 60%;
  background-image: url('../img/Room-Still-TV-Clean.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  opacity: 0;
  animation: zoomInBg 2s ease-in forwards;
}
.ebookContent:hover{
    cursor: pointer;
}

.downloadReport{
    padding-left: 0;
    padding-bottom: 20px;
    position: absolute;
    bottom: 0;
    left: 0;    
    font-family: 'circularStdBold';
}
.downloadReport:hover {
    cursor: pointer;
}
.downloadReport h2 {
    font-weight: bold;
}
.downloadReport h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
}
.downloadReport h6 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center;
}

.closedEbookDisplayImage{
    position: fixed;
    bottom: 0%;
    left: 0%;
}   

.close-ebook {
    position: absolute;
    top: 10px;
    right: 10px;    
    color: #FFFFFF;
}

.btnFindOutMore {
    color: #FFFFFF;
    padding: 0.3125em 0.625em;
    border: 0.125em solid #FFFFFF;
    display: inline-block;
    min-width: 12.5em;
    transition: all .6s ease;
    background-color: rgba(218,0,0,1);
    margin-bottom: 1em;
    text-align: center;
    margin-top: 30px;
}

.flex-container {
  display: flex;
  flex-wrap: nowrap;
}

.flex-container > div {
  width: 100%;
  text-align: left;
  margin-bottom: 12px;  
  /*align-self: flex-end;*/
  align-self: center;
  margin-left: -16px;
  padding-left: 30px;
}

.portrait.closedEbookDisplayImage {
    width: 35px;
    z-index: 999999;
}

.portrait.closedEbookDisplayImage img{
    width: 100%;
    height: auto;
}

.closedPowerupPopup {
    z-index: 99999;
    position: fixed;
    bottom: 0;
    left: 10%;
    color: #FFFFFF;
    padding: 0.3125em 0.625em;
    border: 0.125em solid #FFFFFF;
    display: inline-block;
    min-width: 15.5em;
    transition: all .6s ease;
    background-color: rgba(218,0,0,1);
    text-align: center;
    text-transform: uppercase;
}

#ebookForm .input-group-addon {
    width: 12%;
    text-align: center;
    color: white;
    border: none;
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0.5);
}

#ebookForm .rqd.text-right {
    font-size: 10px;
}

#ebookForm .form-control {
    border-radius: 0px;
}

#ebookForm .form-group {
    margin-bottom: 8px;
}

#ebookForm .ebookAck, .sentMessageEbook p {
    color: #000;
    font-weight: 400;
}

#ebookForm .form-group input::placeholder {
    color: #555
}

p.ebook_title {
    color: #000000;
    text-transform: none;
    font-family: ebookRegular;
    letter-spacing: 2px;
    font-size: 1.8rem;
    margin: 0 0 10px 0;
    text-align: center;
}

.ebookSubmitBtn, .ebookFinalDownloadBtn {
    background-color: #000000;
    border-color: #000000;
    border-radius: 0px;
    color: #fff;
    font-family: ebookRegular;
    font-size: 24px;
    letter-spacing: 3px;
    line-height: 16px;
}

.ebookFinalDownloadBtn:hover, .ebookSubmitBtn:hover {
    background-color: #000000;
    border-color: #000000;
}

.flex-container > p {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
}

span.glyphicon.glyphicon.glyphicon-share-alt{
    font-size: 25px;
    line-height: 1.6;
}
span.downloadTextFirst{
    font-size: 14px;
    display: block;
     font-weight: bold; 
}
span.downloadTextSecond {
    font-size: 16px;
    display: block;
    font-weight: bold;
}

@media (max-width: 481px){
    span.glyphicon.glyphicon.glyphicon-share-alt{
        font-size: 40px;
    }
    .flex-container > p {    
        font-size: 13px;
    }

    .ebookImage img {
        width: 80%;
        height: auto;
    }
}


@media (min-width: 481px){
  .ebookContainer {
    width: 400px;
    left: 0%;
    /*border-radius: 0px 20px 20px 20px;*/
    padding:25px;
    margin-left: 0;
    margin-bottom: 40px;
    height: 300px;
  }
  
  .closedEbookDisplayImage{
    position: fixed;
    bottom: 10%;
    left: 0%;
  }

  .flex-container > p {    
    font-size: 12px;
    font-weight: 500;
    }

    span.glyphicon.glyphicon.glyphicon-share-alt {
        font-size: 35px;
    }
    .ebookImage img {
        width: 80%;
        height: auto;
    }
    
    .downloadReport h4 {
        font-size: 1.3rem;
    }
    .downloadReport h6 {
        font-size: 1rem;
    }
  
}

@media (min-width: 1400px){
    .ebookContainer {
        width: 450px;
        padding:30px;
        margin-left: 0;
        height: 300px;
        margin-bottom: 40px;
    }
    .flex-container > div {
       /* margin-left: 0; */
    }
    .flex-container > p {
        font-size: 14px;
    }
    
    span.glyphicon.glyphicon.glyphicon-share-alt {
        font-size: 45px;
    }
    span.downloadTextFirst {
        font-size: 16px;
    }
    span.downloadTextSecond {
        font-size: 20px;
    }
    .ebookImage img {
        width: 100%;
        height: auto;
    }
}

/*
==============================================
slideRight
==============================================
*/

.slideRight{
    animation-name: slideRight;
    -webkit-animation-name: slideRight; 

    animation-duration: 1s; 
    -webkit-animation-duration: 1s;

    animation-timing-function: ease-in-out; 
    -webkit-animation-timing-function: ease-in-out;     

    visibility: visible !important; 
}

@keyframes slideRight {
    0% {
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(0%);
    }
}

@-webkit-keyframes slideRight {
    0% {
        -webkit-transform: translateX(-100%);
    }
    100%{
        -webkit-transform: translateX(0%);
    }
}

@keyframes zoomInBg {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Apply the animation to the image */
.zoom-in-on-load {
  animation: zoomIn 4s ease-out forwards;
}
/* End Ebook */