﻿/* =========================================================
   HEADER TOP
   ========================================================= */

.header-top {
    width: 100%;
    color: #fff;
    margin: 0;
    padding: 0;
}


/* =========================================================
   HEADER TOP - BODY
   ========================================================= */

.h-t-body {
    width: 100%;
    background: #004686;
    margin: 0 auto;
    padding: 0;
}

.h-t-body1 {
    width: 100%;
    min-height: 30px;
    background: #00aeef;
    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1281px) {

    .h-t-body {
        width: 100%;
    }

    .h-t-body1 {
        width: 100%;
    }
}


/* =========================================================
   CONTAINER
   ========================================================= */

.header-top .container {
    width: 100%;
    min-height: 30px;

    margin: 0 auto;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}


/* =========================================================
   UL CHUNG
   ========================================================= */

.header-top ul {
    list-style: none;

    height: 100%;
    margin: 0;
    padding: 0;

    position: relative;
}


/* =========================================================
   H-T-LEFT
   ========================================================= */

.header-top .h-t-left {
    width: 100%;
    min-height: 30px;

    float: none;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    list-style: none;

    box-sizing: border-box;
}


/* =========================================================
   H-T-LEFT LI
   ========================================================= */

.header-top .h-t-left li {
    float: none;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}


/* =========================================================
   NỘI DUNG P
   ========================================================= */

.header-top .h-t-left li p {
    margin: 0;
    padding: 0;

    color: #fff;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;

                    font-family: "K2D" !important;
    text-align: center;

    white-space: nowrap;

    box-sizing: border-box;
}


/* =========================================================
   LINK
   ========================================================= */

.header-top ul li a {
    font-size: 12px;
    color: #fff;
}

.header-top ul li a:hover {
    text-decoration: underline;
}

.header-top ul li i {
    margin-right: 5px;
}


/* =========================================================
   H-T-LEFT LINK
   ========================================================= */

.h-t-left li a {
    padding: 0;

    color: #fff;

    font-size: 12px;

    text-decoration: none;
}

.h-t-left li a:hover {
    text-decoration: underline;
}

.h-t-left li a img {
    width: 15px;
    margin-right: 3px;
}


/* =========================================================
   H-T-RIGHT
   Giữ lại để không phá giao diện nếu website có sử dụng
   ========================================================= */

.h-t-right {
    float: right;
    margin: 0;
    padding: 0;

    list-style: none;
}

.h-t-right li {
    float: left;

    padding: 8px 0 8px 15px;
}

.h-t-right li a {
    padding: 0 5px;
}

.h-t-right li p {
    padding: 0 5px;
}

.h-t-right li a img {
    height: 19px;
}


/* =========================================================
   LANGUAGE
   ========================================================= */

.header-top .h-t-r-lang {
    line-height: 1;
}

.header-top .h-t-r-lang a:hover {
    text-decoration: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .h-t-body1 {
        min-height: 50px;
    }

    .header-top .container {
        min-height: 50px;
    }

    .header-top .h-t-left {
        min-height: 50px;
        padding: 0 10px;
    }

    .header-top .h-t-left li p {
        font-size: 13px;
        line-height: 1.4;

        white-space: normal;
        text-align: center;
    }
}


/* =========================================================
   MOBILE NHỎ
   ========================================================= */

@media (max-width: 480px) {

    .h-t-body1 {
        min-height: 48px;
    }

    .header-top .container {
        min-height: 48px;
    }

    .header-top .h-t-left {
        min-height: 48px;
        padding: 0 8px;
    }

    .header-top .h-t-left li p {
        font-size: 12px;
        line-height: 1.4;
    }
}
.sub-menu-2 {
  position:absolute;
  top:200%;
  left:0;
  width:210px;
  /*background-color:#FFFFFF;
  */

    background-color:#004686;
  z-index:-10;
  opacity:0;
  padding:0;
  box-shadow:0 0 5px rgba(0,0,0,0.1);
  -webkit-box-shadow:0 0 5px rgba(0,0,0,0.1);
  -moz-box-shadow:0 0 5px rgba(0,0,0,0.1);
}

.sub-menu-2 {
  position:absolute;
  left:115%;
  top:0;
}

.sub-menu:after,
.sub-menu-2:after {
  /*content:'';
  */

    position:absolute;
  left:20px;
  top:-6px;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-bottom:6px solid #fff;
  transition:all .3s ease-out;
  -webkit-transition:all .3s ease-out;
  -moz-transition:all .3s ease-out;
  -o-transition:all .3s ease-out;
}

.sub-menu-2:after {
  left:-12px;
  top:13px;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-right:6px solid #fff;
}
