﻿html, body, div, span, applet, object,
iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr,
acronym, address, big, cite, code,
del, dfn, em, font, img, ins,
kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt,
dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody,
tfoot, thead, tr, th, td
{
    font-size: 14px;
}

#content
{
    margin-bottom: 40px;
}

#wrapmobile
{
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin-bottom: 60px;
    position: relative;
}

.login_popup 
{
    display: none;
    position: absolute;
    right: 20px;
    top: 75px;
    background: #eee;
    width: 220px;
    padding: 10px;
    border: 1px dotted #999;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    box-shadow: 8px 8px 20px #ccc;
    z-index: 1000;
}

.logo_block_mobile
{
	width:100%;
	height:64px;
	clear:both;
	margin-bottom:7px;
	position:relative;
	_z-index:0;
    background: #0194CA;
}

/*  Для ВУ
.logo2mob { 
	display:block;
	width:48px;
	height:60px;
	background:url(../img/Web/logovuMob.png) no-repeat; 
	position:absolute;
	top:0x;
    left: 5px;
} */


/*  Стандартная версия */
.logo2mob {
	display:block;
	width:47px;
	height:30px;
	background:url(../img/Web/logo_megapro.png) no-repeat; 
	position:absolute;
	top:12px;left: 5px;
}


.totalRes {
    padding-left: 5px;
}




.header_login_mobile
{
	position:absolute !important;
	right:20px;top:15px !important;
	_z-index:0 !important;
    background:none;
    cursor: pointer;
    font-size: 1.8em;
    color:white;
}

.nDocMobile
{
    vertical-align: top;
    font-weight: bold;
    font-size: smaller; 
    padding-right: 10px;
    padding-left: 5px;
}

@media screen and (min-width: 300px) {
    #ModuleTitleMobile
    {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 16px;
        font-weight: bold;
        color: #FFFFFF;
        top: 15px;
        left: 55px;
        position: absolute;
    }
    .footermobile {
	    margin-bottom:85px;
    }
}

@media screen and (min-width: 350px) {
    #ModuleTitleMobile {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 18px;
        font-weight: bold;
        color: #FFFFFF;
        top: 15px;
        left: 55px;
        position: absolute;
    }
    .footermobile {
	    margin-bottom:65px;
    }
}

.pernaccmob {
    padding-left: 20px;
    padding-right: 20px;
}

.docs_block{
    padding-left: 10px;
}

.docs_block h1
{
    padding-bottom:0;
    margin-bottom:20px;
    height:48px;
    line-height:48px;
    padding-left:60px;
    background:url(../img/ico_help.png) left center no-repeat;
    color: #4F81BD;
}

.stitle {
    font-weight: bold;
}
    
.bookoverdue {
    font-weight:bold;
    color: red;
}

body .nav > li
{
  display: inline-block;
}

body .nav > li > a {
    padding: 10px 8px;
}

#help_wrap, #history_wrap
{
    display: none;
}

.help_block
{
    padding: 10px;
    border: 1px dotted #cccccc;
    box-shadow: 0px 3px 2px #ebebeb;
    margin-top: 20px;
    border-radius: 8px;
}

.help_block h1 {
    padding-bottom: 0;
    margin-bottom: 20px;
    height: 48px;
    line-height: 48px;
    padding-left: 60px;
    background: url(../img/ico_help.png) left center no-repeat;
    color: #4F81BD;
}

.help_block h2 {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding: 0;
    font-weight: normal;
    color: #4F81BD;
}

.side_h2 {
    font-size: 16px;
    padding-bottom: 5px;
    color: #654790;
    font-weight: bold;
}

.side_cab {
    padding: 10px 0 20px 0;
    border-top: 1px solid #cccccc;
}

.cab_name {
    display: block;
    padding: 10px 2px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #916ABE;
    background: linear-gradient(to bottom, #B788E7 0%,#64478F 100%);
    border-radius: 5px;
}

.cab_name span
{
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    line-height: 19px;
}

.x_button {
    display: block;
    float: right;
    border: 0 none;
    cursor: pointer;
    width: 12px;
    height: 12px;
    background: url(../img/xx.png) no-repeat;
}

.x_button:hover
{
    background: url(../img/xx.png) 0 -12px no-repeat;
}


.login_arrow {
    display: block;
    width: 35px;
    height: 18px;
    background: url(../img/login_arrow.png);
    position: absolute;
    top: -18px;
    right: 50px;
}

.input_block input {
    width: 100%;
    height: 20px;
    padding: 0 10px;
    _padding: 0;
    outline: 0 none;
    border: 1px solid #cccccc;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: inset 0px 5px 5px #ebebeb;
    -webkit-box-shadow: inset 0px 5px 5px #ebebeb;
    box-shadow: inset 0px 5px 5px #ebebeb;
    position: relative;
    z-index: 0;
}

.login_submit input
{
    display: block;
    border: 0 none;
    cursor: pointer;
    width: 60px;
    height: 21px;
    margin: 0 auto;
    background: url(../img/ok_button.png);
}

.login_submit input
{
    display: block;
    border: 0 none;
    cursor: pointer;
    width: 60px;
    height: 21px;
    margin: 0 auto;
    background: url(../img/ok_button.png);
}

.login_submit input:hover
{
    background: url(../img/ok_button.png) 0 -21px;
}

.input_block {
    overflow: hidden;
    padding-bottom: 11px;
    padding-right: 22px;
}
.vkboard
{
    position: absolute;
    z-index: 200;
}

.vkboard.mobsimple
{
    top: 6px;
    right: 50px;
}

strong {
    font-weight: bold;
    color: Red;
}

div.pager {
    text-align: center;
}

div.pager span {
    border: 1px solid #CCDBE4;
    display: inline-block;
    color: Black;
    margin: 0 5px 0 0;
    padding: 2px 8px;
    text-align: center;
    font-size: smaller;
    font-weight: bold;
}

div.pager a {
    border: 1px solid #CCDBE4;
    display: inline-block;
    color: #6E4F9A;
    margin: 0 5px 0 0;
    padding: 2px 8px;
    text-align: center;
    text-decoration: none;
    font-size: smaller;
}

.pageTable {
    border-width: 0;
    border-spacing: 0;
    padding: 0;
    width: 100%;
}

tr.docOdd {
    background-color: #ffffff;
}

tr.docEven
{
    background-color: #EFEFEF;
}

.bs
{
    box-sizing: border-box;
}

/* стандартные таблицы */
table.std
{
    border: 1px solid #C0C0C0;
    margin: 0 auto;
    border-spacing: 1px;
}

table.std th
{
    font-weight: bold;
    margin: 0;
    padding: 0;
}

table.std th, table.std td
{
    vertical-align: middle;
    padding: 5px;
}

table.std thead
{
    margin: 0;
    padding: 0;
}

table.std tbody tr:nth-child(odd)
{
    background-color: #F3EDE4;
}

table.std tbody tr:nth-child(even)
{
    background-color: #F4F0EC;
}

table.std thead tr
{
    background: url(../img/table_th.png) bottom repeat-x white;
    height: 35px;
}

.rowctr:before, .row_ctr:before
{
    counter-increment: rowctr 1; /* Указываем идентификатор счетчика */
    content: counter(rowctr); /* Выводим текст перед содержимым тега */
}


table.std tbody td
{
    text-align: left;
}

table.std thead td
{
    text-align: center;
}

table.std td.left, table.std td.std-l
{
    text-align: left;
}

table.std td.center, table.std td.std-c
{
    text-align: center;
}

table.std td.right, table.std td.std-r
{
    text-align: right;
}

h2 {
    text-align: center;
    font-size: 20px;
    padding: 100px 0 300px 0;
    color: #CC3300;
    font-weight: normal;
}

.year
{
    width: 4em;
    text-align: left;
    height: 20px;
    padding: 0 5px;
    outline: 0 none;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: inset 0px 5px 5px #ebebeb;
    margin: 2px;
}

.msg_red
{
    color: Red;
    border: 1px solid Red;
}

.msg_green
{
    color: Green;
    border: 1px solid Green;
}

#popup_msg
{
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    background-color: #EEE0CC;
    z-index: 999;
    padding: 15px;
    border-radius:8px;
    max-width:80%;
}


