@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,700');


html, body {
    padding-top: 19px; //避免 navbar overlap
    height: 100%;
    width: 100%;
    font-family:  'Poppins', 'sans-serif';
    color: #222;
}

hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/*--- img full size inplace fit --*/
img {
    max-width: 100%;
    max-height: 100%;
}

ul.nav {
    white-space: nowrap;
    overflow-x: auto;
}



/*--- .xxx 表示 class --*/
.home-img{
    max-height:638px;
}
.tab-p{
    margin-left: 40px;
}

.nav-logo {
    position: relative ;
    top: -5px;
    height: 40px;
    width: 40px;
}
.navbar {
    white-space: nowrap;
    overflow-x: auto;
    min-height: 12px !important;
    padding-top: 0px;
    padding-bottom: 0px;
}
.nav-link , .navbar-brand{
    white-space: nowrap;
    overflow-x: auto;
    display: inline-block;
    float: none;
    height: 12 !important;
    padding-top: 6px !important;
    padding-bottom: 0px !important;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
	&.active {
    background:#4FA9DC; color:#000;
    }
}
.article-title{
    color: #222;
}
.mybtn{
    color: black;
}
.dark-link{
    color: black;
    text-decoration: underline;

}
.footer {
font-size: 13px;
} 
.footer-copyright{
    background-color:  #435464;
    height: 30%;
    padding: 0px 0px;
    min-height: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    margin: 0;

}



/*--- .display_tree --*/
.active, .collapsible:hover {
	background-color: lightsteelblue;
}

.collapsible {
	background-color: #5f788a;
	color: white;
	cursor: pointer;
	padding: 8px;
	height:50%;
	width: 100%;
	border: none;
	text-align: left;
	outline: none;
	font-size: 12px;
}


.content {
	padding: 0 18px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}




/*---Media Queries --*/
@media (max-width: 992px) {
img {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
    object-fit: contain;

}

  }
@media (max-width: 768px) {
img {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
    object-fit: contain;

}
  
}
@media (max-width: 576px) {
img {
    max-width: 100%;
    max-height: 100%;
}
  
}


/*---Firefox Bug Fix --*/
.carousel-item {
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/*--- Fixed Background Image --*/
figure {
  position: relative;
  width: 100%;
  height: 60%;
  margin: 0!important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#fixed {
  background-image: url('img/mac.png');
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
}
/*--- Bootstrap Padding Fix --*/
[class*="col-"] {
    padding: 1rem;
}





/*
Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }
*/








