@import url('/engine/lib/bootstrap/css/bootstrap.min.css');
@import url('bootstrap-theme.css');
@import url('admin.css');
@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);

img {
    max-width: 100%;
    height: auto;
}
* {
    outline: hidden;
}
input, select, textarea {
    outline: medium none;
}
.block_bg {
    padding: 30px 0;
    background: #e5ddd4 url(../decor/bg1.gif);
}
iframe {
    vertical-align: middle;
    border: none;
    max-width: 100%!important;
}
h3.modal-title {
    font-size: 18px;
}

/*-------------- header --------------*/
#header {
    border-top: #fa040d 3px solid;
}
#header ul.contacts {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: right;
}
#header ul.contacts li {
    height: 17px;
    line-height: 17px;
    vertical-align: middle;
    border-left: #c9cdcf 1px solid;
    padding-left: 12px;
    margin-left: 12px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    color: #72523f;
}
#header ul.contacts li:first-child {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}
#header ul.contacts li span.phone {
    color: #0062a9;
    font-size: 12px;
    padding-left: 17px;
    background: url(../decor/icon_phone.png) center left no-repeat;
    margin-left: 7px;
}
#header ul.contacts li a.email {
    color: #72523f;
    text-decoration: none;
    padding-left: 20px;
    background: url(../decor/icon_email.png) center left no-repeat;
}
#header ul.contacts li a.email:hover {
    text-decoration: underline;
}
#header ul.contacts input.input-btn {
    background: url(../decor/icon_search.png) top center no-repeat;
    width: 15px;
    height: 15px;
    text-indent: -9000px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    vertical-align: middle;
}
#header ul.contacts input.input-btn:hover {
    background: url(../decor/icon_search.png) bottom center no-repeat;
}
#header ul.contacts input.input-search {
    border: none;
    background: none;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: bold;
    width: 40px;
    border-bottom: transparent 1px solid;
    color: #fa040d;
    margin-left: 5px;
}
#header ul.contacts .blur {
    color: #fa040d!important;
}
#header ul.contacts input.input-search:focus {
    border-bottom: #c9cdcf 1px solid;
    color: #666;
    width: 120px;
}

@media (max-width: 768px) {
    #header ul.contacts li {
        border: none;
        display: block;
    }
}

#header .navbar-default {
    background: #fff;
    -webkit-box-shadow: 0 0 5px #e1dfdd;
    -moz-box-shadow: 0 0 5px #e1dfdd;
    box-shadow: 0 0 5px #e1dfdd;
    border-radius: 0;
}
#header .navbar-nav>li {
    border-left: #e6e6e6 1px solid;
}
#header .navbar-nav>li:first-child {
    border: none;
}
#header .navbar-nav>li.open {
}
#header .navbar-nav>li > a {
    color: #3c3c3c;
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    background: none!important;
    position: relative;
}
#header .navbar-nav>li:focus > a,
#header .navbar-nav>li:hover > a,
#header .navbar-nav>li.open > a,
#header .navbar-nav>li.active > a {
    color: #fa040d;
}
#header .navbar-default .navbar-nav>li>a:focus,
#header .navbar-default .navbar-nav>li>a:hover {
    color: #fa040d;
}
#header .navbar-header {
    background: #fa040d;
}
#header .navbar-brand {
    height: 66px;
    padding-left: 115px;
    text-shadow: 1px 1px 2px black;
    padding-right: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    color: #fff;
    line-height: 20px;
    font-size: 18px;
    text-decoration: none;
    padding-top: 3px;
    width: 270px;
    position: relative;
}

@media (min-width: 1199px) {
    #header  .navbar-nav>li > a {
        padding-top: 23px;
        padding-bottom: 23px;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    #header .navbar-header {
        float: none;
        display: block;
    }
    #header  .navbar-nav>li {
        border: none;
    }
}
#header .navbar-brand img {
    position: absolute;
    top: -10px;
    left: 20px;
    width: 85px;
}
#header .navbar-toggle {
    border-radius: 0;
    margin-top: 17px;
    border-color: #fff;
}
#header .navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}
#header .navbar-default .navbar-toggle:focus,
#header .navbar-default .navbar-toggle:hover {
    background-color: #fff;
}
#header .navbar-default .navbar-toggle:focus .icon-bar,
#header .navbar-default .navbar-toggle:hover .icon-bar {
    background-color: #fa040d;
}

@media (min-width: 768px) {
    #header .navbar-nav ul.dropdown-menu {
        background-color: #fa040d;
    }
    #header .navbar-nav ul.dropdown-menu a {
        color: #FFFFFF;
    }
    #header .dropdown-menu>li>a:focus,
    #header .dropdown-menu>li>a:hover {
        color: #000;
        text-decoration: none;
        background: none;
    }
}
#header .navbar-nav:not(.sm-collapsible) > li > a > .caret {
    margin-right: -4px;
}
#header .navbar-nav  .caret.navbar-toggle {
    margin: -7px 15px 0 0;
}
#header .navbar-nav.sm-collapsible .caret, .navbar-nav.sm-collapsible ul .caret {
    background-color: #fa040d;
    color: #fff;
}

#slideshow {
    margin-bottom: 40px;
}

.home_news {
    padding: 10px 0 40px 0;
    background: #f1ece6 url(../decor/bg2.jpg) repeat;
}
.home_news h2 {
    color: #0062a9;
    font-size: 29px;
    vertical-align: top;
    margin-bottom: 10px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
}
.home_news .thumbnail {
    background: none;
    border: none;
    padding: 10px;
}
.home_news h3 {
    margin: 10px 0 8px 0;
    font-size: 15px;
    text-transform: uppercase;
}
.home_news h3 a {
    color: #762f04;
    text-decoration: none;
    font-weight: bold;
}
.home_news h3 a:hover {
    text-decoration: underline;
}
.thumbnail .caption {
    color: inherit;
}


#container {
    margin-bottom: 50px;
}
#mainContainer h1.main-header {
    color: #0062a9;
    font-size: 29px;
    vertical-align: top;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
}
#mainContainer h2.main-header {
     color: #0062a9;
     font-size: 25px;
     vertical-align: top;
     text-align: center;
     font-style: italic;
     margin-bottom: 25px;
    font-weight: bold;
 }

img.img-shadow {
    border: #fff 5px solid;
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.2);
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.2);
    box-shadow: 1px 2px 5px rgba(0,0,0,.2);
}

#listItem h2 {
    margin: 10px 0 8px 0;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

#listItem .date {
    color: #762f04;
    height: 25px;
    line-height: 25px;
    font-size: 25px;
    margin-bottom: 15px;
}
#listItem .date div {
    float: left;
    margin-right: 15px;
}
#listItem .date span {
}
#listItem .date div.year {
    font-size: 15px;
    color: #e8dfd7;
}

#footer {
    font-size: 13px;
    clear: both;
    overflow: hidden;
    color: #72523f;
    position: relative;
    background: #e5ddd4 url(../decor/bg1.gif);
    line-height: 21px;
}

#footer .footerMenu {
    padding: 40px 0 60px 0;
}
#footer p.name {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px;
    color: #762f04;
    margin-top: 20px;
}
#footer .footerMenu ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
#footer .footerMenu li a:hover {
    color: #fa040d;
}
#footer .footerMenu li a {
    color: #72523f;
    text-decoration: none;
}

#footer a:hover {
    color: #fa040d;
    text-decoration: none;
}
#footer a {
    color: #72523f;
}
#footer .copyright-block {
    background: #f6f3ef;
    padding: 20px 0;
    width: 100%;
    text-align: center;
    clear: both;
}

#call-panel {
    bottom: 0;
    width: 100%;
    border-top: #fa040d 3px solid;
    background-color: #fff;
    font-size: 25px;
    z-index: 10000;
    -webkit-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    padding: 20px 0 10px 0;
}
#call-panel span {
    color: #fa040d;
    font-weight: bold;
}
#call-panel a.btn {
    margin-top: -10px;
}
#call-panel p.float {
    text-align: right;
}
@media (min-width: 992px) {
    #footer {
        margin-bottom: 74px;
    }
    #call-panel {
        position: fixed;
    }
    #call-panel p {
        float: left;
    }
    #call-panel p.float {
        float: right;
    }
}


/* Comment
-------------------------------------------------------------------*/
div#comment-block {
}
div#comment-block * {
    border-radius: 0;
}
div#comment-block .panel.panel-default {
    margin-top: 10px;
    margin-bottom: 10px;
    border-color: #ccc;
}
div#comment-block .panel .panel {
    margin-left: 45px;
}
div#comment-block .panel a.cancel {
    display: none;
}
div#comment-block .panel .panel a.cancel {
    display: inline-block;
}
div#comment-block .panel.panel-default .panel-heading {
    background-color: #eeee;
    font-size: 14px;
    border-color: #ccc;
    background-image: none;
}
div#comment-block .panel.panel-default .panel-heading a {
}
div#comment-block .media-object {
    height: 40px;
    margin-right: 0;
}
div#comment-block .panel.panel-default .panel-body {
}

/*-------------- seachList --------------*/
.seachList {
    padding-left: 30px;
}
.seachList li {
    padding: 0;
    margin-top: 15px;
}
.seachList li:first-child {
    margin-top: 0;
}
.seachList li h3 {
    margin-bottom: 3px;
}
.seachList li h3 a {
    text-decoration: none;
}
.seachList li div.url {
    margin-top: 3px;
}
.seachList li div.url a {
    color: #ccc !important;
    font-size: 13px;
    margin-bottom: 5px;
    text-decoration: underline;
}
.seachList li div.url a:hover {
    text-decoration: none;
}

/*-------------- tp-grid --------------*/
.tp-grid {
    list-style-type: none;
    position: relative;
    display: block;
    overflow: hidden;
    max-width: 100%;

}

.tp-grid li {
    position: absolute;
    cursor: pointer;
    border: 10px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: none;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    margin: 0;
    padding: 0;
    clear: both;
}

.no-js .tp-grid li {
    position: relative;
    display: inline-block;
}

.tp-grid li a {
    display: block;
    outline: none;
    width: 315px;
    height: 250px;
    overflow: hidden;
    text-align: center;
    max-width: 100% !important;
}

.tp-grid li img {
    display: block;
    border: none;
    min-width: 315px;
    min-height: 250px;
}

.tp-info,
.tp-title {
    position: absolute;
    background: #fff;
    line-height: 20px;
    color: #333;
    top: 40%;
    width: 75%;
    padding: 10px;
    font-weight: 700;
    text-align: right;
    left: -100%;
    box-shadow:
    1px 1px 1px rgba(0,0,0,0.1),
    5px 0 5px -3px rgba(0,0,0,0.4),
    inset 0 0 5px rgba(0,0,0,0.04);
}

.touch .tp-info {
    left: 0px;
}

.no-touch .tp-info {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.no-touch .tp-grid li:hover .tp-info {
    -webkit-transition-delay: 150ms;
    -moz-transition-delay: 150ms;
    -o-transition-delay: 150ms;
    -ms-transition-delay: 150ms;
    transition-delay: 150ms;
}

.no-touch .tp-open li:hover .tp-info {
    left: 0px;
}

.tp-title {
    padding: 10px 35px 10px 10px;
    left: 0px;
}

.tp-title span:nth-child(2){
    color: #aaa;
    padding: 0 5px;
    background: #F7F7F7;
    right: 0px;
    height: 100%;
    line-height: 40px;
    top: 0px;
    position: absolute;
    display: block;
}

.back {
    margin: 0 auto 30px auto;
    text-align: center;
}
.back a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: #fff;
    background: #8a6e5d;
    background: rgba(138,110,93,0.5);
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}
.back a:hover {
    background: #8a6e5d;
    background: rgba(138,110,93,0.9);
}

.loader {
    left: 50%;
    position: absolute;
    margin-left: -120px;
}

.loader i {
    display: inline-block;
    width: 40px;
    height: 40px;
    -webkit-animation: loading 1s linear infinite forwards;
    -moz-animation: loading 1s linear infinite forwards;
    -o-animation: loading 1s linear infinite forwards;
    -ms-animation: loading 1s linear infinite forwards;
    animation: loading 1s linear infinite forwards;
}

.cssanimations .loader span {
    display: none;
}

.no-cssanimations .loader i {
    display: none;
}

.loader i:nth-child(2){
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -o-animation-delay: 0.1s;
    -ms-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.loader i:nth-child(3){
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -o-animation-delay: 0.2s;
    -ms-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.loader i:nth-child(4){
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -o-animation-delay: 0.3s;
    -ms-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.loader i:nth-child(5){
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    -o-animation-delay: 0.4s;
    -ms-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.loader i:nth-child(6){
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    -ms-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

@-webkit-keyframes loading{
    0%{
        opacity: 0;
        background-color: rgba(255,255,255,0.9);
    }

    100%{
        opacity: 1;
        -webkit-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155,155,155,0.9);
    }
}

@-moz-keyframes loading{
    0%{
        opacity: 0;
        background-color: rgba(255,255,255,0.9);
    }

    100%{
        opacity: 1;
        -moz-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155,155,155,0.9);
    }
}

@-o-keyframes loading{
    0%{
        opacity: 0;
        background-color: rgba(255,255,255,0.9);
    }

    100%{
        opacity: 1;
        -o-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155,155,155,0.9);
    }
}

@-ms-keyframes loading{
    0%{
        opacity: 0;
        background-color: rgba(255,255,255,0.9);
    }

    100%{
        opacity: 1;
        -ms-transform: scale(0.25) rotate(75deg);
        background-color: rgba(155,155,155,0.9);
    }
}

@keyframes loading{
    0%{
        opacity: 0;
        background-color: rgba(255,255,255,0.9);
    }

    100%{
        opacity: 1;
        transform: scale(0.25) rotate(75deg);
        background-color: rgba(155,155,155,0.9);
    }
}

#feedback {
    margin: 0;
    overflow: hidden;
    background: #f1ece6 url(../decor/bg2.jpg) repeat;
    padding: 40px 0;
}
#feedback .form-control {
    padding: 22px;
    color: #72523f;
    background: #faf8f5;
    border: #fff 1px solid;
    resize: none;
    box-shadow: -2px 2px 4px 0px rgba(0, 0, 0, 0.17);
}


/*-------------- system_messages --------------*/
#system_messages_error {
    color: #fff;
    background-color: #c00;
    margin-bottom: 20px;
    padding: 10px 30px;
    box-shadow: -2px 2px 4px 0px rgba(0, 0, 0, 0.17);
}
#system_messages_notice {
    color: #fff;
    background-color: #090;
    margin-bottom: 20px;
    padding: 10px 30px;
    box-shadow: -2px 2px 4px 0px rgba(0, 0, 0, 0.17);
}
#system_messages_error ul, #system_messages_notice ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#system_messages_error li, #system_messages_notice li {
    padding: 2px;
    margin: 0;
    line-height: normal;
    float: none!important;
    list-style: none!important;
}

.modal {
    z-index: 10002;
}
.modal-backdrop {
    z-index: 10001;
}


/*-------------- back-top --------------*/
#back-top {
    position: fixed;
    top:18px;
    right: 30px;
    z-index:90000;
    display:none;
    padding:0;
}
#back-top a {
    display:block;
    width:34px;
    height:33px;
    background:url(../decor/top.png) left top no-repeat;
    padding:0;
    opacity: 0.7;
}
#back-top a:hover {
    opacity: 1;
    display: table-cell;
    vertical-align: middle;
}


/*-------------- back-top --------------*/
.gallery-category {
    position: relative;
    margin-bottom: 30px;
}
.gallery-category .thumbnail {
    border: 10px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    padding: 0;
    border-radius: 0;
    display: block;
    z-index: 20;
    position: relative;
    overflow: hidden;
}
.gallery-category .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: left 400ms ease-in-out, top 400ms ease-in-out;
    transform: rotate(2deg);
    left: 0px;
    top: 0px;
    display: block;
    content: '';
    z-index: -2;
}
.gallery-category .bg + .bg {
    transform: rotate(-2deg);
}
.gallery-category .thumbnail .caption {
    background: #fff;
    position: absolute;
    top: 40%;
    left: 0;
    width: 75%;
}
.gallery-category .thumbnail .caption a {
    padding: 5px 10px;
    color: #000;
    text-align: right;
    text-decoration: none;
    font-weight: bold;
    display: block;
}
