html, body{
        margin: 0;
        padding: 0;
	width: 100%;
	height: 100%;
}
.hidden-fields {
	display: none;
}

/* Главное меню */
#menu
{
        width: 100%;
        margin: 0;
        padding: 10px 0 0 0;
        list-style: none;
background: rgb(216,216,216); /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q4ZDhkOCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iI2EwYTBhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjIxJSIgc3RvcC1jb2xvcj0iIzdjN2M3YyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM0JSIgc3RvcC1jb2xvcj0iIzVlNWU1ZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzQ0NDQ0NCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzVlNWU1ZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijc3JSIgc3RvcC1jb2xvcj0iIzdjN2M3YyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg3JSIgc3RvcC1jb2xvcj0iI2EwYTBhMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNiZmJmYmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, rgba(216,216,216,1) 0%, rgba(160,160,160,1) 10%, rgba(124,124,124,1) 21%, rgba(94,94,94,1) 34%, rgba(68,68,68,1) 50%, rgba(94,94,94,1) 66%, rgba(124,124,124,1) 77%, rgba(160,160,160,1) 87%, rgba(191,191,191,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(216,216,216,1)), color-stop(10%,rgba(160,160,160,1)), color-stop(21%,rgba(124,124,124,1)), color-stop(34%,rgba(94,94,94,1)), color-stop(50%,rgba(68,68,68,1)), color-stop(66%,rgba(94,94,94,1)), color-stop(77%,rgba(124,124,124,1)), color-stop(87%,rgba(160,160,160,1)), color-stop(100%,rgba(191,191,191,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(216,216,216,1) 0%,rgba(160,160,160,1) 10%,rgba(124,124,124,1) 21%,rgba(94,94,94,1) 34%,rgba(68,68,68,1) 50%,rgba(94,94,94,1) 66%,rgba(124,124,124,1) 77%,rgba(160,160,160,1) 87%,rgba(191,191,191,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(216,216,216,1) 0%,rgba(160,160,160,1) 10%,rgba(124,124,124,1) 21%,rgba(94,94,94,1) 34%,rgba(68,68,68,1) 50%,rgba(94,94,94,1) 66%,rgba(124,124,124,1) 77%,rgba(160,160,160,1) 87%,rgba(191,191,191,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(216,216,216,1) 0%,rgba(160,160,160,1) 10%,rgba(124,124,124,1) 21%,rgba(94,94,94,1) 34%,rgba(68,68,68,1) 50%,rgba(94,94,94,1) 66%,rgba(124,124,124,1) 77%,rgba(160,160,160,1) 87%,rgba(191,191,191,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(216,216,216,1) 0%,rgba(160,160,160,1) 10%,rgba(124,124,124,1) 21%,rgba(94,94,94,1) 34%,rgba(68,68,68,1) 50%,rgba(94,94,94,1) 66%,rgba(124,124,124,1) 77%,rgba(160,160,160,1) 87%,rgba(191,191,191,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d8d8d8', endColorstr='#bfbfbf',GradientType=0 ); /* IE6-8 */
        -moz-box-shadow: 0 2px 1px #9c9c9c;
        box-shadow: 0 2px 1px #9c9c9c;
}
#menu li
{
        float: left;
        padding: 0 0 10px 0;
        position: relative;
}

#menu a
{
        float: left;
        height: 25px;
        padding: 0 10px;
        color: #fafafa;
        text-transform: uppercase;
        font: bold 13px/25px Arial, Helvetica;
        text-decoration: none;
        
}

#menu li:hover > a
{
        color: #fafafa;
}

*html #menu li a:hover /* IE6 */
{
        color: #fafafa;
}

#menu li:hover > ul
{
        display: block;
}

/* Подменю */

#menu ul
{
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 99999;
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);
    background: -o-linear-gradient(#444, #111);
    background: -ms-linear-gradient(#444, #111);
    background: linear-gradient(#444, #111);
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menu ul li:last-child
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#menu ul a
{
    padding: 10px;
        height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
        text-transform: none;
}

*html #menu ul a /* IE6 */
{
        height: 10px;
        width: 150px;
}

*:first-child+html #menu ul a /* IE7 */
{
        height: 10px;
        width: 150px;
}

#menu ul a:hover
{
    background: #0186ba;
        background: -moz-linear-gradient(#04acec,  #0186ba);
        background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
        background: -webkit-linear-gradient(#04acec,  #0186ba);
        background: -o-linear-gradient(#04acec,  #0186ba);
        background: -ms-linear-gradient(#04acec,  #0186ba);
        background: linear-gradient(#04acec,  #0186ba);
}

#menu ul li:first-child a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menu ul li:first-child a:hover:after
{
    border-bottom-color: #04acec;
}

#menu ul li:last-child a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

#menu:after
{
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}


A { 
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
} 
A {
    color: #1E90FF; /* Цвет ссылок */
   }
   A:visited {
    color: #1E90FF; /* Цвет посещенных ссылок */
   }
   A:active {
    color: #ff1700; /* Цвет активных ссылок */
   }
 A:hover {
    text-decoration: underline ;
    color: #ff1700; /* Цвет активных ссылок */
   }






td, table, select, div, input, textarea{
	font-family:sans-serif;
	font-size:13px;
	line-height:13px;
	color:#424242;
	
}

A { 
 text-decoration: none; /* Отменяем подчеркивание у ссылки */
} 
h1 {
	font-family: Tahoma;
	font-size: 25px;
	
    color: #ff8800;
}
H2 {
	font-family: Tahoma;
	font-size: 25px;
	
}
h3 {
	font-family: Tahoma;
	font-size: 15px;
	
    color: #ff8800;
}

   .leftimg {
    float:left; /* Выравнивание по левому краю */
    margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
   }
   .rightimg  {
    float: right; /* Выравнивание по правому краю  */ 
    margin: 20px 0 20px 20px; /* Отступы вокруг картинки */
   }
  
 
a img {border: none; outline: none}

.ismail {
    position:relative;
    height: 15px;
    border-radius: 0 0 4px 4px;
    background-color: #FFA500;
    padding: 5px 15px 5px 15px;
    color: #000;
    left: 80%;
    font-weight: bold;
    font-size: 14px;
    border-top: none;
    border-left: 1px #fff solid;
    border-right: 1px #555 solid;
    border-bottom: 1px #000 solid;
    background: #FFA500; /* Old browsers */
    background: -moz-linear-gradient(top, #FFA500 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fceabb), color-stop(50%, #FFA500), color-stop(51%, #f8b500), color-stop(100%, #fbdf93)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fceabb 0%, #FFA500 50%, #f8b500 51%, #fbdf93 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fceabb 0%, #FFA500 50%, #f8b500 51%, #fbdf93 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fceabb 0%, #FFA500 50%, #f8b500 51%, #fbdf93 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fceabb', endColorstr='#FFA500', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 0 #fff;
    filter: dropshadow(color=#fff, offx=0, offy=1);
    text-decoration: none;
}





.ismail:hover {
    background: #DCDCDC; /* Old browsers */
    background: -moz-linear-gradient(top, #FF0000 0%, #FF0000 50%, #FF0000 51%, #FF0000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FF0000), color-stop(50%, #FF0000), color-stop(51%, #FF0000), color-stop(100%, #FF0000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #FF0000 0%, #FF0000 50%, #FF0000 51%, #FF0000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #FF0000 0%, #FF0000 50%, #FF0000 51%, #FF0000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #FF0000 0%, #FF0000 50%, #FF0000 51%, #FF0000 100%); /* IE10+ */
    background: linear-gradient(to bottom, #FF0000 0%, #FF0000 50%, #FF0000 51%, #FF0000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FF0000', endColorstr='#FF0000', GradientType=0); /* IE6-9 */
    text-shadow: 0 1px 0 #000;
    filter: dropshadow(color=#000, offx=0, offy=1);
    text-decoration: none;
    color: #fff;
}
* {
 box-sizing: border-box;
}
 
label[for] {
 cursor: pointer;
 padding: 16px;
 }
 
input[type="checkbox"] {
 display: none;
}

 
.lightbox, .grid {
 width: 100%;
 position: fixed;
 top: 10;
 left: 10;
}
 
.lightbox {
 z-index: 1;
 min-height: 100%;
 overflow: auto;
 -webkit-transform: scale(0);
 -ms-transform: scale(0);
 transform: scale(0);
 -webkit-transition: -webkit-transform .5s ease-out;
 transition: transform .5s ease-out;
}
.lightbox img {
 position: fixed;
 top: 50%;
 left: 50%;
 max-width: 96%;
 max-height: 96%;
 -webkit-transform: translate(-50%, -50%);
 -ms-transform: translate(-50%, -50%);
 transform: translate(-50%, -50%);
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
 
input[type="checkbox"]:checked + .lightbox {
 -webkit-transform: scale(1);
 -ms-transform: scale(1);
 transform: scale(1);
}
 
input[type="checkbox"]:checked ~ .grid {
 opacity: .125;
}
 
.grid {
 display: -webkit-box;
 display: -webkit-flex;
 display: -ms-flexbox;
 display: flex;
 -webkit-flex-wrap: wrap;
 -ms-flex-wrap: wrap;
 flex-wrap: wrap;
 -webkit-box-align: start;
 -webkit-align-items: flex-start;
 -ms-flex-align: start;
 align-items: flex-start;
 -webkit-align-content: flex-start;
 -ms-flex-line-pack: start;
 align-content: flex-start;
 
 height: 100%;
 padding: 16px;
 margin-top: 16px;
 margin-bottom: 16px;
 overflow: auto;
 background-color: #222;
 text-align: center;
 -webkit-transition: opacity .75s;
 transition: opacity .75s;
}
.grid .grid-item {
 display: inline-block;
 width: 100%;
 padding: 16px;
 opacity: .75;
 -webkit-transition: opacity .5s;
 transition: opacity .5s;
}
.grid .grid-item:hover {
 opacity: 1;
}
@media screen and (max-width: 1024px) {
 .grid .grid-item {
 width: 50%;
 }
}
@media screen and (max-width: 480px) {
 .grid .grid-item {
 width: 100%;
 }
}
.grid img {
 max-width: 100%;
 max-height: 100%;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}











* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */



