html{
    width: 100%;
    height: 100%;
}

body{
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

#mainBody{
    padding-top: 36px;
    /*background-image: linear-gradient(to bottom, rgba(255,255,255, 0.2) 0%,rgba(255,255,255, 0.2) 100%), url('/image/background.jpg');*/
    background: url('/image/background.jpg') top right / 52% 150px no-repeat;
    /*background-image: url('/image/background.jpg');*/
    background-size: 100% 150px; /*92%*/
    /*background-repeat: no-repeat;*/
    /* background-position: top right 0px; */
}

#secBody{
    background-image: url('/image/background2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 150px;
}

#darkMode{
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
    position: fixed;
}

#darkMode2{
    top: 0;
    width: 90%;
    height: 100%;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 0;
    position: absolute;
}

#conIndex{
    position: relative;
}

#conIndex img{
    width: 100%;
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
}

#navbarMenu{
    /* background-color: #9a0000 !important; */
    height: 50% !important;
    padding-left: 250px !important;
    /*padding-left: 300px !important;*/
    padding-top: 0px;
    padding-bottom: 0px;
}

.navbar-brand img{
    width: 150px;
}

#logo{
    z-index: 2 !important;
    position: absolute;
    top: 0;
    background-color: transparent !important;
    margin-bottom: 50px;
    margin-left: 0px;
}

.nav-link{
    color: #9a0000 !important;
    font-weight: 700;
    font-size: 20px;
}

.nav-link:hover{
    color: #000fff !important;
}

#navbarDropdownMenuLink{
    background: #4991e6 !important;
    color: #9a0000 !important;
    border-radius: 10%;
    width: 70px;
    height: 67px;
}

#navbarDropdownMenuLink:hover{
    background: white !important;
    color: #4991e6 !important;
    border: 2px solid #4991e6 !important;
}

#navbarDropdownMenuLink span{
    font-size: 14px;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: -8px;
}

#navbarDropdownMenuLink #ni{
    font-size: 28px;
    font-weight: 700;
    margin-top: 5px;
    text-align: center;
}

.dropdown-toggle::after{
    width: 10%;
    text-align: center;
    margin-top: 30%;
    margin-left: 40%;
}

.container-fluid{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#containerContent{
    padding-top: 35px;
}

#containerContent .hHeader{
    margin-top: -10px;
    padding-left: 20px;
    color: #9a0000  !important;
    /* background-color: #9a0000 !important; */
    border-top: 6px solid #9a0000  !important;
    font-size: 36px;
    font-weight: 600 !important;
}

#conWelcome .row{
    margin-right: 0px !important;
    margin-left: 0px !important;
}

#conWelcome .row .col-xl-4, #conWelcome .row .col-xl-8{
    padding-right: 0px !important;
    padding-left: 0px !important;
}

#conWelcome a{
    text-decoration: none;
    color: unset;
}

#conWelcome a:hover{
    color: #000fff;
}

.carousel-inner .item{
    padding-left: 13%;
}

#conWelcome #myCarousel .carousel-inner .item img{
    display: unset !important;
    max-width: 28% !important;
}

.conHead{
    /* color: white;
    background-color: #000fff !important; */
    /* height: 700px; */
    padding-top: 50px;
    /* padding-left: 0px;
    padding-right: 50px; */
}

.conHead p{
    font-size: 24px;
    text-align: justify;
}

#conWelcome .row div img{
    width: 100%;
}

#conAbout h2{
    color: #000fff !important;
    font-weight: 600 !important;
}

#conAbout p{
    font-weight: 500 !important;
    text-align: justify;
}

#conAbout .row .col-xl-4 img{
    width: 70% !important;
    margin-bottom: 5%;
    border-radius: 1%;
}
#conAbout .row, #conService .row{
    margin: 0 !important;
}

#conService{
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
}

#conService .row .col-xl-4 img{
    width: 50% !important;
    text-align: center;
}

.textservice{
    /* background-color: #000fff !important; */
    font-weight: 600 !important;
    color: #000fff !important;
    margin-top: 30px;
    margin-bottom: 30px;
    /* padding-left: 120px; */
    /* padding-right: 120px; */
    text-align: left;
}

#txtSerFooter{
    background-color: unset !important;
    color: unset !important;
}

#conService p{
    font-weight: 500 !important;
    /* background-color: #000fff !important; */
    /* color: white !important; */
    margin-bottom: 0px;
    text-align: justify;
}

#conProducts h3{
    color: #000fff !important;
    font-weight: 700 !important;
    margin-top: 50px;
    margin-bottom: 20px;
}

#conProducts h4{
    font-size: 20px;
    font-weight: 600 !important;
}

#conProducts h5{
    color: #9a0000 !important;
    font-weight: 500 !important;
    margin-bottom: 20px;
    font-size: 22px;
}

#conProducts p{
    color: #9a0000 !important;
    font-weight: 500 !important;
    margin-bottom: 20px;
}

#conProducts a{
    text-decoration: none;
    color: unset;
}

#conProducts a:hover{
    color: #000fff;
}

#conProducts img{
    width: 5%;
}

#conNews h5{
    font-weight: 700 !important;
    margin-bottom: 10px;
}

#conNews .news{
    margin-top: 50px;
    text-align: justify;
}

#conContact{
    margin-bottom: 20px;
}

#conContact .container .row{
    font-weight: normal;
    padding: 0;
}

#btnComment{
    height: 200px;
}

#conEmail span{
    color: red;
}

#conCertification .row{
    margin-top: 50px;
    text-align: justify;
}

#conCertification .col-xl-4{
    text-align: center;
}

#conCertification .col-xl-8{
    text-align: justify;
}

#conCertification img{
    height: auto;
    max-width: 100%;
    vertical-align: top;
}

footer{
    background-color: #000fff;
    color: white;
    margin-top: 15%;
    padding-left: 20px;
    padding-right: 20px;
}

/* index */
#perTable .container{
    width: 50%;
}

.periodic-icons>div{
    margin:10px 0px;
}

.short-name{
    font-size:40px;
    font-weight: 700;
    color:#4991e6;
    font-family: 'Lato', sans-serif; 
}

.iconButton{
    background-color: #4991e6 !important;
    color: white !important;
    cursor: pointer;
}

.homeButton{
    z-index: 2;
}

.homeButton a:hover{
    text-decoration: none;
}

.iconName, .icon-number, .icon-short-name, .icon-atomic-mass{
    color: white !important;
}

.periodic-element{
    background: rgba(255,255,255);
    /* border: 6px solid linear-gradient(to right, #000fff 0%, #000fff 50%, #9a0000 50%, #9a0000 100%); */
	border-radius:8px;
    box-shadow: 5px 5px 4px rgba(0, 0, 0, 0.2); 
    padding: 1px 0px;
    width: 120%;
}

.iconButton:hover{
    background: white !important;
    color:#4991e6 !important;
}

.periodic-element h1{
    color: #4991e6;
    font-size: 24px;
    font-weight: 700;
}

.periodic-element h5{
    color: #4991e6;
    font-size: 12px;
    font-weight: 600;
}

.iconButton:hover h1,
.iconButton:hover h5{
   color:#4991e6 !important;
   font-weight: 700;
}

.atomic-number {
  /* position: absolute; */
  /* top: 10px;
  left: 30px; */
  font-size: 14px;
  color: #4991e6;
}

/* Corousel Start */
.carousel-indicators{
    bottom: -15% !important;
}

.carousel-indicators li{
    border: 2px solid #9a0000 !important;
}
.carousel-indicators li.active{
    background-color: #9a0000 !important;
}

.glyphicon-chevron-right:before{
    color: #9a0000;
}

.carousel-control.right{
    background-image: unset;
}

.glyphicon-chevron-left:before{
    color: #9a0000;
}

.carousel-control.left{
    background-image: unset;
}

/* Corousel End */



@media (max-width: 576px) { 
    #mainBody{
        padding-top: 0px !important;
        background-image: unset;
    }

    #darkMode2{
        width: 85%;
    }

    .periodic-element{
        width: 100% !important;
    }

    #navbarMenu{
        padding-left: 1rem !important;
        margin-bottom: 0px !important;
    }

    .carousel-indicators{
        bottom: -30% !important;
    }

    #logo{
        position: relative;
        top: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        background-color: white !important;
    }

    .navbar-nav{
        padding-left: 15px;
    }

    .navbar-brand img{
        width: 130px;
    }

    .carousel-inner .item{
        padding-left: 20%;
    }

    #containerContent{
        padding-top: 0px;
    }

    #containerContent .hHeader{
        margin-top: 0px;
        background-color: white !important;
        color: rgb(154 0 0) !important;
    }

    #navbarMenu{
        padding-top: 10% !important;
        background-color: white !important;
    }

    .nav-link{
        color: rgb(154 0 0) !important;
    }

    .conHead{
        height: auto;
    }

    .conHead p{
        font-size: 24px;
    }

    #conService .row .d-flex{
        display: unset !important;
    }

    .textservice{
        padding-left: unset;
        padding-right: unset;
    }

    footer{
        text-align: center;
    }

    footer .align-items-end{
        align-items: unset !important;
    }
}

@media (max-width: 1024px) {
    #temp1{
        display: none;
    }

    #temp2{
        margin-top: 30%;
        width: 50%;
    }

    .navbar-collapse{
        -webkit-box-shadow: 0px;
        box-shadow: none;
    }

    .navbar-brand{
        margin-top: -5%;
        margin-left: -5%;
    }

    .navbar-brand img{
        width: 120px;
    }

    .navbar-light .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(154 0 0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
        font-size: 30px;
    }

    .navbar-light .navbar-toggler{
        border-color: rgb(154 0 0);
        margin-top: 5%;
        margin-left: 30%;
    }

    #navbarNavDropdown .navbar-nav .nav-item{
        width: 100%;
        padding-top: 5px;
        padding-bottom: 5px;
        border-bottom: 1px solid white;
    }
    
    #perTable .container{
        width: 100%;
    }

    .periodic-element{
        width: 100% !important;
    }

    #darkMode2{
        width: 85%;
    }

    .dropdown-item{
        color: rgb(154 0 0);
        border-bottom: 1px solid white;
    }

    #diLast{
        border-bottom: none;
    }

    #conWelcome #myCarousel .carousel-inner .item img{
        max-width: 70% !important;
    }

    .carousel-indicators{
        bottom: -10% !important;
    }

    #conService .row .col-xl-4 img{
        width: 20% !important;
        text-align: center;
    }

    #conService .row .d-flex{
        display: unset !important;
    }
}