/*
Theme Name: CBAL Child
Description: CBAL Child
Version: 1.0
Author: CBAL
Author URI: http://www.cbal.com.hk
Template: cbal
*/


/*Add your own styles here:*/

.blank-space {
    margin-top: 40px;
}

#catapult-cookie-bar {
    background-color: #8c8c8c!important;
}

button#catapultCookie {
    background: #fff!important;
    color: #8c8c8c !important;
}

.left { float: left; }
.right {float: right; }
.clearfix {clear:both;}

html[lang="zh-hant"] .en-only,
html[lang="en-US"] .zh-only{
	display: none !important;
}
@media (min-width: 1171px) {
	.menu-item.menu-item-language {
		display: none;
	}
}
.menu-item-language-current {
	display: none;
}

#lang_sel_list {
	float: left;
    height: auto;
    top: 27px;
    margin-left: 40px;
}

#lang_sel_list a.lang_sel_sel {
	display: none;
}

#lang_sel_list ul a {
	font-size: 15px;
}

html[lang=zh-hant] .grid-sort-container {
    top: 86px !important;
}

html[lang=en-US] .zh-only,
html[lang=zh-hant] .en-only,
html[lang=zh-hans] .en-only{
	display: none;
}

.bold {
	font-weight: bold;
}

body div .avia-button,
.avia_ajax_form .button {
	border-bottom: none;
}
.html_entry_id_27  .avia-image-container{

	float: none !important;
}

body.home  .container_wrap .hr.avia-builder-el-last {
    top: 48px;
}

.html_entry_id_27  .avia-image-container .avia-image-container-inner,
.html_entry_id_27  .avia-image-container .avia-image-container-inner img {
	width: 100%;
}

.sidebar_left .inner_sidebar {
   		margin-right: 0;
	    text-align: center;
}

.container .av-content-small.units {
        width: 85%;
}


body .container .av-content-small.units {
    margin-right: 0%;
}

body .content .entry-content-wrapper {
    padding-right: 0px;
}

.single-portfolio .active_tab_content.gallery-tab{
	width: auto !important;
}
.artist-artwork {
    width: 230px;
    display: inline-block;
    background: #1e1e1e;
    padding: 15px;
    margin-right: 20px;
	margin-bottom: 20px;
}

.artist-artwork .DOP_ThumbnailGallery_ThumbnailsContainer {
	display: none;
}

.artist-artwork .DOP_ThumbnailGallery_Caption {
	display: none!important;
}
.artist-artwork .DOP_ThumbnailGallery_ImageWrapper {
	width: 200px !important;
	height: 200px !important;
}

.artist-artwork .DOP_ThumbnailGallery_ImageWrapper .DOP_ThumbnailGallery_Image {
	width: 200px !important;
	height: auto !important;
	margin: 0px !important;
	top: 50%;
    transform: translateY(-50%);
}

.artist-artwork .DOP_ThumbnailGallery_ImageWrapper .DOP_ThumbnailGallery_Image img {
	width: 210px !important;
	height: auto !important;
}

.artist-artwork .DOP_ThumbnailGallery_NavigationButtons.outside {
	display: none !important;
}

.fg-album-polaroid .fg-album-thumbnail-length {
	background-color: #666666;
	display: none;
}

.fg-navigation {
	text-align: center !important;
}
.fg-navigation .fg-pagination-prev {
	float: left;
}

.fg-navigation .fg-pagination-next {
	float: right;
}

.fg-navigation .fg-back-to-albums {
	width: 120px !important;
}

.fancybox-prev {
    left: -70px;
}
.fancybox-next {
    right: -70px;
}

.fancybox-nav:hover span {
opacity: 0.8;
}
.fancybox-nav span {
    visibility: visible !important;
}

.fancybox-opened .fancybox-skin {

	margin: 0px auto;
}

.fancybox-wrap {
	max-width: 90%;
	left: 50% !important;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}

.fancybox-image {
    margin: 0 auto;
}

.fancybox-inner {
	margin: 0 auto;
	width: auto !important;
}

.fancybox-description-title {
	text-align: center;
}

.fancybox-title > br {
	display: none;
}

/******************/
/* Fancy Gallery */
/*****************/

.fg-panel .fg-listItem {
    position: relative !important;
    float: left;
    list-style: none !important;
    list-style-type: none !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
    margin-right: 30px !important;
    clear: initial !important;
}

.fg-panel .fg-listItem > div {
	height: 277px !important;
	width: 277px !important;
	padding: 0px !important;
	border-color: transparent !important;
}
.fg-listItem > div > .fg-thumbnail-container {
	height: 277px !important;
	width: 277px !important;
}
.fg-panel .fg-album-polaroid {
	    width: 277px;
    height: 299px;
    float: left;
    margin-bottom: 30px;
    margin-right: 30px;
    position: relative;
    background-size: cover;
}

.fg-panel .fg-album-polaroid:nth-child(3n+3){
	margin-right: 0px;
}

.fg-panel .fg-album-polaroid {
	background: none !important;
}

.fg-album-polaroid > a {
    display: block;
    margin: 12px 0 0 -4px !important;
    width: 277px;
    height: 277px;
    overflow: hidden;
}
.fg-album-polaroid > a > img {
    width: auto !important;
    height: 100%;
    min-width: 0;
    max-width: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.fg-panel .fg-album-polaroid > a > img:hover {
	transform: translate(-50%, -50%) scale(1.1);
	-webkit-transform: translate(-50%, -50%) scale(1.1);
}

.fg-album-polaroid > p {
	margin-left: -4px !important;
}
.fg-listItem > img.fg-shadow {
	display: none;
}

.fg-navigation .fg-pagination-next {
	    margin-right: 35px !important;
}

.fancybox-wrap .fancybox-description-title {
    font-weight: normal;
}

/******************/
/*  ART CONTACT   */
/******************/


#art-contact-form {
	position: absolute;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.5);
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: none;
}
#art-contact-form  .art-contact-form-wrapper {
	width: 600px;
    margin: 0px auto;
	padding: 20px 40px 10px;
    background: white;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}
#art-contact-form .art-contact-form-wrapper h2 {
	border-bottom: 2px solid black;
    padding-bottom: 5px;
}
#art-contact-form .art-contact-form-wrapper h2  .close{
	float: right;
    text-transform: lowercase;
    font-family: arial;
	cursor: pointer;
	opacity: 1;
}
#art-contact-form  .wpcf7  form {
	margin-bottom: 0px;
}

#art-contact-form p {
	margin: 0px 0px 8px;
}
#top #art-contact-form p.hidden {
	display: none;
}

#art-contact-form p label {
    font-weight: bold;
    font-size: 12px;
    display: inline-block;
    width: 30%;
	vertical-align: top;
}

#top #art-contact-form p span {
	display: inline-block;
	width: 70% ;
}
#top #art-contact-form p  input {
	width: 100%;
	margin-bottom: 0px;
}
#top  #art-contact-form p  textarea {
	width: 100% ;
	height: 70px ;
	margin-bottom: 0px;
}

#top  #art-contact-form div.wpcf7-response-output {
	margin: 10px 0px 0px 0px;
	text-align: center;
}

#top #art-contact-form div.wpcf7-validation-errors {
	text-align: center;
	border: 2px solid #ff0000;
}

#top #art-contact-form .ajax-loader {
	    position: absolute;
    margin-top: 20px;
}
#top #art-contact-form .captcha .wpcf7-form-control-wrap {
	width: 70%;
    margin-left: 30%;
	margin-bottom: 15px;
}

.fancybox-opened .fancybox-title {
    min-height: 30px;
	text-align: center;
}



#openContact {
	background: transparent;
    color: #8c8c8c;
    font-size: 23px;
    right: 0px;
    position: absolute;
    bottom: 0px;
}

#openContact i:before {
	font-weight: bold;
}





#header_main nav .social_bookmarks {
	overflow: visible;
}

header nav .social_bookmarks .social_icon_4 img {
	    top: 30px;
    position: absolute;
    left: 60px;
    width: 300px;
	display: none;
}

header nav .social_bookmarks .social_icon_4:hover img {
	display: block;
}

header nav .social_bookmarks .social_icon_4 a:before {
	font-family: 'FontAwesome';
	content: "\f1d7" !important;
}

@media all and (max-width: 989px) {
	.avia-caption {
		position: relative;
		z-index: 1;
		top: 0px;
		left: 0px;
		padding: 0;
		margin-bottom: 20px;
	}

	.caption_framed .slideshow_caption .avia-caption-content p, .caption_framed .slideshow_caption .avia-caption-title, .avia-caption .avia-caption-content p, .avia-caption .avia-caption-title {
		padding: 5px 0px;
	}

	.home .avia-slideshow .avia-caption .avia-caption-title {
		padding: 15px 0px 10px !important;
	}
}

@media only screen and (max-width: 989px) and (min-width: 768px){
	.responsive .logo img {
		margin-right: 55px;
	}
}
@media (max-width: 767px){
	#socket .social_bookmarks {
		display: block;
		margin: 0;
		float: none;
		height: auto;
	}

	#socket .social_bookmarks li {
		float: none;
		display: block;
		margin: 0 auto;
		width: auto;
		text-align: center;
	}

	#socket .social_bookmarks li a {
		width: auto;
		float: none;
	}

	#socket .social_bookmarks li a:before {
		content: none !important;
	}

	#socket .social_bookmarks li a span {
		display: block;
	}

	.page-id-10 .container .av-content-full.units {
		margin-top: 0px !important;
	}


}


/***********************/
/*      Exhibition     */
/***********************/

.exhibition-wrapper {
	    width: 420px;
    display: block;
	margin: 29px auto 0px;
	margin-bottom: 20px;
}

.exhibition-wrapper a {
	    background: #8C8C8C !important;
    color: white;
    width: 200px;
    text-align: center;
    padding: 5px 0px;
	margin-bottom: 15px;
}

.exhibition-wrapper a:hover {
	color: white;
	text-decoration: none;
}

@media all and (max-width: 767px) {
	.exhibition-wrapper {
		width: 100%;
	}
	.exhibition-wrapper a {
		width: 100%;
		display: block;

	}
}
/***********************/
/*      Publication     */
/***********************/
.publication-wrapper .fg-listItem > div > .fg-title {
	background: transparent !important;
}

.publication-wrapper .fg-listItem > div {
	border: none !important;
	background: none !important;
	overflow: visible !important;
}

.publication-wrapper .fg-shadow {
	display: none;
}


/***********************/
/*    Contact form     */
/***********************/
form.avia_ajax_form .textare_label.hidden {
	display: initial !important;
}


/****************/
/*    ARTIST    */
/****************/

.avia_sortable_active .grid-entry .grid-image{
	height: 235px !important;
}

.avia_sortable_active .grid-entry .grid-image img {
	max-height: 100% !important;
    width: auto;
    margin: 0 auto;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}


/***************/
/* add to any */
/**************/
.addtoany_share_save_container.addtoany_content_bottom {
	text-align: center;
}

.home .avia-slideshow-inner .avia-caption-content .slider-title {
	padding: 0px 15px 4px;
}

.home  .avia-slideshow .avia-caption .avia-caption-title{
	padding: 15px 15px 10px;
}


/************/
/*   NEWS   */
/************/

#top #main .sidebar_left .sidebar {
    border-right: none;
}

.template-page.av-content-small.units,
.single-news .container .av-content-small.units {
	    width: 89%;
    border-left: none;
    padding-top: 26px;
}

.sidebar.sidebar_left {
	padding-top: 24px;
}

.sidebar.sidebar_left p {
	text-align: left;
	margin-top: 0px;
}

.sidebar.sidebar_left p a {
	margin-bottom: 15px;
	display: block;
}

.single-news-wrapper.entry-content-wrapper .addtoany_share_save_container {
	display: none;
}


/****************************/
.container .av-content-full.units {
    margin-top: -80px;
	padding-bottom: 42px;
}

.single-news .container .av-content-full.units,
.home .container .av-content-full.units {
	padding-bottom: 0px;
}
.single-portfolio .container .post-entry-type-page,
#main .container div.post-entry-type-page.post-entry-20,
#main .container div.post-entry-type-page.post-entry-4656{
    margin-top: 18px;
    top: 40px;
    position: relative;
}


.publication-wrapper {
	padding-top: 60px;
}

#avia-google-map-nr-1 {
    margin: 35px auto 0;
}


.html_header_top.html_header_sticky #top.home #wrap_all #main {
    padding-top: 60px;
}

.a2a_svg {
	background-size: contain;
}
.a2a_s_facebook {
    background-image: url('http://cbal.com.hk/art/wp-content/uploads/2016/07/facebook-icon.png')  !important;
}

.a2a_s_twitter {
    background-image: url('http://cbal.com.hk/art/wp-content/uploads/2016/07/twitter-icon.png')!important;
}

.a2a_s_pinterest {
    background-image: url('http://cbal.com.hk/art/wp-content/uploads/2016/07/pinterest-icon.png')!important;
}

.a2a_s_whatsapp {
    background-image: url('http://cbal.com.hk/art/wp-content/uploads/2016/07/whatsapp-icon.png')!important;
}

.a2a_s_wechat {
    background-image: url('http://cbal.com.hk/art/wp-content/uploads/2016/07/wechat-icon.png')!important;
}


.tabcontainer .tab {
	padding: 7.5px 16px !important;
}

.single-portfolio .tabcontainer {
	margin-top: 7.5px;
}

.single-portfolio h3 {
	margin-bottom: 0px;
}

.single-news .addtoany_share_save_container {
	    margin: 16px 0 10px;
}

.single-news .content.units {
	min-height: 611px !important;
}

.shortcode_inserted_img + p {
	margin: 0 !important
}


@media(max-width:767px) {
	.responsive .inner-container .logo img {
		opacity: 1 !important;
		display: block;
		width: 80%;
		float: left;
	}
}

.page-id-4665 .container .av-content-full.units {
    margin-top: -300px;
    margin-bottom: 30px;
}


.page-id-4669 .entry-content-wrapper .sort_width_container:first-child,
.page-id-3612 .entry-content-wrapper .sort_width_container:first-child {
	position: absolute;
	top: -13px;
}

.page-id-4669 .entry-content-wrapper .grid-sort-container.isotope,
.page-id-3612 .entry-content-wrapper .grid-sort-container.isotope {
	top: 0px !important;
}

.page-id-4669 .container .av-content-full.units,
.page-id-3612 .container .av-content-full.units {
    margin-top: -7px;
}

.page-id-4669 .container .av-content-full.units .entry-content-wrapper {
	min-height: 366px;
}
#socket .copyright, #socket .copyright a{
    color: #cecece;
}

.avia-caption .avia-caption-content p{
    display:inherit;
}

#mobile-advanced li a:before {
	content: '' !important;
}





div.fg-inline-gallery > div.fg-inline-gallery-media {
    height: auto !important;
}

.a2a_svg svg{
	display:none !important;
}

.mejs-video{
	max-height:1000px;
}
