BODY {margin:0; padding:0; background-color:#ffffff; font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 12px; font-weight: normal; color: #000000; }

TABLE {}

P {text-align: justify; text-indent: 30px; font-family: Arial; margin:0px 0px 0px 0px; padding:0px;}

P.exam {text-align: justify; font-size: 16px; font-weight: normal;  text-indent: 0px;}

font.phonenumb {color:#d71318; font-size:40px; font-weight:900; font-family: Arial;}

H1 {color:#000000; font-size:35px; font-weight:900; font-family: Arial; letter-spacing: 0 pt; margin:0px 0px 0px 0px; padding:0px;}

H1.red {color:#d71318; font-size:35px; font-weight:900; font-family: Arial; letter-spacing: 0 pt; margin:0px 0px 0px 0px; padding:0px;}

H1.blue {color:#2222e2; font-size:35px; font-weight:900; font-family: Arial; letter-spacing: 0 pt; margin:0px 0px 0px 0px; padding:0px;}

H1.white {color:#ffffff; font-size:35px; font-weight:900; font-family: Arial; letter-spacing: 0 pt; margin:0px 0px 0px 0px; padding:0px;}

H1.green {color:#7fc143; font-size:35px; font-weight:900; font-family: Arial; letter-spacing: 0 pt; margin:0px 0px 0px 0px; padding:0px;}


H2 {color:#000000; font-size:28px; font-family: Arial; font-weight:bold; letter-spacing: 0 pt; margin:0px; padding:0px;}

H2.red {color:#d71318; font-size:28px; font-family: Arial; font-weight:bold; letter-spacing: 0 pt; margin:0px; padding:0px;}

H2.blue {color:#2222e2; font-size:28px; font-family: Arial; font-weight:bold; letter-spacing: 0 pt; margin:0px; padding:0px;}

H2.white {color:#ffffff; font-size:28px; font-family: Arial; font-weight:bold; letter-spacing: 0 pt; margin:0px; padding:0px;}

H2.green {color:#7fc143; font-size:28px; font-family: Arial; font-weight:bold; letter-spacing: 0 pt; margin:0px; padding:0px;}


H3 {color:#000000; font-size:22px; letter-spacing: 1 pt; margin:0px 0px; padding:0px;}

H3.red {color:#d71318; font-size:22px; letter-spacing: 1 pt; margin:0px 0px; padding:0px;}

H3.blue {color:#2222e2; font-size:22px; letter-spacing: 1 pt; margin:0px 0px; padding:0px;}

H3.white {color:#ffffff; font-size:22px; letter-spacing: 1 pt; margin:0px 0px; padding:0px;}

H3.green {color:#7fc143; font-size:22px; letter-spacing: 1 pt; margin:0px 0px; padding:0px;}


H4 {color:#000000; font-size:20px;  font-weight:bold;  margin:0px 0px; padding:0px;}

H4.red {color:#d71318; font-size:20px;  font-weight:bold;  margin:0px 0px; padding:0px;}

H4.blue {color:#2222e2; font-size:20px;  font-weight:bold;  margin:0px 0px; padding:0px;}

H4.white {color:#ffffff; font-size:20px;  font-weight:bold;  margin:0px 0px; padding:0px;}

H4.green {color:#7fc143; font-size:20px;  font-weight:bold;  margin:0px 0px; padding:0px;}


H5 {color:#000000; font-size:16px; font-style: bold;  margin:0px 0px; padding:0px; letter-spacing:0pt;}

H5.red {color:#d71318; font-size:16px; font-style: bold;  margin:0px 0px; padding:0px; letter-spacing:0pt;}

H5.blue {color:#2222e2; font-size:16px; font-style: bold;  margin:0px 0px; padding:0px; letter-spacing:0pt;}

H5.white {color:#ffffff; font-size:16px; font-style: bold;  margin:0px 0px; padding:0px; letter-spacing:0pt;}

H5.green {color:#7fc143; font-size:16px; font-style: bold;  margin:0px 0px; padding:0px; letter-spacing:0pt;}


H6 {color:#000000; font-size: 35px; margin:0px 0px; padding:0px; font-weight: bold;}

H6.red {color:#d71318; font-size: 35px; margin:0px 0px; padding:0px; font-weight: bold;}

H6.blue {color:#2222e2; font-size: 35px; margin:0px 0px; padding:0px; font-weight: bold;}

H6.white {color:#ffffff; font-size: 35px; margin:0px 0px; padding:0px; font-weight: bold;}

H6.green {color:#7fc143; font-size: 35px; margin:0px 0px; padding:0px; font-weight: bold;}



A {color:#2222e2; font-size: 14px; font-weight: bold; text-decoration:none;}

A.middle {color:#d71318; font-size: 20px;  font-style: bold; font-weight: 500; text-decoration:none;}

A.big {color:#d71318; font-size: 26px; font-weight: bold; font-style: italic; }

A.menu {color:#000000; font-size: 16px; font-weight: normal; }
A.menuwhite {color:#ffffff; font-size: 16px; font-weight: normal; }

A.text {color:#000000; font-size: 12px; font-weight: normal; }

DT {margin: 0; clear: both;}

DD {margin: 5px 0 5px 20px;}

UL {margin-left:20px; padding-left:20px;  text-align: justify; list-style: circle;}

UL.small {list-style: none; margin: 0px;  padding:0px;}

sup {font-size:11px;}

sup.h2 {font-size:40px;}

sub {font-size:11px;}

sup.h3 {font-size:20px;}

sup.h3 {font-size:20px;}


.fix 
{
    position: fixed; 
    left: 0px; 
    top: 0px; 
    padding: 0px; 
    background: #ffffff;
    border: 0px; 
}



form                                                                /* Стили к самой форме */ 
{
    font-family:Arial;                       /* Говорится, какой шрифт будет использоваться, данном случае Arial */
    font-size:14px;                                                 /* Размер шрифта 12 пикселей */
    padding:0px;                                                   /* Отступы внутри формы шириной 10 пикселей */
    border: 0px;                                      /* Сплошная рамка вокруг формы шириной 1 пиксель и цветом #ddd */
    width:400px;                                                    /* Ширина 350 пикселей */
    background:#ffffff;                                                /* Фоновый цвет формы #eee */
}
form .input                                                         /* Стили для класса input */ {
    width: 250px;                                                   /* Ширна 230 пикселей */
    border: 2px solid #d71318;                                         /* Сплошная рамка вокруг шириной 1 пиксель и цветом #ddd */
}
form textarea                                                       /* Стили к тегу textarea */ {
    width: 250px;                                                   /* Ширина 230 пикселей */
    border: 2px solid #d71318;                                         /* Сплошная рамка вокруг шириной 1 пиксель и цветом #ddd */
}
.n /* Стили к классу n */ {
    font-size:14px;                                                 /* Размер шрифта 12 пикселей */
    font-family:Arial;                       /* Говорится, какой шрифт будет использоваться, данном случае Arial */
    font-color:#d49b30;                                                     /* Цвет текста #333 */
    text-align:center;                                              /* Выравнивание текста */
    background:#ffffff;                                                /* Фоновый цвет #fff */
    width:400px;                                                    /* Ширина 360 пикселей */
    padding:5px;                                                    /* Отступы от всех краев размером 5 пикселей */
    border:1px solid #d71318;                                          /* Сплошная рамка вокруг шириной 1 пиксель и цветом #ddd */
}


.auth_subm_b {
    height:25pt;
    font:14pt Arial, Helvetica, sans-serif;
    margin: 4pt;
    border:solid 2px #d71318;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius: 5px;
    text-align:center
    background:#000000;


}

.auth_subm_w {
    height:25pt;
    font:14pt Arial, Helvetica, sans-serif;
    margin: 4pt;
    border:solid 2px #d71318;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius: 5px;
    text-align:center
    background:#ffffff;

 -webkit-box-shadow:5px 5px 4px #bababa, inset 0px 0px 1px #ffffff; 
 -moz-box-shadow: 5px 5px 4px #bababa,  inset 0px 0px 1px #ffffff;  
 box-shadow:5px 5px 4px #bababa, inset 0px 0px 1px #ffffff;  
}


.leftfoto {
float:left;
margin: 4px 10px 2px 0px;
}

.rightfoto {
float:right;
margin: 4px 0px 2px 10px;
}


/* Базовые стили слоя затемнения и модального окна  */
.overlay {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: none;
/* фон затемнения */
    background-color: rgba(0, 0, 0, 0.65);
    position: fixed; /* фиксированное поцизионирование */
    cursor: default; /* тип курсара */
}
/* активируем слой затемнения */
.overlay:target {
    display: block;
}
/* стили модального окна */
.popup {
    top: -15%;
    right: 0;
    left: 50%;
    font-size: 14px;
    z-index: 20;
    margin: 0;
    width: 100%;
    min-width: 300px;
    max-width: 800px;
    min-height: 300px;
    max-height: 800px;
/* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #ffffff;
/* скругление углов */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    font: 14px/18px 'Tahoma', Arial, sans-serif;
/* внешняя тень */
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.6s ease-out;
    -moz-transition: -moz-transform 0.6s ease-out;
    -o-transition: -o-transform 0.6s ease-out;
    transition: transform 0.6s ease-out;
}
/* активируем модальный блок */
.overlay:target+.popup {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 10%;
}
/* формируем кнопку закрытия */
.close {
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    position: absolute;
    padding: 0;
    border: 2px solid #ccc;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
    background-color: rgba(61, 61, 61, 0.8);
    -webkit-box-shadow: 0px 0px 10px #000;
    -moz-box-shadow: 0px 0px 10px #000;
    box-shadow: 0px 0px 10px #000;
    text-align: center;
    text-decoration: none;
    font: 13px/20px 'Tahoma', Arial, sans-serif;
    font-weight: bold;
    -webkit-transition: all ease .8s;
    -moz-transition: all ease .8s;
    -ms-transition: all ease .8s;
    -o-transition: all ease .8s;
    transition: all ease .8s;
}
.close:before {
    color: rgba(255, 255, 255, 0.9);
    content: "X";
    text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
    font-size: 12px;
}
.close:hover {
    background-color: rgba(252, 20, 0, 0.8);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);    
}

/* миниатюры слева/справа */
.pic-left, 
.pic-right {
    width: 25%;
    height: auto;
}
.pic-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.pic-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* элементы м-медиа, фреймы */
.popup embed, 
.popup iframe {
    top: 0;
    right: 0;
    bottom: 0; 
    left: 0; 
    display:block;
    margin: auto;
    min-width: 300px;
    max-width: 800px;
    min-height: 300px;
    max-height: 600px;
    width: 100%;
}
.popup h2 { /* заголовок 2 */
    margin: 0;
    color: #008000;
    padding: 5px 0px 10px;
    text-align: left;
    text-shadow: 1px 1px 3px #adadad;
    font-weight: 500;
    font-size: 1.4em;
    font-family: 'Tahoma', Arial, sans-serif;
    line-height: 1.3;
}
/* параграфы */
.popup p {margin: 0; padding: 5px 0}