@keyframes wobble-to-top-right-small {
    16.65% {
        -webkit-transform: translate(3px,-3px);
        transform: translate(3px,-3px);
    }

    33.3% {
        -webkit-transform: translate(-3px,3px);
        transform: translate(-3px,3px);
    }

    49.95% {
        -webkit-transform: translate(2px,-2px);
        transform: translate(2px,-2px);
    }

    66.6% {
        -webkit-transform: translate(-2px,2px);
        transform: translate(-2px,2px);
    }

    83.25% {
        -webkit-transform: translate(1px,-1px);
        transform: translate(1px,-1px);
    }

    100% {
        -webkit-transform: translate(0,0);
        transform: translate(0,0);
    }
    /*16.65% {*/
    /*-webkit-transform: translate(5px,-5px);*/
    /*transform: translate(5px,-5px);*/
    /*}*/

    /*33.3% {*/
    /*-webkit-transform: translate(-4px,4px);*/
    /*transform: translate(-4px,4px);*/
    /*}*/

    /*15.00% {*/
    /*-webkit-transform: translate(3px,-3px);*/
    /*transform: translate(3px,-3px);*/
    /*}*/

    /*40.00% {*/
    /*-webkit-transform: translate(2px,-2px);*/
    /*transform: translate(2px,-2px);*/
    /*}*/

    /*70.0% {*/
    /*-webkit-transform: translate(-1px,1px);*/
    /*transform: translate(-1px,1px);*/
    /*}*/

    /*100% {*/
    /*-webkit-transform: translate(0,0);*/
    /*transform: translate(0,0);*/
    /*}*/
}

@keyframes wobble-to-top-right {
    16.65% {
        -webkit-transform: translate(5px,-5px);
        transform: translate(5px,-5px);
    }

    33.3% {
        -webkit-transform: translate(-4px,4px);
        transform: translate(-4px,4px);
    }

    49.95% {
        -webkit-transform: translate(3px,-3px);
        transform: translate(3px,-3px);
    }

    66.6% {
        -webkit-transform: translate(-2px,2px);
        transform: translate(-2px,2px);
    }

    83.25% {
        -webkit-transform: translate(1px,-1px);
        transform: translate(1px,-1px);
    }

    100% {
        -webkit-transform: translate(0,0);
        transform: translate(0,0);
    }
}

body {
    color: #393939;
    font-family: 'Open Sans', sans-serif;
}

.main-picture {
    /*background: red;*/
    /*height: 400px;*/
}

.main-picture-block {
    height: 200px;
}

.full-page-bg {
    position: absolute;
    left: 0;
    right: 0;
    z-index: -1;
}

.main-picture-block .full-page-bg {
    background-attachment: scroll;
    background-image: url(../images/main-picture.png);
    /*background-position: center center;*/
    background-position: center 35%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    /*background-size: 100% 100%;*/
    height: 200px;
}

#scroller {
    position: fixed;
    bottom: 42px;
    cursor: pointer;
    display: none;
    right: 40px;
    z-index: 1000;
}

#scroller i {
    padding: 12px 16px 13px;
    font-size: 20px;
    /* border: 2px solid; */
    border-radius: 50%;
    font-weight: bold;
    /* color: #696969; */
    color: #767679;
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

#location {
    height: 490px;
}

#location .maps {
    position: absolute;
    left: 0;
    right: 0;
}

.footer {
    height: auto;
    padding-bottom: 40px;
    background: #0b0e13;
    color: #8c8c8c;
    padding-top: 40px;
}

.footer a {
    color: #ffffff;
    transition: color 0.4s ease;
}

#arenda {
    color: #ffffff;
    /*padding: 80px 0 70px;*/
    /*padding-bottom: 70px;*/
}

#arenda .full-page-bg {
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
    background: #4a4945;
    height: 240px;
    background: url("../images/bg-arenda.png");
    background-size: 100% 100%;
}

/*.arenda-bg {*/
    /*background: #4a4945;*/
    /*height: 240px;*/
/*}*/

#arenda h3 {
    /*margin-top: 70px;*/
}

#arenda .btn {
    /*background: #8c2238;*/
    border-radius: 20px;
    transition: all 0.3s ease;
    margin-top: 25px;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    border-color: #ffffff;
    background-color: transparent;
}

#arenda .btn .fa {
    margin-right: 20px;
}


#arenda .btn:hover {
    /*background: #1777CD;*/
    /*background: #F1C30A;*/
    color: #ffffff;
    border-color: #8c2238;
    background: #8c2238;
}


.arenda-block {
    padding: 35px 0 50px;
}

.wrap > .container {
    padding-bottom: 0;
    padding-top: 90px;
}

#advantages {
    /*color: #12529a;*/
    color: #8c2238;
}

#advantages .full-page-bg {
    /*height: 350px;*/
    background: #f7f7f7;
    font-size: 16px;
    height: 260px;
}

.advantages-block {
    padding: 59px 0;
    font-size: 15px;
}

.advantages-block > div:first-child {
    margin-bottom: 40px;
}

#komplex {
    padding: 30px 0 50px;
}

#komplex h2 {
    margin-bottom: 30px;
}

.navbar-header-top {
    margin-bottom: 0;
    border: 0;
    background: #ffffff;
}

.navbar-header-top.head-bg {
    /*-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*-o-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
    -moz-box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 3px;
    -o-box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 3px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 3px;
    box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 3px;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s;

}

.navbar-header-top .navbar-nav li a {
    /*padding: 25px 20px;*/
    margin: 35px 15px;
    padding: 0;
}

.navbar-header-top .navbar-brand {
    padding: 20px 0 20px 15px;
    /*color: #074b96;*/
    /*font-size: 20px;*/
}

.navbar-header-top a {
    color: #393939;
    font-weight: bold;
}

.navbar-header-top .navbar-nav li a {
    font-weight: 700;
    /*border-bottom: 1px solid transparent;*/
    position: relative;
}

.navbar-header-top .navbar-nav li {
    /*display: inline-block;*/
    /*margin-right: 38px;*/
    /*vertical-align: top;*/
    /*height: 36px;*/
    /*line-height: 38px;*/
    font-size: 15px;
}

.navbar-header-top .navbar-nav li a:hover, .navbar-header-top .navbar-nav li a:focus {
    color: #8c2238;
    /*border-color: rgba(7, 75, 150, 0.15);*/
    background: none;
}

.navbar-header-top .navbar-nav li a:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    right: 50%;
    bottom: 0;
    background: #8c2238;
    height: 2px;
    -webkit-transition-property: left,right;
    transition-property: left,right;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.navbar-header-top .navbar-nav li a:hover:before {
    left: 0;
    right: 0;
    z-index: 0;
}

.header-phone-link-block {
    /*margin-bottom: 6px;*/
    font-size: 14px;
    color: #8c2238;
}

.header-phone {
    margin: 31px 0 31px 20px;
}

.header-phone .btn {
    background: transparent;
    border: 1px solid #d5d5d5;
    border-radius: 25px;
    padding: 2px 10px;
    transition: all .4s;
}

.header-phone .btn:hover {
    border-color: #8c2238;
}

.header-phone .header-phone-link-block:hover .fa {
    -webkit-animation-name: wobble-to-top-right-small;
    animation-name: wobble-to-top-right-small;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

.header-phone-link span {
    font-size: 14px;
}

.navbar-header-top .header-phone-link {
    color: #8c2238;
    font-size: 20px;
    margin-left: 5px;
}

.navbar-header-top .header-phone-link:hover {
    text-decoration: none;
}

.head-bg ul#navbar-top {
    margin-right: 50px;
}

#navbar-top {
    transition: all 0.4s;
    margin-right: 20px;
}

/*.head-bg .header-phone {*/
    /*margin-top: 35px;*/
/*}*/

/*.header-phone {*/
    /*transition: all 0.4s;*/
/*}*/

/*!*.header-phone-link-block {*!*/
/*!*transition: all 0.4s;*!*/
/*!*}*!*/

/*.head-bg .header-phone-link-block {*/
    /*display: inline-block;*/
/*}*/

.footer-link, .footer-link-info {
    font-weight: bold;
    margin-bottom: 5px;
}

footer a:hover, .footer a:focus{
    color: #F2C310;
    text-decoration: none;
}

.footer-link-descr {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: -2px;
}

.footer-social.text-right {
    font-size: 25px;
}

.social-buttons li a:hover {
    /*color: #1777CD;*/
    color: #F2C310;
}

.arenda-block .modal {
    color: #393939;
}

.arenda-block .modal-dialog {
    width: 80%;
}

.footer-block {
    padding: 20px 0;
}

img.logo-footer {
    margin-top: -10px;
}

.advantages-box .advantages-box-img {
    text-align: center;
}

/*.advantages-box-1 .advantages-box-img {*/
    /*background: url("../images/icons/3-korpusa.png");*/
/*}*/

#about {
    padding: 30px 0 40px;
}

.footer-copyright {
    margin-top: 35px;
}

.advantages-block b {
    font-size: 40px;
    line-height: 20px;
}

#about h2 {
    margin-bottom: 40px;
    font-weight: bold;
}

.logo {
    background-image: url("../images/logo_name_goriz.png");
    width: 208px;
    height: 50px;
    transition: all 0.4s;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.head-bg .logo {
    background-image: url("../images/only_logo.png");
    width: 49px;
    margin-left: 80px;
}

.gallery-img {
    background-size: 100%;
    background-position: center center;
}

.gallery-block a.lightbox:hover .gallery-img {
    /*-moz-transform: scale(1.1,1.1);*/
    /*-ms-transform: scale(1.1,1.1);*/
    /*-o-transform: scale(1.1,1.1);*/
    /* -webkit-transform: scale(1.1,1.1); */
    /* transform: scale(1.1,1.1); */
    /*filter: contrast(130%);*/
    /* -webkit-filter: contrast(130%); */
    background-size: 110% auto;
    transition: all 0.3s ease-in-out 0s;
}

.gallery-img-1 {
    background-image: url("../images/gallery/img-1.jpg");
    height: 330px;
}

.gallery-img-2 {
    background-image: url("../images/gallery/img-2.jpg");
    height: 150px;
    margin-bottom: 30px;
}

.gallery-img-3 {
    background-image: url("../images/gallery/img-3.jpg");
    height: 150px;
}

.gallery-img-4 {
    background-image: url("../images/gallery/img-4.jpg");
    height: 150px;
}

#gallery .gallery-block {
    padding: 50px 0 65px;
}

/*#gallery .full-page-bg {*/
    /*!* height: 350px; *!*/
    /*background: #f7f7f7;*/
    /*!*font-size: 16px;*!*/
    /*height: 633px;*/
/*}*/

#gallery h2 {
    font-weight: bold;
    /*margin-bottom: 50px;*/
    margin-top: 0;
}

.gallery-new .img:before {
    display: block;
    padding-top: 100%;
    content: '';
}

.gallery-new .img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.gallery-new .img.img-1 {
    background-image: url("../images/gallery/Главное фото.jpg");
}

.gallery-new .img.img-2 {
    background-image: url("../images/gallery/Аренда складских помещений.jpg");
}

.gallery-new .img.img-3 {
    background-image: url("../images/gallery/Аренда офисных помещений.jpg");
}

.gallery-new .img.img-4 {
    background-image: url("../images/gallery/Аренда торговых помещений.jpg");
}

.vertical-wrap {
    display: table;
    width: 100%;
}

.vertical-middle {
    vertical-align: middle;
}

.vertical-block {
    display: table-cell;
}

.partners-block .vertical-wrap {
    margin-bottom: 25px;
}

.partners-block {
    padding: 50px 0;
}

.partners-block h2 {
    font-weight: bold;
    margin-top: 0;
}

.partner-box img {
    width: 140px;
    margin-left: auto;
    margin-right: auto;
}

.btn.btn-red {
    background: #8c2238;
    border-radius: 20px;
    transition: all 0.3s ease;
    padding: 10px 40px;
    font-size: 16px;
    font-weight: bold;
}

.tenant-logo {
    padding-top: 50%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

ul.breadcrumb {
    background: transparent;
    padding: 0;
}

ul.breadcrumb a {
    color: #8c2238;
}

ul.pagination a,
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #8c2238;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #8c2238;
    border-color: #8c2238;
}

.tenant-item {
    border-top: 1px solid #eee;
    padding-top: 30px;
    padding-bottom: 30px;
}

.tenant-index .list-view > div:first-child .tenant-item {
    border-top: 0;
    /*margin-top: 0;*/
}

.tenant-item a, .tenant-view a, .rooms-index a {
    color: #8c2238;
}

.tenant-type {
    color: #999;
}

.tenant-phone-block i, .tenant-site-block i, .tenant-phone i, .tenant-email i, .tenant-site i {
    margin-right: 5px;
}

.tenant-phone-block {
    font-weight: bold;
}

.tenant-position-block i {
    color: #8c2238;
    margin-right: 5px;
}

a.footer-link:hover,
a.footer-link:focus,
a.footer-link-info:hover,
a.footer-link-info:focus {
    color: #8c2238;
}

.gallery-new a.thumbnail:hover, .gallery-new a.thumbnail:focus, .gallery-new a.thumbnail.active {
    border-color: #8c2238;
}

/*.arendatory-index .tenant-logo {*/
    /*padding-top: 24%;*/
    /*max-width: 100px;*/
/*}*/

.floor-tenant-block .tenant-item:first-child {
    border-top: 0;
}

.arendatory-index .floor-name {
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #871934;
    font-weight: bold;
    text-transform: uppercase;
}

.floor-tenant-block {
    padding: 20px;
}

.tenant-table-block .tenant-logo-block {
    width: 80px;
}

.tenant-table-block .tenant-position-block {
    width: 100px;
}


.arendatory-index ul.nav.nav-tabs {
    border-bottom: 0;
    margin-top: 20px;
}

.arendatory-index .nav-tabs > li {
    margin-bottom: 0;
}

.arendatory-index .nav-tabs > li > a {
    color: #999;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    border: 0;
    border-radius: 3px;
}

.arendatory-index .nav-tabs > li.active > a {
    background: #871934;
    color: #ffffff;
}

.arendatory-index .nav-tabs > li > a:hover, .arendatory-index .nav-tabs > li > a:focus {
    border: 0;
}

.tenant-view-table {
    margin-top: 20px;
}

.tenant-view-table .table td {
    border-top: 0;
}

.tenant-view-table .table td i {
    margin-right: 10px;
}

.tenant-view .tenant-position-box i {
    color: #871934;
}

.tenant-view .tenant-description {
    margin-top: 20px;
}

.table-hover tr.floor-table-row:hover {
    background: transparent;
}

.table-hover tr.floor-table-row td {
    border-top: 0;
}

.rooms-index table.table td, .rooms-index table.table th {
    padding: 16px;
}

tr.rooms-busy {
    opacity: 0.5;
    /* color: rgba(57, 57, 57, 0.5); */
}

.brands-block a.brand-item {
    display: block;
    background: #eeeeee;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: box-shadow .25s;
    color: #777;
}

.brands-block a.brand-item:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.brands-block a.brand-item:before {
    content: '';
    display: block;
    padding-top: 70%;
}

.brands-block a.brand-item .brand-item-image {
    position: absolute;
    /*top: 0;*/
    /*right: 0;*/
    /*bottom: 50px;*/
    /*left: 0;*/
    background-repeat: no-repeat;
    /*background-size: 90%;*/
    /* background-size: 30%; */
    background-position: center;
    background-image: url(/theme/images/only_logo.png);
    bottom: 70px;
    left: 30px;
    right: 30px;
    top: 30px;
    background-size: contain;
}

.brands-block a.brand-item .brand-item-name {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.tenant-search {
    margin-bottom: 15px;
    margin-left: -10px;
    margin-right: -10px;
}

.tenant-search a.tenant-search-item {
    border-bottom: 1px dashed;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    display: block;
    float: left;
}

.tenant-search a.tenant-search-item {
    border-bottom: 1px dashed;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    display: block;
    float: left;
    text-decoration: none;
}

.tenant-search a.tenant-search-item.active {
    /*font-weight: bold;*/
    border-bottom-style: solid;
    color: #23527c;
}

.menu-bottom {
    margin-left: -15px;
    margin-right: -15px;
}

.menu-bottom li {
    width: 50%;
    padding: 0 15px;
}

.menu-bottom li a {
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0 !important;
}

.menu-bottom li a:hover {
    color: #8c2238;
    background: transparent !important;
}
