/* -------------------------------------------------
   Font faces
   ------------------------------------------------- */
@font-face {
    font-family: "RobotoCondensedRegular";
    src: url("../fonts/RobotoCondensedRegular/RobotoCondensedRegular.eot");
    src: url("../fonts/RobotoCondensedRegular/RobotoCondensedRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/RobotoCondensedRegular/RobotoCondensedRegular.woff") format("woff"),
         url("../fonts/RobotoCondensedRegular/RobotoCondensedRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "RobotoCondensedLight";
    src: url("../fonts/RobotoCondensedLight/RobotoCondensedLight.eot");
    src: url("../fonts/RobotoCondensedLight/RobotoCondensedLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/RobotoCondensedLight/RobotoCondensedLight.woff") format("woff"),
         url("../fonts/RobotoCondensedLight/RobotoCondensedLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "RobotoCondensedBold";
    src: url("../fonts/RobotoCondensedBold/RobotoCondensedBold.eot");
    src: url("../fonts/RobotoCondensedBold/RobotoCondensedBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/RobotoCondensedBold/RobotoCondensedBold.woff") format("woff"),
         url("../fonts/RobotoCondensedBold/RobotoCondensedBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* Alternate naming – keep only one set if not needed */
@font-face {
    font-family: "RobotoCondensed-Bold";
    src: url("../fonts/RobotoCondensed-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "RobotoCondensed-Regular";
    src: url("../fonts/RobotoCondensed-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Oswald-Medium";
    src: url("../fonts/Oswald-Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Oswald-Regular";
    src: url("../fonts/Oswald-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

/* -------------------------------------------------
   Base elements
   ------------------------------------------------- */
body {
    background: #f4f5fa;
    font-size: 13px;
}

img {
    max-width: 100%;
}

/* -------------------------------------------------
   Layout helpers
   ------------------------------------------------- */
.mainbox {
    padding: 0;
    margin: 0 auto;
}

li {
    list-style-type: none;
}

/* Main container */
#main-box {
    height: 100%;
    /* padding: 10px; */
}

#main {
    padding-top: 5px;
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

/* -------------------------------------------------
   Modules & panels
   ------------------------------------------------- */
.moduletable {
    margin-bottom: 20px;
    padding: 10px;
}

.panel.moduletable {
    padding: 0;
}

.panel .moduletable {
    box-shadow: none;
    margin: 0 10px;
    padding: 10px;
}

/* -------------------------------------------------
   Utility classes
   ------------------------------------------------- */
.hasTooltip {
    display: inline !important;
}

.noMainbody {
    display: none !important;
}

/* -------------------------------------------------
   Buttons & modal helpers
   ------------------------------------------------- */
.btn.modal {
    position: relative;
    display: inline;
}

/* -------------------------------------------------
   Page wrapper
   ------------------------------------------------- */
#wrap {
    height: auto !important;
    margin: 0 auto 0;
    padding: 0 0 60px;
}

/* -------------------------------------------------
   Error page
   ------------------------------------------------- */
.error-page-inner,
.error .container {
    display: table;
    height: 100%;
    min-height: 100%;
    text-align: center;
    width: 100%;
}

.error-page-inner {
    /* no extra padding needed here */
}

.error .container {
    padding: 200px 0;
}

.error-code,
.error .container h1 {
    font-weight: bold;
}

.error-code {
    font-size: 96px;
    line-height: 1;
    margin-bottom: 10px;
}

.error .container h1 {
    font-size: 140px;
}

/* Icon inside error page */
.error-page-inner .fa.fa-exclamation-triangle {
    font-size: 96px;
    line-height: 1;
    margin-bottom: 10px;
}

/* -------------------------------------------------
   Back‑to‑top button
   ------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2em;
    right: 10px;
    padding: 5px 13px 7px 14px;
    font-size: 15px;
    color: #f5f5f5;
    background-color: rgb(30, 35, 61);
    text-decoration: none;
    border-radius: 2px;
    display: none;
}

.back-to-top:hover {
    background-color: rgba(135, 135, 135, 0.5);
    text-decoration: none;
}

/* -------------------------------------------------
   Offline frame
   ------------------------------------------------- */
#frame {
    margin-top: 100px;
}

#frame input.inputbox {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* -------------------------------------------------
   Misc
   ------------------------------------------------- */
.garbagemain {
    display: none;
}

/* Hide printable version */
.toprint {
    display: none;
}

/* Link hover */
a:hover {
    text-decoration: none;
}
