/* Heavy overrides 26.07.2018 */

/* Homepage login link - resolve this when code becomes uncontaminated */

/* =================================================================== */
.homepage.notloggedin .th_mega-menu li.login-link {
    left: 4px;
    text-align: right;
}

.th_mega-menu .th-dropdown.login, .th_mega-menu .th-dropdown.th_mega-register {
    text-align: right;
}

.th_mega-menu .th-dropdown.login {
    margin-left: 26px;
}

.th_mega-menu .th-dropdown.th_mega-register {
    margin-right: 0;
}

#footer img {

    /* This is important because it is realy important! */
    width: auto !important;
    height: auto !important;
}

div.search_other .search_input {
    margin-left: -18px;
}

/* Collection details fixes */
#collection_details .product .quick_view {
    background: rgb(186, 203, 101) none repeat scroll 0 0;
    border: 1px solid white;
    border-radius: 0;
    bottom: 3px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    display: none;
    font-family: eplicabookitalictt;
    font-size: 13px;
    font-weight: normal;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    padding: 2px 2px;
    position: absolute;
    left: 3px;
    width: auto;

    right: 3px;
    bottom: 3px;
}

@media all and (-ms-high-contrast:none), (-ms-high-contrast:active) {

    /* IE10 & IE11 CSS styles go here */

    /* Homepage login link position! */
    .homepage.notloggedin .th_mega-menu li.login-link {
        left: 212px !important;
        text-align: right;
    }
    
    .homepage.notloggedin .th_mega-menu li.login-link { left: auto !important; margin-right: 0; }
    
    /* Non home pages, user not logged .usernav width fix! */
    .header .header-bottom .usernav {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 207px !important;
        flex: 0 0 207px !important;
    }

    .homepage#top .header .header-bottom .usernav.notloggedin {
        -webkit-box-flex: 0 !important;
        -ms-flex: 0 0 348px !important;
        flex: 0 0 348px !important;
    }

    /* User not logged - login link position */
    .th_mega-menu .th-dropdown.login {
        margin-left: 24px !important;
        width: auto;
    }

    /* User not logged - register link position */
    .th_mega-menu .th-dropdown.th_mega-register, .th_mega-register {
        width: 50px;
        margin-right: 0;
    }

    /* Reducing link widths */
    .th_mega-menu .th-dropdown .th-dropdown-toggle {
        display: inline !important;
    }

    .th_mega-menu .th-dropdown .th-dropdown-menu {
        margin-top: 5px;
    }

    /* Not sure why */
    .header .header-bottom .usernav .username-display {

        /* margin-top: -10px;
        padding: 0 0 14px .5rem; */
    }

    .th_mega-menu .th-dropdown .th-dropdown-menu li a {

        /* This should fix text overlaping! For some reason, this never worked in IE! */
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        max-width: 150px;
    }


    #footer {
        top: 43px;
    }

    .th_mega-menu .th-dropdown.logout {
        margin-left: 85px;
        text-align: right;
        margin-right: 0;
    }

    .th_mega-menu .th-dropdown.logout a {
        margin-right: 0;
    }

}