/* ----------- 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) { 

    .bottom-right--container {
      position: relative;
      left: 446px;
      top: -790px;
    }

    #messagePopup {
        max-height: 100% !important;
    }
    .phone-container {
        margin-left: -50px;
        margin-top: 50px;

    }

    #messagePopup.simulator-mobile-container .closeBtn {
        color: #000;
    }

    #messageBadge {
        font-weight: 900;
        font-size: 16px;
    }




}

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

  #btnProfile {
    left: 303px;
  }

  #profile {
    left: 145px;
  }

    #messageBadge {
        font-weight: 900;
        font-size: 16px;
    }




}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  ul.top-right--map--tools {
    position: relative;
    left: 0px;
  }


  #scitizen-grid {
    width: 100%;
    /*overflow: auto;*/
    overflow-x: auto;
  }

  .grid-view {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }

  .grid-view::-webkit-scrollbar {
    -webkit-appearance:  none;
  }

  .grid-view::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
  }

  .grid-view::-webkit-scrollbar:vertical {
    width: 11px;
  }

  .grid-view::-webkit-scrollbar:horizontal {
    height: 11px;
  }


  #alerts-grid > table.table {
    /*table-layout: fixed;*/
  }


  /*#scitizen-grid > table.table > thead tr th:nth-of-type(2),*/
  /*#scitizen-grid > table.table > tbody tr td:nth-of-type(2) {*/
    /*position: sticky;*/
    /*top: 0;*/
    /*left: 0;*/
    /*color: #fff;*/
    /*background: #007093;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    /*z-index: 20;*/
  /*}*/


  /*#scitizen-grid > table.table > thead tr td:nth-of-type(2) > div {*/
    /*position: sticky;*/
    /*top: 0;*/
    /*left: 0;*/
    /*!*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*!*/
    /*z-index: 1;*/
    /*background:#fff;*/
  /*}*/

  /*#scitizen-grid > table.table > tbody tr td:nth-of-type(2) > button {*/
    /*box-shadow: none !important;*/
    /*background: none !important;*/
  /*}*/

  .mobileInfoLocationAdmin {
    background: url(../images/bg_main_tpinfo_1.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 353px;
    /* background-position: -68px -94px; */
    background-size: 197% 105%;
    background-position: -236px;
  }

  #list_payg_details_tab_1 {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }

  #list_payg_details_tab_1::-webkit-scrollbar {
    -webkit-appearance:  none;
  }

  #list_payg_details_tab_1::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
  }


  #alerts-grid > table.table > thead > tr > td > div > select {
    width: 100px;
  }

  #alerts-grid > table.table > thead > tr > td > div > input#PlusAlerts_address {
    width: 300px;
  }

  #chartdiv, #chartdiv1, #chartdiv3, #chartdiv4, #chartdiv5, #chartdiv6, #chartdiv7 ,#chartdiv8 , #chartdiv9, #chartdiv10, #chartdiv11, #chartdiv12 {
    height: 500px;
  }

  .fb-analytics-graph-container {
    margin-top: 20px;
  }
  .tabbable {
    margin-top: 20px;
  }

  .tabbable > ul > li > a {
    font-size: 14px;
    padding: 20px 17px;
  }


  .btn.rx-change-timerange {
    padding: 5px 10px;
  }

  #from_date {
    width: 100px;
  }
  #to_date {
    width: 100px;
  }

}


/* ----------- 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) { 
    .bottom-right--container {
      position: relative;
      left: 214px;
      top: -790px;
    }

    #messagePopup {
        max-height: 100% !important;
    }
    .phone-container {
        margin-left: -35px;
        margin-top: 50px;

    }

    #messagePopup.simulator-mobile-container .closeBtn {
        color: #000;
    }

    #messageBadge {
        font-weight: 900;
        font-size: 16px;
    }
}

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

  #btnProfile {
    left: 340px;
  }

  #profile {
    left: 183px;
  }




}

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

  .grid-view::-webkit-scrollbar {
    -webkit-appearance:  none;
  }

  .grid-view::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
  }

  .grid-view::-webkit-scrollbar:vertical {
    width: 11px;
  }

  .grid-view::-webkit-scrollbar:horizontal {
    height: 11px;
  }

  .grid-view {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }


  #alerts-grid > table.table {
    /*table-layout: fixed;*/
  }

  /*#scitizen-grid > table.table > thead tr th:nth-of-type(2),*/
  /*#scitizen-grid > table.table > tbody tr td:nth-of-type(2) {*/
    /*position: sticky;*/
    /*top: 0;*/
    /*left: 0;*/
    /*color: #fff;*/
    /*background: #007093;*/
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    /*z-index: 20;*/
  /*}*/


  /*#scitizen-grid > table.table > thead tr td:nth-of-type(2) > div {*/
    /*position: sticky;*/
    /*top: 0;*/
    /*left: 0;*/
    /*!*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*!*/
    /*z-index: 1;*/
    /*background:#fff;*/
  /*}*/

  /*#scitizen-grid > table.table > tbody tr td:nth-of-type(2) > button {*/
    /*box-shadow: none !important;*/
    /*background: none !important;*/
  /*}*/

  .mobileInfoLocationAdmin {
    background: url(../images/bg_main_tpinfo_1.png);
    background-repeat: no-repeat;
    width: 100%;
    height: 363px;
    /* background-position: -68px -94px; */
    background-size: 163% 105%;
    background-position: -188px;
  }

  #list_payg_details_tab_1 {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }

  #list_payg_details_tab_1::-webkit-scrollbar {
    -webkit-appearance:  none;
  }

  #list_payg_details_tab_1::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white;
    background-color: rgba(0, 0, 0, .5);
  }


  #alerts-grid > table.table > thead > tr > td > div > select {
    width: 100px;
  }

  #alerts-grid > table.table > thead > tr > td > div > input#PlusAlerts_address {
    width: 300px;
  }

  #chartdiv, #chartdiv1, #chartdiv3, #chartdiv4, #chartdiv5, #chartdiv6, #chartdiv7 ,#chartdiv8 , #chartdiv9, #chartdiv10, #chartdiv11, #chartdiv12 {
    height: 500px;
  }

  .fb-analytics-graph-container {
    margin-top: 20px;
  }
  .tabbable {
    margin-top: 20px;
  }

  .tabbable > ul > li > a {
    font-size: 14px;
    padding: 20px 17px;
  }


  .btn.rx-change-timerange {
    padding: 5px 10px;
  }

  #from_date {
    width: 100px;
  }
  #to_date {
    width: 100px;
  }

}