

.toolbar ul li {
    display: inline;
    padding-right: 15px;
}
.toolbar ul.category li a {
    border-color: #000000;
    background-color: transparent;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 100px;
    padding: 7px 25px;
    white-space: nowrap;
}
.toolbar ul.category li a.active {
    background-color: #f3aa44;
    border: 1px solid #f3aa44;
    color: #fff;
}
.toolbar ul.category li a:hover {
    border-color: transparent;
    background-color: #f3aa44;
    color: #fff;
}


.toolbar ul li button {
    cursor: pointer;
}
.toolbar ul li button:hover {
    color: #f3aa44;
}
.toolbar ul li button.active {
    background-color: #f3aa44;
}

.toolbar ul#toolbar-school li a:hover {
	color: #f3aa44;
}
.toolbar ul#toolbar-school li a.btn-on {
	color: #f3aa44;
}
.toolbar ul#toolbar-school li a.btn-on:before {
  content:"\25B6";
}
.toolbar ul#toolbar-type li a:hover {
	color: #f3aa44;
}
.toolbar ul#toolbar-type li a {
  padding: 5px 10px;
}
.toolbar ul#toolbar-type li a.btn-on {
	color: #f3aa44;
  border: 1px solid #f3aa44;
  padding: 5px 10px;
}
.toolbar ul#toolbar-type li label.btn-on:before {
  /*content:"\25B6";*/
}

select:not(.form-control) {
    display: initial;
    width: 110px;
    font-size: 16px;

}
.toolbar div#toolbar-year.form-row select#year {
    border-radius: 30px;
    background: #f3aa44;
    color: #fff;
    border: 1px solid #f3aa44;
}

#upload-preview .photos {
    margin: 0 auto;
    margin-top: 60px;
    text-align: center;
}
#upload-preview .photos .title {
    margin-bottom: 20px;
    
}
#upload-preview .photos .title h3 {
    border-bottom: 2px solid #085a03;
    max-width: 150px;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 36px;
    font-weight: 700;
    visibility: visible;-webkit-animation-delay: 0.2s; -moz-animation-delay: 0.2s; animation-delay: 0.2s;
}
#upload-preview .photos .title h3::before {
    content: "";
    width: 55px;
    height: 55px;
    position: absolute;
    top: 13px;
    left: -55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(https://city.mlcart.org/images/2022/03/09/vector-icon-leafs3.svg);
}
#upload-preview .photos .subtitle {
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}
#upload-preview .photos .preview {
    text-align: center;
}
#upload-preview .photos .preview img {
    max-width: none;
    height: auto;
    display: initial;
}
#upload-preview .photos .album {
    /*margin: 10px 0 20px 0;*/
}
#upload-preview .photos .thumb {

}
#upload-preview .photos .thumb img {
    /*margin: 8px;*/
    /*padding: 2px;*/
    /*border:2px #cc0000 solid;*/
    border-radius: 10px;
    max-width: none;
    height: auto;
    display: initial;
    max-height: 180px;
}
#upload-preview .photos .thumb img.item {
    /*float: left;*/
    /*width: 12.5%;*/
    cursor: pointer;
}
#upload-preview .introtext img {
    float: right;

}
.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
    line-height: 40px;
}
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
/* Video */
#upload-preview .videos {
    margin: 0 auto;
    margin-top: 60px;
    text-align: center;
    padding-top: 100px
}
#upload-preview .videos .title {
    margin-bottom: 20px;
    
}
#upload-preview .videos .title h3 {
    border-bottom: 2px solid #085a03;
    max-width: 150px;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0 10px 0;
    font-size: 36px;
    font-weight: 700;
    visibility: visible;-webkit-animation-delay: 0.2s; -moz-animation-delay: 0.2s; animation-delay: 0.2s;
}
#upload-preview .videos .title h3::before {
    content: "";
    width: 55px;
    height: 55px;
    position: absolute;
    top: 13px;
    left: -55px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(https://city.mlcart.org/images/2022/03/09/vector-icon-leafs3.svg);
}
#upload-preview .videos .subtitle {
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}
#upload-preview .videos .preview {
    text-align: center;
}
#upload-preview .videos .preview img {
    max-width: none;
    height: auto;
    display: initial;
}
#upload-preview .videos .thumb {

}
#upload-preview .videos .thumb img {
    margin: 8px;
    padding: 2px;
    border:2px #cc0000 solid;
    border-radius: 10px;
    max-width: none;
    height: auto;
    display: initial;
}
#upload-preview .videos .thumb img.item {
    /*float: left;*/
    width: 12.5%;
}

.school, .type {
    visibility: hidden;
}

ul li label {
    cursor: pointer;
}

/* Gallery */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

.gallery-wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1em;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  grid-gap: 1em;
}
.gallery-wrapper .image-wrapper a {
  padding: 0.5em;
  display: block;
  width: 100%;
  text-decoration: none;
  color: #333;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transition: all 200ms ease-in-out;
}
.gallery-wrapper .image-wrapper a:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
.gallery-wrapper .image-wrapper a img {
  width: 100%;
}

.gallery-lightboxes .image-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0ms ease-in-out;
}
.gallery-lightboxes .image-lightbox:target {
  opacity: 1;
  visibility: visible;
}
.gallery-lightboxes .image-lightbox:target .image-lightbox-wrapper {
  opacity: 1;
  transform: scale(1, 1) translateY(0);
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper {
  transform: scale(0.95, 0.95) translateY(-30px);
  transition: opacity 500ms ease-in-out, transform 500ms ease-in-out;
  opacity: 0;
  margin: 1em auto;
  max-width: 75%;
  padding: 0.5em;
  display: inline-block;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  position: relative;
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close {
  width: 1.5em;
  height: 1.5em;
  background: #000;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 0 0 2px white inset, 0 0 5px rgba(0, 0, 0, 0.5);
  position: absolute;
  right: -1em;
  top: -1em;
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:before {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  background: #fff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -1px 0 0 -5px;
  transform: rotate(-45deg);
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .close:after {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  background: #fff;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -1px 0 0 -5px;
  transform: rotate(45deg);
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left {
  position: absolute;
  top: 0;
  right: 50%;
  bottom: 0;
  left: 0;
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-left:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-right: 0;
  border-radius: 4px 0 0 0;
  position: absolute;
  top: 50%;
  right: 100%;
  cursor: pointer;
  transform: rotate(-45deg) translateY(-50%);
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper .arrow-right:before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0 4px 0 0;
  position: absolute;
  top: 50%;
  left: 100%;
  cursor: pointer;
  transform: rotate(45deg) translateY(-50%);
}
.gallery-lightboxes .image-lightbox .image-lightbox-wrapper img {
  margin: 0 auto;
  max-height: 70vh;
}

/* Files */
#upload-preview .files {
    margin: 0 auto;
    margin-top: 60px;
    text-align: center;
}
#upload-preview .files .title {
    margin-bottom: 20px;
    
}
#upload-preview .files .title h3 {
    border-bottom: 2px solid #085a03;
    max-width: 150px;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 36px;
    font-weight: 700;
    visibility: visible;-webkit-animation-delay: 0.2s; -moz-animation-delay: 0.2s; animation-delay: 0.2s;
}
#upload-preview .files .title h3::before {
    content: "";
    width: 55px;
    height: 55px;
    position: absolute;
    top: 13px;
    left: -22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(https://city.mlcart.org/images/2022/03/07/vector-group-icon1.svg);
}
#upload-preview .files .subtitle {
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

/* Albums */
#allalbums .album {
  margin-bottom: 50px;
}
#allalbums .album .album_subtitle {
  margin-bottom: 15px;
}

// Scroll to Top
.sp-scroll-up {
    background-color: #31a9bc;
}
.sp-scroll-up {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    /*background: #333;*/
    border-radius: 100px;
    z-index: 1000;
}
.sp-scroll-up:hover, .sp-scroll-up:active, .sp-scroll-up:focus {
    background-color: #21727f;
}
.sp-scroll-up:hover, .sp-scroll-up:active, .sp-scroll-up:focus {
	color: #fff;
}

/* 前台各校城市美學選單 */
ul#toolbar-school li a:hover {
	border-bottom: 2px solid #f3aa44;
}
ul#toolbar-type li a {
  border: 1px solid #ccc;
  border-radius: 100px;
  padding: 0px 15px;
  margin-bottom: 5px;
}
ul#toolbar-type li a:hover {
	border-bottom: 1px solid #f3aa44;
}

#loading {
  text-align: center;
}

.hide {
  display: none;
}
.show {
  display: block;
}
