/*menu fix*/
.home_menu{
    position: fixed;
    z-index: 70;
    background: transparent;
    width: 100%;
    left: 0;
    top: 0;
}

/* logo */
.main_menu .navbar-brand {
    filter: brightness(0) invert(1);
}

/* menu */
.main_menu .navbar-toggler span {
    color: #ffffff;
}
.main_menu .main-menu-item ul li .nav-link{
    color: #ffffff;
    font-weight: 400;
}
.main_menu .main-menu-item ul li .nav-link:hover{
    color: #ffffff;
    font-weight: 600;
}

.dropdown-menu {
    background-color: transparent;
    
}

.offcanvas-header { display:none; }

/* Section 0
 * --------------------------------------- */
#section0{
    background-image: url(../img/home/1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#section0 .intro{
    text-align: center;
    margin-top: 100px; 
}
#section0 .intro img{
    width: 120px;
    vertical-align: middle;
    display: inline-block;
    height: auto;   
    max-width: 100%;    
    border: none;    
    -webkit-border-radius: 0;    
    border-radius: 0;    
    -webkit-box-shadow: none; box-shadow: none;
    margin-bottom:10px;
}

#section0 h1 {
    color: #00356C;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2em;
    letter-spacing: 1px;
    text-shadow: 3px 2px 6px #ffffff;
}

#section0 h2 {
    margin: 140px 0px 45px 0px;
    color: #11C1AC;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3em;
}
/*nav whole*/
#fp-nav ul li a span, .fp-slidesNav ul li a span {
    background: transparent;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #FFFFFF;
}


/*button whole*/
.pagelink{
    text-align: right;
    margin-top: 50px;
    margin-right: 80px;
}

.button-content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.button-icon svg {
    width: 34px;
    height: 20px;
}
.button-text {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-ordinal-group: 11;
    -ms-flex-order: 10;
    order: 10;
    display: inline-block;
}
/* Section 1
 * --------------------------------------- */
#section1{
    background-image: url(../img/home/2-1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* slide fade start*/
#slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeInOut 7s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }  
  100% {
    opacity: 0;
  }
}
/* slide fade end */

#section1 .intro{
    text-align: center;
    position: absolute;
    top: 40%;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 1050px;
}
#section1 .intro img{
    width: 120px;
    vertical-align: middle;
    display: inline-block;
    height: auto;   
    max-width: 100%;    
    border: none;    
    -webkit-border-radius: 0;    
    border-radius: 0;    
    -webkit-box-shadow: none; box-shadow: none;
    margin-bottom:10px;
}

#section1 h1 {
    color: #ffffff;
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2em;
    letter-spacing: 1px;
    text-shadow: #002849 0.1rem 0.1rem 0.2rem;
}

#section1 h2 {
    margin: 140px 0px 45px 0px;
    color: #11C1AC;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3em;
}



/* Section 6
 * --------------------------------------- */
#section6 .container{
    height:240px; /* syzygit 2024 raw:360px */
}

/* Mobile Nav  2024 syzygit
 * --------------------------------------- */
@media (max-width: 991px) {

.offcanvas-header { display:block; height: 80px;}
.navbar-collapse {
    position: fixed;
    top:0; 
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #00356C;
    transition: visibility .2s ease-in-out, -webkit-transform .2s ease-in-out;
  }
.navbar-collapse.show {
    visibility: visible;
    transform: translateX(-100%);
  }

.main_menu .main-menu-item .nav-item {
    width: 100%;
    text-align: center;
}
.main_menu .main-menu-item ul li .nav-link {
    font-size: 1.5rem;
    line-height: 2;
}

}


@media (max-width: 1600px) and (orientation: landscape) {
#section1 .about-us .rightbg .content {margin: 80px 50px 20px 50px;}
}

@media (max-width: 1200px) and (orientation: portrait) {
#section1 .about-us .rightbg .content {margin: 180px 50px 20px 50px;}
#section1 .intro{width: 800px;    top: 45%;}
#section1 h1 {font-size: 3rem;}
}

@media (max-width: 1139px) and (orientation: landscape) {
#section0 .intro img{width:100px;}
#section0 .intro{margin-top:60px;}
#section0 h1{font-size:34px;}
#section0 h2{font-size:28px;margin-top:50px;}
    

#section1 .intro{width: 800px;    top: 45%;}
#section1 h1 {font-size: 3rem;}


.pagelink {margin-right: 100px;margin-top: 30px;}
.button-icon svg {height: 16px;}
}

@media (min-width: 767px) and (max-width: 1199px) and (orientation: portrait) {
#section0 .intro img{width:100px;}
#section0 .intro{margin-top:50px;}
#section0 h1{font-size:30px;}
#section0 h2{font-size:22px;margin-top:50px;}

#section1 .about-us .rightbg .content {margin: 50px 50px 20px 50px;}


#section1 .pagelink .button-link{width: 180px;font-size: 14px;padding: 8px 0px 6px 0px;}
#section1 .button-icon{font-size:13px;}

.pagelink {margin-top: 10px;}
}

@media (max-width: 768px) and (orientation: portrait){
    #section0{height:500px !important;}
    #section0 .fp-tableCell{_height:500px !important;}
    #section0 .intro img{width:50px;}
    #section0 .intro{margin-top:70px;}
    #section0 h1{font-size:20px;}
    #section0 h2{font-size:19px;margin-top:50px;}

    #section1 .intro{width: 100%;    top: 40%;}
    #section1 h1 {font-size: 1.8rem;}
    


    #section6 {_padding-bottom: 170px;}
    
    .pagelink {text-align: left;  margin: 30px 0 30px 20px;}
    .button-icon svg {height: 16px;}
}



