html, body {
    /*background-color: #F1F5F5;*/
}

.onlymobile {
    display: block;
}

.nomobile {
    display: none !important;
}

.spacer_extreme {
    padding-bottom: 150px;
}

.external_content {
    min-width: unset;
}

.login_external_content {
    min-width: unset;
}

.login_logo{
    height: 164px;
}

.login_img {
    width: 65%;
}

.login_container {
    width: 90%;
    padding-top: 30px;
    padding-bottom: 30px;
}

.login_footer {
    display: none;
}

.topbar {
    width: calc(100% - 40px);
    height: 44px;
    min-height: 0;
    padding-top: 0;
}

.topbar_bottom {
    position: relative;
    height: 44px;
}

/*.topbar_menu {
    display: none;
    background-color: white;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
}*/

.topbar_menu {
    display: none;
    background: #fff;
    position: fixed;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 3;
    min-width: unset;
}

.topbar_label {
    margin: auto;
    height: 16px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 60px;
}

#topbar_logo {
    display: none;
}

#grey_breaking_line {
    display: none;
}

.info_topbar_detail #grey_breaking_line {
    display: block;
}

.topbar_cont_btnmenu {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    height: 16px;
    margin: auto;
}

.back_button_container {
    position: absolute;
    height: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
}

.back_button_label {
    width: unset;
    color: transparent;
    float: left;
    line-height: 20px;
}

.cancel_button_container {
    width: unset;
}

.cancel_button_label {
    width: unset;
    background: none;
}

.save_button_container {
    width: 60px;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 24px;
    cursor: pointer;
}

.save_button_calendar_ext {
    background: url(../images/ico_check.png) no-repeat;
    width: 60px;
}

.back_button_label_calendar_ext {
    color: #42B7B4;
}

.save_button_container .back_button_label {
    display: block;
}

.save_button {
    background-image: none;
    height: 16px;
    line-height: 16px;
    top: 0;
    bottom: 0;
    right: 0;
    width: unset;
    margin: auto;
}

.edit_button {
    background-image: none;
    height: 16px;
    line-height: 16px;
    top: 0;
    bottom: 0;
    right: 0;
    width: unset;
    margin: auto;
}

.edit_button_label {
    width: unset;
    background: none;
}

.report_button_label {
    margin-top: 0;
}

.report_content {
    width: 90%;
}

.report_grey_container {
    padding: 20px;
}

.report_control_wrapperclass {
    width: 100%;
}

.report_content {
    height: unset;
    overflow: scroll;
    scroll-behavior: smooth;
    padding: 40px 0;
}

.report_selectbox_multiple {
    height: 35px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    /* padding: 8px 10px; */
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 14px) 1em, calc(100% - 9px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 4px, 5px 4px, 0px 1.5em;
    background-repeat: no-repeat;
}

.couple {
    flex-flow: column;
}

.couple_reverse {
    flex-flow: column-reverse;
}

.menu_main_container_top {
    padding-top: 85px;
}

.searchbar {
    box-shadow: 0 1px 3px 0 rgba(34,58,57,0.2);
    width: calc(100% - 40px);
    overflow: scroll;
}

.searchbar_fullscreen {
    position: fixed;
    height: 100%;
    margin-top: -50px;
    z-index: 1;
    background-color: #F1F5F5;
}

.searchbar_label {
    margin-right: 10px;
}

.searchbar_listbox {
    /* margin-right: 10px; */
}

#searchbar_buttons_box {
    width: calc(100% - 40px);
}

.content {
    background-color: #F1F5F5;
    box-shadow: 0 1px 3px 0 rgba(34,58,57,0.2);
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.content_container {
    background-color: #DFE8E8;
}

.content_cliente_dettaglio_ext {
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    box-shadow: none;
    padding-bottom: 120px;
}

.info_topbar {
    width: calc(100% - 20px);
    margin: auto;
    position: relative;
    padding-right: 0;
}

.info_topbar_container {
    background-color: #CDDBDB;
    width: 100%;
}

.info_topbar_main {
    width: 100%;
    margin-top: 0;
}

.info_topbar_detail {
    width: 100%;
    margin-top: 0;
    margin-bottom: 12px;
}

.info_topbar_detail .clickable_only_on_mobile {
    color: #42B7B4;
}

.info_topbar_detail .menu_link {
    margin-left: 0;
}

.info_topbar_main #rag_sociale {
    margin-left: 38px;
    margin-top: 3px;
    width: calc(100% - 38px);
}

.info_topbar_main_icon_mobile {
    padding-top: 18px;
    position: absolute;
}

.medic_icon_info_topbar_ext {
    margin-top: -10px;
}

.searchbar_label {
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
}

.searchbar_label_info_topbox_box_special {
    margin-left: 38px;
    width: calc(100% - 38px);
}

.searchbar_label_info_topbar_ext {
    margin-left: 38px;
}

.searchbar_textfield {
    height: 30px;
    width: 100%;
    float: left;
}

.datepicker {
    margin-bottom: 10px;
}

.searchbar_breaking_line {
    color: #DFE8E8;
}

select.searchbar_textfield {
    width: 100%;
    height: 30px;
    margin-bottom: 10px;
    /* text-indent: 10px; */
    background-position: calc(100% - 14px) 1em, calc(100% - 9px) 1em, calc(100% - 1.5em) 0.5em;
}

.searchbar_content {
    padding-bottom: 160px;
}

.searchbar_listbox_cluster {
     margin-left: 0; 
}

.searchbar_checkbox_container {
    float: left;
    margin-top: 0;
}

.searchbar_button {
    height: 30px;
    width: 48%;
    float: left;
    margin: 0;
}

.searchbar_button_selected {
    float: right;
    margin: 0;
}

.searchbar_buttons_box {
    background-color: rgba(223,232,233,0.9);
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(100% - 40px);
    padding: 30px 20px 30px 20px;
}

.searchbar_filters {
    display: block;
    width: 55px;
    float: right;
}

.searchbar_filters_btn {
    background:url(../images/ico_filtra.png) no-repeat;
    width: 18px;
    height: 14px;
    border: none;
    float: left;
}

.searchbar_filters_label {
    float: right;
    font-family: Open-Sans;
    font-size: 14px;
    font-weight: 600;
    color: #42B7B4;
}

.searchbar_results_label {
    float: left;
    font-family: Open-Sans;
    font-size: 14px;
    font-weight: 600;
    color: #99AAA9;
}

.searchbar_close_btn {
    background: url(../images/ico_chiudi.png) no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 20px;
    top: 20px;
}

.searchbar_textfield_search {
    width: calc(100% - 20px);
    margin: 30px 0;
}

select.searchbar_textfield_prodotti {
    width: 144px;
    float: none;
    height: 30px;
    text-indent: 0px;
    background-position: calc(100% - 14px) 1.1em, calc(100% - 9px) 1.1em, calc(100% - 1.5em) 0.5em;
}

select.lstqta_ext {
    height: 30px;
    text-indent: 0px;
    width: 40px;
    background-position: calc(100% - 13px) 1.0em, calc(100% - 9px) 1.0em, calc(100% - 1.5em) 0.5em;}

.repeater_medic_data .searchbar_label {
    width: calc(100% - 10px);
}

.citta_fullscreen {
    width: 46%;
    float: left;
}

.provincia_fullscreen {
    width: 46%;
    float: right;
}

.btn_nuova_visita_ext {
    width: calc(100% - 10px);
    height: 40px;
    line-height: 40px;
}

.btn_nuova_visita_div {
    padding: 20px;
    flex-direction: column;
    position: fixed;
    left: 0;
    bottom: 0;
    width: calc(100% - 40px);
    height: 120px;
    background-color: rgba(223,232,232,0.9);
}

.btn_nuova_visita_ext.doc {
    margin-top: 10px;
    margin-left: 0;
}

div#visit_type {
    width: 100%;
    height: 80%;
}

.visit_type {
    width: 40%;
    margin: 0;
    position: relative;
}

.detail_content {
    width: 90%;
    height: 80%;
    overflow: hidden;
    padding-bottom: 10%;
}

.detail_top_bar {
    min-height: 50px;
    padding: 20px;
}

.detail_top_bar img {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    padding-top: 0;
}

.detail_top_bar #tipo_m {
    margin: 0px;
}

.detail_top_bar #tipo_f {
    margin: 0px;
}

.detail_top_bar #tipo_e {
    margin: 0px;
}

.detail_top_bar #rag_sociale {
    margin: 3px 0 10px 0;
}

.detail_top_bar #mobile_optimized {
    width: calc(100% - 44px);
    float: right;
}

.detail_body_main_div {
    height: 85%;
}

.detail_body {
    padding-left: 20px;
    padding-right: 20px;
}

.detail_prodotto_left_ext {
    width: calc(100% - 105px);
}

.detail_prodotto_right_ext img {
    right: 10px;
}

.detail_prodotto_right_ext span {
     padding-right: 42px; 
}

.newvisit_searchbar {
    background-color: #DFE8E8;
    box-shadow: 0 1px 3px 0 rgba(34,58,57,0.2);
    padding: 20px;
    width: 88%;
}

.newvisit_searchbar_fullscreen {
    position: fixed;
    height: 100%;
    margin-top: 0px;
    z-index: 2;
    background-color: #F1F5F5;
    left: 0px;
    top: 0px;
}

.newvisit_searchbar .searchbar_buttons_box {
    width: calc(100% - 40px);
    padding: 30px 20px 30px 20px;
}

.newvisit_searchbar .searchbar_button {
    width: 42%;
    height: 44px;
    margin-left: 0px;
    margin-right: 0px;
}

.newvisit_searchbar .searchbar_button_selected {
    width: 42%;
    height: 44px;
}

#storico_visite {
    margin-top: 20px;
}

.new_contact {
    min-width: unset;
    display: block;
}

.new_contact .searchbar_label {
    margin: 0px 0px 20px 0px;
}

.new_contact select {
    width: 100%;
    padding-left: 10px;
    background-position: calc(100% - 14px) 1.4em, calc(100% - 9px) 1.4em, calc(100% - 1.5em) 0.5em;
}

.new_contact input {
    width: calc(100% - 12px);
}

.new_contact .container {
    width: 100%;
}

.activity_ext {
    margin-top: 30px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

.nomargin {
    margin: 0px;
}

.campo_mezzo {
    width: 48%;
}

.campo_un_quinto {
    width: 20%;
}

.campo_tre_quarti {
    width: 75%;
}

.searchbar_checkbox_cluster {
    margin-bottom: 10px;
}

#searchbar_content.spaced {
    margin-top: 50px;
}

#searchbar_content.spaced #storico_visite {
    margin-left: 0;
}

.repeater_medic_main_div > div:last-child {
    max-width: 112px;
}