:root {
    --bs-primary: #FC486F;
    --bs-secondary:rgba(255,220,28,.13);
    --bs-light: #ECFCFF;
    --border-color:#D1F7FF;
    --bs-dark: #000000;
    --bs-gray: #A8A8A8;
    --bs-font-sans-serif:"mainfont";
}

/* // EN font */
@font-face {
    font-family: "mainfont";
    src: url('../fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: "boldfont";
    src: url('../fonts/Roboto-Bold.ttf');
}
/* shared  */
body,*, span, h1,h2,h3,h4,h5,h6,p,a{font-family: "mainfont";}
.btn-primary ,.btn-primary:focus{
    border-color: var(--bs-primary);
    background-color: var(--bs-primary);
}
.btn-primary:focus{
    box-shadow: 0 0 0 0.25rem rgba(252, 72, 111, .5);
}
.btn-primary:hover{border-color: rgba(250, 37, 83, 0.7);background: rgba(250, 37, 83, 0.7);}
.text-primary{color: var(--bs-primary) !important;}
.bg-secondary{background-color: var(--bs-secondary) !important;}
.overflow-h{overflow: hidden;}
html {scroll-padding-top: 120px;}
#companyInfo{scroll-margin-top: 150px;}
#news{scroll-margin-top: 120px;}

/* top bar  */
.top-bar{
    background: var(--bs-gray);
    height: 48px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.top-bar .list-group-item,
.social-links .list-group-item{background: none; border: none;}
.top-bar li a{ color: #fff; text-decoration: none;}
.contact-info a{ font-size: .8rem;}
.contact-info a i{ margin-top: .2rem;}
.social-links li{ padding: 0 .2rem;}
.social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    line-height: 26px;
    font-size: .9rem;
    text-align: center;
    border: 1px solid #fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.social-links a:hover{ background: #fff; color: var(--bs-primary) !important;}
.main-navbar{ position: relative;}
.navbar{
    width: 100%;
    z-index: 100;
}
.navbar.fixed-nav{
    position: fixed;
    top:0;
    bottom: auto;
    left: 0;
    right: 0;
    border-radius: 0;
    margin: 0;
    width: 100%;
    z-index: 1000;
    background-color: #EEEEEE;
}
.navbar.fixed-nav .navbar-brand img{
    width: 70px;
}
.navbar-nav{
    position: relative;
    padding: 8px 0;
}
.navbar-nav::before{
    content: '';
    position: absolute;
    width: 140%;
    height: 100%;
    left: -129px;
    top: -1px;
    z-index: -1;
    background-color: #EEEEEE;
}
.navbar-nav .nav-link{
    font-size: .95rem;
    color: var(--bs-dark);
    margin: 0 0.5rem;
    padding: 0 4px !important;
    border-bottom: 3px solid transparent;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.navbar-nav .nav-link:hover,.lang-btn:hover{ color:var(--bs-primary)}
.active-item .nav-link{ 
    color: var(--bs-primary);
    border-bottom: 3px solid;
}
.navbar li .lang-btn, .lang-btn {
    width: 40px;
    height: 40px;
    line-height: 42px;
    margin: 0 3rem;
    margin-top: -2px;
    text-align: center;
    padding: 0 !important;
    background: #EEEEEE;
    color: var(--bs-dark);
    text-decoration: none;
}
.navbar-brand img{ 
    width: 135px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.navbar-toggler:focus{ box-shadow: none; }
.navbar-toggler i{ color: var(--bs-primary);}
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; 
}
.dropdown:hover .dropdown-toggle { color: var(--bs-primary); }
.top-bar .dropdown-toggle{ position: relative; z-index: 10;}


/* about  */
.about-info{
    color: #fff;
    position: relative;
}
.about-info::before{
    content: '';
    position: absolute;
    left: -117px;
    right: auto;
    top: 0;
    width: 140%;
    height: 100%;
    z-index: -1;
    border-radius: 5px;
    background-image: linear-gradient(to right, #FC486F, #870522);
}
.about-info h1{
    font-size: 1.25rem;
}
.about p{
    text-align: justify;
}
.col-md-6.z-index{
    z-index: -2;
}
.mr--10{
    margin-right: 0rem;
}
/* .about-img .mr--10{
    border: 20px solid #fff;
    padding: 0;
    box-shadow: 3px 3px 10px #ccc;
    height: 475px;
    object-fit: cover;
} */


/* gallery */
img.zoom {
width: 100%;
height: 200px;
border-radius:5px;
object-fit:cover;
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
}
.transition {
-webkit-transform: scale(1.2); 
-moz-transform: scale(1.2);
-o-transform: scale(1.2);
transform: scale(1.2);
}
.modal-header {
border-bottom: none;
}
.modal-title {
color:#000;
}
.modal-footer{
display:none;  
}
.gallery {
    width: 100%;
    display: inline-block;
}
.gallery-img {
    height: 100px;
    object-fit: cover;
    display: inline-block;
}
.gallery-img:nth-child(10n + 1) {
    width: 50%;
    height: 400px;
    float: left;
    border-right: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 2) {
    width: 25%;
    height: 200px;
    float: left;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 3) {
    width: 25%;
    height: 200px;
    float: left;
    border-left: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 4) {
    width: 25%;
    height: 200px;
    float: left;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 5){
    width: 25%;
    height: 200px;
    float: left;
    border-left: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 6){
    width: 50%;
    height: 400px;
    float: right;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 7) {
    width: 25%;
    height: 200px;
    float: left;
    border-right: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 8) {
    width: 25%;
    height: 200px;
    float: left;
    border-right: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 9) {
    width: 25%;
    height: 200px;
    float: left;
    border-right: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img:nth-child(10n + 10){
    width: 25%;
    height: 200px;
    float: left;
    border-right: 20px solid #fff;
    border-bottom: 20px solid #fff;
}
.gallery-img a { 
    display: block;
    overflow: hidden;
    position: relative;
    height: 100%;
}
.gallery-img a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery-img a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.gallery-img a:hover .gallery-poster > img {
    opacity: 1;
}
.gallery-img a .gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.gallery-img a .gallery-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.gallery-img i a:hover .gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.gallery .justified-gallery > a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}
.gallery .justified-gallery > a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}
.gallery .justified-gallery > a:hover .gallery-poster > img {
    opacity: 1;
}
.gallery .justified-gallery > a .gallery-poster {
    background-color: rgba(0, 0, 0, 0.1);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color 0.15s ease 0s;
    -o-transition: background-color 0.15s ease 0s;
    transition: background-color 0.15s ease 0s;
}
.gallery .justified-gallery > a .gallery-poster > img {
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}
.gallery .justified-gallery > a:hover .gallery-poster {
    background-color: rgba(0, 0, 0, 0.5);
}
.gallery .video .gallery-poster img {
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    opacity: 0.8;
    width: 48px;
}

/* news */
#newsSlider {margin-bottom: 0;margin-top: 5rem;}
.main-slide{
    width: calc(50% - 10px);
    max-height: 340px;
    object-fit: contain;
} 
.more-slide ul{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0;
    width: 50%;
    height: 350px;
    padding: 0;
}
.more-slide ul > li {
    width: calc(50% - 5px);
    max-height: 165px;
    opacity: 1;
    border: none;
    background: none;
    margin: 0;
    list-style: none;
    overflow: hidden;
    text-decoration: none;
}
.more-slide ul > li:hover img{ transform: scale(1.15);}
.more-slide ul > li img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    cursor: pointer;
    text-decoration: none;
    transition: .3s all ease-in-out;
    -webkit-transition: .3s all ease-in-out;
    -moz-transition: .5s all ease-in-out;
}
.slide-number.carousel-indicators{
    top: -48px;
    bottom: auto;
    margin: 0;
    padding: .4rem;
    background: var(--bs-dark);
    border-radius: 10px;
}
.slide-number.carousel-indicators > li {
    width: 26px;
    height: 26px;
    line-height: 26px;
    color: var(--bs-primary);
    font-size: .9rem;
    text-indent: initial;
    opacity: 1;
    border: none;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}
.slide-number.carousel-indicators .active{
    background: var(--bs-primary);
    color: #fff;
}
.latest-news .carousel-caption{
    position: static;
    background: var(--bs-dark);
    padding: .5rem 1rem;
    border-radius: 10px;
}

/* companies  */
.companies .card{
    border: none;
    border-radius: 0;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.companies .card:hover{
    -webkit-transform: scale3d(.95, .95, .95);
    transform: scale3d(.95, .95, .95);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.card-img-top{
    height: 350px;
    width: calc(100% - 40px);
    object-fit: cover;
    border-radius: 0;
    margin: 0 20px;
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.16);
}
.companies .card-body{
    color: white;
    background-image: linear-gradient(to top, #7E2438, #FC486F);
}
.companies .card-title{
    font-size: 1.1rem;
}


/* footer */
footer{
    padding-top: 3rem;
    color: #fff;
    font-size: .85rem;
    position: relative;
    background-color: var(--bs-gray);
}
footer::after {
    content: '';
    position: absolute;
    top: -13px;
    width: 100%;
    height: 13px;
    background: url(../imgs/shape.png)no-repeat;
    background-size: cover;
}
.footer-logo{ width: 130px;}
.social-links li{
    padding: 0 0.2rem;
}
.social-links a {
    color:#fff;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}
.social-links a:hover{color: var(--bs-primary);}
.social-links a:hover .cir-icon{border-color: var(--bs-primary); }
footer .list-unstyled li{  margin-bottom: 1rem;}
footer .list-unstyled li > a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    position: relative;
    transition: .3s all ease-in-out;
}
footer .list-unstyled li > a:hover{color: var(--bs-primary);}
footer h4 {
    font-size: 1rem;
    font-family: "semiboldFont";
    margin-bottom: 1.3rem;
}
.copy-right{
    margin-top: 1.5rem;
}

/* scroll top btn */
.scroll-top{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: none;
}


/* resposive */
/* Large desktops and laptops */
@media (min-width: 1200px) {
}
/* Landscape tablets and medium desktops */
@media (min-width:  991.98px) and (max-width: 1199px) {
    .companies .card-title {
        font-size: 1rem;
    }
}
/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .about-img .mr--10{margin-left: 0 !important;margin-right: 0 !important;}
    .about-info {padding: 3rem;}
    .about-img{text-align: center;}
    .about-img .mr--10{
        margin-bottom: 2rem !important;
        display: none;
    }
    .companies .card-title {
        font-size: .9rem;
    }
    .navbar-nav::before{
        display: none;
    }
    .navbar li .lang-btn, .lang-btn{margin: 0;}
    .row{ margin-left: 0; margin-right: 0;}
    .main-slide{ max-height: 270px;}
    .more-slide ul{ height: 280px;}
    .more-slide ul > li{ max-height: 130px;}
}
/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767px) {
    .top-bar .contact-info .list-group-horizontal{ display: block;}
    .top-bar .list-group-item{padding: .1rem!important; line-height: 18px;}
    .navbar-nav{align-items: initial !important;}
    .contact-info a {font-size: 0.75rem; }
    .navbar li { margin: .3rem 0; }
    .about .col-md-6, .about .container{padding: 0 !important;}
    .about .col-md-6.py-3{padding: 1rem !important;}
    .about-info::before {
        right: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
    .about-img .mr--10{margin: 0 !important;}
    .about-info {padding: 3rem;}
    .about-img{text-align: center;padding: 1rem !important;}
    .latest-news{ padding-top: 3rem; margin-top: 0;}
    .latest-news .carousel-caption{font-size: .85rem;}
    .main-slide{ max-height: 200px;}
    .more-slide ul{ height: 209px;}
    .more-slide ul > li {max-height: 96px;}
    .row{ margin-left: 0; margin-right: 0;}
    
}
/* small devices (portrait phones, less than 576px) */
@media (max-width: 580px) {
    /* .navbar { margin: -12px auto; width: 100%;} */
    .navbar.fixed-nav .navbar-brand img { width: 90px;}
    .top-bar{ height: auto;}
    .top-bar .col-auto{ width: 100%;padding: 0;}
    .top-bar .social-links{ justify-content: flex-start;margin-bottom: .2rem}
    .about-info::before{left:0;right: 0;}
    .gallery{padding: 0 .5rem;}
    .gallery-img:nth-child(10n + 1),.gallery-img:nth-child(10n + 6){width: 100%;border-left: none;border-right: none;}
    .gallery-img:nth-child(10n + 2),.gallery-img:nth-child(10n + 3),.gallery-img:nth-child(10n + 4),.gallery-img:nth-child(10n + 5),.gallery-img:nth-child(10n + 7),.gallery-img:nth-child(10n + 8),.gallery-img:nth-child(10n + 9),.gallery-img:nth-child(10n + 10){width: 50%;}
    .gallery-img:nth-child(10n + 8),.gallery-img:nth-child(10n + 10){border-right: none;}
    .scroll-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    footer .container{text-align: center;}
    footer .list-unstyled li {
        justify-content: center;
    }
    footer .social-links{justify-content: center;}
    .about-info>.py-5{padding: 0 !important;}
    .about img{    
        width: 300px;
        margin: 1rem auto;
        display: block;
    }
    p,.btn-primary{ font-size: .95rem;}
    .card-img-top { height: 280px;}
    html {scroll-padding-top: 170px;}
    #companyInfo, #news{ scroll-margin-top:170px ;}
}
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 480px) {
    .top-bar .dropdown-menu {
        right: auto !important;
        left: 0 !important;
        -webkit-transform: translate(-42%, 0) !important;
        -o-transform: translate(-42%, 0) !important;
        transform: translate(-42%, 0) !important;
    }
}
@media (max-width: 400px) {
    .main-slide{ max-height: 180px;}
    .more-slide ul{ height: 190px;}
    .more-slide ul > li {max-height: 84px;}
}
/*** Styles added to fix the issue with zoom in on iphone ***/
/* iPhone < 5: */
@media screen and (device-aspect-ratio: 2/3) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}

/* iPhone 5, 5C, 5S, iPod Touch 5g */
@media screen and (device-aspect-ratio: 40/71) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}

/* iPhone 6, iPhone 6s, iPhone 7 portrait/landscape */
@media screen and (device-aspect-ratio: 375/667) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}

/* iPhone 6 Plus, iPhone 6s Plus, iPhone 7 Plus portrait/landscape */
@media screen and (device-aspect-ratio: 9/16) {
    select, textarea, input[type="text"], input[type="password"],
    input[type="datetime"], input[type="datetime-local"],
    input[type="date"], input[type="month"], input[type="time"],
    input[type="week"], input[type="number"], input[type="email"],
    input[type="url"]{ font-size: 16px; }
}