/*----------------------------------------------------------------------------------
-------------- GLOBAL --------------------------------------------------------------
----------------------------------------------------------------------------------*/

* { margin:0; padding:0;
    -webkit-text-size-adjust: none;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
html { height:100%; }
header, nav, section, article, aside, footer, main { display:block; }
body { font-family: 'Arimo', sans-serif; height:100%; font-size:16px; line-height: 18px; color: #000; }
a { outline:none; text-decoration:underline; color: #104e8b; }
a:hover { text-decoration: none; }
img { border:none; }
input { vertical-align:middle; }
*:focus{outline:none;}
input, textarea { font-family: 'Arimo', sans-serif; }

::-webkit-input-placeholder { color: #000; }
:-moz-placeholder { color: #000; opacity: 1; }
::-moz-placeholder { color: #000; opacity: 1; }
:-ms-input-placeholder { color: #000;}

/*----------------------------------------------------------------------------------
-------------- SKELET --------------------------------------------------------------
----------------------------------------------------------------------------------*/

html { position: relative; }
body { position: relative; height: 100%; background: #fff url(../img/bg.png); overflow-x: hidden; }
.b-page { position: relative; width: 100%; min-width: 478px; max-width: 1198px; min-height: 100%; height: auto !important; margin: auto; background: #fff; border-left: 1px solid #e8e8e8; border-right: 1px solid #e8e8e8; }
.b-page.m-main { max-width: 100%; }
.b-page.m-sub { max-width: 100%; }
.b-page.m-main .b-page-header { border-top: 10px solid #00bfff; height: 60px; max-width: 1200px; margin: auto;}
.b-page.m-sub .b-page-header { border-top: 10px solid #00bfff; height: 60px; background: #104e8b; margin: auto; max-width: 1200px; }
.b-page.m-main:before { position: absolute; top: 0; left: 0; width: 100%; height: 60px; border-top: 10px solid #00bfff; background: #104e8b; background: rgba(16, 78, 139, .75); content: ''; z-index: 2; }
.b-page.m-sub:before { position: absolute; top: 0; left: 0; width: 100%; height: 60px; border-top: 10px solid #00bfff; background: #104e8b; content: ''; }

.b-page-slider-wrap {
  width:100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.b-page-footer-wrap {
  width:100%;
  position: relative;
  overflow: hidden;
  height: 50px;
  margin: -50px auto 0 auto;
}

.b-page-header-wrap { 
  width:100%; position:relative; }

.b-page.m-main .b-page-header-wrap { position: absolute; top: 0; left: 0; width: 100%; z-index: 3; }
.b-page.m-sub .b-page-header-wrap { overflow: initial; margin: auto;  }


.b-page-header { position: relative; z-index: 5; }
.b-page-slider { width: 100%; margin-top: -60px; max-width: 1200px; margin: auto; }
.b-page-main { padding-bottom: 50px; max-width: 1200px;  margin: auto; }
.b-page-footer { position: relative; width: 100%; min-width: 480px; max-width: 1200px; height: 40px;  border-top: 10px solid #00bfff; background: #104e8b; margin: auto; }
.b-page-footer:before { position: absolute; bottom: 0; left: 100%; width: 10000px; height: 40px; border-top: 10px solid #00bfff; background: #104e8b; content: ''; }
.b-page-footer:after { position: absolute; bottom: 0; right: 100%; width: 10000px; height: 40px; border-top: 10px solid #00bfff; background: #104e8b; content: ''; }

/*----------------------------------------------------------------------------------
-------------- BLOCK ---------------------------------------------------------------
----------------------------------------------------------------------------------*/

.b-logo { display: block; position: relative; float: left; margin: 5px 0 0 20px; padding: 5px 0 5px 0; font-size: 14px; line-height: 20px; color: #fff; text-decoration: none; }
.b-logo img { float: left; margin-right: 20px; position: relative; top: -5px; }

.b-menu.m-type1 { float: left; margin-left: 175px; }
.b-menu.m-type1 .b-menu-control { display: none; }
.b-menu.m-type1 .b-menu-list { position: relative; float: left; list-style: none; }
.b-menu.m-type1 .b-menu-item { float: left; position: relative; margin-right: 10px; }
.b-menu.m-type1 .b-menu-item:before { display: none; position: absolute; right: 0; top: 0; width: 1px; height: 60px; background-color: #104E8B; opacity: 0.75; box-shadow: 1px 0 1px rgba(255, 255, 255, 0.5); content: ''; }
.b-menu.m-type1 .b-menu-item:after { display: none; position: absolute; left: 0; top: 0; width: 1px; height: 60px; background-color: #104E8B; opacity: 0.75; box-shadow: -1px 0 1px rgba(255, 255, 255, 0.5); content: ''; }
.b-menu.m-type1 .b-menu-link { display: block; position: relative; padding: 0 15px; font-size: 22px; line-height: 60px; color: #fff; text-decoration: none; }
.b-menu.m-type1 .b-menu-sub { display: none; position: absolute; top: 100%; left: 0; width: 200px; list-style: none; }
.b-menu.m-type1 .b-menu-sub li { margin-top: 1px; background: #104e8b; background: rgba(16, 78, 139, .76); }
.b-menu.m-type1 .b-menu-sub a { position: relative; display: block; padding: 5px 13px; font-size: 16px; line-height: 20px; color: #fff; text-decoration: none; }
.b-menu.m-type1 .b-menu-sub a:before { display: none; position: absolute; top: 0; left: 0; width: 10px; height: 100%; content: ''; background: #ffd700; }
.b-menu.m-type1 .b-menu-sub a:hover:before { display: block; }
.b-menu.m-type1 .b-menu-sub .m-active a:before { display: block; background: #00bfff; }

.b-menu.m-type1 .b-menu-item.m-active .b-menu-link:before { position: absolute; bottom: 0; left: 15px; right: 15px; height: 2px; content: ''; background: #00ffff; }

.b-menu.m-type1 .b-menu-item:hover { margin-top: -10px; border-top: 10px solid #ffd700; }
.b-menu.m-type1 .b-menu-item:hover:before { display: block; }
.b-menu.m-type1 .b-menu-item:hover:after { display: block; }
.b-menu.m-type1 .b-menu-item:hover .b-menu-sub { display: block; }

.b-menu.m-type2 { position: absolute; top: 0; right: 0; width: 200px; }
.b-menu.m-type2 .b-menu-control { display: block; float: left; clear: both; position: relative; height: 60px; padding-right: 5px; font-size: 18px; line-height: 60px; color: #fff; text-decoration: none; }
.b-menu.m-type2 .b-menu-control:before { position: relative; display: block; float: left; vertical-align: top; width: 30px; height: 20px; margin: 20px 20px 0 0; background: url(../img/menu.png); content: ''; }
.b-menu.m-type2 .b-menu-control:after { display: none; position: absolute; top: -10px; left: 0; width: 100%; height: 10px; background: #ffd700; content: ''; }
.b-menu.m-type2 .b-menu-list { display: none; position: absolute; top: 100%; left: 0; width: 100%; list-style: none; }
.b-menu.m-type2 .b-menu-item { margin-top: 1px; }
.b-menu.m-type2 .b-menu-link { display: block; position: relative; padding: 10px 20px; font-size: 18px; line-height: 20px; color: #fff; text-decoration: none; background: #104e8b; background: rgba(16, 78, 139, .95); }
.b-menu.m-type2 .b-menu-sub { display: none; margin-left: 8px; list-style: none; }
.b-menu.m-type2 .b-menu-sub li { display: block; margin-top: 1px; border-left: 2px solid #00bfff; background: #104e8b; background: rgba(16, 78, 139, .95); }
.b-menu.m-type2 .b-menu-sub a { position: relative; display: block; padding: 6px 14px; font-size: 15px; line-height: 18px; text-decoration: none; color: #fff; }
.b-menu.m-type2 .b-menu-sub a:before { display: none; position: absolute; top: 0; left: -10px; width: 10px; height: 100%; content: ''; background: #ffd700; }
.b-menu.m-type2 .b-menu-sub a:hover:before { display: block; background: #ffd700 !important; }
.b-menu.m-type2 .b-menu-sub .m-active a:before { display: block; background: #00bfff; }

.b-menu.m-type2 .b-menu-item.m-active .b-menu-link:before { display: block; position: absolute; top: 0; left: 0; width: 10px; height: 100%; background: #00bfff; content: ''; }
.b-menu.m-type2 .b-menu-item:hover .b-menu-link:before { display: block; position: absolute; top: 0; left: 0; width: 10px; height: 100%; background: #ffd700; content: ''; }

.b-menu.m-type2.m-open .b-menu-control:after { display: block; }
.b-menu.m-type2.m-open .b-menu-list { display: block; }
.b-menu.m-type2 .b-menu-item.m-open .b-menu-sub { display: block; }

.b-slider { position: relative; margin-bottom: 4px; }
.b-slider-items { position: relative; width: 100%; height: 100%; }
.b-slider-item { display: none; position: absolute; top: 0; width: 100%; height: 100%; box-shadow: 0 -5px 10px #000; border-bottom: 4px solid #00bfff; background-repeat: no-repeat; background-size: 101%; background-position: center center; }
.b-slider-item.m-pos0 { display: block; left: -200%; }
.b-slider-item.m-pos1 { display: block; left: -100%; }
.b-slider-item.m-pos2 { display: block; left: 0%; z-index: 2; }
.b-slider-item.m-pos3 { display: block; left: 100%; }
.b-slider-item.m-pos4 { display: block; left: 200%; }
.b-slider-item { 
    -webkit-transition: left 0.6s ease-out;
    transition: left 0.6s ease-out;
}
.b-slider-msg { display: none; position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 20px; text-align: center; color: #fff; background: #104e8b; background: rgba(16, 78, 139, .75); }
.b-slider-item.m-pos2 .b-slider-msg { display: block; }
.b-slider-msg:before { position: absolute; top: 0; left: 100%; width: 2000px; height: 100%; background: #104e8b; background: rgba(16, 78, 139, .75); content: ''; }
.b-slider-msg:after { position: absolute; top: 0; right: 100%; width: 2000px; height: 100%; background: #104e8b; background: rgba(16, 78, 139, .75); content: ''; }
.b-slider-arrow { position: absolute; display: block; z-index: 3; background: url(../img/slider-arrows.png); }
.b-slider-arrow.m-left { left: 0; background-position: left bottom; }
.b-slider-arrow.m-right { right: 0; background-position: right bottom; }
.b-slider-arrow.m-left:hover { background-position: left top; }
.b-slider-arrow.m-right:hover { background-position: right top; }

.b-pnews { position: relative; padding: 43px 0; }
.b-pnews:before { position: absolute; top: 0; left: 50%; width: 400px; height: 3px; margin-left: -200px; background: #00bfff; content: ''; }
.b-pnews-items { position: relative; overflow: hidden; }
.b-pnews-item { float: left; padding-bottom: 10px; }
.b-pnews-top { display: table; width: 100%; border-collapse: collapse; }
.b-pnews-title { display: table-cell; height: 30px; text-align: center; vertical-align: middle; }
.b-pnews-title a { font-size: 15px; line-height: 15px; color: #000; font-weight: bold; text-decoration: none; }
.b-pnews-date { display: table-cell; width: 90px; height: 30px; text-align: center; vertical-align: middle; }
.b-pnews-date span { display: block; width: 80px; height: 30px; border-left: 10px solid #ffd700; color: #fff; font-weight: bold; background: #104e8b; text-align: center; font-size: 14px; line-height: 30px; }
.b-pnews-msg { padding-top: 15px; font-size: 14px; line-height: 16px; color: #000; padding-left: 10px; }
.b-pnews-arrow { display: block; position: absolute; width: 32px; height: 52px; top: 72px; background: url(../img/news-arrows.png); }
.b-pnews-arrow.m-left { left: 10px; background-position: left top; }
.b-pnews-arrow.m-right { right: 10px; background-position: right top; }
.b-pnews-arrow.m-left:hover { background-position: left bottom; }
.b-pnews-arrow.m-right:hover { background-position: right bottom; }
.b-pnews-drag { width: 1000000px; }

.b-fcopy { color: #fff; line-height: 40px; text-indent: 10px; }

.b-fsoc { position: absolute; top: 8px; left: 50%; width: 200px; margin-left: -85px; list-style: none; text-align: center; }
.b-fsoc li { display: inline-block; height: 25px; margin: 0 10px; background: url(../img/soc.png); }
.b-fsoc a { display: block; width: 100%; height: 100%; text-decoration: none; }
.b-fsoc .m-fb { width: 30px; background-position: 0 0; }
.b-fsoc .m-tw { width: 34px; background-position: -35px 0; }
.b-fsoc .m-vk { width: 13px; background-position: -74px 0; }

.b-dev { position: absolute; top: 0; right: 10px; color: #fff; font-size: 16px; line-height: 40px; }
.b-dev a { color: #fff; font-size: 16px; line-height: 40px; }

.b-content { position: relative; padding: 20px 10px 0 10px; margin-bottom: 40px; font-size: 18px; line-height: 20px;}
.b-page.m-sub .b-content { padding-top: 40px; }

.b-content .b-datetitle { display: table; margin-left: -10px; background: none !important; padding: 0 !important; }
.b-content .b-datetitle:before { background: #ffd700 !important; }
.b-content .b-datetitle strong { display: table-cell; padding: 5px 25px 5px 35px; background: #104e8b !important; }
.b-content .b-datetitle span { display: table-cell; vertical-align: middle; text-align: center; width: 100px; font-weight: bold; line-height: 17px; color: #fff; background: #00bfff; }

.b-content .b-more { text-align: right; margin-right: -10px; padding-right: 20px; padding-bottom: 0 !important; margin-bottom: 15px; }
.b-content .b-more a { position: relative; font-size: 16px !important; line-height: 30px !important; }
.b-content .b-more a:before { position: absolute; top: -6px; right: -20px; content: ''; background: #00bfff; width: 10px; height: 30px; }
.b-content .b-more a:hover:before { background: #ffd700; }

.b-content .b-pages { margin-bottom: 15px; list-style: none; overflow: hidden; position: relative; padding: 0 120px; text-align: right; }
.b-content .b-pages li { display: inline-block; text-align: center; border: 1px solid #104e8b; min-width: 19px; height: 25px; margin-left: 10px; padding: 0 3px; }
.b-content .b-pages li:before { display: none; }
.b-content .b-pages a { text-decoration: none; font-size: 20px; line-height: 25px; color: #104e8b; font-weight: bold; }
.b-content .b-pages li.m-active, .b-pages li:hover { border-color: #00bfff; }
.b-content .b-pages li.m-active a, .b-pages li:hover a { color: #00bfff; }
.b-content .b-pages li.m-active a { cursor: default; }

.b-content .b-contacts { position: relative; overflow: hidden; padding-bottom: 15px; margin-left: -10px; }
.b-content .b-contacts-info { float: left; }
.b-content .b-contacts-map { margin: auto; background: #dddde2; overflow: hidden; }
.b-content .b-contacts-title { position: relative; margin-left: 78px; padding: 0; font-size: 16px; line-height: 40px; color: #000; font-weight: bold; }
.b-content .b-contacts-title:before { position: absolute; top: 0; left: -78px; width: 60px; height: 40px; background: #104e8b url(../img/contacts.png); border-left: 10px solid #00bfff; content: ''; }
.b-content .b-contacts-title.m-phone:before { background-position: 0 0; }
.b-content .b-contacts-title.m-address:before { background-position: -65px 0; }
.b-content .b-contacts-title.m-worktime:before { background-position: -130px 0; }
.b-content .b-contacts-text { padding: 15px 0 15px 30px; font-style: normal; }

.b-content .b-projects { position: relative; }
.b-content .b-projects-wrap { float: left; }
.b-content .b-projects-item { position: relative; margin: auto; overflow: hidden; }
.b-content .b-projects-item:before { position: absolute; left: 0; opacity: 0; top: -10000px; width: 100%; height: 100%; z-index: 2; background: #104e8b; background: rgba(16,78,139,.65); content: ''; }
.b-content .b-projects-title { display: block; position: relative; z-index: 3; overflow: hidden; padding: 4px 10px 4px 20px; margin: 15px 0 10px 0; z-index: 2; font-size: 20px; line-height: 22px; color: #fff; font-weight: bold; background: #104e8b; background: rgba(16, 78, 139, .75); }
.b-content .b-projects-title:before { position: absolute; top: 0; left: 0; width: 10px; height: 100%; background: #ffd700; content: ''; }
.b-content .b-projects-img { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.b-content .b-projects-msg { position: relative; z-index: 3; opacity: 0; top: -10000px; padding: 0 20px 15px 20px; font-size: 16px; line-height: 18px; color: #ffffff; }
.b-content .b-projects-btn { position: relative; z-index: 3; opacity: 0; top: -10000px; text-align: center; }
.b-content .b-projects-btn a { display: inline-block; width: 170px; height: 40px; text-align: center; font-size: 22px; line-height: 40px; color: #fff; font-weight: bold; text-decoration: none; background: #00bfff; background: rgba(0,191,255,.8); }
.b-content .b-projects-btn a:hover { background: #00bfff; background: rgba(0,191,255,1); }
.b-content .b-projects-wrap.m-active .b-projects-item:before,
.b-content .b-projects-wrap.m-active .b-projects-msg,
.b-content .b-projects-wrap.m-active .b-projects-btn { opacity: 1; top: 0; }
.b-content .b-projects-wrap:hover .b-projects-item:before,
.b-content .b-projects-wrap:hover .b-projects-msg,
.b-content .b-projects-wrap:hover .b-projects-btn { opacity: 1; top: 0; }
.b-content .b-projects-item:before,
.b-content .b-projects-msg,
.b-content .b-projects-btn { 
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.b-content .b-form { margin-left: -10px; width: 267px; padding-top: 25px; }
.b-content .b-form input { position: relative; display: block; width: 230px; height: 28px; color: #000; font-size: 18px; line-height: 28px; padding: 0 13px; margin: 0 0 15px 0; border: 1px solid #104e8b; border-left: 10px solid #00bfff; }
.b-content .b-form textarea { display: block; width: 230px; min-height: 118px; max-height: 500px; color: #000; font-size: 18px; line-height: 22px; padding: 3px 13px; margin: 0 0 15px 0; border: 1px solid #104e8b; border-left: 10px solid #00bfff; }
.b-content .b-form input.m-error, .b-content .b-form textarea.m-error { border-left: 10px solid #ff0000; }
.b-content .b-form input:focus, .b-content .b-form textarea:focus { border-left: 10px solid #ffd700; }
.b-content .b-form-btn { padding-top: 25px; padding-bottom: 15px; text-align: right; }
.b-content .b-form-btn input { display:inline-block; width: 170px; height: 40px; font-size: 20px; line-height: 40px; color: #fff; font-weight: bold; background: #104e8b; border: none; cursor: pointer; }
.b-content .b-form-btn input:hover { background: #00bfff; }

.b-content ul { list-style: none; padding: 0 10px 15px 10px; list-style: none; }
.b-content ul li { position: relative; padding-left: 17px; padding-bottom: 4px;  }
.b-content ul li:before { display: block; position: absolute; top: 7px; left: 0; width: 7px; height: 7px; content: ''; background: #104e8b; }
.b-content ul ul { padding-top: 4px; padding-bottom: 0; }

.b-content table { margin-bottom: 15px; border: 3px solid #00bfff; border-collapse: collapse; border-spacing: 0; }
.b-content table tr {  }
.b-content table th { padding: 5px 15px; border: 3px solid #104e8b; border-left-color: #00bfff; border-right-color: #00bfff; background: #104e8b; color: #fff; font-weight: normal; }
.b-content table td { padding: 5px 15px; border: 3px solid #00bfff; }

.b-content .b-404 { text-align: center; }
.b-content .b-404-title0 { font-size: 140px; line-height: 140px; color: #104e8b; font-weight: bold; }
.b-content .b-404-title1 { font-size: 30px; line-height: 30px; color: #104e8b; font-weight: bold; }
.b-content .b-404-link {  }
.b-content .b-404-link a { font-size: 24px; line-height: 24px; color: #104e8b; }
