@media only screen and (max-width: 768px) {
  .device-header{
    display:block;
  }
  .header{
    display:none;
  }
}

@media only screen
and (min-width: 375px)
and (max-width: 667px)
and (orientation: landscape){
  .banner img {
    position: absolute;
    right: 20%;
    bottom: 7%;
    width: 60%;
  }
  .section-content1 {
    height: 100vh;
  }
  .count-timer {
    margin-right: 52px;
  }
  .count-wraper {
    width: 90%;
  }
  .s-bg {
    position: relative;
    background-position-y: -5px;
    background-position-x: right;
    background-size: 70%;
  }
  .s-bg:before {
    position: absolute;
    background: #fff;
    color:#d3ca84;
    height: 100%;
    width: 200px;
    content: 'Sherin';
    text-align: center;
    vertical-align: middle;
    font-size: 50px;
    font-family: "monotype corsiva";
    line-height: 360px;
  }
  .s-bg, .j-bg{
    border-bottom:1px solid #e0e0e0;
  }
  .s-bg img{
    display: none;
  }
  .j-bg {
    position: relative;
    background-position-y: -45px;
    background-position-x: right;
    background-size: 70%;
  }
  .j-bg:before {
    position: absolute;
    background: #fff;
    color:#d3ca84;
    height: 100%;
    width: 200px;
    content: 'Jayvee';
    text-align: center;
    vertical-align: middle;
    font-size: 50px;
    font-family: "monotype corsiva";
    line-height: 360px;
  }
  .j-bg img{
    display: none;
  }
  .main-gallery-container{
    border-top:none;
  }
  iframe{
    height:300;
  }
  .gallery-container {
    height: 280px;
    padding: 10px 10px;
    border: 7px solid #d3ca84;
  }
  .gallery-btn-wrpr {
    background:none;
    height:100%;
  }
  .gallery-btn-wrpr a img {
    margin-top: 0;
  }
  a.glry-btn {
    display: block;
    border: 1px solid #d3ca84;
    border-radius: 10px 10px;
    padding:15px 15px;
  }
  .gallery-container .gallery-wrapper {
    border: 2px solid #d3ca84;
    height: 100%;
    text-align: center;
    padding: 30px 15px;
  }
}

/*iphone 5*/
@media only screen
and (min-width: 320px)
and (max-width: 568px)
and (orientation: portrait){
  .banner-wrapper{
    display:none;
  }
  .banner{
    background-position-x: -700px !important;
    background-position-y: -70px !important;
  }
  .banner img {
    position: absolute;
    right: 17%;
    width: 90%;
    bottom: 3%;
  }
  .banner-wrapper{
    background:none !important;
  }
  .section-content1{
    height: 60vh;
  }
  .target-date p {
    font-size: 14px;
  }
  .count-wraper {
    margin: 160px auto 20px auto;
    width: 94%;
  }
  .count-timer {
    height: 66px;
    width: 66px;
    background: #d3ca84;
    border-radius: 50% 50%;
    float: left;
    text-align: center;
    padding: 22px 0;
    margin-right: 10px;
  }
  .count-timer label {
    font-size: 10px;
  }
  .s-bg {
    background-position-x: -240px;
    background-position-y: -70px;
  }
  .j-bg {
    background-position-y: -79px;
  }
  .gallery-container {
    height: 230px;
    padding: 10px 10px;
    border: 7px solid #d3ca84;
  }
  .gallery-btn-wrpr {
    background:none;
    height:100%;
  }
  .gallery-btn-wrpr a img {
    margin-top: 0;
  }
  a.glry-btn {
    display: block;
    border: 1px solid #d3ca84;
    border-radius: 10px 10px;
    padding:15px 15px;
  }
  .gallery-container .gallery-wrapper {
    border: 2px solid #d3ca84;
    height: 100%;
    text-align: center;
    padding: 30px 15px;
  }
  .bD-con {
    height: auto;
    padding: 60px 0 70px 0;
  }
  .bD-con h2 {
    font-size: 25px;
  }
  .bDimg-container {
    height: 371px;
  }
  .awards-wpr {
      padding-bottom: 20px;
  }
}

/*iPhones iOS*/

/*iphone 6Plus*/
@media only screen
and (min-width: 414px)
and (max-width: 736px)
and (orientation: portrait){
  .bD-con {
    height: auto;
    padding: 60px 0 70px 0;
  }
  .bD-con h2 {
    font-size: 30px;
  }
  .bDimg-container {
    height: 494px !important;
  }
  .awards-wpr {
    padding-bottom: 50px;
  }
}
@media only screen
and (min-width: 414px)
and (max-width: 736px)
and (orientation: landscape){
  .bD-con {
      text-align: center;
      height: auto;
      padding: 50px 0 0 0;
  }
  .awards-wpr {
      padding-bottom: 50px;
  }
}

/*iphone 6, 6s*/
@media only screen
and (min-width: 375px)
and (max-width: 667px)
and (orientation: portrait){
  .banner{
    background-position-x: -700px !important;
    background-position-y: -70px !important;
  }
  .banner img {
    position: absolute;
    right: 17%;
    width: 90%;
    bottom: 3%;
  }
  .banner-wrapper{
    background:none !important;
  }
  .count-wraper {
    margin: 190px auto 20px auto;
    width: 94%;
  }
  .count-timer {
    height: 80px;
    width: 80px;
    background: #d3ca84;
    border-radius: 50% 50%;
    float: left;
    text-align: center;
    padding: 22px 0;
    margin-right: 10px;
  }
  .count-timer label {
    font-size: 10px;
  }
  .gallery-container {
    height: 230px;
    padding: 10px 10px;
    border: 7px solid #d3ca84;
  }
  .gallery-btn-wrpr {
    background:none;
    height:100%;
  }
  .gallery-btn-wrpr a img {
    margin-top: 0;
  }
  a.glry-btn {
    display: block;
    border: 1px solid #d3ca84;
    border-radius: 10px 10px;
    padding:15px 15px;
  }
  .gallery-container .gallery-wrapper {
    border: 2px solid #d3ca84;
    height: 100%;
    text-align: center;
    padding: 30px 15px;
  }
  .bDimg-container {
    height: 439px;
  }
}

/*iPad Mini*/
@media only screen
and (min-width: 768px)
and (max-width: 1024px)
and (orientation: portrait){
  .banner-wrapper {
    background: none !important;
  }
  .banner {
    background-position-x: -790px !important;
    background-position-y: 150px !important;
    background-size: cover !important;
  }
  .banner img {
    width: 80%;
    position: absolute;
    right: 20%;
    top: 4%;
  }
  .count-wraper {
    width: 85%;
    height: auto;
    background: transparent;
    margin: 320px auto 20px auto;
    position: relative;
  }
  .s-bg, .j-bg{
    border:1px solid #e0e0e0;
    text-align:center;
    background-size:cover;
  }
  .s-bg img{
    width: 100%;
  }
  .j-bg img{
    width: 100%;
  }
  .gallery-btn-wrpr {
    margin-top: 0px;
    height: 460px;
    background: url(../img/teamsheevee-slice-images_22.png)no-repeat center center transparent;
    background-size: 150%;
  }
  .gallery-btn-wrpr img {
    margin-top: 33.5%;
    width: 44%;
  }
  .gallery-container {
    height: 630px;
    padding: 10px 10px;
    border: 7px solid #d3ca84;
  }
  .glry-btn{
    display:block;
    padding:15px 15px;
    height: 100%;
  }
  .bD-con {
      text-align: center;
      height: auto;
      padding: 80px 0 0 0;
  }
  .bDimg-container {
      width: auto !important;
      max-width: 530px !important;
      height: 680px;
      max-height: 680px !important;
  }
  .awards-wpr {
      padding-bottom: 150px;
  }
}

@media only screen
and (min-width: 768px)
and (max-width: 1024px)
and (orientation: landscape){
  .banner {
    background-position-x: -170px !important;
    background-position-y: 0px !important;
    background-size: cover !important;
  }
  .banner img {
    width: 70%;
    position: absolute;
    right: 30%;
    bottom: 4%;
  }
  .count-wraper {
    width: 64%;
    height: auto;
    background: transparent;
    margin: 130px auto 20px auto;
    position: relative;
  }
  .gallery-btn-wrpr img {
    margin-top: 31.5%;
  }
}
@media only screen
and (min-width: 1024px)
and (max-width: 1366px)
and (orientation: landscape){
  .bDimg-container {
    margin: 0 auto;
    text-align: center;
    width: auto !important;
    max-width: 550px !important;
    height: 700px;
    max-height: 700px !important;
  }
  .bD-con {
    height: auto;
  }
}
