/*
Theme Name: TNR Stars Project
Theme URI: http://tnrstars.vn
Author: DuongNS
Author URI: http://duongns.com
Description: Created by DuongNS
Version: 1.0
*/

*:focus {
    outline: none;
}
::-moz-selection {
    text-shadow: none;
    background: #F7B519;
}

::selection {
    text-shadow: none;
    background: #F7B519;
}
img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

body {
    -webkit-tap-highlight-color: #F7B519;
    overflow-x: hidden;
    color: #333;
    font-family: 'Noto Sans', sans-serif;
    font-size: 15px;
}

p {
    line-height: 1.75;
}

a {
    color: #F7B519;
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #fec503;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 600;
}
button, input, optgroup, select, textarea {
    font-family: 'Noto Sans', sans-serif;
}
button {
    cursor: pointer;
}
img {
    max-width: 100%;
}

.cover {    
    overflow: hidden;
}
.cover img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.carousel-fade .carousel-item.active {
    opacity: 1;
}

header {
    background-color: rgba(12,35,108,0.8);
}
.navbar-brand img {
    height: 50px;
}
.navbar-toggler {
    color: #fff;
    font-size: 2rem;
}
#primary_menu .menu-item a {
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    display: block;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    text-transform: uppercase;
}
#primary_menu .menu-item.current-menu-item a,
#primary_menu .menu-item:hover a {
    color: #fc0;
}
#primary_menu .sub-menu {
	padding: 0;
	list-style: none;
	margin-left: 10px;
}
#primary_menu .sub-menu .menu-item a {
	text-transform: none;
}
@media (min-width: 992px) {
    header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 99;
    }
    .navbar {
    	padding-top: 0;
    	padding-bottom: 0;
    }
    .navbar-brand {
        background: #751020 url('assets/imgs/logo-bg.png') no-repeat center;
        background-size: cover;
        padding: 0;
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
    }
    .navbar-brand img {
        height: 100px;
        margin: 10px 15px;
    }
    #primary_menu {
        margin-left: 130px;
    }
    #primary_menu .menu-item a {
        border: none;
        padding: 20px;
        position: relative;
    }
    #primary_menu .menu-item a:before {
        content: "";
        background-color: #751020;
        display: block;
        width: 1px;
        height: 16px;
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -8px;
    }
    #primary_menu .sub-menu {
		margin-left: 0;
		position: absolute;
		top: 100%;
	}
    #primary_menu .sub-menu .menu-item {
    	padding-top: 5px;
    	margin-left: 10px;
    }
    #primary_menu .sub-menu .menu-item a:before {
		display: none;
	}
    #primary_menu .sub-menu .menu-item a {
		background-color: rgba(12,35,108,0.6);
		color: #fff;
		padding: 10px;
	}
    #primary_menu .sub-menu .menu-item.current-menu-item a,
    #primary_menu .sub-menu .menu-item:hover a {
		background-color: rgba(12,35,108,1);
		color: #fff;
	}
    #primary_menu .menu-item .sub-menu .menu-item {
        visibility: hidden;
        position: absolute;
        width: 200px;
        top: 0;
        transition-duration: 300ms;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item {
        visibility: visible;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item:nth-child(1) {
        top: 0;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item:nth-child(2) {
        top: 47px;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item:nth-child(3) {
        top: 94px;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item:nth-child(4) {
        top: 141px;
    }
    #primary_menu .menu-item:hover > .sub-menu .menu-item:nth-child(5) {
    	top: 188px;
    }
}

#home_carousel .carousel-item .cover {
    height: 300px;
}
#home_carousel .carousel-indicators {
    display: block;
    margin: 0 20px;
    right: 0;
    left: auto;
    top: 50%;
}
#home_carousel .carousel-indicators li {
    border-radius: 50%;
    width: 5px;
    height: 5px;
    margin: 0 auto 10px;
    transition-duration: 200ms;
}
#home_carousel .carousel-indicators li.active {
    width: 15px;
    height: 15px;
}
@media (min-width: 992px) {
    #home_carousel .carousel-item .cover {
        height: 100vh;
    }
}

.page-content {
    padding: 15px 0;
}
.page-content h2 {
    font-size: 16px;
    text-transform: uppercase;
}
.page-content a {
    color: #fff;
}
@media (min-width: 992px) {
    .page-wrapper .container-fluid {
        min-height: 100vh;
    }
    .page-wrapper .page-content {
        background-color: rgba(255,255,255,.9);
        padding: 15px 30px;
    	width: 40%;
        -webkit-clip-path: polygon(0 0, 0 92%, 8% 100%, 100% 100%, 100% 8%, 92% 0);
        clip-path: polygon(0 0, 0 92%, 8% 100%, 100% 100%, 100% 8%, 92% 0);
        position: relative;
        z-index: 1;
    }
    .page-wrapper .cover {
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
    }
}

#fp-nav ul li {
	margin: 30px 7px;
}
#fp-nav ul li .fp-tooltip {
    background: rgba(0, 0, 0, 0.5);
    padding: 7px 20px;
    border-radius: 18px;
    right: 20px;
	-webkit-transition: opacity 0.2s ease-in;
    transition: opacity 0.2s ease-in;
    width: auto;
    opacity: 1;
    top: -12px;
}
#fp-nav ul li a span, 
.fp-slidesNav ul li a span {
    background-color: #fff;
}

#area_page {
    position: relative;
}
.map-layout img {
    display: block;
}
.map-label .animated-circles {
    display: flex;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    position: absolute;
}
.map-label .animated-circles a {
    color: #fff;
    position: relative;
    z-index: 99;
}
.map-label .animated-circles.animated a {
    color: #333;
}
.map-label .section1-label {
    top: 29%;
    left: 78%;
}
.map-label .section1-label .circle {
    background-color: #FCC60D;
}
.map-label .section2-label {
    top: 23%;
    left: 49%;
}
.map-label .section2-label .circle {
    background-color: #4b8744;
}
.map-label .section3-label {
    top: 62%;
    left: 68%;
}
.map-label .section3-label .circle {
    background-color: #D03D88;
}
.map-label .section4-label {
    top: 30%;
    left: 38%;
}
.map-label .section4-label .circle {
    background-color: #6A4D25;
}
.map-label .section5-label {
    top: 55%;
    left: 21%;
}
.map-label .section5-label .circle {
    background-color: #EBE51C;
}

.animated {
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animated-circles .circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    z-index: 49;
    transform: scale(0.7);
    -webkit-transform: scale(0.7);
    opacity: 0.7;
}

.animated-circles.animated .c-1 {
    animation: 3500ms scaleToggleOne cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.animated-circles.animated .c-2 {
    animation: 4500ms scaleToggleTwo cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.animated-circles.animated .c-3 {
    animation: 5000ms scaleToggleThree cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    background: #fff
}

@keyframes scaleToggleOne {
    0 {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
    50% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2)
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}

@keyframes scaleToggleTwo {
    0 {
        transform: scale(0.8);
        -webkit-transform: scale(0.8)
    }
    20% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8)
    }
    60% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2)
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1)
    }
}

@keyframes scaleToggleThree {
    0 {
        transform: scale(0.8);
        -webkit-transform: scale(0.8)
    }
    33% {
        transform: scale(0.8);
        -webkit-transform: scale(0.8)
    }
    66% {
        transform: scale(0.9);
        -webkit-transform: scale(0.9)
    }
    100% {
        transform: scale(0.5);
        -webkit-transform: scale(0.5)
    }
}

.area-diagram > img {
}

#map {
    width: 100%;
    min-height: 100vh;
}
@media (min-width: 992px) {
    #map {
        position: fixed !important;
        top: 0;
        left: 0;
        z-index: 0;
    }
}

footer {
    background-color: #252525;
    text-align: center;
}
.hotline {
    padding: 10px 0;
}
.hotline a, 
.hotline span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    white-space: nowrap;
}
.hotline .fa {
    font-size: 25px;
    color: #FECA0A;
    border-right: 1px solid #FECA0A;
    padding-right: 10px;
    margin-top: -6px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}
.floating-wrapper {
    background-color: #1687c5;
    font-size: 14px;
    padding: 20px 0;
    text-align: left;
    transition-duration: 500ms;
}
.floating-wrapper .close-floating {
    background-color: #fc0;
    color: #fff;
    font-size: 34px;
    font-family: serif;
    position: absolute;
    line-height: 25px;
    right: 0;
    top: 0;
    opacity: 1;
    width: 25px;
    z-index: 9;
    text-align: center;
    display: none;
}
.floating-wrapper .btn-block.submit-info {
    background-color: #fc0;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    margin-top: 1px;
    padding: .55rem 1rem;
}
.floating-wrapper .register-button {
    background-color: #1687c5;
    color: #fff;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 10px;
    line-height: 40px;
    position: fixed;
    top: 100%;
    opacity: 0;
    transition-duration: 500ms;
}
.floating-wrapper .register-button .fa {
    animation: shake-anim 2s infinite ease-in-out;
    color: #fc0;
    font-size: 30px;
    display: inline-block;
    vertical-align: baseline;
    margin-left: 5px;
    position: relative;
    top: -7px;
}
.copy {
    color: #5d5d5d;
    font-size: 13px;
    margin: 0;
    padding: .4rem 0;
}
@media (min-width: 768px) {
    .floating-wrapper .form-group {
        width: 24.24%;
        float: left;
        margin-right: 1%;
    }
    .floating-wrapper .form-group:last-child {
        margin-right: 0%;
    }
}
@media (min-width: 992px) {
    footer {
        background-color: rgba(0,0,0,0.5);
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
    }
    .hotline {
        float: right;
        margin-right: 10%;
    }
    .copy {
        color: #fff;
        margin: 6px auto;
    }
    .floating-wrapper {
        position: fixed;
        left: 10px;
        bottom: 0;
        width: 500px;  
        padding: 10px 0 5px;
        z-index: 10;
    }
    .floating-wrapper.hide {
        bottom: -300px;
    }
    .floating-wrapper .form-group {
        width: 48%;
        float: right;
        margin-right: 0;
    }
    .floating-wrapper .form-group:nth-child(2n) {
        float: left;
    }
    .floating-wrapper .close-floating {
        display: block;
    }
    .floating-wrapper.hide .register-button {
        opacity: 1;
        top: calc(100% - 40px);
    }
}

.wrapper-hotline {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}
#hotline-icon {
    position: relative;
    z-index: 1;
}
#hotline-icon a {
    align-items: center;
    background-color: #D7333A;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    animation: shake-anim 1s infinite ease-in-out;
    transition: all .5s;
    transform-origin: 50% 50%;
    z-index: 2;
}
#hotline-icon .hotline-fill {
    background-color: #D7333A;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    animation: explode-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    transform-origin: 50% 50%;
    opacity: .2;
}
#hotline-icon .hotline-circle {
    border: 1px solid;
    border-color: #D7333A;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -45px;
    margin-left: -45px;
    width: 90px;
    height: 90px;
    animation: explode-anim 1.2s infinite ease-in-out;
    transition: all .5s;
}
@keyframes explode-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg);
        opacity: .1;
    }

    30% {
        transform: rotate(0) scale(.7) skew(1deg);
        opacity: .5;
    }

    100% {
        transform: rotate(0) scale(1) skew(1deg);
        opacity: .1;
    }
}
@keyframes shake-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        transform: rotate(0) scale(1) skew(1deg);
    }
}

/* The content */
.the-content p,
.the-content h1,
.the-content h2,
.the-content h3,
.the-content h4,
.the-content h5,
.the-content h6,
.the-content ul,
.the-content table,
.the-content iframe {
    margin: 13px 0;
}
.the-content p {
    line-height: 22px;
    text-align: justify;
}
.the-content li {
    margin:6.5px 0 6.5px 40px;
}
.the-content ul li {
    list-style: disc ;
}
.the-content ol li {
    list-style: decimal;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
a img.alignnone {
    margin: 5px 20px 20px 0;
}
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}
.wp-caption {
    max-width: 100%;
    padding: 9px 3px;
    text-align: center;
}
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
.wp-caption p.wp-caption-text {
    font-size: 13px;
    line-height: 17px;
    margin: 7px 0 0;
    color: #555;
    font-style: italic;
    text-align: center;
}
