﻿* {
	margin: 0;
	padding: 0;
	border: none;
	font-size: 100%;
	text-decoration:none;
}
html, body {
	height: 100%;
}
input {outline:none;}
.marginBottom20 {margin-bottom: 20px;}
.main {
	width:100%;
	z-index:0;
	background-color:#FFF;
	font-size:0.8em;
}
/* Header
-----------------------------------------------------------------------------*/
.header {
	margin:0;
	z-index:2;
	display: block;
	height: 120px;
	background: url(../img/header/bg.jpg) repeat;
}
.logo {float:left; margin:19px 0 0 45px; border:5px;}
.icon {width:20px;}
.slogan {float:right; margin:25px 40px 0 0px;}
#user_Help {padding:0 170px; float:right; color:#fff; font-size:0.7em; line-height: 30px;cursor:pointer;}
.shadow-head{
	margin:0 auto !important;
	height:86px;
	width:1000px;
	/*box-shadow:0 1px 4px rgba(0, 0, 0, .3),-23px 0 20px -23px rgba(0, 0, 0, .8),23px 0 20px -23px rgba(0, 0, 0, .8),0 0 40px rgba(0, 0, 0, .1) inset;*/
}
.grammatika_header {width:100%;background-color:#FF0; color:blue; text-align:center; position:relative;}
.weight60 {width:60px !important; text-align:center; font: bold;}
.grammatika td, .grammatika_header td {padding:1px; width: calc(18.5%);}
.grammatika_header td {
	position: relative !important; 
}
.grammatika tr:nth-child(even) {background:#eef9fd;}
.grammatika td.link {cursor:pointer; color:blue;}
.link {cursor:pointer; margin-bottom:-15px; color:blue;}
.link:hover {color:red;}
hr {
    border: none; /* Убираем границу */
    background-color: gray; /* Цвет линии */
    color: gray; /* Цвет линии для IE6-7 */
    height: 2px; /* Толщина линии */
	width:100px;
	margin:10px 0;
   }
#word_Search {
	height:25px;
	width:80%;
	margin-left:5px;
	box-shadow:0 3px 3px #575555 inset;
	background: url(../img/icon/search.png) right no-repeat;
	background-color:#eef9fd;
}

/* ostanovka shapki tablici vverxu screen
-----------------------------------------------------------------------------*/
.fixed {
 position: fixed;
 top: 0px; /*здесь указываем отступ сверху*/
 z-index: 2; /*устанавливаем блок поверх всех элементов на странице*/
}
/* knopki
-----------------------------------------------------------------------------*/
.button {
	background: #FFF url(../img/icon/down.png) center no-repeat;
	position: absolute;
	top:3px;
	right:2px;
	bottom:5px;
	width: 15px;
	cursor:pointer;
 	border: none;
  //background-image: linear-gradient(bottom, rgb(14,137,182) 0%, rgb(22,179,236) 100%);
 	border-radius: 5px;
 	box-shadow: inset 0px 1px 0px #6666ff, 0px 2px 0px 0px #0000ff, 0px 5px 3px #999;
	}
.button:active {
    box-shadow: inset 0px 1px 0px #6666ff, 0px -1px 0px 0px #0000ff, 0px 0px 1px #999;
}
.button:before {
  display:block;
  position:absolute;
  padding-top:10px;
  top:10px;
  text-shadow: 1px 1px 2px #6666ff;
}
.button:active:before {
  top: 7px;
  text-shadow: 0px 3px 0px #6666ff, 0px 5px 1px #6666ff/*, 3px 0px 1px #07526e, 3px 3px 1px #07526e,
     -2px 0px 1px #68cff2*/;
}
.btn {
/*position: relative;
bottom:3px;*/
display: inline-block;
margin-right:10px;

-webkit-border-radius: 5px;

-webkit-box-shadow: 
0px 1.5px rgba(128,128,128,1), /* gradient effects */
0px 2px rgba(118,118,118,1),
0px 2.5px rgba(108,108,108,1),
0px 3px rgba(98,98,98,1),
0px 3.5px rgba(88,88,88,1),
0px 4px rgba(78,78,78,1),
0px 7px 6px -1px rgba(128,128,128,1); /* shadow */

-webkit-transition: -webkit-box-shadow .1s ease-in-out;
} 

.btn span {
background-color: #E8E8E8;
color:#000;

background-image: 
/* gloss gradient */
-webkit-gradient(
linear, 
left bottom, 
left top, 
color-stop(50%,rgba(255,255,255,0)), 
color-stop(50%,rgba(255,255,255,0.3)), 
color-stop(100%,rgba(255,255,255,0.2))),

/* dark outside gradient */
-webkit-gradient(
linear, 
left top, 
right top, 
color-stop(0%,rgba(210,210,210,0.3)), 
color-stop(20%,rgba(210,210,210,0)), 
color-stop(80%,rgba(210,210,210,0)), 
color-stop(100%,rgba(210,210,210,0.3))),

/* light inner gradient */
-webkit-gradient(
linear, 
left top, 
right top, 
color-stop(0%,rgba(255,255,255,0)), 
color-stop(20%,rgba(255,255,255,0.5)), 
color-stop(80%,rgba(255,255,255,0.5)), 
color-stop(100%,rgba(255,255,255,0))),        

-webkit-box-shadow:
0px -1px #fff, /* top highlight */
0px 1px 1px #FFFFFF; /* bottom edge */

-webkit-background-size: 100%, 100%, 100%, 4px 4px;

-webkit-border-radius: 5px;
-webkit-transition: -webkit-transform .1s ease-in-out;

display: inline-block;
padding: 3px 6px;
font-weight: 700;
font-size: 1em;
}

.btn span:hover {
color: red;
cursor: pointer;
}

.btn:active {
-webkit-box-shadow: 
0px 1.5px rgba(128,128,128,1),
0px 2px rgba(118,118,118,1),
0px 2.5px rgba(108,108,108,1),
0px 3px rgba(98,98,98,1),
0px 3.5px rgba(88,88,88,1),
0px 4px rgba(78,78,78,1),
0px 5px 2px 0px rgba(128,128,128,.6); /* shadow */
}

.btn:active span{
-webkit-transform: translate(0, 5px); /* depth of button press */
}

.btn span:after {
display: block;
width: 10px;
height: 10px;

position: absolute;
right: 7px;
top: 6px;    
font-size: 0.8em;
}
/* modal_window
-----------------------------------------------------------------------------*/
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
	font-family:'ka_mrgvlovani';
	font-size:0.8rem; 
}
/* активируем модальное окно */
 
.dm-overlayTarget {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}
/* блочная таблица */
 
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}
/* ячейка блочной таблицы */
 
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */
 
.dm-modal {
    display: inline-block;
    padding: 50px;
    max-width: 1000px;
    background: #fff;
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    text-align: left;
	position: relative;
}
/* изображения в модальном окне */
 
.dm-modal img {
    width: 100%;
    height: auto;
}
/* миниатюры изображений */
 
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* миниатюра справа */
 
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюра слева */
 
.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}
/* встраиваемое видео в модальном окне 
 
.video {
    position: relative;
    overflow: hidden;
    height: 0;
}
.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* рисуем кнопарь закрытия */
 
.close {
    z-index: 9999;
    width: 30px;
    height: 30px;
    color: #cfd8dc;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
	position: absolute;
	top: -15px;
	right: -15px;
	background-color: red;
	border-radius: 25px;
}
.close:after {
    display: block;
    border: 2px solid #cfd8dc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
 
.close:hover:after {
    border-color: #000;
    color: #000;
    -webkit-transform: scale(1,1);
    -moz-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
}
/* варианты фонвой заливки модального блока */
 
.green {
    background: #388e3c!important;
}
.cyan {
    background: #0097a7!important;
}
.teal {
    background: #00796b!important;
}
/* движуха при появлении блоков с содержанием */
 
@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
/*------------------------------------------------------------*/
.system_grammar, .level, .instruments, .сlassifier {
	background: #ccc;
	position:absolute;
	top:100%;
	overflow: hidden;
	text-align:right;
	font-size:0.7em;
	visibility: hidden;
}
.boxes_level, .boxes_system_grammar,  .boxes_instruments, .boxes_сlassifier{
	background:#fff;
	width:90%;
	border: 0.1px solid transparent;
	border-radius:5px;
	box-sizing: border-box;
	padding:5px;
	margin: 10px 4.8%;
	text-align:left;
	overflow:auto;
	color:#000;
}
.boxes_level p, .boxes_system_grammar p,  .boxes_instruments p, .boxes_сlassifier p {
	color:red;
	cursor:pointer;
}
.boxes_level span, .boxes_system_grammar span,  .boxes_instruments span, .boxes_сlassifier span {
	display:block;
	margin:-12px 0 0 15px;
}