MediaWiki:Common.css: Difference between revisions

From Wiki The-West EN
Jump to navigation
No edit summary
No edit summary
Line 2,697: Line 2,697:
table.quest {
table.quest {
     width: 100%!important;
     width: 100%!important;
}
@media screen and (max-width: 720px) {
    .mw-body {
        padding: 5px 5px 5px;
    }
}
}

Revision as of 19:30, 12 August 2023

/* CSS placed here will be applied to all skins */

/* HEADER AND TOP NAVIGATION */
    #mirage-fixed-header {
        background-color: #c9b997;
        box-shadow: none;
    }

    #mirage-top-header {
        background-image: url("/skins/MirageWest/images/page-bgtile.png");
    }

    /* Respect width of logo */
    img.mw-logo-icon {
        width: inherit;
    }

    .mw-wordmark-container span.mw-logo-wordmark {
        color: #3d2718;
    }

    /* Remove duplicated logo and word mark from main page */
    #mirage-navigation-header #mirage-logo,
    #mirage-navigation-header .mw-logo-wordmark {
        display: none;
    }

    .skin-mirage-dropdown-list a {
        font-weight: normal;
    }

    div#right-navigation {
        background-color: transparent;
    }

    li.mw-list-item,
    li.skin-mirage-dropdown-container {
        background: #c9b997;
    }

    div#module-site-tools li.mw-list-item,
    #module-site-tools > ul > li:last-child {
        border-color: black;
    }

    div.skin-mirage-dropdown-list > ul > li.mw-list-item {
        background: none;
    }

    /* Move wiki navigation menus to same line as logo */
    div#module-site-navigation {
        /* margin-top: -2.5rem; */
    }

    /* Limit space used by site navigation to avoid overlapping buttons, and move navigation to the right slightly */
    div#module-site-navigation.skin-mirage-mirage-navigation {
       /* max-width: 70%; */
        margin-left: 10px;
    }

    /* Move Right Navigation (edit button etc.) in line with Recent changes */
    div#right-navigation {
        position: absolute;
        margin-right: 15px;
        margin-top: -1.25rem;
        right: 0px;
    }

    /* Recent Changes button text */
    #module-site-tools > ul > li:nth-child(1) > a {
        color: #5f391a;
    }

    /* Edit button row hover styling */
    #p-views > ul > li:hover,
    #mirage-right-rail-button:hover {
        background-color: rgba(255,255,255,0.15);
        color: #404244;
        border-color: black;
    }

    /* Have to set this color back to transparent to ensure no text shows on the right rail button on hover */
    #mirage-right-rail-button:hover {
        color: transparent;
    }

    /* Adjust color for Recent Changes icon */
    .skin-mirage-ooui-icon-recentChanges:before {
        background-image: url(/load.php?modules=skin.mirage.icons&image=recentChanges&format=rasterized&lang=en&skin=fallback&version=14jep);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E recent changes %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M1 3h16v2H1V3Zm0 6h11v2H1V9Zm0 6h7v2H1v-2Zm17.8-3.1 1-1.1a.6.6 0 0 0 0-.8L18 8.2a.6.6 0 0 0-.8 0l-1 1 2.6 2.7Zm-3.3-2L10 15.3V18h2.6l5.6-5.5-2.7-2.7Z%22/%3E%3C/g%3E%3C/svg%3E");
    }

    /* Adjust color for Special Pages icon */
    .skin-mirage-ooui-icon-specialPages:before {
        background-image: url(/load.php?modules=skin.mirage.icons&image=specialPages&format=rasterized&lang=en&skin=fallback&version=dk89p);
        background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E special pages %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath fill=%22%235f391a%22 d=%22M7 0a2 2 0 0 0-2 2h9a2 2 0 0 1 2 2v12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z%22/%3E%3Cpath fill=%22%23fill%22 d=%22M13 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2zm-6.5-3.5.41-1.09L8 15l-1.09-.41-.41-1.09-.41 1.09L5 15l1.09.41.41 1.09zm2.982-.949.952-2.561 2.53-.964-2.53-.964L9.482 8.5l-.952 2.562-2.53.964 2.53.964.952 2.561zM6 10.5l.547-1.453L8 8.5l-1.453-.547L6 6.5l-.547 1.453L4 8.5l1.453.547L6 10.5z%22/%3E%3C/g%3E%3C/svg%3E")
    }

    /* Adjust color for Random Page icon */
    .skin-mirage-ooui-icon-die:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=die&format=rasterized&skin=fallback&version=14jep);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E die %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M3 1a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm2 16a2 2 0 1 1 2-2 2 2 0 0 1-2 2zM5 7a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm5 5a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm5 5a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm0-10a2 2 0 1 1 2-2 2 2 0 0 1-2 2z%22/%3E%3C/g%3E%3C/svg%3E");
    }

    /* Adjust color for three dots menu icon */
    .skin-mirage-ooui-icon-ellipsis:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=ellipsis&format=rasterized&skin=fallback&version=14jep);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E ellipsis %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Ccircle cx=%2210%22 cy=%2210%22 r=%222%22/%3E%3Ccircle cx=%223%22 cy=%2210%22 r=%222%22/%3E%3Ccircle cx=%2217%22 cy=%2210%22 r=%222%22/%3E%3C/g%3E%3C/svg%3E");
    }


    /* Background color for Edit Button and Right Rail collapse/expand button */
    #mirage-edit-button > li,
    #mirage-right-rail-button {
        /* background-image: url("/skins/MirageWest/images/page-bgtile.png"); */
        background: #c9b997;
    }

    /* Border color definitions for the top navigation buttons */
    #mirage-edit-button > li,
    #mirage-edit-button > li + li,
    #mirage-edit-button > li:first-child,
    #mirage-edit-button > li:last-child,
    #mirage-edit-button > li:hover,
    #mirage-edit-button > li + li:hover,
    #mirage-edit-button > li:hover:first-child,
    #mirage-edit-button > li:hover:last-child,
    #mirage-right-rail-button,
    #mirage-right-rail-button:focus {
        border-color: black;
    }

    /* Hover color for Edit button */
    #mirage-edit-button > li:first-child a:hover {
        color: black;
    }

    /* Color for Edit button */
    #mirage-edit-button > li:first-child a {
        color: #5f391a;
    }

    /* Adjust color for Edit icon */
    .skin-mirage-ooui-icon-edit-invert:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=edit&variant=invert&format=rasterized&skin=fallback&version=dk89p);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E edit %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22m16.77 8 1.94-2a1 1 0 0 0 0-1.41l-3.34-3.3a1 1 0 0 0-1.41 0L12 3.23zM1 14.25V19h4.75l9.96-9.96-4.75-4.75z%22/%3E%3C/g%3E%3C/svg%3E");
    }

    /* Adjust color for Watch icon */
    .skin-mirage-ooui-icon-star-invert:before,#ca-watch a:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=star&variant=invert&format=rasterized&skin=fallback&version=dk89p);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E star %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M20 7h-7L10 .5 7 7H0l5.46 5.47-1.64 7 6.18-3.7 6.18 3.73-1.63-7zm-10 6.9-3.76 2.27 1-4.28L3.5 8.5h4.61L10 4.6l1.9 3.9h4.6l-3.73 3.4 1 4.28z%22/%3E%3C/g%3E%3C/svg%3E")}

    /* Adjust color for Unwatch icon */
    .skin-mirage-ooui-icon-unStar-invert:before,#ca-unwatch a:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=unStar&variant=invert&format=rasterized&skin=fallback&version=dk89p);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E un-star %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M20 7h-7L10 .5 7 7H0l5.46 5.47-1.64 7 6.18-3.7 6.18 3.73-1.63-7z%22/%3E%3C/g%3E%3C/svg%3E")}

    /* Adjust color for "More" menu icon */
    .skin-mirage-ooui-icon-indicator-down-invert:before {
        background-image:url(/load.php?modules=skin.mirage.indicators&image=down&variant=invert&format=rasterized&skin=fallback&version=1h8wn);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E%3Ctitle%3E down %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M9.9 2.9 6 6.8 2.1 2.9 1 4l5 5 5-5z%22/%3E%3C/g%3E%3C/svg%3E");
    }

    /* Adjust color for Right Rail button icon */
    .skin-mirage-ooui-icon-doubleChevronEnd:before {
        background-image:url(/load.php?modules=skin.mirage.icons&image=doubleChevronEnd&format=rasterized&lang=en&skin=fallback&version=14jep);
        background-image:linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E double chevron start %3C/title%3E%3Cg fill=%22%235f391a%22%3E%3Cpath d=%22M11 2 9.7 3.3l6.6 6.7-6.6 6.7L11 18l8-8zM2.5 2 1 3.3 7.8 10l-6.7 6.7L2.5 18l8-8z%22/%3E%3C/g%3E%3C/svg%3E");
    }


    /* Hide the editLock icon that doesn't want to be edited for some unexplainable reason */
    .skin-mirage-ooui-icon-editLock-invert:before { 
        display: none;
    }

    /* Dropdown list for history, deletion, protection etc. */
    li#ca-history,
    li#ca-delete,
    li#ca-move,
    li#ca-protect {
        background: none;
    }

    /* Remove Main Page header from Main page */
    body.page-Main_Page .mw-page-title-main {
        display: none;
    }


    /* Remove the Page and Discussion buttons from all pages */
    div#left-navigation nav#p-namespaces {
        display: none;
    }

    #module-page-navigation {
        margin: 0;
    }


    /* Styling of username when logged in / don't show username */
    #mirage-fixed-header .skin-mirage-username {
        color: orange;
        display: none;
    }

    /* Styling for background of dropdown on username/not logged in */
    .skin-mirage-personaltools-dropdown li {
        background: none;
    }

    /* Text color of dropdown on username/not logged in */
    li#pt-login {
        color: black;
    }

    /* Text color on dropdown when no new messages */
    .skin-mirage-no-new-messages {
        color: black;
    }

    /* Main background */
    body {
        background-attachment: fixed;
        background-image: 
            url("/skins/MirageWest/images/bg-cover-right.png"), 
            url("/skins/MirageWest/images/bg-cover-left.png"),
            url("/skins/MirageWest/images/bg-cover-bottom.png"),
            url("/skins/MirageWest/images/background.jpg");
        background-position: right center,left center,center bottom,center center;
        background-size: auto,auto,auto,cover;
        background-repeat: repeat-y,repeat-y,repeat-x,no-repeat;
    }

/* GENERAL ARTICLE STYLING */
    main#content.mw-body, 
    main#content.mw-body-content,
    #mirage-navigation-header,
    #module-page-navigation,
    .skin-mirage-content-container {
        background-image: url("/skins/MirageWest/images/page-bgtile.png");
    }

    p, 
    h1, 
    h2, 
    h3, 
    h4, 
    h5, 
    h6, 
    li, 
    i {
        color: #3d2718;
    }

    h1,
    h2,
    .skin-mirage-right-rail-module h3,
    hr {
        border-color: #a6805a;
    }

    
    p a, 
    p a:visited,
    li a,
    li a:visited {
        color: #3d2718;
        font-weight: bold;
    }

    p a:hover {
        color: #3d2718;
    }

     /* Warning on MediaWiki:Custom.css page */
    .mw-editinginterface {
        color: #3d2718;
    }

    /* Table of Contents styling */
    .toc {
        background-color: #c9b997;
    }

    .toc h2 {
        color: black;
    }

    .toc li a,
    .toc li a:visited,
    .toctogglelabel {
        color: #5f391a;
    }


    /* In-article edit icon styling */
    a.skin-mirage-ooui-icon.skin-mirage-ooui-icon-edit.skin-mirage-ooui-icon-small,
    a:visited.skin-mirage-ooui-icon.skin-mirage-ooui-icon-edit.skin-mirage-ooui-icon-small {
        color: #3d2718;
    }

    a:hover.skin-mirage-ooui-icon.skin-mirage-ooui-icon-edit.skin-mirage-ooui-icon-small {
        color: #3d2718;
    }


/* TABLE STYLING */
    table th {
        font-weight: normal;
        background-color: #b99968; 
        color: #5e321a;
        padding: 10px;
    }

    /* Special .announcement class table on the Main Page */
    th.announcement {
        font-weight: bold;
    }

    table td .announcement { 
        color: #5e321a;
    }

    table td, 
    table th {
        text-align: center;
        padding: 5px;
        box-shadow: 0px 0px 1px 1px rgba(255,255,255,0.1) inset;
        background-color: #d4ba91 !important;
    }

    td, 
    th {
        padding: 0;
    }

    td {
        display: table-cell;
        vertical-align: inherit;
    }

    table {
        display: table !important; 
        width: 100%;
        border-collapse: separate;
        border-spacing: 1px !important;
        margin-bottom: 4px;
        border-radius: 3px;
    }

    table center {
        color: #5e321a;
    }

    table a,
    table a:visited {
        color: #3d2718;
    }

    table a:hover {
        color: #1480a4;
    }

/* RIGHT RAIL STYLING */
    #mirage-right-rail {
        background-image: url("/skins/MirageWest/images/page-bgtile.png");
    }

    #mirage-right-rail a,
    #mirage-right-rail a:visited {
        color: #3d2718;
    }

    #mirage-right-rail a:hover {
        color: #3d2718;
    }

    /* Remove background color on Page tools section of Right Rail */
    .skin-mirage-module-body ul.skin-mirage-unstyled-list > li {
        background: none;
    }


/* FOOTER STYLING */
    footer {
        display: grid;
        align-content: center;
        justify-content: center;
        justify-items: center;
        margin-top: -25px;
    }
     
    footer.mw-footer {
        background-color: transparent;
        box-shadow: none;
        align-content: center;
    }

    #footer-info-lastmod,
    #footer-info-copyright,
    #footer-places-privacy,
    #footer-places-about,
    #footer-places-disclaimer {
        display: inline-block;
        margin-right: 15px;
    }

    footer ul.skin-mirage-unstyled-list#footer-info {
        margin-right: 0px;
        color: #c9b997;
        text-shadow: 1px 1px 1px black;
    }

    div#footer-places {
        margin-right: auto;
        margin-left: auto;
    }
     
    .mw-footer p,
    .mw-footer h3 {
        color: black;
    }
     
    .mw-footer a {
        color: #c9b997;
        font-weight: normal;
    }
     
    .mw-footer a:hover {
        color: #c9b997;
    }

    .mw-footer li {
        line-height: 1 !important;
    }
     
    div#footer-places {
        margin-left: initial;
    }

    h3#footer-places-label {
        display: none;
    }

    li#footer-info-lastmod {
        color: #c9b997;
    }


/* CSS placed here will be applied to all skins */
/* Wiki */
h1,h2 {
    color: #ffdead;
    background-color: #301506;
    padding-left: 10px;
    margin-top:5px;
    border-bottom: none;
    font-weight:normal;
}
/*Advanced search fix*/
#page-wrapper .tbbox-content {
    z-index: 4;
}
#ooui-php-1 {
    height: auto;
}

/*Recent changes, special sites buttons*/
div#jump-to-nav {
    display: none;
}
.oo-ui-widget {
    z-index: 4;
}
.mw-ui-button {
    width: auto;
    font-size: inherit;
    position: relative;
    margin: 0;
}
/* */
.mw-body a, .mw-body a.external {
    color: #804000;
}
#mw-content-text a, #mw-content-text a.external {
    font-weight: bold;
}
#document-wrapper {
    padding: 0 225px 0 20px;
    margin:0 auto;
    max-width: 1250px;
    min-width:880px;
}
#searchText {
 width: 80%;
 z-index: 10;
}
div.oo-ui-menuSelectWidget {
 margin-top: 40px;
}
input.oo-ui-inputWidget-input {
 width: 65%;
}
div.tbbox-rafter {
 display: none;
}
body {
background-image: url(https://wiki.the-west.net/skins/thewest/images/bg-cover-right.png),url(https://wiki.the-west.net/skins/thewest/images/bg-cover-left.png),url(https://wiki.the-west.net/images/f/f1/NewCoverBgBottom.png),url(https://wiki.the-west.net/images/d/d5/NewMainBg.jpg);
}
.tribal-button {
    width: 190px !important;
}
.with-button .tbbox-headline {
    width: 100% !important;
}
#toc{
   display:inline-block;
   width: auto;
}
table {
    width: auto;
}
.mw-collapsible {
    display:inline-block;
}
.mw-collapsible-toggle {
    margin-left:10px;
}
table.transparent, table.transparent > tbody > tr > td {
   border:none;
   background:none !important;
}
table.transparent { width:100%;}
div.tbbox-logo {z-index:100;}
@media screen and (max-width: 1100px) {
  table.transparent > tbody > tr > td {
    display:block;
  }
}
/*Sitenotice */
/* div#dock { */
    /* position:relative !important; */
    /* right: 0 !important; */
    /* margin: 0 !important; */
    /* width: 173px !important; */
    /* padding-top: 5px !important; */
    /* height: auto !important; */
    /* background: url(/skins/thewest/images/headline-bgtile.png?1cd53) repeat !important; */
    /* box-shadow: inset 0em 0em 1.2em 0.2em #140a05, 0 0 2px 1px #000000b3 !important; */
    /* z-index: 500; */
/* } */
/* div.dock-btn { */
    /* display: inline-block !important; */
    /* width: 52px !important; */
    /* height: 52px !important; */
    /* margin:-1px; */
    /* background: url(https://wiki.the-west.net/images/a/a2/Dock_buttons.png) no-repeat !important; */
/* } */
/* div.dock-btn:hover { */
   /* background-position-x:-52px !important; */
/* } */
/* div.dock-btn > a > span { */
    /* display: block !important; */
    /* width: 52px !important; */
    /* height: 52px !important; */
    /* background: url(https://wiki.the-west.net/images/a/a7/Dock_icons.png) !important; */
/* } */
#siteNotice {
    position: absolute;
    left: 0;
    margin-left: 100%;
}
#siteNotice div.mw-parser-output {
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    top: -115px !important;
}
#siteNotice div.mw-parser-output:hover {
    background: none !important;
}
#right_menu {
    padding:0 !important;
    margin:0 20px 0 30px !important;
    background: none !important;
    height:auto !important;
}
#right_menu .innogames-headline {
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-image-slice: 4 !important;
    border-image-source: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAECAIAAABz8up3AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QsREQkqmSTYtAAAAEZJREFUGNNjtLfQYcAAP37+4mBnY6AlYHz/5gUBFYyMWMX///+PX83///8h4sgq4YDl+OHdxLgP01jcKv8T5WMDLUWGgQAACj4ULl9i6ucAAAAASUVORK5CYII=) !important;
}
#localNotice #miniLogo { background-image: none; margin-top: -9px;}
.innogame { height: 38px !important;}
.innogame a { text-decoration: none; display: block; padding:8px 0 9px 0;}
.socialBar { background: none !important;}

/* Item Popup */
div.tw_bg_tl,
div.tw_bg_tr,
div.tw_bg_bl,
div.tw_bg_br {
    background-image: url(https://wiki.the-west.net/images/6/68/Popup.png);
    position: absolute;
    z-index: -1;
}
.tw_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tw_bg_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tw_bg_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tw_bg_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
div.popup_window {
    position: absolute;
    display: none;
    margin: 0;
    min-width: 200px;
    white-space: nowrap;
    z-index:1000;
}
div.item_container {
    height: 79px;
    width: 79px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}
div.item_container.wear {
    height: 93px;
    width: 94px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/8/82/Item_box_wear.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.wear2 {
    height: 138px;
    width: 95px;
    position: relative;
    background-image: url(https://wiki.the-west.net/images/5/54/Item_box_wear2.png);
    background-repeat: no-repeat;
    display: inline-block;
}
div.item_container.empty {
    background-image: none;
}
div.item_container > img {
    position: absolute;
    top: 3px;
    left: 3px;
}
div.item_container.item_off > img {
    filter:sepia(1) opacity(35%);
}
div.item_container.wear > img,
div.item_container.wear2 > img {
    top: 0 !important;
    left: 0 !important;
}
div.item_container:hover div.popup_window {
    left: 120%;
    top: 10px;
    z-index: 10;
    display: block;
}
div.popup_contents {
    margin: 25px;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
}
div.popup_contents * {
    margin: 0;
}
div.popup_image {
    background-image: url(https://wiki.the-west.net/images/e/ec/Item_box.png);
    background-repeat: no-repeat;
    width: 79px;
    height: 79px;
    margin: auto;
}
.popup_divider {
    width:124px;
    height:6px;
    margin-top:4px !important;
    background-image: url(https://wiki.the-west.net/images/c/c1/Divider.png);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block;
}
div.popup_image img {
    padding-top: 3px;
    padding-left: 4px;
}
.popup_attribute {
    text-align: left;
    padding-left: 7px;
    font-size: 12px;
    color: #070;
    font-weight: bold;
}
.popup_skill {
    text-align: left;
    padding-left: 18px;
    font-size: 11px;
    color: #070;
}
.popup_type {
    font-style: italic;
    font-size: 8pt;
    text-align: center;
}
.popup_name {
    font-size: 13px;
    color: #070;
    font-weight: bold;
    text-align: center;
    padding-top: 4px;
}
.popup_infos {
    text-align: center;
}
.popup_id {
    color: blue;
}
.popup_set {
    color: #800080 !important;
    font-weight: bold !important;
}
.popup_speed {
    color: #8b4513;
}
.popup_fb {
    color: #8b4513;
    font-weight: bold;
}
.popup_fb_stats {
    color: #8b4513;
    font-weight: bold;
}
.popup_dmg {
    font-weight: bold;
    text-align: center;
}
.popup_text {
    color: #007777;
    white-space: normal;
    max-width: 250px;
    margin: auto !important;
}
.item_number {
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 10;
    font-size: 16pt;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 2px #000;
}
.popup_bonus {
    color:#8b4513;
}
.popup_job {
    display:inline-block;
    border-radius: 3px;
    border: 1px solid #804000;
    padding-top: 3px;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_job img {
    width:50px;
    height:50px;
}
.popup_job .item_req > img {
    position: absolute;
    width: 45px;
    height: 45px;
    top: 3px;
    left: 3px;
}
.popup_crafteditem {
    display:inline-block;
    background: none;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
.popup_crafteditem table {
    border-radius: 3px;
    border: 1px solid #804000;
    text-align: center;
}
.popup_txtgreen {
    color: green;
}
.popup_txtred {
    color: #900;
}
/* Sets */
.set_container {
    position:relative;
    width: 276px;
    height: 395px;
    box-shadow: 0 0 65px #cdbe9f inset, 0 0 20px #beae8c inset, 0 0 5px #816f47;
    border-radius: 10px;
}
table.infoSet {
    box-shadow: 2px 2px 4px #000;
    margin: 0 0 15px !important;
}
table.infoSet > tbody > tr > td {
    background-color: #d4ba91 !important;
    padding:0;
}
table.infosetatt {
    border: none;
    background: none !important;
    margin: 3px !important;
}
table.infosetatt > tbody > tr > th {
    color: #ffdead !important;
    background-color: #301506 !important;
    padding-top:0;
    padding-bottom:0;
}
table.infosetatt > tbody > tr > td {
    padding:0;
    border:none;
}
div.set_bonus {
    border:1px solid #997146;
    width:40px;
    text-align:center;
    background-color:#4E3E26;
    color:#fff;
    font:12px arial;
    float:left;
}
/* Set bonus tooltip */

div.tt_bg_tl,
div.tt_bg_tr,
div.tt_bg_bl,
div.tt_bg_br {
    background-image: url(https://wiki.the-west.net/images/f/fc/Tooltip_bg.png);
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
}
.tt_bg_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.tt_bg_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.tt_bg_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.tt_bg_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
.tooltip_outer {
    position: absolute;
    left: 50%;
    bottom: 100%;
    margin-bottom: 8px;
    z-index: -1;
}
.tooltip {
    position: relative;
    padding: 10px 13px 12px 13px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .15s ease-in-out;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
    -moz-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
    white-space: nowrap;
    max-width: 350px;
    left: -50%;
    color: black;
}
.tooltip::after {
    content: " ";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: -4px;
    margin-left: -11px;
    background-image: url(https://wiki.the-west.net/images/3/32/Tooltip_arrow.png);
    width: 22px;
    height: 11px;
}
.tooltip_container {
    position: relative;
}
.tooltip_container:hover .tooltip {
    visibility: visible;
    -webkit-transition: opacity .15s ease-in-out 0.4s;
    -moz-transition: opacity .15s ease-in-out 0.4s;
    transition: opacity .15s ease-in-out 0.4s;
    opacity: 1;
}
.tooltip_container:hover > .tooltip_outer {
    z-index: 1000;
}
.per_level:after {
    content: "(per Level)";
}
/* Quest templates */
.item_border {
    position: relative;
    display: inline-block;
    margin: 1px;
    width: 79px;
    height: 79px;
}
.item_border .amount {
    margin:0;
    position: absolute;
    bottom: 2px;
    left: 6px;
    text-shadow: black 1px 1px 1px;
    font-size: 18px;
    color: white;
    font-weight: bold;
}
.item_border2 {
    position: relative;
    display: inline-block;
    margin: 1px;
    width: 60px;
    height: 60px;
}
.item_border2 .amount {
    margin:0;
    position: absolute;
    bottom: 2px;
    left: 6px;
    text-shadow: black 1px 1px 1px;
    font-size: 14px;
    color: white;
    font-weight: bold;
}
.item_border2.inv:before {
    content:url(https://wiki.the-west.net/images/7/70/ItemBorder_Inv.png);
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 1;
}
.item_border2.eqp:before {
    content:url(https://wiki.the-west.net/images/6/63/Product_Eqp.png);
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 1;
}
/* Set switch duel weapon */

#switch {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
#switch_prod {
    position: absolute;
    top: 30px;
    left: 195px;
    cursor: pointer;
}
/* Inputs */

#input_level,
#input_search {
    display: inline-block;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top left no-repeat;
    height: 30px;
    width: 12px;
}
#input_search {
    /*  position: absolute; */
    /*  right: 250px; */
    margin-right: 180px;
    float: right;
}
input.west, select.west {
    background: url(https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png) top right no-repeat;
    height: 30px;
    width: 180px;
    margin-left: 12px;
    padding: 0 8px 0 0;
    border: 0;
    outline: none;

}
/* What's new banner*/

.info_banner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.ring {
    position: relative;
    width: calc(var(--cir) * 2 + 10px);
    height: var(--hei);
    margin: 20px;
    border-radius: 20px;
    transition: 0.5s;
    transition-delay: 0.5s;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.ring:hover {
    width: var(--wid);
    transition-delay: 0s;
}
.ring .circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ring .circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--clr);
    clip-path: circle(var(--cir) at center);
    transition: 0.5s;
}
.ring:hover .circle::before {
    clip-path: circle(400px at center);
}
.ring .circle .logo img {
    position: relative;
    transition: 0.5s;
    transition-delay: 0.5s;
}
.ring:hover .circle .logo img {
    transform: scale(0);
    transition-delay: 0s;
}

/* .content { */
    /* position: relative; */
    /* width: 45%; */
    /* left: 20%; */
    /* padding: 20px 20px 20px 40px; */
    /* opacity: 0; */
    /* transition: 0.5s; */
    /* visibility: hidden; */
/* } */
/* .ring:hover .content { */
    /* left: 0; */
    /* opacity: 1; */
    /* visibility: visible; */
    /* transition-delay: 0.5s; */
/* } */
/* .content h2 { */
    /* background: none; */
    /* color: #fff; */
    /* font-size: 2.5em; */
    /* line-height: 1em; */
/* } */
/* .content p { */
    /* color: #fff; */
/* } */

.content .explore {
    position: relative;
    color: #111;
    background: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
}
.ring .content_img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 0.5s;
    transition-delay: 0s;
}
.ring:hover .content_img img {
    left: 75%;
    transform: translate(-50%, -50%) scale(1);
    transition-delay: 0.5s;
}
/* Set icon */

.set_icon_sprite {
    display:inline-block;
    position: relative;
    margin-top:3px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 5px;
    background:url("https://wiki.the-west.net/images/e/ee/Set_icons_sprite_202.png");
}
.set_icon_sprite:hover {
     background-color: #FFEECC;
}
.set_icon_sprite.new_set:before {
    content:"";
    display:block;
    position:absolute;
    width:36px;
    height:34px;
    right:0;
    top:0;
    background:url(https://wiki.the-west.net/images/c/c7/New_set.png) no-repeat;
    background-size:contain;
    pointer-events:none;
}
.warning_message {
    color: white;
    display: inline-block;
    padding: 12px 12px 12px 12px;
    border: 1px solid black;
    background: red;
    background: -webkit-linear-gradient(#db1616, #831919);
    background: -o-linear-gradient(#db1616, #831919);
    background: -moz-linear-gradient(#db1616, #831919);
    background: linear-gradient(#db1616, #831919);
}
/* Upgrade */
.item_level {
    position: absolute;
    display:block;
    top: 4px;
    left: 2px;
    height: 13px;
    line-height: 13px;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
    font-size: 12px;
    padding: 1px 2px 0 2px;
    color: #ffffff;
    font-weight: normal;
    box-shadow: 1px 1px 3px #000000;
    border-radius: 0 0 2px 0;
    text-shadow: black -1px 0 1px, black 0 1px 1px, black 1px 0 1px, black 0 -1px 1px;
    white-space: nowrap;
    z-index: 1;
}
.icon_level {
    display: inline-block;
    width: 15px;
    height:12px;
    background:url(https://westzz.innogamescdn.com/images/items/item_level.png);
    margin-right: 2px;
}
.level {
    vertical-align: top;
}
.upgrade {
    display: inline-block;
    width:12px;
    height: 12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 0 12px;
    margin: 0 2px 0 1px;
    cursor: pointer;
}
.upgrade:hover {
    background-position-y:0;
}
.downgrade {
    display: inline-block;
    width:12px;
    height:12px;
    background: url(https://wiki.the-west.net/images/c/ca/Upgrade_icons.png) 12px 12px;
    margin: 0 0 0 2px;
    cursor: pointer;
}
.downgrade:hover {
    background-position-y:0;
}

.item_container[data-lvl="0"] .item_level {
    display:none;
}
.item_container:hover .item_level {
    display:block;
}
.item_container .upgrade, .item_container .downgrade {
    display:none;
}
.item_container:hover .upgrade, .item_container:hover .downgrade {
    display:inline-block;
}
div.set_container div.item_container > img {
    cursor:pointer;
}
div.mw-collapsible > b {
    color:#5e321a;
    font-size:16px;
}
.navbar_items {
    width: 392px;
    height: 89px;
    padding: 10px;
    background: url(https://wiki.the-west.net/images/b/ba/Navbar_items.png) no-repeat;
}
.navbar_items .link_icon {
    display:inline-block;
    position: relative;
    width: 42px;
    height: 43px;
    cursor: pointer;
    background:url(https://wiki.the-west.net/images/8/87/Navbar_items_icons.png);
}
.navbar_items .link_icon:hover, .navbar_items .active{
     background-position-y:-43px;
}

.wiki-title {
    position:relative;
    max-width: 800px;
    height: 49px;
    background: url(https://wiki.the-west.net/images/b/b3/Title.png) no-repeat;
    background-size: 100% 100%;
    padding: 0;
    margin: auto;
    border: none;
}
#popup_plain {
    position:relative;
    display:inline-block;
}
div.achievement {
    display: inline-block;
    position: relative;
    vertical-align:top;
    font-family: Arial, Verdana, sans-serif;
    width:424px;
    min-height: 120px;
    text-align: center;
    text-shadow: black 1px 1px 1px;
    font-weight: bold;
    color: white;
    z-index: 3;
    margin:2px -1px 2px -1px;
}
div.ach-background {
    width: 100%;
    position: absolute;
    background-image: url(https://wiki.the-west.net/images/c/c8/Achievement_Background.png);
    left: 0;
    z-index: -1;
}
div.ach-top{
    top: 0;
    bottom: 10px;
    background-position: top;
}
div.ach-btm {
    bottom: 0;
    height: 10px;
    background-position: bottom;
}
.tw2gui_button {
    display: inline-block;
    position: relative;
    height: 36px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
    cursor: pointer;
    min-width:150px;
    max-width:330px;
}
.tw2gui_button_left_cap,.tw2gui_button_right_cap {
    position: absolute;
    width: 50%;
    height: 36px;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/button/button_normal.png) 0 0;
    left: 0;
}
.tw2gui_button_right_cap {
    left: 50%;
    background-position: right top;
}
.tw2gui_button_middle_bg {
    position: absolute;
    width: 18px;
    height: 36px;
    margin-left: -9px;
    left: 50%;
    background: url(https://westzz.innogamescdn.com/images/tw2gui/button/button_mid_normal.png) 0 0 no-repeat;
}
.tw2gui_button:hover .tw2gui_button_right_cap,
.tw2gui_button:hover .tw2gui_button_left_cap {
    background-image:url('https://westen.innogamescdn.com/images/tw2gui/button/button_highlight.png');
}
.textart_title {
    position: relative;
    color: #FFE7B1;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 9px;
    text-align: center;
    height: 19px;
    white-space: nowrap;
    font: bold 10pt Arial;
    overflow: hidden;
    text-overflow: ellipsis;
}
table.sticky_header th {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index:3;
}
div.prize-section {
    display:inline-block;
    position:relative;
    margin: 5px 0 5px 0;
}
div.prize-section .section-border {
    border: 3px solid #a49e97;
    border-radius: 8px;
    box-shadow: 0 0 20px inset;
    opacity: 0.9;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
div.prize-section .section-bg {
    position: absolute;
    left: 3px;
    right: 3px;
    bottom: 3px;
    top: 3px;
    opacity: 0.4;
    border-radius: 5px;
}

div.prize-section .section-legend {
    position: relative;
    text-align: center;
    text-shadow: 0 0 5px #000;
    padding: 10px 15px 5px 15px;
    color: white;
    font-size:20px;
}
div.prize-section .section-content {
    position: relative;
    padding: 15px;
}
small div.item_container {
    height: 60px;
    width: 60px;
}
small div.item_container > img, small div.item_container > a > img {
    width:54px !important;
    height:54px !important;
}
table.quest {
    width:100%;
}
table.quest h2 {
    margin: -5px;
    color: #ffdead;
    background-color: #301506;
    border-bottom: none;
    font-weight: bold;
    font-size: 120%;
}
table.quest td {
    text-align:center;
}
table.quest #toc {
    display:none;
}
table.quest div.options_frame {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    background-color: #8a5f302b;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: 1px solid #996b39;
    border-bottom: 1px solid #996b39;
}
div.world_map {
    position:relative;
    width: 237px;
    height: 104px;
    border: 1px solid black;
    background: url(https://westzz.innogamescdn.com/images/map/minimap/worldmap.png);
}
div.world_map .map_marker {
    position:absolute;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    margin-left: -8px;
    background: url(https://westzz.innogamescdn.com/images/map/minimap/icons/miniicon_quests.png);
}
div.questgiver_mini_frame {
    position: relative;
    width: 106px;
    height: 54px;
    margin:auto;
    background: url(https://wiki.the-west.net/images/5/59/Questgiver_mini_frame.png);
}
div.questgiver_mini_frame > img {
    position: absolute;
    top: 8px;
    left: 34px;
}
.cdr_prq {
    display: inline-block;
    background: #fdf4e8;
    border-radius: 10px;
    padding: 5px 5px;
    font-size: smaller;
    vertical-align: top;
    margin: 2px;
    box-shadow: 1px 1px 1px 1px #00000024;
}
.prq_cond {max-width:282px;}
.prq_dispo {width:330px;}
.prq_title {
    background: #301506;
    color: #ffdead;
    padding: 8px 10px;
    border-radius: 5px;
}
.window_border {
    margin:auto;
    position:relative;
    padding:7px;
    z-index:0;
}
.wb_content {
    background:url(https://wiki.the-west.fr/images/8/80/Arriere_plan_cadre.png);
    border-radius:15px;
    padding:40px;
}
div.wb_tl, div.wb_tr, div.wb_bl, div.wb_br {
    background-image: url(https://westfr.innogamescdn.com/images/tw2gui/window/window_border.png);
    background-repeat: no-repeat;
    position: absolute;
}
div.wbt_tl, div.wbt_tr, div.wbt_bl, div.wbt_br {
    background-image: url(https://wiki.the-west.fr/images/3/3c/Table_border.png);
    background-repeat: no-repeat;
    position: absolute;
        z-index:-1;
}
.wb_tl, .wbt_tl {
    background-position: left top;
    bottom: 50%;
    right: 50%;
    left: 0;
    top: 0;
}
.wb_tr, .wbt_tr {
    background-position: right top;
    width: 50%;
    bottom: 50%;
    right: 0;
    top: 0;
}
.wb_bl, .wbt_bl {
    background-position: left bottom;
    height: 50%;
    right: 50%;
    bottom: 0;
    left: 0;
}
.wb_br, .wbt_br {
    background-position: right bottom;
    height: 50%;
    width: 50%;
    bottom: 0;
    right: 0;
}
div.questline_frame {
    display:inline-block;
    position: relative;
    width: 272px;
    height: 152px;
    margin:3px;
    background: url(https://wiki.the-west.net/images/7/79/Questline_frame.png);
}
div.questline_frame .questline_name {
    top: 12px;
    text-align: center;
    position: relative;
}
div.questline_frame .questgiver img {
    position: absolute;
    max-width: 75px;
    max-height: 75px;
    top: 51px;
    left: 14px;
}
div.questline_frame .questgiver_overlay {
    position: absolute;
    top: 39px;
    left: 12px;
    width: 80px;
    height: 100px;
    background: url(https://westzz.innogamescdn.com/images/window/quest/pic_small.png);
    background-size: cover;
}
div.questline_frame .info {
    display: inline-block;
    position: absolute;
    top: 65px;
    left: 97px;
    width:150px;
    font-size:13px;
    text-shadow: 1px 1px 2px #00000063;
}
.item_flag {
    width: 26px;
    height: 26px;
    position: absolute;
    z-index: 1;
    top: 1px;
    left: 1px;
}
.item_flag.eqp {
    background: url("https://wiki.the-west.net/images/6/63/Product_Eqp.png");
}
.item_flag.inv{
    background: url("https://wiki.the-west.net/images/7/70/ItemBorder_Inv.png");
}
.item_req {
    background: url("https://wiki.the-west.net/images/e/ec/Item_box.png");
    position: relative;
    display: inline-block;
}
.item_req {
    width: 50px;
    height: 50px;
    background-size: 50px;
    vertical-align: middle;
}
table.popup_job {
    width: 100%!important;
}
#ca-talk {
    display: none !important;
}
#navbar {
    position:relative;
    top:-11px;
    font-family:Calibri;
    width:800px;
        max-width:100%;
    height:85px;
    margin:0;
    padding:0;
    text-align:center;
    z-index:100;
}
.navbar_bgl, .navbar_bgr {
    background-image: url(images/7/78/Navbar.png);
    background-repeat: no-repeat;
    position: absolute;
    height:100%;
}
.navbar_bgl {
    background-position: left;
    right: 50%;
    left: 0;
}
.navbar_bgr {
    background-position: right;
    width: 50%;
    right: 0;
}
#navbar ul {
    list-style-type: none;
    font-size:0;
    padding:0;
    overflow: hidden;
    position:relative;
    top:45px;
    height:37px;
}
#navbar li {
    font-size:16px;
    display:inline;
    background:none !important;
    padding:0 !important;
}
#navbar li a {
    position:relative;
    display:inline-block;
    color: white;
    font-weight:normal;
    text-align: center;
    padding: 8px 10px;
    line-height:20px;
    text-decoration: none;
    -webkit-transition: all .25s;
    -moz-transition: all .25s;
    -ms-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

#navbar li a:not(.selflink):hover {
    color:#FFDEAD;
}
#navbar .selflink {
    background-color: #FFDEAD;
    color:black;
    position:relative;
    display:inline-block;
    text-align: center;
    padding: 8px 10px;
    line-height:20px;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.2) inset;
    z-index:1;
}
#navbar li a:not(.selflink):before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 0;
    background: #FFDEAD;
    -webkit-transition: width .25s;
    -moz-transition: width .25s;
    -ms-transition: width .25s;
    -o-transition: width .25s;
    transition: width .25s;
}
#navbar li a:not(.selflink):hover:before {
    width:100%;
}
#navbar li a:after {
    content: "";
    display: block;
    position: absolute;
    left: -2px;
    top: 17px;
    height: 4px;
    width: 4px;
    background: #ffffff;
    opacity: 0.5;
}
#navbar .selflink:after{
    width: 2px;
}
#navbar li:first-child *:after{
    opacity:0;
}
#wiki_logo {
    position: relative;
    width: 112px;
    height: 110px !important;
    background: url(images/e/e4/VersionLogo.png) !important;
    margin-bottom: 10px;
}
#wiki_logo  a {
    color:#FFFFFF !important;
    font-weight:normal;
}
.flash {
    animation-name: pulse;
    -webkit-animation-name: pulse;  
    animation-duration: 1.5s;   
    -webkit-animation-duration: 1.5s;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
}
@keyframes pulse{
    0%{
    transform:scale(0.95);
        opacity:0.7
    }
    50%{
        transform:scale(1);
        opacity:1
    }
    100%{
        transform:scale(0.95);
        opacity:0.7
    }
}

.tw2gui_button_spoiler {
    display: inline-block;
    position: relative;
    height: 36px;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: center;
    cursor: pointer;
    max-width:330px;
}
.tw2gui_button_spoiler:hover .tw2gui_button_right_cap,
.tw2gui_button_spoiler:hover .tw2gui_button_left_cap {
    background-image:url('https://westen.innogamescdn.com/images/tw2gui/button/button_highlight.png');
}
.input_level, #input_level, #input_search {
    display: inline-block;
    background: url("https://westen.innogamescdn.com/images/tw2gui/textfield/textfield.png") top left no-repeat;
    height: 30px;
    width: 12px;
}
.column {
  column-count: 3;
}
.tw_checkbox_no {
    display: inline-block;
    background: url("images/1/12/Noclick.png") no-repeat;
    height: 20px;
    width: 20px;
}
.tw_checkbox_on {
    display: inline-block;
    background: url("images/9/99/Onclick.png") no-repeat;
    height: 20px;
    width: 20px;
}
.calculateTable {
background-color: #d6c39f;
border: 1px solid #d6c39f;
border-collapse: collapse;
}
.calculateTable > tr > th,
.calculateTable > tr > td,
.calculateTable > * > tr > th,
.calculateTable > * > tr > td {
border: 1px solid #d6c39f;
padding: 0.0em 0.4em;
}
.calculateTable > tr > th,
.calculateTable > * > tr > th {
background-color: #d6c39f;
text-align: center;
}
.calculateTable > caption {
font-weight: bold;
}
.calculateTable > tr > th,
.calculateTable > tr > td,
.calculateTable > * > tr > th,
.calculateTable > * > tr > td,
.mw_metadata th,
.mw_metadata td {
background: #d6c39f !important;
border: 1pt solid #d6c39f;
}
.calculateTable > tr > th,
.calculateTable > * > tr > th,
.mw_metadata th {
background: #d6c39f !important;
text-align: center;
font-weight: bold;
}
#target_new {
    display: inline-block;
    background: url("https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png") top left no-repeat;
    height: 30px;
}
input.target {
    background: url("https://westzz.innogamescdn.com/images/tw2gui/textfield/textfield.png") top right no-repeat;
    height: 30px;
    margin-left: 12px;
    padding: 0 8px 0 0;
    border: 0;
    outline: none;
    width: 90px;
    margin-right: -6px;
}
.item_table div.item_container {
    width: 60px;
    height: 60px;
    background-size: 60px;
}
.item_table div.item_container > img {
    position: absolute;
    width: 53px;
    height: 53px;
    top: 4px;
    left: 3px;
}
.number {
    position: absolute;
    bottom: 1px;
    left: 3px;
    text-shadow: black 1px 1px 1px;
    font-size: 12px;
    color: white;
}

/* Homepage event box */
.valentine {
    background: url("https://wiki.the-west.net/images/c/c0/Valentine.jpg") center center!important;
    background-size: cover!important;
}

.easter {
    background: url("https://wiki.the-west.net/images/0/01/Easter.jpg") center center!important;
    background-size: cover!important;
}

.independence {
    background: url("https://wiki.the-west.net/images/1/18/Independence.jpg") center center!important;
    background-size: cover!important;
}

.oktoberfest {
    background: url("https://wiki.the-west.net/images/7/73/Octoberfest.jpg") center center!important;
    background-size: cover!important;
}

.dod {
    background: url("https://wiki.the-west.net/images/c/cc/Dotd.jpg") center center!important;
    background-size: cover!important;
}

.container_event .bg_tl {
    left: 0;
    right: 50%;
    top: 0;
    bottom: 50%;
    background-position: top left;
}
.container_event .bg_tr {
    width: 50%;
    right: 0;
    top: 0;
    bottom: 50%;
    background-position: top right;
}
.container_event .bg_bl {
    left: 0;
    right: 50%;
    height: 50%;
    bottom: 0;
    background-position: bottom left;
}
.container_event .bg_br {
    width: 50%;
    height: 50%;
    right: 0;
    bottom: 0;
    background-position: bottom right;
}
.frame {
    position: absolute;
    background-image: url("https://wiki.the-west.net/images/5/56/726px-Event_box.png");
}

.container_event > .background.wood {
    background: url("https://wiki.the-west.net/images/1/1f/Wood.jpg") center center;
}
.container_event .background {
    position: absolute;
    left: 0px;
    right: 0px;
    top: 6px;
    bottom: 8px;
    background: url("https://wiki.the-west.net/images/b/b5/Default.jpg") center center;
    background-repeat: repeat;
}
.event {
    display: block;
    text-decoration: none;
    margin-bottom: -35px;
}
.light, a.light {
    color: #ffe7b1;
}
.event .event-status, .event .event-date {
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}
.event .event-name {
    font-weight: bold;
    text-decoration: underline;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    text-shadow: 1px 1px 0 #ffcc66, 1px 1px 2px #000000;
}
.event .event-name a {
    font-weight: bold;
    text-decoration: underline;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    text-shadow: 1px 1px 0 #ffcc66, 1px 1px 2px #000000;
}
.event .event-date {
    background: #00000085;
    padding: 2px;
    display: inline-block;
    margin: 3px;
    border-radius: 1px;
}
.container_event {
    position: relative;
    height: 100%;
    width: 100%;
}
.container_event > .content {
    position: relative;
    padding: 15px;
}
.event .content > div {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4px;
    box-sizing: border-box;
    text-align: center;
}
.event-date a {
    font-weight: bold;
    text-decoration: underline;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    color: #ffe7b1!important;
}

.container-title {
    width: calc(100% + 16px);
    height: 46px;
    position: relative;
    padding-top: 15px;
    margin-bottom: -15px;
    margin-left: -8px;
}
.container-title .right {
    position: absolute;
    left: 50%;
    right: 0;
    background-position: right bottom;
}
.container-title .left {
    position: absolute;
    left: 0;
    right: 50%;
    background-position: left bottom;
}
.container-title .left, .container-title .right {
    bottom: 0;
    height: 50px;
    background-image: url("https://wiki.the-west.net/images/2/29/Window2_title.png");
    background-repeat: no-repeat;
}
.container-title .title {
    color: rgb(255, 231, 177);
    display: block;
    font-family: 'Times New Roman';
    font-size: 27px;
    font-style: normal;
    font-variant: normal;
    font-weight: bold;
    height: 32px;
    line-height: normal;
    margin: 0;
    padding-top: 6px;
    position: relative;
    text-align: center;
    width: 100%;
}

table.NewjobList tr > th {
    font-weight: bold;
    color: #ffdead !important;
    background-color: #301506 !important;
}

table.NewjobList, tr.mw-empty-elt {
display:block!important;
}

#searchItemlive{
    padding:15px 0 4px 0 !important;
    background:#44301d !important;
    margin-bottom:48px;
    box-shadow:inset 0em 0em 1.2em 0.2em #140a05
}
.audio-arrow-box {
margin-top: -25px;
    background: #e9d3a7!important;
    border-radius: 6px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    width: 353px;
    height: 200px;
    z-index: 99;
    display: none;
    margin-left: -365px;
}

.audio-arrow-box::after {
    z-index: -99;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: 0;
    bottom: 0;
    top: 20px;
    right: calc(4px - 4%);
    box-sizing: border-box;
    border: 5px solid #e9d3a7;
    border-color: transparent transparent #e9d3a7 #e9d3a7;
    transform-origin: 0 0;
    transform: rotate(224deg);
}

.audio-arrow-box::before {
    z-index: 10;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin-left: 0;
    bottom: 0;
    top: 20px;
    right: calc(4px - 4%);
    box-sizing: border-box;
    border: 5px solid black;
    border-color: transparent transparent #e9d3a7 #e9d3a7;
    transform-origin: 0 0;
    transform: rotate(224deg);
}

.popup-container {
    padding: 10px;
    height: 180px;
    overflow: auto;
    overflow-x: hidden;
background: #e9d3a7!important;
}

.audio-arrow-box::-webkit-scrollbar {
   width: 0px!important;
   height:0px!important;
}

.popup-container::-webkit-scrollbar {
   width: 0px!important;
   height:0px!important;
}

.item {
    display: inline-block;
}

.load_items {
    display:none;
padding: 8px;
}

#search_live_item {
z-index: 99;
position: absolute;
    right: -200px;
    top: 615%;
}

.aligntoleft {
float: left;
padding-right: 8px;
}

.aligntoright {
float: right;
padding-left: 8px;
}
span.h7 {
background-color: none!important;
padding: 0px!important;
font-size: 16px;
color: #5e321a;
display: block;
}

.sectioncolumns {
display: flex;
justify-content: space-between;
}

.section_column_ {
    width: 49%;
}

/* Language Picker - Criminus 2023 */
div#p-Language {
    margin-bottom: 10px;
}

/*
.langPicker {
    display: flex;
    justify-content: space-around;
}
*/

.langPicker {
    float: right;
    margin-right: 15px;
    /* margin-top: -10px; */
}

.langPicker a {
    margin-left: 5px;
}


/*Table of contents title*/
#mw-toc-heading {
    background: transparent;
}

/*The dropdown top menus should be displayed above some of the custom headers from West*/
.skin-mirage-mirage-navigation .skin-mirage-navigation-entry-item .skin-mirage-dropdown-list {
   z-index: 101;
}

/*More West-like border of the table of contents*/
.toc {
   border: 1px solid #996b39;
}

/*Remove the title of the page. Unnecessary, and looks out of place.*/
.mw-wordmark-container span.mw-logo-wordmark {
   display: none;
}

/*Background for the top bar*/
#mirage-fixed-header {
   background-image: url("/skins/MirageWest/images/headline-bgtile.png");
   border-bottom: 2px solid #6c1d1d;
}

/*Don't show username, or 'not logged in' in the top bar*/
#mirage-fixed-header .skin-mirage-username {
   display: none;
}

/*Don't show site notice - the thing with the side menu used in the old version of the wiki*/
#siteNotice {
   display: none;
}


/*Make 'edit' link visible again*/
a.skin-mirage-ooui-icon.skin-mirage-ooui-icon-edit.skin-mirage-ooui-icon-small {
   color: #3d2718;
}

h3 a.skin-mirage-ooui-icon.skin-mirage-ooui-icon-edit.skin-mirage-ooui-icon-small {
   color: #804000;
}

/*Faint border around the main content*/
.mediawiki-content-container {
   border-left: 2px solid #996b39;
   border-right: 2px solid #996b39;
   border-bottom: 2px solid #996b39;
}

#mirage-top-header {
   border-left: 2px solid #996b39;
   border-right: 2px solid #996b39;
   border-top: 2px solid #996b39;
}

#left-navigation, #right-navigation, #left-navigation nav, #right-navigation nav, #left-navigation label, #right-navigation label {
   padding-right: 5px;
}






/*Make the semantic media wiki readable*/
.smw-editpage-help {
background-color: #565656;
}

/* Make the errors on uploading the same file readable */
.mw-destfile-warning {
    color: #5e321a;
}

.externalimage-holder {
    position: relative;
    margin: auto;
    display: inline-block;
    max-width: 600px;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}
img {
    max-width: 900px;
}

#document-wrapper
{
    max-width: 1200px;
}



/* West specific changes */
    /* Correct button sizes for save buttons of articles */
    #wpSave,
    #wpPreview,
    #wpDiff {
        width: initial;
    }

    /* Adjust image size on Main Page slightly so it cannot go outside of bounds */
    body.page-Main_Page .container-title,
    body.page-Huvudsida .container-title,
    body.page-Forside .container-title {
        width: initial;
    }




/* Mobile-specific changes */
@media screen and (max-width: 720px)
{
    /* Remove the unnecessary logo next to the navigation links */
    #mirage-navigation-header #mirage-logo {
       display: none;
    }
    
    /*Remove the wiki title on mobile*/
    .mw-logo-wordmark {
       display: none;
    }
    
    /*Set max image size on mobile, so they scale*/
    img {
      display: block;
      max-width:90%;
      width: auto;
      height: auto;
    }

    /* Remove text of Recent Changes button */
    div#module-site-tools li.mw-list-item:first-child a {
        color: transparent;
    }

    /* Avoid right-floating images to overlap text or take too much space on Mobile */
    div.tright, 
    div.floatright, 
    table.floatright {
        clear: right;
        float: unset;
    }
}

/* Some fixes */

.usermessage {
    border: 1px solid #ffa500;
    color: black;
    font-weight: bold;
    margin: 4px;
    padding: 0.5em 1em;
}

.section_column_1 {
 width: 66%;
}

.section_column_2 {
 width: 32%;
}

.contact_team-btn {
    align-items: center;
    padding: 3px 6px;
    background-color: #c9b997;
    border-radius: 5px;
    color: #3d2718;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    border: 1px solid #404244;
    font-weight: bold;
}

.contact_team-btn::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    background-image: url(https://wiki.the-west.net/images/1/16/Mail_icon.png);
    background-size: cover;
    margin-right: 10px;
    position: relative;
    vertical-align: middle;
    bottom: 2px;
}

.contact_team-btn:hover {
    background-color: rgba(255,255,255,0.15);
}

/* Reskinned */
.skin-mirage-content-container, #mirage-top-header { box-shadow:none!important; }
div#mirage-top-header { display: flex; justify-content: space-between; }
div#right-navigation { position: relative; margin-right: 0px; margin-top: 0px; padding: 1rem 1rem 0; right: 0px; }
#content { margin-top: -20px; }
#sideNavbar {
  color: #fff;
  padding: 20px;
  position: fixed;
  margin-top: 82px;
  display: flex;
  /* top: 0; */
  right: 0;
  left: 0;
  padding: 0 1rem;
  z-index: 10;
  color: #e9ddbc;
  background: #542b0b;
  border-bottom: 1px solid #d0b66f;
}

@-moz-document url-prefix() {
  #sideNavbar {
    margin-top: 86px;
  }
}

.subMenuNavbar {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding-left: 0;
}

.subMenuNavbar li {
  margin-bottom: 4px;
  color: #e9ddbc;
}

.subMenu {
  width: 1096px;
  margin-right: auto;
  margin-left: auto;
}

#navigationDummy {
	margin-left: auto;
	margin-right: auto;
	height: 120px;
	top: 100px;
	position: relative;
	background-image: url(/skins/MirageWest/images/page-bgtile.png);
	border-left: 2px solid #996b39;
	border-right: 2px solid #996b39;
	border-top: 2px solid #996b39;
	border-bottom: 2px solid #996b39;
	height: 40px;
	max-width: 68.5rem;
} 

#mw-navigation { margin-top: 6.8rem!important; }

/* Responsive stuff .... */
@media only screen and (max-width: 971px) { 

	.section_column_1 {
		width: 48%!important;
	}
	.section_column_2 {
		width: 48%!important;
	}
	
}

@media only screen and (max-width: 661px) { 

	.section_column_1 {
		width: 100%!important;
	}
	.section_column_2 {
		width: 100%!important;
	}
	.sectioncolumns {
		display: block;
	}
}

@media screen and (max-width: 720px) {
	div.tright, div.floatright, table.floatright {
		clear: right;
		float: right;
	}
}

@media screen and (max-width: 500px) {
	div.tright, div.floatright, table.floatright {
		display:none;
	}
}

@media screen and (max-width: 390px) {
	.container-title .title {
		font-size: 22px;
		padding-top: 8px;
	}
}

@media screen and (max-width: 988px) {
	#p-New_to_the_Wiki-label {
		display:none;
	}
}

@media screen and (max-width: 802px) {
	#p-Languages-label {
		display:none;
	}
}

@media screen and (max-width: 630px) {
	#module-site-navigation h3 {
		font-size: 1.0rem!important;
	}
}

@media screen and (max-width: 530px) {
	#module-site-navigation h3 {
		font-size: 0.8rem!important;
	}
}

@media screen and (max-width: 468px) {
	#module-site-navigation h3 {
		font-size: 0.7rem!important;
	}
}

@media screen and (max-width: 413px) {
	#module-site-navigation h3 {
		font-size: 0.6rem!important;
	}
}

@media screen and (max-width: 720px) {
	.langPicker img {
		display: inherit;
	}
}

/* Dock dock! Who's  there? DOCKEEEEEEEEEEEER */
#dock {
    z-index: 100;
    position: relative;
    padding: 10px 10px 0px 10px;
    /* display: grid; */
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
}

.dock .bg_tl {
    left: 0;
    right: 50%;
    top: 0;
    bottom: 50%;
    background-position: top left;
}

.dock .bg_tr {
    width: 50%;
    right: 0;
    top: 0;
    bottom: 50%;
    background-position: top right;
}

.dock .bg_bl {
    left: 0;
    right: 50%;
    height: 50%;
    bottom: 0;
    background-position: bottom left;
}

.dock .bg_br {
    width: 50%;
    height: 50%;
    right: 0;
    bottom: 0;
    background-position: bottom right;
}

.dock_frame {
    position: absolute;
    background-image: url('https://wiki.the-west.net/images/3/37/Dock_new.png');
}

div.dock-btn{
    display:inline-block !important;
    width:52px !important;
    height:52px !important;
    margin:-1px;
    background:url('https://wiki.the-west.net/images/a/a2/Dock_buttons.png') no-repeat !important
}
div.dock-btn:hover{
    background-position-x:-52px !important
}
div.dock-btn > a > span{
    display:block !important;
    width:52px !important;
    height:52px !important;
    background:url('https://wiki.the-west.net/images/a/a7/Dock_icons.png') !important
}

.toggle-dock {
	background-image: url('https://wiki.the-west.net/images/e/ee/Expand_dock.png');
	width: 51px;
	height: 14px;
	position: absolute;
	cursor: pointer;
	top: -10px;
	left: 10px;
}

.toggle-dock.toggled {
    background-image: url('https://wiki.the-west.net/images/e/e8/Collapse_dock.png');
}

@media only screen and (max-width: 600px) {
    #dock {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media only screen and (max-width: 320px) {
    #dock {
        grid-template-columns: repeat(4, 1fr);
    }
}

.dock-toggler {
	display: none;
}

.dock {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.dock-items-container {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    overflow: hidden;  
    max-height: 104px;
    transition: max-height 0.3s ease;
    width: max-content;
}

.dock-btn {
    text-align: center;
}

.dock-toggler {
    cursor: pointer;
    margin-top: 5px;
}

@media only screen and (max-width: 600px) {
    .dock-items-container {
        grid-template-columns: repeat(5, 1fr);
        max-height: 58px; 
    }

    .dock-toggler {
        display: block;
    }

    /* CSS for toggled state */
    .dock-items-container.toggled {
        max-height: 116px; 
    }
}

@media only screen and (max-width: 320px) {
    .dock-items-container {
        grid-template-columns: repeat(4, 1fr);
        max-height: 58px; 
    }

    .dock-toggler {
        display: block;
    }

    /* CSS for toggled state */
    .dock-items-container.toggled {
        max-height: 174px; 
    }
}
@media screen and (max-width: 720px) {
    .dock-btn img {
        max-width: 100%;
    }
}

table.quest {
    width: 100%!important;
}

@media screen and (max-width: 720px) {
    .mw-body {
        padding: 5px 5px 5px;
    }
}