﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    /*position: relative;*/
   /* height: 100vw;*/
}


#mobile-menu {
    display: none;
    overflow: hidden;
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 113vw;
    z-index: 5
}

    #mobile-menu a {
        display: block;
        background-color: black;
        width: 100%;
        text-align: center;
        padding: 20px;
        color: white;
        text-decoration: none;
    }



/*about us page*/
#abuotus-content, #tnc-content {
    margin-left: 20vw;
    margin-right: 20vw;
}


/*ticker*/
.ticker-container {
    font-family: 'Montserrat-MediumItalic'; 
    white-space: nowrap;
    overflow: hidden;
    /*position: absolute;
    top: 0;
    left: 0;*/
    width: 100%;
    background-color: #508c74;
    color: #fff;
    padding: 5px;
}

.ticker-content {
    display: inline-block;
    /* Push the content off-screen */
    animation: marquee 5s linear infinite; /* Adjust the duration as needed */
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}



h1, h2, p {
    padding: 0 5%;
}

/*START OF CSS PART RELATED TO HEADER WITH SLOGAN*/

#header_with_slogan {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 20px;
    position: relative;
    height: 500px;
}

    #header_with_slogan #menu {
        display: block;
    }

        #header_with_slogan #menu a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
            font-family: 'Montserrat-Bold'
        }

    #header_with_slogan .bar1{
        width: 35px;
        height: 5px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }
    #header_with_slogan .bar2{
        width: 35px;
        height: 5px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }

    #header_with_slogan .bar3{
        width: 35px;
        height: 5px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
    }




#slogan {
    text-align: center;
    position: relative;
    top: 24%;
    font-family: Montserrat-Bold;
}

img.logo {
    max-width: 100%;
    height: auto;
    display: inline;
    margin: 0 auto;
    width: 70px;
}

.hamburger-menu-container {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 7px;
}

#header_with_slogan .bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}


#intro {
    margin-left: 21vw;
    margin-right: 19vw;
    margin-top: 4vw;
    font-family: 'Montserrat-Medium';
}

#mobile-logo {
    display: none;
}


/*fORM AND INSIDE FORM*/
form {
    margin-left: 20vw;
    margin-right: 20vw;
    font-size: 14px;
}



.form-control-ext {
    font-size: 14px;
    border-radius: 0;
}

input::placeholder {
    font-family: Montserrat-MediumItalic
}

input {
    font-family: Montserrat-Medium;
    border-radius: 0;
    margin: 1vw;
}

#suggestion-list {
    list-style-type: none;
    padding: 0;
    position: absolute;
    border: 1px solid #ccc;
    background-color: #fff;
    width: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: none;
}

    #suggestion-list li {
        padding: 10px;
        cursor: pointer;
    }

        #suggestion-list li:hover {
            background-color: #f4f4f4;
        }


.quesetion-section {
    margin-left: 12px;
}

    .quesetion-section .question {
        display: inline;
        font-family: Montserrat-Medium;
    }

        .quesetion-section .question p {
            display: inline-block
        }

/*END fORM AND INSIDE FORM*/





/*END OF CSS PART RELATED TO HEADER WITH SLOGAN*/

/*------------------------------------------------------*/

/*FOOTER*/


footer {
    background-color: #fafafa;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

#footer-table {
    margin: auto;
}

td {
    padding-left: 1vw;
    padding-right: 1vw;
}

#footer-table-mobile {
    display: none;
}

footer a {
    color: black;
    text-decoration: none;
}

#footer-table a {
    font-family: Montserrat-Medium;
}
/*END FOOTER*/
@font-face {
    font-family: 'Montserrat-Bold'; /* Give your font a name */
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype'); /* Provide the path to your .ttf file */
}

@font-face {
    font-family: 'Montserrat-Medium'; /* Give your font a name */
    src: url('/fonts/Montserrat-Medium.ttf') format('truetype'); /* Provide the path to your .ttf file */
}


@font-face {
    font-family: 'Montserrat-MediumItalic'; /* Give your font a name */
    src: url('/fonts/Montserrat-MediumItalic.ttf') format('truetype'); /* Provide the path to your .ttf file */
}






/*additional selectors found in other file*/



#header_without_slogan {
    text-align: center;
    background-color: white;
    color: black;
    padding: 20px;
    position: relative;
    height: 150px;
}

    #header_without_slogan #menu {
        /* display: inline-block;
        text-align: center;*/
        position: relative;
    }

        #header_without_slogan #menu a {
            color: black;
            text-decoration: none;
            margin: 0 10px;
            font-family: 'Montserrat-Bold';
            font-size: 14px;
        }

#header_without_slogan .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: gray;
        margin: 6px 0;
        transition: 0.4s;
    }

#title_label {
    margin: 1vw;
    font-family: 'Montserrat-Bold',sans-serif;
    margin-bottom: 0;
    font-size: 14px;
}

.checkbox_label {
    font-family: Montserrat-Medium;
}


.submit-button {
    margin-right: -12px;
    font-size: 12px;
    width: 100px;
    border-radius: 0;
}

.graphic_icons {
    height: 20px;
    width: 20px;
    display: inline;
}

#product-page-searchbox {
    text-align: center;
    margin-bottom: 30px;
    margin-left: 20vw;
    margin-right: 20vw;
}

#txtSearch {
    width: 70%;
    margin: 0;
    font-size: 14px;
    padding: 4px;
}

#btnSearch {
    width: 22%;
    margin: 0;
    font-size: 14px
}


#productTable {
    border-collapse: collapse;
    width: 100%;
    margin: auto;
    font-size: 14px;
    white-space: nowrap;
}

    #productTable td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid gray;
        border-top-width: 0;
        border-left-width: 0;
        border-right-width: 0;
    }

    #productTable th {
        text-align: left;
        padding-left: 8px;
    }

#productTable th:nth-child(1),
#productTable th:nth-child(2),
#productTable td:nth-child(1),
#productTable td:nth-child(2) {
    position: sticky;
    left: 0;
    background-color: white;
    z-index: 1;
    width: 150px; /* Adjust the width as needed */
}

        #productTable th:nth-child(1),
        #productTable td:nth-child(1)
        {
            position: sticky;
            left: 0;
            background-color: white;
            z-index: 1;
            width:50px; /* Adjust the width as needed */
        }


#productTable th:nth-child(3),
#productTable th:nth-child(4),
#productTable th:nth-child(5),
#productTable th:nth-child(6),
#productTable td:nth-child(3),
#productTable td:nth-child(4),
#productTable td:nth-child(5),
#productTable td:nth-child(6) {
    width: 200px; /* Adjust the width as needed */
}
    

.just-placeholder {
    height: 100px;
}



#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 600px) {

    .quesetion-section .question {
        display: block;
    }


    .hamburger-menu-container {
        display: inline-block;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 7px;
    }


    #header_with_slogan #menu a, #header_with_slogan #menu label {
        display: none;
    }

    h1 {
        margin: 0;
    }

    #header_with_slogan {
        text-align: center;
        background-color: #333;
        color: #fff;
        padding: 20px;
        position: relative;
        height: 80vw;
        min-height: 300px;
    }

    #intro {
        margin-left: 5vw;
        margin-right: 5vw;
        margin-top: 4vw;
        font-family: 'Montserrat-Medium';
        padding-left:0;
        padding-right:0;
    }

    form {
        margin-left: 5vw;
        margin-right: 5vw;
        font-size: 14px;
    }

    #header_without_slogan #menu a, #header_without_slogan #menu label {
        display: none;
    }

    #mobile-logo {
        display: block;
    }

    #footer-table {
        display: none
    }

    #footer-table-mobile {
        display: inline;
    }

    #footer-table-mobile a {  /*මෙහෙම කරාම children ලට විතරද apply වෙන්නේ decendants ලට නැද්ද*/

        font-family: Montserrat-Medium;
    }

    footer {
        position: static;
        /* bottom:0;*/
    }

   /* .just-placeholder {
        height: 200px;
    }*/

    td {
        padding-top:10px;
        padding-bottom: 10px;
    }

 /*   .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: gray;
        margin: 6px 0;
        transition: 0.4s;
    }*/

    #product-page-searchbox {
        text-align: center;
        margin-bottom: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    #txtSearch {
        width: 90%;
        margin: 0;
        font-size: 14px;
        padding: 4px;
    }

    #btnSearch {
        width: 90%;
        margin: 0;
        font-size: 14px;
        margin-top: 5px;
    }

    #abuotus-content, #tnc-content {
        margin-left: 5vw;
        margin-right: 5vw;
        font-size: 14px;
    }

}
