/* Header */ body { padding-top: 0px; } .main-header { height: 60px; width: 100%; position: relative; top: 0px; left: 0px; right: 0px; background: var(--color-blue-bg); padding: 0px 15px; z-index: 1005; } .main-header-cover { display: flex; max-width: var(--max-width); margin: auto; height: 100%; } .main-header .header-logo { margin: auto 30px auto 0px; color: #fff; } .main-header .header-logo svg { float: left; } .main-header .header-nav { margin: auto 0px; } .main-header .header-nav .nav-link { display: inline-block; height: 26px; line-height: 26px; padding: 0px; outline: 0px; border: 0px; text-decoration: none; border-radius: 3px; margin: 5px 15px; font-weight: 500; font-size: 15px; color: #fff; vertical-align: middle; } .main-header .header-nav .nav-link.link-pin { background: var(--color-green-bg); padding: 0px 18px 0px 10px; } .main-header .header-nav .nav-link.link-pin::before { content: "+"; font-weight: 500; font-size: 20px; margin-right: 8px; vertical-align: top; line-height: 26px; } .main-header .header-left { margin: auto auto auto 0px; } .main-header .header-right { margin: auto 0px auto auto; text-align: right; } .main-header .main-header-button-back { font-weight: 500; font-size: 13px; color: #fff; display: inline-block; text-decoration: none; outline: 0px; } .main-header .main-header-button-back::before { content: ""; display: inline-block; width: 22px; height: 21px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9'); vertical-align: top; margin-right: 18px; } .main-header .main-header-button-login { font-weight: 500; font-size: 13px; color: #fff; text-decoration: none; outline: 0px; width: 110px; height: 30px; line-height: 30px; background: #39C9F6; display: inline-block; text-align: center; border-radius: 15px; } .main-header .main-header-button-login:hover { background: #23A6D9; } .main-header .main-header-button-login.btn-pricing { background: transparent; } .main-header .main-header-button-login.btn-pricing:hover { text-decoration: none; color: #fff; } .main-header .btn-register { margin-left: 15px; display: inline-block; height: 30px; line-height: 30px; background: #FFF200; color: #0B3E71; width: 110px; text-align: center; border-radius: 19px; font-size: 13px; font-weight: 500; color: #231F20; } .main-header .btn-register:hover { background: #FFDA00; } .main-header .header-avatar { margin: auto 0px; padding: 0px; } .main-header .header-avatar .dropdown > button > img { width: 41px; height: 41px; border: 1px solid #fff; border-radius: 50%; } .main-header .header-avatar .dropdown > button { border: 0px; outline: 0px; padding: 0px; margin: 0px; background: transparent; } .main-header .header-avatar .dropdown > button::before { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: 24px; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; content: "\f107"; color: #fff; vertical-align: middle; transition: all 0.2s linear; margin-right: 15px; } .dropdown.menu-setting, .dropdown.menu-notification, .dropdown.menu-product { float: right; height: 60px; margin-top: 13px; } .main-header .header-avatar .dropdown.menu-setting > button, .main-header .header-avatar .dropdown.menu-notification > button, .main-header .header-avatar .dropdown.menu-product > button { width: 35px; height: 35px; text-align: center; border-radius: 18px; line-height: 1px; } .main-header .header-avatar .dropdown.menu-notification > button { margin-right: 20px; background: #05ACD9; } .main-header .header-avatar .dropdown.menu-product > button { margin-right: 10px; text-align: center; padding-left: 5px; padding-right: 4px; padding-top: 4px; } .main-header .header-avatar .dropdown.menu-setting > button:hover, .main-header .header-avatar .dropdown.menu-notification > button:hover, .main-header .header-avatar .dropdown.menu-product > button:hover { background: #26CEFA; } .main-header .header-avatar .dropdown.menu-setting > button span { width: 5.229px; height: 5.229px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -710px; display: inline-block; } .main-header .header-avatar .dropdown.menu-setting > button::before, .main-header .header-avatar .dropdown.menu-notification > button::before, .main-header .header-avatar .dropdown.menu-product > button::before { content: unset; } .main-header .header-avatar .dropdown.menu-notification > button span { width: 22.443px; height: 25px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -720px; display: inline-block; } .main-header .header-avatar .dropdown.menu-product > button span { width: 4.249px; height: 4.249px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -700px; display: inline-block; margin-bottom: 2px; } .dropdown.menu-notification .notification-quantity { position: absolute; top: 2px; right: 18px; color: #fff; background: #ff0000; width: 10px; height: 10px; border-radius: 7px; font-weight: 600; font-size: 8px; text-align: center; line-height: 8px; } .main-header .header-avatar .dropdown .dropdown-menu { width: 180px; box-shadow: 0px 0px 3px 1px #dedede; border-radius: 5px; border: 0px; padding: 15px 0px; left: auto; right: 25px; margin-top: 10px; } .main-header .header-avatar .dropdown.menu-notification .dropdown-menu { width: 430px; box-shadow: 0px 0px 3px 1px #dedede; border-radius: 5px; border: 0px; padding: 15px 0px; left: auto; right: 25px; margin-top: 10px; min-height: 200px; } .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar { background-color: #fff; width: 16px } /* background of the scrollbar except button or resizer */ .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar-track { background-color: #fff; } /* scrollbar itself */ .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::-webkit-scrollbar-thumb { background-color: #aaa; border-radius: 16px; border: 4px solid #fff; } /* set button(top and bottom of the scrollbar) */ body::-webkit-scrollbar-button { display: none } .main-header .header-avatar .dropdown.menu-product .dropdown-menu { width: 275px; padding: 20px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li { display: block; float: left; width: 65px; margin-right: 13px; text-align: center; margin-bottom: 25px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li span { display: inline-block; border: 1px solid transparent; width: 41px; height: 41px; padding: 2px; border-radius: 10px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.product-hint { width: 100%; border-top: 1px solid #ddd; padding-top: 15px; font-size: 13px; margin-bottom: 0; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-voca:hover span { border: 1px solid #00c5f9; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-voca:hover a { color: #00bcef; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-music:hover span { border: 1px solid #64008D; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-music:hover a { color: #64008D; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-grammar:hover span { border: 1px solid #15C39A; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-grammar:hover a { color: #15C39A; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-natural:hover span { border: 1px solid #7AC60C; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-natural:hover a { color: #77BC00; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-pronunciation:hover span { border: 1px solid #F7C78D; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-pronunciation:hover a { color: #F7C78D; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-writing:hover span { border: 1px solid #003366; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li.li-writing:hover a { color: #003366; background-color: transparent; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-voca, .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-music, .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-grammar, .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-natural, .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-pronunciation, .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-writing { width: 40px; height: 40px; display: inline-block; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li a { font-size: 10px; color: #231F20; padding: 0px; } .main-header .header-avatar .dropdown.menu-setting .dropdown-menu, .main-header .header-avatar .dropdown.menu-notification .dropdown-menu, .main-header .header-avatar .dropdown.menu-product .dropdown-menu { right: 0px; top: 37px; } .main-header .header-avatar .dropdown .dropdown-menu::before { content: ""; width: 12px; height: 12px; background: #fff; display: inline-block; position: absolute; top: -6px; right: 35px; transform: rotate(45deg); } .main-header .header-avatar .dropdown.menu-setting .dropdown-menu > li > a { font-weight: 300; font-size: 14px; color: var(--color-default-text); display: block; height: 35px; line-height: 35px; padding: 0px 25px; outline: 0px; text-decoration: none; transition: 0.2s all ease; } .main-header .header-avatar .dropdown.menu-setting .dropdown-menu > li > a:hover { color: var(--color-blue-text); background: #fff; } .main-header .header-avatar .dropdown.menu-setting .dropdown-menu::before { right: 10px; } .main-header .header-avatar .dropdown.menu-notification .dropdown-menu::before { right: 30px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu::before { right: 20px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu { padding: 20px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu li { min-height: 60px; border-bottom: 1px solid #ededed; list-style-type: none; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification { float: left; width: calc(100% - 70px); height: 59px; line-height: 59px; overflow: unset; -webkit-line-clamp: 1; overflow: hidden; text-overflow: ellipsis; padding-left: 50px; position: relative; font-size: 14px; font-weight: 300; color: #231F20; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve span, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review span, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me span, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification span { color: var(--color-blue-text); } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.btn-view { float: right; padding: 0px; font-size: 12px; height: 58px; margin-top: -59px; width: 70px; text-align: center; line-height: 60px; color: var(--color-blue-text); } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a:hover { background: #fff; text-decoration: none; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve::before { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -800px; content: ""; position: absolute; left: 0; top: 10px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review::before { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -840px; content: ""; position: absolute; left: 0; top: 10px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me::before { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -880px; content: ""; position: absolute; left: 0; top: 10px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification::before { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -920px; content: ""; position: absolute; left: 0; top: 10px; } .main-header .header-avatar .menu-avatar { display: inline-block; float: right; width: 40px; height: 40px; padding: 1px; background: #fff; border-radius: 18px; overflow: hidden; margin-right: 10px; margin-top: 10px; } .main-header .header-avatar .menu-avatar.menu-avatar-vip { padding: 2px; background: url('https://www.voca.vn/assets/img/vip-bg.svg?n=9'); } .main-header .header-avatar .menu-avatar img { width: 100%; height: 100%; border-radius: 50%; } .main-header .header-avatar .menu-avatar span { width: 100%; height: 100%; border-radius: 50%; display: inline-block; font-size: 14px; text-align: center; line-height: 30px; background: #FFB020; color: #fff; font-weight: 500; } .main-header .header-avatar .menu-upgrade { color: #fff; width: 80px; float: right; height: 30px; background: #FFF200; margin-right: 15px; text-align: center; border-radius: 15px; line-height: 30px; text-decoration: none; font-size: 11px; font-weight: 500; margin-top: 15px; background: linear-gradient(90deg, #FE9300 0%, #FFD800 100%); } .main-header .header-avatar .menu-upgrade:hover { color: #fff; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-voca { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -960px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-music { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1000px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-grammar { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1040px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-natural { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1080px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-pronunciation { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1120px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu li .product-writing { width: 35px; height: 35px; display: inline-block; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=10') 0px -1750px; } .main-header .header-avatar .image-text { display: inline-block; width: 41px; height: 41px; border: 1px solid #fff; border-radius: 50%; font-weight: 500; font-size: 20px; text-align: center; line-height: 39px; color: #fff; } .main-header .header-product { display: inline-block; vertical-align: middle; } .main-header .header-product .dropdown > button > img { width: 41px; height: 41px; border: 1px solid #fff; border-radius: 50%; } .main-header .header-product .dropdown > button { height: 26px; line-height: 26px; padding: 0px; outline: 0px; border: 0px; text-decoration: none; border-radius: 3px; margin: 15px 15px; font-weight: 500; font-size: 14px; color: #fff; background: transparent; } .main-header .header-product .dropdown > button::after { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: 16px; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; content: "\f107"; color: #fff; vertical-align: middle; transition: all 0.2s linear; margin-left: 5px; } .main-header .header-product .dropdown .dropdown-menu { width: unset; min-width: 140px; box-shadow: 0px 0px 10px 1px #D6D7D8; border-radius: 5px; border: 0px; padding: 15px 0px; left: auto; right: -12px; margin-top: 10px; top: calc(100% - 12px); } .main-header .header-product:hover .dropdown .dropdown-menu { display: block; } .main-header .header-product .dropdown .dropdown-menu::before { content: ""; width: 10px; height: 10px; background: #fff; display: inline-block; box-shadow: -2px -2px 5px 0px #D6D7D8; position: absolute; top: -5px; right: 27px; transform: rotate(45deg); } .main-header .header-product .dropdown .dropdown-menu > li > a { font-weight: 400; font-size: 13px; color: var(--color-header); display: block; height: 35px; line-height: 35px; padding: 0px 25px; outline: 0px; text-decoration: none; transition: 0.2s all ease; } .main-header .header-product .dropdown .dropdown-menu > li > a:hover { background: var(--color-blue-bg); color: #fff; } .main-header .btn-back { font-weight: 500; font-size: 13px; text-decoration: none; outline: 0px; color: #fff; max-width: 200px; white-space: nowrap; display: inline-block; overflow: hidden; text-overflow: ellipsis; } .main-header .btn-back::before { content: ""; display: inline-block; width: 22px; height: 20px; background: url(https://www.voca.vn/assets/img/learning-icon-bg.svg?n=9) 0px 0px; vertical-align: middle; margin-right: 15px; } .main-header li { list-style-type: none; } .dropdown.menu-course { height: 60px; margin-left: 10px; float: left; } .dropdown.menu-course button { background: transparent; border: 0; color: #fff; font-size: 14px; margin-top: 19px; } .dropdown.menu-course button:focus { outline: none; } .main-header .dropdown.menu-course .dropdown-menu { border: 0px; left: -165px; position: absolute; box-shadow: none; background: #ffffff; min-height: 317px; padding-top: 0px; border-radius: 0px; } .main-header .dropdown.menu-course:hover .dropdown-menu { display: block !important; } .main-header .dropdown.menu-course .dropdown-menu .subs { display: block; width: 240px; height: 32px; line-height: 32px; font-size: 13px; color: #575757; } .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs { position: absolute; left: 240px; width: 235px; top: 0px; padding-left: 0; background: #f7f8fa; -webkit-box-shadow: -2px 1px 5px rgba(0, 0, 0, 0.02); box-shadow: -2px 1px 5px rgba(0, 0, 0, 0.02); min-height: 317px; display: none; } .main-header .dropdown.menu-course .dropdown-menu a:hover, .main-header .dropdown.menu-course .dropdown-menu a:focus { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs:first-child { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs:first-child > a { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs:first-child > a.ic-menu-level:before { background-position: 0px -1720px; } .main-header .dropdown.menu-course .dropdown-menu .subs:hover { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs:hover > a { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) { color: #575757; } .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) > a { color: #575757; } .main-header .dropdown.menu-course .dropdown-menu:hover > *:not(:hover) > a.ic-menu-vocabulary:before { background-position: 0px -1230px; } .main-header .dropdown.menu-course .dropdown-menu .subs1 { display: block; width: 235px; } .main-header .dropdown.menu-course .dropdown-menu a { padding: 0px 0px 0px 50px; height: 32px; line-height: 32px; width: 100%; position: relative; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-vocabulary:before { display: inline-block; content: ""; width: 17.998px; height: 21.997px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1230px; position: absolute; top: 7px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-vocabulary:hover:before { background-position: 0px -1260px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-music:before { display: inline-block; content: ""; width: 17.998px; height: 19.997px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1350px; position: absolute; top: 8px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-music:hover:before { background-position: 0px -1380px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-natural:before { display: inline-block; content: ""; width: 17.998px; height: 18.998px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1290px; position: absolute; top: 9px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-natural:hover:before { background-position: 0px -1320px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-writing:before { display: inline-block; content: ""; width: 20px; height: 20px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1800px; position: absolute; top: 7px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-writing:hover:before { background-position: 0px -1830px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-grammar:before { display: inline-block; content: ""; width: 17.998px; height: 21.997px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1410px; position: absolute; top: 7px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-grammar:hover:before { background-position: 0px -1440px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-pronunciation:before { display: inline-block; content: ""; width: 17.998px; height: 27.996px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=9') 0px -1470px; position: absolute; top: 2px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-pronunciation:hover:before { background-position: 0px -1500px; } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-progress:before { display: inline-block; content: ""; width: 18px; height: 18px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1570px; position: absolute; top: 5px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-level:before { display: inline-block; content: ""; width: 20px; height: 20px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=5') 0px -1690px; position: absolute; top: 5px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu .ic-menu-certificate:before { display: inline-block; content: ""; width: 20px; height: 20px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=5') 0px -1630px; position: absolute; top: 5px; left: 20px; transform: scale(0.8); } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-progress:hover:before { background-position: 0px -1600px; } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-certificate:hover:before { background-position: 0px -1660px; } .main-header .dropdown.menu-course .dropdown-menu a.ic-menu-level:hover:before { background-position: 0px -1720px; } .main-header .dropdown.menu-course .dropdown-menu .subs1 a { color: #575757; padding-left: 17px; font-size: 13px; display: block; } .main-header .dropdown.menu-course .dropdown-menu .subs1:hover, .main-header .dropdown.menu-course .dropdown-menu .subs1:focus { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs1:hover a, .main-header .dropdown.menu-course .dropdown-menu .subs1:focus a { text-decoration: none; color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .subs1:first-child a { text-decoration: none; color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-subs:hover > *:not(:hover) > a { color: #575757; } .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 { position: absolute; left: 235px; width: 300px; top: 0px; padding-left: 0; background: #f3f4f7; min-height: 317px; display: none; } .main-header .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 a { color: #575757; } .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:hover, .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:focus { color: #00c5f9; } .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:hover a, .main-header .dropdown.menu-course .dropdown-menu .dropdown-subs1 li:focus a { text-decoration: none; color: #00c5f9; } .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image { position: absolute; left: 300px; width: 425px; top: 0px; padding-left: 0; background: #f3f4f7; display: none; } .dropdown.menu-course .dropdown-menu li:first-child .dropdown-subs1 .dropdown-image { display: block; } .dropdown.menu-course .dropdown-menu li:hover .dropdown-subs1 .dropdown-image { display: block; } .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image a { padding: 0px; } .main-header .dropdown.menu-course .dropdown-menu li:first-child .dropdown-subs { display: block; } .main-header .dropdown.menu-course .dropdown-menu li:first-child .subs1:first-child .dropdown-subs1 { display: block; } .main-header .dropdown.menu-course .dropdown-menu li:hover .dropdown-subs { display: block; } .main-header .dropdown.menu-course .dropdown-menu li:hover .subs1:first-child .dropdown-subs1 { display: block; } .main-header .dropdown.menu-course .dropdown-menu li:hover .subs1:hover .dropdown-subs1 { display: block; } .dropdown.menu-course .dropdown-menu .subs .dropdown-subs1 .dropdown-image img { width: 100%; } .dropdown.menu-course i { display: inline-block; width: 15px; height: 15px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1160px; float: right; margin-left: 5px; margin-top: 3px; } .dropdown.menu-course .dropdown-menu i { background-position: 0px -1210px; margin-top: 9px; margin-right: 8px; } .dropdown.menu-course ul { margin-top: 0px; } .main-header .menu-search { float: left; margin-left: 10px; height: 60px; padding-top: 12px; width: 400px; position: relative; max-width: calc(100% - 110px); } .main-header .menu-search input { width: 100%; height: 36px; border: 0px; border-radius: 4px; padding-left: 47px; } .main-header .menu-search input:focus { outline: none; border: 0px !important; } .main-header .menu-search span { display: inline-block; width: 20.001px; height: 20.23px; background: url('https://www.voca.vn/assets/img/menu-icon-bg.svg?n=3') 0px -1180px; position: absolute; left: 10px; top: 21px; } @media (min-width: 1060px) { .header-menu { display: none !important; } .main-header .header-avatar .dropdown:hover:not(.menu-notification) .dropdown-menu { display: block; } } @media(max-width: 1240px) { .header-middle .a-menu-left { display: none !important; } } @media(max-width: 1060px) { .main-header { position: fixed !important; top: 0px; } body { padding-top: 60px; } .main-header-cover { display: block; } .header-middle { display: block; text-align: left; cursor: pointer; margin: 15px 10px 0px 0px; float: left; width: 20px; height: 15px; } .header-middle .a-menu-left { display: block !important; } .main-header .menu-search { width: 30px; margin-top: -13px; } .main-header .menu-search-active { width: calc(100% - 90px); z-index: 1010; -webkit-transition: all 0.3s ease 0s; -khtml-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; -ms-transition: all 0.3s ease 0s; -o-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; } .main-header .menu-search span { background-position: 0px -1540px; left: 0px; } .main-header .menu-search input { display: none; } .main-header .menu-search-active span { background-position: 0px -1180px; right: 10px; left: unset; } .main-header .menu-search-active input { display: block; padding-left: 15px; padding-right: 45px; } .main-header .menu-search button { background: transparent; border: 0; } .main-header .menu-search button:focus { border: 0; outline: none; } .open-overlay:before { content: ''; position: fixed; width: 100%; height: 100%; background: #0000008f; left: 0; top: 0; z-index: 1006; display: block; } .overlay-hint { display: none; } .open-overlay .overlay-hint { position: fixed; width: 100%; height: 100%; background: #fff; left: 0; top: 60px; z-index: 1006; display: block; padding: 15px; } .open-overlay .overlay-hint a { padding: 5px 10px; border-radius: 15px; background: #f0f0f0; color: #231F20; display: inline-block; margin-bottom: 10px; margin-right: 10px; font-size: 13px; } .header-menu-icon { display: inline-block; position: relative; width: 20px; height: 2px; background-color: #fff; border-radius: 100px; transition: transform .4s ease; outline: none; cursor: pointer; } .header-menu-icon::before { content: ''; display: block; width: 100%; position: absolute; height: 2px; background-color: #fff; border-radius: 100px; transition: all .2s ease; bottom: 200%; right: 0; margin-bottom: 2px; } .header-menu-icon::after { content: ''; display: block; width: 100%; position: absolute; height: 2px; background-color: #fff; border-radius: 100px; transition: all .2s ease; top: 200%; right: 0; margin-top: 2px; } .main-header .header-avatar .menu-upgrade { color: #fff; float: right; height: 30px; background: #FFF200; margin-right: 15px; text-align: center; border-radius: 15px; line-height: 30px; text-decoration: none; font-size: 11px; font-weight: 500; margin-top: 0px; margin-right: 10px; background: linear-gradient(90deg, #FE9300 0%, #FFD800 100%); display: none; } .header-nav { display: none; } .main-header .header-right { margin: 15px 0px 0px 0px; width: 100%; } .header-right .header-avatar .menu-avatar { display: none; } .main-header .header-avatar .dropdown.menu-product > button, .main-header .header-avatar .dropdown > button { background: #26CEFA; } .main-header .header-avatar .dropdown.menu-product > button { margin-right: 0px; } .dropdown.menu-setting, .dropdown.menu-notification, .dropdown.menu-product { margin-top: 0px; } .dropdown.menu-product { margin-right: 10px; } .main-header .header-avatar .menu-avatar { margin-top: 0px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu { right: -10px; } .main-header .header-avatar.header-product-mobile .dropdown.menu-product .dropdown-menu { right: -10px; } .header-product-mobile .dropdown.menu-product { display: block; margin-left: 10px; } .main-header .header-avatar .dropdown.menu-product .dropdown-menu::before { left: unset; right: 20px; } .main-header .header-avatar.header-product-mobile .dropdown.menu-product .dropdown-menu::before { left: unset; } .main-header .btn-register { display: inline-block; width: 100px; float: right; } .main-header .btn-register:hover, .main-header .btn-register:focus { } .main-header .header-logo { width: 100%; width: 100px; } .main-header .header-logo svg { width: 100px; height: 52px; margin-top: -8px; } .main-header .header-menu { position: absolute; width: calc(100% + 30px); left: -15px; bottom: 1px; transform: translate(0%, 100%); background: #00c5f9; display: none; padding-top: 0px; padding-left: 15px; padding-right: 15px; box-shadow: inset 0 3px 5px rgba(0,0,0,0.05); z-index: 2; padding-top: 10px; } .main-header .header-menu-link { display: inline-block; padding: 0px 18px; height: 32px; line-height: 30px; border-radius: 30px; font-weight: 400; font-size: 14px; color: #fff; text-align: center; text-decoration: none; outline: 0px; border: 0px; } .main-header .header-menu-link { display: block; margin-bottom: 0; border-radius: 0; text-align: left; border-bottom: 1px solid #fff6f640; height: 40px; line-height: 38px; } .main-header .link-course-group { display: none; } .main-header .link-course-group .header-menu-link { padding-left: 45px; } .main-header .header-menu-link.head-menu-item-active { background: rgba(0, 0, 0, 0.2); font-weight: 500; } .main-header .header-menu-link.menu-link-course { position: relative; } .main-header .header-menu-link.menu-link-course::before { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: 22px; text-rendering: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; content: "\f107"; color: #fff; vertical-align: middle; transition: all 0.2s linear; margin-left: 5px; position: absolute; right: 15px; top: 5px; } .main-header .menu-product .dropdown-menu.show { display: block; } .main-header .header-avatar .menu-upgrade { display: inline-block; } } @media(max-width: 768px) { .main-header .btn-pricing { display: none; } .main-header .header-avatar .dropdown.menu-notification .dropdown-menu { max-width: 320px; } .main-header .menu-search { margin-left: 0px; } .main-header .header-avatar .menu-upgrade { width: 80px; font-size: 10px; margin-right: 5px; } .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-improve, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-review, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.gift-me, .main-header .header-avatar .dropdown .dropdown-menu.remind-menu > li > a.remind-notification { padding-right: 0px; } } .menu-product-btn span { animation: lds-grid 1.2s linear infinite; } .menu-product-btn span:nth-child(1) { animation-delay: 0s; } .menu-product-btn span:nth-child(2) { animation-delay: -0.4s; } .menu-product-btn span:nth-child(3) { animation-delay: -0.8s; } .menu-product-btn span:nth-child(4) { animation-delay: -0.4s; } .menu-product-btn span:nth-child(5) { animation-delay: -0.8s; } .menu-product-btn span:nth-child(6) { animation-delay: -1.2s; } .menu-product-btn span:nth-child(7) { animation-delay: -0.8s; } .menu-product-btn span:nth-child(8) { animation-delay: -1.2s; } .menu-product-btn span:nth-child(9) { top: 45px; left: 45px; animation-delay: -1.6s; } @keyframes lds-grid { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } /* End Header */