/*setting*/
body {
    font-family: 'Open Sans', sans-serif;
}

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?46683937');
  src: url('../font/fontello.eot?46683937#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?46683937') format('woff2'),
       url('../font/fontello.woff?46683937') format('woff'),
       url('../font/fontello.ttf?46683937') format('truetype'),
       url('../font/fontello.svg?46683937#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?46683937#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  /*margin-left: .2em;*/
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-angle-right:before { content: '\f105'; } /* '' */

a:focus {
    outline: none;
}

/*header*/
.header {
    background: #ED1B24;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    
}
.header .container {
    position: relative;
}
.logo {
    width: 100%;
    max-width: 250px;
    margin: 0 auto 5px;
}
.logo img{
    /*background: #fff;*/
    display: block;
    max-width: 100%;
}

.header h1 {
    margin: 0 0 10px;
    font-size: 65px;
    font-weight: 600;
    line-height: 1;
}

.header p {
    font-size: 21px;
    margin: 0;
    font-weight: 300;
}

.header p span {
    /*border-right: 1px solid;*/
    line-height: 1;
    display: inline-block;
    padding-right: 10px;
    margin-right: 6px;
}
.header p span + span {
    border: none;
    margin: 0;
    padding: 0;
}

.lang {
    position: absolute;
    top: 0; right: 15px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    z-index: 999;
}

.lang .lang-label {
    display: block;
    height: 32px;
    line-height: 32px;
    background: #5e0405;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    border-radius: 20px;
    min-width: 70px;
    padding-right: 5px;
}

.lang .lang-label span {
    display: inline-block;
    font-size: 12px;
    margin: 0 0 0 5px;
}

.lang .lang-label img {
    margin-left: 10px;
}

.lang .lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    list-style: none;
    margin: 0; padding: 13px 0 0;
    width: 150px;
    z-index: 9999;
}

@media (min-width: 1200px) {
    .lang .lang-dropdown {
        visibility: hidden;
        opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -o-transform: translateY(30px);
        -ms-transform: translateY(30px);
        transform: translateY(30px);
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        -o-transition: all .25s ease-in-out;
        -ms-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }

    .lang.hover .lang-dropdown,
    .lang:hover .lang-dropdown,
    .lang:focus .lang-dropdown
    {
        visibility: visible;
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -o-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.lang .lang-dropdown li {
    background: #5e0405;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
   
    text-align: left;
}

.lang .lang-dropdown li a {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding: 20px 10px 20px 20px;
    display: block;
}

.lang .lang-dropdown li img {
    margin-right: 10px;
}


/*main*/
.main {
    clear: both;
}
.group-company {
    margin-left: -20px;
    margin-right: -20px;
    /*overflow: hidden;*/
    text-align: center;
    position: relative;
    padding: 15px 0;
}
.group-company::before,
.group-company::after {
    content: "";
    display: block;
    z-index: 1;
    position: absolute;
    left: 50%;
}
.group-company::before {
    height: 100px; width: 2px;
    background: #ED1B24;
    top: 0;
    margin-left: -1px;
}
.group-company::after {
    width: 570px;
    height: 200px;
    border: 2px solid #ED1B24;
    top: 50%; margin-top: -125px;
    margin-left: -285px;
    border-bottom: none;   
}
.group-company .company{
    height: 200px; width: 355px;
    border: 2px solid #ED1B24;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    margin: 15px;
    position: relative;
    z-index: 2;
    background: #fbf9fa;
    text-align: left;
    padding: 10px 15px;
    float: left;
    font-size: 14px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 200px;
    -webkit-transition: all .2s ease-in-out .1s;
    -moz-transition: all .2s ease-in-out .1s;
    transition: all .2s ease-in-out .1s;
    text-decoration: none;
    color: #212121;
    display: block;
}
.group-company .company:hover {
    -webkit-box-shadow: 10px 10px 20px 1px rgba(0,0,0,.3);
    -moz-box-shadow: 10px 10px 20px 1px rgba(0,0,0,.3);
    box-shadow: 10px 10px 20px 1px rgba(0,0,0,.3);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
}
.group-company .haiduc-bearing {
    background-image: url(../img/p1.png);
}
.group-company .haiduc-properties {
    background-image: url(../img/p2.png);
}
.group-company .vipet {
    background-image: url(../img/p3.png);
}
.group-company .upbeat {
    background-image: url(../img/p4.png);
}
.group-company .dongduong {
    background-image: url(../img/p5.png);
}

.group-company .dongduong {
    cursor: not-allowed;
}

.group-company .company .company-logo {
    height: 65px;
    line-height: 65px;
}
.group-company .company .nameCeo {
    margin: 10px 0 0;
    color: #ED1B24;
    font-size: 13px;

}
.group-company .company p  {
    font-size: 12px;
    margin: 10px 0 5px;
    /*padding-right: 30%;*/
}
.group-company .company a,
.group-company .company span {
    color: #212121;
    font-size: 14px;
}

.group-company .company a {
    text-decoration: none;
}

.group-company .company span {
    font-weight: 600;
}

.group-company .company i:before {
    margin-left: -3px;
}

/*text-container*/
.text-container {
    margin: 60px 0 110px;
}
.text-container .img{
    float: right;
}
.text-container .img img {
    max-height: 500px; /*460px*/
    margin-top: 30px;
}
.text {
    /*padding-right: 120px;*/
    padding-left: 10px;
}
.text header {
    font-family: 'Raleway', sans-serif;
}
.text header h2 {
    font-weight: 700;
    font-size: 45px;
    text-transform: capitalize;
    color: #ED1B24;
    margin: 0;
}
.text header h3 {
    font-size: 21px;
    margin: 0;
    font-weight: 500;
    color: #6D6E70;
    text-transform: capitalize;
}

.text section {
    color: #202020;
    color: #757575;
    line-height: 1.5;
    font-weight: 400;
    text-align: justify;
}

.text a.read-more {
    color: #ED1B24;
}

.signature span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    /*padding-left: 30px;*/
}
/*footer*/
.footer {
    padding: 25px 0 40px;
    background: #e7e8ea;
    /*font-family: '', sans-serif;*/
}
.footer p {
    margin: 0;
    padding: 0;
}
.footer .logo-footer h3{
    color: #ED1B24;
    text-align: right;
    font-size: 15px;
    margin: 0;
}

/*responsive*/
@media (min-width: 1200px) {
    .group-company .haiduc-bearing {
        margin-left: 27px;
    }   
    .group-company .upbeat {
        margin-left: 227px;
    } 
}

@media  (max-width: 1199px) {
    .group-company {
        max-width: 767px;
        margin: auto;
        padding-top: 100px;
    }
    .group-company::before {
        height: 92px;
    }
    .group-company::after {
        height: 580px;
        top: 215px;
        width: 400px;
        margin-left: -191px;
    }
    .group-company .company {
        margin: 14px;
    }

    .group-company .dongduong {
        margin-left: 214px;
    }

    .lang .lang-dropdown {
		display: none;
	}
   /*.lang:hover .lang-dropdown, .lang:focus .lang-dropdown,*/
   .lang.hover .lang-dropdown{
		display: block;
	} 

     .overlay {
         display: none;
         position: fixed;
         top: 0; left: 0;
         height: 100%; width: 100%;
         background: rgba(0,0,0,0);
     }

    .showOverlay .overlay {
        display: block;
    }

}


@media  (max-width: 991px) {
    .group-company {
        margin-bottom: 30px;
    }

    .text-container {
        margin-top: 0;
    }
    .text-container .img {
        float: none;
        margin-bottom: 100px;
    }
    .text-container .img  img{
        margin: auto;
        height: inherit;
    }
    .text {
        max-width: 430px;
        margin: auto;
        padding-right: 0;
    }

}

@media (min-width: 768px) and (max-width: 991px){
    .group-company::after {
        height: 555px;
        width: 365px;
        margin-left: -185.5px;
    }
    .group-company .company {
        margin: 10px;
        width: 339px;
    }
    .group-company .dongduong {
        margin-left: 187px;
    }
    .group-company .company span {
        font-size: 12px;
    }
}


@media (max-width: 767px) {
    .group-company {
        margin: 0;
        padding-top: 60px;
    }
    .group-company .company{
        float: none;
        clear: both;
        margin: 50px auto !important;
        width: initial;
        max-width: 394px;
    }
    .group-company .haiduc-bearing{
        margin-top: 0 !important;
    }
    .group-company::before {
        height: 90%;
    }
    .group-company::after {
        display: none;
    }
    .text-container .img {
        margin-bottom: 60px;
    }

    .text {
        padding-left: 0;
    }
}


@media (max-width: 500px) {
    .header h1 {
        font-size: 40px;
    }
     .header p {
        font-size: 15px;
    }

    .lang {
        position: relative;
        top: inherit; right: inherit;
        max-width: 140px;
        margin: 10px auto 0;
        display: inline-block;
    }

    .group-company .company a, .group-company .company span {
        font-size: 13px;
    }

}
@media (max-width: 360px) {
    .group-company .company a, .group-company .company span {
        font-size: 12px;
    }

    .group-company .company {
        background-position: top right -5px;
    }

    .footer, .footer h3 {
        font-size: 12px
    }
}

@media (max-width: 350px) {
    .group-company .company {
        padding: 5px 10px;
        width: 100%;
    }

    .group-company .company a, .group-company .company span{
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .group-company .company p {
        font-size: 10px;
    } 

    
}