/*
@font-face {
    font-family: 'textBold';
    src: url("fonts/CircularProTT-Bold.woff2") format("woff2"), url("fonts/CircularProTT-Bold.woff") format("woff");
    font-weight: normal;
    font-style: normal; }
  
  @font-face {
    font-family: 'textMedium';
    src: url("fonts/CircularProTT-Medium.woff2") format("woff2"), url("fonts/CircularProTT-Medium.woff") format("woff");
    font-weight: normal;
    font-style: normal; }
  
  @font-face {
    font-family: 'Circular';
    src: url("fonts/CircularProTT-Book.woff2") format("woff2"), url("fonts/CircularProTT-Book.woff") format("woff");
    font-weight: normal;
    font-style: normal; }

@font-face {
    font-family: 'MaterialIcons';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/material/MaterialIcons-Regular.eot); 
    src: url(fonts/material/material.woff2) format('woff2'), url(fonts/material/material.ttf) format('truetype'), url(fonts/material/material.woff) format('woff');
}*/

@font-face {
    font-family: 'textBold';
    src: url("fonts/roboto/Roboto-Bold.ttf");
    font-weight: normal;
    font-style: normal; }
  
  @font-face {
    font-family: 'textMedium';
    src: url("fonts/roboto/Roboto-Medium.ttf");
    font-weight: normal;
    font-style: normal; }
  
  @font-face {
    font-family: 'textNormal';
    src: url("fonts/roboto/Roboto-Regular.ttf");
    font-weight: normal;
    font-style: normal; }

@font-face {
    font-family: 'MaterialIcons';
    font-style: normal;
    font-weight: 400;
    src: url(fonts/material/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: url(fonts/material/material.woff2) format('woff2'), url(fonts/material/material.ttf) format('truetype'), url(fonts/material/material.woff) format('woff');
}

.fancy-scroll::-webkit-scrollbar { width: 5px; /*height: 5px;*/ }
.fancy-scroll::-webkit-scrollbar-thumb { background: #d4d4d4; }
.fancy-scroll::-webkit-scrollbar-track { background: transparent; }
.fancy-scroll.big::-webkit-scrollbar { width: 10px; }

.material-icons {
    font-family: 'MaterialIcons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
}
    

.fancybox-close { top: -18px; right: -16px; }
.fancybox-type-iframe .fancybox-inner, .fancybox-opened .fancybox-skin { border-radius: 7px; }
.flex-form { display: flex; flex-direction: column; flex: 1; left: 0; top: 0; bottom: 0; right: 0; position: absolute; }
#popup-header { padding: 15px; background-color: #0847a6; }
#popup-header h1 { color: #fff; font-size: 20px; margin: 0; padding: 0; }
#popup-content { display: flex; flex-direction: column; flex: 1; padding: 20px; overflow: auto; }
#popup-footer { display: flex; padding: 10px; justify-content: center; }
span.info { font-size: 12px; color: #999999; padding: 0 5px; }
.tippy-content { font-size: 12px; padding: 3px 6px; }
.tippy-box{ border-radius: 3px; }
.tippy-arrow::before {right: 0px !important; }

.flex { display: flex; }
.flex-row { display: flex; flex-direction: row !important; }
.flex-col { display: flex; flex-direction: column !important; }
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.flex-3 { flex: 3; }
.flex-4 { flex: 4; }
.flex-5 { flex: 5; }
.flex-6 { flex: 6; }
.flex-7 { flex: 7; }
.flex-8 { flex: 8; }
.flex-9 { flex: 9; }
.flex-10 { flex: 10; }
.flex-11 { flex: 11; }
.flex-12 { flex: 12; }
.ai-center { align-items: center; }
.jc-center { justify-content: center; }
.jc-space-between { justify-content: space-between; }

.bg-white { background-color: #ffffff; }
a.icon:link, a.icon:visited {
    color: #3a66a9;
    text-decoration: none;
}

a.icon:hover {
    background-color: #0847a6;
    color: #ffffff;
}

a.icon em { font-size: 16px;
    margin: 0 5px;
    width: 28px;
    height: 28px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center; }

a.icon em:hover {
    background-color: #0847a6;
    color: #ffffff;
}

h3.list-title { font-size: 14px; letter-spacing: -0.5px; font-weight: normal; font-family: 'textBold'; margin: 0; padding: 5px 10px; display: flex; flex-direction: row; align-items: center; }
h3.list-title em { font-size: 18px; margin-right: 15px; margin-top: -3px; color: #dcb209; }
body { font-family: textNormal; font-size: 12px; margin: 0; padding: 0; position: absolute; left: 0; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column;}
#aform { border-radius: 6px; margin: 50px auto 0 auto; width: 400px; }
body.anonymous { background-color: #4254b6; display: flex; flex-direction: row; position: absolute; left: 0; top: 0; right: 0; bottom: 0; align-items: center; align-content: center; justify-content: center; }
body.anonymous a:link, body.anonymous a:visited { text-decoration: none; color: #8fc2ff; }
body.anonymous a:hover { color: #f9714e; }
body.anonymous .login-container { position: relative; width: 1050px; display: flex; flex-direction: row; background-repeat: no-repeat; background-position: right bottom; background-image: url(../img/login-image.png); }
body.anonymous .login-container.customer { background-image: unset; }
body.anonymous .login-container .form-container { display: flex; flex-direction: column; width: 310px; }
body.anonymous .login-container.customer .form-container { margin: 0 auto; }
body.anonymous .login-container .copyright { color: #cccccc; position: absolute; left: 5px; bottom: -20px; }
body.anonymous .login-container img { align-self: flex-start; margin-bottom: 30px; }
body.anonymous .login-container h1 { font-size: 36px; line-height: 44px; padding: 0 0 0 0; }
body.anonymous .login-container h3 { color: #ffffff; line-height: 130%; font-family: textNormal; font-weight: normal; font-size: 22px; margin-bottom: 30px; }
body.anonymous .login-container .ufield.vertical label { width: 100%; font-size: 12px; font-family: textNormal; }
body.anonymous .login-container a:link, body.anonymous .login-container a:visited { text-decoration: none;}
body.anonymous .login-container .ufield.vertical label { font-size: 14px; color: #ffffff; display: flex; }
body.anonymous .login-container .ufield.vertical label a:link,
    body.anonymous .login-container .ufield.vertical label a:visited { display: flex; flex: 1; justify-content: flex-end; }
body.anonymous .login-container .ufield.vertical .el input { border: transparent 1.25px solid; }
body.anonymous .login-container .ufield.vertical .el input::placeholder { opacity: 1; }
body.anonymous .login-container.customer .copyright { display:  none; }

a:link, a:visited { color: #0847a6; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 1200px; display: flex; margin: 0 auto; flex-direction: column; }
.container.mini { width: 700px; margin: 40px auto; }
.card { width: 800px; display: flex; margin: 40px auto; flex-direction: column; box-shadow: 0 10px 10px #d4d4d4; background-color: #ffffff; padding: 25px; }
.content { flex: 1; overflow: auto; }
#anonymousbox { width: 350px; max-width: 95%; padding: 20px; border: #d4d4d4 1px solid; border-radius: 8px; background-color: #fff; }
#topbar{
    background-color: #0847a6;
    display: flex;
    flex-direction: row;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
}

#topbar.anonymous { justify-content: center; }

#topbar h1 { color: #ffffff; margin: 0; padding: 12px 15px; font-size: 20px; font-family: textBold; }
#topbar .user { padding-right: 10px; display: flex; }
#topbar .user label { color: #ffffff; }

#topbar .menu { display: flex; flex-direction: row; }
#topbar a:link, #topbar a:visited, #topbar span {
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 3px;
}

#topbar a:hover, #topbar span:hover, #topbar a.selected {
    background-color: #063b8c;
}

span .submenu {
    position: absolute;
    display: none;
    flex-direction: column;
    min-width: 150px;
    background-color: #0847a6;
    left: -10px;
    top: 34px;
    padding: 10px 10px 10px 10px;
    border-radius: 0 0 5px 5px;
    z-index: 1000;
}

.submenu.for-button { top: 26px; }
.submenu.white { background-color: #ffffff; box-shadow: 0 0 5px #d4d4d4; }
.submenu.white a:link, .submenu.white a:visited { white-space: nowrap; text-decoration: none; padding: 10px 13px;  }

.category-list-link:link, .category-list-link:visited { align-items: center; display: flex; flex-direction: row; color: #242424; text-decoration: none; padding: 7px 10px 7px 48px; font-size: 12px;}
.category-list-link:hover { background-color: #f5f5f5; }
.category-list-link em { margin: -3px 10px 0 0; color: #dcb209; font-size: 18px; }
.category-list-link.selected { background-color: #0847a6; color: #f5f5f5; }
.category-list-link.selected em { color: #dcb209; }

span .submenu.right  { left: unset; right: -10px; border-radius: 0 0 0 5px; }
span .submenu.right a { text-align: right; }
span .submenu.top  { left: 0; right: unset; top: 24px; border-radius: 0 0 0 5px; }

span:hover .submenu {
    display: flex;
}

#querybar {
    background-color: #ffffff;
    border-bottom: #e8e8e8 1.5px solid;
    display: flex;
    flex-direction: row;
    padding: 10px;
    align-items: center;
}

#footer {
    background-color: #f5f5f5;
    border-top: #e8e8e8 1.5px solid;
    display: flex;
    flex-direction: row;
    min-height: 50px;
}

#workspace {
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
}

#workspace.withmenu {
    flex-direction: row;
}

#workspace .leftcol {
    width: 350px;
    background-color: #ffffff;
    border-right: #e8e8e8 1.5px solid;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

#workspace.anonymous {
    align-items: center;
    justify-content: center;
}

#footer.anonymous {
    justify-content: center;
    align-items: center;
    font-size: 12px; 
    color: #999999;
}

.category-row {
    border-radius: 5px; 
    padding: 6px 12px;
    margin-bottom: 15px;
    display: flex; 
    flex-direction: row; 
    justify-content: space-between;
    align-items: center;
}

.category-row.main {
    background-color: #dce4f1;
}

.category-row.sub {
    background-color: #f9f9f9;
    cursor: default;
}

.category-row.main:hover { box-shadow: 0 0 1px #0847a6; }
.category-row.sub:hover { box-shadow: 0 0 2px #999999; }


.category-row .row-icon-set { display: flex; flex-direction: row; justify-content: center; }
.category-row a { display: flex; text-decoration: none; }
.category-row h3 { margin: 0; padding: 0; font-size: 12px; font-family: textMedium; }
.category-row h4 { margin: 0; padding: 0 25px; font-size: 12px; font-family: textNormal; font-weight: normal; }
.category-row h3 span, .category-row h4 span { color: #999999; font-size: 11px; margin-left: 7px; font-weight: normal; }
.category-row em { color: #3a66a9; font-size: 16px; margin: 0 5px; width: 28px; height: 28px; border-radius: 3px; display: flex; align-items: center; justify-content: center; }
.category-row em:hover { background-color: #0847a6; color: #ffffff; }
.category-row h3 label, .category-row h4 label { color: #ffffff; font-size: 10px; margin-right: 7px; font-family: textBold; background-color: #aec0dc; padding: 4px 8px; border-radius: 3px; } 
.search-area { padding-right: 15px; }
.search-area label { margin-right: 7px; }
.search-area input { width: 270px; }
.right-button-set { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.excel-menu { position: relative; }
.excel-menu:hover span.btn { border-radius: 4px 4px 0 0; }
.excel-menu a:link, .excel-menu a:visited { text-decoration: none;}
.excel-menu a:hover { background-color: #285228; color: #ffffff; border-radius: 4px; }
label.row-label { font-family: textBold; display: block; padding-bottom: 6px; }
.box { width: 450px; max-width: 95%; border: #d4d4d4 1px solid; border-radius: 5px; background-color: #fff; margin: 30px auto; padding: 20px; box-shadow: 0 0 15px #d4d4d4; }
.box p { line-height: 18px; padding: 0 10px; }
.box h3 { font-weight: normal; font-family: textBold; padding: 0 10px; font-size: 16px; }
.inner-page { padding: 20px; display: flex; flex-direction: column; }
.table-container { background-color: #fff; border: #d4d4d4 1px solid; border-radius: 5px; overflow: auto; max-height: 500px; }
.error-box { width: 450px; max-width: 95%; margin: 0 auto 30px auto; padding: 0px; }
.error { padding: 10px; border: #e07272 1px solid; margin-top: 20px; background-color: #ecd5d5; border-radius: 4px; line-height: 22px; }