/* nav css */
/* vietnamese */

/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o58i-wi40.woff2) format('woff2');
  
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkP8o58a-wg.woff2) format('woff2');
 
}
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkM0o58m-wi40.woff2) format('woff2');

}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkM0o58i-wi40.woff2) format('woff2');
 
}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkM0o58a-wg.woff2) format('woff2');
  
}
/* vietnamese */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkBgv58m-wi40.woff2) format('woff2');
  
}
/* latin-ext */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkBgv58i-wi40.woff2) format('woff2');

}
/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url(https://fonts.gstatic.com/s/quicksand/v21/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkBgv58a-wg.woff2) format('woff2');

}
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
    font-size: 62.5%;
    font-size: 10px;
    /*background-color: lightseagreen;*/
}
/*-- Inspiration taken from abdo steif -->
/* --> https://codepen.io/abdosteif/pen/bRoyMb?editors=1100*/

/* Navbar section */

.nav {
    width: 100%;
    height: 65px;
    position: fixed;
    line-height: 65px;
    text-align: center;
    z-index: 500;
}

.nav div.logo {
    float: left;
    width: auto;
    height: auto;
    padding-left: 3rem;
}

.nav div.logo a {
    text-decoration: none;
    color: #fff;
    font-size: 2.5rem;
}

.nav div.logo a:hover {
    color: lightseagreen;
}

.nav div.main_list {
    height: 65px;
    float: right;
}

.nav div.main_list ul {
    width: 100%;
    height: 65px;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav div.main_list ul li {
    width: auto;
    height: 65px;
    padding: 0;
    padding-right: 3rem;
}

.nav div.main_list ul li a {
    text-decoration: none;
    color: #fff;
    line-height: 65px;
    font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
    color: lightseagreen;
}


/* Home section */

.home {
    width: 100%;
    height: 100vh;
    background-position: center top;
    /*background-size:cover;*/
    background-size: 100% auto;
    background-repeat: no-repeat;
    /*background-color: lightseagreen;*/
    background-attachment: fixed;
} 

body {
    background-position: center top;
    /*background-size:cover;*/
    background-size: cover;
    background-repeat: no-repeat;
    /*background-color: lightseagreen;*/
    background-attachment: fixed;
}

.bgwidth { background-size: 100% auto; }
.bgheight { background-size: auto 100%; }


.navTrigger {
    display: none;
}

.nav {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.hcaption {
    visibility: hidden;
    font-size: 0px;
    padding-left: 0px;
    vertical-align: bottom;
}

/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .container {
        margin-right: 0;
    }
}

@media screen and (max-width:600px) {
    .home {
        background-size: auto 100%;
    }
}
@media screen and (max-width:768px) {
   
    
    
    .navTrigger {
        display: block;
    }
    .nav div.logo {
        margin-left: 15px;
        margin-right: 15px;
    }
    .nav div.main_list {
        width: 100%;
        height: 0;
        overflow: hidden;
    }
    .nav div.show_list {
        height: auto;
        display: none;
    }
    .nav div.main_list ul {
        flex-direction: column;
        width: 100%;
        height: 50vh;
        right: 0;
        left: 0;
        bottom: 0;
        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .navlogindiv {
        flex-direction: column;
        width: 50%;
        height: 20vh;

        top: 0;
        right: 0;
        left: 0;
        bottom: 0;

        background-color: #111;
        /*same background color of navbar*/
        background-position: center top;
    }
    
    #un {
        margin-left:12px;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 2rem;
        width: 200px;
    }
    
    #up {

        margin-left:12px;
        font-size: 2rem;
        width: 200px;
    }
    
    #loginbtn {
       padding-left: 0px;
       margin-left:0px;
       font-size: 3rem; 
       align: center;
    }
    
    .nav div.main_list ul li {
        margin-left: 50px;
        width: 100%;
        text-align: left;
    }
    .nav div.main_list ul li a {
        text-align: left;
        width: 100%;
        font-size: 3rem;
        padding: 20px;
    }
    .nav div.main_list ul li .inputdiv {
        text-align: left;
        width: 100%;
        /*font-size: 3rem;*/
        padding-left: 20px;
    }
    .hcaption {
     visibility: visible;
     font-size: 18px;
     padding-left: 7px;
    }
}

/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
    cursor: pointer;
    width: 30px;
    height: 25px;
    margin: 0;
    margin-left: 5px;
    position: relative;
    top: -17px;
    bottom: 0;
}

.navTrigger i {
    background-color: #fff;
    border-radius: 2px;
    content: '';
    display: block;
    width: 100%;
    height: 4px;
}

.navTrigger i:nth-child(1) {
    -webkit-animation: outT 0.8s backwards;
    animation: outT 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
    margin: 5px 0;
    -webkit-animation: outM 0.8s backwards;
    animation: outM 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
    -webkit-animation: outBtm 0.8s backwards;
    animation: outBtm 0.8s backwards;
    -webkit-animation-direction: reverse;
    animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
    -webkit-animation: inT 0.8s forwards;
    animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
    -webkit-animation: inM 0.8s forwards;
    animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
    -webkit-animation: inBtm 0.8s forwards;
    animation: inBtm 0.8s forwards;
}

@-webkit-keyframes inM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes inM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes outM {
    50% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(45deg);
    }
}

@keyframes outM {
    50% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(45deg);
    }
}

@-webkit-keyframes inT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes inT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes outT {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(9px) rotate(135deg);
    }
}

@keyframes outT {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(9px) rotate(0deg);
    }
    100% {
        transform: translateY(9px) rotate(135deg);
    }
}

@-webkit-keyframes inBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes inBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

@-webkit-keyframes outBtm {
    0% {
        -webkit-transform: translateY(0px) rotate(0deg);
    }
    50% {
        -webkit-transform: translateY(-9px) rotate(0deg);
    }
    100% {
        -webkit-transform: translateY(-9px) rotate(135deg);
    }
}

@keyframes outBtm {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-9px) rotate(0deg);
    }
    100% {
        transform: translateY(-9px) rotate(135deg);
    }
}

.affix {
    padding: 0;
    background-color: #111;
}

.myH2 {
	text-align:center;
	font-size: 4rem;
        color: white;
}
.myP {
	text-align: justify;
	padding-left:15%;
	padding-right:15%;
	font-size: 20px;
}
@media all and (max-width:700px){
	.myP {
		padding:2%;
	}
}

/* search field */

li .search-textbox{
    text-align: left;
    width:100px;
    background: transparent;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    margin-top: 0px;
    position: static;
    

}


input[type=text]:focus {
  
  outline: none;
}

.invNav {
    padding-top: 40px;
    padding-bottom: 20px;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.affix2 {
    padding: 0;
}

.invNav {
    padding-top: 40px;
    padding-bottom: 20px;
    background: rgba(0, 0, 0, 0);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    
}

.homerow {   
}
.homecol { 
}
.homeboxctr {
}

p.title {
    color: white;
    text-align: center;
}

.iconcontrol {
vertical-align: text-bottom;
margin-top: 23px;
}
.nav div.media_button {
    display: block;
}


/* login area*/

#login-dp{
    /*max-width: 500px;
    
    max-width: 5em;*/
    min-width: 250px;
    min-height: 245px;
    margin-right: 20px;
    margin-left: 20px;
    padding-top: 14px;
    padding-left: 14px;
    padding-right: 14px;
    text-align: center;
    /*padding: 14px 14px 0;*/
    overflow:hidden;
    background-color:rgba(255,255,255,.8);
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

#login-dp h4{
    margin: 10px;
    font-size: 10px;
}


@media (max-width: 768px){
    #login-dp{
        max-width: 95%;
        background-color: inherit;
        color: #fff;
        min-height: 122px;
        padding: 10px;
        align-self: stretch;
        margin-left: 0px;
        margin-right:30px;
    }
    #login-dp .bottom{
        background-color: inherit;
        border-top:0 none;
    }
    
}

.ssi {
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.ssilabel {
    vertical-align: super;
}

h1 {
    color: #efefef;
    font-size: 2.4rem;
    
}

.plannerlink{
    color: black;
    margin: 0px;
    padding: 0px;
}

a:hover.plannerlink {
    color: lightseagreen;
    text-decoration: none;
}

.plannerlinkwht{
    color: #efefef;
    margin: 0px;
    padding: 0px;
}

a:hover.plannerlinkwht {
    color: lightseagreen;
    text-decoration: none;
}