﻿/*
 * Style tweaks
 * --------------------------------------------------
 */
html,
body {
    overflow-x: hidden; /* Prevent scroll on narrow devices */
    min-height: 600px;
}

.navbar {
    margin-bottom: 10px;
}
/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 767px) {
    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -o-transition: all .25s ease-out;
        transition: all .25s ease-out;
    }

    .row-offcanvas-right {
        right: 0;
    }

    .row-offcanvas-left {
        left: 0;
    }

    .row-offcanvas-right .sidebar-offcanvas {
        right: -100%; /* 12 columns */
    }

    .row-offcanvas-right.active .sidebar-offcanvas {
        right: -50%; /* 6 columns */
    }

    .row-offcanvas-left .sidebar-offcanvas {
        left: -100%; /* 12 columns */
    }

    .row-offcanvas-left.active .sidebar-offcanvas {
        left: -50%; /* 6 columns */
    }

    .row-offcanvas-right.active {
        right: 50%; /* 6 columns */
    }

    .row-offcanvas-left.active {
        left: 50%; /* 6 columns */
    }

    .sidebar-offcanvas {
        position: absolute;
        top: 0;
        width: 50%; /* 6 columns */
    }
}

/* base */
body {
    background: #e9e9e9;
    /*font: 13px/1.7em 'Verdana';*/
}

p {
    /*    font: 13px/1.7em 'Verdana';*/
}

h3 {
    line-height: 27px;
    font-size: 18px;
}

h4 {
    font-size: 14px;
}

.table-condensed th, .table-condensed td {
    padding: 4px 5px;
}

.table td {
    vertical-align: middle;
}

.table-bordered th {
    background: #e9e9e9;
    background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* Opera11.10+ */
    background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* IE10+ */
    background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
    font-size: 13px;
    color: #444444;
    text-transform: uppercase;
    vertical-align: middle;
}

/* navigation */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }


/* news */

article {
    margin-bottom: 20px;
}

.article_container .subtitle {
    color: black;
    padding: 4px 8px;
}

    .article_container .subtitle a {
        color: black;
    }

.articleBox {
    background-color: #ffffff;
    border: 1px solid #333333;
    padding: 9px;
}

.total_comments {
    float: right;
}

.p-article-byline {
    text-align: right;
}

.maintitle {
    background: #343a40;
    border-width: 1px 1px 0 1px;
    border-color: #333333;
    border-style: solid;
    color: white;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 0px;
    padding: 10px 10px 11px;
}

    .maintitle a {
        color: white;
    }

/* widgets */

.widget {
    position: relative;
    clear: both;
    width: auto;
    margin-bottom: 2em;
    overflow: hidden;
}

.widget-header {
    position: relative;
    height: 40px;
    line-height: 40px;
    background: #e9e9e9;
    background: -moz-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa), color-stop(100%, #e9e9e9));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* Opera11.10+ */
    background: -ms-linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* IE10+ */
    background: linear-gradient(top, #fafafa 0%, #e9e9e9 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FAFAFA', endColorstr='#E9E9E9')";
    border: 1px solid #d5d5d5;
    -webkit-border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topleft: 4px;
    -moz-border-radius-topright: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    -webkit-background-clip: padding-box;
}

    .widget-header h3 {
        position: relative;
        top: 2px;
        left: 10px;
        display: inline-block;
        margin-right: 3em;
        font-size: 14px;
        font-weight: 800;
        color: #555555;
        line-height: 18px;
        text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    }

    .widget-header [class^="icon-"],
    .widget-header [class*=" icon-"] {
        display: inline-block;
        margin-left: 13px;
        margin-right: -2px;
        font-size: 16px;
        color: #555555;
        vertical-align: middle;
    }

.widget-content {
    padding: 20px 15px 15px;
    background: white;
    border: 1px solid #d5d5d5;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.widget-header + .widget-content {
    border-top: none;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.widget-nopad .widget-content {
    padding: 0;
}

.widget-content:before,
.widget-content:after {
    content: "";
    display: table;
}

.widget-content:after {
    clear: both;
}

.widget-content {
    zoom: 1;
}

.widget-table .widget-content {
    padding: 0;
}

.widget-table .table {
    margin-bottom: 0;
    border: none;
}

    .widget-table .table tr td:first-child {
        border-left: none;
    }

    .widget-table .table tr th:first-child {
        border-left: none;
    }

.widget-plain {
    background: transparent;
    border: none;
}

    .widget-plain .widget-content {
        padding: 0;
        background: transparent;
        border: none;
    }

.widget-box .widget-content {
    background: #e3e3e3;
    background: white;
}



/* item / quest */
@media (min-width: 992px) {
    .borderBox {
        border: 1px solid #d5d5d5;
        border-radius: 3px;
    }
}

#quest {
    overflow: auto;
}

#questinfo {
    float: left;
    width: 73%;
}

#quest_sidebar {
    width: 24%;
    border: 1px solid #d5d5d5;
    border-radius: 3px;
    float: right;
    padding: 20px 15px 15px;
}

/* monster */
.property_ground,
.table tbody tr:hover td.property_ground,
.table-striped tbody tr:nth-child(odd) td.property_ground {
    background-color: #daaf85;
    color: black;
}

.property_darkness,
.table tbody tr:hover td.property_darkness,
.table-striped tbody tr:nth-child(odd) td.property_darkness {
    background-color: #a55feb;
    color: white;
}

.property_fire,
.table tbody tr:hover td.property_fire,
.table-striped tbody tr:nth-child(odd) td.property_fire {
    background-color: #ff7575;
    color: white;
}

.property_telekinesis,
.table tbody tr:hover td.property_telekinesis,
.table-striped tbody tr:nth-child(odd) td.property_telekinesis {
    background-color: #aaaaaa;
    color: black;
}

.property_saint,
.table tbody tr:hover td.property_saint,
.table-striped tbody tr:nth-child(odd) td.property_saint {
    background-color: #ffffaa;
    color: black;
}

.property_normal,
.table tbody tr:hover td.property_normal,
.table-striped tbody tr:nth-child(odd) td.property_normal {
    background-color: white;
    color: black;
}

.property_poison,
.table tbody tr:hover td.property_poison,
.table-striped tbody tr:nth-child(odd) td.property_poison {
    background-color: #4bfe78;
    color: black;
}

.property_undead,
.table tbody tr:hover td.property_undead,
.table-striped tbody tr:nth-child(odd) td.property_undead {
    background-color: black;
    color: white;
}

.property_water,
.table tbody tr:hover td.property_water,
.table-striped tbody tr:nth-child(odd) td.property_water {
    background-color: #7ba7e1;
    color: white;
}

.property_wind,
.table tbody tr:hover td.property_wind,
.table-striped tbody tr:nth-child(odd) td.property_wind {
    background-color: #cafeb8;
    color: black;
}

.control-label {
    font-size: 14px !important;
}

.mapinfo .mapimage {
    float: left;
    width: 48px;
    height: 48px;
}

.mapinfo .mapamount {
    margin-left: 54px;
}

.mapinfo .maprespawn {
    margin-left: 54px;
}

/* footer */
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
    background-color: #343a40 !important;
}


body > .container {
    padding: 60px 15px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

/* mapper */




.mapper {
    background-color: #000;
    border: 2px solid #333;
    margin-top: 10px;
    max-width: calc(100% - 4px);
    overflow: hidden;
    position: relative;
    float: left;
    margin-left: 10px;
}

    .mapper .glow {
        margin: 0 2px;
        font-size: 10px;
        font-weight: bold;
        color: white;
        cursor: default;
        white-space: nowrap;
    }

.mapper-map {
    background-color: #181818 !important;
    background-repeat: no-repeat !important;
    background-size: 100% auto !important;
    display: block;
    line-height: 0;
    max-width: 100%;
    position: relative;
}

.mapper-overlay {
    display: inline-block;
    line-height: 0;
    position: relative;
    width: 100%;
}

.mapper[data-mapsize="normal"] .mapper-overlay-expander {
    margin-top: 66.5983606557377%;
}

.mapper .pin {
    position: absolute;
    width: 1px;
    height: 1px;
    font-size: 1px;
    z-index: 5;
}

    .mapper .pin a {
        position: relative;
        width: 18px;
        height: 16px;
        left: -9px;
        top: -8px;
        background: url(//static.divine-pride.net/images/mapper/pin.png) no-repeat;
        display: block;
    }

.mapper .pin-startend a {
    background-image: url(//static.divine-pride.net/images/mapper/quest_startend.png);
    width: 31px;
    height: 28px;
    left: -15px;
    top: -14px;
    z-index: 5;
}

.mapper .pin-start a {
    background-image: url(//static.divine-pride.net/images/mapper/quest_start.png);
    width: 10px;
    height: 28px;
    left: -5px;
    top: -14px;
    z-index: 5;
}

.mapper .pin-end a {
    background-image: url(//static.divine-pride.net/images/mapper/quest_end.png);
    width: 20px;
    height: 28px;
    left: -10px;
    top: -14px;
    z-index: 5;
}

.clear {
    clear: both;
}

legend {
    border: 0;
    border-bottom: 1px solid #eee;
}



@media (min-width: 1600px) {
    .modal-lg {
        max-width: 1500px;
    }
}

@media (min-width: 1900px) {
    .modal-lg {
        max-width: 1850px;
    }
}


/*------------------------------------------------------------------
[ Back to Top / #back-to-top ]
*/

#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    width: 45px;
    height: 45px;
    display: block;
    background: #222222;
    background: rgba(0, 0, 0, 0.75);
    font-size: 16px;
    text-align: center;
    line-height: 45px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    cursor: pointer;
}

    #back-to-top:hover {
        text-decoration: none;
        background-color: #ff9900;
        background: rgba(255, 153, 0, 0.75);
    }

    #back-to-top i {
        color: white;
    }

pre.code {
    margin: 15px;
    margin-top: 2px;
    padding: 10px;
    line-height: normal;
    font-family: 'Bitstream Vera Sans Mono', 'Lucida Console', 'Courier New', Monaco, Courier, monospace;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    padding: 8px;
    border: 1px solid #888;
}

#itemReceived {
    background-image: url(/Content/img/itemsummon-back.png);
    display: none;
    width: 480px;
    height: 40px;
    position: fixed;
    left: calc(50% - 240px);
    top: 10px;
    padding: 8px;
    padding-left: 10px;
}

.table-full {
    width: 100%;
    max-width: 100%;
}

a.btn {
    background: #d5d5d5;
}












/* Ragnarok */
.equipmentPreview {
    font-size: 12px;
    width: 280px;
}

    .equipmentPreview .clear {
        clear: both;
    }

    .equipmentPreview .titlebar {
        width: 280px;
        height: 17px;
        background-color: white;
        background-repeat: repeat-x;
        border-radius: 3px 3px 0px 0px;
    }

        .equipmentPreview .titlebar .base {
            width: 11px;
            height: 11px;
            border: none;
            background-color: transparent;
            background-repeat: no-repeat;
            vertical-align: middle;
        }

        .equipmentPreview .titlebar .text {
            text-shadow: 1px 1px white;
            vertical-align: -2px;
            white-space: nowrap;
            /* chrome bug */ display: inline-block;
            width: 32px;
            height: 13px;
        }

        .equipmentPreview .titlebar .left {
            margin-left: 3px;
            float: left;
        }

        .equipmentPreview .titlebar .right {
            float: right;
            margin-right: 3px;
        }

        .equipmentPreview .titlebar .clear {
            clear: both;
        }

    .equipmentPreview .panel {
        background-color: white;
    }

    .equipmentPreview .content {
        display: inline-block;
        width: 280px;
        height: 130px;
        border-spacing: 0;
    }

    .equipmentPreview .col1, .equipmentPreview .col3 {
        width: 115px;
        height: 24px;
        background-color: transparent;
        background-repeat: no-repeat;
    }

    .equipmentPreview .col1 {
        background-position: 5% 50%;
    }

    .equipmentPreview .col3 {
        background-position: 95% 50%;
    }

    .equipmentPreview .overlay {
        position: absolute;
        display: none;
        white-space: nowrap;
        z-index: 900;
        height: 13px;
        padding: 5px;
        background: rgba(0,0,0,0.7);
        color: white;
        text-shadow: 1px 1px black;
    }

    .equipmentPreview .item button {
        width: 24px;
        height: 24px;
        background-color: transparent;
        background-repeat: no-repeat;
        border: none;
    }

    .equipmentPreview .item span {
        width: 80px;
        height: 24px;
        display: inline-block;
        line-height: 12px;
        word-break: break-all;
        overflow: hidden;
        text-shadow: 1px 1px white;
    }

    .equipmentPreview .col3 .item button, .equipmentPreview .col3 .item span {
        float: right;
    }

    .equipmentPreview .col1 .item button, .equipmentPreview .col1 .item span {
        float: left;
    }

    .equipmentPreview .col1 .item {
        padding-left: 4px;
    }

    .equipmentPreview .col3 .item {
        padding-right: 4px;
    }

    .equipmentPreview .ammo_container {
        position: relative;
    }

    .equipmentPreview .ammo {
        position: absolute;
        top: 30px;
    }

        .equipmentPreview .ammo .item {
            text-align: center;
        }

            .equipmentPreview .ammo .item span {
                width: 45px;
            }

    .equipmentPreview .removeOption {
        position: absolute;
        top: 85px;
        left: 12px;
        width: 36px;
        height: 36px;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
        display: none;
    }

    .equipmentPreview .footer {
        height: 20px;
        border-bottom: 1px solid #c0c0c0;
    }

        .equipmentPreview .footer .left {
            float: left;
            text-align: left;
            margin-left: 5px;
            margin-top: 3px;
        }

        .equipmentPreview .footer .right {
            float: right;
            text-align: right;
            margin-right: 5px;
            margin-top: 3px;
        }

        .equipmentPreview .footer .view_status {
            width: 9px;
            height: 14px;
            border: none;
            background-color: transparent;
            background-repeat: no-repeat;
        }

        .equipmentPreview .footer .show_equip {
            width: 10px;
            height: 12px;
            border: none;
            background-color: transparent;
            background-repeat: no-repeat;
        }

.equipmentTable th, .equipmentTable td {
    border: 0px;
    padding: 0px;
}

.right {
    text-align: right !important;
}

.table-small-text {
    font-size: 0.875rem;
}


.mvp {
    background: url("/Content/img/mvp.png") 0 0 no-repeat;
    background-position: center right;
    font-weight: bold;
}

.mvptable {
    background: url("/Content/img/mvp_large.png") 0 0 no-repeat;
    background-position: center center;
}

td.disabled {
    text-align:center;
    color: #ccc;
}

td.enabled {
    text-align: center;
    border: 2px dashed #007bff;
}

.highlight {
    font-weight: bold;
    color: #ff7575;
}


.full {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .full .content {
        background-color: rgba(0,0,0,0.85) !important;
        height: 100%;
        width: 100%;
        display: grid;
    }

        .full .content img {
            left: 50%;
            max-width: 100%;
            max-height: 100%;
            margin: auto;
        }

.gallery {
    display: grid;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-auto-rows: auto;
}

    .gallery img {
        max-width: 100%;
        box-shadow: 0 0 6px #007bff;
        transition: all 1.5s ease;
    }

        .gallery img:hover {
            box-shadow: 0 0 32px #007bff;
        }

    .gallery .content {
        padding: 4px;
    }

    .gallery .gallery-item {
        transition: grid-row-start 300ms linear;
        transition: transform 300ms ease;
        transition: all 0.5s ease;
        cursor: pointer;
    }

        .gallery .gallery-item:hover {
            transform: scale(1.025);
        }

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
}

@media (max-width: 400px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }
}

.h5, h5 {
    font-size: .8125rem !important;
}

.widget-content legend {
    line-height: 26px;
    margin-bottom: 0;
    padding: 5px 0;
}

.item-item, .skill-icon {
    float: left;
    background: hsla(0,0%,53.3%,.1);
    padding: 2.5px;
    border-radius: 5px;
    margin-right: 10px;
}

.widget-content .item-item, .widget-content .skill-icon {
    padding: 8.5px;
}

.skilltreejob {
    opacity: 0.5;
    filter: grayscale(100%);
}

    .skilltreejob:hover {
        filter: grayscale(0%);
    }

    .skilltreejob.isactive {
        opacity: 1;
        filter: grayscale(0%);
    }


.listview-scroller-vertical .listview-mode-default td {
    border: none
}

.listview-scroller-vertical {
    overflow: auto
}

[data-fixed-bottom] .listview-scroller-vertical {
    overflow-y: hidden;
    will-change: max-height
}

.listview-scroller-horizontal {
    overflow-x: auto;
    position: relative
}

[data-fixed-bottom] .listview-scroller-horizontal {
    will-change: min-height
}

.listview .table-full {
    border-collapse: collapse;
    width: 100%;
}