/*http://www.javascriptkit.com/dhtmltutors/cssmediaqueries2.shtml*/
/*WHEN THE SCREEN IS IN MOBILE FORMAT*/
@media screen and (max-width: 420px) {
  .btn-mobile-full {
    width: calc(100vw - 40px);
    min-width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    margin-right: 0px !important;
  }

  .btn-mobile-column-group {
    flex-direction: column;
  }
}
@media screen and (max-width: 659px) {
  /*LOGIN PAGE*/
  #accountButtonContinue {
    position: fixed;
    top: calc(100% - 64px);
    width: 100%;
    max-height: 64px;
    height: 64px;
    left: 0px;
    margin-left: 0px;
  }

  .loginPage {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0px;
    margin-right: 0px;
  }

  #translateMessage {
    margin-left: 0px;
  }

  #loginWidget {
    max-width: 100%;
    margin-left: 20px;
    margin-right: 20px;
  }

  /* INDUCTION VIDEO */
  /* Used on the video induction page to allow the video to fill the screen*/
  #myElement, #questions_progress {
    width: 100% !important;
  }

  /* HELP PAGE */
  #helpEmail {
    width: 100%;
  }

  /*MOBILE VIEW*/
  .content {
    position: relative;
    top: 87px;
    padding-top: 0px;
    margin-left: 0px;
    padding-left: 20px;
    margin-right: 0px;
    padding-right: 20px;
    max-width: calc(100% - 40px);
  }

  .btnMobileMiddle {
    position: fixed !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    right: 0px !important;
    margin-top: 50px;
    margin-bottom: 0px !important;
    top: auto !important;
    bottom: 0px !important;
    height: 64px !important;
    z-index: 998;
    box-sizing: border-box;
  }

  .btnMobileLeft {
    position: fixed !important;
    width: 50vw !important;
    max-width: 50vw !important;
    min-width: 50px;
    margin-top: 50px;
    margin-bottom: 0px !important;
    top: auto !important;
    bottom: 0px !important;
    left: 0px !important;
    height: 64px !important;
    z-index: 998;
    box-sizing: border-box;
  }

  .btnMobileRight {
    position: fixed !important;
    width: 50vw !important;
    max-width: 50vw !important;
    min-width: 50px !important;
    margin-left: -50px;
    margin-top: 50px;
    margin-bottom: 0px !important;
    top: auto !important;
    bottom: 0px !important;
    right: 0% !important;
    height: 64px !important;
    z-index: 998;
    box-sizing: border-box;
  }

  #mobileLogOut {
    box-sizing: border-box;
  }

  /* SITE PAGE */
  #downloadSiteInfo, #cancelEditBtn {
    margin-right: 10px;
  }

  /*@author Cal*/
  /*Need different padding on Home & Site pages to account for additional admin buttons*/
  #homePageContent, #sitePageContent {
    padding-bottom: 150px;
  }

  /* Navbar translate widget when mobile view */
  #translateWidgetContainer {
    width: 200px;
    float: right;
  }

  /*fix for site page deny btns on small screens to fit on the same line*/
  .btn-mobile-small {
    min-width: 70px !important;
    max-width: 70px !important;
  }

  /*fix for site page deny btns on small screens to fit on the same line*/
  #authorise_operatives_popup button.authoriseOrDenyButton.authoriseButton.btn.btn-default.btn-large {
    width: calc(100% - 80px) !important;
  }
}
@media screen and (min-width: 1250px) {
  .content {
    margin-right: 0px;
    overflow: hidden;
  }
}
/*Changing from mobile view to desktop view. IF CHANGED - CHANGE NAVBAR.JS ALSO*/
@media screen and (min-width: 960px) {
  /*Removes desktop navbar's indentation*/
  .content {
    margin-left: 315px;
    padding-top: 60px;
  }

  ul#navbar {
    text-align: left;
    max-width: 255px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /*Stops log out button getting cut off on mobile landscape on bigger phones*/
  }

  /*Hide mobile page title, menu and logout button*/
  #mobilePageTitle, #mobileMenuButton, #mobileLogOut {
    display: none;
  }

  /*Replace border for logout button*/
  #navbar > *:nth-last-of-type(2) {
    border-bottom-style: solid;
    border-bottom-width: 1px;
  }

  /*Default list items hidden in retracted menu*/
  #navbar > li {
    display: list-item;
  }

  /*Hides the mobile menu buttons*/
  #navbar > li.mobile {
    display: none;
  }

  /*Make the logo big*/
  #navbarLogo > .navbarLogoImage {
    height: 80px;
    margin-left: 27px;
    width: 180px;
    float: none;
    margin-top: 20px;
    margin-bottom: 25px;
    background-image: url(../companySpecific/logo-white.png);
  }

  /*Force the content to continue after the image*/
  #navbarLogo::after {
    content: " ";
    display: block;
    height: 0;
    clear: both;
  }

  /*Remove indentation on Help page when there's no navbar*/
  #helpPageDesktopContent {
    margin: auto;
    width: calc(100% - 40px);
  }

  /* spaces out flag symbols on G Translate widget */
}
@media screen and (min-width: 1250px) {
  .content {
    margin-right: 0px;
    overflow: hidden;
  }
}
/*add white bar to red floating help button when page enters mobile responsive mode*/
@media screen and (max-width: 659px) {
  #helpButton {
    font-size: 15px;
    position: fixed;
    top: 54px;
    color: #eb6961;
    text-decoration: none;
    /*So it's on top of everything except the modal popup background*/
    z-index: 1;
    width: calc(100% - 40px);
    text-align: right;
    height: 25px;
    padding-top: 5px;
    background-color: white;
    right: unset;
    display: block;
  }

  #helpButton.helpButtonReposition {
    padding-top: 26px;
    top: 0px;
  }
}
/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
  /* fix for the plus/minus simbol on responsive data tables*/
  table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: #4FBAAD;
    line-height: 17px;
    font-size: 17px;
    font-weight: bold;
  }
}
/* ----------- iPhone 5, 5S, 5C and 5SE ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
  /* fix for the plus/minus simbol on responsive data tables*/
  table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: #4FBAAD;
    line-height: 17px;
    font-size: 17px;
    font-weight: bold;
  }
}
/* ----------- iPhone 6, 6S, 7 and 8 ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {
  /* fix for the plus/minus simbol on responsive data tables*/
  table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: #4FBAAD;
    line-height: 17px;
    font-size: 17px;
    font-weight: bold;
  }
}
/* ----------- iPhone 6+, 7+ and 8+ ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
  /* fix for the plus/minus simbol on responsive data tables*/
  table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: #4FBAAD;
    line-height: 17px;
    font-size: 17px;
    font-weight: bold;
  }
}
/* ----------- iPhone X ----------- */
/* Portrait and Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
  /* fix for the plus/minus simbol on responsive data tables*/
  table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
    background-color: #4FBAAD;
    line-height: 17px;
    font-size: 17px;
    font-weight: bold;
  }
}
/*fixes zooming bug on Iphone 5 (When clicking on inputs the page zooms in) - Mike G*/
@supports (-webkit-overflow-scrolling: touch) {
  input[type=date], select, option, input[type=text], input[type=email] {
    font-size: 16px;
  }
}

/*# sourceMappingURL=responsiveMobile.css.map */
