/* Common */
* {
    font-family: 'Quicksand', sans-serif;
}

.row {
    margin: 0 !important;
}

.search-bar {
    right: 11%;
    height: 100%;
    width: 77%;
    background: transparent;
    color: #1f425b;
    border: none;
}

*:focus {
    outline: none !important;
    box-shadow: none!important;
}

@-webkit-keyframes autofill {

    0%,
    100% {
        color: #1f425b;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-delay: 1s;
    /* Safari support - any positive time runs instantly */
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
}

li a,
a:hover {
    display: inline-block;
    vertical-align: top;
    text-decoration: none;
    border-radius: 4px;
}

.bottomRightShadow {
    box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 8px 8px 10px rgba(0, 0, 0, 0.5);
}

/* ------- First page ---------- */

/* Menu on image */
#menu {
    top: 29%;
    right: 0%;
    font-size: 1.2vw;
    font-weight: 500;
    color: #ffffffc7;
    width: 22%;
}

#menu p {
    padding: 3% 3% 3% 9%;
    margin-bottom: 2%;
    background: #353535d1;
    margin-left: 10%;
}

#menu .active {
    margin-left: 0 !important;
}

#menu a {
    color: #ffffffc7;
}

#menu a:hover {
    opacity: 0.7;
}

/* navigation bar */
nav {
    background-color: #ffffffeb;
    transition: background-color ease-in 0.7s;
}

.bottomShadow {
    box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);
    -o-box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.5);
}

.nav-item.active a,
.nav-item:hover a {
    border-bottom: 4px solid #f31515de;
    border-radius: 0;
}

.nav-item {
    padding: 0 0.7rem !important;
}

.nav-link {
    padding: 0.5rem 0 !important;
    color: rgba(0,0,0,.5)!important;
}

.form-navbar:before {
    position: absolute;
    left: 5px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #cccccc;
}
.form-navbar:before {
    font-family: 'FontAwesome';    
    content: "\f002";
    color: #6b6b6b;
}

.search-form {
    position: relative;
}

.search-form input {
    position: relative;
    z-index: 10;
    border-color: transparent !important;
    width: 100%!important;
    background: transparent !important;
    padding-right: 0;
    padding-left: 30px;
    height: 35px;
    -webkit-transition: width 0.3s ease-in-out;
    transition: width 0.3s ease-in-out;
}

.nav-first-page {
    background-color: transparent!important;
}

.nav-first-page .nav-link {
    color: rgba(255,255,255,.5)!important;
}

.nav-first-page .active>.nav-link {
    color: rgba(255,255,255,.7)!important;
}

.nav-first-page .form-navbar:before {
    color: #ececec!important;
}
.nav-first-page .search-form input {
    color: white;
    width: 30px!important;
}

.search-form input:focus {
    -webkit-transition: width 0.5s ease-in-out;
    transition: width 0.5s ease-in-out;
    width: 100%!important;
}

/**/

#qn-text-in-bg {
    top: 35%;
    left: 7%;
}

#qn-text-in-bg-first div:first-child {
    position: relative;
    font-size: 4.5vw;
    font-weight: 600;
    color: red;
    display: inline-block;
}

#qn-text-in-bg-first div:first-child:after {
    content: '';
    height: 50%;
    width: 5px;
    position: absolute;
    top: 25%;
    right: -12%;
    background-color: #ed2e2f;
}

#qn-text-in-bg-first div:nth-child(2) {
    display: inline-block;
    width: 40%;
    font-size: 1.4vw;
    color: white;
    left: 6%;
    position: relative;
}

#qn-text-in-bg-second {
    padding: 1.5%;
    width: 71%;
    color: transparent;
    font-size: 1.5vw;
    text-align: center;
    -webkit-background-clip: text;
    background-image: -webkit-linear-gradient(left, #7b7b7b80, #ffffff, #ffffff, #ffffff, #7b7b7b80);
    font-weight: 500;
    border-bottom: 5px solid;
    border-top: 5px solid;
    border-image-source: -webkit-linear-gradient(left, #7b7b7b00, #ffffff, #7b7b7b00);
    border-image-slice: 1;
}

#current-date {
    bottom: 2%;left: 2%;font-size: 1.2vw;font-weight: 500;color: #ffffffc7;
}

#current-date p {
    text-shadow: #1b1b1b85 2px 0 7px;
}

/* END */
#end-search {
    top: 44%;left: 40%;width: 37%;height: 6%;
}
#end-link {
    top: 55%;left: 37.5%;width: 49%;
}
#end-info {
    bottom: 1%;left: 14%;width: 69%;
}

@font-face {
  font-family: 'Segoe UI';
  src: url(http://qnec.com.vn/fonts/SegoeUI.ttf) format('truetype');
}

@font-face {
  font-family: 'Segoe UI';
  src: url(http://qnec.com.vn/fonts/SegoeUIBold.ttf) format('truetype');
  font-weight: bold;
}

#nav-qnec {
    font-family: "Segoe UI";
}