﻿
/*
-------------------------------------------------------
File:     ie7hacks.css
Product:  Adlib Internet Server 6
Summary:  This file should include only the ugly hacks to support IE7
-------------------------------------------------------
*/


/*
-------------------------------------------------------
Menu Hack. To enable the menu to be centered on RTL mode
-------------------------------------------------------
*/

.ais-rtl #ais-menu-inner
{
  width: 750px;
}

.ais-navigator > .ais-navigator-inner > ul
{
  width: 100%;
}

.ais-navigator > ul
{
  width: 60px;
  display: block;
}

.ais-navigator > .ais-navigator-inner
{
  width: 540px;
  display: block;
}

.ais-ltr .ais-navigator > .ais-navigator-inner
{
  float: left;
}
.ais-rtl .ais-navigator > .ais-navigator-inner
{
  float: right;
}


/*
-------------------------------------------------------
Popup Lookup Hack. To enable display inline-block on navigation buttons.
Reference: http://flipc.blogspot.com/2009/02/damn-ie7-and-inline-block.html
-------------------------------------------------------
*/

#ais-popupwrapper .ais-navigator > ul > li
{
  zoom: 1;
  *display: inline;
}

/*
-------------------------------------------------------------------------------------
Hierarchy background images hack.
For some reason, in IE7 (and compatibility modes) the bg-image isn't shown,
unless there's a border around the element.
-------------------------------------------------------------------------------------
*/


.ais-selection-detail .hierarchy li.hierarchy-folder,
#ais-details .hierarchy li.hierarchy-folder
{
  border: 1px solid transparent;
}

/*
-------------------------------------------------------------------------------------
jQuery UI fixes for IE older version (and compatibility mode)
-------------------------------------------------------------------------------------
*/

.ui-dialog-titlebar,
.ui-widget-header 
{
  min-width: 300px;
}

