table td#aaa {padding: 8px 0px 0px 0px; text-align: left; vertical-align:top;}

body { 
margin: 0;
padding: 0;
}

html {
    display: inline;
}

a {text-decoration: none;} 
a:visited {text-decoration: none;} 
a:hover {text-decoration: none;} 

.order1:hover {background:#fd6c3d;}
.order1:hover a {color:white;}

.order2:hover {background:#2e4f6e;}
.order2:hover a {color:white;}

blocktext {
    margin-left: auto;
    margin-right: auto;
    width: 6em
}

table td#xxx {padding: 0px 0px 0px 0px; text-align:center; vertical-align:bottom;}

.td-de {width: 305px;min-width:305px;}
.td-de1 {width: 15px;min-width:15px;}
.td-de2 {border-radius:3px;height: 45px;line-height:45px;z-index: 189;background-color:#fd6c3d;font-size: 22px;color: rgb(255, 255, 255);font-family:pt sans caption,sans-serif;text-align: center;}
.td-de4 {line-height: 1.5; text-align: justify;font-size: 18px;font-family:pt sans caption,sans-serif;color: rgb(33, 63, 73);padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;}
.td-de5 {text-align: center;font-size: 18px;font-family:pt sans caption,sans-serif;color: rgb(33, 63, 73);font-weight: bold;padding-top:10px;padding-bottom:10px;}
.td-de6 {text-align:justify;font-size: 16px;font-family:pt sans caption,sans-serif;color: rgb(33, 63, 73);line-height: 1.2;padding-top:5px;padding-bottom:5px;padding-left:5px;padding-right:5px;}


.de-order {margin-top:10px;margin-bottom:15px;border-radius: 2px;font-size: 20;font-weight: normal;color: #fff;height: 36px;width: 275px;z-index: 225;border-color: #045169;font-family: PT Sans Caption, sans-serif;border-style: solid;background-color: #2e4f6e;}
.de-order > a{display: block;text-align: center;text-decoration: none;cursor:pointer;width: 275px;height: 36px;line-height:36px;color: #fff;font-size: 20px;font-family: PT Sans Caption, sans-serif;font-weight: normal;}
.de-order:hover{background-color: #;background-image: url();}



.td-000 {text-align: center;line-height: 1.7;font-family:pt sans caption,sans-serif;font-size:18px;color:rgb(33, 63, 73);padding-top:15px;font-weight: bold;}
.td-0000 {text-align: center;line-height: 1.7;font-family:pt sans caption,sans-serif;font-size:18px;color:rgb(255, 255, 255);padding-top:15px;font-weight: bold;}
.td-111 {width: 70px;min-width:70px;}
.td-222 {width: 435px;min-width:435px;line-height: 1.7;opacity:1;font-family:pt sans caption,sans-serif;font-size:18px;color:rgb(33, 63, 73);}
.td-333 {width: 430px;min-width:430px;}
.td-444 {height: 40px;
border: 1px solid black;
font-family:pt sans caption,sans-serif;
font-size: 18px;
line-height: 1.5;
color: rgb(33, 63, 73);
text-align: center;
}
.td-444-1 {border: 0px;
text-align: left;
height: 36px;
font-size: 20px;
padding-left:15px;
}
.i-1 {border-width: 1px;
border-color: #cccccc;
border-style: solid;
width:47px;
height:25px;
}
.i-2 {border-width: 1px;
border-color: #213F49;
border-style: solid;
height: 156px;
width: 281px;
}
.td-555 {color: rgb(255, 255, 255);
background-color:#2e4f6e;
text-align: center;
}
.td-777 {position:relative;
width: 60px;
min-width: 60px;
font-size:37px;
font-family: pt sans caption,sans-serif;
color: #fd6c3d;
text-align:center;
vertical-align:middle;
}
.td-777-1 {width: 80px;
min-width: 80px;}
.td-777-2 {width: 70px;
min-width: 70px;}
.td-888 {position:relative;
width: 350px;
min-width: 350px;
font-size:22px;
font-family: pt sans caption,sans-serif;
color: rgb(33, 63, 73);
vertical-align:middle;
}
.td-888-1 {width: 300px;
min-width: 300px;}
.input {
display: block;margin: 0 0 0 0;height: 36px;width: 181px;
font-size: 16px;display: inline-block;
border-width: 1px;border-color: #213F49;border-radius: 3px;font-weight: normal;
border-style: solid;background-color: #ffffff !important;
font-family: pt sans caption,sans-serif;
focus-color: #53a7ec;left: 0;top: 0;
padding: 0 5px !important;
}
.input-2 {
display: block;margin: 0 0 0 0;height: 33px;width: 162px;
font-size: 16px;display: inline-block;
border-width: 1px;border-color: #213F49;border-radius: 3px;font-weight: normal;
border-style: solid;background-color: #ffffff !important;
font-family: pt sans caption,sans-serif;
focus-color: #53a7ec;left: 0;top: 0;
padding: 0 5px !important;
}
.input-2-1 {width: 250px;}

table{
  width:100%;
}

#gallery {
  text-align: center;
  width: 1050px;
  margin: 70px auto;
}

#gallery img {
  width: 150px;
  -webkit-transition-duration: 0.6s;
  -moz-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
border-radius: 5px;
  opacity: 1;
  z-index: 1;
  margin: 0;
  position: relative;
}

#gallery img:hover {
  -webkit-transform: scale( 2.0 );
  -moz-transform: scale( 2.0 );
  -o-transform: scale( 2.0 );
  box-shadow: 0px 0px 25px gray;
  -webkit-box-shadow: 0px 0px 25px gray;
  -moz-box-shadow: 0px 0px 25px gray;
  opacity: 1;
  z-index: 10;
}

.frame {
  position: relative;
}
.ad {
  position: absolute;
  left: 50%;
  top: 100px;
  right: 0px;
  bottom: 0px;
margin-left: -450px;
}

.problem {margin-left: 20px;width: 290px; text-align: center; background-color: #fd6c3d; z-index: 195; height: 36px; border-radius: 3px;font-family: pt sans caption,sans-serif;}
.problem > a { display: block; text-decoration: none; cursor: pointer; width: 290px; color: #ffffff; font-size: 21px; box-sizing: border-box; line-height: 36px; height: 36px; padding-right: 5.4px; padding-left: 5.4px; font-family: pt sans caption,sans-serif;font-weight:normal; }
.problem:hover {background-color: #758ea4;}

.problem-2 {text-align: center; background-color: #fd6c3d; z-index: 195; height: 36px; border-radius: 3px;font-family: pt sans caption,sans-serif;}
.problem-2 > a { display: block; text-decoration: none; cursor: pointer; color: #ffffff; font-size: 21px; box-sizing: border-box; line-height: 36px; height: 36px; padding-right: 5.4px; padding-left: 5.4px; font-family: PT Sans Caption, sans-serif; font-weight: normal; }

.usa  {border-radius: 3px;font-size: 20;font-weight: normal;background-hover-color: #213F49;color: #ffffff;height: 38px;width: 235px;z-index: 208;font-family: pt sans caption,sans-serif;background-color: #fd6c3d;}
.usa > a{display: block;text-align: center;text-decoration: none;cursor:pointer;width: 235px;height: 38px;line-height: 38px;color: #ffffff;font-size: 20px;font-family: pt sans caption,sans-serif;font-weight: normal;}
.usa:hover{background-color: #213F49;}

.zagran {display: block;border-width: 1px;border-radius: 3px;width: 235px;font-size: 15;font-family: PT Sans Caption, sans-serif;background-hover-color: #2e4f6e;color: #ffffff;height: 38px;z-index: 208;font-weight: normal;background-color: #fd6c3d;}
.zagran > a{display: block;text-align: center;text-decoration: none;cursor:pointer;width: 235px;height: 38px;line-height: 38px;color: #ffffff;font-size: 15px;font-family: PT Sans Caption, sans-serif;font-weight: normal;}
.zagran:hover{background-color: #2e4f6e;}

.gar-1 {width: 930px;min-width:930px;line-height: 1.5; text-align: left;font-family:pt sans caption,sans-serif;font-size: 18px;color: rgb(33, 63, 73);text-align: justify;}
.gar-2 {width: 980px;min-width:980px;}

.otkaz {display: block;border-width: 1px;border-radius: 3px;font-size: 19;font-weight: normal;background-hover-color: #fd6c3d;color: #ffffff;height: 36px;width: 344px;z-index: 195;font-family: PT Sans Caption, sans-serif;background-color: #213F49;}
.otkaz > a{display: block;text-align: center;text-decoration: none;cursor:pointer;width: 344px;height: 36px;line-height: 36px;color: #ffffff;font-size: 19px;font-family: PT Sans Caption, sans-serif;font-weight: normal;}
.otkaz:hover{background-color: #fd6c3d;}

.index-order {width: 144px; text-align: center; background-color: #2e4f6e; z-index: 366; border-radius: 2px;} 
.index-order > a { display: block; text-decoration: none; cursor: pointer; width: 144px; color: #fff; font-size: 17px; line-height: 40px; height: 40px; font-family: PT Sans Caption, sans-serif; font-weight: bold;}
.index-order:hover { background-color: #fd6c3d;}

.td-index-1 {background-color:white;border-width: 1px 0px 1px 1px;border-style: solid;border-color: #213F49;}
.td-index-2 {border-width: 1px 1px 1px 0px;border-style: solid;border-color: #213F49;background-color:white;}
.td-index-3 {line-height: 1.4; text-align: left;font-family:pt sans caption,sans-serif;font-size: 18px;color: rgb(33, 63, 73);padding-bottom:10px;padding-top:10px;padding-left:10px;}
.td-index-4 {width: 30px;min-width: 30px;}

/* Базовые стили слоя затемнения и модального окна  */
.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 {
color: rgb(33, 63, 73);
    top: -100%;
    right: 0;
    left: 50%;
    font-size: 14px;
    z-index: 20;
    margin: 0;
    width: 85%;
    min-width: 320px;
    max-width: 600px;
/* фиксированное позиционирование, окно стабильно при прокрутке */
    position: fixed;
    padding: 15px;
    border: 1px solid #383838;
    background: #fefefe;
/* скругление углов */
    -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: 20%;
}
/* формируем кнопку закрытия */
.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);    
}
/* изображения внутри окна */
.popup img {
    width: 100%;
    height: auto;
}
/* миниатюры слева/справа */
.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: 320px;
    max-width: 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}