/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    /*font-size: 1rem;*/
    font-size: 62.5%;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ==========================================================================
   全局样式编写
   ========================================================================== */

html,
body {
    height: 100%;
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    line-height: 1.50;
    color: #333;
    background-color: #fff;
    position: relative;
}
a{
    text-decoration: none;
}
a:hover {
    text-decoration: none;
    color: #4788d9;
}

section {
    background-color: #fff;
    padding: 100px 0;
}
/*section:nth-child(4) {*/
    /*/!*background-color: #f0faff;*!/*/
    /*padding: 50px 0;*/
/*}*/
img {
    display: block;
    max-width: 100%;
    height: auto;
}
button {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.pad0{
    padding: 0;
}
.mar0{
    margin: 0;
}







/* ==========================================================================
   图标样式编写
   ========================================================================== */

/*@font-face {*/
    /*font-family: 'iconfont';  /!* project id 777268 *!/*/
    /*src: url('//at.alicdn.com/t/font_777268_7twhh3u0q6l.eot');*/
    /*src: url('//at.alicdn.com/t/font_777268_7twhh3u0q6l.eot?#iefix') format('embedded-opentype'),*/
    /*url('//at.alicdn.com/t/font_777268_7twhh3u0q6l.woff') format('woff'),*/
    /*url('//at.alicdn.com/t/font_777268_7twhh3u0q6l.ttf') format('truetype'),*/
    /*url('//at.alicdn.com/t/font_777268_7twhh3u0q6l.svg#iconfont') format('svg');*/
/*}*/

/*.iconfont{*/
    /*font-family:"iconfont" !important;*/
    /*font-size:16px;font-style:normal;*/
    /*-webkit-font-smoothing: antialiased;*/
    /*-webkit-text-stroke-width: 0.2px;*/
    /*-moz-osx-font-smoothing: grayscale;*/
/*}*/

 @font-face {
 /*//自定义命名*/
     font-family: Iconfont;
 /*//这个路径为本地的相对路径，*/
     src: url('iconfont/iconfont.ttf'),
     url('iconfont/iconfont.svg'),
     url('iconfont/iconfont.woff'),
     url('iconfont/iconfont.eot');
}

.iconfont {
    /*//名字一致 */
    font-family:"Iconfont" !important;
    /*font-size: 38px;*/
    font-style:normal;
    color:#ccc;
     -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
}






/* ==========================================================================
   头部样式编写
   ========================================================================== */

header {
    color: #fff;
    background-color: rgba(0,0,0,.5);
    padding: 10px 0;
}

.logo {
    float: left;
    margin: 10px 10px 10px 0;
    transition: all .15s linear;
    -webkit-transition: all .15s linear;/* Safari */
}

header .col-md-8 {
    margin-top: 15px;
    transition: all .2s linear;
    -webkit-transition: all .2s linear;/* Safari */
}

.navbar-default {
    background-color: transparent;
    border: none;
}

.navbar-default .navbar-nav>li>a {
    color: #fff;
    font-size: 1.8rem;
    padding-left: 20px;
    padding-right: 20px;
    letter-spacing: .05em;
}
.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li.active>a:hover{
    color: #00cae9;
}

.navbar-default .navbar-nav>li.active>a {
    color: #00cae9;
    background-color: transparent;
}

.navbar-default .navbar-nav>li.active>a:hover {
    background-color: transparent;
}

/* ==========================================================================
   窗体滚动事件样式编写
   ========================================================================== */

.fiexed-header-on header {
    height: 80px;
    background-color: rgba(0,0,0,.95);
}

.fiexed-header-on .col-md-8 {
    margin-top: 5px;
}

.fiexed-header-on .logo {
    transform: scale(.8);
    margin-top: 0;
    margin-bottom: 0;
}


/* ==========================================================================
   首页样式编写
   ========================================================================== */

.index{
    position: relative;
    height: 100%;
}

.index h3{
    margin: 3% 0;
    color: #fff;
    font-size: 3.6rem;
}

.index h1{
    margin: 4% 0;
    color: #fff;
    font-size: 5.0rem;
    font-weight: 700;
}

.index h1:hover{
    color: #4788d9;
}
.index p {
    color: #fff;
    font-size: 1.8rem;
}

.index:after{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.7);
    content: '';
}

.index .caption{
    z-index: 1;
    position: absolute;
    width: 100%;
    top: 28%;
    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;

}
.index .index-con{
    margin-bottom: 10%;
}
.index .btn-le, .index .btn-ri{
    padding: 10px 22px;
    margin-right: 20px;
    border-radius: 50px;
    color: #fff;
}
.index .btn-le{
    background-image: linear-gradient(90deg, rgb(71, 136, 217) 11%, rgb(2, 194, 202) 100%);

}

.index .martence-button {
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}
.index .martence-button, .index .active:hover{
    padding: 12px 22px;
    margin-right: 10px;
    border-radius: 25px;
    border: 1px solid #00cae9;
    color: #fff;
    background-image: none;
}
.index .active, .index .martence-button:hover{
    padding: 12px 22px;
    border-radius: 25px;
    border: transparent;
    background-image: linear-gradient(90deg, rgb(71, 136, 217) 11%, rgb(2, 194, 202) 100%);
    /*opacity: 0;*/
}

/* ==========================================================================
   关于样式编写
   ========================================================================== */

.about p{
    margin-top: 10px;
    line-height: 28px;
    color: #8c8c8c;
}

.about .col-md-5 p:first-of-type{
    margin-top: 30px;
}
.about img{
    float: right;
}
.about a span{
    position: relative;
    top: 0;
    left: 0;
    font-size: 1.4rem;
    color: #222;
    cursor: pointer;
}
.about span i{
    color: #00ddff;

}
.about span:hover i{
    position: relative;
    top: 0;
    left: 3px;
    color: #333;
    -webkit-transition: all 500ms ease-in;
    -moz-transition: all 500ms ease-in;
    -o-transition: all 500ms ease-in;
    transition: all 500ms ease-in;

}

/* ==========================================================================
   服务样式编写
   ========================================================================== */
.service{
    /*background-color: #f0faff;*/
}
.service .ser-icon-01, .service .ser-icon-02, .service .ser-icon-03, .service .ser-icon-04{
    margin: 0 auto;
    width: 80px;
    height: 70px;
    padding: 0 50%;
}

.service .ser-icon-01{
    background: url("../img/ser_icon_01.png")no-repeat center center;
}
.service .ser-icon-02{
    background: url("../img/ser_icon_02.png")no-repeat center center;
}
.service .ser-icon-03{
    background: url("../img/ser_icon_03.png")no-repeat center center;
}
.service .ser-icon-04{
    background: url("../img/ser_icon_04.png")no-repeat center center;
}

.service .service_icon:hover{
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    -o-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
    color: #4788d9;
}
.service a .ser-icon-01:hover, .service a .ser-icon-02:hover, .service a .ser-icon-03:hover,  .service a .ser-icon-04:hover{
    -webkit-transition: all 100ms ease-in;
    -moz-transition: all 100ms ease-in;
    -o-transition: all 100ms ease-in;
    transition: all 100ms ease-in;
}
.service a .ser-icon-01:hover {
    background: url("../img/ser_icon_01_af.png")no-repeat center center;
}
.service a .ser-icon-02:hover {
    background: url("../img/ser_icon_02_af.png")no-repeat center center;
}
.service a .ser-icon-03:hover {
    background: url("../img/ser_icon_03_af.png")no-repeat center center;
}
.service a .ser-icon-04:hover {
    background: url("../img/ser_icon_04_af.png")no-repeat center center;
}
.service h3{
    font-size: 2.2rem;
    color: #333;
}
.service a:hover h3{
    color: #4788d9;
}
.service p{
    font-size: 1.4rem;
    color: #666;
}

/* ==========================================================================
   案例样式编写
   ========================================================================== */


.case .portfolio-menu {
    margin: 0 0 30px;
    text-align: center;
}

.case .portfolio-menu .button.active {
    color: #ffffff;
}
.case .portfolio-menu .button {
    z-index: 2;
    display: inline-block;
    position: relative;
    margin: 40px 4px 0;
    padding: 10px 28px;
    background: #f5f5f5 none repeat scroll 0 0;
    border: 0 none;
    border-radius: 25px;
    color: #393939;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 19px;
    outline: medium none;
    text-transform: uppercase;
}

.case .portfolio-menu .button.active:before {
    opacity: 1;
}
.case .portfolio-menu .button:before {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0) linear-gradient(0deg, rgb(83, 148, 230) 11%, rgba(2, 194, 202,.9) 100%) repeat scroll 0 0;
    border-radius: 25px;
    transition: all 0.3s ease 0s;
    opacity: 0;
}

.case .portfolio-menu .button.active:after {
    opacity: 1;
}
.case .portfolio-menu .button::after {
    z-index: 2;
    position: absolute;
    left: 50%;
    bottom: -20px;
    content: "";
    border-width: 10px 9px;
    border-style: solid;
    border-color: rgb(83, 148, 230) transparent transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    transition: all 0.3s ease 0s;
    opacity: 0;
}

/**************************************************/
/*以下案例内容*/
/**************************************************/
.case .case-con li{
    list-style: none;
}

.case .case-con .portfolio-box {
    z-index: 1;
    position: relative;
    margin: auto auto 30px;
    overflow: hidden;
}

.case .case-con .portfolio-box:before {
    z-index: 9;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    border: 9px solid #00ddff;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    -webkit-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
.case .portfolio-box:after {
    background: #000000 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    -webkit-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
    width: 100%;
    z-index: 0;
}
.case .case-con .portfolio-box:hover:before {
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}
.case .case-con .portfolio-box a {
    display: block;
}
.case .portfolio-box:hover:after {
    opacity: 0.8;
}
.case .portfolio-box:hover a i {
    opacity: 1;
}
.case .portfolio-box a i {
    background: rgba(0, 0, 0, 0) linear-gradient(0deg, rgb(83, 148, 230) 0%, rgba(2, 194, 202,.9) 100%) repeat scroll 0 0;
    -webkit-background-clip: text;
    color: #ffffff;
    font-size: 3.6rem;
    line-height: 38px;
    opacity: 0;
    -webkit-text-fill-color: transparent;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
    z-index: 9;
}

.case .portfolio-box a .link-icon{
    position: absolute;
    top: 60px;
    left: 35%;
}
.case .portfolio-box a .look-icon{
    position: absolute;
    top: 60px;
    left: 65%;
}

.case .portfolio-box:hover .content {
    top: 68%;
}
.case .portfolio-box .content {
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 100%;
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    width: 80%;
    z-index: 8;
}
.case .portfolio-box .content .title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 22px;
    margin: 0 0 2px;
}

.case .add-icon{
    margin: 0 auto;
    position: relative;
    display: block;
    width: 31px;
    height: 31px;
    text-align: center;
    border-radius: 50px;
    -moz-border-radius: 50px;
    background-color: #d2d2d2;
}
.case .add-icon:hover{
    cursor: pointer;
    background-color:  #c8c8c8;
    -webkit-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
.case .add{
    position: absolute;
    top: 6px;
    left: 14px;
    width: 3px;
    height: 18px;
    background-color: #e8e8e8;
}
.case .add:before{
    content: "";
    position: absolute;
    left: -7px;
    top: 8px;
    width: 18px;
    height: 3px;
    background-color: #e8e8e8;
}

/* ==========================================================================
   案例样式编写
   ========================================================================== */
.news .news-con{
    margin-top: 2%;
}
.news .new-item{
    padding: 1%;
    margin-bottom: 2%;
}
.news .new-item .new-item-con{
    position: relative;
    border-bottom: 1px solid #e5e5e5;

}
.news .new-item .new-item-con:hover{
    cursor: pointer;
    background-color: #f6f6f6;
    border-bottom: 1px solid #ccc;
}
.news ul li{
    list-style-type: none;
}
.news .new-item .new-item-time{
    position: absolute;
    top: 15%;
    left: 3%;
    color: #222;
}
.news .new-item .new-item-time small{
    color: #666;
}
.news .new-item .new-item-text{
    padding: 2% 3% 2% 5%;
}
.news .new-item .new-item-con .new-item-text h4{
    color: #222;
    font-weight: 400;
}
.news .new-item .new-item-con .new-item-text p{
    font-size: 1.2rem;
    color: #8c8c8c;
    letter-spacing: 0.06em;
    line-height: 20px;
}


/* ==========================================================================
   脚部样式编写
   ========================================================================== */


footer{
    padding: 3% 0 2% 0;
    background-color: #1c1d1d;
    color: #eee;
}
footer .footer-logo{
    width: 25%;
    margin-bottom: 3%;
}
footer .footer-left{
    background: url("../img/contact-map.png") r;
    background-position: 0 50px;
    background-size: 50%;
}
footer .footer-left p{
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin: 2%;
}
footer .footer-left>p>i{
    margin-right: 2%;
}
footer .footer-right{
    float: right;
    /*position: relative;*/
    /*top: 0;*/
    /*right: 0;*/
}
footer .footer-right img{
    text-align: center;
    margin: 0 auto;
}
footer .footer-right p{
    margin-top: 5%;
    font-size: 1.5rem;

}
.footer-copy{
    position: relative;
    top: 0;
    right: 0;
    background-color: #131618;
    padding: 1% 0;
    letter-spacing: 0.05em;
}
.footer-copy p{
    color: #eee;
    font-size: 1.4rem;
}
.footer-copy strong{
   color:  #00ddff;
    font-weight: 100;
}
 .footer-copy .footer-nav{
    position: absolute;
    top: 0;
    right: 0;
}
 .footer-copy .footer-nav li{
    float: left;
    margin: 0 2%;
    list-style-type: none;
}
.footer-copy .footer-nav li a{
    display: block;
    color: #eee;
    font-size: 1.4rem;
}
/*导航*/
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border: none;
}
.navbar-default .navbar-nav>li>a{
    text-align: center;
}


/* ==========================================================================
   移动端导航编写
   ========================================================================== */
nav .navbar-nav .navbar-right a{
    text-align: center;
}

/* ==========================================================================
   响应式适应编写
   ========================================================================== */

@media all and (min-width:1200px){

}
@media all and (min-width: 960px) and (max-width: 1199px) {
    .navbar-default .navbar-nav>li.active>a{

    }
    .navbar-default .navbar-nav>li>a {
        padding-left: 13px;
        padding-right: 13px;
    }
    .index h3{
        font-size: 3.0rem;
    }
    .index h1{
        font-size: 4.4rem;
    }
    .index p {
        font-size: 1.6rem;
    }
    .about .col-sm-12 img{
        text-align: center;
    }
    .service .col-sm-6:nth-child(1), .service .col-sm-6:nth-child(2){
        margin-bottom: 15%;
    }
    .service .col-sm-6:nth-child(3), .service .col-sm-6:nth-child(4){
        margin-bottom: 10%;
    }
    .case .case-con .portfolio-box:before {
        border: 8px solid #00ddff;
    }
    .news .new-item .new-item-text {
        padding: 2% 3% 2% 16%;
    }
    footer .footer-right img {
      width: 80%;
    }
    footer .footer-right p {
        font-size: 1.4rem;
    }
    .footer-copy p {
      text-align: center;
    }

}
@media all and (min-width: 768px) and (max-width: 959px) {
    section {
        padding: 80px 0;
    }
    .navbar-default .navbar-nav>li>a {
        padding-left: 13px;
        padding-right: 13px;
    }
    header .logo img{
        width: 88%;
    }
    .index h3{
        font-size: 2.8rem;
    }
    .index h1{
        font-size: 4.0rem;
    }
    .index p {
        font-size: 1.6rem;
    }
    .service .col-sm-6:nth-child(1), .service .col-sm-6:nth-child(2){
        margin-bottom: 10%;
    }
    .service .col-sm-6:nth-child(3), .service .col-sm-6:nth-child(4){
        margin-bottom: 5%;
    }
    .about .col-sm-12 img{
        width: 80%;
        text-align: center;
    }
    .news .new-item .new-item-text {
        padding: 2% 3% 2% 16%;
    }
    .news .text-center{
        margin-bottom: 6%;
    }
    footer .footer-right img {
        width: 80%;
    }
    footer .footer-right p {
        font-size: 1.4rem;
    }
    .footer-copy p {
        text-align: center;
    }

}
@media all and (min-width: 480px) and (max-width: 767px){
    section {
        padding: 60px 0;
    }
    header .logo {
        float: left;
        /*margin: 20px 10px 15px 0;*/
    }
    header .logo img{
        width: 100%;
    }
    .navbar-nav {
        margin: 14px -15px;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form{
        background-color: rgba(0,0,0,.5);
    }
    .index .col-md-8{
        margin-top: 8%;
    }
    .index h3{
        font-size: 2.8rem;
    }
    .index h1{
        font-size: 3.2rem;
        margin: 5% 0;
    }
    .index p {
        font-size: 1.6rem;
    }
    .index .index-con {
        margin-bottom: 15%;
    }
    .about h2, .about h5{
        text-align: center;
    }
    .about p {
        text-indent:2em;
        line-height: 32px;
    }
    .service .col-xs-12{
        margin-bottom: 10%;
    }
    .news .new-item .new-item-text {
        padding: 2.4% 3% 2.4% 24%;
    }
    .news .new-item {
        margin-bottom: 4%;
    }
    .news .text-center{
        margin-bottom: 6%;
    }
    footer{
        padding: 6% 0 3% 0;
    }
    footer .footer-left {
        background: url(../img/contact-map.png) no-repeat center center;
        background-position: 50% 0;
        background-size: 72%;
    }
    footer .footer-left {
        text-align: center;
    }
    footer .footer-logo {
        width: 24%;
        text-align: center;
        margin: 0 auto;
    }
    footer .footer-right{
        text-align: center;
    }
    footer .footer-right img{
        margin-top: 5%;
        width: 30%;
    }
    footer .footer-right p {
        margin-top: 1%;
        font-size: 1.5rem;
    }
    .footer-copy p {
        text-align: center;
    }

}
@media all  and (min-width: 320px) and (max-width: 479px) {
    section {
        padding: 60px 0;
    }
    header .logo {
        float: left;
        /*margin: 20px 10px 15px 0;*/
    }
    header .logo img{
        width: 100%;
    }
    .navbar-default .navbar-collapse, .navbar-default .navbar-form{
        background-color: rgba(0,0,0,.5);
    }
    .index .col-md-8{
        margin-top: 8%;
    }
    .index h3{
        font-size: 2.8rem;
    }
    .index h1{
        font-size: 3.2rem;
        margin: 5% 0;
    }
    .index p {
        font-size: 1.6rem;
    }
    .index .index-con {
        margin-bottom: 15%;
    }
    .about h2, .about h5{
        text-align: center;
    }
    .about p {
        text-indent:2em;
        line-height: 2.7rem;
    }
    .service .col-xs-12{
        margin-bottom: 10%;
    }
    .news .new-item .new-item-text {
        padding: 2.4% 3% 2.4% 24%;
    }
    .news .new-item {
        margin-bottom: 4%;
    }
    .news .text-center{
        margin-bottom: 6%;
    }
    footer{
        padding: 6% 0 3% 0;
    }
    footer .footer-left {
        background: url(../img/contact-map.png) no-repeat center center;
        background-position: 50% 0;
        background-size: 72%;
    }
    footer .footer-left {
        text-align: center;
    }
    footer .footer-logo {
        width: 24%;
        text-align: center;
        margin: 0 auto;
    }
    footer .footer-right{
        text-align: center;
    }
    footer .footer-right img{
        margin-top: 5%;
        width: 30%;
    }
    footer .footer-right p {
        margin-top: 1%;
        font-size: 1.5rem;
    }
    .footer-copy p {
        text-align: center;
    }
}

@media all   and (max-width: 429px) {
    .about p {
        font-size: 1.6rem;
        line-height: 2.5rem;
    }
    .index h1 {
        font-size: 3.0rem;
    }
    .news .new-item .new-item-text {
        padding: 2.4% 2.4% 2.4% 25%;
    }
    .news .new-item h2{
       font-size: 2.6rem;
    }
}
@media all and (max-width: 369px) {
    .about p {
        font-size: 1.5rem;
        line-height: 2.4rem;
    }
    .index h1 {
        font-size: 3.0rem;
    }
    .news .new-item .new-item-text {
        padding: 2.2% 0 2.2% 27%;
    }
    .news .new-item h2{
        font-size: 2.5rem;
    }
}

@media all and (min-width: 320px) and (max-width: 339px) {
    .about p {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
    .index h1 {
        font-size: 3.0rem;
    }
    .news .new-item .new-item-text {
        padding: 2% 0 2% 28%;
    }
    .news .new-item h2{
        font-size: 2.5rem;
    }
}