/* Enter Your Custom CSS Here */
a:hover {
	color: red;
}

.private-list a {
	color: white;
}

#top-link { 
	z-index:20000;
}

.insert-page h1{
    font-size: 24px;
}

.insert-page-7976 h1 {
	font-size: 18px !important;
}

.fr-side-button-icon {
	z-index: 9999;
}

.ccchildpages a {
    font-size: 16px;
}

.my-list-item a,
.my-list-item {
    font-size: 16px;  
	
}
.my-list-item {
	margin: 0 0 5px 30px;
}

.my-underline-link a, 
.my-underline-link a:visited {
    text-decoration: underline !important;
}

.my-video {
	width: 100%;
  	display: inline-block;
  	margin-left: 0;
   	margin-right: 0;
}

.my-album p {
	margin: 10px !important;
}

.my-album {
	width: 32%;
 	margin: 1.2% 0.5% 1.2% 0.5%;
  	display: inline-block; 
    position: relative;  
	vertical-align:top;  
}
.my-album-image {
	width: 100%;
  	height: 100%;
}
.my-album-h3 {
  	font-weight: 700;
  	text-align: center;
  	margin-top: 8px;
  	margin-bottom: 8px;
}
.my-album-h4 {
  	text-align: center;
    margin-bottom: 8px;
}

.include-page .apss-social-share,
.include-page .post-meta {
	display: none;
}

.table-years {
  	display: inline-block;
    width: 16% !important;
    margin-top: 8px;
    margin-bottom: 8px;
}

.table-places a:hover {
	color: red;
}

.row-years {
	line-height: 40px;
}

.home #slide_mask {
	background-image: none !important;
}

.inner_container {
	width: 100%;
  	max-width: 4000px;
	margin-top: 0px;
    min-height: 100px;
}

.site-header {
  float: none;
  width: 100%;
  position: relative;
}

.home .site-header .wrap {
	background: url(wp-content/themes/gallery/images/container_bg_header.png) repeat scroll 0 0 transparent;
}

.header-image .title-area {
  	background: url(https://henry-yang.com/wp-content/themes/gallery/images/logo.png) no-repeat;
   	background-position: center; 
  	left: 5%;
  	float: left;
    position: relative;
  	margin-top: 0px;
  	margin-bottom: 0px;
  	padding: 0px;
    width: 15%;
}

.header-image .site-title {
  	margin-bottom: 0px !important; 
}
.header-image .site-title a {
    height: 80px;  
  	margin-bottom: 0px !important; 
}

.nav-primary {
  	display: block;
    float: right;
    position: relative;
  	padding: 0px;
    width: 75%;
  	right: 5%;
}

.ubermenu.ubermenu-main .ubermenu-item-level-0 {
  	margin-left: 2px !important;
  	margin-right: 2px !important;
}

.site-inner {
  	float: none !important;
  	left: 10%;
  	width: 80%;
    margin-right: 0;
    margin-left: 0;
	margin-top: 10px;
  	margin-bottom: 0px;
}

.home .site-footer {
    background-image: none;
  	position: fixed;
  	color: white;
  	height: 30px;
  	bottom: 50px !important;
  	left: 20px;
  	padding-top: 0px;
    opacity: 0.8  !important;
    text-align: left;
}

.site-footer {
  	position: relative;
    background: url(wp-content/themes/gallery/images/container_bg.png) repeat scroll 0 0 transparent;
    text-align: center;
  	width: 80%;
  	left: 10%;
    margin-top: 0px;
	padding-top: 15px;
	z-index:10000;  
}

#prevslide, #nextslide {
  	display: none !important;
}

.breadcrumb a:hover {
  	color: red;
}

.breadcrumb,
.breadcrumb_search {
	margin-bottom: 0px !important;
  	padding-bottom: 0px !important;
}

.page .content {
	padding-top: 0px;
}

.content {
	width: 80% !important;
	padding-left:  25px !important;
  	padding-right: 25px !important;
}

.sidebar {
	width: 20% !important;
}

.sidebar .widget {
	padding: 5px 5px 5px 0px;
  	padding-top: 0px;
  	margin-top: 0px;
}

.sidebar li {
	line-height: 1.2;
}

.advanced-sidebar-menu a:hover,
.advanced-sidebar-menu a:focus {
	color: red !important;
}

.advanced-sidebar-menu li.current_page_item > a{ 
    color: red !important;
} 

.advanced-sidebar-menu ul {
	margin-left: 10px !important;
}
.advanced-sidebar-menu .widget-wrap > ul {
	margin-left: 0px !important;
}
.widget.advanced-sidebar-menu {
    background:rgba(0,0,0,0) !important;  
}

.advanced-sidebar-menu ul li{
	list-style:none;
	list-style-type: none;
	margin: 10px 0 10px 0 !important;	
}

.advanced-sidebar-menu ul li a{
	font-size: 130% !important;
}

.advanced-sidebar-menu ul ul li a{
	font-size: 125% !important;
}

.advanced-sidebar-menu ul ul ul li a{
	font-size: 115% !important;
}

.entry-title {
  	margin-top: 10px !important;
  	text-align: center !important;
  	line-height: 30px !important;
}

.entry-content a {
    border-bottom: 0px solid #fff !important;
}

.entry {
	margin-bottom: 0px;
  	padding-bottom: 0px;
}

.thumbnail {
    margin: 0.6% !important;
  	width: 32% !important;
}

.thumbnail:last-child {
    margin-right: 0.6% !important;
}

.thumbport {
    margin: 0.6%;
  	margin-left: 5.6%;
  	margin-right: 5.6%;
  	width: 22%;
  	position: relative;
  	padding: 0;
  	display: block;
  	float: left;
}

.fr-info-background {
  	background: rgba(50,50,50,0.4) !important;
}


.fr-overlay-background {
  	background-color: rgba(15,15,15,0.9) !important;
}

.fr-thumbnails {
  	background: rgba(0,0,0,0)  !important;
}

.fr-page { 
  	min-width: 100%;  
	min-height: 100%; 
} 

.search-form input[type="search"] {
    background-color: #404040;
    color: #ffffff;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea
{
    background-color: #404040;
    color: #ffffff;
}

.apss-theme-4 .apss-icon-block {
	margin-top: 15px !important;
}

.apss-share-text{
  opacity: 1  !important;
  color: #ffffff  !important;
  margin-top: 20px !important;
}

@media (min-width:1001px) {
.nks_cc_trigger_tabs {
	display: none !important;
}
}

@media (max-width:1500px) {
/*
.advanced-sidebar-menu ul ul li a{
	font-size: 13 px !important;
}
*/

.site-inner {
  	left: 7.5%;
  	width: 85%;
}

.site-footer {
  	left: 7.5%;
  	width: 85%;
}
}

@media (max-width:1300px) {
.table-years {
    width: 19% !important;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
    padding: 15px 10px 15px 10px!important; 
}
}

/* ipad landscape 1024 x 768 */
@media (max-width:1100px) {
.my-list-item {
	margin: 0 0 5px 10px;
}

.site-inner,
.site-footer {
  	left: 5%;
  	width: 90%;
}

.content {
	width: 75% !important;
}

.sidebar {
	width: 25% !important;
}

.my-album {
	width: 48.5%;
 	margin: 2% 0.5% 2% 0.5%;
}

.thumbnail {
    margin: 0.9% !important;
  	width: 48% !important;
}

.thumbnail:last-child {
    margin-right: 0.9% !important;
}

.thumbport {
    margin: 0.9%;
  	margin-left: 8.9%;
  	margin-right: 8.9%;
  	width: 32%;
}

.advanced-sidebar-menu ul li a{
	font-size: 140% !important;
}

.advanced-sidebar-menu ul ul li a{
	font-size: 135% !important;
}

.advanced-sidebar-menu ul ul ul li a{
	font-size: 125% !important;
}

}

/* ipad portrait 768, iphone 7 plus landscape 736 */
@media (max-width:1000px) {
.header-image .title-area {
  	left: 3%;
    width: 30%;
}

.nav-primary {
    width: 66%;
  	right: 1%;
}

  
.nks_cc_trigger_tabs {
	z-index: 1000;
}

#nks_cc_sidebar #nks-content-1 {
   background-color: #303030 !important;
}

.nks-tab {
	margin-right: 0px !important;
}

.nks-content > div {
	padding: 0;
}

.nks_cc_imagebg_none {
	font-size: 16px !important;
}

.nks_cc_imagebg_none li.current_page_item > a{ 
    color: red !important;
  	font-weight: bold !important;
} 

.nks_cc_imagebg_none li.current_page_item {
  	list-style-type:disc !important;
}

.nks_cc_imagebg_none ul li{
  	line-height: 110% !important;
	margin: 10px 0px 10px 10px !important;
}

.table-years {
  	display: inline-block;
    width: 24% !important;
}

.site-inner,
.site-footer {
  	left: 7.5%;
  	width: 85%;
}
.sidebar {
	display: none !important;
}
.content {
	width: 100% !important;
}

.entry-header .entry-title {
	font-size: 24px !important;
}
}

/* ipone 7 landscape 667, a lot of devices 640 */
@media (max-width:720px) {
.header-image .title-area {
  	left: 1%;
    width: 25%;
}

.nav-primary {
    width: 73%;
  	right: 1%;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
    font-size:125%; 
}
}

/* become responsive */
@media (max-width:625px) {
.header-image .title-area {
  	left: 1%;
    width: 38%;
}

.my-list-item {
	margin: 0 0 5px 0px;
}

.nav-primary {
    width: 60%;
  	right: 1%;
  	padding-top: 0 !important;
}

.header-image .site-title a {
    height: 100px;  
}

.my-video {
	width: 100%;
   	margin-left: 0;
   	margin-right: 0; 	
}

/* .error404 .site-container {
	min-height: 800px !important;
}
*/
.site-container {
	min-height: 800px;
}

.breadcrumb_search {
	display: none !important;
}
.breadcrumb {
	width: 100% !important;
}

.entry-header .entry-title {
	font-size: 20px !important;
}
.entry-content h2 {
	font-size: 18px !important;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
  	padding: 7px!important; 
}
}

/* iphone 7 plus 736 x 414 */
@media (max-width:480px) {
.ubermenu-item-level-0{ 
   min-width: 0 !important; 
   width: auto !important;
} 

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target {
   display: inline-block !important; 
}

.table-years {
    width: 32% !important;
}

.my-album {
	width: 99%;
 	margin: 2.5% 0 2.5% 0;
}
  
.thumbnail {
  	margin: 2% 0 2% 0 !important;
  	width: 100% !important;
}

.thumbnail:last-child {
    margin-right: 0 !important;
}

.thumbport {
    margin: 1.5%;
  	margin-left: 17.9%;
  	margin-right: 17.9%;
  	width: 64%;
}
}

/* iphone 7 667x375, a lot of devices 360 */
@media (max-width:410px) {
.header-image .site-title a {
    height: 75px;  
  	margin-bottom: 0px !important; 
}

  
.header-image .title-area {
  	background: url(https://henry-yang.com/wp-content/themes/gallery/images/logo-small.png) no-repeat;
    background-position: center; 
  	left: 0;
    width: 37%;
}

.nav-primary {
    width: 63%;
  	right: 0;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
    font-size:110% !important; 
    padding: 0px 5px 7px 5px!important; 
}
}

/* responsive mode */
@media (max-width:350px) {
.ubermenu-item-level-0{ 
   min-width: 100% !important; 
   width: 100%  !important;
} 

.site-header {
    display: block !important;
	width: 100% !important;	
  	margin: 0px !important;
}

.header-image .title-area {
  	background: url(https://henry-yang.com/wp-content/themes/gallery/images/logo.png) no-repeat;
    background-position: center; 
  	left: 0;
  	width: 50% !important;
  	margin-top: 3px;
  	height: 80px;
  	z-index: 20;

}

.nav-primary {
  	position: absolute;
    width: 100% !important;	
  	left: 0;
  	padding: 0px 20px 20px 20px!important;
	z-index: 15;
}

.ubermenu-responsive-toggle.ubermenu-responsive-toggle-main {
  background-color: transparent !important;
  padding-top: 10px !important;
  height: 80px !important;
  right: 5% !important;
}

.ubermenu-item-level-0 {
  background-color: rgba(50,50,50,0.98) !important;
}

.ubermenu.ubermenu-main .ubermenu-item-level-0 {
  	margin-left: 0px !important;
  	margin-right: 0px !important;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
  font-size:100%; 
}

.ubermenu .ubermenu-search input.ubermenu-search-input {
	width: 200px !important;
}

.ubermenu .ubermenu-search .ubermenu-searchform {
	width: 200px !important;
}

.ubermenu-responsive-toggle .fa,
.ubermenu-responsive-toggle .fa-bars {
	margin-top: 20px !important;
}

.ubermenu-main .ubermenu-item-level-0 > .ubermenu-target { 
    font-size:125% !important; 
    padding: 7px !important; 
}
/*

.header-image .title-area {
  	left: 5% !important;
}
*/

.table-years {
    width: 48% !important;
}

}