html{
	font-family: 'Fira Sans', 'Noto Sans TC', 'Noto Sans SC', 'Open Sans', 'Microsoft JhengHei', sans-serif;
	font-size: 14px;
}
body {
	font-family: 'Fira Sans', 'Noto Sans TC', 'Noto Sans SC', 'Open Sans', 'Microsoft JhengHei', sans-serif;
	font-weight: 400;
	/* color: #666; */
	color: rgba(0, 0, 0, 0.95);
	font-size: 14px;
	/*line-height: 20px;*/
	line-height: 1.3;
	width: 100%;
	background-color:#f4f5f7;
}
h1, h2, h3, h4, h5, h6 {
	color: #333;
	line-height: 1.33;
	opacity: 0.95;
}
/* default font size */
.fa {
	font-size: 14px;
}
/* Override the bootstrap defaults */
h1 {
	font-size: 33px;
}
h2 {
	font-size: 30px;
}
h3 {
	font-size: 21px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 12px;
}
h6 {
	font-size: 10.2px;
}
a {
	/* color: #23a1d1; */
	color:#26ced1;
}
a:hover {
	text-decoration: none;
}
legend {
	font-size: 18px;
	padding: 7px 0px
}
label {
	font-size: 12px;
	font-weight: normal;
}
select.form-control, textarea.form-control, input[type="text"].form-control, input[type="password"].form-control, input[type="datetime"].form-control, input[type="datetime-local"].form-control, input[type="date"].form-control, input[type="month"].form-control, input[type="time"].form-control, input[type="week"].form-control, input[type="number"].form-control, input[type="email"].form-control, input[type="url"].form-control, input[type="search"].form-control, input[type="tel"].form-control, input[type="color"].form-control {
	font-size: 12px;
}
.input-group input, .input-group select, .input-group .dropdown-menu, .input-group .popover {
	font-size: 12px;
}
.input-group .input-group-addon {
	font-size: 12px;
	height: 30px;
}
/* Fix some bootstrap issues */
span.hidden-xs, span.hidden-sm, span.hidden-md, span.hidden-lg {
	display: inline;
}

.nav-tabs {
	margin-bottom: 15px;
}
div.required .control-label:before {
	content: '* ';
	color: #F00;
	font-weight: bold;
}
/* Gradent to all drop down menus */
.dropdown-menu li > a:hover {
	text-decoration: none;
	color: #ffffff;
	background-color: #26ced1;
	/* background-color: #229ac8;
	background-image: linear-gradient(to bottom, #23a1d1, #1f90bb); */
	background-repeat: repeat-x;
}
/* top */
#top {
	background-color: #EEEEEE;
	border-bottom: 1px solid #e2e2e2;
	padding: 4px 0px 3px 0;
	margin: 0;
	min-height: 40px;
}
#top-links{
    text-align:right;
	display: flex;
    align-items: center;
    justify-content: flex-end;
}
#top .container {
	padding: 0 20px;
}
#top #form-language {
    display: inline-block;
    padding: 0 18px 0 18px;
}
#top #form-language button {
    background-color: transparent;
    border:none;
    padding:0;
    margin:0;
}
#top #form-currency .currency-select,
#top #form-language .language-select {
	text-align: left;
}
#top #form-currency .currency-select:hover,
#top #form-language .language-select:hover {
	text-shadow: none;
	color: #ffffff;
	background-color: #26ced1;
	/* background-color: #229ac8; */
	/* background-image: linear-gradient(to bottom, #23a1d1, #1f90bb); */
	background-repeat: repeat-x;
}
#top .btn-link, #top-links li, #top-links a {
	color: #4a4a4a;
    font-weight: 500;
}
#top .btn-link:hover, #top-links a:hover {
	color: #444;
}
#top-links .dropdown-menu a {
	text-shadow: none;
}
#top-links .dropdown-menu a:hover {
	color: #FFF;
}
#top .btn-link strong {
	font-size: 14px;
        line-height: 14px;
}
#top-links {
	padding-top: 0px;
    padding-right: 0px;
}
#top-links a + a {
	margin-left: 15px;
}
#top-links > ul {
	display: inline-block;
	border-right: 1px solid #4a4a4a;
	margin-bottom: 0px;
	padding: 0px 18px;
}
#top .row {
	display: flex;
	flex-direction: row;
    align-items: center;
}
#top .keyword-select-dropdown {
	height: 30px;
    padding: 7px 15px;
    border-right: 1px solid #4c4c4c;
}
#top .keyword-select-dropdown select {
	width: 140px;
	background-color: transparent;
	border: none;
	color: #4c4c4c;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Some browsers will not display the caret when using calc, so we put the fallback first */ 
    background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat 98.5% !important; /* !important used for overriding all other customisations */
    background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100% - 10px) !important; /* Better placement regardless of input width */
}
#top .keyword-select-dropdown select:focus {
	outline: none;
}
#top .langugae-switcher  {
	margin-bottom: 0px;
}
header {
	background-color: #26ced1;
    color:#fff;
    margin-bottom: 8px;
}
header .container div + div {
    margin-left: 2px;
}
.header-row {
	position: relative;
    background-color: #fff;
    display:flex;
	 flex-direction: row;
    justify-content: start;
    align-items: normal;
}
.header-row #logo img {
    margin-left: 0px;
}

#common-home h2.mod-featured-title,
#common-home h2.mod-featured_author-title {
	padding-left: 10px;
}
@media (min-width: 320px) and (max-width: 1200px) {
    #top .container {
        width: 100%;
        max-width: 1200px;
    }
    header .container {
        width: 100%;
        max-width: 1200px;
        padding: 0px;
    }
    .header-row #logo img {
        margin-left: 20px;
    }
    #top #form-language {
        padding: 0 0 0 18px;
    }
    #common-home.container {
        width: 100%;
        max-width: 1200px;
    }
    #common-home.container .swiper-viewport {
        width: 100%;
        margin: 0;
		}
}
@media (min-width: 768px) and (max-width: 1200px) {
	h2.mod-featured-title, h2.mod-featured_author-title {
        margin-top: 65px;
        margin-bottom: 45px;
    }
	#common-home div.html-module {
        margin-top: 60px;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
	h2.mod-featured-title, h2.mod-featured_author-title {
        margin-top: 28px;
        margin-bottom: 22px;
    }
	#common-home div.html-module {
        margin-top: 30px;
    }
}
div.mobile-header {
	padding: 0px;
	background-color: #26ced1;
	
}
div.mobile-header .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#mobile-logo {
	padding: 8px 0px;
	width: 78%;
}
#mobile-search-menu-wrapper {
	display: flex;
    justify-content: flex-end;
	padding: 0px;
}
#mobile-search, #mobile-menu {
	text-align: center;
    height: 51px;
	width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mobile-search.collapsed, #mobile-menu.collapsed {
	background-color: #f4f5f7;
}
#mobile-logo img {
	height: 35px;
}
#mobile-search img , #mobile-menu img {
	height: 15px;
	max-width: unset;
}
@media (max-width: 767px) {
    header {
        margin-bottom: 0px;
    }
	header .container div + div {
		margin-left: 0px;
	}
}
/* logo */
#logo {
    padding-top: 8px;
    padding-bottom: 8px;
    background-color: #26ced1;
    flex:1;
    min-height:82px;
}
.header-wishlist{
    background-color: #26ced1;
    width: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
#wishlist-total{
    color:#fff;
    display:block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    width:100%;
}
.header-cart {
    background-color: #ff8b5c;
    width: 205px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
@media (max-width: 992px) {
	header > .container {
		padding-left: 0px;
		padding-right: 0px;
	}
	.header-wishlist {
		width: 33%;
		padding: 9px 0px;
	}
	.header-cart {
		width: 99%;
	}
}
/* search */
#search {
	margin-bottom: 0px;
	display: flex;
}
#search input[type=image] {
	/* float: left; */
	display: inline-block;
}
#search input[type=text] {
	background-color: transparent;
	border: none;
	box-shadow: none;
	font-size: 15px;
	/* color: #bbbbbb; */
	display: inline-block;
}
#search .input-group-btn {
	display: none;
}
#search .input-lg {
	height: 40px;
	line-height: 20px;
	padding: 0 10px;
}
#search .btn-lg {
	font-size: 15px;
	line-height: 18px;
	padding: 10px 35px;
	text-shadow: 0 1px 0 #FFF;
}
#mobile-search-panel {
	display: none;
}
#mobile-search-panel.opened {
	display: block;
}
#mobile-search-panel .row { 
	display: flex;
	padding: 6px 0px;
}
#mobile-search-panel .keyword-select-dropdown {
	height: 35px;
	padding: 10px 15px;
	border-right: 1px solid #4A4A4A;
}
#mobile-search-panel .keyword-select-dropdown select {
	font-size: 14px;
	font-weight: 500;
	width: 140px;
	background-color: transparent;
	border: none;
	color: #4c4c4c;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Some browsers will not display the caret when using calc, so we put the fallback first */ 
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat 98.5% !important; /* !important used for overriding all other customisations */
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100% - 10px) !important; /* Better placement regardless of input width */
}
#mobile-search-panel .keyword-select-dropdown select:focus {
	outline: none;
}
@media (max-width: 767px) { 
	
	#search .input-lg {
		height: 35px;
	}
	#search input[type=image] {
		display: none;
	}
}
/* mobile menu */
#mobile-menu-wrapper {
	position: fixed;
    z-index: 999;
    background: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    left: -999px;
	transition: all .5s;
       overflow: scroll;
}
#mobile-menu-wrapper.active {
	left: 0;
}
#mobile-menu-wrapper .container-fluid {
	padding-left: 0px;
	padding-right: 0px;
}
#mobile-menu-wrapper .top-panel {
	background-color: #f4f5f7;
	padding: 12px 12px 12px 22px;
}
#mobile-menu-wrapper .top-panel li {
	margin-right: 30px;
	padding: 0px;
}
#mobile-menu-wrapper .top-panel img {
	min-height: 16px;
}
#mobile-menu-wrapper .top-panel ul, .functional-panel ul {
	margin-bottom: 0px;
}
#mobile-menu-wrapper .top-panel ul li#mobile-menu-close {
	margin-right: 0px;
	float: right;
}
#mobile-menu-wrapper #mobile-nav ul li.dropdown.open .dropdown-menu .dropdown-inner > ul > li {
	border-top: 0px;
}
#mobile-menu-wrapper #mobile-nav ul li.dropdown.open .dropdown-menu .dropdown-inner .menu3rdlevel ul li {
	border-top: 0px;
    margin-top: 10px;
	margin-bottom: 10px;
}
#mobile-menu-wrapper #mobile-nav ul li.dropdown.open .dropdown-menu .dropdown-inner .menu3rdlevel ul li a {
	padding-left: 45px;
    font-size: 14px;
}
.functional-panel {
	width: 100%;
    background: #26ced1;
}
.functional-panel ul li{
	color: white;
    width: 24%;
    padding: 7px 22px;
    text-align: center;
	border-right: 1px solid white;
}
.functional-panel ul li:last-child {
	border-right: 0px;
}
#mobile-nav ul {
	margin: 0px;
	width: 100%;
}
#mobile-nav ul li {
	float: none;
}
#mobile-nav ul li:not(:first-child) {
	border-top: 2px solid #d5d5d5;
}
#mobile-nav ul li a {
	color: #5c5c5c;
	font-size: 17px;
	font-weight: 500;
	padding: 17px;
}
#mobile-nav ul li a.highlight {
    color: #ff8b5c;
} 
#mobile-nav ul li a:hover {
	background-color: transparent;
}
#mobile-nav ul  li.dropdown a:after {
	content: '';
    border: solid #262626;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    position: absolute;
    right: 19px;
    top: 19px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    -ms-transition: -ms-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}
#mobile-nav ul  li.dropdown.open {
	border-top: none;
}
#mobile-nav ul  li.dropdown.open ~ li {
	border-top: none;
}
#mobile-nav ul  li.dropdown.open a {
	background-color: #26ced1;
	color: white;
	padding-bottom: 4px;
}
#mobile-nav ul  li.dropdown.open a:after {
	top: 25px;
	transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
	border-color: #fff;
}
#mobile-nav ul  li.dropdown.open .dropdown-menu {
	background-color: #26ced1;
	display: flex;
	flex-direction: column;
	border-radius: 0px;
	width: 100%;
    border: none;
	box-shadow: none;
}
#mobile-nav ul  li.dropdown.open .dropdown-menu > a {
	padding:5px 0px 5px 30px;
	font-size: 15px;
}
#mobile-nav ul  li.dropdown.open .dropdown-menu .dropdown-inner {
	padding:0px 0px;
}
#mobile-nav ul  li.dropdown.open .dropdown-menu .dropdown-inner li {
	margin-bottom: 9px;
}
#mobile-nav ul  li.dropdown.open .dropdown-menu .dropdown-inner a {
	padding:0px 0px 0px 30px;
	font-size: 15px;
}
/* cart */
#cart {
    padding-left: 8px;
    padding-right: 8px;
    flex:1;
    position:relative;
}
#cart > a {
    color: #fff;
    display: inline-block;
    width:100%;
    text-align:center;
}
#cart > .btn {
	font-size: 12px;
	line-height: 18px;
	color: #FFF;
}
#cart.open > .btn {
	background-image: none;
	background-color: #FFFFFF;
	border: 1px solid #E6E6E6;
	color: #666;
	box-shadow: none;
	text-shadow: none;
}
#cart.open > .btn:hover {
	color: #444;
}
#cart .dropdown-menu {
    color: #111;
	background: #eee;
	z-index: 1001;
}
#cart .dropdown-menu {
	min-width: 100%;
}
@media (max-width: 478px) {
	#cart {
		position: static;
	}
	#cart .dropdown-menu {
		width: 100%;
		margin-top: 0px;
	}
}
#cart .dropdown-menu table {
	margin-bottom: 10px;
}
#cart .dropdown-menu li > div {
	min-width: 427px;
	padding: 0 10px;
}
@media (max-width: 478px) {
	#cart .dropdown-menu li > div {
		min-width: 100%;
	}
}
#cart .dropdown-menu li p {
	margin: 20px 0;
}
/* menu */
#head-menu-wrapper {
    padding:0;
    margin:-8px 0px 0px 0px;
    background-color: #fff;
}
#menu {
	border: 0px;
	margin-bottom: 0px;
}
#menu .nav > li > a {
	color: #4a4a4a;
	font-size: 1.1428rem;
	background-color: transparent;
	opacity:0.9;
	font-weight: 500;
	min-height: 20px;
}
#menu .nav > li > a.highlight {
    color: #ff8b5c;
} 
#menu .nav > li > a:hover, #menu .nav > li.open > a {
	background-color: rgba(0, 0, 0, 0.1);
    color: #26ced1;
}

#menu .nav.navbar-nav > li > a:hover{
  padding-bottom: 7px;
  border-bottom: 8px solid #26ced1;
  background-color: transparent;
}

#menu .dropdown-menu {
	padding-bottom: 0;
	background-color: #26ced1;
	border:none;
	border-radius: 0;
}
#menu .dropdown-inner {
	display: table;
}
#menu .dropdown-inner ul {
	display: table-cell;
}
#menu .dropdown-inner a {
	font-size: 15px;
	min-width: 160px;
	display: block;
	padding: 3px 20px;
	clear: both;
	line-height: 20px;
	/* color: #333333; */
	color: #FFFFFF;
}
#menu .dropdown-inner li a:hover {
	background-color: #4a4a4a;
	color: #FFFFFF;
}
#menu .see-all {
	display: block;
	margin-top: 0.5em;
	border-top: 1px solid #DDD;
	padding: 3px 20px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 3px 3px;
	font-size: 12px;
}
#menu .see-all:hover, #menu .see-all:focus {
	text-decoration: none;
	color: #ffffff;
	background-color: #26ced1;
	/* background-color: #229ac8; */
	/* background-image: linear-gradient(to bottom, #23a1d1, #1f90bb); */
	background-repeat: repeat-x;
}
#menu #category {
	float: left;
	padding-left: 15px;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
#menu .btn-navbar {
	font-size: 15px;
	font-stretch: expanded;
	color: #FFF;
	padding: 2px 18px;
	float: right;
	background-color: #26ced1;
	/* background-color: #229ac8; */
	/* background-image: linear-gradient(to bottom, #23a1d1, #1f90bb); */
	background-repeat: repeat-x;
	/* border-color: #1f90bb #1f90bb #145e7a; */
}
#menu .btn-navbar:hover, #menu .btn-navbar:focus, #menu .btn-navbar:active, #menu .btn-navbar.disabled, #menu .btn-navbar[disabled] {
	color: #ffffff;
	background-color: #229ac8;
}
@media (min-width: 1440px) {
    .navbar-nav {
        margin: 0px 45px;
    }
}
@media (min-width: 769px) {
	#menu .dropdown:hover .dropdown-menu {
		display: block;
	}
     .navbar-nav {
        width: 100%;
        margin: 0px auto;
        float: none;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
    }
}
@media (max-width: 767px) {
	#menu {
		border-radius: 4px;
	}
	#menu div.dropdown-inner > ul.list-unstyled {
		display: block;
	}
	#menu div.dropdown-menu {
		margin-left: 0 !important;
		padding-bottom: 10px;
		background-color: rgba(0, 0, 0, 0.1);
	}
	#menu .dropdown-inner {
		display: block;
	}
	#menu .dropdown-inner a {
		width: 100%;
		color: #fff;
	}
	#menu .dropdown-menu a:hover,
	#menu .dropdown-menu ul li a:hover {
		background: rgba(0, 0, 0, 0.1);
	}
	#menu .see-all {
		margin-top: 0;
		border: none;
		border-radius: 0;
		color: #fff;
	}
    #common-home #content {
        padding-left: 0px;
        padding-right: 0px;
		padding-bottom: 0px;
    }
    #common-home #content .swiper-viewport {
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
    }
}
/* content */
.back-btn-wrap{
	padding: 8px 0px;
	margin: 0px -15px;
}
a.back-btn,
a.back-btn:hover{
	color: rgba(0, 0, 0, 0.95);
	font-weight: 500;
	font-size:14px;
	line-height: 20px;
	margin: 8px 0px;
	text-transform: uppercase;
}
.back-btn:before {
	content: '';
    border: solid #262626;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    vertical-align: baseline;
    margin: 0 3px 0px 20px;
    transform: rotate(-225deg);
    -webkit-transform: rotate(-225deg);
    margin-bottom: 2px;
}
#content {
	min-height: 600px;
	padding-bottom: 60px;
}
#content .content-heading{
	margin-top: 28px;
	padding-left: 10px;
}
.product-content-wrapper {
	background-color: #f4f5f7;
	padding-top: 64px;
}
#product-product #content .nav-tabs {
	width: 150px;
	display: flex;
	flex-direction: column;
	/* float: left; */
	border-bottom: 0px;
}
#product-product #content .nav-tabs li {
	border: 1px solid #4a4a4a; 
	margin-bottom: 7px;
}
#product-product #content .nav-tabs li.active {
	border: 1px solid #26ced1; 
	background-color: #26ced1;
}
#product-product #content .nav-tabs li a {
	border: none;
	color: #4a4a4a;
	font-size: 15px;
	font-weight: normal;
	padding: 8px 12px;
}
#product-product #content .nav-tabs li.active a {
	color: white;
	background-color: transparent;
	font-weight: bold;
}
#product-product #content .tab-content {
	/* 
	width: calc(100% - 155px);
	display: inline-block; 
	*/
	flex: 1;
	vertical-align: top;
	padding: 0px 49px;
	font-size: 15px;
	line-height: 1.47;
}
#product-product .product-tabs{
	display: flex;
}
#product-product .tab-content .tab-pane {
	min-height: 250px;
}
#information-information #content.narrow-content {
	margin: 0 auto;
	max-width: 700px;
	float: none;
}
#information-information #content h1 {
	font-size: 28px;
	text-align: center;
	font-weight: 600;
	margin-top: 48px;
}
.content-header-divider {
	width: 49px;
	height: 5px;
	background-color: #26ced1;
	margin: 25px auto;
}
.box-content.information-info {
	height: 400px;
	overflow: hidden;
	position: relative;
	transition: all .5s;
}
.box-content.information-info.collapsed {
	height: 100%;
}
.box-content.information-info:not(.collapsed):after {
	content: '';
	width: 100%;
	height: 50px;
	background-image: linear-gradient(to bottom, rgba(238, 238, 238, 0), #f4f5f7);
	position: absolute;
	top: 355px;
}
.show-more {
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	margin-top: 35px;
	margin-bottom: 35px;
}
.show-more a {
	position: relative;
}
.show-more a:hover, .show-more a:focus {
	color: #ff8b5c;
}
.show-more a:after {
	content: '';
    border: solid #26ced1;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3.5px;
    position: absolute;
    right: -25px;
    top: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    -ms-transition: -ms-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}
.show-more a:hover:after {
	border-color: #ff8b5c;
}
.prduct-related_products .row {
	background: linear-gradient(#fff, #fff 8%, #f4f5f7 8%, #f4f5f7);
    margin-left: 0px;
    margin-right: 0px;
}
.prduct-related_products .product-thumb .image img {
	min-width: 177px;
}
.prduct-related_products .product-thumb .caption {
	text-align: center;
	margin-top: 17px;
} 
@media(max-width: 767px){
	#product-product .tab-content .tab-pane {
		min-height: 0px;
	}
	.prduct-related_products .product-thumb .image img {
		min-width: auto;
	}
}
/* Author */
#product-author h1 {
	margin-top: 53px;
	font-size: 28px;
}
#product-author #content,#product-author-info #content  {
	padding-bottom: 57px;
}
.author-list-panel {
	display: flex;
    align-items: center;
	flex-wrap: wrap;
}
#author-search-form {
	margin-bottom: 24px;
}
#author-search-form span, #author-search-form input[name='filter'] {
	background: transparent;
    border: none;
	box-shadow: none;
	font-size: 15px;
	color: #333;
}
#author-search-form span button[type=submit] {
	height: 40px;
	background-color: #333;
	border-color: #333;
	background-image: none;
}
#author-search-form span button[type=submit] .arrow {
	content: '';
	border: solid #fff;
	border-width: 0 1.5px 1.5px 0;
	display: inline-block;
	padding: 4.5px;
	vertical-align: baseline;
	transform: rotate(315deg);
	margin: 0 3px 0px 0px;
	margin-bottom: 0px;
	transition: 500ms;
}
#author-search-form .fa-search {
	color: #333;
}
#author-search-form input[name='filter'] {
	padding-top: 11px;
	padding-left: 0px;
	min-width: 300px;
	vertical-align: middle;
}
#author-search-form .input-group {
	border: 1px solid rgb(0,0,0);
	line-height: 39px;
}
#product-author a ~ h3 {
	background-color: white;
    margin-top: 0px;
    border-top: 3px solid #26ced1;
    padding: 15px 0px;
    text-align: center;
    font-size: 16px;
}
#product-author .listing-item {
	margin-bottom: 24px;
}
#product-author .listing-item img {
	width: 100%;
}
#product-author-info .back-btn-wrap {
	margin-top: 48px;
}
.author-info {
	height: 260px;
	padding: 0px 15px;
	margin-top: 12px;
}
.author-info .col-sm-3, .author-info .col-sm-9 {
	padding: 14px;
	background: white;
	height: inherit;
	height: -webkit-fill-available;
}
.author-info .col-sm-9 {
	padding-left: 0px;
}
.author-info .img-thumbnail {
	border: none;
	width: 230px;
}
.author-info .col-sm-9 h2 {
	margin-top: 13px;
	font-size: 20px;
	font-weight: 600;
	color: rgba(0,0,0,0.95);
}
.author-info .col-sm-9 p {
	font-size: 15px;
	line-height: 22px;
	color: rgba(0,0,0,0.95);
}
#product-author-info #content > h2 {
	font-size: 28px;
	font-weight: 600;
	text-align: center;
	color: rgba(0,0,0,0.95);
}
@media (max-width: 767px) {
	#product-author h1 {
		margin-top: 25px;
		font-size: 20px;
	}
	#product-author a ~ h3 {
		position: relative;
	}
	#author-search-form input[name='filter'] {
		padding-left: 0px;
		min-width: 100px;
	}
	.author-list-panel {
		margin-bottom: 24px;
	}
	.author-list-panel .col-md-9 {
		margin-bottom: 20px;
	}
	.author-info .col-sm-9 {
		padding: 14px;
	}
	.author-info .col-sm-9 h2 {
		margin-top: 0px;
	}
	.author-info {
		height: auto;
	}
	.author-info .col-sm-3, .author-info .col-sm-9 {
		height: 100%;
		text-align: center;
	}
	#product-author-info .back-btn-row {
		margin-top: 20px;
	}
	#product-author-info #content > h2 {
		font-size: 20px;
	}
}
/* resource */
#information-resource h1 {
	margin-top: 50px;
	margin-bottom: 30px;
	font-size: 28px;
}
#information-resource h3 {
	font-size: 18px;
}
#information-resource ul {
	padding-left: 30px; 
}

#resource-form, #registration-form {
	width: 100%;
	margin-bottom: 100px;
}
#resource-form fieldset,
#registration-form fieldset {
	width: 80%;
}
#resource-form .form-group,
#registration-form .form-group{
	margin: 18px 0px;
}
#resource-form label,
#registration-form label {
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 3px;
}
#resource-form input, #resource-form textarea ,
#registration-form input, #registration-form textarea {
	background: transparent;
    border: 1px solid;
    border-radius: 0px;
}
#remarksHelp {
	font-size: 13px;
	color: rgba(0,0,0,0.95);
}
#resource-form .align-left,
#registration-form .align-left {
	padding-left: 0px;
}
#resource-form fieldset legend,
#registration-form fieldset legend {
	font-size: 28px;
	font-weight: 600;
	border-bottom: 13px;
}
#registration-form fieldset legend:before {
	content: '';
	background-image: url('/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/registration-registration-form.svg');
	width: 32px;
	height: 26px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: -4px;
}
#resource-form fieldset legend:before {
	content: '';
	background-image: url('/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/resource_book.svg');
	width: 32px;
	height: 26px;
	display: inline-block;
	margin-right: 10px;
	margin-bottom: -4px;
}
#resource-form fieldset:first-child legend:before {
	background-image: url('/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/resource_contact.svg');
}
#resource-form hr,
#registration-form hr {
	border: 1px dashed #333;
}
.border-separator {
	border-top: 1px solid #333;
	margin: 30px 0px;
}
#resource-form .reset-btn,
#registration-form .reset-btn {
	color: white;
	background-color: #4a4a4a;
	width: 133px;
	margin-right: 30px;
}
#resource-form .submit-btn,
#registration-form .submit-btn{
	color: white;
	background-color: #26ced1;
	width: 133px;
}
#registration-form .checkbox-label{
	margin-top: 2px;
	margin-bottom: 8px;
	font-weight: 400;
	cursor: pointer;
}
#registration-form .checkbox-label input[type="checkbox"]{
	margin: 0px 8px 0px 0px;
	vertical-align: middle;
}
.submission-guidelines {
	margin-top: 19px;
}
#information-information h4 {
	font-size: 18px;
}
#information-information h1 + h4, .press.catalogue {
	margin-top: 19px;
}
@media (max-width: 991px) {
	#resource-form fieldset,
	#registration-form fieldset {
		width: 100%;
	}
	
	#registration-form fieldset div.form-group.col-sm-6:nth-child(2n+1),
	#registration-form fieldset div.form-group.col-sm-4:nth-child(3n+1),
	#registration-form fieldset div.form-group.col-sm-6:nth-child(4n+1),
	#resource-form fieldset div.form-group.col-sm-6:nth-child(2n+1),
	#resource-form fieldset div.form-group.col-sm-4:nth-child(3n+1),
	#resource-form fieldset div.form-group.col-sm-6:nth-child(4n+1) {
		clear: none !important;
	}
}
@media (max-width: 767px) {
	#registration-form .align-left,
	#resource-form .align-left {
		padding-left: 15px;
	}
	#registration-form fieldset div.form-group,
	#resource-form fieldset div.form-group {
		width: 100%;
		
	}
}

/* event */
#information-event h1 {
	margin-top: 53px;
	font-size: 28px;
}
#information-event .content-header-divider {
	display: none;
}
.event-menu {
	border-bottom: 1px solid #333;
	padding-bottom: 2px;
	margin-top: 5px;
	margin-bottom: 15px;
}
.event-menu a {
	font-size: 14px;
	color: #333;
	margin-right: 30px;
}
.event-menu a.active {
	color: #26ced1;
	font-weight: bold;
	border-bottom: 5px solid #26ced1;
}
/* footer */
footer {
	margin-top: 0px;
	padding-top: 30px;
	background-color: #26ced1;
	border-top: 1px solid #ddd;
	color: #fff;
}
footer .container {
    width: 100%;
    max-width: 1200px;
    padding: 0px 20px;
}
footer hr {
	border-top: none;
	border-bottom: 1px solid #666;
}
footer a {
	color: #fff;
}
footer a:hover {
	color: #fff;
}
footer .footer-column p {
    font-size: 15px;
}
footer h5 {
	font-family: 'Fira Sans', 'Noto Sans TC', 'Noto Sans SC', 'Open Sans', 'Microsoft JhengHei', sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #fff;
}
footer .copyrights{
	padding-top: 8px;
	padding-bottom: 12px;
	font-size: 14px;
	font-weight: 500;
}
footer .footer-link{
	padding-top: 8px;
	padding-bottom: 12px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.14;
	text-align: center;
    padding-left: 7px;
    padding-right: 7px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
footer .email-link{
    text-decoration: underline;
}
footer .mc-field-group {
    display: flex;
}
footer .footer-column input[type=email] {
    border:none;
    border-radius: 0px;
    height: 40px;
    font-size: 14px;
}
footer input[type=image] {
    background-color: #ff8b5c;
    padding: 13px;
}
.copyrights {
    margin-bottom: 0px;
}
@media (max-width: 1024px) {
	footer .copyrights{
		margin-top: 12px;
	}
	footer .footer-link{
		text-align: left;
	}
}
@media (max-width: 769px) {
	footer .footer-column {
		border-bottom: 1px solid white;
		padding-bottom: 20px;
	}
	footer .footer-column p {
		font-size: 14px;
	}
	footer .footer-column:not(:first-child){
		padding-top: 20px;
	}
	.footer-bottom {
		flex-direction: column;
		padding-top: 16px;
	}
	.footer-menu {
		width: 100%;
		max-width: 100%;
	}
	.footer-menu > .row {
		margin: 0px;
	}
	footer .footer-link {
		padding-left: 0px;
		font-size: 13px;
		padding-top: 6px;
		padding-bottom: 6px;
	}
	footer .copyrights, footer .footer-column input[type=email] {
		font-size: 13px;
	}
}
/* alert */
.alert {
	padding: 8px 14px 8px 14px;
}
/* breadcrumb */
.breadcrumb {
    display: none;
    /*
	margin: 0 0 20px 0;
	padding: 8px 0;
	border: 1px solid #ddd;
    */
}
.breadcrumb i {
	font-size: 15px;
}
.breadcrumb > li {
	text-shadow: 0 1px 0 #FFF;
	padding: 0 20px;
	position: relative;
	white-space: nowrap;
}
.breadcrumb > li + li:before {
	content: '';
	padding: 0;
}
.breadcrumb > li:after {
	content: '';
	display: block;
	position: absolute;
	top: -3px;
	right: -5px;
	width: 26px;
	height: 26px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.pagination-text > strong {
	margin-left: 4px;
	margin-right: 4px;
}
.pagination {
	margin: 0;
	border-radius:0;
	border:none;
}
.pagination > li > a,
.pagination > li > a:hover,
.pagination > li > a:active,
.pagination > li > span {
	text-align: center;
	float:none;
	border-radius:0;
	border:none;
	background-color: transparent;
	color: rgba(0,0,0,0.95);
	padding: 0px 4px;
	margin: 0px 6px;
}
.pagination > li.active > span{
	text-align: center;
	border-radius:0;
	border:none;
	background-color: transparent;
	color: rgba(0,0,0,0.95);
	padding: 0px 4px;
	margin: 0px 6px;
	font-weight: bold;
	border-bottom: 1px solid rgba(0,0,0,0.95);
}
.pagination > li.active > span:hover{
	background-color: transparent;
	color: rgba(0,0,0,0.95);
	border-bottom: 1px solid rgba(0,0,0,0.95);
}

.pagination-text+.pagination{
	margin-left: 12px;
}
span.pagination-text {
	border-right: 1px solid #878787;
    padding-right: 15px;
}

/* buttons */
.buttons {
	margin: 1em 0;
}
.btn {
	padding: 7.5px 12px;
	font-size: 14px;
	border: 1px solid #cccccc;
	/* border-radius: 4px; */
	border-radius: 0px;
	/* box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); */
}
.btn-min-200 {
	min-width: 200px;
}
.btn-min-135 {
  min-width: 135px;
}
.btn-xs {
	font-size: 9px;
}
.btn-sm {
	font-size: 12px;
}
.btn-lg {
	padding: 10px 16px;
	font-size: 17px;
}
.btn-group > .btn, .btn-group > .dropdown-menu, .btn-group > .popover {
	font-size: 12px;
}
.btn-group > .btn-xs {
	font-size: 9px;
}
.btn-group > .btn-sm {
	font-size: 10.2px;
}
.btn-group > .btn-lg {
	font-size: 15px;
}
.btn-default {
	/* color: #777; */
	/* text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); */
	/* background-color: #e7e7e7; */
	/* background-image: linear-gradient(to bottom, #eeeeee, #dddddd); */
	/* border-color: #dddddd #dddddd #b3b3b3 #b7b7b7; */
	color: #ffffff;
	text-shadow:none;
	background-color: #4a4a4a;
	background-repeat: repeat-x;
	background-image: linear-gradient(to bottom, #4a4a4a, #4a4a4a);
	border-color: #4a4a4a;
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .btn-default.disabled, .btn-default[disabled] {
	color: #ffffff;
	background-color: #4a4a4a;
	border-color: #4a4a4a;
}
.btn-primary {
	color: #ffffff;
	/* text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); */
	/* background-color: #229ac8; */
	/* background-image: linear-gradient(to bottom, #23a1d1, #1f90bb); */
	text-shadow:none;
	background-color: #26ced1;
	background-image:linear-gradient(to bottom, #26ced1, #26ced1);
	background-repeat: repeat-x;
	border-color: #26ced1;
	/* border-color: #1f90bb #1f90bb #145e7a; */
}
.btn-primary:hover,.btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
	/* background-color: #1f90bb; */
	background-color: rgba(38, 206, 209, 0.95);
	/* background-position: 0 -15px; */
}
.btn-warning {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #faa732;
	background-image: linear-gradient(to bottom, #fbb450, #f89406);
	background-repeat: repeat-x;
	border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active, .btn-warning.active, .btn-warning.disabled, .btn-warning[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-danger {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #da4f49;
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active, .btn-danger.active, .btn-danger.disabled, .btn-danger[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-success {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #5bb75b;
	background-image: linear-gradient(to bottom, #62c462, #51a351);
	background-repeat: repeat-x;
	border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active, .btn-success.active, .btn-success.disabled, .btn-success[disabled] {
	box-shadow: inset 0 1000px 0 rgba(0, 0, 0, 0.1);
}
.btn-info {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #df5c39;
	background-image: linear-gradient(to bottom, #e06342, #dc512c);
	background-repeat: repeat-x;
	border-color: #dc512c #dc512c #a2371a;
}
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
	background-image: none;
	background-color: #df5c39;
}
.btn-link {
	border-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	color: #26ced1;
	border-radius: 0;
}
.btn-link, .btn-link:active, .btn-link[disabled] {
	background-color: rgba(0, 0, 0, 0);
	background-image: none;
	box-shadow: none;
}
.btn-inverse {
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #363636;
	background-image: linear-gradient(to bottom, #444444, #222222);
	background-repeat: repeat-x;
	border-color: #222222 #222222 #000000;
}
.btn-inverse:hover, .btn-inverse:active, .btn-inverse.active, .btn-inverse.disabled, .btn-inverse[disabled] {
	background-color: #222222;
	background-image: linear-gradient(to bottom, #333333, #111111);
}
/* list group */
.list-group a {
	border: 1px solid #DDDDDD;
	color: #888888;
	padding: 8px 12px;
}
.list-group a.active, .list-group a.active:hover, .list-group a:hover {
	color: #444444;
	background: #eeeeee;
	border: 1px solid #DDDDDD;
	text-shadow: 0 1px 0 #FFF;
}
/* carousel */
.carousel-caption {
	color: #FFFFFF;
	text-shadow: 0 1px 0 #000000;
}
.carousel-control .icon-prev:before {
	content: '\f053';
	font-family: FontAwesome;
}
.carousel-control .icon-next:before {
	content: '\f054';
	font-family: FontAwesome;
}
/* product list */
.product-list-control .input-group-addon{
	font-size: 14px;
	font-weight: 700;
	line-height: 1.43;
	text-transform: uppercase;
	background-color: transparent;
	border: none;
	box-shadow: none;
	color: #333;
	opacity: 0.95;
}
.product-list-control select {
	background-color: transparent;
	border: none;
	box-shadow: none;
	color: #4c4c4c;
	font-size: 14px;
	line-height: 1.43;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Some browsers will not display the caret when using calc, so we put the fallback first */ 
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat 98.5% !important; /* !important used for overriding all other customisations */
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100% - 10px) !important; /* Better placement regardless of input width */
}
.product-thumb {
	/*
    border: 1px solid #ddd; 
	margin-bottom: 20px;
    */
	overflow: auto;
}
.product-thumb .image {
	text-align: center;
}
.product-thumb .image a {
	display: block;
}
.product-thumb .image a:hover {
	opacity: 0.8;
}
.product-thumb .image img {
	margin-left: auto;
	margin-right: auto;
}
.product-grid .product-thumb .image {
	float: none;
}
@media (min-width: 767px) {
	.product-list .product-thumb .image {
		float: left;
		/* padding: 0 15px; */
	}
    /*.product-list-control > div.col-md-3:first-child {
        border-right: 1px solid #333;
    }*/
    .product-list-control > div.col-md-3:first-child > div.form-group {
        margin-bottom: 0px;
    }
    .product-list-control > div.col-md-3:first-child > div.form-group select {
        width: 160px;
    }
    .product-list-control > div:nth-child(2) > div.form-group select {
        width: 55px;
    }
	.product-list-control > div.col-md-3:first-child:after {
		content: '';
		width: 10px;
		height: 20px;
		background-color: transparent;
		display: inline-block;
		position: absolute;
		top: 7px;
		right: 15px;
		border-right: 1px solid #878787;
	}
}
@media (max-width: 767px) {
	.product-list-control .col-xs-8 {
		padding-right: 0px;
	}
	.product-list-control .col-xs-8 .input-group {
		border-right: 1px solid rgba(0, 0, 0, 0.95);
	}
	.product-list-control .col-xs-8 label, .product-list-control .col-xs-4 label {
		padding: 0px 5px 0px 0px;
	}
	.product-list-control .col-xs-8 select, .product-list-control .col-xs-4 select {
		padding: 0px 0px 0px 2px;
	}
}
.product-thumb h4 {
	font-weight: 600;
    font-size: 16px;
}
.product-thumb .caption a{
    color: rgba(0,0,0,0.95);
    text-decoration: none;
	font-weight: bold;
}
.product-thumb .caption {
	color: rgba(0,0,0,0.95);
	padding: 0 20px;
	min-height: 80px;
	font-size: 15px;
	line-height: 1.33;
}
.product-list .product-thumb .caption {
	display:flex;
	flex-direction: column;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 150px;
	background-color: #fff;
	height: 200px;
	padding: 8px 15px;
    overflow-y: auto;
}
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	/* min-height: 210px; */
	padding: 8px 10px;
}
}
@media (max-width: 767px) {
.product-list .product-thumb .caption {
	min-height: 0;
	margin-left: 0;
	padding: 0px;
	display: flex;
	flex-direction:row;
	flex-wrap: wrap;
	height: auto;
}

.product-grid .product-thumb .caption {
	min-height: 0;
}
.mobile-image {
	max-width: 33%;
    width: 33%;
    margin-top: -15px;
}
.name-desc {
	width: 66%;
    max-width: 66%;
    padding-left: 10px;
}
.price-cart {
	max-width: 100%;
    width: 100%;
    align-content: center;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 12px;
	margin-top: 30px;
}
}
.product-thumb .rating {
	padding-bottom: 10px;
}
.rating .fa-stack {
	font-size: 8px;
}
.rating .fa-star-o {
	color: #999;
	font-size: 15px;
}
.rating .fa-star {
	color: #FC0;
	font-size: 15px;
}
.rating .fa-star + .fa-star-o {
	color: #E69500;
}
h2.price {
	margin: 0;
}
.product-thumb .price {
	color: #26ced1;
	font-size: 15px;
	font-weight: 500;
	margin-top: 8px;
}
.product-thumb .price-new {
	font-weight: 700;
}
.product-thumb .price-old {
	color: #999;
	text-decoration: line-through;
	margin-left: 10px;
}
.product-thumb .price-tax {
	color: #999;
	font-size: 12px;
	display: block;
}
.product-thumb .button-group {
	border-top: 1px solid #ddd;
	background-color: #eee;
	overflow: auto;
}
.product-list .product-thumb .button-group {
	border-left: 1px solid #ddd;
}
.product-thumb .fa-heart-o {
	font-size: 18px;
	color: #333;
}
@media (max-width: 768px) {
	.product-list .product-thumb .button-group {
		border-left: none;
	}
}
.product-thumb .button-group button {
	width: 60%;
	border: none;
	display: inline-block;
	float: left;
	background-color: #eee;
	color: #888;
	line-height: 38px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}
.product-thumb .button-group button + button {
	width: 20%;
	border-left: 1px solid #ddd;
}
.product-thumb .button-group button:hover {
	color: #444;
	background-color: #ddd;
	text-decoration: none;
	cursor: pointer;
}
@media (max-width: 1200px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
@media (max-width: 767px) {
	.product-thumb .button-group button, .product-thumb .button-group button + button {
		width: 33.33%;
	}
}
.thumbnails {
	overflow: auto;
	clear: both;
	list-style: none;
	padding: 0;
	margin: 0;
}
.thumbnails > li {
	margin-left: 20px;
}
.thumbnails {
	margin-left: -20px;
}
.thumbnails > img {
	width: 100%;
}
.image-additional a {
	margin-bottom: 20px;
	padding: 5px;
	display: block;
	border: 1px solid #ddd;
}
.image-additional {
	max-width: 78px;
}
.thumbnails .image-additional {
	float: left;
	margin-left: 20px;
}

@media (min-width: 1200px) {
	#content .col-lg-2:nth-child(6n+1),
	#content .col-lg-3:nth-child(4n+1),
	#content .col-lg-4:nth-child(3n+1),
	#content .col-lg-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	#content .col-md-2:nth-child(6n+1),
	#content .col-md-3:nth-child(4n+1),
	#content .col-md-4:nth-child(3n+1),
	#content .col-md-6:nth-child(2n+1) {
		clear:left;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	#content .col-sm-2:nth-child(6n+1),
	#content .col-sm-3:nth-child(4n+1),
	#content .col-sm-4:nth-child(3n+1),
	#content .col-sm-6:nth-child(2n+1) {
		clear:left;
	}
}

/* fixed colum left + content + right*/
@media (min-width: 768px) {
    #column-left  .product-layout .col-md-3 {
       width: 100%;
    }

	#column-left + #content .product-layout .col-md-3 {
       width: 50%;
    }

	#column-left + #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }

    #content + #column-right .product-layout .col-md-3 {
       width: 100%;
    }
}

/* fixed product layouts used in left and right columns */
#column-left .product-layout, #column-right .product-layout {
	width: 100%;
}

/* fixed mobile cart quantity input */
.input-group .form-control[name^=quantity] {
	min-width: 50px;
}

/* Missing focus and border color to overwrite bootstrap */
.btn-info:hover, .btn-info:active, .btn-info.active, .btn-info.disabled, .btn-info[disabled] {
    background-image: none;
    background-color: #df5c39;
}

.home-social-link {
    padding-bottom: 32px;
}
@media (max-width: 478px) {
    .home-social-link {
        padding-bottom: 16px;
    }
}
.product-list {
	margin-top: 8px;
	margin-bottom: 16px;
}
.product-list:last-child {
	margin-bottom: 39px;
}
.product-details{
	padding-bottom: 12px;
}
.product-details div.required .control-label::before{
	color: rgba(0, 0, 0, 0.95);
}
.product-details .control-label{
	font-size: 14px;
	font-weight: 700;
	padding-left: 4px;
	padding-right: 4px;
}
.product-details .control-label.label-quantity{
	font-weight: 400;
  padding-top: 7px;
}
.product-details select {
	padding-left: 4px;
	padding-right: 4px;
	background-color: transparent;
	border: none;
	box-shadow: none;
	color: #4c4c4c;
	font-size: 14px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	/* Some browsers will not display the caret when using calc, so we put the fallback first */ 
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat 98.5% !important; /* !important used for overriding all other customisations */
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100% - 10px) !important; /* Better placement regardless of input width */
}
.product-details input.form-control{
	padding-left: 4px;
	padding-right: 4px;
	box-shadow: none;
	border-radius: 0px;
}
.product-name {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.33;
}
.product-subtitle {
		margin-top:15px;
    font-size: 16px;
    font-weight: 400;
}
.product-author{
		margin-top:15px;
    font-size: 15px;
    font-weight: 400;
}
.product-details {
    background-color: #fff;
    margin-bottom: 32px;
}
.product-details hr{
	border-top: 1px dashed #8b8b8b;
	border-bottom: 1px dashed #fff;
}
.product-details .thumbnails{
    float: left;
    padding-left:10px;
}
.product-stock{
	padding-top: 7px;
	font-size: 14px;
	font-weight: bold;
}
.thumbnails .thumbnail{
    border:none;
	padding-top: 15px;
}
.product-details-right {
	margin-left: 20px;
	margin-right: 20px;
}
.product-info{
	padding-right: 8px;
}
.product-info+.product-info{
	padding-left: 8px;
	border-left: 1px solid rgba(0, 0, 0, 0.95);
}
.product-tags {
	font-weight: bold;
}
.product-tags a{
	font-weight: normal;
	color: rgba(0, 0, 0, 0.95);
	text-decoration: underline;
}
.product-price{
	color:#26ced1;
	font-size: 17px;
	font-weight: 600;
	margin-top: 17px;
}
.thumbnails+.product-details-right{
    margin-left: 290px;
}
.product-details-right #product-options select {
	width: 110px;
	white-space: -moz-pre-wrap;
	white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
    height: auto;
}
/*CSS for Firefox*/
@-moz-document url-prefix() {
    .product-details-right #product-options select {
        text-overflow: ellipsis;
        -webkit-appearance: none;
        overflow: hidden;
        background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100%) !important;
    }
}
/*CSS for IE */
@supports (-ms-ime-align:auto) {
    .product-details-right #product-options select {
        padding:6px 24px 6px 4px !important;
        -webkit-padding-end:24px;
        -webkit-padding-start:4px;
    }
    .product-details-right #product-options select::after {
        content: '...';
        display: inline-block;
    }
}
.product-details-right input#input-quantity {
	width: 28px;
	height: 20px;
	padding: 10px;
	margin-top: 5px;
}
.product-btn-group .btn {
	min-width: 180px;
	padding: 8px 34px;
	font-size: 15px;
	font-weight: bold;
	margin-right: 20px;
}
@media (max-width: 767px) {
  .product-details .thumbnails{
    float:none;
    padding-left:0;
  }
  .thumbnails + .product-details-right{
    margin-left:20px;
  }
  .product-btn-group {
    text-align:center;
  }
  #product-product .product-tabs{
	  display: block;
  }
  
  #product-product #content .nav-tabs {
    width: 100%;
    border-bottom: 0px;
    display: block;
    flex-direction:unset;
  }
  #product-product #content .nav-tabs li{
    width:45%;
    float:left;
    margin-left: 2.5%;
    margin-right: 2.5%;
  }
  #product-product #content .tab-content{
    padding: 2px 16px;
  }
}

.prduct-related_products{
	background-color: #fff;
}
.prduct-related_products .section-title {
	font-size: 28px;
	padding-top: 28px;
	padding-bottom: 28px;
}
.issue-header {
    padding: 2px 4px;
    background-color:#26ced1;
    border: 1px solid #26ced1;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 4px;
}
.issue-content {
    padding: 2px 4px;
}
.issue-header+p,
.issue-content+p{
    display:none;
}

.alert-dismissible .close{
	right:unset;
}

#select-subcategory {	
	margin: 12px 10px;
	padding: 6px 12px;
	font-size:14px;
	background-color: transparent;
	border: solid 1px rgba(0, 0, 0, 0.95);
	border-radius: 0px;
	color: rgba(0, 0, 0, 0.95);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width:100%;
	/* Some browsers will not display the caret when using calc, so we put the fallback first */ 
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat 98.5% !important; /* !important used for overriding all other customisations */
	background: url("/20210329061702oe_/https://cup.cuhk.edu.hk/catalog/view/theme/cupress/image/arrow.svg") transparent no-repeat calc(100% - 10px) !important; /* Better placement regardless of input width */
}
#select-subcategory option {
	cursor: 
}
.alert.alert-success {
	border: none;
	background-color: #ff8b5c;
    color: white;
	border-radius: 0;
}
.alert.alert-danger {
	border: none;
	background-color: #F43459;
	color: white;
	border-radius: 0;
}
.alert.alert-success a {
	color: #FFF;
	font-weight: bold;
	text-decoration: underline;
}
.alert .close {
	color: #333;
}
.external-logo{
	margin-top: 16px;
	margin-bottom: 8px;
}
.external-logo-hktvmall{
	width: 70px;
	height: 17px;
}
.external-logo-kindle{
	width: 70px;
	height: 15px;
}
.external-logo-airiti{
	width: 74px;
	height: 12px;
}
.external-logo-hyread{
	width: 70px;
	height: 19px;
}
.external-logo-amazon{
	width: 46px;
	height: 22px;
}
.external-logo-muse{
	width: 39px;
	height: 24px;
}
.external-logo-googlebooks{
	width: 70px;
	height: 24px;
}
.external-logo-jstor{
	width: 18px;
	height: 24px;
}
