/* --- start cross-browser fixes */

.ie9 * {
    filter: none;
}
.lt-ie9 body.page-frontpage {
    background: none transparent !important;
}

.lt-ie9 body.page-frontpage #bg_ie8 {
    background: url(../img/bg.jpg) no-repeat center top fixed;
    background-size: cover;
    -ms-behavior: url(sites/default/themes/wcc/css/backgroundsize.min.htc);
    position: fixed;
    z-index: -1;
  	top: 0;
  	left: 0;
  	width: 100%;
  	height: 100%;
}

.lt-ie9 .top-bar {
    background: #0B183F;
}
.lt-ie9 .search-box .form-text {
    line-height: 64px;
}
.lt-ie9 .search-box.search-box-small .form-text {
    line-height: 30px;
}
.lt-ie9 .collections-page .page-title {
    -ms-behavior: url(sites/default/themes/wcc/css/backgroundsize.min.htc);
}
.lt-ie9 .collections-page .page-title h1,
.lt-ie9 .collections-page .page-title h2,
.lt-ie9 .collections-page .page-title h1:before,
.lt-ie9 .collections-page .page-title h1:after,
.lt-ie9 .collections-page .page-title h2:before,
.lt-ie9 .collections-page .page-title h2:after {
    background: url(../img/black60.png);
}
.lt-ie9 #wcc-planning-form-pre-app #edit-prev,
.lt-ie9 #wcc-planning-form-pre-app #edit-finish,
.lt-ie9 #wcc-planning-form-pre-app #file_upload_step_submit {
    max-width: 46%;
}
.lt-ie9 #postcode-lookup-button {
	height: 40px;
}
.lt-ie9 #wcc-planning-form-pre-app #postcode-lookup-button {
    max-width: 158px;
}
.lt-ie9 .search-form #edit-actions:before {
    background: #528dcf;
    top: 0;
    height: 100%;
    line-height: 110%;
}
.lt-ie9 .search-form #edit-actions:hover:before {
    background: #2457b5;
}
.lt-ie9 .search-form #edit-actions input {
    background: none !important;
}
.lt-ie9.lt-1080 .beta-wrapper .row {
    margin-left: 70px;
}
.lt-ie9 .beta-wrapper {
    min-height: 80px;
}
.lt-ie9 input.webform-calendar {
    top: 0;
}
.lt-ie9 .collections-page .page-title h1 {
    padding-top: 24px;
}

/* feedback button */
.lt-ie9.gt-1080 .wrapper {
    padding-bottom: 0;
}
.lt-ie9.gt-1080 .feedback-button.desktop {
    display: block;
}
.lt-ie9.gt-1080 .feedback-button.mobile {
    display: none;
}

/* --- end cross-browser fixes */


/* --- start other fixes */

/* Fixes for frontpage 10.12.2013 */

.home-sections tbody {
    border-top: 0;
}
#all-results {
    display: none;
}
.home-sections td a.tabledrag-handle .handle {
    margin-top: 20px;
    background-size: 20px;
    background-position: 3px 0px;
}


/* align weight option on collection listing */

#views-form-collection-page-page .views-field-title {
    position: relative;
}

#views-form-collection-page-page .views-field-draggableviews {
    position: relative;
    float: right;
    margin-top: -60px;
}

.view-report-it .views-field-draggableviews {
    position: relative;
    margin-top: -49px;
    margin-left: -60px;
    height: 52px;
}

.view-report-it .views-field-draggableviews select:hover {
    background: #e1ac0c;
}

.view-report-it .views-field-draggableviews select {
    position: relative;
    top: -12px;
    height: 60px;
    width: 60px;
    background: #fecb00;
    padding: 8px;
}

.draggableviews-processed li.views-row.ui-sortable-helper {
    border: 1px dotted blue;
    margin-top: 230px !important;
}

/* --- end other fixes */

/* ==========================================================================
   Helper classes
   ========================================================================== */
.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}
.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
.text-right {
    text-align: right;
}

#admin-menu {
    z-index: 9999;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    /*a,
    a:visited {
        text-decoration: underline;
    }*/
    /*a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }*/

    /*
     * Don't show links for images, or javascript/internal links
     */
    /*.ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    @page {
        margin: 0.5cm;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }*/
}