#MobileMenuBar {
    display: none;
}

@media screen and (min-width: 769px) {
    #MobileMenuBar {
        display: none !important;
    }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
    #MainHelper2,
    #Bodycontainer {
        max-width: 1200px;
    }
}

@media screen and (max-width: 768px) {
    html,
    body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow-x: hidden !important;
    }

    body {
        background-attachment: scroll !important;
        background-position: top center !important;
        background-size: auto !important;
    }

    #MobileMenuBar {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 48px;
        padding: 0 12px;
        z-index: 99999;
        box-sizing: border-box;
        background: #2b1608 url('/layouts/tibiarl/images/content/title-background-green.gif') repeat-x center;
        border-bottom: 2px solid #5a2800;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .65);
    }

    #MobileMenuLogo,
    #MobileMenuButton {
        color: #fff2db !important;
        font-family: Verdana, Arial, sans-serif;
        font-size: 13px;
        font-weight: bold;
        line-height: 1;
        text-decoration: none !important;
        text-shadow: 1px 1px 2px #000;
    }

    #MobileMenuButton {
        padding: 8px 10px;
        background: #793d03;
        border: 1px solid #d4c0a1;
        border-radius: 3px;
    }

    #MainHelper1,
    #MainHelper2,
    #ArtworkHelper1,
    #ArtworkHelper2,
    #Bodycontainer,
    #ContentRow,
    #ContentColumn,
    #Content,
    #ContentHelper,
    .Content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
        text-align: left !important;
    }

    #MainHelper1,
    #MainHelper2,
    #Bodycontainer,
    #ContentRow {
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    #MainHelper2 {
        padding-top: 48px !important;
    }

    #ContentColumn {
        padding: 8px !important;
    }

    #ArtworkHelper1,
    #ArtworkHelper2,
    #ThemeboxesColumn,
    #RightArtwork,
    #Monster,
    #PedestalAndOnline,
    #PlayersOnline {
        display: none !important;
    }

    #MenuColumn {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 8px 0 12px 0 !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
        display: block !important;
    }

    #LeftArtwork {
        display: none !important;
    }

    #Loginbox,
    #LoginBox,
    #Menu,
    #MenuTop,
    #MenuBottom,
    #Menu .menuitem,
    #Menu .Submenu {
        max-width: 180px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .Content .Box {
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px 0 16px 0 !important;
        box-sizing: border-box !important;
    }

    .Content .BoxContent {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
    }

    .Content .Border_1,
    .Content .BorderTitleText,
    .Content .Border_2,
    .Content .Border_3,
    .TableContainer,
    .TableContentContainer,
    .TableContent,
    .InnerTableContainer,
    .CaptionContainer,
    .CaptionInnerContainer {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    table {
        max-width: 100% !important;
    }

    .Content table,
    .Content tbody,
    .Content tr,
    .Content td,
    .Content th {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .Content table[width],
    .Content td[width],
    .Content div[style*='width'],
    .Content table[style*='width'],
    .Content td[style*='width'] {
        max-width: 100% !important;
    }

    .Content img,
    .Content input,
    .Content select,
    .Content textarea,
    .Content iframe {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .Content img {
        height: auto !important;
    }

    #ContentBoxHeadline,
    .Content .Title {
        max-width: calc(100% - 20px) !important;
    }

    .InfoBar {
        max-width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .social-buttons {
        right: 10px !important;
        bottom: 10px !important;
    }

    #clockcontainer,
    #clockdiv {
        width: 100% !important;
        max-width: 337px !important;
    }
}

@media screen and (max-width: 480px) {
    #ContentColumn {
        padding: 5px !important;
    }

    .Content .Box {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .Content .BoxContent {
        padding: 6px !important;
        font-size: 8pt !important;
        line-height: 13px !important;
    }

    .Content .BoxContent td,
    .Content .BoxContent th {
        font-size: 8pt !important;
    }

    #MobileMenuLogo,
    #MobileMenuButton {
        font-size: 12px;
    }
}
