@media only screen and (max-width: 1080px){
  .user-logged-in.path-frontpage .content-main .l-content{
    margin: 0 auto;
    margin-top: 20px;
  }
  .user-logged-in.path-frontpage .content-main .l-content #block-forja-userblock .hello,
  .user-logged-in.path-frontpage .content-main .l-content #block-forja-userblock .name{
    max-width: 502px;
    margin: 0 auto;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first{
    margin: 0 auto;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-imagehome{
    display: none;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock{
    margin: 20px auto;
  }
}
@media only screen and (max-width: 1023px){
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .card,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-history-container .card{
    width: 49%;
  }
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .patient-productivity{
    width: 100%;
  }
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .patient-productivity .data .object{
    width: 49%;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container, 
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container{
    display: block;
    float: left;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper, 
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .form-wrapper, 
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper {
    float: left;
    width: 100%;
  }

  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper, .label,
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper, .value,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .form-wrapper, .label,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .form-wrapper, .value,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .label,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .value {
    float: left;
    margin-right: 10px;
  }
}
@media only screen and (max-width: 800px){
  .user-logged-in.path-historial .content-main .region-content .app-functions-history-list-form .patient-preferences-container .no-preferences{
    display: none;
  }
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .no-results{
    margin-top: 20px;
    font-size: 20px;
  }
  .user-logged-out.path-frontpage .region-sidebar-second #block-forja-imagenlogin{
    display: none;
  }
  .user-logged-out.path-frontpage .region-sidebar-second #block-forja-loginblock{
    height: 100vh;
    width: 100%;
    position: relative;
    align-items:  center;
    margin: 0;
  }
  .user-logged-out.path-frontpage .region-sidebar-second #block-forja-loginblock::after{
    content: "";
    position: absolute;
    bottom: 18px;
    left: 35px;
    width: 164px;
    height: 43px;
    background-image: url('../images/logo-forja.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    z-index: 1;
  }
}
@media only screen and (max-width: 768px){
  .path-datos-paciente .content-main,
  .path-historial .content-main,
  .path-preferencias .content-main{
    padding-left: 10px;
    padding-right: 10px;
  }
  .path-node .content-main{
    padding-left: 20px;
    padding-right: 20px;
  }
  .user-logged-in .content-header .region-navigation #block-forja-main-menu {
    max-width: 502px;
  }
  .path-datos-paciente .content-header .region-navigation #block-forja-main-menu,
  .path-preferencias .content-header .region-navigation #block-forja-main-menu,
  .path-historial .content-header .region-navigation #block-forja-main-menu
  {
    max-width: 653px;
  }
  .user-logged-in .content-header .region-navigation #block-forja-main-menu ul{
    margin: 0;
  }
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .card,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-history-container .card{
    width: 100%;
  }
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-history-container .patient-productivity .data .object{
    width: 100%;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container{
    font-size: 20px;
    padding: 15px;
    padding-bottom: 0;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper .label,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .label,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .form-wrapper .label{
    float: left;
    width: 100%;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper .value,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .value,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .value{
    float: left;
    width: 100%;
    margin-bottom: 10px;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper .id-type,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .id-type,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .form-wrapper .id-type{
    width: auto;
  }
  .user-logged-in .content-main .region-content .app-functions-patient-data-form .patient-info-container .form-wrapper .id-number,
  .user-logged-in .content-main .region-content .app-functions-preferences-list-form .patient-info-container .form-wrapper .id-number,
  .user-logged-in .content-main .region-content .app-functions-history-list-form .patient-info-container .id-number{
    width: auto;
  }
  .content-main::before{
    display: none;
  }
  .user-logged-in .l-footer {
    float: left;
    width: 100%;
    padding:10px 0;
  }
}
@media only screen and (max-width: 525px){
  .user-logged-in.path-historial .content-main .region-content .app-functions-history-list-form #preference-form-container .preference-form-fields{
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .user-logged-in.path-historial .content-main .region-content .app-functions-history-list-form .patient-preferences-container .date{
    margin-top:20px
  }
}
@media only screen and (max-width: 502px){
  .content-header .l-branding{
    float: left;
  }
  
  .user-logged-in.path-frontpage .content-main .l-content #block-forja-userblock .hello,
  .user-logged-in.path-frontpage .content-main .l-content #block-forja-userblock .name{
    margin-left: 10px;
    margin-right: 10px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock{
    max-height: inherit;
    margin: 20px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock .title{
    padding: 0;
    margin: 20px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock .title::after{
    display: none;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock .description{
    padding-right: 10px;
    margin: 20px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock form{
    display: block;
    margin: 0 10px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock form .id-number{
    max-width: 100%;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock form .button{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .user-logged-in.path-frontpage .content-main .wrapper-first .region-sidebar-first #block-forja-historyblock form .button-container::before{
    left: 35px;
    top: 25px;
    right: auto;
  }
}
@media only screen and (max-width: 425px){
  .user-logged-out.path-frontpage .region-sidebar-second #block-forja-loginblock .app-functions-login-form {
    max-width: 90%;
    margin: 0 10px;
  }
}

