/* слой затемнения */

.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;

    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
/* активируем модальное окно */

.dm-overlay:target {
    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;
    vertical-align: middle;
    text-align: center;
}
/* модальный блок */

.dm-modal {
    display: inline-block;
	width:100%;
    max-width: 100em;
    background-image:url(../img/back_left.jpg); 
    color: #cfd8dc;
    text-align: left;
}
.dm-modal h3 {
	padding-left:24px;
	font: normal 120% myriad_probold_condensed; 
	text-transform:uppercase;
	color:#663300;
}
/* рисуем кнопарь закрытия */

.close {
    z-index: 9999;
    float: right;
    width: 24px;
    height: 24px;
    color:#663300;
    text-align: center;
    text-decoration: none;
    line-height: 20px;
    cursor: pointer;
	margin-right:14px;
	margin-top:14px;
	
}
.close:after {
    display: block;
    border: 2px solid #663300;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'x';
	font-family:myriad_probold_condensed; 
	font-size:90%;
	padding-top:-4px;
}
/* кнопка закрытия при наведении */

.close:hover:after {
    border-color: #fff;
    color: #fff;
}
@-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
    }
}
ul.smenu {
	width:100%;
	list-style:none;
	padding-left:0px;
	margin-left:0px;		
}
ul.smenu li {
	background-image:url(../img/back_left.jpg); 
	padding-top:7px;
	padding-left:24px;
	padding-bottom:7px;	
	padding-right:14px;
	border-bottom:1px solid #6B2121;	
}
ul.smenu li:hover {
	background-color:#346a9a;
}
ul.smenu li a{
	display:block;
	widows:100%;
	text-decoration:none;
	height:24px;
	line-height:24px;
	font: normal 100% myriad_probold_condensed; 
	text-transform:uppercase;
	color:#663300; 
}