@-ms-viewport { width: device-width;}
@-o-viewport  { width: device-width;}
@viewport { width: device-width;}

@media print {
    .break-after { position: relative; page-break-after: always !important; }
    #autorize, #p-showEnotherModes, #p-showCorrectStatistic { display: none; }
    .hide-by-wish { display: none; }
/*
    table tr.tr-devide {position: relative; page-break-inside: avoid !important;}
   table { position: relative; page-break-inside:auto !important; }
   tr.tr-devide    { position: relative; page-break-inside:avoid !important; page-break-after:auto !important }
    .header-left-top, .a-right-bottom, .time-right-bottom,  .breadcrumbs { display: none; }
*/
                        }
* { -webkit-print-color-adjust: exact; }


html { background-color: #ccc; }
body { max-width: 1333px; margin: 0 auto; padding: 14px; font-size: 14px; font-family: "Times New Roman", Times, serif; line-height: 150%; background-color: #fff; color: #000;}

table.tbl {border-collapse: collapse; width: 100%; font-size: 14px; line-height: 100%;}
table.tbl td {border: 1px solid; border-color: #ccc; padding: 1px 2px;}

#frm-opersvodka { text-align: center; font-size: 18px; margin: 88px 55px 0 0; }

.frm input {border: 0; background-color: transparent; width: 43px; text-align: center; padding: 0 1px;}
.frm input.btn {border: outset; background-color: #efefff; width: auto;}

.frmf input {border: 0; background-color: transparent; width: 100%; text-align: center;}
.frmf input.btn {border: outset; background-color: #efefff; width: auto;}

input.datepicker-here {width: 77px; border: 0; font-size: 16px; font-family: "Times New Roman", Times, serif;}

a {text-decoration: none; padding: 3px; color: #000;}
a:hover {text-decoration: underline; background-color: #efefef; color: #000;}
table.clndr_tbl { border-collapse: collapse; display: inline; position: absolute; margin-left: -125px; margin-top: 22px; display: none; background-color: #fff; font-size: 16px;}
.disabled { color: #000; background-color: transparent; }
.disabled:hover { color: #000; text-decoration: none; }
input:disabled { color: #000; background-color: transparent; }
:disabled { color: #000; }
.bold { font-weight: 555; }

#dt1, #dt2 { display: inline; position: relative; }

.darktr { background-color: #ddd; }

#loginform { position: absolute; top: 0; left: 0; background-color: #fff; border: 1px dashed #000; padding: 14px; z-index: 0; display: none; }
#loginform-btn-enter { display: inline-block; float: left; }
#loginform-btn-exit { display: inline-block; float: right; }

#mchs { cursor: pointer; }

#soglasovano select { border: 0; font-size: 14px; font-family: "Times New Roman", Times, serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;}

.tbl-txt { width: 100%; position: relative; }
.tbl-txt input { width: 100%; border: 0; font-size: 14px; font-family: "Times New Roman", Times, serif; }

table.tbl-txt-drop { position: absolute; border-collapse: collapse; border: 1px #ccc solid; background-color: #fff; float: right; display: none; }
.tbl-txt-drop td { padding: 0 5px; text-align: right; }
.tbl-txt-drop tr:hover { border: 1px #ccc solid; cursor: pointer; }
.tbl-txt-drop td:hover { background-color: #eee; border: 1px #ccc solid; cursor: pointer; }

#prognoz td { padding: 7px 6px 7px 7px; display: table-cell; }
#prognoz textarea { height: 100%; width: 100%; margin: 0; border: 0; font-family: "Times New Roman", Times, serif; display: inline-block; vertical-align: middle; font-size: 14px; }

p.c2 {font-style: italic; font-weight: bold; text-align: center;}
p.c1 {font-weight: bold; text-align: center;}

span { font-weight: bold; }     /* background-color: #ff3;*/


#prognoz td, #pozapiska td, #rezhifunct td { line-height: 115%; padding: 7px; }
#prognoz td:nth-child(2n), #pozapiska td:nth-child(2n), #rezhifunct td:nth-child(2n) { line-height: 130%; max-width: 1170px; }    /* color: #009;*/

.soglasovano input { border: 0; border-bottom: 1px solid #eee; margin-top: 21px; width: 100%; }                     /* color: #009;*/
td.sgls-1  { width: 1111px; text-align: left; }
td.sgls-2 input { text-align: right; }

.vertical td {
    transform:  rotate(-90deg);
    height: 55px;
}

#im_orel { margin: 0 155px; }

.matematika {display: inline; width: 30px !important; border-bottom: 1px solid #339 !important; margin: 0 !important; padding: 0; margin-left: 6px; font-weight: bold;}
#math_pozapiska { border: 0; margin: 0;}
#math_pozapiska td { border: 0; margin: 0; padding: 0; }

.error { background-color: #f00 !important; color: #fff !important; font-weight: bold; }

.editable {}

#autorize { float: right; background-color: #fff; border: 1px dashed #000; margin: 7px; padding: 7px 7px 0; z-index: 0; }
#autorize input { margin-bottom: 7px; }
#autorize input:-webkit-autofill { -webkit-box-shadow: inset 0 0 0px 9999px white; border: 1px solid #888; }
#autorize input                  { -webkit-box-shadow: inset 0 0 0px 9999px white; border: 1px solid #444; }

#stat_opersvodka td { text-align: center; }
td.stoprsv-left { text-align: left !important; padding: 6px !important; cursor: pointer; }
td.td-btn:hover { cursor: pointer; background-color: #efefef; }

#pozapiska-1-2 span { font-weight: 900; }



@media all and (max-width: 1345px) {
    html { width: 1334px; background-color: #fff; }
    body { padding: 14px 0; }

  #autorize { float: left; margin: 0 888px 33px 55px; }
}