html, body {font-family:Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size:10pt; color: #515151;}
a:link {text-decoration:underline;color:#3f95ee;outline:none;}
a:active {text-decoration:underline;color:#3f95ee;outline:none;}
a:visited {text-decoration:underline;color:#3f95ee;outline:none;}
a:hover {text-decoration:none;color:#3f95ee;outline:none;} 
h1 {display:block; color: #a1845e; font-size: 37px; font-weight: bold; padding: 0; margin: 0 0 0px 0;}
.tell {display:block; color: #8d8d8d; font-size: 25px; font-weight: normal; margin-top:0px;}
#gb {background:#ffffff;margin:0px;padding:0px;}


/* HEAD */
#d1 {display:block;width:100%;height:136px;border-bottom:1px solid #e3e3e4;-webkit-box-shadow: 1px 1px 9px rgba(227, 227, 228, 1);-moz-box-shadow:1px 1px 9px rgba(227, 227, 228, 1);box-shadow:1px 1px 9px rgba(227, 227, 228, 1);}
#d1_1 {display:block;width:1000px;height:136px;margin:0 auto;}
#d1_1_t1 {width:1000px;height:136px;}

#gm {display:block;float:left;margin-left:20px;height:30px;line-height:30px;padding:0 10px;}
a#gm:link,a#gm:active,a#gm:visited {text-decoration:underline;color:#3f95ee;outline:none;background:#ffffff;}
a#gm:hover {text-decoration:none;color:#3f95ee;outline:none;background:#a1845e;color:#ffffff;} 

#gm3 {display:block;float:left;margin-left:20px;height:30px;line-height:30px;padding:0 10px;position:relative;z-index:2;}
a#gm3:link,a#gm3:active,a#gm3:visited {text-decoration:underline;color:#3f95ee;outline:none;}
a#gm3:hover {text-decoration:none;color:#3f95ee;outline:underline;background:#ffffff;} 

#gm3_d {display:block;width:158px;height:60px;background:#ffffff;position:absolute;z-index:1;text-align:left;margin:-20px 0 0 109px;padding:56px 30px 37px 30px;opacity:0;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 1);-moz-box-shadow:0px 0px 5px rgba(50, 50, 50, 1);box-shadow:0px 0px 5px rgba(50, 50, 50, 1);}
#gm3_d:hover {opacity:1;}
a#gm3:hover + #gm3_d {opacity:1;}

#gm4 {margin-left:0px;height:15px;line-height:15px;padding:0 0px;position:relative;z-index:2;}
a#gm4:link,a#gm3:active,a#gm3:visited {text-decoration:underline;color:#3f95ee;outline:none;}
a#gm4:hover {text-decoration:none;color:#3f95ee;outline:underline;background:#ffffff;} 

#gm4_d {display:block;width:158px;height:60px;background:#ffffff;position:absolute;z-index:1;text-align:left;margin:-60px 0 0 253px;padding:10px 30px 37px 30px;opacity:0;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow: 0px 0px 5px rgba(50, 50, 50, 1);-moz-box-shadow:0px 0px 5px rgba(50, 50, 50, 1);box-shadow:0px 0px 5px rgba(50, 50, 50, 1);}
#gm4_d:hover {opacity:1;}
a#gm4:hover + #gm4_d {opacity:1;}
/* HEAD */


/* BODY1 */
#d2 {display:block;width:1000px;margin:20px auto 0 auto;}
#d2_1_t1 {width:1000px;}
#d2_1_t1_td1 {width:410px;vertical-align:top;padding-right:50px;}
#d2_1_t1_td2 {width:540px;vertical-align:top;}
/* BODY1 */

/* BODY2 */
#d2_2_t1 {width:1000px;}
#d2_2_t1_td1 {width:650px;vertical-align:top;padding-right:50px;}
#d2_2_t1_td2 {width:300px;vertical-align:top;}
/* BODY2 */

/* FOOTER */
#d3 {display:block;width:1000px;margin:30px auto 0 auto;padding:30px 0;}

/* FOOTER */




#zapis {display:block;width:289px;height:67px;background:url(/diz/zapis.png) 0 0 no-repeat;}
#zapis:hover {background:url(/diz/zapis.png) 0 -67px no-repeat;}


#zapis2 {display:block;width:239px;height:52px;background:url(/diz/zapis2.png) 0 0 no-repeat;margin:0 auto;border:0px;}
#zapis2:hover {background:url(/diz/zapis2.png) 0 -52px no-repeat;cursor:pointer;}


/* Основные стили страницы
------------------------------------------*/


.button-cdm {
text-decoration: none;
 border-bottom: 1px dotted #3f95ee;
 cursor: pointer;
 display: inline-block;
 margin: 0px 0px 0px 0px; 
 color: #3f95ee;
 }
 
.button-cdm:hover {
 color: #1a56ac;
 border-bottom: 1px dotted #ffffff; 
}

/* Каркас окна
------------------------------------------*/
.md-modal {
 position: fixed;
 top: 50%;
 left: 50%;
 width: 50%;
 max-width: 1000px;
 min-width: 320px;
 height: auto;
 z-index: 2000;
 visibility: hidden;
 -webkit-backface-visibility: hidden;
 -moz-backface-visibility: hidden;
 backface-visibility: hidden;
 -webkit-transform: translateX(-50%) translateY(-50%);
 -moz-transform: translateX(-50%) translateY(-50%);
 -ms-transform: translateX(-50%) translateY(-50%);
 transform: translateX(-50%) translateY(-50%);
 border-radius: 3px;
}

.md-show {
 visibility: visible;
}

/* Контент окна
------------------------------------------*/
.md-content {
 float:left;
 margin: 0 auto; 
 background: #fff;
 position: relative;
 border-radius: 3px;
 color: #555; 
 padding: 0px 0p 25px 0px; 
}

.md-content h3 {
 margin: 0;
 padding:10px 0px;
 text-align: center;
 background: #59B0D4;
 border-radius: 3px 3px 0 0;
 
 font:15px Verdana,Arial,Helvetica, sans-serif;
 font-weight: bold;
 color: #fff;
}

.md-content p {
 margin: 10px;
 font:115%/1.5 Verdana,Arial,Helvetica, sans-serif;
 text-align:justify;
}

/* Кнопка закрыть
------------------------------------------*/
.md-close {
 border: none;
 padding: 5px 15px; 
 background: #4E7CA0;

 cursor: pointer;
 display:block;
 margin: 10px auto; 
 font:12px Verdana,Arial,Helvetica, sans-serif;
 font-weight: bold;
 color: #fff;
 border-radius: 3px;
}

.md-close:hover {
 background: #59B0D4;
}

/* Ячейка заднего фона
------------------------------------------*/
.md-overlay {
 position: fixed;
 width: 100%;
 height: 100%;
 visibility: hidden;
 top: 0;
 left: 0;
 z-index: 1000;
 opacity: 0;
 background: rgba(0,0,0,0.8);
 -webkit-transition: all 0.3s;
 -moz-transition: all 0.3s;
 transition: all 0.3s;
}

.md-show ~ .md-overlay {
 opacity: 1;
 visibility: visible;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
 -webkit-transform: scale(0.7);
 -moz-transform: scale(0.7);
 -ms-transform: scale(0.7);
 transform: scale(0.7);
 opacity: 0;
 -webkit-transition: all 0.3s;
 -moz-transition: all 0.3s;
 transition: all 0.3s;
}

.md-show.md-effect-1 .md-content {
 -webkit-transform: scale(1);
 -moz-transform: scale(1);
 -ms-transform: scale(1);
 transform: scale(1);
 opacity: 1;
}