/* Eric Meyer's CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
html, body {
    height: 100%;
}
body {
    line-height: 1;
    font: 16px 'Lato', sans-serif;
    font-weight: 400;
    min-height: 100%;
    position: relative;
    color: #373630;
}
body.home {
    background: url(../images/bg-2.jpg) no-repeat scroll center 426px #ececec;
}
ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* End of Eric Meyer's CSS Reset */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
main {
    height: auto!important;
    min-height: 100%;
}
main .content {
    padding-bottom: 70px;
}
.home main, footer, .default {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;

}
.main-block.main-static .h1 {
    margin: 0 -15px 20px;
    padding: 15px;
    border-bottom: 1px solid #959595;
    float: none;
}
.static-content p {
    margin-bottom: 15px;
}
body.home:before {
    background: url("../images/bg.jpg") no-repeat scroll center top  #ececec;
    display: block;
    position: absolute;
    width: 100%;
    height: 438px;
    left: 0;
    top: 0;
    content: "";
    z-index: -1;
}
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}
footer {
    line-height: 50px;
    border-top: 1px solid #959595;
    margin: -51px auto 0;
}
header {
    min-height: 104px;
    padding: 30px 0;
    background: rgba(91,155,207,1);
    background: -moz-linear-gradient(left, rgba(91,155,207,1) 0%, rgba(68,141,200,1) 15%, rgba(57,134,197,1) 36%, rgba(38,122,191,1) 62%, rgba(29,95,150,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(91,155,207,1)), color-stop(15%, rgba(68,141,200,1)), color-stop(36%, rgba(57,134,197,1)), color-stop(62%, rgba(38,122,191,1)), color-stop(100%, rgba(29,95,150,1)));
    background: -webkit-linear-gradient(left, rgba(91,155,207,1) 0%, rgba(68,141,200,1) 15%, rgba(57,134,197,1) 36%, rgba(38,122,191,1) 62%, rgba(29,95,150,1) 100%);
    background: -o-linear-gradient(left, rgba(91,155,207,1) 0%, rgba(68,141,200,1) 15%, rgba(57,134,197,1) 36%, rgba(38,122,191,1) 62%, rgba(29,95,150,1) 100%);
    background: -ms-linear-gradient(left, rgba(91,155,207,1) 0%, rgba(68,141,200,1) 15%, rgba(57,134,197,1) 36%, rgba(38,122,191,1) 62%, rgba(29,95,150,1) 100%);
    background: linear-gradient(to right, rgba(91,155,207,1) 0%, rgba(68,141,200,1) 15%, rgba(57,134,197,1) 36%, rgba(38,122,191,1) 62%, rgba(29,95,150,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5b9bcf', endColorstr='#1d5f96', GradientType=1 );
}
.home header {
    background: none;
}
.main-block .h1 {
    float: left;
    font-weight: 900;
    text-transform: uppercase;
    color: #2579bf;
    font-size: 30px;
    margin-top: 50px;
}
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 21px;
}
ol {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 10px;
}
.logo {
    background: url("../images/logo.png") no-repeat;
    width: 265px;
    height: 44px;
    display: inline-block;
}
.main-menu {
    float: right;
}
.main-menu ul li {
    display: inline-block;
    padding: 0 20px;
    line-height: 44px;
}
.main-menu.footer-menu ul {
    line-height: 50px;
    margin-right: 15px;
}
.main-menu ul li:last-child {
    padding-right: 0;
}
.main-menu ul li a {
    color: #fff;
    text-decoration: none;
}
.main-menu.footer-menu ul li a {
    color: #373630;
}
.main-menu ul li a:hover {
    color: #46caf3;
}
.main-menu.footer-menu ul li a:hover {
    color: #373630;
    text-decoration: underline;
}
.left {
    width: 42%;
    float: left;
}
.right {
    width: 58%;
    float: right;
}
.description {
    font-size: 18px;
    color: #fff;
    line-height: 30px;
    padding: 13% 0;
}
.img-responsive {
    max-width: 100%;
    height: auto;
}
.description span {
    text-transform: uppercase;
    font-weight:900;
    color: #49dbff;
}
.main-list {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #959595;
}
.main-list li {
    width: calc(25% - 30px);
    margin: 15px;
    float: left;
    text-align: center;
    -webkit-box-shadow: -2px 2px 2px 0px rgba(156,156,156,1);
    -moz-box-shadow: -2px 2px 2px 0px rgba(156,156,156,1);
    box-shadow: -2px 2px 2px 0px rgba(156,156,156,1);
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background: #fff;
    padding: 40px 30px;
}
.main-list li .list-img {
    height: 100px;
}
.main-list li .list-img:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.main-list li .list-img img {
    vertical-align: middle;
}
.main-list li .list-title {
    font-size: 14px;
    font-weight: 700;
    color: #2d3033;
    text-transform: uppercase;
    margin-top: 30px;
}
.main-list li .list-desc {
    font-size: 13px;
    color: #2d3033;
    border-top: 1px solid #efe5b0;
    margin: 15px 0 25px;
    padding-top: 15px;
}
.add-btn {
    background: #2579bf;
    display: inline-block;
    width: 100%;
    max-width: 200px;
    text-align: center;
    line-height: 47px;
    color: #fff;
    font-size: 18px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-box-shadow: -2px 2px 2px 0px rgba(221,221,221,1);
    -moz-box-shadow: -2px 2px 2px 0px rgba(221,221,221,1);
    box-shadow: -2px 2px 2px 0px rgba(221,221,221,1);
    text-decoration: none;
}
.add-btn:hover {
    background: #00ccff;
}
@media all and (max-width: 1024px) {
    .main-block .h1 {
        clear: both;
        padding-top: 35px;
        margin-top: 0;
        float: none;
    }
    .main-list li {
        width: calc(100%/3 - 30px);
    }
}
@media all and (max-width: 900px) {
    .description {
        padding: 20px 0;
    }
    .main-block .h1 {
        padding-top: 70px;
    }
}
@media all and (max-width: 850px) {
    .main-list li {
        width: calc(50% - 30px);
    }
    .main-menu ul li {
        padding: 0 10px;
        font-size: 14px;
    }
}
@media all and (max-width: 767px) {
    .right, .left {
        width: 100%;
        float: none;
    }
    .main-block .h1 {
        padding-top: 30px;
        text-align: center;
        font-size: 23px;
    }
    .main-menu ul li:first-child {
        padding-left: 0;
    }
    .description {
        font-size: 16px;
        line-height: 26px;
    }
    footer {
        text-align: center;
    }
    .main-menu.footer-menu ul {
        margin-right: 0;
    }
    .main-menu.footer-menu ul li, .main-menu.footer-menu ul {
        line-height: 30px;
    }
    .main-menu.footer-menu {
        float: none;
    }
    main .content {
        padding-bottom: 100px;
    }
    footer {
        margin-top: -83px;
    }
}
@media all and (max-width: 600px){
    .main-menu {
        float: none;
    }
    header {
        padding: 15px 0;
    }
}
@media all and (max-width: 560px) {
    .main-list li {
        width: 100%;
        margin: 15px 0;
        max-width: 300px;
        float: none;
        display: inline-block;
    }
    .main-list {
        text-align: center;
    }
    .main-menu ul li {
        font-size: 13px;
    }
    footer {
        font-size: 14px;
        margin-top: -84px;
    }
    .main-menu.footer-menu ul li {
        padding: 0 5px;
        font-size: 11px;
    }
    .main-menu.footer-menu ul li:first-child {
        padding-left: 0;
    }
    .main-menu.footer-menu ul li, .main-menu.footer-menu ul {
        line-height: 21px;
    }
    .main-menu.footer-menu ul {
        padding-bottom: 10px;
    }
    .main-block .h1 {
        font-size: 20px;
    }
    main .content {
        padding-bottom: 100px;
    }

}