/* CSS Fixes for IE 8 */

.ie8-only,
.ie7-8-only,
.ie7-8-9-only {
    display: block;
}

blockquote:before {    
    font-size: 28px;
}

body.queensweb-fullwidth #page {
    min-width: 1310px;
}

body.queensweb-fullwidth #section-header .container-12, 
body.queensweb-fullwidth #section-header .container-12 .region.grid-12 {
    min-width: 1200px;
}

#section-header .queens-wordmark {
    height: 58px;
    padding-bottom: 0;
    width: 489px;
}

body.queensweb-legacy-header #section-header .queens-wordmark {
    height: 35px;
    width: 296px;
}

#block-customsearch-internalmenu-form {
    float: right;
    width: auto;
}

body.queensweb-legacy-header #block-customsearch-internalmenu-form {
    margin-left: 35px;
}

#customsearch-internalmenu-block-form div.form-type-select {
    width: 150px;
    background-position: 130px center;      
}

#customsearch-internalmenu-block-form div.form-type-select select {
    padding-top: 0;
    max-width: none;
    width: 180px;           
}

#customsearch-internalmenu-block-form ul li.last {
    border: none;       
}

#internal-menu-links {
    width: auto;
    float: left;
    padding-bottom: 0;
}

#block-customsearch-customsearch-form {   
    float: none;    
    margin-top: 0;
    width: 510px;
}

body.queensweb-legacy-header #block-customsearch-customsearch-form {
    float: right;
    width: auto;
}

#customsearch-block-form input.form-radio {
    vertical-align: middle;
}

#block-customsearch-customsearch-form .form-item-search-terms,
body.queensweb-legacy-header #block-customsearch-customsearch-form .form-item-search-terms {    
    width: 14em;
}    

#block-customsearch-customsearch-form input.form-text,
body.queensweb-legacy-header #block-customsearch-customsearch-form input.form-text {    
    margin-left: 3px;    
}    

.region-menu .block-superfish,
body.queensweb-legacy-menu .region-menu .block-superfish,
.region-menu .block-nice-menus {
    filter: none;
    background: #FFF;
}    

body.queensweb-legacy-menu .region-menu .block-superfish,
.region-menu .block-nice-menus {
    background: #302f2e;
}


/* Nice Menus */

.region-menu ul.nice-menu li ul li {
    filter:alpha(opacity=80);
}

.region-menu ul.nice-menu li ul li a {
    filter:alpha(opacity=100);
}

.region-menu ul.nice-menu-down li li.menuparent:hover {
    filter:alpha(opacity=100);
} 

/* TODO: Ideally we wouldn't apply this rule, and would use a javascript solution to fix 
issue with IE8 when both width and max-width are set. */
article.node img {
    max-width: none;   
}    

.flex-direction-nav a.flex-prev:before, 
.flex-direction-nav a.flex-next:before {
    content: none;
}

.flex-direction-nav a {    
    background-color: transparent;
    background-image: url(../images/slideshow_nav.png);
    background-repeat: no-repeat;
    height: 55px;
    text-indent: 100%;
    width: 56px;        
}

.flex-direction-nav .flex-prev {
    background-position: -200px -100px;
}
.flex-direction-nav .flex-next {
    background-position: -300px -100px;
}

.flex-direction-nav .flex-prev:hover {
    background-position: 0 -100px;   
}
.flex-direction-nav .flex-next:hover {
    background-position: -100px -100px;
}

.flex-direction-nav-small .flex-direction-nav a {
    height: 44px;
    width: 43px;
}

.flex-direction-nav-small .flex-direction-nav .flex-prev {
    background-position: -200px 0;
}
.flex-direction-nav-small .flex-direction-nav .flex-next {
    background-position: -300px 0;
}

.flex-direction-nav-small .flex-direction-nav .flex-prev:hover {
    background-position: 0 0;
}
.flex-direction-nav-small .flex-direction-nav .flex-next:hover {
    background-position: -100px 0;
}

.flex-direction-nav-legacy .flex-direction-nav a {
    background-image: url(../images/bg_direction_nav_sm.png);           
    height: 35px;
    width: 35px;
}

.flex-direction-nav-legacy .flex-direction-nav .flex-prev, 
.flex-direction-nav-legacy .flex-direction-nav .flex-prev:hover {
    background-position: -2px -2px;
}
    
.flex-direction-nav-legacy .flex-direction-nav .flex-next,
.flex-direction-nav-legacy .flex-direction-nav .flex-next:hover {
    background-position: -51px -2px;
}

.flexslider-front-page .front-page-image.faded img {
    filter:alpha(opacity=30);
}

body.queensweb-fullwidth #section-footer .container-12, 
body.queensweb-fullwidth #section-footer .container-12 .grid-12 {
    min-width: 1200px;
}

.footer-contact-block.footer-contact-list-block a:hover:before {
    text-decoration: none;
}