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

  .list-tab-analytics .nav-tabs {
    /*margin-left: 41px;*/
  }

  #appCamelModal #dv_devices {
    margin-left: -79px;
  }

    .container-map--input--tools {
      position: relative;
      top: -515px;
    }
    .top-right--map--tools {
      margin-left: -150px;
    }

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

    .container-range--slider {
      top: -458px;
      margin-top: -10px;
      width: 10px;
    }

    .container-range--slider > input[type=range] {
      height: 304px;
      position: relative;
      top: -93px;
    }
      
    .custom-tab--links > span {
      width: 38px;
      font-size: 30px;
    }

    .col-content--aligned > .row > div > span.fab, span.fa, span.far, span.fas {
      font-size: 28px;
    }

    ul.top-left--map--tools > li {
      margin: 1px;
      width: 31px;
    }

    ul.top-left--map--tools > li > a > span {
      font-size: 23px;
    }

    ul.top-right--map--tools > li {
      width: 34px;
      font-size: 18px;
      margin: 0px;
    }

    .container-map--tools {
      position: relative;
      top: -29px;
      left: 4px;
    }

    .custom-row--container {
      width: 100%;
      overflow-y: scroll;
      white-space: nowrap;
      margin-left: 2px;
    }

    .custom-col--container {
      display: inline-block;
      width: 60%;
      float: none;
      margin-bottom: 20px;
      vertical-align: top;
      height: 280px;
    }

    .custom-row--container::-webkit-scrollbar {
      -webkit-appearance: none;
      appearance: none;
    }

    .custom-row--container::-webkit-scrollbar:vertical {
      width: 1px;
    }

    .custom-row--container::-webkit-scrollbar:horizontal {
      height: 11px;
    }

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

    .custom-label--tag {
      white-space: normal;
      text-align: left;
/*      text-transform: uppercase;*/
      width: auto;
      line-height: 23px;
/*      min-height: 50px;*/
      letter-spacing: 1px;
    }

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

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

  .rx-location-address-a > span.rx-add {
    position: relative;
    top: -16px;
  }

  .rx-addlocation-body .rx-location-level span.rx-delete {
    margin-left: 34px;
    margin-top: 18px;

  }
}

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

  #btnProfile {
    position: absolute;
    left: 248px;
  }

  #profile {
    left: 90px;
  }




}

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

  .feature-slider {
    height: 140px;
  }

  .list-tab-analytics .menu_tab-list-tier.menu-tab-analytics li a {
    min-height: 9em;
  }

    .modal-dialog {
      width: 96.5%;
    }

    .tab-content {
      padding: 0px;
      /*margin-top: -5px;*/
    }

    .modal-header {
      background-color: #fff;
    }

    .modal-body {
      padding: 0px;
    }

    .nav-tabs>li {
      /*margin-left: 10px;*/
    }

    .nav > li > a {
      font-size: 30px;
      padding: 6px 7px;
    }

    .close {
      color: #000 !important;
    }

    .custom-tab--links > span {
      width: 66px;
    }

  .show-map-appcitizen.show-all-map #dv_map_citizen #maps_content #div_slider_hours {
    position: relative;
    top: 140px !important;
  }

  #div_slider_hours .slider-vertical {
    height: 120px !important;
  }

  .rx-timeline-title {
    padding: 10px;
  }

  .ul-feature-lc-mail {
    margin-top: 20px;
  }
  .ul-feature-lc-mail li {
    display: inline-block;
    margin: 10px;
  }

  .location-item-container > div {
      margin-top: 10px;
  }

  .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);
  }
  #inbox-grid > table.table {
    table-layout: fixed;
  }

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

  .table {
    overflow-x: scroll;
    width: 100% !important;
  }


  #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: 273px;
    /* background-position: -68px -94px; */
    background-size: 163% 105%;
    background-position: -141px;
  }

  #facebook-grid > table.table > thead > tr > td > div > select {
    width: 100px;
  }
  #facebook-grid > table.table > thead > tr > td > div > input[type="text"] {
    width: 100px;
  }

  #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);
  }


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

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



  #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;
  }
}