.topnav{
    font-family: 'Montserrat';
    font-size: 20px;
}

.tosca{
    background-color: #166174;
}

#navbarNavDropdown a:hover, .nav-active{
    background-color: #339ab2;
  }

.header{
    color: #339ab2;  
}

.header2{
    color:#68a5b6;
}

.body{
    font-family: Montserrat;
    line-height: 2.0;
}

.footer i{
    margin: 10px 5px 10px 25px;
    font-size: 24px;
    color:rgba(255, 255, 255, 0.762);
}

.footer i:hover{
    color: #00A4BD;
}

.footer p{
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 12px;
    font-family: 'Montserrat';
}

.bg-plblack{
    background-color: rgba(0, 0, 0, 0.328);
}

.kanit{
    font-family: 'kanit', sans-serif;
}

.grey{
    background-color: rgba(133, 133, 133, 0.425);
}

.nav-item{
    margin-left: 10px;
    margin-right: 10px;
}

.centerin2{
    text-align: right;
}

.underline11{
    border-bottom: 2px solid white;
}


.column1{
    background-color: rgba(133, 133, 133, 0.616);
    height: 50px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 3px;
}

.column1_after{
    background-color: rgba(220, 220, 220, 0.723);
    border-radius: 3px;
    border: 3px solid #166174;
}

.column2{
    padding-top: 10px;
    text-align: left;
}

.afterrh{
    margin-top: -100px;
}

.beforeeh{
    margin-bottom: -100px;
}

.afterr{
    margin-top: -40px;
}

.beforee{
    margin-bottom: -20px;
}

.dummy{
    height: 600px;
}

.convert, .resetb{
    padding: 8px;
    padding-left: 15px;
    padding-right: 15px;
    border:none;
    border-radius: 30px;
    background-color: #258ca3e4;
}

.reset{
    margin-bottom: -20px;
}

.convert:hover , .resetb:hover{
    background-color: #339ab2;
}

.leftside{
    float:left;
    background-color: rgba(133, 133, 133, 0.455);
    padding-bottom: 30px;
}

.rightside{
    float: right;
    background-color: rgba(133, 133, 133, 0.455);
}

.lefttext, .righttext{
    margin-top: 10px;
    font-family: 'kanit',sans-serif;
    color: gainsboro;
    text-align: center;
}

#nav{
	border-radius: 3px;
    background-color: rgba(133, 133, 133, 0.616);
    height: 50px;
    padding-left: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}	

#nav li{
	list-style: none;
	display: block;
	text-align: center;
	height: 40px;
	position: relative;
    width:90%;
}

#nav li a{
	margin: 0px 0;
	line-height: 40px;
	height: 40px;
    color: rgba(255, 255, 255, 0.914);
    text-decoration: none;
    padding: 0 5px 0 5px;
    text-align: left;
}

.buttons a{
	margin: 0px 0;
	line-height: 40px;
	height: 40px;
    color: rgba(255, 255, 255, 0.914);
    text-decoration: none;
    padding: 10px 5px 10px 5px;
    text-align: left;
}

.mnlala2, .mnlala3{
    margin-left: 30%;
}

.languagemenu1, .languagemenu2{
    width: 96%;
    margin: 0;
}

#nav ul{
	padding: 0px;
    background-color: #222529;
    border-radius: 5px;
}

#nav li a{
	display: block;
}
#nav ul li {
	background-color:#222529;
	width:220px;
	height:39px;
    border-radius: 5px;
    padding:3px;
}

/* Sub menus */
#nav ul{
	display: none;
    visibility:hidden;
	position: absolute;
	top: 40px;
    left: 40px;
    border-radius: 5px;
}

/* Third-level menus */
#nav ul ul{
	top: 20px;
	left:150px;
	display: none;
    visibility:hidden;
	background-color: #222529;
    border-radius: 5px;
    z-index:3;
    padding: 5px;
    padding-bottom: 8px;
}

#nav ul li{
	display: block;
    visibility:visible;
}

#nav li:hover > ul{
	display: block;
    visibility:visible;
    background-color: #222529;
    border: 1px solid rgba(133, 133, 133, 0.375);
}

.centerin3{
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.buttons a:hover{
    background-color: rgba(133, 133, 133, 0.616);
}

.activ{
    border: 1px solid white;
    border-radius: 5px;
}

#nav i:not(.laa){
    float: right;
    padding-top: 10px;
    padding-bottom: 10px;
}

.menulala2 a:hover, .menulala3 a:hover, .menulala1 a:hover{
    background-color: #51bbd3ae;
}

.fliparrow{
    transition: 1.2s;
	transform-style: preserve-3d;
}

.flippp{
    transform: rotateY(180deg);
}
.fliparrow button{
    color: #dddddd92;
    margin-top: 5px;
    margin-bottom: 5px;
}

.fliparrow button:hover{
    color: #fff;
}

.arrow-button {
    display: flex;
    color: white;
    background-color: #258ca3e4;
    border-radius: 20px;
    transition: all .3s ease;
    font-weight: bold;
    cursor: pointer;
    align-items: center;
    font-size: 14px;
    padding:4px 12px 4px 12px;
    border:none;
    margin-top: 10px;
    margin-bottom: 30px;
  }
  
.arrow-button > .arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    position: relative;
    transform: rotate(-45deg);
    margin: 0 6px;
    transition: all .3s ease;
}

.arrow-button > .arrow::before {
    display: block;
    background-color: currentColor;
    width: 3px;
    transform-origin: bottom right;
    height: 2px;
    position: absolute;
    opacity: 0;
    bottom: calc(-2px / 2);
    transform: rotate(45deg);
    transition: all .3s ease;
    content: "";
    right: 0;
}

.arrow-button:hover > .arrow {
    transform: rotate(-45deg) translate(4px, 4px);
    border-color: text-hover-color;
}

.arrow-button:hover > .arrow::before {
    opacity: 1;
    width: 8px;
}

.arrow-button:hover {
    background-color: #37a6bf;
    color: #fff;
}

.downsym, .upsym, .fa-caret-right{
    margin-top: 2px;
}

@media (max-width:768px) {
    .centerin{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .centerin2{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    #nav ul ul{
        top: 40px;
        left:30px;
    }

    

    .mnlala2 ul, .mnlala3 ul{
        left: 35%;
    }
}

@media (max-width:410px){
    .mnlala2 ul, .mnlala3 ul{
        left: 28%;
    }
}

@media (max-width:992px) {
    .first_column{
        margin-bottom: 20px;
    }

    .naikk{
        z-index: 2;
    }

    .flipping i{
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .dummy{
        height: 50px;
    }

    .mnlala2, .mnlala3{
        margin-left: 40%;
    }
    #nav ul{
        left: 35%;
    }
}

@media (max-width: 320px){
    #nav ul{
        left: 4px;
    }
}

@media (max-width: 450px){
    #nav ul{
        left: 80px;
    }
}



/*searchbar desktop*/
.findIcon{
    margin-top: 12px;
}
#ico2{
    display: none;
    margin-top: 10px;
}

#findA{
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 15px;
}

#myInput2 {
    width: 180px;
    font-size: 16px;
    border: 1px solid #ddd;
}
  
#myUL {
    list-style-type: none;
    padding: 0;
    margin-left: 57%;
    position: fixed;
    overflow-y: scroll;
    max-height: 80vh;
    z-index: 3;
    font-family: Montserrat;
}

@media (min-width: 1851px){
    #myUL{
        max-height: 50vh;
    }
}

@media (max-width:1850px){
    #myUL {
        margin-left: 60%;
        max-height: 60vh;
    }
}
@media (max-width:1750px){
    #myUL {
        margin-left: 64%;
    }
} 
@media (max-width:1650px){
    #myUL {
        margin-left: 68%;
    }
} 
@media (max-width:1550px){
    #myUL {
        margin-left: 73%;
    }
} 
@media (max-width:1450px){
    #myUL {
        margin-left: 78%;
    }
} 
@media (max-width:1350px){
    #myUL {
        margin-left: 83%;
    }
} 

#myUL li a {
    border: 1px solid rgb(76, 77, 80);
    margin-top: -1px; 
    background-color: rgb(34,37,41);
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: none;
    width: 210px;
    text-align: center;
}

#myUL li a:hover:not(.header) {
    background-color: rgb(76, 77, 80); 
}


@media only screen and (max-width: 1318px) {
    #myInput2 {
        display: none;
        width: 80px;
    }
}


/*searchbar mobile*/
.input-search{
    position: fixed;
    display: none;
    left: 0px;
    top: 10px;
    width: 100%;
    background-color: #166174;
    padding: 10px;
}

.input-search .ico {
    margin-top: 10px;
    float: left;
}
.input-search input {
    width: 100%;
    border: none;
}
.input-search div {
    margin-left: 20px; 
    border: 0px;
}

#findB{
    margin-right: 70vw;
}

@media (max-width:915px) {
    #findB{
        margin-right: 50vw;
    }
}
@media (max-width:552px) {
    #findB{
        margin-right: 35vw;
    }
}
@media (max-width:425px) {
    #findB{
        margin-right: 1vw;
    }
}

#myUL2 {
    list-style-type: none;
    padding: 0;
    position: fixed;
    overflow-y: scroll;
    max-height: 60vh;
    z-index: 6;
    width: 100%;
    position: fixed;
    font-family: 'Montserrat';
}

#myUL2 li a {
    border: 1px solid rgb(76, 77, 80);
    margin-top: -1px; 
    background-color: rgb(34,37,41);
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: none;
    width: 100%;
    z-index: 7;
    text-align: center;
}

#myUL2 li a:hover:not(.header) {
    background-color: rgb(76, 77, 80); 
}

@media (max-width:1200px) {
    #findA, #ico2, #myInput2{
        display: none;
    }
}

