body {
    background: #b7b8ba;
    background: linear-gradient(to bottom, #b7b8ba 0%,#dbdcde 40%,#dbdcde 60%,#b7b8ba 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b7b8ba', endColorstr='#b7b8ba',GradientType=0 );
}

.aligncenter {
  text-align:center;
}

img.aligncenter {
  display: block;
  margin: 0 auto;
}
.content {
    margin:auto;
}
.main-box {
    background: url('../img/5min-core.png') 0 0 no-repeat transparent;
    background-size: contain;
    margin:10px auto 0;
    width: 100%;
}
.content-inside {
    float: right;
    margin-top: 20px;
    width: 65%;
    padding: 25px 0;
    margin-bottom: 100px;
}
.content-inside p {font-size:7px;font-family: 'Open Sans', sans-serif;font-weight:bold; }
.content-inside h3 {font-size:13px;font-family: 'Open Sans', sans-serif;color:#006fe1;text-decoration:underline; font-weight: bold}
#footer {
    font-family: 'Open Sans' , sans-serif;
    font-size: 8pt;
    font-weight: 800;
    text-align:center;
    color:#9a9898;
    clear: both;
    padding: 30px 5px 5px;
}

#footer a {
    color:#9a9898;
}

.form-area {
  display: flex;
  justify-content: center;
}

#opt-in-wrapper{ display: block; }
/*#fancybox-content {width:556px !important;}*/

.inside-pop {margin-right: 20px;}
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.af-element.buttonContainer, .af-element.inputContainer {
    padding: 0 !important;
}

.pop-up-image {
  box-sizing: border-box;
    background: #dbdcde;
    background-size: contain;
    margin:0 auto;
    width: 260px;
  width: 92%;
    height: auto;
}
.pop-up-image p {text-align:center;}
.inside-pop {
    box-sizing: border-box;
    clear:both;
    padding: 5px 20px;
    background: #fff;
    width: 96%;
    margin: 0 auto;
}
.inside-pop p{line-height: 25px;font-size:14px;font-family: 'Open Sans'}
#fancybox-content {border: 0px !important;}
#fancybox-overlay {background-color: rgb(0, 0, 0) !important;}
#fancybox-close { top: 0}

.header-image {
    max-width: 100%;
    height:  auto;
}

input[type=text], input[type=email] {
    width:92% !important;
    margin: 0 auto !important;
    border-color: #4E4545;
    box-shadow: #4E4545 0 0 1px;
    color: #111212;
    font-size: 16px !important;
    display: block;
    height: 32px;
}

input[name=submit] {
    max-width: 100%;
    height: auto;
}

.main-box { display: none}

.main-dl-box {
  width: 90%;
  background: #ffffff;
  padding: 20px;
  margin: 0 auto;
}

@media only screen and (max-width: 320px) {
  .content-inside p {font-size:6px;}
  .content-inside h3 {font-size:11px;}
}

@media only screen and (max-width: 768px) {
    #fancybox-wrap {top: 50px !important;}
}

h1, h2 { font-family: 'Open Sans', arial, sans-serif; }

@media only screen and (min-width: 768px) {

  h1 {
    font-size: 40px;
  }

  #opt-in-wrapper{ display: none; }

    .main-box {
      display: block;
        background-size: auto;
        width: 90%;
    }
    .content-inside {
        width: 55%;
        margin-top: 80px;
    }

    .content-inside p {
        font-size:15px;
    }

    .content-inside h3 {
        font-size:18px;
    }

    .main-dl-box {
      width: 500px;
    }
}

@media only screen and (min-width: 960px) {
    .main-box {
        width: 810px;
        background-size: contain;
    }
    .pop-up-image {
        background: url('../img/optin-r1.jpg') 0 0 no-repeat transparent;
        margin: auto;
        width: 556px;
        height:620px;
        padding-top: 150px;
    }

    .inside-pop p {
        font-size: 18px;
    }

    .header-image {
        display: none;
    }

    input[type=text], input[type=email] {
        width: 330px !important;
        font-size: 16px !important;
        height: 34px;
      transform:translateX(10px);
    }

    .inside-pop {
        clear:both;
        padding:20px;
        background:  none;
        width: 96%;
        margin: 0 auto
    }

    .main-dl-box {
      width: 860px;
    }
}

@media only screen and (min-width: 1280px) {
    .main-box {
        width: 960px;
        background-size: contain;
    }

    .content-inside {
        margin-top: 100px;

        width: 550px;
        padding: 25px;
    }

    .content-inside p {
        font-size:18px;
    }

    .content-inside h3 {
        font-size:26px;
    }
}