/**
 * Paperless App iPhone / Small Devices
 * Written By: Cat Peters
 * Date: 3/3/2015 11:31am
 */


 /* iphone old (portrait and landscape) ----------- */
@media screen 
and (min-width : 320px)
and (max-width : 480px) {
/* Styles */
  body { 
    margin-top:15px;
  }

  /***** HOMESCREEN *****/
    .homescreen {
      margin-top:10px !important;
    }

    .homescreen.homescreen-shift-up {
      margin-top: 10px !important;
    }

    .container {
      height: 89%; 
      width: 100%;
      overflow: scroll;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
      overflow-y: auto;
      overflow-x: auto;
    }

    a.paperless-local-link {
    }

    .announcement-text {
      font-size:16px;
    }

    .chatter-layout .container {
      height: 100%; 
    }


    /* top nav */

    .top-nav.row {
      height: 30px;
      margin-bottom: 10px;
      clear:both !important;
    }

    .top-nav.row .logo {
      margin-left: 10px;
      margin-top:5px;
    }

    .top-nav.row .logo img 
    {
      height: auto;
      max-height: 30px !important;
      width: auto;
      max-width:170px !important;
    }

    .top-nav .nav-icon {
      font-size: 30px;
      margin-right: 10px;
      padding: 6px;
    }

    /* sliders */
    .animated-slider {
      margin-left: 15px;
    }
    
    .scroller {
       height: 147px;
       width: 100%;
    }

    .scroller-inner {
        height: 147px;
    }
    
    .scroller-inner .banner {
        width: 290px;
        height: 147px;
        margin: 0px 15px 0px 0px;
        background-size: 290px 147px;
    }

    .scroller-inner .banner img {
      height: 147px;
      width: 290px;
      border:1px solid #000;
    }

    .sliding {
      height: auto;
    }
    .sliding > .row {
      overflow-x: scroll !important;
      overflow-y: hidden !important;
      white-space: nowrap !important;
    }
    .sliding > .row [class*="col-lg"],
    .sliding > .row [class*="col-md"],
    .sliding > .row [class*="col-sm"] {
      float: none !important;
      display: inline-block !important;
      white-space: normal !important;
      vertical-align: top !important;
      height: auto !important;
      width: 320px !important;
    }


    /* Agenda Box */
    .schedule-box {
      font-size: 15px;
      height: 140px;
      margin-bottom: 15px;
      padding: 20px;
    }

    .schedule-box h3 {
      padding-top: 1%;
      font-size: 18px;
    }

    .current-date {
      font-size: 65px;
      right: -55px;
      width: 200px;
      text-align: center;
    }   

    .current-date {
      font-size: 2.5em !important;
      /*width: 72px !important;*/
      width:75% !important;
      right: 0px !important;

      display: inline-block;
      top:62px !important;
    }

    .current-schedule-item {
      float:none;
      max-width:100px;
      font-size:10px;
      line-height: 1.4em;
      padding-top:5px;
    }
    .calendar-container{padding-top:0px !important; margin-top:-20px;max-width: 100px;}

    .layout-3-agenda-widget{
      height:115px;
      min-height:115px !important;
      margin-top:10px;

    }

    .layout-3-agenda-now-box { 
      font-size: 0.7em;
      max-width: 200px;
    }

    .layout-3.calendar-graphic{
      font-size:60px;
    }

    .calendar-graphic {
      font-size:80px;
    }


    .layout-3.current-date
    {
      /*width: 275px !important;*/
      top:0 !important;
      left:50px !important;
      font-size:40px !important;
    }


    
    /* chatter */

    .chats {
      width: 100%;
      padding-left: 0px;
      height: 385px !important;
      /*border:1px solid #000;*/
    }
/*    .chatter-layout .chatter-top-nav{
      height: 40px;
      padding: 5px 0px 0px 0px;
      position: absolute;
    }
    .chatter-layout .chatter-top-nav .nav-icon {
      font-size: 26px;
      margin-right: 15px;


    }*/
    .chatter-bottom-menu{
      background-color: #666666;
      position: fixed;
      height: 40px;
      bottom:0;
      left: 0px;
      width: 100%;
      visibility: visible;
      clear: both;
      z-index: 99;
    }
  
    .chatter-bottom-menu .chatter-menu-item {
      color: #fff;
      font-size: 15px;
      padding:3px 0px 0px 0px;
      text-decoration: none;
    }
    

    .post-body {
      
      font-size: 14px;
      line-height: 1.2em;
      
    }

  .chat-form {
    background-color: transparent;
    top:8%;
    left:0;
    width: 100%;
    height: 92%;

  }

  .chat-form-inner {
    display: block;
    position: absolute;
    background-color: #fff;
    border-radius: 0px;
    left:0;
    width: 100%;
    height: 78%;
    padding: 0px;
  }

  .chat-form-menu{
    background-color: #f2f2f2;
    padding:10px 10px 30px 10px;
  }

  .chat-form .btn-cancel {
      color: #5b5b5b;
      font-size: 16px;
  }
  .chat-form .btn-cont {
      color: #5b5b5b;
      font-size: 22px;
     
  }
  .chat-form .btn-cont a, 
  .chat-form .btn-cancel a {
      color: #5b5b5b;
  }
  .chat-form .btn-cont a{
    border-radius: 5px;
    border:1px solid #ccc;
    background-color: #ddd;
    padding:2px 4px;
  }


  .chat-form-inner .down-arrow{
      display: none;
  }
  .chat-form .input-cont .form-control {
    border: none;
    width: 100%  !important;
    margin-top: 0;
    background-color: #fff !important;
    border-radius: 0px;
    height: 500px;
  }

.chat-hashtags { 
    background-color:#f2f2f2;
    pointer-events: all; 
    height: auto;
    max-height: 100px;
    overflow: hidden;
    padding: 10px 0px;
    position: fixed;
    top: 40px;
}


.chatter-help {
  font-size: 10px;
  color:#fb692d;
  display: block;
  border-bottom: none;
  padding-bottom: 0px;
  
  margin-bottom: 0px;
  text-decoration: none;
  line-height: 1.1em;
}
.chatter-help:hover{
  text-decoration: none;
}

.help-box{ border-left:1px solid #808080; text-align:center; font-size: 9px;line-height: 1.2em;}
.help-header {display: block; text-align: center;font-weight: 800;font-size:14px;padding-bottom: 5px;}

.help-box > a {
  color: #fb692d;
}




    /** 4 button layout chatter highlights box **/
    .social-body .chats {
      margin-top: 5px;
      padding-top: 30px;
      width: 100%;
      height: auto;
      max-height: 110px !important;
    }

    .social-body .post-feed-item {
    display: block;
    margin-left: 0px;
    }
    /** 6 button layout chatter highlights box **/
    .social-box .social-body .chats {
      margin-top: 5px;
      padding-top: 30px;
      width: 100%;
      height: auto;
      max-height: 90px !important;
    }

    .social-box .social-body .post-feed-item {
      display: block;
      margin-left: 0px;
    }

    .social-box .social-body .post-feed-item .post-footer {
      font-size: 14px;
    }

    .post-footer { 
      font-size: 10px;
    }

    .chatter-highlight-image {
      width: 100%;
    }
    .social-help {
      font-size: 14px;
      width: auto;
    }

    .social-box {
      margin-bottom:15px;
    }

    .social-body .comment-box {
      width: auto;
      margin-left:10px;
    }

    .post-created-at img{
      margin-left: 10px;
    }
    .post-created-at.xs-layout{
      display:block;
      font-size: 11px;
      margin-left:10px;
      margin-left:0px;
      margin-bottom: 5px;
    }

    .post-body {clear:left;}

    .post-author-photo{ display: none; }

    .post-author-name {
      display: none;
    } 

    .post-author-name.xs-layout{
      display: block;
      float:left; 
      font-size:17px;     
    }

    .post-author-photo-xs {
      display:block;
      width: 70px;
      height: 70px;
      float: left;
    }
    .post-author-photo_xs img{
      float: left;
      width: 70px;
      height: 70px;
      height: auto;
      margin-top: 0px;
      margin-left:0px;
      border-radius: 2px solid #555;
      
    }


    .post-created { display: none;}



    /* buttons */

    .button-wrapper {
      margin-bottom: 15px;
      text-align: center;
    }
    
    .btn-col {margin-top: 0px;}
    .btns .row {
      padding-bottom: 15px !important;}

    .buttons-container {
      max-width: 440px;
      margin: 10px 0;
    }

    .button {
      height: 140px;
      width: 140px;
      background-size: 140px 140px;
      
    }
    .homesreen-btn {
        height: 77px !important;
        margin-top:10px;
    }

    
    .col-sm-8 .homesreen-btn img {
      height: 77px !important;
      width: 148px !important;
    }

    .col-sm-4 .homesreen-btn img {
        height: 77px !important;
        width: 95px !important;
    }

    div.button:nth-child(odd) {
      margin-right: 5px !important;
    }

    /* Layout 3 homescreen buttons */
    /* fixes off kilter spacing */

    .layout3-btn div {
      margin-top:10px;
      max-height:92px;
    }

    .layout3-btn img {
      height:92px;
      max-height:92px;
    }

    .layout3-btn.agenda-second-btn {
      padding-left:3px;
    }

    .layout3-btn.top-left-btn {
      padding-left:0px;
    }
    .layout3-btn.bottom-right-btn {
      padding-left:8px;
    }

    .layout-3-agenda-now-box { 
      padding:10px;
    }
    .layout-3-agenda-link {
      margin-top:10px;
    }
    .agenda-btns {
      padding-top: 0px !important;
      margin-top: 0px !important;
    }
    .agenda-btns .layout3-btn {
      padding-bottom: 0px;
      margin-top:14px;
    }
    .layout-3-agenda-widget-container {
      padding-bottom:7px !important;
      margin-bottom: 15px !important;
    }
    
    /***** SCHEDULE ITEMS *****/
    div.tab-content.schedule-items-list {
      background-color: transparent;
    }


    .schedule-items-list {
      padding:15px 0px;
      height: auto;
      max-height: 70%;
      background-color: #fff;
      overflow: scroll;
      overflow-y: auto;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
    }

    .schedule-tabs { 
      margin-bottom: 5px;
      /*max-height: 115px;*/
      overflow: scroll;
      overflow-y: auto;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: -ms-autohiding-scrollbar;
      /*border-bottom: 1px solid #333;*/
      /*border-radius: 10px !important;*/
    }
    .schedule-tabs>li{
      border: none;
      width: 100%;
      margin: 0px;
    }
    
    .schedule-tabs > li > a {
      font-size:14px;
      border-top: 0;
      border-left: none
      border-right: none;
      border-bottom: none;
    }

    .schedule-tabs.nav-tabs > li > a {
      border-bottom: 1px solid #F0F0F0 !important;
      margin-bottom: 0px;
    }

    .schedule-tabs > li.active > a {
      border-bottom: none !important;
    }
  
    .tab-content {
        padding: 5px;
        background-color: white;
    }

    .tab-content p {
      text-align: left;
      font-size: 14px;
    }

    h4.card-title{
        font-size: 18px !important;
        text-align: center;
    }

    .card-meta { /* where does this go */
        margin-left: 12px;
        font-size: 10px;
        text-align: center;
    }

    p.center-text {
      text-align: center;
    }

    .circle { 
       width: 45px;
       height: 45px;
       text-align: center;
       padding: 12px 0;
       font-size: 24px;
       -moz-border-radius: 45px; 
       -webkit-border-radius: 45px; 
       border-radius: 45px;
    }

    .schedule-item-times {
        padding-top: 8px;
        font-size: 16px;
        text-align: center;
    }

    .schedule-item-locations {
        margin-bottom: 10px;
        margin-top: 0px;
        text-align: center;
        font-size:14px;
    }

    .tab-content .materials {
      text-align: center;
    }


    /*** LIBRARY ***/

    .material-link {
    /*margin-bottom: 15px;*/
    }


    .library-container{
      height: 99%;
    }

    .question-plugin-container {
      border-radius: 5px;
      padding:0.2em;
      background-color: #fff;
      
    }

    .library-container h3.title,
    .library-container h3.page-title,
    .question-plugin-container h3.title,
    .question-plugin-container h3.page-title {
        margin-top:0px;
        border-radius: 0;
        font-weight: 100;
        margin-bottom: 0px;
    }

    .question-btn { 
      height: 60px; 
      font-size: 20px !important;
    }

    .question-count {
      font-size: 12px;
    }
    .qplugin-title .btn-info{
      font-size: 12px !important;
      margin-right:0 !important;
      margin-top:-5px !important;
      white-space: normal !important;
      line-height: 1.1em;
    }

    .qplugin-title span { float: right; margin-left:10px;}

    p.question-plugin-instructions{
      padding:8px;
      font-size: 0.6em !important;
      line-height: 1.2em !important;
      background-color:#fff;
      text-align: left !important;
    }

    .qplugin-title {
      text-align: left !important;
    }

    #question-plugin-confirmation-message .message-content {
      width:250px;
      margin:0 auto;
      margin-top:35%;
      text-align:center;
      color:#000;
      font-size:15px;
      background-color:#fff;
      padding:20px;
      border-radius:8px;
    }

  .questionBody h1.attendee-name{
    font-size: 0.8em !important;
    font-weight: bold !important;
    padding-bottom: 0px !important;
  }
  .qplugin-textarea{
    font-size: 12px !important;
    line-height: 1.2em;
  }
  .questionBody .qplugin-category{
    padding-top: 3px !important;
    font-size: 0.6em !important;
    line-height: 1.0em;
  }

  .question-plugin-btn{
    margin-right: 6px !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    width: 125px;
    white-space: normal !important;
    line-height: 1.1em;
  }
  .reply-question-plugin .btn-primary{
    font-size: 12px !important;
    margin-top:-4px;
    white-space: normal !important;
    line-height: 1.1em;
  }

  .questions-container-qplugins
  {
    height: auto !important;
    border:1px solid transparent !important;
    clear:both !important;
    overflow: none;
    overflow-y: none;
    overflow-x: none;
    -webkit-overflow-scrolling: none !important;
    -ms-overflow-style: -ms-autohiding-scrollbar !important;
  }



    .library-container #sidebar-nav {
        border-right: 1px solid #eee;
        padding-right: 0;
        height: 115px;
        overflow: scroll;
        overflow-y: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: -ms-autohiding-scrollbar;
    }
    
    .nav-pills > li {
      width: 100%;
    }
    .nav-pills > li > a,
    .nav-pills > li > a:hover
    .nav-pills > li > a:focus {
        padding: 10px;
        font-size: 15px;

    }

    .library-container .tab-content {
      font-size: 14px;
      margin-top: 0px;
      padding: 10px;

    }

}
 
/* old Smartphones (landscape) ----------- */
@media only screen
and (min-width : 380px)
and (max-width : 480px) {
      .buttons-container {
      max-width: 440px;
      margin-left: 28px;
}
 
/* old Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
/* Styles */
}
 
/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}

 /* Android Tablet (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 800px)
and (max-device-width : 1280px) {
/* Styles */
}
 
/* Android Tablet (landscape) ----------- */
@media only screen
and (min-device-width : 800px)
and (max-device-width : 1280px)
and (orientation : landscape) {
/* Styles */
}
 
/* Android Tablet (portrait) ----------- */
@media only screen
and (min-device-width : 800px)
and (max-device-width : 1280px)
and (orientation : portrait) {
/* Styles */
}
 
/* Desire + Galaxy S2 (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 480px)
and (max-device-width : 800px) {
/* Styles */
}
 
/* Desire + Galaxy S2 (landscape) ----------- */
@media only screen
and (min-device-width : 480px)
and (max-device-width : 800px)
and (orientation : landscape) {
/* Styles */
}
 
/* Desire + Galaxy S2 (portrait) ----------- */
@media only screen
and (min-device-width : 480px)
and (max-device-width : 800px)
and (orientation : portrait) {
/* Styles */
}