@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&subset=cyrillic');
body {
    color: #4c4c5d;
    }
a, button, .btn, input, textarea, select {
    outline: none !important;
    }
a {
    color: #5cb85c;
    }
a:hover {
    color: #4ba74b;
    }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, header {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    }
.transition {
    transition:.3s;
    }
.text-center {
    text-align: center;
    }
.text-right {
    text-align: right;
    }
.text-left {
    text-align: left;
    }
img {
    max-width: 100%;
    }
input {
    margin-bottom: 15px;
    }
/* ------------- footer to bottom ------------- */
html, body {
    height: 100%;
    }
#wrap {
    min-height: 100%;
    padding-bottom: 230px;
    }
#footer {
    height: 230px;
    margin-top: -230px;
    font-family: 'Roboto Condensed', sans-serif;
    }
/*---------- fix some bootstrap issues ---------*/
.navbar-text {
    margin: 8px 0;
    }
.nav>li>a:focus, .nav>li>a:hover {
    background-color: transparent;
    }
.form-control:focus {
    border-color: #aaa;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    }
.btn {
    border: 1px solid transparent !important;
    padding: 7px 30px 5px;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    }
.btn, input, .form-control {
    border-radius: 0;
    box-shadow: none;
    }
/*----------------- header ----------------------*/
#header {
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    }
#header .navbar {
    background: #33333f;
    background: -moz-linear-gradient(left,  #33333f 0%, #44444f 100%);
    background: -webkit-linear-gradient(left,  #33333f 0%,#44444f 100%);
    background: linear-gradient(to right,  #33333f 0%,#44444f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33333f', endColorstr='#44444f',GradientType=1 );
    border-color: #33333f;
    border-radius: 0;
    border: none;
    min-height: 0;
    margin-bottom: 0px;
    }
#header .navbar-text, #header .navbar-link {
    color: #fff;
    }
#main-menu .nav>li>a {
    color: #fff;
    padding: 8px 30px;
    }
#main-menu .nav>li>a:hover {
    background-color: #3f3f4e;
    }
#main-menu .navbar-nav>.active>a, 
#main-menu .navbar-nav>.active>a:focus,
#main-menu .navbar-nav>.active>a:hover {
    color: #fff;
    background-color: #5cb85c;
    }
.navbar-toggle {
    background-color: #5cb85c !important;
    border: 1px solid #5cb85c !important;
    border-radius: 0;
    height: 36px;
    }
.navbar-toggle .icon-bar {
    background: #fff !important;
    }
/*------------------- intro ---------------------*/
#intro {
    text-align: left;
    background-color: #f1f2f4;
    }
#intro .container {
    text-align: left;
    padding: 60px 15px 60px 28%;
    background-image: url('../img/intro-bg.jpg');
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    }
@media (max-width: 1199px) {
    #intro .container {
        background-size: 30%;
    }
}
@media (max-width: 559px) {
    #intro .container {
        padding: 160px 15px 0px;
        background-size: 223px;
       background-position: top center;
    }
}
/*-------------------- search --------------------*/
#search {
    padding: 30px 0;
    background: #f1f2f4;
    }
/* ------------------ services -------------------*/
#services {
    padding: 30px 0 60px;
}
#services header {
    font-size: 24px;
    line-height: .8em;
    text-align: center;
    color: #4c4c5d;
    margin-bottom: 15px;
    }
#services .item {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    text-align: center;
    }
#services .item p {
    margin: 0 auto;
    max-width: 200px;
    }
@media (max-width: 767px) and (min-width: 450px) {
    #services .item {
        width: 50%;
        float: left;
        }
    }
/* -------------------- blog ---------------------*/
#blog {
    padding: 40px 0;
    overflow: hidden;  
    background-image: url('../img/paper3-bg.jpg');
    background-position: center;
    }
.blog-item {
    margin-bottom: 25px;
    display: block;
    color: #4c4c5d !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.81);
    padding: 15px;
    }
#blog .blog-item .date {
    display: inline-block;
    margin-right: 10px;
    background-color: #33333f;
    padding: 10px;
    height: 34px;
    width: 80px;
    text-align: center;
    font-size: 12px;
    color: #fff;
    line-height: 17px;
    }
/* ----------------- blog list ------------------*/
#blog-list {
    margin-bottom: 30px;
    }
#blog-list article {
    padding-left: 200px;
    position: relative;
    }
#blog-list article:hover {
    background-color: #eee;
    }
#blog-list article .image {
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200px;
    }
#blog-list article header {
    padding: 15px 20px 0;
    height: 70px;
    font-size: 17px;
    overflow: hidden;
    }
#blog-list article .caption {
    padding: 15px 20px 0;
    height: 140px;
    line-height: 20px;
    position: relative;
    overflow: hidden;
    }
#blog-list article .author img {
    border-radius: 40px;
    margin-right: 10px;
    }
#blog-list article .info {
    padding: 15px 60px 15px 20px;
    color: #999;
    font-family: 'Roboto Condensed', sans-serif;
    position: relative;
    }
#blog-list .date {
    white-space: nowrap;
    }
#blog-list .readmore {
    position: absolute;
    right: 30px;
    top: 15px;
    font-size: 22px;
    transition: .7s;
    -webkit-transition: .7s;
    line-height: 37px;
    }
#blog-list article:hover .readmore {
    color: #5cb85c;
    right: 25px;
    }
.add-items {
    text-align: center;
    }
/* -------------- product page ---------------*/
#product {
    padding: 60px 0;
    }
#product header {
    font-size: 24px;
    line-height: .8em;
    color: #4c4c5d;
    margin: 15px 0;
    }
#product .price {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    font-size: 50px;
    line-height: .8em;
    color: #4c4c5d;
    margin: 15px 0;
    }
#product .parameters {
    padding: 15px 20px 15px 17px;
    }
/*-------------- portfolio section --------------*/
#portfolio {
    padding: 60px 0 0;
    overflow: hidden;
    max-width: 1920px;
    margin: 0 auto;
    }
#portfolio header {
    font-size: 24px;
    line-height: .8em;
    text-align: center;
    color: #4c4c5d;
    margin-bottom: 15px;
    }
#portfolio .portfolio-item {
    width: 20%;
    float: left;
    position: relative;
    }
#portfolio a .fa-eye {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(92, 184, 92, 0.8);
    color: #fff;
    padding-top: 30%;
    text-align: center;
    font-size: 30px;
    opacity: 0;
    transition: .2s;
    -webkit-transition: .2s;
    }
#portfolio a:hover .fa-eye {
    opacity: 1;
    }
/*portfolio page*/
.portfolio-items {
    position: relative;
    background-color: #f4f4f4;
    }
#portfolio .intro {
    text-align: center;
    }
#portfolio .intro article {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 130px 25px 0;
    font-size: 18px;
    }
/*-------------- benefits section --------------*/
#benefits {
    text-align: center;
    padding: 60px 0;
    }
#benefits  header {
    font-size: 24px;
    line-height: .8em;
    text-align: center;
    color: #4c4c5d;
    margin-bottom: 30px;
    }
#benefits .fa {
    background: #5cb85c;
    color: #fff;
    padding: 26px 0;
    width: 90px;
    height: 90px;
    border-radius: 333px;
    font-size: 40px;
    overflow: hidden;
    position: relative;
    }
#benefits .fa-rocket::before {
    display:  inline-block;
    animation: rocket-in ease-in .5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode:forwards; 
    -webkit-animation: rocket-in ease-in .5s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode:forwards;
    position: relative;
    z-index: 1;
    }
@keyframes rocket-in {
    0% {transform:  translate(-60px,60px);}
    100% {transform:  translate(0px,0px);}
    }
@-webkit-keyframes rocket-in {
    0% {-webkit-transform:  translate(-60px,60px);}
    100% {-webkit-transform:  translate(0px,0px);}
    }
#benefits .fa-rocket:hover::before {
    animation: rocket ease-in .5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards; 
    -webkit-animation: rocket ease-in .5s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode:forwards; 
    }
@keyframes rocket {
    0% {transform:  translate(0px,0px);}
    30% {transform:  translate(-3px,3px);}
    100% {transform:  translate(60px,-60px);}
    }
@-webkit-keyframes rocket {
    0% {-webkit-transform:  translate(0px,0px);}
    30% {-webkit-transform:  translate(-6px,6px);}
    100% {-webkit-transform:  translate(60px,-60px);}
    }

#benefits .fa-certificate {
    text-shadow: 0 2px #5cb85c, 0 -2px #5cb85c, 2px 0 #5cb85c, -2px 0 #5cb85c;
    z-index: 1;
    }
#benefits .fa-certificate::after {
    content: '';
    display: block;
    position: absolute;
    width: .6em;
    height: .75em;
    top: 50%;
    left: 37%;
    z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'  viewBox='0 0 54.9 69.5' %3E%3Cpolygon fill='%23fff' points='27.5,0 0,61.9 10.2,60.5 16.4,69.5 27.5,38.3 38.5,69.5 44.7,60.5 54.9,61.9'/%3E%3C/svg%3E%0A");
    }
#benefits .fa-certificate::before {
    display: inline-block;
    }
#benefits .fa-certificate:hover::before {
    animation: rotate180 ease-in-out 2s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards; 
    -webkit-animation: rotate180 ease-in-out 2s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards; 
    }
@keyframes rotate180 {
    0% {transform:  rotate(0deg);}
    100% {transform:  rotate(360deg);}
    }
@-webkit-keyframes rotate180 {
    0% {-webkit-transform:  rotate(0deg);}
    100% {-webkit-transform:  rotate(360deg);}
    }
    
    
#benefits .fa-desktop::after {
    content: '';
    font-family: monospace;
    font-size: 12px;
    font-weight: 900;
    position: absolute;
    left: 27px;
    top: 34px;
    width: 35px;
    text-shadow: 1px 0 #fff;
    text-align: center;
    }  
#benefits .fa-desktop:hover::after {
    animation: info .5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards; 
    -webkit-animation: info .5s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards; 
    }
@keyframes info {
    0% {content: '';}
    25% {content: '';}
    50% {content: 'in';}
    75% {content: 'inf';}
    100% {content: 'info';}
    }
@-webkit-keyframes info {
    0% {content: 'i';}
    25% {content: 'i';}
    50% {content: 'in';}
    75% {content: 'inf';}
    100% {content: 'info';}
    }
/*----------------- callback form -----------------*/
#callback-form {
    padding: 60px 0;
    }
#callback-form form {
    margin: 0 auto;
    max-width: 450px;
    }
#callback-form header {
    font-size: 24px;
    line-height: .8em;
    text-align: center;
    color: #4c4c5d;
    margin-bottom: 15px;
    }
#callback-form .btn {
    width: 100%;
    }
/*------------------- footer ---------------------*/
#footer {
    color: #fff;
    background: #33333f;
    background: -moz-linear-gradient(left,  #33333f 0%, #44444f 100%);
    background: -webkit-linear-gradient(left,  #33333f 0%,#44444f 100%);
    background: linear-gradient(to right,  #33333f 0%,#44444f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33333f', endColorstr='#44444f',GradientType=1 );
    
    padding: 60px 0;
    text-align: center;
    }
.footer-menu {
    list-style: none;
    padding: 0;
    }
.footer-menu li {
    display: inline-block;
    }
.footer-menu li a {
    padding: 0 8px;
    display: block;
    }
.footer-social {
    list-style: none;
    padding: 0;
    }
.footer-social li {
    display: inline-block;
    }
#footer a {
    color: #fff;
    }
