@media only screen and (max-width: 1024px) {
    body.test div.all_lines { margin: 0px auto; max-width: 100%; }
    
    body.test h3.testname { font-size: 12px; }
    body.test div.patientname { margin-left: 10px; margin-right: 10px; font-size: 12px; }
    
    body.test div.ins { margin-left: 10px; margin-right: 10px; padding: 15px; }
    body.test div.ins div.example { margin-left: 0px; margin-right: 0px; }
    body.test div.resultsBlock { margin-left: 10px; margin-right: 10px; }
    body.test div.resultsBlock div.pages { font-size: 10px; }
    body.test div.resultsBlock div.pages span.num { font-size: 10px; }
    body.test div.resultsBlock div.answer div.blockName { font-size: 16px; }
    body.test div.resultsBlock div.answer div.qTitle { font-size: 14px; height: 44px; }
    body.test div.resultsBlock div.answer div.qTitle:before { font-size: 14px; }
    body.test div.resultsBlock div.answer div.answers { margin-top: 5px; }
    body.test div.resultsBlock div.answer div.answers div.answerElem { margin-top: 10px; border-radius: 7px; line-height: 30px; min-height: 30px; font-size: 16px; }
    body.test div.button { margin-left: 10px; margin-right: 10px; width: auto; }
    body.test div.button.auto { line-height: 1.7; font-size: 16px; }
}

@media only screen and (max-width: 768px) {
    
    input[type="text"] { height: 25px; border-radius: 2px; font-size: 12px; }
    select { height: 25px; border-radius: 2px; font-size: 12px; }
    input[type="password"] { height: 30px; border: 1px solid #002e2e; border-radius: 4px; padding-left: 5px; padding-right: 5px; font-size: 14px; }
    textarea { border: 1px solid #002e2e; border-radius: 4px; padding: 5px; font-size: 14px; }
    input[type="button"] { height: 25px; border-radius: 2px; padding: 2px; padding-left: 5px; padding-right: 5px; font-size: 12px; line-height: 1; }
    
    header div.info_string { display: none; height: 10px; min-height: 10px; }
    header div.menu_block { height: 50px; padding: 0px 5px 0px 5px; }
    header div.menu_block div.logo { height: 40px; }
    header { height: 50px; }
    
    body.test header div.info_string { height: auto; background-color: #cecece; padding: 0px 5px 0px 5px; display: flex; }
    body.test header div.info_string div { width: 100%;  }
    body.test header div.info_string div.oTitle { font-size: 12px; font-family: 'robotoblack'; padding: 3px 0 3px 0; }
    
    div.authScreen div.top { top: 50px; }
    div.authScreen div.authWindow { left: 0px; top: 50px; bottom: 0px; right: 0px; width: auto; height: auto; margin-left: 0px; margin-top: 0px; }
    div.authScreen div.authWindow div.left { position: absolute; top: 0px; left: 0px; bottom: 0px; width: 100%; border-right: none; background-color: rgba(0,107,1,0.01); box-shadow: none; }
    div.authScreen div.authWindow div.left div.over img.logo { top: auto; right: auto; width: 110px; bottom: 50px; left: 50%; margin-left: -55px; }
    div.authScreen div.authWindow div.left div.over div.welcome { bottom: auto; top: 20px; font-size: 16px; }
    div.authScreen div.authWindow div.left div.over div.line { bottom: auto; top: 52px; }
    div.authScreen div.authWindow div.left div.over div.subwelcome { bottom: auto; top: 70px; right: 10px; }
    div.authScreen div.authWindow div.right { top: 0px; right: 0px; bottom: 0px; width: 100%; padding: 100px 10px 0px 10px; }
    div.authScreen div.authWindow div.right div.logo { display: none; }
    div.authScreen div.authWindow div.right div.inputString { background-color: #fff; }
    
    div.message { padding: 20px 0 0 0; }
    
    header div.menu_block div.menu { position: absolute; left: auto; right: 5px; top: 55px; z-index: 100; margin-right: -215px; margin-left: 0px !important; width: 210px; padding: 5px; height: auto; background: linear-gradient(to bottom, #2f3438, #40474c); box-shadow: 2px 2px 6px rgba(0,0,0,0.2); -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -ms-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-transform: translateZ(0); }
    header div.menu_block div.menu.vis { margin-right: 0px; }
    header div.menu_block div.menu a._link { display: block; padding-left: 0px; padding-right: 0px; line-height: 1.3; font-size: 13px; padding: 3px; color: #fff; }
    header div.menu_block div.menu a.selected { background: none; color: #fff; }
    header div.menu_block div.menu div._link_withsub { display: block; padding-left: 3px; padding-right: 0px; line-height: 1.3; color: #fff; font-size: 13px; }
    header div.menu_block div.menu div.selected { background: none; color: #fff; }
    header div.menu_block div.menu div._link_withsub div.submenu { position: relative; top: 0px; padding-top: 10px; padding-bottom: 10px; background: none; display: block; box-shadow: none; }
    header div.menu_block div.menu div._link_withsub div.submenu a._link { line-height: 1.5; color: #fff; font-size: 13px; white-space: normal; padding: 0px; padding-left: 20px; padding-right: 0px; }
    header div.menu_block div.menu div._link_withsub div.submenu span { line-height: 1; color: #333; font-size: 13px; padding: 0px; padding-left: 20px; padding-right: 0px; }
    
    img.mmenuimage { display: inline; width: 40px; height: auto; cursor: pointer; position: absolute; right: 5px; top: 5px; }
    div.tt { display: block; position: absolute; right: 52px; top: 8px; }
    div.tt i { font-size: 38px; color: #333; }
    div.tt i.fa-window-restore { font-size: 32px; margin-right: 5px; top: -2px; position: relative; }
    div.tt i.fa-window-restore.mini { transform: scale(-1, 1); }
    
    header div.menu_block div.searchBlock { position: absolute; margin-top: -15px; height: 30px; right: 140px; left: 50px; }
    header div.menu_block div.searchBlock input { position: relative; padding: 0 10px 0 10px; width: 90%; background-color: #888; color: #fff; font-size: 12px; border: none; height: 30px; }

    header div.menu_block div.loaderOfSearch { right: 135px; margin-top: -15px; }
    
    footer { height: 40px; }
    footer.tohide { display: none; }
    footer div.copy { font-size: 11px; padding-bottom: 5px; max-width: 80%; }
    
    div.all_lines { margin: 0px auto; max-width: 100%; }
    div.main_content { padding-top: 0px; padding-bottom: 40px; padding: 0px 10px 40px 10px; }
    div.pageTitle { font-size: 16px; max-width: 90%; }
    
    div.formactionbuttons { padding-top: 5px; margin-top: 5px; }
    
    table.list_table { zoom: 0.5; }
    #usersstable { zoom: 0.4; }
    div.pages_block { margin-top: 10px; }
    div.pages_block a { padding: 5px; border-radius: 4px; font-size: 12px; }
    
    div.globalNewEditWindow div.simpleBigWindow { width: 100%; height: 100%; }
    div.globalNewEditWindow div.simpleSmallWindow { width: 100%; height: 100%; }
    div.globalNewEditWindow div.simpleMediumWindow { width: 100%; height: 100%; }
    div.globalNewEditWindow div.innerWindow div.in { top: 10px; }
    div.globalNewEditWindow div.innerWindow div.in div.margins { margin: 0px 10px 10px 10px; }
    
    div.main_input_form div.main_razdel { border: 1px solid #c7dde9; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; margin-top: 10px; margin-bottom: 0px; padding: 10px; }
    div.main_input_form div.main_razdel h1 { font-size: 110%; margin-bottom: 0px; }
    div.main_input_form div.main_razdel div.submain_razdel { border: 0px; border-radius: 0px; -webkit-border-radius: 0px; -moz-border-radius: 0px; margin-top: 10px; margin-bottom: 0px; padding: 10px; }
    div.main_input_form div.main_razdel div.submain_razdel h2 { font-size: 16px; }
    div.main_input_form p { font-size: 14px; }
    div.main_input_form span.red { font-size: 16px; margin-top: 0px; }
    div.main_input_form p input, div.main_input_form p select { height: 25px; line-height: 25px; font-size: 13px; }
    div.main_input_form div input { height: 25px; line-height: 25px; font-size: 13px; }
    div.main_input_form p textarea { font-size: 13px; }
    div.main_input_form div.arrow { width: 26px; height: 26px; top: -4px; left: -5px; }    
    div.main_input_form div.adding_button { font-size: 12px; }
    div.main_input_form div.fileuploadform { font-size: 14px; padding: 5px; }
    
    table.statOption td { width: 45%; padding-right: 5px; display: inline-block; }
    table.resultTable { zoom: 0.5; width: 100%; }
    div.statResults div.summaryList { position: relative; right: auto; top: auto; bottom: auto; width: 100% !important; margin-top: 10px; }
    div.but span { font-size: 10px; }
    
    div.main_input_form div.flexbox div { padding-bottom: 0px; }
    div.main_input_form div.flexbox div.block_middle { min-height: 25px; height: auto; box-sizing: border-box; padding-bottom: 0px; }
    div.main_input_form div.flexbox div.block_middle span { font-size: 10px; max-width: 90%; }
    
    div.formactionbuttons.panel input[type="button"] { margin-left: 0px; margin-right: 7px; margin-bottom: 10px; }
    div.formactionbuttons.panel input[type="button"].current { box-shadow: 0px 0px 7px rgba(0,0,0,0.5); background-color: #eee; }
    
    div.settings_panel { margin-top: 5px; }
    div.settings_panel p.comments { padding: 10px; font-size: 12px; margin-top: 0px; margin-bottom: 0px; }
    
    div.double_input div.inputString input { padding-left: 10px; }
    
    div.double_input div.inputString div.inputTitle { position: relative; top: 0px; font-size: 12px; margin: 0 10px 0 10px; border-bottom: 1px solid #aaa; padding-bottom: 5px; }
    div.double_input div.inputString { width: 100%; margin-bottom: 0px; margin-top: 10px; }
    div.simple_input input[type="button"] { height: 30px; font-size: 14px; width: 100%; }
    div.double_input div.inputString div.inputTitle i { display: none; }

    table.inputBlockTable td { width: 14.2%; font-size: 10px; }
    table.inputBlockTable td input { width: 80% !important; font-size: 10px !important; margin-top: 5px; padding-left: 0px !important; }
    div.double_input div.inputString select.multipe option { font-size: 12px; padding: 3px 10px 3px 15px; border-radius: 2px; margin-top: 2px; }
    div.inputBlockDivs div.entry { width: 50%; text-align: center; margin-top: 10px; }
    
    table.list_table tr.list_table_element td.tools i { display: block; }
    
    
    div.plate { width: 100%; } 
    div.plate.last { border-left: 0px; border-top: 1px solid #000; }
    
    div.full_table { top: 51px; }
    div.full_table div.shedule_table { padding: 0px 10px 20px 10px; }
    div.full_table div.float_window_tools { font-size: 9px; top: 51px !important; }
    div.full_table div.float_window_tools .otdtohide { display: none; }
    
    div.full_table div.month { padding-top: 25px; }
    div.full_table div.month h2 { font-size: 18px; line-height: 1.1; }
    div.full_table div.month h2 label { display: block; font-size: 14px; }
    
    div.full_table div.dayhiddenmobile { display: none; }
    div.full_table div.weekdev { display: none; }
    div.full_table div.day { width: 100%; margin-top: 15px; }
    div.full_table div.day div.in div.top span.daytext label.inmobileonly { display: inline; }
    div.full_table div.day div.in div.top i div.dr { bottom: 100%; min-width: 250px; min-height: 166px; padding: 52px 0 13px 0; border-radius: 3px; }
    div.full_table div.day div.in div.top i div.dr.mon { margin-left: -125px; }
    div.full_table div.day div.in div.top i div.dr.sun { margin-left: -125px; }
    div.full_table div.day div.in div.top i div.dr div.one { font-size: 17px; line-height: 1.2; }
    
    div.full_table div.day.mini { width: 14.28%; margin-top: 5px; }
    div.full_table div.day.mini.dayhiddenmobile { display: inline-block; }
    div.full_table div.day.mini div.in div.top { padding: 1px; height: auto; word-break: break-all; }
    div.full_table div.day.mini div.in div.top span.daytext { font-size: 8px; }
    div.full_table div.day.mini div.in div.top div.icons { right: 2px; top: 2px; z-index: 20; }
    div.full_table div.day.mini div.in div.top div.icons i { margin-left: 2px; font-size: 16px; }    
    
    div.full_table div.day.mini div.in div.entries div.entry { padding-bottom: 10px; box-sizing: border-box; }
    div.full_table div.day.mini div.in div.entries div.entry div { font-size: 8px; padding: 1px; }
    div.full_table div.day.mini div.in div.entries div.entry div.h { display: none; }
    div.full_table div.day.mini div.in div.entries div.entry div.name { width: 100%; word-break: break-all; }
    div.full_table div.day.mini div.in div.entries div.entry div.diag { width: 100%; text-align: left; word-break: break-all; }
    div.full_table div.day.mini div.in div.entries div.entry div.gosptype { width: 100%; text-align: left; }
    div.full_table div.day.mini div.in div.entries div.entry div.com { display: none; }
    div.full_table div.day.mini div.in div.entries div.entry div.times { width: 100%; text-align: left; }
    div.full_table div.day.mini div.in div.entries div.entry div.times div.aproveBlock { margin-top: 5px; }

    div.hoverWindowback { top: 50px; }
    div.hoverWindowback div.innerWindow { position: absolute; top: 20px; left: 10px; width: auto; height: auto; right: 10px; bottom: 20px; margin-top: 0px; margin-left: 0px; }
    div.hoverWindowback div.innerWindow.smallForedit { height: auto; margin-top: 0px; }
    div.hoverWindowback div.innerWindow div.in h2.title { margin-top: 10px; margin-bottom: 10px; font-size: 15px; max-width: 80%; }
    div.hoverWindowback div.innerWindow div.in span { font-size: 10px; }
    div.hoverWindowback div.innerWindow div.in { margin: 10px; height: 100%; }
    div.hoverWindowback div.innerWindow img.close { margin-right: 10px; top: 10px; cursor: pointer; filter: invert(); z-index: 50; }
    div.hoverWindowback div.innerWindow div.in ol { padding-left: 15px; height: auto !important; }
    div.hoverWindowback div.innerWindow div.in ol li div.searchedElem { font-size: 11px; }
    div.hoverWindowback div.innerWindow div.in ol li div.searchedElem span.found { font-size: 11px; }
    div.hoverWindowback div.innerWindow div.in ol li { font-size: 11px; }
    div.hoverWindowback div.innerWindowForIframe { top: 10px; bottom: 10px; left: 10px; right: 10px; width: auto; margin-left: auto; }
    
    div.hoverWindowback div.innerWindowForIframe img.close { margin-right: 5px; top: 5px; filter: invert(100%); -webkit-filter: invert(100%); }

    .simple-modal { max-width: 95% !important; left: 8px !important; }

    div.entryEditString div.strblock input[type="text"] { height: 20px; border-radius: 2px; font-size: 12px; }
    div.entryEditString div.strblock select { height: 20px; border-radius: 2px; font-size: 12px; }
    div.entryEditString div.strblock textarea { height: 80px; border-radius: 2px; font-size: 12px; }
    div.entryEditString div.strblock span.smallPatientInfo { font-size: 10px !important; line-height: 1; }
    div.entryEditString { margin-bottom: 4px; }
    div.entryEditString_start { justify-content: flex-start; display: block; }
    div.entryEditString input[type="button"] { margin-right: 7px; margin-top: 5px;   }
    div.hoverWindowback div.innerWindow div.in div.statoverwindow.hiden { display: none; }
    
    div.newusersw { top: 50%; left: 10px; width: auto; margin-left: 0px; right: 10px; }
    
    div.in div.searchBlock { height: 100%; }
    
    div.in div.searchBlock div.searchStr input[type="text"] { width: 60%; line-height: 1.4; border-radius: 3px; height: 26px;  }
    div.in div.searchBlock div.searchStr input[type="button"] { width: 40%; line-height: 2; height: 28px;  }
    div.in div.searchBlock div.searchResults { bottom: 20px; top: 60px; max-height: 100%; }
    div.in div.searchBlock div.searchResults table.st { max-width: 100%; }
    div.in div.searchBlock div.searchResults table.st tr.thead th { font-size: 10px; padding-bottom: 3px; word-break: break-all; }
    div.in div.searchBlock div.searchResults table.st tr.thead th i { font-size: 9px; }
    div.in div.searchBlock div.searchResults table.st tr.searchedElem td { font-size: 10px; padding: 4px 2px 3px 2px; word-break: break-all; border-bottom: 1px solid #aaa; }
}



