html,
body {
    height: 100%;
}
body:before {
    content: "";
    position: fixed;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    z-index: 100;
    -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
    box-shadow: 0px 0px 10px rgba(0,0,0,.8);
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.carousel {
    position: relative;
    /*margin-bottom: 20px;*/
    line-height: 1;
    padding-left: 88px;
}

.carousel-inner {
    position: relative;
    width: 958px;
    overflow: hidden;
    /* padding-left: 94px; */
}
.carousel-control {
    position: absolute;
    top: 40%;
    left: 15px;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 44px;
    font-weight: 100;
    line-height: 27px;
    color: #ffffff;
    text-align: center;
    background: #222222;
    border: 3px solid #ffffff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 23px;
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 15px;
    background: #333333;
    background: rgba(0,0,0,0.75);
}

.carousel-caption h4 {
    margin: 0 0 5px;
}

.carousel-caption h4, .carousel-caption p {
    line-height: 20px;
    color: #ffffff;
}

.carousel-control.right {
    right: 15px;
    left: auto;
}

.mainBlock1 {
    background: url(img/bg2.gif) repeat-x bottom;
    padding-bottom: 19px;
    margin-bottom: 18px;
    padding-left: 2%;
}
.mainBlock1 ul li {
    background: none !important;
}
.mainBlock1 ul li {
    float: left;
    width: 227px;
    margin-right: 16px;
}

.mainBlock1 .link237, .mainBlock1 .link237:visited {
    margin-bottom: 5px;
}

.mainBlock1 ul li a, .mainBlock1 ul li a:visited {
    color: #2487c8;
    text-decoration: underline;
    font: bold 14px Arial;
}

.link237, .link237:visited {
    height: 116px;
    padding: 7px 0 0 5px;
    display: block;
    background: url(/images/bg227.png) no-repeat;
    margin: 7px 0 -2px;
}

.mainBlock1 ul li p {
    line-height: 18px;
}
.mainBlock1 p {
    padding-top: 13px;
}

.carousel img {
    -webkit-box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(113,76,129,1);


}

#box {
    position: relative;
    width: 60%;
    background: #ddd;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 2em 1.5em;
    color: rgba(0,0,0, .8);
    text-shadow: 0 1px 0 #fff;
    line-height: 1.5;
    margin: 60px auto;
}

#box:before,
#box:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    left: 10px;
    width: 50%;
    top: 80%;
    max-width:300px;
    background: rgba(0, 0, 0, 0.7);
    -webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.7);
    -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform: rotate(-3deg);
    -moz-transform: rotate(-3deg);
    -o-transform: rotate(-3deg);
    -ms-transform: rotate(-3deg);
    transform: rotate(-3deg);
}

#box:after {
    -webkit-transform: rotate(3deg);
    -moz-transform: rotate(3deg);
    -o-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    right: 10px;
    left: auto;
}
.postSlider27 {
    height: 70px;
    background: url(/images/bg1088.png) no-repeat center top;
    margin-bottom: -20px;
}

.works .gallery-item img {
    margin: 10px;
}

.works img {
    width: 319px;
    border-radius: 16px;
    height: 242px;
}

.works img:hover{
    opacity: 0.8;
}

.inp input{
    width: 378px;
    margin-top: 11px;
    height: 36px;
    color: black;
}
.inp textarea {
    margin-top: 9px;
    width: 295px;
    height: 182px;
    color: black;
}