/*
    CSS

    copyright (c) 2015 MEGA-NET.RU for SUBNETS.RU project (Moscow, Russia)
    Authors: Nikolaev Dmitry <virus@subnets.ru>, Panfilov Alexey <lehis@subnets.ru>
*/
body {
    font-family: Verdana, Tahoma, Arial;
    font: 14px/18px Arial, sans-serif;
    background: #b4dcf5;
    color: #000080;
}
h1, h2, h3 {
    margin: 10px;
}

span.copyright {
    position: absolute;
    bottom: 0;
    left: 10px;
    padding-bottom: 5px;
    font-size: 10px;
}

span.copyright a {
    font-family: Verdana, Tahoma, Arial;
    font-size: 10px;
    color: #000080;
    text-decoration: none;
}

small {
    font-size: 10px;
}

table {
    border-collapse: collapse;
}

td {
    padding-left: 5px;
    padding-right: 5px;
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    border: 1px #000080 solid;
    white-space: nowrap;
}

td.bad {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    background: #e48473;
    color: #000080;
    border: 1px #000080 solid;
    white-space: normal;
    padding: 5px;
}

thead th{
    padding: 10px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, Tahoma, Arial;
    background: #BFF08E;
    color: #000080;
    border: 1px #000080 solid;
    white-space: nowrap;
}

td.head {
    padding: 10px;
    font-size: 13px;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, Tahoma, Arial;
    background: #BFF08E;
    color: #000080;
    border: 1px #000080 solid;
    white-space: nowrap;
}

textarea {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    background: #FFFFFF;
}

legend {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
    font-family: Verdana, Tahoma, Arial;
    background: #e4cf69;
    color: #000080;
    border: 3px #000080 dotted;
}

hr {
    border: 1px #000080 dotted;
    margin-top: 10px; 
    margin-bottom: 10px;
}

.but {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    background-color: #BFF08E;
    font-weight:bold;
    padding: 3px;
}

a {
    cursor: pointer;
    text-decoration: underline;
}

a:link {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    text-decoration: underline;
    white-space: nowrap;
}

a:visited {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    text-decoration: underline;
    white-space: nowrap;
}

a:hover {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #FF0000;
    text-decoration: underline;
    white-space: nowrap;
}

select, .ena {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
}

.dis {
    font-family: Verdana, Tahoma, Arial;
    font-size: 12px;
    color: #000080;
    background: #b4dcf5;
}

ul { 
    list-style-type: square;
    list-style-position: outside;
    margin-left: 20px;
}

select {
    padding: 2px;
    font-size: 12px;
    background-color: #afeeee; 
    border: 1px solid #0000ff;
    /*font-family: Verdana, Tahoma, Arial;*/
}

input[type="text"] {
    padding-left: 2px;
    font-size: 12px;
    background-color: #afeeee; 
    border: 1px solid #0000ff;
    /*font-family: Verdana, Tahoma, Arial;*/
    height: 20;
}

form {
    display: inline;
}
.vAlignMiddle {
    vertical-align: middle;
}

.home {
    width: 32px;
    height: 32px;
    margin-top: -15px;
}

.button { font-size: 5px; margin: 20px 0; white-space: nowrap; }
.button-main {
    min-width: 140px;
    display: inline-block;
    cursor: pointer;
    font: 14px Jura,sans-serif;
    font-weight: bold;
}

.button-disabled { cursor: not-allowed; }

.button-rad {
    border-radius: 20px;
    -webkit-border-radius: 20px;	/*Google Chrome*/
    -moz-border-radius: 20px;		/*FireFox*/
    -khtml-border-radius: 20px;		/*Safari*/
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

#newsDiv {
    margin: 20px;
}
#newsMsg {
    margin-top: 10px;
    max-width: 1000px;
    overflow: auto;
    overflow-wrap: break-word;
    padding-top: 5px;
    padding-bottom: 15px;
}
#newsDate {
    border: 2px dotted black;
    padding: 5px;
    background: #BFF08E;
}

/* ----- INFORMER ----- */
div.informer {
    visibility: hidden;
    display: none;
    position: absolute;
#    top: -10px;
    z-index: 1000;
}

div.informer_general {
    font-family:  sans-serif, arial, helvetica;
    font-style: italic;
    font-size: 14px;
    padding: 15px 20px 10px 20px;	/*top right bottom left*/
    font-weight: bold;
    text-align: center;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
}

div.informer_good {
    border-left: 3px #000080 solid; 
    border-right: 3px #000080 solid; 
    border-bottom: 3px #000080 solid; 
    color: #000000;
    background-color: #19E385;
}

div.informer_bad {
    border-left: 3px #dd0000 solid;
    border-right: 3px #dd0000 solid;
    border-bottom: 3px #dd0000 solid;
    color: #dd0000;
    background-color: #ffbbbb;
}

div.informer_unknown {
    border-left: 3px #000080 solid;
    border-right: 3px #000080 solid;
    border-bottom: 3px #000080 solid;
    color: #000080;
    background-color: #88ceff;
}

div.error {
    width: 50%;
    overflow: auto;
    margin: 10px 0 10px 10px;
    border: 3px #dd0000 solid;
    color: #dd0000;
    background-color: #ffbbbb;
    padding: 10px;
    white-space: normal;
}

/* ---- REQUIRED FIELDS ---- */
input.required {
    border: 1px solid red;
}
textarea.required {
    border: 1px solid red;
}
select.required {
    border: 1px solid red;
}

/*======================================================*/

html, body, div {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
	width: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}

.wrapper {
	/*width: 1000px;*/
	margin: 0 10;
	margin-top: 80px;
	min-height: 100%;
	height: auto !important;
	height: 90%;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
}

/* Middle
-----------------------------------------------------------------------------*/
.content {
	margin-top: 60px;
	padding: 0 0 50px;
}

/*MENU*/
@import url(http://fonts.googleapis.com/css?family=Lato);
*, *:before, *:after {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
}

/*| Navigation |*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #BFF08E;
  box-shadow: 0 3px 10px -2px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 10px;
}

nav ul {
  list-style: none;
  position: relative;
  float: right;
  margin-right: 100px;
  display: inline-table;
  margin-left: 0px;
}

nav ul li {
  float: left;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

nav ul li:hover {
    background: rgba(0, 0, 0, 0.15);
}

nav ul li:hover > ul {
  display: block;
}

nav ul li {
  float: left;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

nav ul li a {
  display: block;
  padding: 5px 10px;
  color: #222;
  font-size: .9em;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

nav ul ul {
  display: none;
  background: #BFF08E;
  position: absolute;
  box-shadow: -3px 3px 10px -2px rgba(0, 0, 0, 0.1);
  border: 3px solid rgba(0, 0, 0, 0.1);
  margin-left: 5px;
}

nav ul ul li {
  float: none;
  position: relative;
}

nav ul ul li a {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
}
