/*Media Queries*/
@media (max-width: 1700px) {
 .last-action-ellipsis{
  width: 200px;
 }
}
@media (max-width: 1680px) {
  .cases-menu-panel {
    padding-left: 30px;
  }
}
@media (max-width: 1520px) {
  .cases-menu-panel {
    padding-left: 0;
  }
}
@media (max-width: 1500px) {
 .last-action-ellipsis{
  width: 165px;
 }
}
@media (max-width: 1366px) {
 .last-action-ellipsis{
  width: 150px;
 }
}
@media (max-width: 1350px) {
  .pending-button, .dashboard-button, .report-button {
    font-size: 14px;
  }
}
@media (max-width: 1310px) {
 .last-action-ellipsis{
  width: 130px;
 }
}
@media (min-width: 1300px) {
 .h1 {
    font-size: 37px;
  }
}
@media (max-width: 1250px) {
  .case-btn {
    padding: 4px 10px;
  }
}
@media (max-width: 1220px) {
 .last-action-ellipsis{
  width: 120px;
 }
}
@media (max-width: 1099px) {
  .calendar-day-selected {
    margin-left: 0em !important;
  }
  .cases-home-panel section {
    margin: 30px 0 10px 0;
  }
  .pending-button-active .arrow-active, .dashboard-button-active .arrow-active, .report-button-active .arrow-active {
    right: -16px;
  }
  .pending-button-active .arrow-border, .dashboard-button-active .arrow-border, .report-button-active .arrow-border{
    right: -15px;
  }
  .write-consult-button, .ask-for-info-button, .close-case-button, .reply-button, .reassign-button, .cancel-case-button, .econsult-viewcase-header, .note-content-paragraph, ul.cases-menu .semi-bold {
    font-size: 13px;
  }
  .case-list-title{
    font-size: 14px;
  }
  .econsult-case-heading {
    font-size: 20px;
  }
}
@media (max-width: 1399px) {
  .calendar-day {
    font-size: 14px !important;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .eventlist-responsive{
    width: 45% !important;
  }
  .calendar-responsive{
    margin-left: 15px;
  }
  .calendar-container {
    margin: 10% auto 0 !important;
  }
  .event-detail-wrapper {
    width: 55% !important;
    left: 45% !important;
  }
}
@media (min-width: 1400px) and (max-width: 1599px) {
  .eventlist-responsive{
    width: 40% !important;
  }
  .calendar-responsive{
    margin-left: 15px;
  }
  .event-detail-wrapper {
    width: 60% !important;
    left: 40% !important;
}
}
@media (min-width: 1600px) {
  .eventlist-responsive{
    width: 30% !important;
  }
  .calendar-responsive{
    margin-left: 15px;
  }
}
@media (max-width: 1299px) {
  .h1 {
    font-size: 35px;
  }
  .nohub .h1{
    font-size: 37px;
  }
  .welcome-text{
    width: 850px;
  }
  .static-text{
    width: 72%;
  }
  .nohub .welcome-text{
    width: 895px;
  }
  .static-text-wrapper li {
    width: 30%;
  }
  .spacing-in-between{
    padding: 0 0 0 10px;
  }
}
@media (max-width: 1199px) {
  .top-profile-detail-text {
    width: 720px !important;
  }
  .profile-detail-text {
    width: 720px;
  }
  .system-addtofavourite {
    background-position: 14px !important;
  }
  .system-videoconference {
    background-position: 16px !important;
  }
  .contact-delete {
    padding: 10px 13px !important;
  }
  .contact-edit {
    padding: 10px 15px !important;
  }
  .eventlist-responsive{
    width: 45% !important;
  }
  .event-detail-wrapper {
    width: 55% !important;
    left: 45% !important;
  }
  .calendar-responsive{
    margin-left: 15px;
  }
  .calendar-day {
    height: 5em !important;
    width: 5em !important;
  }
  .calendar-day-selected {
    margin-left: 0em !important;
  }
  .calendar-container {
    margin: 15% auto 0 !important;
  }
  .calendar-day-has-events {
    margin-left: -0.25em !important;
  }
   .cases-menu-panel {
    margin-left: 0;
  }
  .consult-list,
  .consult-page{
    width: 30%;
    left: 20%;
  }
  .econsult-view-case-container{
    left: 50%;
    width: 50%;
  }
  .case-heading, .case-field, .patient-info-field, .case-question-field, .referrer-dropdown, .referrer-field{
    font-size: 14px;
  }
  .priority-description{
    display: none;
  }
  .pending-button, .dashboard-button, .report-button, .econ-filter, .search-button {
    font-size: 13px;
  }
  .cases-home-panel{
    width: 20% !important;
  }
  .econ-shift-left{
    margin-left: 20%;
  }
  .write-consult-button, .ask-for-info-button, .close-case-button, .reply-button, .reassign-button, .cancel-case-button{
    margin-right: 10px;
  }
  .case-view-padding {
    padding: 10px 10px 0 25px;
  }
  .patient-info td:nth-child(1) {
    padding-right: 20px;
  }
  .ohip-num {
    width: 60%;
  }
  .case-wrapper section{
    padding: 15px 20px;
  }
  .case-priority-wrapper{
    margin-left: 0;
  }
  section .pull-right:nth-last-child(3){
    margin-right: 0;
  }
  .case-btn{
    margin: 0 5px;
  }
  .date-picker-wrapper span{
    min-width: 20%;
  }
  .specialist-col-adjustment{
    padding-right: 20px;
  }
  .referrer-col-adjustment {
    padding-right: 25px;
  }
  .program-header{
    width: 722px;
  }
  .pdf-btn-wrapper{
    right: 30px;
  }
  .econsult-case-heading{
    max-width: 85%;
  }
  .last-action-ellipsis{
    width: 150px;
  }
}
@media (max-width: 1120px) {
  .h1 {
    font-size: 27px;
  }
  .nohub .h1{
    font-size: 37px;
  }
  .welcome-text{
    width: 680px;
  }
  .last-action-ellipsis{
    width: 135px;
  }
}
@media (max-width: 1044px) {
  /* Set the fixed height of the footer here */
  .footer-nav {
    height: 60px;
    text-align: center;
  }
  /* Set the fixed height of the footer here */
  #footer {
    clear: both;
    height: 60px;
    border-top: 1px solid #e7e7e7;
    background-color: #f5f5f5;
    text-align: center;
  }
  .footer-nav span {
    float: left;
    width: 100%;
  }
  .consult-page {
    bottom: 65px;
    padding-right: 15px;
  }
}
@media (max-width: 1010px) {
  .nohub .h1{
    font-size: 32px;
  }
  .detail-heading{
    display: block !important;;
  }
}
@media (max-width: 1050px) {
 .last-action-ellipsis{
  width: 130px;
 }
}
@media (max-width: 1024px) {
  .slider-heading {
    padding: 100px 0 20px 80px;
  }
  .slider-copy {
    padding-left: 80px;
  }
  .programs {
    font-size: 16px;
  }
}
@media (min-width: 992px) {
  .event-list {
    width: 90%;
  }
}
@media (max-width: 991px) {
  .h1 {
    font-size: 23px;
  }
  .nohub .h1 {
    font-size: 32px;
  }
  .welcome-text{
    width: 580px;
  }
  .static-text{
    width: 67%;
  }
  .nohub .welcome-text{
    width: 775px;
  }
  .container {
    padding: 0;
  }
  .top-profile-detail-text {
    min-width: 500px;
    width: auto !important;
  }
  .profile-detail-text {
    width: 100%;
  }
  .system-addtofavourite {
    background-position: 7px !important;
  }
  .system-videoconference {
    background-position: 7px !important;
  }
  .contact-delete {
    padding: 10px 6px !important;
  }
  .contact-edit {
    padding: 10px 8px !important;
  }
  .custom-width {
    min-width: 212px !important;
  }
  .calendar-day {
    height: 4em !important;
    width: 4em !important;
  }
  .calendar-day-selected {
    margin-left: -0.75em !important;
  }
  .calendar-day-has-events {
    margin-left: -0.65em !important;
  }
}
@media (max-width: 600px) {
  .h1 {
    font-size: 19px !important;
  }
  .container-fixed {
    margin: 0 10px;
    min-width: 560px;
    width: auto;
  }
  #searchForm-small {
    position: relative;
    float: left;
    width: 305px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
  }
  #searchbar-v2 {
    position: relative;
    z-index: 0;
    padding: 0 10px 0 10px;
    width: 250px;
    height: 27px;
    background-color: #fff;
    color: #888888;
    font: 16px arial, sans-serif;
    cursor: text;
  }
  .hcp-profile-picture {
    float: left;
    width: 60px;
    height: 89px;
    background-image: url(../images/hcp-picture.png);
    background-position: 5px 18px;
    background-repeat: no-repeat;
  }
  .site-profile-picture {
    float: left;
    width: 60px;
    height: 89px;
    background-image: url(../images/site-picture.png);
    background-position: 5px 18px;
    background-repeat: no-repeat;
  }
}
@media (min-width: 893px) {
  header {
    position: relative;
    width: 100%;
    height: 40px;
  }
  header.clone {
    position: fixed;
    top: -40px;
    z-index: 2;
    transition: 0.25s top ease-out;
  }
  body.down header.clone {
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
  }
  #contact-hcps {
    display: none;
  }
  #contact-site {
    display: none;
  }
}
@media (max-width: 892px) {
  .h1 {
    font-size: 29px;
  }
  .welcome-text{
    width: 705px;
  }
  .static-text {
    width: 70%;
  }
  .nohub .h1{
    font-size: 29px;
  }
  .nohub .welcome-text{
    width: 705px;
  }
  .page-header{
    margin: 70px 0 20px;
  }
  .nohub .page-header{
    margin: 200px 0 20px;
  }
  header {
    position: relative;
    width: 100%;
    height: 40px;
  }
  header.clone {
    position: fixed;
    top: -40px;
    z-index: 2;
    transition: 0.25s top ease-out;
  }
  #wrap {
    /* Pad bottom by footer height */
    /*  padding: 0 0 60px;*/
    overflow: hidden;
    /* Negative indent footer by its height */
    margin: 0 auto -60px;
    min-height: 100%;
    height: auto;
  }
  #wrap:after {
    display: block;
    height: 60px;
    content: "";
  }
  /* Set the fixed height of the footer here */
  .footer-nav {
    height: 60px;
    text-align: center;
  }
  .push {
    clear: both;
    height: 60px;
  }
  fieldset {
    left: 0;
  }
  .footer-nav span {
    float: left;
    width: 100%;
  }
  #filter-check:checked + #filter {
    width: 30%;
  }
  #filter-check:checked ~ .page-wrap {
    width: 70%;
  }
  .menu-bar {
    display: none;
  }
  #searchForm-small {
    position: relative;
    float: left;
    width: 385px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
  }
  #searchbar-v2 {
    position: relative;
    z-index: 0;
    padding: 0 10px 0 10px;
    width: 330px;
    height: 27px;
    border: 1px solid rgb(185, 185, 185);
    border-top-color: rgb(160, 160, 160);
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: #888888;
    font: 16px arial, sans-serif;
    cursor: text;
  }
  .search-result {
    margin: 0;
  }
  .result-wrap {
    display: block;
/*    margin: 20px auto 15px auto;*/
    width: auto;
  }
  .result-text-wrap {
    width: auto;
  }
  .result {
    width: auto;
  }
  .search-result-text {
    width: 89%;
  }
  header.clone {
    position: fixed;
    top: -80px;
    z-index: 2;
    display: none;
    transition: 0.25s top ease-out;
  }

  .menu-bar {
    display: none;
  }
  /* Set the fixed height of the footer here */
  #footer {
    clear: both;
    height: 60px;
    border-top: 1px solid #e7e7e7;
    background-color: #f5f5f5;
    text-align: center;
  }
  .container-fixed {
    margin: 0 20px;
    min-width: 665px;
    width: auto;
  }
  .push {
    clear: both;
    height: 60px;
  }
  fieldset {
    left: 0;
  }
  .footer-nav span {
    float: left;
    width: 100%;
  }

  .btn-wrapper {
    margin: 20px 0 0 147px !important;
  }
  .service-icon {
    width: 30% !important;
  }
  .two-col {
    margin: 0 35px 0 0 !important;
  }
  .overflow-reset {
    min-height: 652px !important;
  }
  .help-link {
    position: absolute;
    top: 15px;
    right: 28px;
    width: 30px;
  }
  .profile-pic-wrapper {
    display: none;
  }
  .right-column {
    margin-top: 10px;
    margin-left: 0 !important;
  }
  .top-profile-detail-text {
    width: 751px !important;
    border-left: none !important;
  }
  .profile-detail-text {
    width: 751px !important;
    border-left: none !important;
  }
  .page-wrap {
    padding: 30px 0 0 0 !important;
  }
  .quick-link {
    right: 28px;
  }
  .edit-btn {
    border: none !important;
  }
  .search-panel {
    width: 370px !important;
  }
  input.address {
    width: 295px !important;
  }
  .filter-panel {
    width: 370px !important;
  }
  .result-panel {
    width: 370px !important;
  }
  .location-result {
    width: 370px !important;
  }
  .proximity-warning {
    width: 370px;
  }
  .proximity-search-result {
    top: 108px !important;
  }
  .map-wrap {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: inline-block;
    width: 100% !important;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 4px 15px -5px rgba(0, 0, 0, 0.0);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 4px 15px -5px rgba(0, 0, 0, 0.0);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 4px 15px -5px rgba(0, 0, 0, 0.0);
    -ms-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 4px 15px -5px rgba(0, 0, 0, 0.0);
    -o-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3), 0 4px 15px -5px rgba(0, 0, 0, 0.0);
  }
  .map-thrumb {
    display: block;
    width: 100%;
    height: 350px;
    background-image: url(../images/map-large-thrumb.jpg);
    background-repeat: no-repeat;
  }
  .borderfix {
    display: none;
  }
  .page-margin-fix {
    padding-top: 76px;
    padding-right: 0;
    padding-bottom: 60px;
  }
  .proximity-search-result .dropdown-menu.custom-position {
    left: -150px;
    width: 500px;
  }
  #contact-hcps {
    display: block;
  }
  #contact-hcps:after {
    display: block;
    height: 80px;
    content: "";
  }
  #contact-site:after {
    display: block;
    height: 80px;
    content: "";
  }
  #contact:after {
    display: block;
    height: 80px;
    content: "";
  }
  
  .breadcrumb {
    margin: 5px 0 !important;
  }

  .slider-heading {
    padding: 100px 0 20px 50px;
  }
  .slider-copy {
    padding-left: 50px;
    padding-right: 50px;
  }
  .page-hub-header{
    margin: 0px 260px 0 0 !important;
  }
  .programs {
    height: 80px;
  }
  .descriptions{
    height: 80px;
  }
  .nohub .page-hub-header{
    margin: 200px 0 20px !important;
  }
  .padding-fix{
    padding: 60px 20px 20px 50px;
  }
  .otnhub-padding-fix{
    padding: 60px 20px 20px 50px;
  }
  .calendar-container {
    margin: 25% auto 0 !important;
  }
  .calendar-day-has-events {
  margin-left: -0.65em !important;
  }
  .calendar-day-selected {
    width: 2em !important;
    height: 2em !important;
    border-radius: 1em !important;
    margin-top: -0.3em !important;
    margin-left: 0em !important;
    padding-top: 0.2em !important;
  }
  .detail-wrapper{
    padding: 10px 20px 0px 0px !important;
  }
  .margin-left-remain{
    margin-left: 247px !important;
  }
  .cases-home-panel, .econsult-view-case-container{
    bottom: 60px;
  }
  .consult-list {
    bottom: 90px;
  }
}
@media (max-width: 768px) {
  .h1 {
    font-size: 25px;
  }
  .welcome-text{
    width: 615px;
  }
  .static-text {
    width: 68%;
  }
  .nohub .h1 {
    font-size: 25px;
  }
  .nohub .welcome-text{
    width: 615px;
  }
  .nohub .static-text {
    width: 68%;
  }
  .event-date-heading {
    font-size: 24px !important;
  }
  .event-headline {
    font-size: 14px !important;
  }
  .event-row {
    font-size: 13px !important;
  }
  .event-list-clinical-icon, .event-list-learning-icon, .event-list-meeting-icon{
    top: 4px !important;
  }
  .calendar-month-heading {
    font-size: 22px !important;
  }
  }
@media (min-width: 768px) {
  .container-auto {
    width: auto !important;
  }
}
@media (min-width: 600px) {
   .col-md-6 {
    width: 50%;
  }
  .col-md-12 {
    width: 100%;
  }
  .col-md-2 {
    width: 16.66666667%;
  }
  .col-md-8 {
    width: 66.66666667%;
  }
  .event-list {
    width: 100%;
  }
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
}
@media (max-width: 660px) {
  .h1 {
    font-size: 20px;
  }
  .nohub .h1 {
    font-size: 22px;
  }
}
@media (max-width: 480px) {
  .h1 {
    font-size: 16px;
  }
  .nohub .h1 {
    font-size: 16px !important;
  }
}
@media (max-height: 980px) {
  .location-result {
    height: 250px !important;
  }
  .location-result.full-result {
    height: 550px !important;
  }
}
@media (max-height: 790px) {
  .location-result {
    height: 180px !important;
  }
  .location-result.full-result {
    height: 400px !important;
  }
}
@media (min-height: 980px) {
  .location-result.full-result {
    height: 710px !important;
  }
}

/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* Styles */
  .search-result {
    margin: 0 0 0 5px;
  }
  .quick-link {
    right: 21px;
  }
}
