/*.navbar {
    margin: 0 !important;
}*/

iframe {
    width: 100%;
}

div.main-manufact-block {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

div.main-manufact-block a,
div.main-manufact-block:before {
    content: "";
    background-color: rgba(0, 0, 0, .3);
    background-image: url(../../img/bg-page.png);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 6;
}

div.main-manufact-block a {
    background: transparent;
    z-index: 20;
}

div.main-manufact-block.metal:after,
div.main-manufact-block.furniture:after {
    position: absolute;
    z-index: 5;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../../img/pages/saw.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: .3s;
}

div.main-manufact-block.metal:after {
    background-image: url(../../img/pages/weld.jpg);
}

div.main-manufact-block div.inner {
    position: relative;
    z-index: 10;
    padding: 20px;
    color: white;
}

div.main-manufact-block div.name {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.5;
}

div.main-manufact-block:hover:after {
    -webkit-transform: scale(1.1) rotate(1deg);
    -moz-transform: scale(1.1) rotate(1deg);
    -ms-transform: scale(1.1) rotate(1deg);
    -o-transform: scale(1.1) rotate(1deg);
    transform: scale(1.1) rotate(1deg);
}

h3.title {
    margin-top: 70px;
}

.carousel-indicators {
    display: none;
}

.carousel-caption {
    padding-bottom: 0 !important;
}

section#products div.item {
    margin-bottom: 0 !important;
}

/*div.portfolios div.portfolio-item {
    margin-bottom: 50px;
}*/

div.portfolio-item div.img {
    height: 500px;
    position: relative;
    overflow: hidden;
}

div.portfolio-item div.img > img {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: 25s;
}

div.portfolio-item:hover div.img > img {
    -webkit-transform: translate(-50%, -50%) scale(2);
    -moz-transform: translate(-50%, -50%) scale(2);
    -ms-transform: translate(-50%, -50%) scale(2);
    -o-transform: translate(-50%, -50%) scale(2);
    transform: translate(-50%, -50%) scale(2);
}

div.portfolios div.portfolio-item:last-of-type {
    margin-bottom: 0;
}

div.portfolio-item div.info {
    position: absolute;
    background: rgba(255, 255, 255, .8);
    padding: 20px;
    width: 70%;
    left: 50%;
    bottom: 0;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

div.portfolio-item div.title {
    font-size: 20px;
    font-weight: bold;
}

div.portfolio-item div.date {
    margin: 10px 0;
}

div.portfolio-item div.link {
    margin-top: 10px;
}

div.portfolio-item div.link a {
    color: black;
    font-weight: bold;
}

div.portfolio-item div.item-name {
    padding: 5px 10px;
    background: rgba(0, 0, 0, .7);
    color: white;
    position: absolute;
    top: 20px;
    left: 20px;
    font-weight: bold;
}

section#main-banner {
    /*text-align: center;*/
    padding: 150px 0;
    /* background-image: url(../../img/manufacture.jpg);*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

section#main-banner:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, .5);
}

section#main-banner div.logo_name {
    color: white;
    font-size: 30px;
    font-weight: bold;
}

section#main-banner img {
    vertical-align: middle;
    margin-right: 20px;
}

section#main-banner h1 {
    font-size: 27px;
    text-transform: uppercase;
    line-height: 1.5;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 10;
}

section#main-banner div.container {
    position: relative;
    z-index: 10;
}

section#main-banner div.hr {
    width: 200px;
    height: 5px;
    margin: 30px 0;
    background: white;
}

section#main-banner div.text {
    color: white;
    font-size: 16px;
}

section#main-banner div.contactform textarea,
section#main-banner div.contactform input[type=text] {
    background-color: rgba(255, 255, 255, .18);
    overflow: hidden;
    border: 0;
    color: white;
}

section#contact div.mail_info {
    color:white;
    margin-top:20px;
    font-size:90%;
}

section#contact div.mail_info a {
    color:white;
    border-bottom: 1px dashed rgba(255,255,255,.5);
}

section#portfolio div.details {
    position: relative;
    color:black;
    padding:20px 20px 0;
}

section#portfolio div.details span {
    position: relative;
    opacity: 1;
    top:0;
}

section#portfolio div.details span.title {
    font-size:90%;
}

section#portfolio div.details span.info {
    min-height: 29px;
    max-height:29px;
    overflow: hidden;
}

section#products.portfolio div.item {
    margin-bottom: 20px !important;
}