/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700,400italic,700italic&subset=cyrillic-ext,latin);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,700,600,800,300);
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic&subset=latin,cyrillic);

html,
button,
input,
select,
textarea {
    color: #4a4a49;
    font-family: 'PT Sans', sans-serif;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

#sb-site {
    height: 100%;
}

#sb-site #main {
    min-height: 100%;
    position: relative;
    box-sizing: border-box;
}

.innertube {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5%;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1, h2 {
    font-family: 'PT Serif', serif;
    /*font-family: 'Lora', serif;*/
}

h1 {
    font-size: 5.5em;
    line-height: 1.3em;
}

#main h2 {
    font-size: 1.4em;
    margin: 2em 0 1em;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

html, body, #wrap, #swipe_container {
    height: 100%;
}

body > #wrap {
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 100%;
    width: 100%;
}

#main a {
    color: #0b4f72;
    transition: all 0.1s ease-in-out 0s;
}

#main a:hover {
    color: #fe5f55;
}

a.download{
    display: block;

}

/*----------------- Сайдбар ------------------*/

#swipe_container {
    position: relative;
    /*height: 100%;*/
    width: 100%;
    left: 0;
    -webkit-transition: left 0.4s ease-in-out;
    -moz-transition: left 0.4s ease-in-out;
    -ms-transition: left 0.4s ease-in-out;
    -o-transition: left 0.4s ease-in-out;
    transition: left 0.4s ease-in-out;
    height: auto;
    min-height: 100%;
}

#swipe_container.open-sidebar {
    left: 30%;
}

#sidebar {
    /*position: absolute;*/
    /*left: -30%;*/
    background: #4a4a49;
    width: 30%;
    /*height: 100%;*/
    box-sizing: border-box;
}

#sidebar ul {
    margin: 80px 30px 0 70px;
    padding: 0;
    list-style: none;
    /*font-weight: bold;*/
}

#sidebar ul li {
    margin: 0;
}

#sidebar ul li.mobile_menu {
    display: none;
}

#sidebar ul li a {
    font-size: 1.2em;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    display: block;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    -ms-transition: background 0.3s ease-in-out;
    -o-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
}

#sidebar ul li:hover a {
    background: #888888;
}

/*Сайдбар для Планшетов*/

@media screen and (max-width: 1300px) {
    #swipe_container.open-sidebar {
        left: 50%;
    }

    #sidebar {
        background: #4a4a49;
        width: 50%;
        height: 100%;
        box-sizing: border-box;
    }
}

/*Сайдбар для планшетов*/

@media screen and (max-width: 850px) {

    #sidebar ul li.fablet {
        display: block;
    }

    #sidebar ul li.fablet:nth-child(1) {
        margin-bottom: 20px;
    }

    #sidebar ul li a {
        font-size: 1.3em;
        padding: 15px 20px;
    }
}

/*Сайдбар для Мобильных*/

@media screen and (max-width: 700px) {
    #sidebar ul li.mobile_menu {
        display: block;
    }

    #sidebar ul li.desktop_menu {
        display: none;
    }

    #swipe_container.open-sidebar {
        left: 100%;
    }

    #sidebar {
        background: #4a4a49;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }
}

/*--------------- Сайдбар Done ----------------*/

/*--------- Header --------------*/

#header {
    background-color: #4a4a49;
    height: 80px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    transition: all 0.5s ease-in-out 0s;
}

@media screen and (max-width: 1010px) {
    #header.disappear {
        margin-top: -80px;
    }
}

#header.scrolled {
    height: 70px;
    transition: all 0.1s ease-in-out 0s;
}

#header a {
    color: #ffffff;
    transition: all 0.1s ease-in-out 0s;
    text-decoration: none;
    border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}

#header a:hover {
    color: #fe5f55;
    border-bottom: solid 1px rgba(254, 95, 95, 0.5);
}

/*----------- Hamburger 2 ----------*/
.toggle_switch {
    display: inline-block;
    height: 55px;
    width: 65px;
}

.toggle_switch span {
    display: inline-block;
    background: #fe5f55;
    height: 5px;
    width: 40px;
    margin: 37px 0 0 25px;
    position: absolute;
    z-index: 1000;
}

.toggle_switch span:before, .toggle_switch span:after {
    content: "";
    display: block;
    background: #fe5f55;
    position: absolute;
    left: 0;
    height: 5px;
    width: 40px;
    -moz-transform-origin: left 50%;
    -ms-transform-origin: left 50%;
    -webkit-transform-origin: left 50%;
    transform-origin: left 50%;
    -moz-transition: all, 0.3s;
    -o-transition: all, 0.3s;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
}

.toggle_switch span:before {
    -moz-transform: translateY(-13px);
    -ms-transform: translateY(-13px);
    -webkit-transform: translateY(-13px);
    transform: translateY(-13px);
}

.toggle_switch span:after {
    -moz-transform: translateY(13px);
    -ms-transform: translateY(13px);
    -webkit-transform: translateY(13px);
    transform: translateY(13px);
}

.toggle_switch span.arrow:before, .toggle_switch span.arrow:after {
    width: 30px;
    margin-top: 0;
}

.toggle_switch span.arrow:before {
    -moz-transform: rotate(-45deg) translateX(-2px) translateY(0px);
    -ms-transform: rotate(-45deg) translateX(-2px) translateY(0px);
    -webkit-transform: rotate(-45deg) translateX(-2px) translateY(0px);
    transform: rotate(-45deg) translateX(-2px) translateY(0px);
}

.toggle_switch span.arrow:after {
    -moz-transform: rotate(45deg) translateX(-2px) translateY(0px);
    -ms-transform: rotate(45deg) translateX(-2px) translateY(0px);
    -webkit-transform: rotate(45deg) translateX(-2px) translateY(0px);
    transform: rotate(45deg) translateX(-2px) translateY(0px);
}

@media screen and (max-width: 800px) {

    .toggle_switch {
        height: 40px;
        width: 55px;
    }

    .toggle_switch span::before {
        transform: translateY(-11px);
    }

    .toggle_switch span::before, .toggle_switch span::after {
        height: 3px;
        width: 30px;
    }

    .toggle_switch span::after {
        transform: translateY(10px);
    }

    .toggle_switch span {
        width: 30px;
        margin: 25px 0 0 25px;
        height: 3px;
    }

    .toggle_switch span.arrow:before {
        -moz-transform: rotate(-45deg) translateX(-1px) translateY(0px);
        -ms-transform: rotate(-45deg) translateX(-1px) translateY(0px);
        -webkit-transform: rotate(-45deg) translateX(-1px) translateY(0px);
        transform: rotate(-45deg) translateX(-1px) translateY(0px);
    }

    .toggle_switch span.arrow:after {
        -moz-transform: rotate(45deg) translateX(-1px) translateY(0px);
        -ms-transform: rotate(45deg) translateX(-1px) translateY(0px);
        -webkit-transform: rotate(45deg) translateX(-1px) translateY(0px);
        transform: rotate(45deg) translateX(-1px) translateY(0px);
    }

    .toggle_switch span.arrow::before, .toggle_switch span.arrow::after {
        width: 25px;
    }
}

/*----------- Hamburger 2 done ----------*/

.logotype {
    color: white;
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin-left: -3px;
    padding-top: 22px;
    z-index: 0;
}

.logotype span {
    color: #4a4a49;
    font-size: 0.02em;
}

.logotype a {
    border: none !important;
}

.logotype a:hover {
    border: none !important;
}

#header .logotype.out {
    margin-left: -9px;
    /*opacity: 0;*/
}

.main_logotype {
    color: #fe5f55 !important;
    font-size: 1.2em;
    /*font-weight: bold;*/
    left: 90px;
    position: absolute;
    top: 25px;
    display: none;
}

.main_logotype a {
    border: medium none !important;
    /*color: #fe5f55 !important;*/
}

/*#header .logotype.out.at_all{*/
/*display: none;*/
/*}*/

.address_block {
    color: #ffffff;
    float: right;
    margin-right: 20px;
    margin-top: -10px;
    text-align: right;
}

.address_block span {
    display: block;
    font-family: "PT Serif", serif;
    margin-bottom: 0;
    margin-top: 1em;
    font-size: 1.3em;
    font-weight: bold;
}

ul.top_menu {
    height: 80px;
    margin: 0;
    position: absolute;
    right: 25%;
    top: 0;
}

.top_menu li {
    background-color: #4a4a49;
    color: #ffffff;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 100;
}

.top_menu li.selected {
    height: 26px;
    padding: 27px 13px;
    background-color: #888888;
    color: #4a4a49 !important;
}

.top_menu li.selected a {
    color: #4a4a49 !important;
}

.top_menu li.selected svg {
    stroke: #4a4a49;
}

.top_menu li a {
    height: 26px;
    padding: 27px 13px;
    display: inline-block;
    text-decoration: none;
    border: none !important;
}

.top_menu li a:hover {
    color: #ffffff !important;
    border: none !important;
    background-color: #888888;
}

.top_menu li a:hover svg {
    /*stroke: #fe5f55;*/
}

.top_menu svg.icon {
    height: 20px;
    margin-bottom: -3px;
    margin-right: 5px;
    stroke: white;
    top: -559px;
    width: 22px;
    fill: none;
}

/*----------- Search Form --------------*/

.search_form {
    background-color: #706f6f;
    height: 80px;
    position: absolute;
    right: 0;
    top: 0;
}

.search_form input {
    border: 23px solid #706f6f;
    border-right: none;
    height: 32px;
    padding: 1px 10px;
    position: absolute;
    width: 0;
    z-index: 0;
    transition: all 0.15s ease-in-out 0s;
    right: 20px;
    border-radius: 0;
    margin: 0;
}

.search_form input.out {
    width: 180px;
    margin-right: 60px;
}

.search_form button {
    background-color: #706f6f;
    background-size: 16px auto;
    border: medium none;
    height: 80px;
    position: absolute;
    right: 0;
    transition: all 0.1s ease-in-out 0s;
    width: 80px;
    z-index: 10;
}

/*.icon:hover{*/
/*fill: #999;*/
/*}*/

/*.icon:active, .icon.checked{*/
/*fill:red;*/
/*}*/

.search_form button svg {
    fill: white;
    height: 22px;
    margin: 7px 0 0 3px;
    width: 22px;
}

.search_form button:hover svg {
    width: 24px;
    height: 24px;
}

#header .cells {
    display: none;
}

/*----------- Search Form Done --------------*/

/*Шапка для Планшета*/

@media screen and (max-width: 1300px) {

    .logotype {
        font-size: 24px;
        margin-top: 4px;
        margin-left: -15px;
    }
}

@media screen and (max-width: 1010px) {
    .logotype {
        display: none !important;
    }

    ul.top_menu {
        right: 30%;
    }

    #header .cells {
        display: none;
    }
}

/*Шапка для Мобильных*/

@media screen and (max-width: 800px) {

    #header {
        height: 50px;
    }

    #header .no_cells {
        display: none !important;
    }

    #header .cells {
        display: inline-block !important;
        margin-right: 1em;
    }

    .top_menu svg.icon {
        display: none
    }

    ul.top_menu {
        left: 39px;
    }

    .address_block {
        margin-top: 12px;
    }

    .address_block span {
        font-family: "PT Sans", sans-serif;
        margin-right: 1em;
        font-size: 1em;
        display: inline-block;
        font-weight: 100;
        margin-top: 0 !important;
    }

    .top_menu li a {
        height: 26px;
        padding: 12px;
    }
}

@media screen and (max-width: 750px) {

    .top_menu {
        display: none;
    }

    .logotype {
        display: none !important;
    }
}

/*Шапка Scrolled*/

/*--------- Header done --------------*/

#main {
    /*margin-bottom: 150px;*/
    transition: all 0.15s ease-in-out 0s;
    padding-top: 45px;
}

@media screen and (max-width: 800px) {
    #main {
        padding-top: 15px;
    }
}

/*Кнопки*/

#main .button {
    text-decoration: none;
    padding: 10px 40px;
    position: relative;
    transition: all 0.15s ease-in-out 0s;
    border: 1px solid #4a4a49;
    display: inline-block;
    font-size: 0.9em;
    box-sizing: border-box;
    text-align: center;
}

#main .button:hover {
    padding: 10px 50px 10px 30px;
}

#main .light.button:hover {
    stroke: #4a4a49 !important;
    color: #4a4a49 !important;
    background-color: #ffffff;
}

#main .dark.button {
    color: #ffffff;
    background-color: #4a4a49;
}

#main .light.button {
    background-color: transparent;
    border-color: white !important;
    color: white;
}

#main .button svg {
    stroke: white;
    opacity: 0;
}

#main .button svg {
    height: 20px;
    position: absolute;
    right: 20px;
    stroke: #4a4a49;
    stroke-width: 2.4;
    top: 11px;
    width: 8px;
    transition: all 0.15s ease-in-out 0s;
}

#main .button:hover svg {
    stroke: #4a4a49;
    opacity: 1;
}

#main .dark.button:hover svg {
    stroke: #ffffff;
}

/*Кнопки Done*/

.icon {
    display: inline-block;
}

.arrow_click {
    display: block;
}

.arrow_click svg {
    transition: all 0.05s ease-in-out 0s;
    stroke: #4a4a49;
    width: 30px;
    height: 30px;
}

.arrow_click:hover svg {
    /*transform: scale(1.05);*/
    /*width: 33px;*/
    /*height: 33px;*/
    stroke: #999;
}

/*---------------- Main Section --------------------*/

ul.related_menu {
    background-color: #fffaea;
    box-sizing: border-box;
    float: left;
    list-style: outside none none;
    margin-right: 50px;
    padding: 20px;
    text-align: right;
    width: 325px;
    transition: all 0.1s ease-in-out 0s;
    display: none;
}

img.main_image {
    margin-bottom: 40px;
    width: 100%;
}

img.main_image {
    width: 100%;
    margin-bottom: 40px;
    max-height: 500px;
    max-width: 1380px;
}

.main_header h1 {
    font-size: 4em;
    margin: 0;
}

.main_header.default {
    margin-bottom: 1.5em;
    margin-left: 5%;
    margin-top: 4em;
    position: inherit;
}

.briefing {
    margin: 20px 0 45px;
}

.briefing > p {
    margin-bottom: 0;
}

#contentwrapper {
    float: left;
    width: 100%;
}

#contentcolumn {
    margin-left: 320px;
}

#contentcolumn h2 {
    font-size: 2em;
    font-weight: 100;
}

#leftcolumn {
    float: left;
    margin-left: -100%;
    width: 270px;
    position: relative;
}

#leftcolumn > div {
    position: absolute;
}

.main_content td,
.main_content th {
    padding: 15px;
    vertical-align: top;
}

.main_content th {
    font-size: 0.85em;
    font-style: italic;
    font-weight: normal;
    padding: 15px 30px 15px 50px;
    text-align: left;
    width: 280px;
    transition: all 0.1s ease-in-out 0s;
}

.main_paragraph img {
    margin: 40px 0 0;
}

.main_paragraph table img {
    margin: 0;
}

.main_paragraph table th img {
    /*margin-top: -50px;*/
    padding-right: 20px;
}

.main_paragraph table.webcams_special {
    margin-top: 40px;
    margin-bottom: 60px;
}

.main_paragraph table.webcams_special th svg.icon {
    margin-top: -6px;
}

.main_paragraph table.webcams_special th,
.main_paragraph table.webcams_special td {
    padding: 0 10px 20px 0;
}

.main_paragraph table th,
.main_paragraph table td {
    vertical-align: top;
}

.main_paragraph img.browser_preview {
    margin-bottom: 0;
    margin-left: -2%;
    margin-top: 20px;
    position: relative;
    z-index: -1;
}

.left_paragraph > img,
.main_paragraph > img,
.left_paragraph > p > img,
.main_paragraph > p > img {
    max-width: 100%;
}

.wanna_the_same {
    text-align: center;
    margin: 40px 0;
    padding: 0 20px;
}

#contentcolumn .innertube {
    padding: 0 50px;
}

.main_paragraph_wrapper {
    float: left;
    margin-bottom: 30px;
    width: 100%;
}

.main_paragraph {
    transition: all 0.1s ease-in-out 0s;
    margin-right: 35%;
    padding-right: 20px;
    padding-left: 5%;
}

.main_paragraph p {
    margin-top: 0;
}

.left_paragraph {
    font-size: 0.85em;
    margin-bottom: 10px;
    font-style: italic;
    font-weight: normal;
    padding: 0 20px 0 20px;
    text-align: left;
    width: 20%;
    transition: all 0.1s ease-in-out 0s;
    float: left;
    margin-left: -30%;
    color: #888888;
}

.left_paragraph .large {
    font-size: 1.3em;
    font-style: normal;
    margin-bottom: 2em;
}

.left_paragraph .large p{
    margin-bottom: 1em;
}

.left_paragraph p {
    margin-top: 0;
    margin-bottom: 2em;
}

/*Main Section для Планшетов*/

@media screen and (max-width: 1500px) {
    .main_header {
        max-width: 65%;
    }
}

@media screen and (max-width: 1300px) {
    ul.related_menu {
        width: 270px;
    }

    .main_header h1 {
        font-size: 4em;
    }

    .main_content th {
        width: 225px;
    }

    .main_header {
        /*left: 320px;*/
        left: 5%;
    }

    .browser_preview {
        width: 100%;
    }

    img.browser_preview {
        /*margin-bottom: -4%;*/
        /*margin-left: -50px;*/
        /*margin-top: -6%;*/
    }

    .main_paragraph {
        margin-right: 30%;
    }

    .left_paragraph {
        width: 25%;
        margin-left: -30%;
    }
}

@media screen and (max-width: 1010px) {

    .main_header h1 {
        font-size: 2em;
    }

    .main_paragraph {
        margin-right: 30%;
    }

    ul.related_menu {
        width: 195px;
    }

    .main_header {
        left: 5%;
        /*left: 245px;*/
    }

    .main_content th {
        width: 150px;
    }

    .browser_preview {
        width: 100%;
    }

    img.browser_preview {
        /*margin-bottom: -4%;*/
        /*margin-left: -8%;*/
        /*margin-top: -6%;*/
    }

    .left_paragraph {
        margin-left: -32%;
        padding-left: 15px;
        width: 27%;
    }
}

/*Main Section для Мобильных*/

@media screen and (max-width: 750px) {
    #main {
        /*padding-top: 0;*/
    }

    .main_header h1 {
        /*font-size: 3em ;*/
    }

    ul.related_menu {
        float: none;
    }

    .main_paragraph {
        margin-left: 0;
        padding-left: 25px;
        margin-right: 0;
        box-sizing: border-box;
        width: 100%;
    }

    .main_paragraph_wrapper {
        float: none;
    }

    .left_paragraph {
        box-sizing: border-box;
        margin: 20px 0;
        padding-left: 20px;
        text-align: center;
        width: 100%;
    }

    .main_paragraph img.browser_preview {
        margin-left: -5px;
        /*margin-right: auto;*/
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        z-index: -1;
    }

}

span.lead, .leader p {
    font-size: 1.7em;
}

.leader {
    bottom: 10px;
    margin-top: -3em;
    padding: 1em 30% 1em 5%;
    margin-bottom: 2em;
    font-family: PT Serif;
}

.leader.skistop {
    background-color: transparent;
    color: #198cce;
}

.leader.ad_projects {
    margin-bottom: 0 !important;
}

.leader.spbnovostroyka {
    background-color: black;
    color: #ffffff;
}

.leader.arsenal {
    /*background-color: #4383e4;*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#DE7AFF', EndColorStr='#7F1BD5')"; /*IE8*/
    background: -moz-linear-gradient(center top, #5287ef, #2969a0) repeat scroll 0 0 rgba(0, 0, 0, 0);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5287ef), color-stop(100%, #2969a0));
    background: -webkit-linear-gradient(top, #5287ef, #2969a0);
    background: -o-linear-gradient(top, #5287ef, #2969a0); /* Opera 11.10+*/
    background: -ms-linear-gradient(top, #5287ef, #2969a0); /*IE10*/
    background: linear-gradient(top, #5287ef, #2969a0); /*CSS3*/
    color: #ffffff;
}

.leader.bsk {
    background-color: #363636;
    color: #ffffff;
}

.leader.bynoname {
    /*background-color: #000000;*/
    color: #ffffff;
}

.leader.raduga {
    background-color: #01b1f9;
    color: #ffffff;
}

.leader.spbstroy {
    color: #135723;
    /*font-weight: 600;*/
}

@media screen and (max-width: 1300px) {

    .leader {
        padding: 1em 5%;
    }
}

@media screen and (min-width: 1300px) {

    .leader.skistop {
        margin-top: -8em;
    }

}

@media screen and (max-width: 750px) {
    .leader {
        padding: 1em 25px;
    }

    span.lead, .leader p {
        font-size: 1.3em;
    }
}

/*---------------- Main Section Done ---------------*/

/*------------------ Promo ---------------*/

#promo {
    margin-top: 70px;
    text-align: center;
    margin-bottom: 60px;
}

#promo h1 {
    line-height: 1.1em;
}

#promo .left {
    width: 55%;
    height: 100%;
    background-color: #ffcc52;
    border: 5px solid #4a4a49;
    color: #4a4a49;
    border-left: none;
    padding: 0 5% 70px 5%;
    float: left;
    margin-right: 5%;
    text-align: left;
    position: relative;
    /*overflow: hidden;*/
    min-height: 250px;
    background-image: url("/img/parallax_testing.jpg");
    background-size: cover;
}

#promo h1 {
    line-height: 1.1em;
}

#promo .right {
    float: left;
    width: 20%;
    text-align: left;
}

#promo .right:after {
    clear: both;
}

#promo .right .remark {
    background-color: #a7a7a7;
    color: white;
    display: inline-block;
    font-size: 0.7em;
    letter-spacing: 0.2em;
    padding: 1px 4px;
    text-transform: uppercase;
}

#promo .right h2 {
    margin-bottom: -0.3em;
    margin-top: 0.5em;
}

#promo .right svg {
    width: 150px;
}

#promo .right .surv_cam .red_light {
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
}

#promo .right .surv_cam:hover .red_light {
    opacity: 1;
}

.surv_cam {
    margin-left: 10%;
}

#promo .left div {
    bottom: 60px;
    font-size: 1.2em;
    left: 11%;
    /*position: absolute;*/
    color: #ffffff;
}

#promo .left div span {
    padding-left: 5%;
}

/*Promo Для Больших Екранов*/

@media screen and (max-width: 2100px) {
    h1 {
        font-size: 7em;
        margin: 0.35em 0;
    }
}

/*Promo Для Средних Екранов*/

@media screen and (max-width: 1700px) {
    h1 {
        font-size: 6em;
        margin: 0.45em 0;
    }
}

/*Promo Для Планшетов*/

@media screen and (max-width: 1300px) {
    #promo h1 {
        font-size: 3em !important;
        margin-bottom: 0.5em;
    }

    #promo .left {
        background-size: 110% auto;
    }

    #promo .left div {
        bottom: 50px;
        font-size: 1.7em;
    }
}

/*Promo Для Мобильных*/

@media screen and (max-width: 800px) {

    #promo h1 {
        font-size: 3em !important;
        margin-bottom: 0.7em;
    }

    #promo .left {
        background-size: 250% auto;
        float: none;
        width: 100%;
        border-right: none;
        box-sizing: border-box;
        padding: 0 10% 70px 10%;
    }

    #promo .right {
        float: none;
        padding: 10% 10% 0;
        width: 80%;
    }

    #main .button {
        width: 80%;
    }
}

#promo .button,
#main .see_all {
    margin-top: 60px;
    display: inline-block;
    margin-bottom: 40px;
    padding: 15px 50px;
    font-size: 1em;
}

#promo .button svg,
#main .see_all svg {
    top: 17px;
    right: 27px;
}

#promo .button:hover svg {
    top: 17px;
    right: 27px;
}

#promo .button:hover,
#main .see_all:hover {
    padding: 15px 60px 15px 40px;
}

#promo .button:before {
    clear: both;
}

/*--------------- Promo Done --------------*/

/*--------------------- Portfolio --------------------*/

.portfolio {
    margin-bottom: 50px;
}

.portfolio.full {
    margin-top: 38px;
}

.portfolio h3 {
    font-size: 1.5em;
}

.item {
    /*display: inline-block;*/
    float: left;
    border: 3px solid #ffffff;
    box-sizing: border-box;
    position: relative;
    height: 300px;
}

.section_head {
    position: absolute;
    border-left: none !important;
    border-right: 3px solid #ffffff !important;
    color: #4a4a49;
    height: 60px !important;
    vertical-align: top;
    width: 25%;
    border-left: none;
    border-bottom-width: 6px;
    z-index: 100;
    background-color: #ffcc52;
    transition: all 0.15s ease-in-out 0s;
}

.section_head:hover {
    background-color: #ffbd43;
}

.section_head.nolink:hover {
    background-color: #ffcc52 !important;
}

.section_head.nolink {
    padding: 14px 30px 7px 25px;
}

.section_head a {
    color: #4a4a49 !important;
    padding: 14px 30px 7px 60px;
    display: block;
    text-decoration: none;
}

/*Section Head Для Мобильных*/

@media screen and (max-width: 750px) {
    .section_head.nolink {
        padding: 14px 30px 7px 25px;
    }
}

.section_head a:hover,
.section_head a:hover svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.section_head h2 {
    vertical-align: top;
    display: inline-block;
    font-family: "Open Sans";
    font-weight: 400;
    line-height: 1em;
    margin: 0 !important;
}

.section_head svg {
    vertical-align: top;
    display: inline-block;
    height: 25px;
    stroke: #4a4a49;
    width: 40px;
    transition: all 0.15s ease-in-out 0s;
    /*margin-left: -40px;*/
}

.quarter {
    width: 25%;
}

.third {
    width: 37.5%;
}

.portfolio .text {
    padding: 2% 3% 2% 2%;
}

.item.work_unit img {
    height: 100%;
    width: auto;
}

.portfolio .button {
    border-width: 1px !important;
    font-size: 0.9em;
    height: 40px;
    padding: 9px 30px !important;
    width: 150px;
}

.portfolio .text .button {
    box-shadow: none;
    text-shadow: none;
}

#main .portfolio .button:hover {
    padding-left: 20px !important;
    padding-right: 39px !important;
    text-shadow: none;
    /*box-shadow: 1px 1px 1px rgba(0,0,0,0.5);*/
}

#main .portfolio .text .button:hover {
    box-shadow: none;
}

.portfolio .button svg {
    height: 13px !important;
    right: 25px !important;
    top: 13px !important;
}

.portfolio > .covered .wrapper {
    margin-top: 10%;
}

.item.covered::before {
    border: 6px solid #ffcc52;
    box-sizing: border-box;
    content: "";
    display: inline-block;
    height: 237px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 57px;
    transition: all 0.15s ease-in-out 0s;
    width: 100%;
    z-index: 10;
}

.half {
    width: 50%;
}

/*Portfolio для Десктопов*/

@media screen and (min-width: 1300px) {

    .portfolio > div:nth-child(2) {
        border-left: none;
    }

    .portfolio > div:nth-child(4) {
        border-right: none;
    }

    .portfolio > div:nth-child(8) {
        border-width: 3px;
    }

    .portfolio > div:nth-child(5),
    .portfolio > div:nth-child(7) {
        border-width: 3px;
        border-left: none;
    }

    .portfolio > div:nth-child(6) {
        border-width: 3px;
        border-right: none;
    }

    .portfolio > div:nth-child(9) {
        border-width: 3px;
        border-right: none;
    }

    .item:hover .bg_wrapper {
        border: 6px solid #ffcc52;
    }

    .item:hover .bg_container {
        /*transform: scale(1.05);*/
        /*-moz-transform: scale(1.05);*/
        /*-webkit-transform: scale(1.05);*/
        /*-o-transform: scale(1.05);*/
        /*-ms-transform: scale(1.05); *//* IE 9 */
        /*-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=1.05, M12=0, M21=0, M22=1.05, SizingMethod='auto expand')"; *//* IE8 */
        /*filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.05, M12=0, M21=0, M22=1.05, SizingMethod='auto expand'); *//* IE6 and 7 */
    }

    .item:hover hr {
        /*border-color: #fe5f55;*/
        box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    }

    .item:hover .product_bg {
        opacity: 0;
    }

    .item:hover .wrapper {
        color: #ffffff !important;
        text-shadow: 1px 1px 1px black;
    }

    .portfolio .item.covered:hover:before {
        opacity: 1;
    }

}

/*Portfolio для Планшетов*/

@media screen and (max-width: 1300px) and (min-width: 760px) {

    .portfolio > div:nth-child(5) {
        border-width: 3px;
        border-left: none;
        /*float: inherit;*/
    }

    .portfolio > div:nth-child(even) {
        border-left: none;
        border-right: 3px solid #ffffff;
    }

    .portfolio > div:nth-child(odd) {
        border-right: none;
        border-left: 3px solid #ffffff;
    }

    .section_head,
    .quarter,
    .half,
    .third {
        width: 50%;
    }

    .portfolio .text {
        padding: 2% 5% 2% 7%;
    }

}

/*Portfolio для Мобильных*/

@media screen and (max-width: 750px) {
    .section_head,
    .quarter,
    .half,
    .third {
        width: 100%;
    }

    .item {
        border: 3px solid #ffffff;
        border-left: none;
        border-right: none;
    }

    .portfolio .text {
        padding: 5% 10% 5% 15%
    }

    .portfolio > div:nth-child(5) .product_preview {
        padding-top: 0;
    }

    .section_head {
        border-right: none !important;
        border-bottom-width: 6px !important;
    }

    .portfolio > div:nth-child(2) {
        height: 340px;
    }

    .portfolio .empty_block {
        display: none;
    }

}

.product_bg {
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    /*transition: all 0.15s ease-in-out 0s;*/
    width: 100%;
    z-index: 1;
}

.product_preview {
    box-sizing: border-box;
    color: #ffffff;
    height: 100%;
    /*opacity: 0;*/
    /*padding: 0 15px;*/
    position: relative;
    text-align: center;
    /*transition: all 0.15s ease-in-out 0s;*/
    width: 100%;
}

/*.portfolio .item:hover .product_bg,*/
.portfolio .item .product_bg.visible {
    /*opacity: 0.6;*/
}

.portfolio .item:hover .product_preview,
.portfolio .item .product_preview.visible {
    opacity: 1;
}

.product_preview h3 {
    font-family: 'PT Serif', serif;
    font-size: 2em;
}

#main .product_preview a {
    color: #ffffff;
    /*transition: all 0.1s ease-in-out 0s*/
    z-index: 90;
}

#main .product_preview a:hover {
    /*color: #fe5f55;*/
}

.portfolio .item h3 {
    margin: 0;
    transition: all 0.1s ease-in-out 0s;
}

.product_preview hr {
    border-color: #ffffff;
    width: 50%;
    display: inline-block;
    margin: 0;
    transition: all 0.1s ease-in-out 0s;
    /*box-shadow: 1px 1px 1px rgba(0,0,0,0.5);*/
}

/*Выравнивание блока по вертикали*/

.item .wrapper {
    display: inline-block;
    width: 90%;
    position: relative;
    /*text-shadow: 1px 1px 1px black;*/
    vertical-align: middle;
    z-index: 1;
}

.item.text .wrapper {
    text-shadow: none;
}

.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    width: 0;
}

.bg_wrapper {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 0;
    display: block;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
}

.bg_container {
    height: 100%;
    width: 100%;
    z-index: 0;
    padding: 0 15px;
    /*transition: all 0.1s ease-in-out 0s;*/
    /*-moz-transition: all 0.15s ease;*/
    /*-ms-transition: all 0.15s ease;*/
    /*-webkit-transition: all 0.15s ease;*/
    /*-o-transition: all 0.15s ease;*/
    box-sizing: border-box;
    background-position: top;
}

.portfolio .item.text:hover .wrapper {
    color: #4a4a49 !important;
    text-shadow: none;
}

/*------------------ Portfolio Done ------------------*/

.centered {
    text-align: center;
}

@media screen and (max-width: 750px) {
    #main #promo .button,
    #main .centered .button {
        width: 80%;
    }
}

#main .see_all {
    margin: 0;
    margin-bottom: 5em;
}

/*----------------- Услуги --------------*/

.service {
    margin-bottom: 50px;
}

.service .product_preview {
    /*padding: 0 5% 0 15%;*/
    opacity: 1;
    text-align: left;
}

.service div:nth-child(5) .product_preview {
    /*padding-left: 5%;*/
}

.service .product_bg {
    z-index: 0;
    opacity: 0.7;
}

/*Web-cams sector*/

.service iframe {
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 294px;
}

.service .web_cams .product_preview {
    padding: 0 !important;
}

.service .web_cams .wrapper {
    margin-left: 15%;
}

.service .web_cams .product_bg {
    opacity: 0.4 !important;
}

/*Web-cams sector done*/

.service > div:nth-child(2) {
    border-left: medium none;
    border-width: 3px 3px 3px medium;
    float: left;
    height: 600px !important;
}

.service > div:nth-child(5),
.service > div:nth-child(7) {
    border-right: none;
}

.service .half {
    width: 37.5%;
}

.about.service .half {
    width: 50%;
}

.service .bg_container {
    padding: 0 15px 0 15%;
}

.service div:nth-child(5) .bg_container {
    padding-left: 15%;
}

/*Услуги для Планштетов*/

@media screen and (max-width: 1300px) and (min-width: 751px) {

    .service .item.covered::before {
        background-color: #ffcc52;
        content: "";
        display: inline-block;
        height: 6px;
        left: 0;
        opacity: 0;
        position: absolute;
        top: 57px;
        width: 100%;
        z-index: 10;
        transition: all 0.15s ease-in-out 0s;
    }

    .service > div:nth-child(2) {
        border-right: none;
    }

    .service > div:nth-child(3),
    .service > div:nth-child(5),
    .service > div:nth-child(6) {
        border-left: none;
    }

    .service > div:nth-child(2) {
        display: none;
    }

    .service > div:nth-child(5) {
        width: 100%;
    }

    .service > div:nth-child(5) .product_preview {
        text-align: center !important;
    }

    .service > div:nth-child(3) {
        float: left;
    }

    .service > div:nth-child(3) .bg_container {
        padding-top: 60px;
    }

    .phone {
        padding-left: 17%;
    }

    .service .half {
        width: 50%;
    }

    .service div:nth-child(5) .bg_container {
        padding-left: 0;
    }

}

@media screen and (max-width: 1000px) and (min-width: 751px) {

    .product_preview h3 {
        font-size: 1.7em;
    }

}

@media screen and (max-width: 1200px) and (min-width: 1001px) {

    .product_preview h3 {
        font-size: 1.9em;
    }

}

@media screen and (max-width: 1300px) and (min-width: 1201px) {

    .product_preview h3 {
        font-size: 2.1em;
    }

}

/*Услуги для Мобильных*/

@media screen and (max-width: 750px) {
    .service > div:nth-child(2) {
        display: none;
    }

    .service > div:nth-child(3) {
        height: 340px;
        padding-top: 50px;
    }

    .service > div {
        width: 100% !important;
    }

}

/*--------------- Услуги Done -----------*/

.main-helper {
    min-height: 100%;
}

#main .phone {
    padding-left: 25%;
    padding-right: 10%;
}

#main .phone > h2 {
    font-size: 6em;
    margin-left: -0.6em;
    margin-bottom: 0;
    margin-top: 0;
}

span.quoted_text {
    font-family: "PT Serif", serif;
    font-size: 1.5em;
    font-weight: 200;
    text-align: left;
}

span.quoted_text img {
    margin: 0 !important;
}

/*Телефон для Планшетов*/
@media screen and (max-width: 1450px) and (min-width: 1010px) {

    #main .phone > h2 {
        font-size: 5em;
    }

    #main .phone {
        padding-left: 25%;
    }
}

/*Телефон для Больших Мобильных*/
@media screen and (max-width: 1000px) and (min-width: 510px) {

    #main .phone > h2 {
        font-size: 4em;
    }

    #main .phone {
        padding-left: 15%;
    }

}

/*Телефон для Мобильных*/
@media screen and (max-width: 500px) {
    #main .phone {
        padding-left: 15%;
    }

    #main .phone > h2 {
        font-size: 2.2em;
    }

}

/*------- Web-Projects -----*/

table h2 {
    text-indent: -1em;
}

table td {
    vertical-align: top;
    padding-bottom: 3%;
    padding-right: 2%;
}

.half_paragraph {
    margin-right: 50%;
    padding-left: 5%;
    padding-right: 2.5%;
    transition: all 0.1s ease-in-out 0s;
}

.half_paragraph h2,
.left_half_paragraph h2 {
    margin-top: 0 !important;
}

.left_half_paragraph {
    box-sizing: border-box;
    float: left;
    margin-left: -50%;
    padding: 0 3% 0 2.5%;
    transition: all 0.1s ease-in-out 0s;
    width: 50%;
}

/*------- Web-Projects для мобильных -----*/

@media screen and (max-width: 750px) {
    .half_paragraph {
        margin-right: 0;
        padding-left: 25px;
        padding-right: 20px;
        transition: all 0.1s ease-in-out 0s;
        margin-bottom: 3em;
    }

    .left_half_paragraph {
        margin-left: 0;
        padding-left: 25px;
        width: 90%;
        margin-bottom: 3em;
    }
}

/*------- Web-Projects Done -----*/

/*-------------- Portfolio FULL -------------*/

.portfolio.full .item {
    width: 50%;
}

.portfolio.full > div:nth-child(even) {
    border-left: none;
    border-right: 3px solid #ffffff;
}

.portfolio.full > div:nth-child(odd) {
    border-right: none;
    border-left: 3px solid #ffffff;
}

/*Для Мобильных*/

@media screen and (max-width: 750px) {
    .portfolio.full .item {
        width: 100%;
        border-right: none !important;
        border-left: none !important;
    }
}

/*------------ Portfolio FULL Done ----------*/

.main_header {
    margin-left: 5%;
    /*position: absolute;*/
}

.theme {
    background-position: right bottom;
    padding-top: 2.5em;
    /*transition: all 0.15s ease-in-out 0s;*/
    margin-bottom: 2em;
    background-color: transparent;
    border: none;
    margin-top: 2em;
}

.theme.decorated {
    background-repeat: repeat-x;
    background-position: left bottom;
}

.theme.webcams {
    background-image: url("../img/web_cams_header.jpg");
    background-size: 65%;
    min-height: 530px;
}

.theme.webprojects {
    background-image: url("../img/devices_header.jpg");
    background-size: cover;
    min-height: 350px;
    /*background-position: left bottom;;*/
}

.theme.hard_style {
    background-size: contain;
    background-position: left;
    background-repeat: repeat-x;
}

.theme.graphic_design {
    background-image: url("../img/graphic_design_header.jpg");
    min-height: 260px;
}

.theme.hard_style h1 {
    background-color: #ffffff;
    display: inline-block;
    padding: 0.2em 0.5em 0.3em;
}

.theme.ad_projects {
    min-height: 320px;
    background-image: url("../img/ad_projects_header_back.jpg");
    background-repeat: no-repeat;
    background-size: contain;
}

.theme.ad_projects h1 {
    background-image: url("../img/ad_projects.png");
    background-repeat: no-repeat;
    min-height: 290px;
    padding: 0.6em 0.7em 0.3em;
    /*min-width: 680px;*/
    background-size: contain;
    background-color: transparent;
}

.theme.bynoname {
    background-image: url("../img/portfolio/bynoname_header.jpg");
    background-color: #000000;
    background-position: right top;
    /*background-size: 650px !important;*/
    min-height: 250px;
}

.theme.raduga {
    background-image: url("../img/portfolio/raduga_header.jpg");
    background-color: #58caff;
    background-position: top right;
    background-size: contain !important;
    min-height: 170px;
}

.theme.spbstroy {
    background-image: url("../img/portfolio/snabstroy_header.jpg");
    background-size: contain !important;
    min-height: 200px;
    background-color: #135723;
}

.theme.snegny {
    text-shadow: 1px 1px 1px #000000;
    background-image: url("../img/portfolio/snegny_header.jpg");
    min-height: 200px;
    color: #ffffff;
    background-size: cover;
    margin-bottom: 0 !important;
    padding-bottom: 2em;
}

.theme.snegny a {
    color: #ffffff !important;
}

.theme.snegny a:hover {
    color: #fe5f55 !important;
}

.theme.app_sledizastroykoi{
    background-image: url("../img/portfolio/apps/app_bg.jpg");
    background-position: right center;
}

.theme.app_lsr_sledizastroykoi{
    background-image: url("../img/portfolio/apps/app_lsr_bg.jpg");
    background-position: right center;
}

.theme.app_arsenal_sledizastroykoi{
    background-image: url("../img/portfolio/apps/app_arsenal_bg.jpg");
    background-position: right center;
}

.theme.app_moyka{
    background-image: url("../img/portfolio/apps/moyka_app_bg.jpg");
    background-position: right center;
}

.theme.app_etalon{
    background-image: url("../img/portfolio/apps/etalon_app_bg.jpg");
    background-position: right center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

@media screen and (max-width: 750px) {
    .animation.timelapse canvas{
        width: 100%;
    }
}

@media screen and (max-width: 1425px) {
    .theme.graphic_design {
        background-size: cover;
    }
}

@media screen and (max-width: 1650px) {
    .theme.webcams, .theme.webprojects {
        background-size: 80%;
    }
}

@media screen and (max-width: 1300px) {
    .theme.webcams, .theme.webprojects {
        background-size: 120%;
    }

    .theme.ad_projects h1 {
        min-height: 230px;
    }

    .theme.ad_projects {
        min-height: 230px;
    }
}

@media screen and (max-width: 1300px) {

    .theme.ad_projects {
        min-height: 310px;
        background-position: 15% bottom;
    }

    .theme.ad_projects h1 {
        background-image: url("../img/ad_projects_middle.png");
        min-height: 300px;
        padding: 0.7em 1.2em 0.3em;
    }

    .theme.spbnovostroyka {
        background-size: 150% !important;
    }

    .theme.raduga {
        background-size: cover !important;
    }

    .theme.bynoname h1,
    .theme.arsenal h1,
    .theme.raduga h1 {
        text-shadow: 1px 1px 3px black;
    }

    .theme.bynoname,
    .theme.arsenal,
    .theme.raduga {
        text-shadow: 1px 1px 1px black;
    }

    .theme.webcams, .theme.webprojects {
        background-size: 100%;
    }

    .full_img.webcams {
        height: 500px !important;
    }

}

@media screen and (max-width: 750px) {
    .theme.spbnovostroyka {
        background-size: cover !important;
    }
}

@media screen and (max-width: 750px) {

    .theme.ad_projects {
        min-height: 340px;
    }

    .theme.ad_projects h1 {
        min-height: 280px;
        padding: 0.7em 1em 0.3em;
    }

    .theme.raduga {
        min-height: 200px;
    }

    .theme.webcams {
        background-image: url("../img/web_cams_header.jpg");
    }

    .theme.webcams, .theme.webprojects {
        background-position: -31px bottom;
        background-repeat: repeat-x;
        background-size: 240% auto;
        min-height: 505px;
    }

    .full_img.webcams {
        height: 270px !important;
    }

    .theme.spbstroy {
        background-position: 150px 70px;
        background-size: 120% auto !important;
    }

}

.theme.inverted {
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
}

.theme.skistop {
    min-height: 360px;
    background-image: url("../img/portfolio/Bankoboev.jpg");
}

.theme.spbnovostroyka {
    min-height: 270px;
    background-image: url("../img/portfolio/spbnovostroyka_header.jpg");
}

.theme.arsenal {
    min-height: 270px;
    background-image: url("../img/portfolio/arsenal_header.jpg");
}

.theme.bsk {
    min-height: 270px;
    color: #dd0000 !important;
    background-image: url("../img/portfolio/bsk_header.jpg");
    background-position: right center;
}

.theme.inverted a {
    color: #ffffff !important;
}

.theme.inverted a:hover {
    color: #fe5f55 !important;
}

.theme.inverted .related_menu {
    color: #4a4a49;
}

.theme.inverted .related_menu a {
    color: #0b4f72 !important;
}

.theme.inverted .related_menu a:hover {
    color: #fe5f55 !important;
}

@media screen and (max-width: 1300px) {
    .theme.skistop {
        min-height: 250px;
    }
}

@media screen and (max-width: 750px) {

    .main_header,
    .main_header.default {
        /*max-width: 400px;*/
        margin-left: 25px;
        /*position: absolute;*/
        top: 120px;
        /*left: 10%;*/
    }

    .theme.skistop {
        background-position: left bottom;
        min-height: 210px;
        margin-top: 4em;
    }

    .theme.webprojects {
        background-size: 280% auto;
        min-height: 360px;
    }

}

iframe img {
    image-rendering: optimizeQuality;
}

@media screen and (min-width: 1300px) {

    iframe.arsenal_teaser {
        width: 800px;
        height: 532px;
    }

}

@media screen and (max-width: 1300px) {

    iframe.arsenal_teaser {
        width: 540px;
        height: 356px;
    }

}

@media screen and (max-width: 1010px) {

    iframe.arsenal_teaser {
        width: 480px;
        height: 320px;
    }

}

@media screen and (max-width: 750px) {

    iframe.arsenal_teaser {
        height: 210px;
        width: 300px;
    }

}

/*----------- Контакты ---------*/

#contacts {
    margin-top: 30px;
}

#contacts .left {
    background-image: url("../img/contacts_bg.jpg");
    background-position: center center;
    background-size: cover;
    border-left: medium none;
    color: #ffffff;
    float: left;
    height: 100%;
    margin-right: 5%;
    padding: 0 5% 40px 5%;
    text-align: left;
    width: 55%;
}

#contacts .right {
    float: left;
    text-align: left;
    width: 20%;
    font-size: 1.4em;
}

#contacts h1 {
    font-size: 4em;
}

#contacts table {
    border: none;
}

#contacts a {
    color: #ffffff;
}

#contacts table th {
    min-width: 30%;
}

#contacts table th,
#contacts table td {
    vertical-align: top;
    padding: 5px;
    padding-left: 0;
}

#contacts .map {
    margin-bottom: -25px;
    margin-top: 30px;
}

#main #contacts .right > h2 {
    margin-top: 1em;
}

/*Контакты для Планшетов*/

@media screen and (max-width: 1300px) {
    #contacts h1 {
        font-size: 3em;
    }

    #contacts .right {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1150px) {
    #contacts h1 {
        font-size: 2.7em;
    }

    #contacts .right {
        font-size: 1em;
    }
}

@media screen and (max-width: 1000px) {
    #contacts h1 {
        font-size: 2.7em;
    }

    #contacts .right {
        font-size: 0.85em;
    }
}

/*Контакты для Мобильных*/

@media screen and (max-width: 800px) {
    #contacts .left {
        float: none;
        width: 100%;
        border-right: none;
        box-sizing: border-box;
        padding-top: 4%;
    }

    #contacts h1 {
        font-size: 2.7em;
    }

    #contacts .right {
        font-size: 0.85em;
        float: none;
        padding: 5% 10%;
        width: 75%;
    }
}

/*-------- Контакты Done -------*/

/*------- Video BG --------*/

section.video_bg {
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    margin-top: -45px;
}

#video-background {
    display: block;
    position: relative;
    left: 0;
    top: 0;
    /*min-width: 105%;*/
    min-height: 105%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
}

article {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.warp {
    display: inline-block;
    position: absolute;
    top: 20%;
    width: 50%;
    text-align: left;
    color: #ffffff;
    left: 25%;
}

#main .actions .button svg {
    top: 12px !important;
}

#main .pink.button {
    background-color: #fe5f55;
    border: 2px solid #fe5f55;
    border-radius: 0 !important;
    padding: 12px 36px;
    color: #4a4a49 !important;
}

#main .pink.button svg {
    stroke: #fe5f55 !important;
}

#main .pink.button:hover svg {
    stroke: #4a4a49 !important;
}

#main .pink.button:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    padding: 12px 46px 12px 26px;
}

#main .see_works {
    background-color: transparent !important;
    padding: 12px 30px;
    margin-left: 50px;
}

#main .light.button.see_works:hover {
    padding: 12px 40px 12px 20px;
    color: #ffffff !important;
}

#main .light.button.see_works:hover svg {
    stroke: #ffffff !important;
}

.actions {
    margin-top: 40px;
}

.video_bg h1 {
    margin-top: 0;
    margin-bottom: 0.7em;
    font-size: 4em;
    transition: all 0.15s ease-in-out 0s;
}

@media screen and (max-width: 1750px) {
    .video_bg h1 {
        font-size: 3.7em;
    }
}

@media screen and (max-width: 1610px) {
    .video_bg h1 {
        font-size: 3.5em;
    }
}

@media screen and (max-width: 1530px) {
    .video_bg h1 {
        font-size: 3em;
    }
}

/*---------- Video BG для планшетов -----------*/
@media screen and (max-width: 1300px) {
    .warp {
        left: 17%;
        width: 70%;
    }

    .video_bg h1 {
        font-size: 3em;
    }
}

@media screen and (max-width: 785px) {
    .warp {
        left: 8%;
        width: 85%;
    }

    .video_bg h1 {
        font-size: 3em;
    }

    #main .button {
        width: 45%;
    }
}

/*-------- Video BG для планшетов Done --------*/

/*---------- Video BD Для телефонов ---------*/

@media screen and (max-width: 750px) {
    section.video_bg {
        margin-top: -90px;
    }

    #main .button {
        width: 60%;
        margin-bottom: 20px;
    }

    #main .pink_button {
    }

    #main .see_works {
        margin-left: 0;
        padding: 12px 30px;
    }

    section.video_bg {
        height: 700px;
    }
}

@media screen and (max-width: 500px) {

    .video_bg h1 {
        font-size: 2.45em;
    }

    section.video_bg {
        height: 830px;
    }

}

/*------- Video BD Для телефонов Done -------*/

/*----- Video BG Done -----*/

/*---------- About ---------*/

.about_development {
    padding: 20px 20% 60px;
    font-size: 0.9em;
}

#main .about_development h2,
#main .about_difference h2 {
    font-size: 2.2em;
    font-weight: 100;
    text-align: center;
    margin-top: 1em;
}

.about_development ul {
    padding-left: 15%;
    width: 75%;
}

.about_development > ul li {
    margin-bottom: 0.5em;
}

@media screen and (max-width: 785px) {
    .about_development {
        padding: 0 10% 20px;
    }
}

.about.service .quarter {
    width: 33.333333333%;
}

/*.about.service .half {*/
/*width: 50%;*/
/*}*/

.about.service > div:nth-child(2) {
    height: 300px !important;
    border-left: 3px solid #ffffff;
}

.about.service > div:nth-child(1),
.about.service > div:nth-child(4) {
    border-left: none;
    border-right: 3px solid #ffffff;
}

.about.service > div:nth-child(3),
.about.service > div:nth-child(5) {
    border-right: none;
    padding-top: 0 !important;
}

.about_difference {
    margin-left: 20%;
    width: 60%;
}

.about_difference h2 {
    font-size: 1.7em;
    font-weight: 200;
    text-align: left;
}

.service > div:nth-child(3) .bg_container {
    padding-top: 0;
}

/*--------- About для планшетов -------*/

@media screen and (max-width: 1300px) {
    .about.service > div:nth-child(2) {
        display: block;
    }

    .about.service > div:nth-child(3) {
        width: 100%;
    }

    .about.service > div:nth-child(1),
    .about.service > div:nth-child(2) {
        width: 50%;
    }

    .about.service > div:nth-child(5) {
        border-left: 3px solid #ffffff;
    }
}

/*--------- About для мобильных -------*/

@media screen and (max-width: 750px) {
    .about.service > div {
        width: 100% !important;
        border-left: none !important;
        border-right: none !important;
    }

    .about_difference {
        margin-left: 10%;
        width: 80%;
    }

    .about_difference h2 {
        font-size: 1.3em;
    }
}

/*------- About Done -------*/

.full_img {
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 2em;
    margin-top: 2.5em;
}

/*------------ SEO -----------*/

.main_paragraph .canvas-holder {
    width: 70%;
}

.left_paragraph .canvas-holder {
    width: 90%;
    margin-bottom: 4em;
    font-size: 0.9em;
    min-width: 250px;
}

.canvas-holder p {
    margin: 1.5em 0 1em 0;
}

.main_paragraph .canvas-holder {
    font-size: 0.8em;
    font-style: italic;
    margin-bottom: 2em;
}

.main_paragraph canvas {
    margin-bottom: 1em;
}

.full_img.seo_img {
    margin-top: 7em;
}

/*SEO для планшетов*/

@media screen and (max-width: 1300px) {
    .main_paragraph .canvas-holder {
        width: 90%;
    }
}

@media screen and (max-width: 1010px) {
    .main_paragraph .canvas-holder {
        width: 90%;
    }
}

/*--------- SEO Done ---------*/



/*Следизастройкой*/
.sledizastroykoi_wrapper {
    margin-bottom: 70px;
}

.sledizastroykoi_wrapper a{
    font-size: 24px;
    font-style: normal;
    font-weight: bold;
    color: black !important;
}

.sledizastroykoi_wrapper a:hover{
    color: #fe5f55 !important;
}



/*Error 404*/

#error-404{
    padding: 0 5%;
}

/*Error 404*/


/*------------- Footer ---------------*/

#footer {
    background-color: #4a4a49;
    clear: both;
    color: white;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    padding-top: 20px;
    /*position: absolute;*/
    width: 100%;
    bottom: 0px;
}

#footer .left {
    padding-left: 40px;
    float: left;
}

#footer a {
    color: #ffffff;
    transition: all 0.1s ease-in-out 0s;
    text-decoration: none;
    border-bottom: solid 1px rgba(255, 255, 255, 0.5);
}

#footer a:hover {
    color: #fe5f55;
    border-bottom: solid 1px rgba(254, 95, 95, 0.5);
}

#footer .center {
    float: left;
    margin-left: 25%;
    position: absolute;
}

#footer .right {
    position: absolute;
    right: 40px;
    top: 30px;
}

#footer .right a {
    display: inline-block;
    border: none;
}

#footer .right a svg {
    width: 30px;
    height: 30px;
    fill: white;
    transition: all 0.1s ease-in-out 0s;
}

#footer .right a:hover svg {
    fill: #fe5f55;
}

#footer .left_mobile,
#footer .right_mobile {
    display: none;
}

/*Футер для Планшетов*/
@media screen and (max-width: 1300px) and (min-width: 760px) {
    #footer .center {
        margin-left: 32%;
    }
}

/*Футер для Мобильных*/
@media screen and (max-width: 1000px) {

    #footer {
        padding-top: 10px;
        height: 50px;
    }

    #footer .left,
    #footer .center {
        display: none;
    }

    #footer .left_mobile {
        display: inline-block;
        font-size: 0.9em;
        padding-left: 25px;
    }

    #footer .right_mobile {
        display: block;
        float: right;
        margin-right: 25px;
        right: 0;
    }

}

/*------------- Footer Done ---------------*/