﻿html, body, p, form, table, th, td, object, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

html {
    /*height: 100%;
    min-height: 100%;
    width: 100%;*/
}
/*body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,  
 form, fieldset, input, p, blockquote, table, th, td, embed, object { 
  padding: 0; 
  margin: 0;  
  }*/

canvas {
    -ms-touch-action: double-tap-zoom;
}

body {
    /*min-height: 100%;*/ /*background-color: gainsboro;*/
    font-size: 0.85em;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif, Arial;
    color: #000000; /* #222222; темный*/
}

img {
    border: 0;
}
/*a img, :link img, :visited img { 
  border: 0; 
  }*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.tab100 {
    width: 100%;
}


a, a:link {
    text-decoration: none;
    color: #0043C8; /*синий базовый*/
}

    a:hover {
        text-decoration: underline;
    }

    a:active {
        background-color: transparent;
    }

h1, h2, h3, h4, h5, h6, th {
    font-weight: normal;
    font-style: normal;
}

h1 {
    font-family: "Segoe UI Light", Verdana, Arial;
}

h1 {
    font-size: 42pt;
}


h2 {
    font-size: 20pt;
}

    h1 a:hover, h2 a:hover {
        text-decoration: none;
    }

h3 {
    font-size: 11pt;
    font-weight: bold;
}

h4 {
    /*font-weight: bold;*/
    /*font-size: 0.85em;*/
    font-family: "Segoe UI Semibold", Verdana, Arial;
}

.right {
    text-align: right;
}

.float-right {
    float: right;
}

.to-upper {
    text-transform: uppercase;
}

.red-text {
    font-size: 8pt;
    color: #AE0000;
}

span.label {
    color: #404040;
}


div.box {
    overflow: hidden;
}

/* КНОПКИ 
--------------------------------------------------------*/
input[type=text] {
    /*padding: 0.28em;*/
    height: 1.75em;
    padding-left: 0.25em;
    border: 1px solid #3267D2; /*синий светлый*/
    /*height:26px;*/
}

input[type=submit] {
    color: White;
    border: 1px Solid #0043C8;
    background-color: #3267D2; /*синий светлый*/ /*синий базовый*/
    font-family: Segoe UI Semibold, Arial;
    padding: 0.2em 0.4em 0.2em 0.4em;
}

    input[type=submit]:hover {
        background-color: #1BA1E2; /*cyan*/
    }

/*ПАЛИТРА
  -------------------------------------------------------------------------------------------*/
/* #0043C8; /*синий базовый*/
/* #3267D2; /*синий светлый*/
/* #FF8C00; /*ораньжевый текст*/
/* #47B2E6; /*cyan 80%*/
.orange {
    background-color: #ff991e; /*#FF8C00;*/
}

.cyan {
    background-color: #1BA1E2; /*cyan*/
}

    .cyan h1, .cyan h2, .cyan h3, .white {
        color: white;
    }

.cobalt {
    background-color: #0043C8;
}

.color-cobalt {
    color: #0043C8;
}

/*.black {
    color: black;
}*/


/*МАСТЕР СТРАНИЦА
  -------------------------------------------------------------------------------------------*/
.page-wrapper {
    width: 98%;
    margin: 0 auto 0 auto;
    max-width: 1260px; /* 1315px; /*1366x768*/
    /*min-width: 800px;*/ /*350px;*/
    /*border: 1px solid #ff00e0;*/
}

/*div.tiles {
    max-width: 1260px;
}*/


.row {
    width: 100%;
    /*min-width: 800px;*/ /*чтобы контент не выпирал наружу;*/
    overflow: hidden;
}

    .row.orange {
        min-height: 60px;
        color: white;
    }

        .row.orange.fixed {
            /*background-color: #FF8C00;*/
            -moz-opacity: 0.95;
            opacity: 0.95;
            border-bottom-style: solid;
            border-bottom-width: 1px;
            border-bottom-color: #82987C; /*#8E9670;*/
        }

    .row.cyan {
        min-height: 60px;
    }



/*Фиксированный заголовок - отключать для телефона 800px*/
div.fixed {
    position: fixed !important;
    position: absolute; /*ie6 and above (не понимает !important*/
    left: 0;
    z-index: 100000;
}

div#top-space {
    height: 100px; /*место для заголовка*/
    overflow: hidden;
}
/*Фиксированный акцент*/
div#row.orange.fixed {
    height: 60px;
}

div#orange-space {
    margin-top: 60px;
}

div#top {
    height: 60px;
    background-color: #0043C8; /*синий базовый*/
    /*border: 1px solid #FFFF00;*/
}

    div#top.fixed {
        top: 0;
    }

    div#top .page-wrapper {
        position: relative;
    }

    div#top p#description, div#top h2#subheader, div#top p#keywords {
        display: none; /*seo заголовки*/
    }

div#divFirm a {
    display: none;
}
/*seo ссылки*/

a#top-entry {
    position: absolute;
    top: 2px;
    right: 20px;
    font-size: 0.85em;
    color: white;
}

div#top-nav {
    height: 40px;
    background-color: #0043C8; /*синий базовый*/
    color: white;
    -moz-opacity: 0.8;
    opacity: 0.8;
}

    div#top-nav.fixed {
        top: 60px;
        z-index: 100000;
    }

/*Логотип и заголовок*/
div#logo {
    float: left;
    background-image: url('img/logo.png');
    background-repeat: no-repeat;
    width: 120px;
    height: 45px;
    margin-top: 6px;
    /*border: 1px solid #FFFF00;*/
}

    div#logo a {
        display: block;
        width: 100%;
        height: 45px;
        color: transparent;
        /*border: 1px solid #FFFF00;*/
    }

        div#logo a:hover {
            background-image: url('img/shevron-home.png');
            background-repeat: no-repeat;
            background-position: 89% top;
        }


h1#top-header {
    margin: 0 10px 0 140px;
    padding-top: 16px;
    font-size: 20pt;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif, Arial;
    color: white;
    /*одна строка без переносов*/
    height: 45px;
    display: block;
    overflow: hidden;
    /*word-wrap: break-word;*/
    white-space: nowrap;
    /*border: 1px solid #FFFF00;*/
}

    h1#top-header.scroll:hover {
        background-image: url('img/shevron-top.png');
        background-repeat: no-repeat;
        background-position: center 4px;
    }

/*навигационное меню*/
div#top-nav a, a.nav {
    font-family: "Segoe UI Semibold", Verdana, Arial;
    padding: 10px 20px 0 0;
    color: white;
    display: -moz-inline-stack; /*display:-moz-inline-box;*/
    display: inline-block; /*float: left;*/
    zoom: 1;
    *display: inline;
}

    div#top-nav a:hover {
        color: #FF8C00; /*ораньжевый текст*/
        text-decoration: none;
    }

    div#top-nav a.aspNetDisabled, div#top-nav a.aspNetDisabled:hover {
        color: #7699E0;
    }

    a.nav.button {
        background-color: #0043C8; /*синий базовый*/
        padding: 7px 30px 9px 10px;
        background-image: url('img/shevron.png');
        background-position: 97% center;
        background-repeat: no-repeat;
    }

        a.nav.button.orange {
            background-color: #ff991e;
        }


a.back.button {
    color: white;
    background-color: #3267D2; /*синий светлый*/
    padding: 7px 10px 9px 25px;
    background-image: url('img/shevron-left.png');
    background-position: 5px center;
    background-repeat: no-repeat;
}

a#search {
    /*background-color: #0043C8;*/ /*синий базовый*/
    /*padding: 7px 0px 9px 10px;*/
}

/*футер*/
div#like {
    /*text-align: right;*/
    color: black;
    font-size: 0.85em;
    font-family: Verdana, Arial;
}

    div#like dt {
        padding-top: 0.3em;
    }

        div#like dt a {
            cursor: default;
        }

            div#like dt a:hover {
                text-decoration: none;
            }

    div#like dd {
        margin-left: 19.5em;
    }

div#footer {
    background-color: #3267D2; /*синий светлый*/
    min-height: 35px;
    color: white;
    font-size: 0.85em;
    font-family: Verdana, Arial;
    margin-top: 5px;
}

    div#footer a {
        color: white;
    }

    div#footer div.page-third {
        margin-top: 1px;
    }

.page-third {
    float: left;
    width: 33.33%;
}

    .page-third p {
        margin: 5px 5px 10px 5px;
    }

        .page-third p.right-space {
            margin-right: 10px;
        }

    .page-third dl {
        margin-right: 20px;
    }

/*РАЗМЕТКА СТРАНИЦЫ
  -------------------------------------------------------------------------------------------*/
/*Пейджер*/
div.pager span, div.pager a, tr.pager a, tr.pager span {
    font-size: 20pt;
    padding: 0 10px 0 0;
}

div.pager a, tr.pager a {
    color: gray;
}

div.pager span, tr.pager span {
    color: black;
}


/*иконки и картинки*/
span.icon {
    display: block;
    width: 40px;
    height: 40px;
    background-repeat: no-repeat;
    background-position: left center;
}

span.shevron {
    padding-left: 20px;
    background-image: url('img/shevron.png');
    background-position: right center;
    background-repeat: no-repeat;
}

/*h1 span.shevron {
    background-position: right bottom;
    padding-top: 40px;
}*/

/*span.tile2 {
    display: block;
    width: 420px;
    height: 160px;
    background-repeat: no-repeat;
    background-position: left center;
}*/

a.to-left {
    display: block;
    float: left;
    padding-top: 45px;
    background-position: center top;
    background-image: url('img/to-left.png');
    background-repeat: no-repeat;
    text-align: center;
    color: white;
}

    a.to-left:hover {
        text-decoration: none;
    }

/*Обертки*/
.surface {
    margin-left: 40px;
}

.accord.surface {
    margin-left: 40px;
}
/*.fly.surface {
     margin-left: 0px;
}*/

div#bottom {
    overflow: hidden;
    margin-top: 20px;
}

div.bottom-wrapper {
    overflow: hidden;
    margin-bottom: 20px;
}

.article {
    color: #111111;
    /*font-size: 0.95em;*/
}

    .article h1 {
        color: #FF8C00; /*ораньжевый текст*/
    }

    .article h2 {
        color: #0043C8; /*синий базовый*/
    }

    .article h2, .article h3 {
        margin: 10px 0 5px 0;
    }

div.page-wrapper.article {
    overflow: hidden;
    min-height: 450px;
}
/*колонки*/
.col-wraper {
    /*min-width: 800px;*/
    margin-left: -330px; /*отодвигаем за левый край*/
    width: 100%;
    float: left;
}

.col-body {
    margin-left: 330px; /*возвращаем на меcто*/
}

.col-right {
    width: 330px;
    float: right; /*в пустое место, освобожденное оберткой*/
}

div.center {margin: 0 auto;}


/*Плитки*/
a.tile, span.tile, a.bookmark {
    display: block;
    color: white;
    float: left;
    position: relative;
    overflow: hidden;
    background-color: #0043C8;
    background-position: left top;
    background-repeat: no-repeat;
}

    a.tile.cyan {
        background-color: #1BA1E2; /*cyan*/
    }

        a.tile.cyan:hover {
            background-color: #47B2E6; /*cyan 80%*/
        }

a.tile, span.tile {
    margin-right: 10px;
    margin-bottom: 10px;
}

a.bookmark {
    margin-right: 5px;
    margin-bottom: 5px;
}


    .tile:hover, a.bookmark:hover { /*.tile .caption:hover,*/
        background-color: #3267D2; /*синий светлый*/
        text-decoration: none;
    }

    a.bookmark.orange {
        background-color: #ff991e; /*orange */
    }

    a.bookmark.cyan {
        background-color: #1BA1E2; /*cyan*/
    }

    a.bookmark.orange:hover {
        background-color: #FEA232; /*orange 80%*/
    }

    a.bookmark.cyan:hover {
        background-color: #47B2E6; /*cyan 80%*/
    }


a.tile, span.tile {
    width: 145px;
    height: 145px;
}

a.bookmark {
    width: 32%;
    max-width: 300px;
    min-width: 200px;
    height: 50px;
}

    a.bookmark img {
        margin: 5px 10px 5px 5px;
        float: left;
    }




.tile:hover {
    -moz-opacity: 0.9;
    opacity: 0.9;
}


.tile.size-x2 {
    width: 300px;
}

.tile.size-x4 {
    width: 300px;
    height: 300px;
}

.tile p {
    margin: 5px;
    /*word-break: break-all;*/
    line-height: 1.41; /*Интерлиньяж*/
}

a.bookmark p {
    margin: 5px 10px;
    /*word-break: break-all;*/
}

.tile .caption {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #0043C8; /*синий базовый*/
    -moz-opacity: 0.8;
    opacity: 0.8;
}

    .tile .caption p {
        margin-top: 3px;
    }

/*Теги*/
h2.nav a, h3.nav a, ul.nav li a {
    display: -moz-inline-stack; /*display:-moz-inline-box;*/
    display: inline-block; /*float: left;*/
    zoom: 1;
    *display: inline;
}

h2.nav a, h3.nav a {
    color: white;
    padding: 0 5px 5px 5px;
    margin: 0 5px 10px 0;
}

    h2.nav a:hover {
        text-decoration: underline;
    }


/*распашной контент*/
h1.fly, h4.fly {
    cursor: pointer;
}

h2.fly {
    /*text-transform: uppercase;*/
    margin: 15px 0 0 0;
    padding: 0 0 15px 50px;
    background-image: url('img/fly-plus.png');
    background-position: left top;
    background-repeat: no-repeat;
    cursor: pointer;
}

    h2.fly.show {
        background-image: url('img/fly-check.png');
    }

div.fly {
    display: none;
    overflow: hidden;
    padding-top: 10px; /*5px; RubricView -> CityMenu*/
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #FFFFFF;
}

    div.fly.simple {
        border-style: none;
        padding-top: 5px;
    }

/*Аккардион*/
h1.accord {
    padding: 0 0 10px 50px;
    background-image: url('img/to-down.png');
    background-position: left center;
    background-repeat: no-repeat;
    cursor: pointer;
}

    h1.accord.show {
        background-image: url('img/to-right.png');
    }

div.accord {
    display: none;
    overflow: hidden;
    padding-bottom: 10px;
    /*min-height: 300px;*/
}

/*Картинка и текст*/
dl {
    padding-bottom: 0;
    margin-bottom: 5px;
    overflow: hidden; /*прилипает нижний*/
}

    dl.size-x2 {
        margin-bottom: 20px;
    }

    dl.inline dt {
        float: left;
        clear: left;
    }

    /*dl.inline dd {
        margin-bottom: 10px;
    }*/


    /*dl.inline dt, dl.inline dd {
        display: inline;
        float: left;
    }

        dl.inline dd + dt, dl.inline dd + dd {
            clear: left;
        }

        dl.inline dd + dd {
            float: none;
        }*/


    dl.size-x2 dt {
        width: 310px;
        margin-bottom: 20px;
    }

    dl.size-x2 dd {
        margin-left: 320px;
    }

    dl.icon dt {
        width: 40px;
    }

    dl.inline.icon {
        font-family: Verdana, Arial;
        font-size: 0.85em;
        text-align: left;
    }

    dl.icon dd {
        margin-left: 50px;
    }

/*Списки*/
ul.navigate {
    margin: 10px 0 0 0;
    padding-left: 60px;
}

    ul.navigate li, ul.nav li {
        /*padding-left: 10px;*/
        margin-bottom: 10px;
    }
/*ul.nav {
    
}*/
/*Теги*/
ul.nav li {
    list-style-type: none;
}

ul.nav li {
    list-style-type: none;
}

ul.nav.inline li {
    padding-right: 10px;
    display: -moz-inline-stack; /*display:-moz-inline-box;*/
    display: inline-block; /*float: left;*/
    zoom: 1;
    *display: inline;
}

ul.nav li a.size-xxl {
    font-size: 20pt;
}

ul.nav li a.size-xl, ul.nav li a.size-l {
    font-size: 16pt;
}

ul.nav li a.size-m {
    font-weight: bold;
}

ul.nav li a.size-xxl, ul.nav li a.size-l, ul.nav li a.size-m, ul.nav li a.size-s {
    text-transform: uppercase;
}

ul.nav li a.size-xxl, ul.nav li a.size-xl {
    color: white;
    background-color: #0043C8; /*синий базовый*/
    padding: 2px 5px 5px 5px;
}

ul.nav li a span {
    color: #333333;
}


/*реклама*/
.banner300 {
    width: 300px;
    /*min-height: 250px;*/
    /*background-color: gray;*/
}

.banner336 {
    width: 336px;
}

.banner120 {
    width: 120px;
    height: 600px;
    background-color: gray;
}

/* tables
-------------------------------------------------------------------------------------------------------------------------------------------------*/
/*master_grid*/
tr.grid-title th {
    text-align: left;
    font-family: "Segoe UI Semibold", Arial;
    padding: 0 5px 5px 0;
}

tr.grid-alt, tr.grid-row {
    height: 2.5em;
    border-top-style: solid;
    border-top-width: 1px;
}

    tr.grid-alt td, tr.grid-row td {
        padding-left: 5px;
    }

    tr.grid-alt:hover, tr.grid-row:hover {
        background-color: #1BA1E2; /*cyan*/
    }

.cyan tr.grid-alt:hover, .cyan tr.grid-row:hover {
    background-color: #0043C8; /*синий базовый*/
}

.white tr.grid-alt, .white tr.grid-row {
    border-top-color: #FFFFFF;
}
/*.white tr.grid-alt a, .white tr.grid-row a {
    color: white;
}*/
.white a {
    color: white;
}

/*Описание фирмы*/
table.item {
    background-color: white;
    margin-bottom: 10px;
}
    /*table.item:hover {
    /*background-color: #EFEFEF;*/ /*светло светло серый фон* /
     -moz-opacity: 0.8;
    opacity: 0.8;
}*/
    table.item td.logo, table.item td.description {
        vertical-align: top;
        padding: 5px 0px 5px 5px;
        /*word-wrap: break-word;*/
    }

    table.item td.logo {
        padding-top: 7px;
    }

    table.item td.description {
        font-family: "Arial";
        font-size: 9pt;
    }

    table.item td.logo div {
        width: 145px;
        word-wrap: break-word;
        overflow: hidden;
    }

    table.item td.logo img {
        padding-top: 7px;
    }

    table.item td.description {
        padding-right: 5px;
    }

    table.item h4 {
        line-height: 115%;
        margin-bottom: 0.1em;
        font-size: 12pt;
        font-weight: 600; /*font-family:"Segoe UI Semibold", "Segoe UI", Arial;*/
    }

    table.item div.organization {
        padding-top: 3px;
    }

    /*table.item h4 a, table.item td.logo a {
        /*color: #003BB2;*/ /*темно-синий текст* /
    }*/

    table.item h4 a:hover {
        text-decoration: none;
    }

    table.item h4 a:hover, table.item td.logo a:hover {
        color: #FF8C00; /*ораньжевый текст*/
    }


td#items table.item h4 a:visited, td#items table.item td.logo a:visited {
    color: #1BA1E2; /*cyan*/
}


span.accent, p.accent {
    color: #1BA1E2; /*cyan*/
}

/*FirmItemLight*/
div.item {
    overflow: hidden;
}

    div.item a.img-link {
        display: block;
        float: left;
        width: 88px;
        margin-right: 10px;
        /*padding-top: 2px;*/
    }



/*Видео (главная, станица фирмы, страница видео)*/
div.video-frame {
    float: left;
    width: 351px;
    margin: 5px 10px 5px 0;
}

div.video-anonce {
    margin: 0 20px 0 360px;
}


div.video {
    float: left;
    position: relative;
    margin: 0.4em 0.4em 0.4em 0;
    width: 120px;
    height: 68px;
    overflow: hidden;
}

    /*.img-link img {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #FFFFFF; /*border-bottom-color: transparent;* /
}

.img-link:hover img {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #64B403; /*светло зеленый темнее */ /*#457D00;*/ /*зеленая плашка  #009900;* /
}*/

    div.video a {
        margin-top: -11px;
        display: block;
        width: 120px;
    }

        div.video a:hover, td.logo img:hover {
            -moz-opacity: 0.8;
            opacity: 0.8;
        }

    div.video span {
        background-position: center center;
        display: block;
        width: 310px;
        height: 31px;
        /*background-color: black;*/
        position: absolute;
        top: 20px;
        left: 45px;
        background-image: url('img/video.png');
        background-repeat: no-repeat;
    }

/*офисы фирсы*/
.office {
    background-color: #47B2E6; /*cyan 80%*/ /*#1BA1E2;*/ /*cyan*/ /*#D5E2FF; /*W8 cobalt очень светлый*/
    padding: 5px;
    margin-bottom: 5px;
}

    /*.office h5 {
        /*font-family: "Segoe UI Semibold";* /
        color: #0057CE; /*синий шрифт * /
    }*/

    .office dl {
        margin: 0 0 0 0em;
        padding: 0;
    }

    .office dt {
        margin: 0.2em 0 0 0;
        width: 3.7em;
        color: white;
    }

    .office dd {
        margin: 0.2em 0 0 3.7em;
    }

        .office dt span, .office dd span.accent {
            color: white;
        }

        /*кнопки карты*/
        .office dd a {
            color: white;
            text-decoration: underline;
            /*background-color: #0043C8;*/ /*синий базовый*/
            font-family: "Segoe UI", Verdana, Arial;
            padding: 0 3px 2px 3px;
        }

            .office dd a:hover, a.view:hover {
                background-color: #0043C8; /*синий базовый*/
            }

a.view {
    padding: 0 3px 2px 3px;
    text-decoration: underline;
}

    a.view:hover {
        color: white;
        text-decoration: none;
    }

/*Рубрикатор*/


/*Вкладки*/
div.tab-header {
    overflow: hidden;
    /*border: 1px solid #FF00FF;*/
}

    div.tab-header h2 {
        float: left;
    }


ul.tab-list {
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    display: block;
    padding: 0.6em 0.35em 0.5em 0.35em;
}

ul.tab-list {
    margin: 0.3em 0 0 1.4em;
    float: left;
}

    ul.tab-list li {
        font-size: 11pt;
        display: inline;
        list-style-type: none;
    }

        ul.tab-list li a {
            /*background-color: #ff991e;*/
            margin-right: 0.4em;
            padding: 0em 0.2em 0 0.2em;
        }


/*индикатор загрузки*/
/*http://www.ajaxload.info/*/
div.indicator {
    background-position: center center;
    width: 200px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -100px;
    background-image: url('img/loader-big-cirkle.gif');
    background-repeat: no-repeat;
    background-color: white;
}

/*список анонсов статей*/
.ai-panel {
    overflow: hidden;
    margin-top: 3px;
}

/* картинки для статьи
 -----------------------------------------------------------------------*/
.scroll-hidden {
    overflow: hidden;
}

.article-img img {
    display: block;
    margin: 0 auto;
}

a.article-img img {
    margin: 10px auto;
    height: 90px;
}

div.zoom img {
    max-width: 100%; /*картинка становится адаптивной!!! Прокрутка не нужна*/
    max-height: 100%;
}

div.zoom {
    overflow: auto;
    margin: 0 auto;
    width: 640px; /*стартовые значения для анимации*/
    height: 360px;
    position: relative;
}

    div.zoom.full {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100001;
        background-color: black;
        /*border: 0px;*/
    }

        div.zoom.full img {
            margin: auto;
            position: absolute;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0; /*запрос: css div center screen*/
        }

        div.zoom.full .button-resize {
            position: fixed;
            z-index: 1; /*над картинкой*/
            background-image: url('img/zoom-off.png');
        }

div.button-resize {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background-image: url('img/zoom-on.png');
    background-position: center;
    background-repeat: no-repeat;
}


/**************************
*    Адаптивные элементы  *
***************************/
/*Больше SVGA*/
/*@media only screen and (min-width: 1280px) {
  
    }
}*/

/*w8 и шире*/
@media only screen and (min-width: 1300px) {
    .surface {
        margin-left: 100px;
    }
}

/*iPad*/
@media only screen and (max-width: 1024px) {
    /*h1#top-header {
        color: violet; /*################* /
    }*/

    dl.inline.tile2 dt {
        float: none;
    }

    dl.inline.tile2 dd {
        margin-left: 0;
    }


    /*.accord.surface {
         margin-left: 40px;
    }*/

    div.video-frame {
        float: none;
    }

    div.video-anonce {
        margin-left: 0px;
    }

    a.bookmark {
        width: 30%;
    }

    /*Две колонки - в одну*/
    .col-wraper.break, .col-right.break {
        float: none;
    }

    .col-wraper.break, .col-body.break {
        margin-left: 0;
    }

        .col-body.break ul {
            margin-left: 0;
            /*padding-left: 0;*/
        }

    .col-right.break, .banner300.break, .banner336.break {
        margin: 0 auto;
    }
}


/*Nokia горизонтально (от 800px)*/
@media only screen and (max-width: 800px) {
    .page-wrapper {
        width: 96%;
    }
    /*уменьшаем заголовок*/
    div#top {
        height: 40px;
    }

    a#top-entry {
        display: none;
    }

    div#top-nav {
        height: 25px;
        -moz-opacity: 1;
        opacity: 1;
    }

        div#top-nav.fixed {
            top: 40px;
        }

        div#top-nav a {
            padding-top: 0px;
        }

        div#top-nav nav {
            padding-left: 100px;
        }

    div#top-space {
        height: 65px;
    }

    div#logo {
        background-image: url('img/logo-small.png');
        width: 88px;
        height: 31px;
        margin-top: 4px;
    }

        div#logo a {
            height: 31px;
        }


    h1#top-header {
        margin: 0 10px 0 100px;
        padding-top: 11px;
        font-size: 16pt;
        font-family: Arial;
        height: 30px;
        color: #CCD9F3; /*приглушенный заголовок*/
    }


    .page-third {
        float: none;
        width: 100%;
        text-align: center;
    }


        .page-third .right {
            text-align: center;
            padding-bottom: 10px;
        }

    div#footer.page-wrapper {
        /*margin: 0;  =v=
        /*width: 100%;* /
        min-width: 800px;*/
        margin: 0 auto;
    }

    div#footer .page-third:first-child {
        padding-top: 3px;
        /*color: yellow;*/
    }

    .surface {
        margin-left: 0px;
    }

    /*Две колонки - в одну*/
    .col-wraper, .col-right {
        float: none;
    }

    .col-wraper, .col-body {
        margin-left: 0;
    }

        .col-body ul {
            margin-left: 0;
            /*padding-left: 0;*/
        }

    .col-right, .banner300, .banner336 {
        margin: 0 auto;
    }

    .col-right {
        width: 100%;
    }
}

/*Адаптивные банеры google*/
.adaptive_horizontal {
    width: 320px;
    height: 100px;
}

@media (min-width: 500px) {
    .adaptive_horizontal {
        width: 468px;
        height: 60px;
    }
}

/*@media (min-width: 800px) {*/
/*@media (min-width: 1025px) {*/
@media (min-width: 1240px) {
    .adaptive_horizontal {
        width: 728px;
        height: 90px;
    }
}

/*Резиновые банеры Яндекс*/
.ya-right {
    width: 298px;
    margin: 0 auto;
}

@media screen and (max-width: 800px) {
    .ya-right {
        width: 468px;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 500px) {
    .ya-right {
        width: 320px;
        margin: 0 auto;
    }
}

/*Мобильное меню*/
#top .navbar-toggle {
    display: none;
}

.navbar-toggle {
    height: 38px;
    position: absolute;
    top: 1px;
    right: 0px;
    background-color: #0043C8; /*синий базовый*/
    border: 0;
}

    .navbar-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        margin: 3px 0;
        background-color: white;
    }

#navToggle {
    display: none;
    background-color: #3267D2; /*синий светлый*/
    height: auto;
}

    #navToggle ul {
        margin: 0;
        padding: 0;
        text-decoration: none;
        list-style: none;
    }

        #navToggle ul li a {
            font-family: "Segoe UI Semibold", Verdana, Arial;
            padding: 1em 3em 1em 3%;
            color: white;
            display: block;
            /*width: 100%;*/
            text-decoration: none;
            border-bottom-style: solid;
            border-bottom-width: 1px;
            border-bottom-color: #0043C8; /*синий базовый*/
        }

            #navToggle ul li a:hover, #navToggle ul li a:active {
                background-color: #ff991e;
                /*border-bottom-color:   #ff991e;*/
            }

@media only screen and (max-width: 800px) {
    #top-nav {
        display: none;
    }

    #top .navbar-toggle {
        display: block;
    }

    h1#top-header {
        display: none;
    }

    .row {
        min-width: 0; /*////*/
    }

    div#top-space {
        height: 40px; /*место для заголовка*/
    }

    body {
        font-size: 1em;
    }
}

/*Обучающее видео*/
.video-link {
    display: none;
}

div.inline {
    /*border: 1px solid red;
            /*margin: 10px;*/
    float: left; /*Add float left*/
    margin: 10px auto;
    width: 48%;
    text-align: center;
    overflow: hidden;
}

@media only screen and (max-width: 800px) {

    div.inline {
        float: none;
        width: 80%;
    }
}

@media only screen and (max-width: 450px) {
    div.inline div.video-frame {
        display: none;
    }

    .video-link {
        display: block;
    }
}
