/* *{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
 */
 
 

.button {
	border: none;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	margin: 4px 2px;
} 
 
	
ol li{
	margin-left: 5%;
	color: #000;
}

/* CSS-based line break (equivalent to <br>) */
.br {
height: 1em;
}

.br2x {
height: 2em;
}
.br3x {
height: 3em;
}
.br4x {
height: 4em;
}

p.a{
	text-indent: 2em;
	text-align: justify;
	margin: 2%;
}

.prevent-select {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

details{
	overflow: hidden;
}

details p{
	text-align:justify;
	padding: 1.5rem;
	color: #000;
}
	
summary{
	margin: 2%;
	padding-left: 1.5rem;
	padding-right: 0.5rem;
	background-color:#2c17b1;
	color:#fff;
	border-radius:6px;
	font-size: 1.4em;
	font-weight: 500;
	font-style: bold;
	cursor: pointer;
	user-select: none;
}	
	
ul{
    list-style: none;
}

a{
    text-decoration: none;
}

header{
    position: sticky;
    top: 0px;
    background-color: #fff;
    width: 100%;
    height: 6rem;
    z-index: 1000;
}

.header-container{
    max-width: 65rem;
    height:6rem;
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.logo-container{
    flex: 1;
    display: flex;    
}

div .logo-container{
    max-width: 120px;
    align-items: center;
}

.hiddenMob
{
    visibility:visible;
}

.nav-links{
    flex: 2;
}

.nav-btn{
    flex: 3;
    display: flex;
    padding-right: 1.0rem;
}



.log-sign{
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.logo{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 3rem;
}

.logo span{
    font-weight: 300;
}

.btn{
    display: inline-block;
    padding: .5rem 1.3rem;
    padding-top: 20px;
    font-size: .8rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    line-height: 1;
    margin: 0 .2rem;
    transition: .3s;
    text-transform: uppercase;
}

.btn.solid, .btn.transparent:hover{
    background-color: #fff;
    color: #69bde7;
}

.btn.transparent, .btn.solid:hover{
    background-color: transparent;
    color: #fff;
}

.nav-links > ul{
    display: flex;
    padding-top: 20px;
    /* padding-right: 5px !important; */
    /* padding-left: 5px !important; */
    justify-content: center;
    align-items: center;
	gap: 14px;
}

.nav-links > ul > li > a{
    padding-right: 5px !important;
    padding-left: 5px !important;
    text-transform: uppercase;
}

.nav-link{
    position: relative;
}

.nav-link > a{
    line-height: 3rem;
    color: #000;
    padding: 0 .8rem;
    letter-spacing: 1px;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.nav-link > a > i{
    margin-left: .2rem;
}

.nav-link:hover > a {
	color:#2c17b1;
    background: transparent;
	font-weight: 500;
}

.nav-link:hover, .nav-link:active
{
	color:#2c17b1;
    background: transparent;
    border-radius: 4px;
    box-shadow: 0 4px 0 0 #FFAA00;
    transform: scale(1.1);
}

.nav-link.current {
	color:#2c17b1;
    background: transparent;
    border-radius: 4px;
	font-weight: 500;
    box-shadow: 0 4px 0 0 #FFAA00;
    transform: scale(1.1);
}


.dropdown{
    position: absolute;
    top: 100%;
    left: 0;
    width: 13rem;
    transform: translateY(10px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.dropdown ul{
    position: relative;
    padding-top:.7rem;
    padding-left: .5rem;
}

.dropdown.second ul{
    padding-top: 0px;
    padding-left:0.0rem;
}

.dropdown-link > a{
    display: flex;
    background-color: #fff;
    color:#36454F;
    padding: .5rem 1rem;
    font-size: .9rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown-link:hover > a{
    background-color: #2c17b1;
    color: #fff;
}

.dropdown.second.current, .dropdown-link.current{
	color:#2c17b1;
    background: transparent;
    border-radius: 4px;
	font-weight: 500;
    box-shadow: 0 4px 0 0 #FFAA00;
    transform: scale(1.1);
}

.dropdown-link:not(:nth-last-child(2)){
    border-bottom: 1px solid #efefef;
}

.dropdown-link i{
    transform: rotate(-90deg);
}

.arrow{
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #fff;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow{
    background-color: #3498db;
}

.dropdown-link{
    position: relative;
}





.dropdown.second{
    top: 0;
    left: 100%;
    /* padding-left: .8rem; */
    padding-left: .1rem;
    cursor: pointer;
    transform: translateX(10px);
}

.dropdown.second .arrow{
    top: 10px;
    left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown{
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container{
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu{
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu div{
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #36454F;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after{
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #36454F;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before{
    transform: translateY(-7px);
}

.hamburger-menu div:after{
    transform: translateY(7px);
}

#check{
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div{
    background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before{
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after{
    transform: translateY(0) rotate(45deg);
}

.astaalogo
{
  max-width:100px;
  max-height:auto;
  padding-top: 0.2rem;
  justify-content: center;
  align-items: center;
}

.coatofarmslogo_MY
{
  max-width:60px;
  max-height:90px;
  padding-top:15px;
  margin:0px 10px 0px 10px;
}    

.coatofarmslogo_SG
{
  max-width:80px;
  max-height:60px;
  padding-top:15px;
  margin:0px 0px 0px 5px;
}  

@keyframes animation{
    from{
        opacity: 0;
        transform: translateY(15px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

@media only screen and (max-width: 920px){
    .hamburger-menu-container{
        display: flex;
    }

    #check{
        display: block;
    }

    .nav-btn{
        position: fixed;
        height: calc(100vh - 3rem);
        top: 6rem;
        left: 0;
        width: 100%;
        
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
    }

    #check:checked ~ .nav-btn{
        transform: translateX(0);
    }

    #check:checked ~ .nav-btn .nav-link,
    #check:checked ~ .nav-btn .log-sign{
        animation: animation .5s ease forwards var(--i);
    }

    .nav-links{
        flex: initial;
        width: 100%;
    }

    .nav-links > ul{
        flex-direction: column;
        padding-top: 1px;
        background-color: #E5E4E2;
    }

    .nav-links > ul > li > a{
        line-height: 1;
        padding-left: 0.2rem;
		padding-right: 0.2rem;
    }

    .astaalogo
    {
        max-width:80px;
        max-height:auto;
        padding-top:0.2rem;
    }

    .nav-link{
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }

    .nav-link > a{
        line-height: 1;
        padding: 1.6rem 2rem;
    }

    .nav-link:hover > a{
        transform: scale(1);
        background-color: #FFAA00;
        border-radius: 4px 4px 4px 4px;
        color:#36454F;
        text-decoration: none;
        box-shadow: 0 0 0 0 transparent;
    }

    .dropdown, .dropdown.second{
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #efefef;
        display: none;
    }

    .dropdown ul{
        position: relative;
        padding-top:1px;
    }
    
    .nav-link:hover > .dropdown,
    .dropdown-link:hover > .dropdown{
        display: block;
    }

    .nav-link:hover > a > i,
    .dropdown-link:hover > a > i{
        transform: rotate(360deg);
    }

    .dropdown-link > a{
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .dropdown.second .dropdown-link > a{
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .dropdown.second .dropdown.second .dropdown-link > a{
        padding: 1.2rem 2rem 1.2rem 4rem;
    }

    .dropdown-link:not(:nth-last-child(2)){
        border-bottom: none;
    }

    .dropdown-link > a{
        color:#36454F;
    }

    .dropdown-link:hover > a{
        background-color: #2c17b1;
        color: #fff;
        border-radius: 4px 4px 4px 4px;
    }

    .dropdown.second:hover > a{
        background-color: #FFAA00;
        color: #fff;
        border-radius: 4px 4px 4px 4px;
    }

    .arrow{
        z-index: 1;
        background-color: #69bde7;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav-link:hover .arrow{
        background-color: #50a9d6;
    }

    .dropdown .dropdown .arrow{
        display: none;
    }

    .dropdown-link:first-child:hover ~ .arrow{
        background-color: #50a9d6;
    }

    .nav-link > a > i{
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }

    .dropdown i{
        font-size: 1rem;
        transition: .7s;
    }

    .log-sign{
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }
	
	.hiddenMob
    {
        visibility: hidden;
    }

    
}

li.fit {
	font-size: 16px;
}

@media only screen and (max-width: 810px) {
	/* ipad 10.2 Portrait mode */
	li.fit {
		font-size: 14px;
	}
	
	.aspect {
	width: 100%;
	background-size: contain;
	aspect-ratio: 1/1;
	object-fit: contain;
	background-position: center;
}
	
	summary {
		font-size: 1.2em;
	}
	
	.nav-links > ul {
		width: 100vw;
		gap: 10px;
		z-index: 3;
		overflow-x: hidden;
	}
	
	.nav-links > ul > li > a{
        line-height: 1;
        padding-left: 0.2rem;
		padding-right: 0.2rem;
    }
	
	/* .dropdown-link {
  display: none;
  position: absolute;
}

.dropdown:focus-within .dropdown-link {
  display: block;
} */
}

@media only screen and (max-width: 600px) {
	/* Phones */
	li.fit {
		font-size: 12px;
	}
	
	summary {
		font-size: 1.1em;
	}
	
	.nav-links > ul {
		width: 100vw;
		padding-left: 10px;
		gap: 4px;
		z-index: 3;
		overflow-x: hidden;
	}
	
	.nav-links > ul > li > a{
        line-height: 1;
        padding-left: 0.2rem;
		padding-right: 0.2rem;
    }
	
	/* .dropdown-link {
  display: none;
  position: absolute;
}

.dropdown:focus-within .dropdown-link {
  display: block;
} */
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 480px)
{
    .hiddenMob
    {
        visibility: hidden;
    }

    .astaalogo
    {
        max-width:80px;
        max-height:auto;
        padding-top:0.2rem;
    }
	
	.nav-links > ul {
		width: 100vw;
		gap: 8px;
		z-index: 3;
		overflow-x: hidden;
	}
	
	.nav-links > ul > li > a{
        line-height: 1;
        padding-left: 0.2rem;
		padding-right: 0.2rem;
    }
	
	/* .dropdown-link {
  display: none;
  position: absolute;
}

.dropdown:focus-within .dropdown-link {
  display: block;
} */


}