﻿.content,
.page-header,
.page-footer {
    margin: 0 auto;
}

.container {
    min-width: 900px;
    /*max-width: 1600px;*/
    margin: 0 40px;
    padding: 0 40px;
}

.columns {
    margin: 0 -15px;
}

.columns::after {
    content: ' ';
    display: table;
    clear: both;
}

.columns-8-1,
.columns-4-1,
.columns-4-2,
.columns-4-1-fix,
.columns-4-1-help,
.columns-2-1,
.columns-4-3,
.columns-4-4,
.columns-9-1,
.columns-6-1,
.columns-3-1,
.columns-3-2,
.columns-5-1,
.columns-5-2,
.columns-5-3,
.columns-5-4,
.columns-6-1 {
    float: left;
    padding: 0 15px;
}

.columns-4-1-help{
    position: relative;
    width: 25%;
}



.columns-8-1 { width: 12.5%; }
.columns-4-1 { width: 25%; }
.columns-4-2 { width: 32%; }
.columns-2-1 { width: 50%; }
.columns-4-3 { width: 75%; }
.columns-4-4 { width: 25%; }
.columns-9-1 { width: 11.11111111%; }
.columns-6-1 { width: 16.66666667%; }
.columns-3-1 { width: 33.33333333%; }
.columns-3-2 { width: 66.66666667%; }
.columns-5-1 { width: 20%; }
.columns-5-2 { width: 40%; }
.columns-5-3 { width: 60%; }
.columns-5-4 { width: 80%; }
.columns-6-1 { width: 45%; }


.content-nav + .columns > .form-horizontal {
    margin-top: -15px;
}

.content > .container-fluid {
    min-height: calc(100vh - 105px);
}

.page-header,
.page-footer {
    cursor: default;
}

.page-footer {
    height: 80px;
}

.page-header .container {
    position: relative;
    height: 90px;
}

.page-header .logo {
    position: relative;
    height: 90px;
}

    .page-header .logo a {
        margin-left: -40px;
    }

        .page-header .logo a img {
            width: 50px;
            height: 50px;
            margin-top: 20px;
            -moz-box-shadow: 4px 4px 8px rgba(0,0,0,0.4);
            -webkit-box-shadow: 4px 4px 8px rgba(0,0,0,0.4);
            box-shadow: 4px 4px 8px rgba(0,0,0,0.4);
        }

.page-header .logo a .text {
    position: absolute;
    left: 45px;
    text-transform: uppercase;
    color: #522B7A;
    top: calc(50% - 17px);
    font-family: Montserrat-Bold;
    line-height: 16px;
    font-size: 14px;
}

.page-header .logo a .text.big {
    line-height: 16px;
}

.page-header .logo .dropdown {
    position: absolute;
    left: 43px;
    top: 33px;
    margin-top: -4px;
    width: 145px;
    text-align: right;
}

.page-header .logo .dropdown.big {
    width: 242px;
}

.page-header .logo .dropdown-toggle{
    width: 32px;
    height: 32px;
    background: none;
    border: 0;
    cursor: pointer;
}

.page-header .logo .dropdown.dropdown-open .dropdown-toggle,
.page-header .logo .dropdown-toggle:hover{
    background: #522B7A;
}

.page-header .logo .dropdown.dropdown-open .dropdown-toggle  {
    box-shadow: 3px 3px 2px rgba(0,0,0,0.2);
}

.page-header .logo .dropdown-toggle svg{
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.page-header .logo .dropdown.dropdown-open .dropdown-toggle svg,
.page-header .logo .dropdown-toggle:hover svg{
    fill: #fff;
}

    .page-header .logo .dropdown-menu {
        right: 0px;
        margin: 0;
        padding: 0;
        border: 0;
        background: #fff;
        -webkit-box-shadow: 3px 3px 2px rgba(0,0,0,.15);
        box-shadow: 3px 3px 2px rgba(0,0,0,.15);
        list-style: none;
    }

.page-header .logo .dropdown-menu li:first-child a, 
.navbar .logo .dropdown-menu li:first-child .link {
    border-top: 3px solid #522B7A;
    margin-left: 0;
}

.page-header .logo .dropdown-menu a, 
.page-header .logo .dropdown-menu .link {
    display: block;
    width: 100%;
    padding: 5px 15px;
    border-top: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    text-align: left;
    font-size: 14px;
    line-height: 20px;
    font-family: Montserrat-Medium;
    white-space: normal;
}

.page-header .logo .dropdown-menu a:hover,
.page-header .logo .dropdown-menu .link:hover {
    background: #522B7A;
    color: #fff;
}

.page-header .account {
    position: absolute;
    bottom: 26px;
    right: 20px;
    font-size: 14px;
}

.page-header .account svg.icon {
    position: absolute;
    top: 5px;
    left: -55px;
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #424242;
    stroke-miterlimit: 10;
}

.page-header .account .account-block {
    position: relative;
    display: block;
    /*min-width: 210px;*/
    min-height: 36px;
    padding: 0 85px 0 0;
    background: none;
    border: 0;
    text-align: left;
    white-space: nowrap;
    font-family: Montserrat-Bold;
    font-size: 16px;
}

.page-header .account .account-block .info {
    position: relative;
    color: #000;
}

.page-header .account .account-block .info span {
    display: block;
    margin-top: 3px;
    font-size: 14px;
    font-family: Montserrat-Medium;
}

.page-header .account form {
    position: absolute;
    right: 32px;
    top: calc(100% - 31px);
}

.page-header .account form button {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    position: absolute;
}

.page-header .account form button svg.caret {
    width: 32px;
    height: 20px;
    fill: none;
    stroke: #212121;
    stroke-miterlimit: 10;
}

    .page-header .account form button:hover svg.caret {
        stroke: #18858a;
    }

.page-header .account .dropdown-menu {
    right: 0;
    margin: 0;
    padding: 0;
    background: #fff;
    -webkit-box-shadow: 3px 3px rgba(0,0,0,.15);
    box-shadow: 3px 3px rgba(0,0,0,.15);
    list-style: none;
}

.page-header .account .dropdown-menu a,
.page-header .account .dropdown-menu .link {
    display: block;
    width: 100%;
    padding: 6px 15px;
    border-top: 1px solid #ddd;
    color: #666;
    text-align: left;
    text-decoration: none;
}

.page-header .account .dropdown-menu li:first-child a,
.page-header .account .dropdown-menu li:first-child .link {
    border-top: 3px solid #2AA0D0;
}

.page-header .account .dropdown-menu a:hover,
.page-header .account .dropdown-menu .link:hover {
    background: #0094D3;
    color: #fff;
}

.page-footer ul {
    list-style: none;
    display: inline;
    font-family: Montserrat-Bold;
}

.page-footer li {
    float: right;
    color: rgba(0, 0, 0, 0.50);
    margin: 30px 0px 30px 40px;
}

.page-footer li:first-child {
    float: left;
    margin: 30px 0px 30px 0px;
}

.page-footer li:nth-child(3) {
    margin-left: 0px;
}

.page-footer a {
    color: #fff;
    text-decoration: none;
}

.page-footer a,
.page-footer a:link,
.page-footer a:visited {
    color: rgba(0, 0, 0, 0.50);
}

.page-footer a:hover,
.page-footer a:active {
    color: #18858A;
}

.content > .container {
    min-height: calc(100vh - 200px);
    background: #fff;
}

.content-header {
    position: relative;
    cursor: default;
}

    .content-header h1 {
        font-family: Montserrat-Medium, serif;
        font-size: 40px;
        position: relative;
        color: black;
        line-height: 50px;
        margin-top: 30px;
        margin-bottom: 10px;
        /*padding-bottom: 10px;*/
        /*padding-left: 20px;*/
    }

/*Вторичное меню*/
.content-nav li svg {
    width: 24px;
    height: 24px;
    vertical-align: -8px;
    margin-right:5px;
    left: 50px;
}

.content-nav {
    margin: 0 -40px;
}

.content-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.content-nav > ul {
    width: 100%;
    height: 100%;
    display: table;
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
    font-size: 15px;
    font-family: Montserrat-Medium;
}

.content-nav > ul > li {
    position: relative;
    display: table-cell;
    height: 100%;
    border-right: 1px solid rgba(0, 0, 0, 0.20);
    vertical-align: middle;
    min-width: 218px;
}

    .content-nav > ul > li.submenu > a::after {
        content: ' ';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 12px;
        height: 8px;
        background: url('/Content/Images/ico-caret-black.svg') no-repeat;
        margin: auto 0 auto 20px;
    }

.content-nav > ul > li:last-child {
    border-right: none;
}

.content-nav > ul > li > a {
    display: block;
    padding: 15px 40px 15px 20px;
    color: black;
    text-decoration: none;
}

.content-nav > ul > li.blocked{
    pointer-events: none;
}
.content-nav > ul > li.blocked > a {
    color: #666;
    opacity: 0.7;
}

.content-nav > ul > li.active > a {
    /*background: #fff;*/
    /*color: #666;*/
}

.content-nav > ul > li:hover,
.content-nav > ul > li > a:hover,
.content-nav > ul > li.submenu-open > a {
    background: #EAEAEA;
}

.content-nav ul ul {
    z-index: 2;
    display: none;
    min-width: 100%;
}

.content-nav .submenu-open > ul {
    display: block;
    z-index: 1;
}

    .content-nav > ul > li.submenu-open {
        background: #EAEAEA;
        z-index: 1000;
        box-shadow: 0px 0px 10px rgba(0,0,0,.3);
    }

.content-nav > ul > li > ul {
    z-index: -1;
    position: absolute;
    top: 100%;
    left: -0.6px;
    right: -1.1px;
    background: #EAEAEA;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-top: 0;

    -moz-box-shadow: 5px 5px 10px rgba(0,0,0,0.15), -5px 5px 10px rgba(0,0,0,0.15);
    -webkit-box-shadow: 5px 5px 10px rgba(0,0,0,0.15), -5px 5px 10px rgba(0,0,0,0.15);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.15), -5px 5px 10px rgba(0,0,0,0.15);
}

    .content-nav > ul > li:first-child > ul {
        left: 0;
        border-left: 0;
    }

    .content-nav > ul > li:last-child > ul {
        left: auto;
        right: 0;
        border-right: 0;
    }

.content-nav ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    background: #EAEAEA; 
}

.content-nav ul ul ul.toleft {
    left: auto;
    right: 100%;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-top: 0;
}

.content-nav ul ul ul.toright {
    left: 100%;
    right: auto;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-top: 0;
}

.content-nav ul ul.toleft .submenu::after {
    left: 5px;
    top: 18px;
    transform: rotateY(180deg);
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%3E%0D%0A%09%3Cpolygon%20style%3D%22fill%3A%23000%22%20points%3D%225.5%2C19%208.1%2C19%2015.6%2C10.5%208.1%2C2%205.4%2C2%2012%2C10.5%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat;
}

.content-nav ul ul.toright .submenu::after {
    top: 18px;
    right: 5px;
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%3E%0D%0A%09%3Cpolygon%20style%3D%22fill%3A%23000%22%20points%3D%225.5%2C19%208.1%2C19%2015.6%2C10.5%208.1%2C2%205.4%2C2%2012%2C10.5%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat;
}

.content-nav ul ul.toleft .submenu:hover::after {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%3E%0D%0A%09%3Cpolygon%20style%3D%22fill%3A%23fff%22%20points%3D%225.5%2C19%208.1%2C19%2015.6%2C10.5%208.1%2C2%205.4%2C2%2012%2C10.5%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat;
}

.content-nav ul ul.toright .submenu:hover::after {
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%3E%0D%0A%09%3Cpolygon%20style%3D%22fill%3A%23fff%22%20points%3D%225.5%2C19%208.1%2C19%2015.6%2C10.5%208.1%2C2%205.4%2C2%2012%2C10.5%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat;
}

.content-nav ul ul.toleft > li > a{
    padding-left: 30px;
}

.content-nav ul ul.toright > li > a{
    padding-right: 30px;
}

.content-nav ul ul li {
    position: relative;
    line-height: 23px;
}

.content-nav ul ul .submenu::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 5px;
    display: block;
    width: 14px;
    height: 14px;
    background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2021%2021%22%3E%0D%0A%09%3Cpolygon%20style%3D%22fill%3A%23fff%22%20points%3D%225.5%2C19%208.1%2C19%2015.6%2C10.5%208.1%2C2%205.4%2C2%2012%2C10.5%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat;
    cursor: pointer;
}

.content-nav ul ul li > a {
    display: block;
    padding: 11px 20px 11px 20px;
    color: #000;
    text-decoration: none;
    /*white-space: nowrap;*/
    min-width: 150px;
    border-top: 1px solid rgba(0, 0, 0, 0.20);
    min-height: 50px;
}

.content-nav ul ul li:last-child > a {
    border-bottom: 0;
}

.content-nav ul ul ul li > a {
    border-color: rgba(0, 0, 0, 0.20);
}

.content-nav ul ul li:hover > a {
    background: #18858A;
    color: #fff;
    border-top: 1px solid #18858A;
}

.content-nav ul ul li.active > a {
    /*color: #00adef;*/
}

.content-nav ul ul ul li:hover > a,
.content-nav ul ul ul li.active > a {
    /*background: #333;*/
}

.content-nav li .sub-menu-arrow {
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 12px;
    height: 7.2px;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
    
    display: none;
}

.content-nav  li .sub-menu-arrow svg{
    display: block;
      font-size: 0;
      width: 12px;
      height: 7.2px;
      fill: #00adef; 
}
/*Вторичное меню*/

.container-fluid-window {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 400px;
    padding: 30px 50px;
    background: #fff;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.container-fluid-window form .buttons {
    margin-top: 30px;
    text-align: center;
}

.container-fluid-window form .buttons .btn {
    padding-left: 50px;
    padding-right: 50px;
}

/*@media (max-width: 1280px) {
    .content, 
    .page-header, 
    .page-footer {
        margin: 0 20px;
    }
}

@media (max-width: 1024px) {
    .content,
    .page-header,
    .page-footer {
        margin: 0 0;
    }
}*/

@media (max-width: 1680px) {
    .content-nav > ul > li {
        min-width: 200px;
    }
}


.row {
    background: #ccc;
}

.fixed {
    position: fixed;
    top: 0;
    bottom: auto;
}

.abs {
    position: absolute;
    bottom: 0;
    top: auto;
}