*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;


}
/**:not(.slide-menu),
*:before,
*:after {
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}*/

* {
    margin: 0;
    padding: 0;
}

body {
    font: 13px/18px Tahoma, Arial, sans-serif;
    color: #333;
    width: 100%;
    background: white;
}

body.page-id-7 {
    font-size: 13px;
}

@media (min-width: 768px) {
    body.new-year #header {
        background: url(../i/head_bg_ny.jpg) 0 0 no-repeat;
    }

    body.new-year #header::after {
        display: none;
    }

    body.new-year .logo {
        background: none;
    }
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: #001a4b;
    outline: 0;
}

a:hover {
    text-decoration: none;
}

p {
    margin: 0 0 16px;
}

img {
    border: 0;
}

input {
    vertical-align: middle;
}

blockquote {
    margin: 0 0 16px 20px;
    padding: 1px 12px;
    background: #f4f4f4;
    border-left: 3px solid #e5e5e5;
}

blockquote p {
    padding: 8px 0;
    margin: 0;
}

.clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

.aligncenter, div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignnone {
    display: inline;
}

img.alignleft {
    margin: 5px 10px 5px 0;
}

.alignright {
    float: right;
}

img.alignright {
    margin: 5px 0 5px 10px;
}

#wrapper {
    width: 1000px;
    margin: 0 auto;
    background: #eaebeb;
}

#header {
    height: 260px;
    position: relative;
    background: url(../i/head_bg1.jpg) 0 0 no-repeat;
    /*background: url('../i/head_bg_15years.jpg') 0 0 no-repeat;*/
}

.logo {
    display: inline-block;
    margin: 10px 0 0 58px;
    width: 240px;
    height: 180px;
}

#geo-phones {
    position: absolute;
    left: 60px;
    top: 183px;
    max-width: 220px;
    max-height: 73px;
    color: white;
    line-height: 22px;
}

#geo-phones .geo-location {
    font-size: 18px;
}

#geo-phones .geo-phone {
    font-size: 15px;
}

#geo-phones .geo-change {
    color: white;
}

#geo-phones .geo-cities {
    display: none;
    background: white;
    padding: 5px 15px;
    position: absolute;
    z-index: 22;
    width: 350px;
    font-size: 11px;
    border: 1px solid #034c8b;
}

#geo-phones .geo-cities strong {
    color: red;
}

#geo-phones .geo-cities li {
    display: inline-block;
    width: 33%;
}

#middle {
    width: 100%;
    border-top: 11px solid #eaebeb;
    padding: 0 0 5px;
}

* html #middle {
    height: 1%;
}

#middle:after {
    content: '.';
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

#container {
    padding-bottom: 25px;
    float: left;
    width: 100%;
}

#content {
    margin: 0 30px 0 330px;
    background: #FFF;
    padding: 30px;
    -webkit-box-shadow: 2px 3px 5px -2px rgba(161, 161, 161, 1);
    -moz-box-shadow: 2px 3px 5px -2px rgba(161, 161, 161, 1);
    box-shadow: 2px 3px 5px -2px rgba(161, 161, 161, 1);
    border-radius: 14px;
}

.post {
    margin: 0 0 25px;
    overflow: hidden;
}

.post .entry {
    margin-top: 5px;
}

#content h1, #content h2 {
    line-height: 20px;
    font-size: 18px;
    color: #333;
    margin: 0 0 10px;
}

#content h2 a, #content h2 a {
    text-decoration: none;
}

#content h2 a:hover, #content h2 a:hover {
    text-decoration: underline;
}

#content .entry h2, #content .entry h3, #content .entry h4, #content .entry h5, #content .entry h6 {
    line-height: 20px;
    font-size: 18px;
    color: #000;
    margin: 25px 0 10px;
}

#content .entry h3 {
    font-size: 17px;
}

#content .entry h4 {
    font-size: 16px;
    line-height: 1;
}

#content .entry h5 {
    font-size: 15px;
}

#content .entry h6 {
    font-size: 14px;
}

body.category #content h2 {
    margin: 0 0 5px;
}

.post ul, .post ol {
    margin: 0 0 16px 30px;
}

.post li ul, .post li ol {
    margin: 0;
}

.post li li {
    padding-left: 18px;
}

ul.fundex-list {
    padding: 15px;
    background: #bababa;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    color: #333;
    font-size: 13px;
    font-family: Tahoma, Geneva, sans-serif;
    margin: 0 0 20px;
}

ul.fundex-list li {
    margin-left: 20px;
    line-height: 19px;
    margin-bottom: 8px;
}

#content h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px;
}

div.pagetitle {
    margin: 0 0 20px;
    text-align: center;
    font-size: 18px;
}

.commentlist {
    margin: 20px 0 5px;
}

.commentlist li {
    padding: 3px 0 10px;
    list-style: none;
}

.commentlist ul.children {
    margin: 0 0 -3px;
}

.commentlist ul.children li {
    padding: 6px 0 3px 12px;
    margin: 6px 0 3px 12px;
    border-left: 1px solid #dddddd;
}

.avatar {
    float: left;
    display: inline;
    border: 1px solid #ddd;
    padding: 2px;
    margin: 0 7px 0 0;
    background: white;
}

.fn {
    font-style: normal;
    font-weight: bold;
}

.commentmetadata {
    font-size: 11px;
    color: #888;
    margin: 0 0 12px;
}

.commentmetadata a {
    text-decoration: none;
    color: #888888;
}

.commentmetadata a:hover {
    text-decoration: underline;
}

.reply {
    margin: -10px 0 10px;
    font-size: 11px;
}

#respond h3 {
    margin: 30px 0 16px;
}

#cancel-comment-reply {
    margin: 0 0 12px;
}

#commentform {
    margin: 0 0 35px;
}

#commentform p {
    margin: 0 0 8px;
}

#comment {
    width: 100%;
}

#fundex-contacts {
    margin: 0 auto 20px;
    list-style: none;
    overflow: hidden;
    width: 528px;
}

#fundex-contacts li {
    float: left;
    height: 37px;
    width: 170px;
    text-align: center;
    margin: 0 3px 10px;
}

#fundex-contacts a {
    display: block;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    padding: 0 11px;
    background-color: #a5a5a5;
    -webkit-border-radius: 9px;
    border-radius: 9px;
    height: 40px;
    line-height: 40px;
}

#fundex-contacts a:hover {
    text-decoration: underline;
    background-color: #004179;
}

ul.fundex-social {
    list-style: none;
    margin: 0 auto;
    overflow: hidden;
    display: table;
}

ul.fundex-social li {
    float: left;
    margin-right: 5px;
}

#sidebar {
    float: left;
    width: 300px;
    padding: 0 0 35px 45px;
    margin-left: -100%;
}

#nav {
    margin: 0 0 10px -45px;
    padding: 10px;
    -webkit-box-shadow: 2px 2px 3px -3px #333;
    box-shadow: 2px 2px 3px -3px #333;
    background: #09487e;
    /* Old browsers */
    background: -moz-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #09487e), color-stop(100%, #05569b));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #09487e 0%, #05569b 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#09487e', endColorstr='#05569b', GradientType=0);
    /* IE6-9 */
}

#nav ul {
    font-size: 18px;
    overflow: hidden;
}

#nav li {
    list-style: none;
    line-height: 25px;
    margin-top: -2px;
}

#nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 4px 0 7px 34px;
    line-height: 30px;
    border-top: 1px solid white;
    font-size: 17px;
}

#nav a:hover {
    background: #4f83af url(../i/bullet.png) 3px -52px no-repeat;
}

#nav ul ul {
    background: 0;
    font-size: 14px;
    padding: 0;
    margin: 0 0 20px;
}

#nav li li {
    padding: 0;
    background: 0;
}

#nav ul ul a {
    height: auto;
    line-height: 21px;
    background: 0;
    padding: 0 0 0 52px;
    border: 0;
    font-size: 14px;
}

#nav ul ul a:hover {
    background: #4f83af;
}

#nav li.menu-item-type-custom ul.sub-menu {
    display: none;
}

#nav li.current-menu-parent ul.sub-menu {
    display: block;
}

.order-link {
    display: block;
    width: 255px;
    height: 50px;
    line-height: 50px;
    background: #034c8b url(../i/order.png) no-repeat;
    color: #fff;
    text-align: center;
    font-size: 18px;
    margin: 0 0 10px;
}

.news-block {
    margin: 0 0 20px;
}

.news-block h3, .fundex-exhibition h3 {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 12px;
    color: #021b4e;
}

.news .title {
    font-size: 12px;
    line-height: 1.25;
    color: #021b4e;
    margin: 0 0 3px;
    display: block;
}

.news p {
    line-height: 1;
}

.date {
    color: #aaaaaa;
}

.news-links .news {
    margin-bottom: 10px;
}

.fundex-exhibition .more {
    text-align: right;
    font-size: 12px;
    margin: -12px 0 10px;
    display: block;
}

.more-all {
    display: block;
    text-align: center;
}

#contacts {
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    background: #05569c url(../i/contacts.png) repeat-y;
    height: 1%;
}

#ct {
    background: url(../i/contacts.png) -256px 0 no-repeat;
}

#cb {
    background: url(../i/contacts.png) 100% 100% no-repeat;
    padding: 15px;
}

ul#city {
    text-align: left;
    list-style: none;
    font-size: 14px;
}

ul#city li {
    cursor: pointer;
    padding: 5px 0 7px 0;
    border-bottom: 1px dotted white;
}

ul#city li span {
    border-bottom: 0;
    padding-top: 10px;
    padding-bottom: 5px;
    line-height: 1.2;
    display: none;
}

ul#city li span.active {
    display: block;
}

#footer {
    color: #fff;
    background: #004179;
    text-align: center;
}

#footer a {
    color: white;
}

#menu-footer {
    margin: 0 auto;
    display: table;
}

#menu-footer li {
    float: left;
    list-style: none;
    margin: 10px;
}

#copyright {
    padding: 5px;
    font-size: 10px;
    margin: 0;
}

#maincontact {
    font-size: 12px;
    line-height: 12px;
}

.zakaz-form-wrapper {
    display: block;
    width: 100%;
}

.zakaz-form-wrapper h2 {
    text-align: center;
    font-size: 18px;
    color: #23157a;
}

.zakaz-form-wrapper form {
    margin: 0 auto;
    display: block;
    width: 400px;
}

.zakaz-form-wrapper form .form-string {
    margin-bottom: 7px;
    height: 18px;
    display: block;
}

.zakaz-form-wrapper form div.label {
    display: block;
    float: left;
    width: 120px;
    text-align: right;
    margin-right: 15px;
    color: black;
}

.zakaz-form-wrapper form div.form-value {
    display: block;
    float: left;
    color: #000;
    width: 250px;
}

.zakaz-form-wrapper form div.form-value input {
    width: 220px;
    margin-right: 5px;
}

.zakaz-form-wrapper form div.form-value span {
    margin-right: 5px;
}

.zakaz-form-wrapper form div.oferta-wrapper {
    display: block;
    width: 100%;
    float: left;
    margin-top: 20px;
    text-align: center;
}

.zakaz-form-wrapper form div.oferta-wrapper input {
    margin-right: 5px;
}

.zakaz-form-wrapper form div.button-wrapper {
    display: block;
    width: 100%;
    float: left;
    margin-top: 20px;
}

.zakaz-form-wrapper form div.button-wrapper input {
    margin: 0 auto;
    border: 0;
    background: url("../i/buy/buy-button.jpg") no-repeat scroll left top transparent;
    display: block;
    width: 255px;
    height: 50px;
}

.zakaz-form-wrapper p {
    text-align: justify;
}

.zakaz-form-wrapper p.comment {
    margin-left: 100px;
    margin-right: 100px;
}

#phone {
    width: 203px;
}

#label_phone {
    padding-top: 3px;
}

#dog_ser {
    width: 50px;
}

#dog_num {
    width: 87px;
}

#label_dog {
    padding-top: 3px;
}

.error {
    border: 1px solid red;
}

#reg2 {
    display: none;
}

.ngg-navigation {
    padding-bottom: 5px !important;
}

#ads_feb {
    display: block;
    position: absolute;
    height: 150px;
    width: 580px;
}

.ui-tabs, .fundex-tabs {
    position: relative;
    padding: .2em;
    zoom: 1;
}

.ui-tabs .ui-tabs-nav, .fundex-tabs ul {
    margin: 0 auto 9px;
    padding: .2em .2em 0;
    overflow: hidden;
    font-size: 14px;
}

.ui-tabs .ui-tabs-nav li, .fundex-tabs li {
    list-style: none;
    float: left;
    margin: 0 .5% .5%;
    padding: 0;
    white-space: nowrap;
}

.ui-tabs .ui-tabs-nav li a {
    padding: .5em 1em;
    text-decoration: none;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
    cursor: default;
    text-decoration: underline;
}

.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
    cursor: pointer;
    display: block;
}

.ui-tabs .ui-tabs-panel {
    display: block;
    border-width: 0;
    padding: 1em 0;
    background: 0;
}

.ui-tabs .ui-tabs-hide {
    display: none !important;
}

.ui-state-default {
    background: #abadaf;
    border: 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 0;
    padding: 0 10px;
}

.ui-tabs .ui-tabs-selected {
    background: #004179;
}

.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
    color: white;
    text-decoration: none;
}

.fundex-tabs table {
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.1em;
    border-collapse: collapse;
    background: #dadbdc;
    text-align: center;
    border: 1px solid black;
    width: 100%;
}

.fundex-tabs table th {
    font-size: 11px;
    padding: 5px 2px;
    border: 1px solid #333;
    background: #abacaf;
}

.fundex-tabs table th.diameter_mm {
    width: 50%;
}

.fundex-tabs table th.price-col {
    width: 85px;
}

.fundex-tabs table td {
    padding: 7px;
    border: 1px solid #333333;
    font-size: 11px;
}

.fundex-tabs table tr:hover {
    background: #b6cff0;
}

.fundex-tabs li {
    width: 24%;
}

.ui-tabs .ui-tabs-active {
    background: #004179;
}

.ui-tabs .ui-state-hover {
    background: #05569b;
}

.fundex-tabs .type-4,
.fundex-tabs .type-3,
.fundex-tabs .type-2,
.fundex-tabs .type-1 {
    display: block;
    width: 137px;
    height: 164px;
    padding: 0;
}

.fundex-tabs .type-4 {
    background: url('/wp-content/themes/fundex.su/i/s4.png') 0 0 no-repeat;
}

.fundex-tabs .type-3 {
    background: url('/wp-content/themes/fundex.su/i/s3.png') 0 0 no-repeat;
}

.fundex-tabs .type-2 {
    background: url('/wp-content/themes/fundex.su/i/s2.png') 0 0 no-repeat;
}

.fundex-tabs .type-1 {
    background: url('/wp-content/themes/fundex.su/i/s1.png') 0 0 no-repeat;
}

.fundex-tabs .ui-state-active .type-4, .fundex-tabs .type-4:hover {
    background: url('/wp-content/themes/fundex.su/i/s4a.png') 0 0 no-repeat;
}

.fundex-tabs .ui-state-active .type-3, .fundex-tabs .type-3:hover {
    background: url('/wp-content/themes/fundex.su/i/s3a.png') 0 0 no-repeat;
}

.fundex-tabs .ui-state-active .type-2, .fundex-tabs .type-2:hover {
    background: url('/wp-content/themes/fundex.su/i/s2a.png') 0 0 no-repeat;
}

.fundex-tabs .ui-state-active .type-1, .fundex-tabs .type-1:hover {
    background: url('/wp-content/themes/fundex.su/i/s1a.png') 0 0 no-repeat;
}

.callback-tabs.ui-tabs .ui-tabs-nav li {
    width: 32.3%;
}

.post .wpcf7-form {
    padding: 0 25px;
}

span.wpcf7-list-item {
    margin-left: 0;
    margin-right: 0.5em;
}

div.wpcf7 {
    padding: 0;
    margin: 20px 0 0;
}

div.wpcf7-response-output {
    margin: 5px 0;
    padding: 5px 10px;
    border: 1px solid;
}

div.wpcf7-mail-sent-ok {
    color: #398f14;
}

div.wpcf7-mail-sent-ng {
    border: 2px solid red;
}

div.wpcf7-spam-blocked {
    border: 2px solid orange;
}

div.wpcf7-validation-errors {
    color: red;
}

span.wpcf7-form-control-wrap {
    position: relative;
}

.wpcf7-select, .wpcf7-text, .wpcf7-textarea {
    border: 1px solid #ccc;
    width: 100%;
    transition: border linear .2s, box-shadow linear .2s;
    -moz-transition: border linear .2s, -moz-box-shadow linear .2s;
    -webkit-transition: border linear .2s, -webkit-box-shadow linear .2s;
    padding: 7px 9px;
    color: #444444;
}

.wpcf7-form-control:focus {
    outline: 0;
    box-shadow: 0 0 10px #b3dcff;
    -moz-box-shadow: 0 0 10px #b3dcff;
    -webkit-box-shadow: 0 0 10px #b3dcff;
    background: #f8fcff;
}

.wpcf7-form-control:hover {
    background: #f8fcff;
}

.wpcf7-textarea {
    width: 100%;
}

span.wpcf7-not-valid-tip {
    background: #fff;
    font-size: 10pt;
    width: 280px;
    padding: 2px;
    display: block;
    color: red;
    margin: 5px 0;
}

span.wpcf7-not-valid-tip-no-ajax {
    color: #f00;
    font-size: 10pt;
    display: block;
}

span.wpcf7-list-item {
    margin-left: 0.5em;
}

.wpcf7-display-none {
    display: none;
}

div.wpcf7 img.ajax-loader {
    border: 0;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
    left: 10px;
    border-image: initial;
}

div.wpcf7 .watermark {
    color: #888888;
}

.wpcf7-submit {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    padding: 3px 12px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333;
    background-color: #f5f5f5;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    *background-color: #e6e6e6;
    border: 1px solid #ccc;
    *border: 0;
    border-bottom-color: #b3b3b3;
    *margin-left: .3em;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);

    width: auto;
}

.wpcf7-submit:active {
    position: relative;
    top: 2px;
}

.wpcf7-submit[disabled]{
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.wpcf7-submit:hover {
    color: #333;
    background-color: #e6e6e6;
    *background-color: #d9d9d9;
    text-decoration: none;
    background-position: 0 -15px;
    -webkit-transition: background-position .1s linear;
    -moz-transition: background-position .1s linear;
    -o-transition: background-position .1s linear;
    transition: background-position 0.1s linear;
}

.gallery-size-thumbnail .gallery-item {
    width: 170px;
}

.gallery-size-thumbnail .gallery-item:nth-child(3n+4) {
    clear: both;
}

.gallery-caption {
    text-align: center;
}

#colorbox img {
    max-width: none;
}

ul.thumbnails {
    list-style: none;
    *zoom: 1;
    text-align: center;
    margin: 0 auto 0 -20px;
}

ul.thumbnails:before, ul.thumbnails:after {
    display: table;
    content: "";
}

ul.thumbnails:after {
    clear: both;
}

ul.thumbnails > li {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 18px;
    margin-left: 20px;
    padding: 0;
}

a img.size-medium, a img.size-thumbnail {
    padding: 4px;
    line-height: 1;
    border: 1px solid #ddd;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
}

a:hover img.size-medium, a:hover img.size-thumbnail, .gallery-item a:hover {
    border-color: #08c;
    -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
    -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
    box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25);
}

.gallery-item img {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item a {
    display: block;
}

.why_fundex {
    text-align: center;
}

.why_fundex td, .why_fundex th {
    padding: 5px;
    border: 2px solid white;
}

.why_fundex thead tr {
    background: #4f81bd;
    color: white;
    font-size: 12px;
}

.why_fundex tr {
    background: #e9edf4;
}

.why_fundex tr:nth-child(even) {
    background: #d0d8e8;
}

.svaiblock img {
    float: left;
    margin-right: 30px;
}

.svaiblock {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 20px;
    overflow: hidden;
}

.svaiblock table td {
    padding: 4px;
    border: 1px solid #333;
    font-size: 13px;
}

#content h2.blue {
    color: #034c8b;
}

.ul_center ul {
    display: table;
}

.fundex-history td {
    padding: 5px;
}

.fundex-partner {
    margin-bottom: 20px;
    display: block;
    padding: 10px;
    background: #034c8b;
    color: white;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    text-decoration: none;
}

.banner {
    margin-bottom: 20px;
}

.fundex-deps {
    width: 528px;
    margin: 10px auto 0;
}

.fundex-deps td {
    width: 50%;
    padding-bottom: 10px;
    vertical-align: top;
}

.fundex-exhibition {
    margin-top: 20px;
    font-size: 13px;
}

.fundex-exhibition ul {
    text-align: center;
    list-style: none;
    padding: 10px;
    margin-top: 10px;
}

.fundex-exhibition ul li {
    margin: 0;
}

.any-sb-block {
    margin-bottom: 10px;
}

.fundex-social-bottom {
    float: right;
    list-style: none;
    position: relative;
    right: 6px;
    top: 7px;
}

.fundex-social-bottom li {
    float: left;
    margin-right: 5px;
}

.top-menu {
    list-style: none;
    display: table;
    margin: 0 auto;
}

.top-menu li {
    float: left;
}

.block-top-menu {
    background: black;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}

.top-menu a {
    margin: 0 8px;
    font-size: 17px;
    padding: 8px 4px;
    line-height: 38px;
    text-decoration: none;
    color: white;
}

.top-menu a:hover, .top-menu .current-menu-item a {
    text-decoration: underline;
}

.top-menu .divider {
    border-left: 1px solid #eaeaea;
    padding: 5px 0;
    position: relative;
    top: -2px;
}

.top-menu li:first-child .divider {
    display: none;
}

.top-menu li:first-child a {
    padding-left: 0;
    margin-left: 0;
}

.top-menu li:last-child a {
    padding-right: 0;
    margin-right: 0;
}

.counter-projects {
    margin-top: 25px;
    padding: 2px;
    -webkit-box-shadow: 0 0 4px #555;
    -moz-box-shadow: 0 0 4px #555;
    box-shadow: 0 0 4px #555;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    overflow: hidden;
    background: #d4ebff;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Q0ZWJmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjM2JSIgc3RvcC1jb2xvcj0iI2ZiZmRmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjYyJSIgc3RvcC1jb2xvcj0iI2ZiZmRmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3ZmEzYzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #d4ebff 0, #fbfdff 36%, #fbfdff 62%, #7fa3c6 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #d4ebff), color-stop(36%, #fbfdff), color-stop(62%, #fbfdff), color-stop(100%, #7fa3c6));
    background: -webkit-linear-gradient(top, #d4ebff 0, #fbfdff 36%, #fbfdff 62%, #7fa3c6 100%);
    background: -o-linear-gradient(top, #d4ebff 0, #fbfdff 36%, #fbfdff 62%, #7fa3c6 100%);
    background: -ms-linear-gradient(top, #d4ebff 0, #fbfdff 36%, #fbfdff 62%, #7fa3c6 100%);
    background: linear-gradient(to bottom, #d4ebff 0, #fbfdff 36%, #fbfdff 62%, #7fa3c6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#d4ebff', endColorstr='#7fa3c6', GradientType=0);
}

.counter-projects-ul {
    list-style: none;
}

.counter-projects-ul li {
    float: left;
    width: 11.11111111111111%;
    text-align: center;
}

.counter-projects-ul span {
    -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.6);
    box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.6);
    border-right: 1px solid #3f3f3f;
    border-left: 1px solid #0e0e0e;
    font-size: 15px;
    line-height: 28px;
    font-weight: bold;
    text-shadow: 1px 2px 11px white;
    display: block;
    color: #ffffe9;
    background: #657f9b;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY1N2Y5YiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iIzg0YWFjZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjQwJSIgc3RvcC1jb2xvcj0iIzJjMzIzZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwNDA0MDUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, #657f9b 0, #84aacf 40%, #2c323e 40%, #040405 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #657f9b), color-stop(40%, #84aacf), color-stop(40%, #2c323e), color-stop(100%, #040405));
    background: -webkit-linear-gradient(top, #657f9b 0, #84aacf 40%, #2c323e 40%, #040405 100%);
    background: -o-linear-gradient(top, #657f9b 0, #84aacf 40%, #2c323e 40%, #040405 100%);
    background: -ms-linear-gradient(top, #657f9b 0, #84aacf 40%, #2c323e 40%, #040405 100%);
    background: linear-gradient(to bottom, #657f9b 0, #84aacf 40%, #2c323e 40%, #040405 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#657f9b', endColorstr='#040405', GradientType=0);
}

.counter-projects-text {
    font-size: 15px;
    text-align: center;
    margin-top: 8px;
    color: #004179;
    font-weight: bold;
    margin-bottom: 30px;
}

.sidebar-credit-img {
    margin: 25px 0 0;
}

.town-select {
    margin: 0 0 15px 15px;
}

.town-select-title {
    font-size: 16px;
    line-height: 1.4em;
    margin-bottom: 10px;
    overflow: hidden;
}

.thumbnail img {
    border: 1px solid #004179;
    padding: 1px;
}

.social-box .span2 {
    display: inline-block;
    vertical-align: top;
    width: 100px;
}

.post-likebox {
    text-align: center;
    border-top: 1px dashed #e2e2e2;
    padding-top: 20px;
    margin-top: 30px;
}

.custom-video-link {
    position: relative;
    display: inline-block;
}

.custom-video-play {
    position: absolute;
    left: 50%;
    margin-left: -42px;
    top: 50%;
    margin-top: -30px;
}

.custom-video-link:hover .custom-video-play {
    opacity: 0.8;
}

.video-player {
    margin-bottom: 15px;
}

.news-video .title {
    position: relative;
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.news-video .title:hover {
    opacity: 0.8;
}

.news-video .inner-title {
    background: #09487e;
    margin: 0 0 8px;
    padding: 10px;
    color: white;
}

.news-video .inner-title-normal {
    background: #09487e;
    margin: 0;
    padding: 10px;
    color: white;
}

.news-video .news .title {
    font-size: 12px;
    color: #021b4e;
    margin: 0;
    display: block;
}

.custom-video-link {
    position: relative;
    display: inline-block;
    height: 315px;
    overflow: hidden;
}

.loop-video .custom-video-img {
    margin-top: -60px;
}

.custom-video-play {
    position: absolute;
    left: 50%;
    margin-left: -42px;
    top: 50%;
    margin-top: -30px;
}

.custom-video-link:hover .custom-video-play {
    opacity: 0.8;
}

.video-player {
    margin-bottom: 15px;
}

.sidebar-link {
    display: block;
    color: white;
    text-decoration: none;
    padding: 8px;
    line-height: 27px;
    font-size: 19px;
    text-align: center;
    margin: 0 0 10px;
    -webkit-box-shadow: 2px 2px 3px -3px #333;
    box-shadow: 2px 2px 3px -3px #333;
    background: #09487e;
    /* Old browsers */
    background: -moz-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #09487e), color-stop(100%, #05569b));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #09487e 0%, #05569b 100%);
    /* IE10+ */
    background: linear-gradient(to bottom, #09487e 0%, #05569b 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#09487e', endColorstr='#05569b', GradientType=0);
    /* IE6-9 */
}

.sidebar-link:hover {
    background: #0b4e7e;
}

.table-fundex {
    width: 100%;
    border: 1px solid #cccccc;
}

.table-fundex td, .table-fundex th {
    text-align: left;
    border: 1px solid #ccc;
    padding: 8px 5px;
}

.table-fundex tr:hover {
    background: #f0f0f0;
}

.pagination {
    margin: 20px 0;
}

.pagination-centered {
    text-align: center;
}

.pagination ul > li {
    display: inline;
}

.pagination ul {
    display: inline-block;
    margin-bottom: 0;
    margin-left: 0;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination ul > li > a, .pagination ul > li > span {
    float: left;
    padding: 4px 12px;
    line-height: 20px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left-width: 0;
}

.pagination ul > .active > a, .pagination ul > .active > span {
    cursor: default;
    font-weight: bold;
    background: #f0f0f0;
}

.pagination ul > li:first-child > a, .pagination ul > li:first-child > span {
    border-left-width: 1px;
}

.navigation.comm .navigation {
    display: inline-block;
    margin: 30px auto 0;
    overflow: hidden;
}

.navigation {
    text-align: center;
}

.navigation .page-numbers {
    float: left;
    padding: 4px 11px;
    line-height: 20px;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 0;
}

.navigation .page-numbers.current {
    font-weight: bold;
}

.navigation .page-numbers:hover {
    background: #f0f0f0;
}

.navigation .page-numbers:first-child {
    border-left: 1px solid #ddd;
}

.navigation.comm {
    text-align: center;
}

.fundex-tabs-title div {
    width: 25%;
    float: left;
    text-align: center;
    font-size: 19px;
    line-height: 1em;
}

.fundex-tabs-title {
    margin-bottom: 25px;
    overflow: hidden;
}

ol li {
    margin-bottom: 10px;
}

.construct-menu a {
    color: #004f9b;
    font-size: 14px;
}

.post .construct-menu {
    list-style: none;
    margin: 20px 0 15px;
    padding: 0;
    overflow: hidden;
    clear: both;
}

.construct-menu li {
    margin-bottom: 15px;
}

#content .entry h2.construct-price {
    color: #034c8b;
    text-align: center;
    margin: 25px 0 20px;
    font-size: 20px;
    line-height: 1.4em;
}

.construct-menu.construct-menu-two li {
    width: 50%;
    float: left;
}

.login-visible {
    display: none !important;
}

.logout-visible {
    display: block !important;
}

body.admin-bar .login-visible {
    display: block !important;
}

body.admin-bar .logout-visible {
    display: none !important;
}

.table-our-team {
    margin-top: 30px;
    width: 100%;
}

.table-our-team td {
    text-align: center;
    padding-bottom: 30px;
}

.table-our-team img {
    margin-bottom: 10px;
}

.table-our-team strong {
    margin: 5px 0 10px;
    display: inline-block;
}

.text-justify {
    text-align: justify;
}

.ul li {
    margin-bottom: 8px;
}

.clearfix {
    clear: both !important;
    overflow: hidden !important;
}

.company-history .alignleft {
    margin: 0 20px 20px 0;
}

.company-history .alignright {
    margin: 0 0 20px 20px;
}

.img-caption {
    background: #F0F0F0;
    width: 46%;
}

.img-caption div {
    padding: 0 10px 8px;
}

.img-caption img {
    margin-bottom: 8px;
}

.reconstruct-caption {
    background: #e9e9e9;
    overflow: hidden;
    margin: 20px 0;
}

.reconstruct-caption .inner {
    padding: 5px 15px;
    overflow: hidden;
}

.reconstruct-caption strong {
    font-style: normal;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4em;
}

.reconstruct-caption ul {
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 13px;
}

.reconstruct-caption ul li {
    margin-bottom: 8px;
}

.reconstruct-caption ul li:last-child {
    margin-bottom: 0;
}

.reconstruct-caption img {
    margin: 0;
}

.reconstruct-caption p:last-child {
    margin-bottom: 0;
}

.well {
    padding: 15px;
    background: #e9e9e9;
    margin: 20px 0;
}

.caption {
    margin: 20px auto;
    border: 1px solid #e9e9e9;
}

.caption img {
    margin: 0 !important;
    width: 100% !important;
}

.caption .inner {
    background: #e9e9e9;
    padding: 10px;
}

.pdf {
    background: url("../i/icon_pdf.png") 0 50% no-repeat;
    min-height: 27px;
    padding-left: 35px;
}

.text-center {
    text-align: center;
}

.page-description {
    margin-bottom: 30px;
}

.tn {
    width: 100%;
    margin: 15px 0;
}

.tn.tn-bg {
    background: #eee;
}

.tn td {
    vertical-align: middle;
    width: 50%;
}

.tn td:first-child {
    padding-right: 8px;
    padding-left: 0;
}

.tn td:last-child {
    padding-left: 8px;
    padding-right: 0;
}

.tn.tn-bg td {
    padding: 10px;
}

.tn img {
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    box-shadow: 0;
}

.breadcrumbs {
    margin: 0 30px 0 330px;
    padding-bottom: 15px;
}

:focus {
    outline: 0;
}

.callback-bar {
    display: block;
    position: fixed;
    z-index: 20;
    right: -2px;
    top: 50%;
    margin-top: 0;/* -80px; */
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    -o-transition: all .1s ease-out;
    transition: all 0.1s ease-out;

    padding: 20px 14px 20px 10px;
    background: #D53931;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border: 1px solid white;
    border-right-width: 0;
}

.callback-bar:hover {
    right: 0;
}

.sidebar-form-search button {
    background: none;
    border: 0;
    box-shadow: none;
    text-shadow: none;
    display: inline-block;
    vertical-align: middle;
    height: 25px;
    line-height: 25px;
    margin-right: 15px;
    cursor: pointer;
}

.sidebar-form-search input {
    height: 25px;
    line-height: 25px;
    display: inline-block;
    vertical-align: middle;
    width: 190px;
    padding: 2px 10px;
    box-sizing: border-box;
}

.sidebar-form-search {
    text-align: center;
    border-bottom: 1px solid #eaebeb;
    padding: 10px 0 20px;
}

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #CCC;
}

.mfp-preloader a:hover {
    color: #FFF;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1;
}

.mfp-close:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close {
    color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    top: 50%;
    margin: -55px 0 0;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.modal.modal--white {
    position: relative;
    background: #FFF;
    padding: 30px 30px 10px;
    width: auto;
    max-width: 430px;
    margin: 20px auto;
}

.modal .modal-header {
    margin-bottom: 20px;
}

.product-action.product-action--order {
    margin-top: 1em;
}

.btn {
    background: #FFF;
    padding: .5em 1em;
    border: 1px solid;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
    font-weight: bold;
}

.btn:hover {
    background-color: #e6e6e6;
    text-decoration: none !important;
}

.btn:active {
    position: relative;
    top: 2px;
}

.btn.btn--red {
    border-color: #D53931;
    color: #D53931 !important;
}

.btn.btn--red:hover {
    background-color: #FFF2F2;
}

.single-price #content .entry h2 {
    font-size: 16px;
}



/*
 * Прайс
 */
ul.screwpiles-tabs {
    padding: 0;
    width: 100%;
    margin: 0 0 0 -.5%;
    overflow: hidden;
}
.screwpiles-tabs__item {
    display: block;
    float: left;
    width: 24%;
    margin-left: .5%;
    text-align: center;
    font-size: 19px;
    line-height: 1em;
}
.screwpiles-tabs--pills .screwpiles-tabs__name {
    color: white;
    background-color: #abadaf;
    border-radius: 8px;
    padding: .5em 1em;
    font-size: 14px;
    text-decoration: none;
}
.screwpiles-tabs--pills .screwpiles-tabs__item:hover .screwpiles-tabs__name {
    background-color: #05569b;
}
.screwpiles-tabs--pills .screwpiles-tabs__item.active .screwpiles-tabs__name {
    background-color: #004179;
}
.screwpiles-tabs__name {
    display: block;
    margin-bottom:4px;
}

.screwpiles-tabs__image {
    display: block;
    width: 137px;
    height: 164px;
    margin-bottom:9px;
}
.screwpiles-tabs__image--4 {
    background: url('/wp-content/themes/fundex.su/i/s4.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--3 {
    background: url('/wp-content/themes/fundex.su/i/s3.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--2 {
    background: url('/wp-content/themes/fundex.su/i/s2.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--1 {
    background: url('/wp-content/themes/fundex.su/i/s1.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--4:hover, .screwpiles-tabs__image--4:focus, .screwpiles-tabs__item.active > .screwpiles-tabs__image--4 {
    background: url('/wp-content/themes/fundex.su/i/s4a.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--3:hover, .screwpiles-tabs__image--3:focus, .screwpiles-tabs__item.active > .screwpiles-tabs__image--3 {
    background: url('/wp-content/themes/fundex.su/i/s3a.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--2:hover, .screwpiles-tabs__image--2:focus, .screwpiles-tabs__item.active > .screwpiles-tabs__image--2 {
    background: url('/wp-content/themes/fundex.su/i/s2a.png') 0 0 no-repeat;
}
.screwpiles-tabs__image--1:hover, .screwpiles-tabs__image--1:focus, .screwpiles-tabs__item.active > .screwpiles-tabs__image--1 {
    background: url('/wp-content/themes/fundex.su/i/s1a.png') 0 0 no-repeat;
}

.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}

.price-table {
    font-family: Verdana, Arial, sans-serif;
    font-size: 1.1em;
    border-collapse: collapse;
    background: #dadbdc;
    text-align: center;
    border: 1px solid black;
    width: 100%;
}
.price-table th {
    font-size: 11px;
    padding: 5px 2px;
    border: 1px solid #333;
    background: #abacaf;
}
.price-table td {
    padding: 7px;
    border: 1px solid #333333;
    font-size: 11px;
}
.price-table tr:hover {
    background: #b6cff0;
}
/* Additional styles */
#header {
    background: #013f7c;
}
#header:after {
    content: '';
    position: absolute;
    width: 625px;
    height: 234px;
    top: 13px;
    left: 337px;
    background: url(../i/head-img.jpg) 0 0 no-repeat;
    border: 2px solid #fff;
}
.logo {
    width: 211px;
    height: 155px;
    background: url(../i/logo2.png) 0 0 no-repeat;
}
.mobile-menu-outer {
    display: none;
}
.calculator-body .button {
    line-height: 31px !important;
}

@media (max-width: 999px) {
    #wrapper {
        width: 768px;
    }
    .logo {
        margin: 10px 0 0 30px;
    }
    #header:after {
        left: 270px;
        width: 468px;
    }
    #sidebar {
        width: 240px;
        padding: 0 0 35px 0;
    }
    #nav {
        margin: 0 0 10px 0;
    }
    #nav a {
        padding: 4px 0 7px 19px;
    }
    #nav a:hover {
        background-image: none;
    }
    .sidebar-form-search input {
        width: 176px;
    }
    #sidebar img {
        max-width: 240px;
        vertical-align: bottom;
    }
    .news-block {
        padding: 0 10px;
    }
    #sidebar .news-block img {
        max-width: 220px;
    }
    #content {
        margin-left: 270px;
    }
    #content .post .banner img {
        width: 100%;
        height: auto;
    }
    .wp-image-4839 {
        width: 200px;
    }
    .top-menu a {
        padding: 8px 0;
        font-size: 14px;
    }
    #geo-phones {
        left: 30px;
    }
    .calculator-body select {
        min-width: 260px;
    }
    .breadcrumbs {
        margin-left: 270px;
    }
    .post .entry img {
        max-width: 100%;
        height: auto;
    }
    .post .entry table {
        max-width: 100%;
    }
    .post .entry table td {
        padding-left: 5px;
        padding-right: 5px;
    }
    .post .custom-video-link {
        height: auto;
    }
    .loop-video .custom-video-img {
        margin-top: 0;
    }
    .post .video-container iframe {
        width: 100%;
        height: 229px;
    }
    .social-box .span2 {
        width: 78px;
    }
    #fundex-contacts,
    .fundex-deps {
        width: 100%;
    }
    #fundex-contacts li {
        width: 199px;
    }
    #fundex-contacts li:nth-child(2n) {
        margin-right: 0;
    }
    .fundex-deps tr td:first-child {
        padding-right: 10px;
    }
    .fundex-deps tr td:last-child {
        padding-left: 10px;
    }
    .svaiblock {
        padding-right: 0;
        padding-left: 0;
    }
    .calculator-body select {
        min-width: 260px !important;
    }
    .post .entry .calculator-step-number {
        padding: 0 20px;
    }
    .gallery-item img,
    .gallery-size-thumbnail .gallery-item {
        width: 120px;
    }
    #nav a {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    #wrapper {
        width: 100%;
    }
    #header {
        height: 120px;
    }
    #header:after {
        display: none;
    }
    .logo {
        float: left;
        -webkit-background-size: cover;
        background-size: cover;
        width: 106px;
        height: 78px;
        float: left;
        margin: 20px 0 0 30px;
    }
    #geo-phones {
        position: relative;
        left: auto;
        top: auto;
        float: right;
        margin: 32px 20px 0 0;
        text-align: right;
    }
    #geo-phones .geo-cities {
        left: auto;
        right: 0;
    }
    .geo-cities {
        text-align: left;
    }
    #middle {
        position: relative;
    }
    #nav {
        display: none;
        position: absolute;
        top: -11px;
        left: 0;
        z-index: 6;
        width: 55%;
        margin: 0;
        padding: 0;
    }
    #nav .sidebar-form-search {
        display: none;
    }
    #nav li {
        line-height: 1.2em;
        margin-top: 0;
    }
    #nav ul li:last-child a {
        border-bottom: none;
    }
    #nav a {
        line-height: 1.2em;
        margin: 0;
        padding: 10px;
        display: block;
        border-top: none;
        border-bottom: 1px solid #fff;
    }
    #nav ul ul a {
        padding: 8px 10px 8px 20px;
        line-height: 1.2em;
        font-size: 14px;
    }
    #nav ul ul {
        margin-bottom: 0;
        border-bottom: 1px solid #fff;
    }
    #sidebar {
        float: none;
        width: 100%;
        margin-left: 0;
    }
    #content {
        margin: 0 10px;
        padding: 15px;
    }
    #sidebar .news-block img.custom-video-img {
        max-width: 100%;
        width: 100%;
    }
    #sidebar img {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .sidebar-credit-img {
        display: block;
    }
    .menu-vernhyaya-navigatsiya-container {
        display: block;
        position: absolute;
        top: 45px;
        right: 0;
        width: 45%;
        background: #000;
        z-index: 5;
    }
    .mobile-menu-outer {
        display: inline-block;
        color: #fff;
        font-size: 17px;
    }
    .burger {
        width: 30px;
        height: 33px;
        display: inline-block;
        vertical-align: middle;
        margin: 5px 5px 5px 10px;
    }
    .burger i {
        width: 100%;
        height: 3px;
        background: #fff;
        display: block;
        margin: 6px 0;
        border-radius: 3px;
    }
    .block-top-menu {
        position: relative;
        height: 47px;
    }
    .menu-vernhyaya-navigatsiya-container {
        display: none;
    }
    .top-menu {
        margin: 0;
        display: block;
    }
    .top-menu li {
        display: block;
        float: none;
        border-top: 1px solid #fff;
    }
    .top-menu li:first-child {
        border-top: none;
    }
    .top-menu li:first-child a {
        margin: 0 10px;
    }
    .top-menu a {
        margin: 0 10px;
        line-height: 1.2em;
        display: inline-block;
        padding: 10px 0px;
    }
    .top-menu .divider {
        display: none;
    }
    .breadcrumbs {
        margin-left: 10px;
        margin-right: 10px;
    }
    .pp-product .inner-text {
        float: none;
        clear: both;
        margin-left: 0 !important;
    }
    .pp-product ul {
        float: none !important;
    }
    .calculator-body select {
        min-width: 130px !important;
    }
    .post .entry table td {
        width: auto !important;
    }
    .post .entry table {
        width: 100% !important;
    }
    #sidebar .news-block img {
        width: auto;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    #sidebar .news-block img.custom-video-play {
        margin-left: -42px;
    }
    #sidebar .news-block img.alignleft {
        margin: 5px 10px 5px 0;
    }
    #fundex-contacts li {
        width: 158px;
    }
    #geo-phones .geo-cities {
        width: 300px;
    }
    #geo-phones .geo-cities li {
        width: 50%;
    }
    #copyright {
        text-align: left;
        padding: 5px 10px;
    }
    img.alignright.wp-image-4839 {
        width: auto;
        margin-left: auto;
        margin-right: auto;
        display: block;
        float: none;
    }
}
