/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */
@media screen and (max-width:768px){
    .container {
         width: auto; 
    }
}
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

}

/* ----------- iPhone 5 and 5S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {

}

/* ----------- iPhone 6 ----------- */

/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) { 
  
}

/* Portrait */
@media only screen and (min-device-width: 320px) and (max-device-width: 767px) and (orientation: portrait) {
  .top .col-md-4.sns-registration-con {
    margin-left: 15px;
    margin-right: 15px;
  }
  footer.top_footer.footer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .logo-con{
    padding: 10px;
    border-bottom: 5px solid #BDBEBF;
    margin-bottom: 10px;
    margin-bottom: 25px;
    text-align: center;
    background: white;
  }
  p.copy-right{
    margin-top: 0px !important;
  }
  .contactContainer{
    background: white;
    padding: 20px !important;
  }
  .modal-footer {
    display: flex;
    flex-flow: column;
  }
  .modal-footer .btn.btn-warning {
    order: 2;
  }
}

/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2)and (orientation: landscape) { 

}

/* ----------- iPhone 6+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 

}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 

}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 

}


/* ----------- iPad mini ----------- */
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
      .detail ul.list-group:nth-child(4) .list-group-item {
           min-height: 135px
      }
}

/* Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {

}

/* Ipad Landscape Only */
@media only screen and (max-device-width: 970px) {
  .box_product h2{
      margin-bottom: 40px;
  }
  div.footer-box div.footer-box-wrapper{
    max-width: 100%;
  }
}

/* Ipad Landscape Only */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 768px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .profile form#editUserID {
      font-size: 14px !important;
    }
    .navbar{
      margin-left: -15px;
      margin-right: -15px;
    }
    div.footer-box div.footer-box-wrapper div.footer-box-con:nth-child(2) ul li{
      font-size: 14px;
    }
    #star{
      right: 5px;
    }
    .profile .editpic-con{
          top: -55px;
    }
    .profile .profile-img{
      width: 150px;
      height: 150px;
    }
    .nav-tabs>li>a{
      font-size: 9px;
    }
    .profile .btn, .editpic-con{
      font-size: 11px;
    }
    .login-top {
      font-size: 12px;
    }
    .profile,
    .profile > div {
      padding-left: 0px;
      padding-right: 0px;
      width: 100% !important;
    }
    .social-list{
      height: 90px !important;
      min-height: 90px !important;
    }
    div.g-plus{
      margin-top: 10px !important;
    }
    .tab-spacer-768{
      display: block;
      margin-bottom: 10px;
    }
    .detail_1{
      padding-left: 15px !important;
      padding-right: 15px !important;
      word-wrap: break-word;
    }
     .detail_1 p.detail{
      word-wrap: break-word;
     }
    table.product-info th{
      font-size: 12px;
    }
    table.product-info td{
      font-size: 12px;
    }
    div.detail.content > div:nth-child(3){
      font-size: 12px;
    }
    .add-prod-form .control-label{
      font-size: 12px;
    }
    table{
      font-size: 14px !important;
    }
    .box_product h2{
      margin-bottom: 40px;
    }

}
@media only screen and (max-width: 767px) {
  .add-prod-form .control-label + div{
      margin-left: 0px;
      margin-right: 0px;
      padding-left: 0px;
      padding-right: 0px;
  }
  .add-prod-form .form-group{
    margin-left: 0px;
    margin-right: 0px;
  }
  .product-add-page .btn-con button{
    margin-bottom: 15px;
  }

  .product-add-page .btn-con > div {
    padding-left: 0px;
    padding-right: 0px;
  }
  .prod-add-note{
    margin-top: 0px;
  }
  .prod-add-url{
    background-color: #0E7AC4;
    border-color: #0E7AC4;
  }
  .logo-con{
    padding: 10px;
    border-bottom: 5px solid #BDBEBF;
    margin-bottom: 10px;
    margin-bottom: 25px;
    text-align: center;
    background: white;
  }
  .logo-con > #site-img {
    padding-left: 5px;
  }
  .logo-con > #login {
    font-size: 14px;
    float: right;
    margin-top: 25px;
    color: #337ab7;
  }
  .modal-log-pop button{
    margin: 0px;
    margin-left: 0px !important;
    margin-bottom: 10px;
  }
  .pagination{
    margin-top: 20px;
  }
  .add-cat-prod{
    margin-bottom: 20px;
  }
  table.edit-blog-tbl th,
  table.edit-blog-tbl tr,
  table.edit-blog-tbl td{
    border-bottom: 0px !important;
  }
}