/* ------------------------------------------------------------------------------- 	*/
/* @author: Jérôme Chauvin for A&A Patners's WebMuseo/Arteo SiteBuilder CMS        	*/
/* Created in early 2022 and potentially still being enhanced since                	*/ 
/* (sometimes, for more specific projects, just copy/past this file to override it.	*/
/* /!\  Works with jQery UI, "thickbox.css" of course 								*/
/* and "enhance-tb-w-imgZoomDrag-n-panZoom-layout.css"	  							*/
/* (i): For this "style" file, an alternative could also be to use a JSP generated 	*/ 
/* CSS file in the Pf Rsrc, to get and use the WebSpace Appearance colors specs.	*/		
/* (i): For this "style" file, each overriding need has to be locally in the space.	*/
/* ------------------------------------------------------------------------------- 	*/


/* --- Starts TB Enhanced--- */

#TB_window a.readMore::after, 
#TB_window a.read-more-link::after {
    background-color: #fff;
}

#TB_window,
#TB_window .ui-widget-content {
	/*
	background: #000;
	color: #fff;
	*/
	/*background: rgb(33%, 33%, 33%, 0.75);*/
	/*background: rgb(33%, 33%, 33%, 0.5);*/
	background: #fff;
	color: #000;
}

/*
#TB_window .ui-widget-content.bDR-file-content {
    background: rgb(33%, 33%, 33%, 0.5);
}
*/


#TB_title {
	background-color: transparent;
	opacity: 0.75;
    transition: all 0.3s ease-in-out 0.5s;
}

#TB_title:hover {
    opacity: 1;
}


#TB_window a:link#TB_closeWindowButton {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: capitalize;    
    color: inherit;
    
    opacity: 1;
    /*opacity: 0.25;*/
    /*
    filter: alpha(opacity=25);
    moz-opacity: 0.25;
    */
    transition: all 1s ease-in-out 1s;
    /*transition: all 0.3s ease-in-out 0s;*/
}


#TB_window a:link#TB_closeWindowButton.showBtn {
    color: #d9dadb;
    /*opacity: 1;*/
    opacity: 0.75;
    transition: all 0.3s ease-in-out 0.5s;
    
}


#TB_window a:link#TB_closeWindowButton:hover {
    color: inherit;
    /*opacity: 0.5;*/
    opacity: 1;
    transition: all 0.3s ease-in-out 0s;
}

#TB_closeWindowButton::before {
    background: white url('/rsrc/img/btClose_v6_50x50.png') no-repeat center center;
    
    border: 1px solid white;
    border-radius: 50%;
    background-color: white;
}

#TB_closeWindowButton::after {
    opacity: 0.5 !important;
    transition: all 0.3s ease-in-out 0.5s;
    border: 1px solid #ccc;
    border-radius: 50%;
    background-color: #eee;
}



#TB_window #TB_ajaxContent .innerTbNav::after {
	/*background-color: #eee;*/  
    opacity: 0.5;
}

#TB_window #TB_ajaxContent .innerTbNav:hover::after {
    opacity: 1;
}


#TB_window #TB_ajaxContent .innerTbNav .innerTbNavIconContainer {
	cursor: pointer;  
}



#TB_ajaxContent .accordion .ui-icon, 
#TB_ajaxContent .accordion .ui-widget-content .ui-icon {
    background-image: url('/rsrc/css/jquery.ui/themes/base/images/ui-icons_ffffff_256x240.png');
}

#TB_ajaxContent .accordion .ui-state-active .ui-icon, 
#TB_ajaxContent .accordion .ui-button:active .ui-icon {
    background-image: url('/rsrc/css/jquery.ui/themes/base/images/ui-icons_444444_256x240.png');
}


/* TB with jQuery UI Tabs */

#TB_ajaxContent .ui-tabs-vertical .ui-tabs-nav li.ui-state-default.ui-corner-left { 
	border-bottom-width: 1px !important; 
	border-right-width: 0 !important; 
}

#TB_ajaxContent .ui-tabs-vertical .ui-tabs-nav li.ui-state-default.ui-corner-left.ui-tabs-active a.ui-tabs-anchor { 
	border-right-width: 1px; 
}


#TB_ajaxContent .ui-tabs-vertical .ui-tabs .ui-tabs-nav li.ui-state-default.ui-corner-left a.ui-tabs-anchor {
    text-decoration: none;
}

#TB_ajaxContent .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, 
#TB_ajaxContent .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, 
#TB_ajaxContent .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
	cursor: help;
}
/* --- */

#TB_ajaxContent .ui-state-default,
#TB_ajaxContent .ui-state-default a,  
#TB_ajaxContent .ui-widget-content .ui-state-default, 
#TB_ajaxContent .ui-widget-header .ui-state-default, 
#TB_ajaxContent .ui-button, 
#TB_ajaxContent .ui-button.ui-state-disabled:hover, 
#TB_ajaxContent .ui-button.ui-state-disabled:active {
	border-color: #ccc;
    background: #000;
    color: #fff;
}

#TB_ajaxContent .ui-state-default:not(.ui-state-active):hover,
#TB_ajaxContent .ui-state-default:not(.ui-state-active) a:hover {
	border-color: #d9dadb;
    background: #edecea;
    color: #000;
}


#TB_ajaxContent .ui-state-active,
#TB_ajaxContent .ui-state-active a, 
#TB_ajaxContent .ui-widget-content .ui-state-active, 
#TB_ajaxContent .ui-widget-header .ui-state-active, 
#TB_ajaxContent a.ui-button:active, 
#TB_ajaxContent .ui-button:active, 
#TB_ajaxContent .ui-button.ui-state-active:hover {
	border-color: #edecea;
    background: #d9dadb;
    color: #000;
}

#TB_window .downloadLink {
	font-style: italic;	
}

/* --- Ends TB Enhanced--- */
