/* PER LE FORMATTAZIONI IN TINYMCE DEI DECRETI*/
@font-face {
    font-family: 'times';
    src: url('../fonts/timesnewroman.woff2') format('woff2'),
        url('../fonts/timesnewroman.woff') format('woff'),
        url('../fonts/timesnewroman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'palacescriptmt';
    src: url('../fonts/palacescriptmt.woff2') format('woff2'),
        url('../fonts/palacescriptmt.woff') format('woff'),
        url('../fonts/palacescriptmt.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-SemiBold.woff2') format('woff2'),
        url('../fonts/OpenSans-SemiBold.woff') format('woff'),
        url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: semibold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-ExtraBold.woff2') format('woff2'),
        url('../fonts/OpenSans-ExtraBold.woff') format('woff'),
        url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
    font-weight: extrabold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2'),
        url('../fonts/OpenSans-Bold.woff') format('woff'),
        url('../fonts/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'),
        url('../fonts/OpenSans-Regular.woff') format('woff'),
        url('../fonts/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


* {margin: 0; padding: 0;}
/* html {padding-top: 90px; padding-bottom: 20px;} */
/* html.file-manager {padding: 0;} */
body {font-family: 'OpenSans'; font-size: 12px !important; font-weight: normal; color: #111111;}
body.no-scroll {height: 100%; overflow: hidden;}
#main_content img, #main_content input[type="checkbox"], #popup img, #popup input[type="checkbox"] {border: 0;}
b {font-weight: bold;}
#main_content p, #popup p {font-size: 12px !important; line-height: 14px !important;}
#main_content ul, #popup ul {display: block; margin: 0;}
#main_content li, #popup li {display: block;}
#main_content table, #popup table {border: 0px; padding: 0px; border-spacing: 0px; border-collapse: collapse;}
#main_content a, #popup a {color: #0974C4; text-decoration: none;}
#main_content a:hover, #popup a:hover {text-decoration: underline;}
#main_content input, #main_content select, #main_content textarea, #popup input, #popup select, #popup textarea {color: #111111;}
#main_content fieldset, #popup fieldset {border: solid 1px #D6D8D7; margin: 10px; padding: 10px;}
#main_content legend, #popup legend {padding: 0.2em 0.5em; border: solid 1px #D6D8D7; font-size: 90%; text-align: center;}

#main_content input[type=text], #main_content input[type=password], #main_content select, #main_content textarea, #popup input[type=text], #popup input[type=password], #popup select, #popup textarea {
  border: 1px solid #b0c1d4;
  border-radius: 3px;
  padding: 0 5px;
  outline: 0;
  height: 30px;
  /* width: 100%; */
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 14px;
  font-weight: bold;
  margin: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

/* Questo funziona ma vincola, perchè la checkbox non può stare nella label, quindi bisogna usare gli id e i label for, quindi è complicato nelle liste con l'elimina -> id[] -usato questo alla fine */
#main_content [type="checkbox"]:not(:checked), #main_content [type="checkbox"]:checked {position: absolute; left: -9999px;}
#main_content [type="checkbox"]:not(:checked) + label, #main_content [type="checkbox"]:checked + label {display: inline !important; position: relative; padding-left: 20px; cursor: pointer; -moz-user-select: none; -ms-user-select: none; user-select: none;}
/* checkbox aspect */
#main_content [type="checkbox"]:not(:checked) + label:before, #main_content [type="checkbox"]:checked + label:before {content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border: 1px solid #b0c1d4; background: #ffffff; border-radius: 3px;}
/* checked mark aspect */
#main_content [type="checkbox"]:not(:checked) + label:after,
#main_content [type="checkbox"]:checked + label:after {content: '\2713\0020'; position: absolute; top: 2px; left: 3px; font-size: 14px; line-height: 14px; color: #09ad7e;}
/* checked mark aspect changes */
#main_content [type="checkbox"]:not(:checked) + label:after {opacity: 0;}
#main_content [type="checkbox"]:checked + label:after {opacity: 1;}
/* disabled checkbox */
#main_content [type="checkbox"]:disabled:not(:checked) + label:before, #main_content [type="checkbox"]:disabled:checked + label:before {box-shadow: none; border-color: #bbb; background-color: #ddd;}
#main_content [type="checkbox"]:disabled:checked + label:after {color: #999;}
#main_content [type="checkbox"]:disabled + label {color: #aaa;}

/*BOXES*/
#loading {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent url('../images/bg_cover.png'); z-index: 9998; display: none;}
#loading div.loader {position: relative; width: 200px; top: 200px; left: 50%; margin-left: -100px; background: linear-gradient(#030405, #5E5F61);  padding: 5px; text-align: center; color: #FFFFFF;}
#loading div.loader div.progress_bar {margin-top: 3px; display: none;}
#loading div.loader div.progress_bar div.bar_container {width: 168px; height: 8px; border: solid 1px #FFFFFF; float: left; padding: 1px;}
#loading div.loader div.progress_bar div.bar_container div.bar {background-color: #FFFFFF; height: 8px; width: 0%;}
#loading div.loader div.progress_bar div.percent {text-align: center; font-size: 7pt; color: #FFFFFF;}
#error {position: absolute; width: 500px; top: 70px; left: 50%; margin-left: -250px; z-index: 9999; background-color: white; border: solid 1px #C13744; padding: 5px; color: #C13744; display: none;}
#error a.close {display: block; width: 20px; height: 20px; float: right; text-align: center; cursor: pointer; color: #C13744; font-weight: bold;}
#error p {margin: 0}
#help {position: fixed; width: 500px; top: 70px; left: 50%; margin-left: -250px; z-index: 9998; background-color: white; border: solid 1px #b0c1d4; padding: 5px; color: #111111; display: none;}
#help a.close {display: block; width: 20px; height: 20px; float: right; text-align: center; cursor: pointer; color: #b0c1d4; font-weight: bold;}
#help p {margin: 0}

/* #popup {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: transparent url('../images/bg_cover.png'); z-index: 9000; display: none;} */
#popup {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 9000; display: none;} */

#popup .loading_popup {width: 100%; height: 100%; position: absolute; top: 50%; left: 50%}
#popup div.popup {width: 500px; height: 300px; margin: auto; background-color: white; overflow: hidden;}
#popup div.popup div.popup_header {position:relative; height: 30px; line-height: 30px; font-weight: normal; text-align: center; background-color: #425b76; color: #ffffff; font-size: 14px;}
#popup div.popup div.popup_header a.close {position: absolute; right: 4px; cursor: pointer; color: #ffffff; font-weight: bold; font-size: 20px; text-decoration: none;}
#popup div.popup div.popup_header a.close:hover {text-decoration: none;}
#popup div.popup div.content {overflow: auto;}
#session_msg {width: 350px; margin: 0 auto; background-color: #c61717; padding: 3px; color: white; font-size: 11px; display: none; position: absolute; z-index: 9999;}
#session_msg a {color: white; font-size: 10px; text-decoration: none;}
#session_msg a:hover {text-decoration: underline;}

/*CUSTOM*/
#main_content table.tbl_user_orders tr td.left_column, #popup table.tbl_user_orders tr td.left_column {font-weight: bold; padding: 3px; border: solid 1px;}
#main_content table.tbl_user_orders tr td.right_column, #popup table.tbl_user_orders tr td.right_column {font-weight: normal; padding: 3px; border: solid 1px;}
#main_content table.tbl_user_orders tr td.right_column table th, #popup table.tbl_user_orders tr td.right_column table th {border: solid 1px; padding: 3px;}
#main_content table.tbl_user_orders tr td.right_column table td, #popup table.tbl_user_orders tr td.right_column table td {border: solid 1px; padding: 3px;}
#main_content table.def_table, #popup table.def_table {border: solid 1px #FCE294; padding: 0px; border-spacing: 0px; border-collapse: collapse; width: 100%; word-wrap: break-word;
              table-layout: fixed;}
#main_content table.def_table tr th, #popup table.def_table tr th {font-size: 11px; font-weight: bold; border: solid 1px #FCE294;}
#main_content table.def_table tr td, #popup table.def_table tr td {border: solid 1px #FCE294; padding: 4px; word-wrap: break-word;}
#main_content div.cr_ok,#popup div.cr_ok {background-color: #18ac18; text-align: center; color: white; padding: 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
#main_content div.cr_alert, #popup div.cr_alert {background-color: #bf4a4a; text-align: center; color: white; padding: 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
#main_content div.cr_yellow, #popup div.cr_yellow {background-color: #f1f803; text-align: center; color: black; padding: 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}
#main_content div.cr_gray,#popup div.cr_gray {background-color: #d1d1d3; text-align: center; color: black; padding: 5px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;}

/*DELETEBAR*/
#main_content div.delete_bar_up {padding: 5px 22px; background: transparent url('../images/delete_up.png') no-repeat left center; margin-left: 16px;}
#main_content div.delete_bar_down {padding: 5px 22px; background: transparent url('../images/delete_down.png') no-repeat left center; margin-left: 16px;}

/*HEADER*/
#main_content div.header {position: fixed; height: 80px; width: 100%; top: 0; left: 0; background-color: #f2f5f8; z-index: 1000;}
#main_content div.header div.logo {height: 50px; background: transparent url('../images/logo.png') no-repeat 10px center;}

/*FILE MANAGER*/
#main_content div.filemanager_header {position:relative; height: 30px; line-height: 30px; font-weight: normal; text-align: center; background-color: #425b76; color: #ffffff; font-size: 14px;}
#main_content div.filemanager_header a.close {position: absolute; right: 4px; cursor: pointer; color: #ffffff; font-weight: bold; font-size: 40px;}
#main_content div.filemanager_header a.close:hover {text-decoration: none;}

#main_content a.file-manager-button {display: block; cursor: pointer; text-align: center; background-color: #E9EAEC; padding: 10px; margin-bottom: 10px; text-decoration: none;}
#main_content a.file-manager-button:hover {background-color: #CDE5AC;}

/*FK*/
/* div.fk_content {position: relative; display: inline-block; min-height: 20px; border-left: solid 1px #D6D8D7; padding: 3px;} */
/* div.fk_multi_content {position: relative; min-height: 20px; padding: 3px;} */
#main_content div.fk_content {position: relative; display: inline-block; border-left: solid 1px #D6D8D7; padding: 3px;}
#main_content .fk_div_record_list, .fk_div_record_list_file {margin-top: 6px;}
#main_content .fk_div_record_list_file {width: 100%;}
#main_content .fk_div_record_list > tbody > tr > th, .fk_div_record_list_file > tbody > tr > th {padding: 3px;}
#main_content .fk_div_record_list > tbody > tr > td, .fk_div_record_list_file > tbody > tr > td {border-top: solid 1px #d6d8d7; padding: 3px;}
/* .fk_div_record_list > tbody > tr > td.file {width: 1px; white-space: nowrap} */
/* .fk_div_record_list > tbody > tr > td.right {text-align: right} */
#main_content .fk_div_record_list_file > tbody > tr > td.file {width: 1px; white-space: nowrap}
#main_content .fk_div_record_list_file > tbody > tr > td.right {text-align: right}


/*FOOTER*/
#main_content div.footer {position: fixed; width: 100%; height: 16px; bottom: 0; left: 0; background-color: #EAEAEB; border-top: 1px solid #5C5C5C; text-align: center; color: #000000; font-size: 7pt; background: linear-gradient(#BDBFC2, #FFFFFF); line-height: 15px;}

/*GENERAL*/
#main_content .tooltip, #popup .tooltip {cursor: help;}
ul.checked_style {list-style: none; padding: 0px;}
ul.checked_style > li {padding: 4px; margin: 0 15px; position: relative; font-size: 14px !important;}
ul.checked_style > li div.checked:before {position: absolute; top: 4px; left: -15px; content: '\2713\0020'; color: green;}

/*IMPORT*/
#main_content div.import_bar {background-color: #829E48; border: solid 1px #618A3B; color: #FFFFFF; padding: 3px; text-align: center;}
#main_content div.import {background-color: #FFFFFF; padding: 3px;}
#main_content div.import div.import_loading {display: none; height: 20px;}

/*INDEX*/
#main_content div.admin_index_category {clear: both; padding-left: 15px; font-size: 10pt; font-weight: bold; color: #000000; background: linear-gradient(#E9E9E9, #FFFFFF); box-shadow: 0px 2px 2px #AAAAAA; margin: 5px 0 5px 0; overflow: hidden;}
#main_content div.admin_index_category span.cat_title {box-shadow: 6px 0px 5px -5px #999, -6px 0px 5px -5px #999; padding: 5px; line-height: 2em;}
#main_content div.admin_index_module {width: 250px; height: 100px; overflow: hidden; padding: 2px; border: solid 1px #D6D6D6; float: left; margin: 0 10px 5px 5px; border-radius: 2px;}
#main_content div.admin_index_module div.image {width: 50px; height: 50px; overflow: hidden; float: left; margin-right: 4px;}
#main_content div.admin_index_module a.title {font-weight: bold; margin-bottom: 3px; text-decoration: none; color: #485E51; cursor: pointer;}
#main_content div.admin_index_module a.title:hover {text-decoration: underline;}
#main_content div.admin_index_module p.ok {clear: both; margin-top: 2px; background-color: #4dbd74; color: #FFFFFF; padding: 1px; font-weight: bold; border-radius: 2px; text-align: center;}
#main_content div.admin_index_module p.alert {clear: both; margin-top: 2px; background-color: #bf4a4a; color: #FFFFFF; padding: 1px; font-weight: bold; border-radius: 2px; text-align: center;}

/*INPUTS*/
#main_content .inputdisabled {border: none; background-color: transparent; cursor: default;}

/*JS*/
div.js_msg, div.js_var {display: none;}

/*LOGBAR*/
div.log_bar {display: table; width: 100%;}
div.log_bar div.container {display: table-cell; vertical-align: middle; text-align: center; width: 100%;}
div.log_bar div.container div.alert {display: inline-block; color: #FFFFFF; padding: 3px 3px 3px 30px; background-color: #FEF122; background-image: url('../images/icon_alert.png'); background-image: url('../images/icon_alert.png'), linear-gradient(#69612A, #FEF122); background-repeat: no-repeat; font-size: 12pt; font-weight: bold; margin-bottom: 5px;}
div.log_bar div.container div.alert a {color: #D1E920;}
div.log_bar div.container div.ok {color: #ffffff; padding: 10px; background-color: #4dbd74; font-size: 14px; font-weight: normal; margin-bottom: 5px;}
div.log_bar div.container div.ko {color: #ffffff; padding: 10px; background-color: #bf4a4a; font-size: 14px; font-weight: normal; margin-bottom: 5px;}

/*LOGIN*/
div.login_box {width: 400px; margin: 0 auto; background-color: #f2f5f8; border: 1px solid #b0c1d4; border-radius: 0 0 3px 3px; box-sizing: border-box; padding: 20px; color: #333333; font-size: 12px; font-weight: bold;}
div.login_box div.login_box_error {background: #FF0000; padding: 4px; color: #FFFFFF; margin-bottom: 5px; border-radius: 0.5em;}
div.login_disclaimer {width: 400px; height: 30px; line-height: 30px; margin: 150px auto 0; text-align:center; background-color: #425b76; border-radius: 3px 3px 0 0; color: #ffffff; font-size: 14px;}
div.login_disclaimer span:before {content: ''; background: url(../images/icon_login.png) no-repeat center center; background-size: auto 25px; padding-right: 25px;}
div.login_box form div {margin-bottom:15px;}

/*MAIN*/
#main_content {background-color: #FFFFFF;}
.header_bar { height: 30px; line-height: 30px; background-color: #425b76; font-size: 14px; color: #ffffff;}
#status_bar {width: 50%; float: left; display: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box;}
#status_bar a.open_menu {display: block; width: 16px; height: 16px; background: transparent url('../images/btn_mod_menu_open.png') no-repeat center center; margin-right: 5px; cursor: pointer; float: left;}
#status_bar a {color: #ffffff; text-decoration: none;}
#status_bar a:hover {color: #f2f5f8;}
#user_info {position: absolute; width: 50%; left: 50%; display: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; box-sizing: border-box; text-align: right; padding-right: 120px; padding-left: 20px;}
#user_info:before {content: ''; background: url(../images/icon_user.png) no-repeat center center; background-size: auto 25px; padding-right: 25px;}
/* #user_info:hover{overflow: visible; white-space: normal; text-align: left; background-color: #425b76; padding-left: 20px;} */
div.logout {position: absolute; right: 0; width: 110px; display: none; text-align: right; border-left: 1px solid #ffffff;}
div.logout a {color: #ffffff; text-decoration: none; padding-right: 10px;}
div.logout a:hover {text-decoration: none;}
div.logout a:after {content: ''; background: url(../images/icon_logout.png) no-repeat center center; background-size: auto 25px; padding-right: 25px;}

/*MENU BAR*/
/*dovrebbe sostituire le searchbar e le newrecordbar*/
.menu_bar, .popup_menu_bar {height: 30px; line-height:30px; position: relative; padding: 5px 7px;}
.menu_bar > a.item, .popup_menu_bar > a.item {float:left; margin-right: 10px; color: #2579d2; font-size: 14px; font-weight: normal; text-decoration: none;}
.menu_bar > a.back_button:before, .popup_menu_bar > a.back_button:before {content: ''; background: url(../images/icon_menu_back.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.delete_button:before, .popup_menu_bar > a.delete_button:before {content: ''; background: url(../images/icon_menu_delete.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.select_button:before, .popup_menu_bar > a.select_button:before {content: ''; background: url(../images/icon_menu_select.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.new_button:before, .popup_menu_bar > a.new_button:before {content: ''; background: url(../images/icon_menu_new.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.export_button:before, .popup_menu_bar > a.export_button:before {content: ''; background: url(../images/icon_menu_export.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.filter_button:before, .popup_menu_bar > a.filter_button:before {content: ''; background: url(../images/icon_menu_filter.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}
.menu_bar > a.filter_button_on, .popup_menu_bar > a.filter_button_on {color: #4dbd74;}
.menu_bar > a.filter_button_on:before, .popup_menu_bar > a.filter_button_on:before {content: ''; background: url(../images/icon_menu_filter_on.png) no-repeat center center; background-size: auto 25px; padding-left: 27px;}

/*MENU BOX*/
#main_module_menu {position: fixed; width: 250px; padding: 0 2px 2px 2px; background: white; z-index: 9100; border-bottom-right-radius: 0.5em; top: 83px; left: -264px; box-shadow: 4px 4px 4px #AAAAAA; overflow: auto;}
#main_module_menu a {display: block; color: #000000; padding: 3px;}
#main_module_menu a:hover {text-decoration: none; background-color: #CDE5AC;}
#main_module_menu a.close {display: block; width: 20px; height: 20px; float: right; background: transparent url('../images/btn_mod_menu_close.png') no-repeat center center; cursor: pointer; border: 0;}
#main_module_menu div.menu_category {font-weight: bold; border-bottom: solid 1px #425b76; margin: 2px 0; padding: 3px; background-color: #EFEFEF;}

/*NAVIGATION_BAR*/
/* div.navigation_bar {margin-bottom: 5px; overflow: hidden;} */
/* div.navigation_bar div.current {width: 280px; float: left; overflow: hidden;} */
/* div.navigation_bar div.row_per_page {width: 190px; float: right; overflow: hidden;} */
/* div.navigation_bar div.row_per_page form input[type="text"] {width: 30px; height: 14px; padding: 0; vertical-align: bottom; font-size: 8pt;} */
/* div.navigation_bar div.pages {float: left; text-align: center; min-width: 400px;} */
/* div.navigation_bar div.pages span.selected {font-weight: bold;} */
div.navigation_bar {display:table; box-sizing: border-box; width: 100%; overflow: hidden; font-size: 11px; padding: 10px; color: #415a76}
div.navigation_bar div.current {display: table-cell; width: 20%; text-align: right;}
div.navigation_bar div.row_per_page {display: table-cell; white-space: nowrap; width: 20%; text-align: left;}
div.navigation_bar div.pages {display: table-cell; width: 40%; text-align: center; font-size: 14px;}
div.navigation_bar div.pages span.selected {display: inline-block; height: 30px; width: 30px; line-height: 30px; background-color: #b0c1d4; border: 1px solid #b0c1d4; border-radius: 3px; color: #415a76; font-weight: bold;}
div.navigation_bar div.pages a {display: inline-block; height: 30px; width: 30px; line-height: 30px; background-color: #ffffff; border: 1px solid #b0c1d4; border-radius: 3px; color: #415a76; text-decoration: none;}

div.popup_navigation_bar {display:table; box-sizing: border-box; width: 100%; overflow: hidden; font-size: 11px; padding: 10px; color: #415a76}
div.popup_navigation_bar div.current {display: table-cell; width: 20%; text-align: right;}
div.popup_navigation_bar div.row_per_page {display: table-cell; white-space: nowrap; width: 20%; text-align: left;}
div.popup_navigation_bar div.pages {display: table-cell; width: 40%; text-align: center; font-size: 14px;}
div.popup_navigation_bar div.pages span.selected {display: inline-block; height: 30px; width: 30px; line-height: 30px; background-color: #b0c1d4; border: 1px solid #b0c1d4; border-radius: 3px; color: #415a76; font-weight: bold;}
div.popup_navigation_bar div.pages a {display: inline-block; height: 30px; width: 30px; line-height: 30px; background-color: #ffffff; border: 1px solid #b0c1d4; border-radius: 3px; color: #415a76; text-decoration: none;}

/*PATH BAR*/
div.path {padding: 5px 10px; border-bottom: solid 1px #CCCCCC; margin-bottom: 10px;}

/*PROGRESS BAR*/
div.main_progress_bar {width: 300px; margin: 5px auto 5px auto; background-color: white; border: solid 1px #D8D8D8; padding: 5px; text-align: center; overflow: hidden;}
div.main_progress_bar div.progress_bar {margin-top: 3px; overflow: hidden;}
div.main_progress_bar div.progress_bar div.bar_container {width: 260px; height: 12px; border: solid 1px #111111; float: left; padding: 1px;}
div.main_progress_bar div.progress_bar div.bar_container div.bar {background-color: #111111; height: 8px; width: 0%;}
div.main_progress_bar div.progress_bar div.percent {text-align: center; font-size: 7pt; color: #111111;}

/*RECORD FORM*/
#main_content table.record, #popup table.record {width: 100%;}
#main_content table.record > tbody > tr, #popup table.record > tbody > tr {border-top: 1px solid #ffffff;}
#main_content table.record > tbody > tr:first-child, #popup table.record > tbody > tr:first-child {border: none;}
#main_content table.record > tbody > tr:last-child, #popup table.record > tbody > tr:last-child {border-top: 1px solid #b0c1d4;}
#main_content table.record tr td, #popup table.record tr td {padding: 6px; font-size: 9pt; text-align: left;}
#main_content table.record tr td.left_column, #popup table.record tr td.left_column {position: relative; vertical-align: top; width: 250px; background-color: #f2f5f8; font-size: 12px; color: #333333; font-weight: bold; padding-right: 25px;}
#main_content table.record tr td.left_column > .help, #popup table.record tr td.left_column > .help {position: absolute; right: 0px; top: 0px;}
#main_content table.record tr td.right_column, #popup table.record tr td.right_column {background-color: #f2f5f8; color: #333333;}
#main_content table.record tr td.right_column > *, #popup table.record tr td.right_column > * {vertical-align : middle;}
#main_content table.record tr td.right_column input[type="text"], #main_content table.record tr td.right_column select, #popup table.record tr td.right_column input[type="text"], #popup table.record tr td.right_column select {width: 300px;}
/* table.record tr td.right_column table th {border: solid 1px; padding: 3px;} */
/* table.record tr td.right_column table td {border: solid 1px; padding: 3px;} */
#main_content table.record tr td.submit_column, #popup table.record tr td.submit_column {border-top: #b0c1d4; background-color: #FFFFFF; font-weight: bold;}
#main_content table.record tr td.title, #popup table.record tr td.title {background-color: #f2f5f8; border-bottom: solid 1px #f2f5f8; border-top: 3px solid #ffffff; font-size: 11pt;}
#main_content div.form_err_msg, #popup div.form_err_msg {margin-top: 3px; color: #BF4A4A; display: none;}
#main_content table.module_permission, #popup table.module_permission {table-layout: fixed;}
#main_content table.module_permission > tbody > tr, #popup table.module_permission > tbody > tr {border: none;}
#main_content table.module_permission tr th, #popup table.module_permission tr th {width: 50px; padding: 3px; font-size: 8pt; text-align: left; font-weight: bold; overflow: hidden;}
#main_content table.module_permission tr td, #popup table.module_permission tr td {width: 50px; padding: 3px; font-size: 8pt; text-align: left;}

/*RECORD LIST*/
/* div.new_record_bar {background: #D8D9DB url('../images/insert_new.png') no-repeat top left; width: 79px; padding: 1px 1px 1px 16px; line-height: 1em; margin-bottom: 5px;} */
/* div.new_record_bar a {color: #000000; text-decoration: none; font-size: 8pt;} */
/* div.new_record_bar a:hover {color: #0974C4;} */
#main_content .record_list {width: 100%; border-spacing: 1px 1px; border-collapse: separate; padding: 0 10px;}
#main_content .record_list tr.row_1 {background-color: #eaf0f6; cursor: pointer;}
#main_content .record_list tr.row_1:hover {background-color: #b0c1d4; cursor: pointer;}
#main_content .record_list tr.row_2 {background-color: #f2f5f8; cursor: pointer;}
#main_content .record_list tr.row_2:hover {background-color: #b0c1d4; cursor: pointer;}
#main_content .record_list tr.flat {cursor: auto;}
#main_content .record_list tr.flat:hover {cursor: auto;}
#main_content .record_list tr th {padding: 4px; color: #425b76; font-size: 14px; font-weight: bold; text-align: left; background-color: #b0c1d4; vertical-align: middle;}
#main_content .record_list tr th a {color: #425b76; text-decoration: none;}
#main_content .record_list tr th a:hover {text-decoration: underline;}
#main_content .record_list tr td {padding: 4px; font-size: 12px;}
#main_content .record_list tr td.flat {cursor: auto;}
#main_content .record_list tr td.actions {white-space: nowrap;}
#main_content .record_list tr td span.alert {background-color: #bf4a4a; color: #ffffff; padding: 1px; font-weight: bold; border-radius: 2px; border-color: #bf4a4a;}
#main_content .record_list tr td span.ok {background-color: #4dbd74; color: #ffffff; padding: 1px; font-weight: bold; border-radius: 2px; border-color: #4dbd74;}
#main_content .record_list tr td div.lock_free {width: 15px; height: 15px; background-color: #92C64C; border-radius: 8px; border: solid 1px #646263;}
#main_content .record_list tr td div.lock_busy {padding: 3px; background-color: #EC0006; border-radius: 2px; color: #ffffff; text-align: center; border: solid 1px #646263;}
#main_content .record_list tr td p.ok {background-color: #4dbd74; color: #ffffff; padding: 1px; font-weight: bold; border-radius: 2px; text-align: center; border-color: #4dbd74;}
#main_content .record_list tr td p.alert {background-color: #bf4a4a; color: #ffffff; padding: 1px; font-weight: bold; border-radius: 2px; text-align: center; border-color: #bf4a4a;}
#main_content .record_list tr td p.alert_2 {background-color: #FF8428; color: #FFFFFF; padding: 1px; font-weight: bold; border-radius: 2px; text-align: center; border-color: #FF8428;}
#popup .popup_record_list {width: 100%; border-spacing: 1px 1px; border-collapse: separate;}
#popup .popup_record_list tr.row_1 {background-color: #eaf0f6; cursor: pointer;}
#popup .popup_record_list tr.row_1:hover {background-color: #b0c1d4; cursor: pointer;}
#popup .popup_record_list tr.row_2 {background-color: #f2f5f8; cursor: pointer;}
#popup .popup_record_list tr.row_2:hover {background-color: #b0c1d4; cursor: pointer;}
#popup .popup_record_list tr.flat {cursor: auto;}
#popup .popup_record_list tr.flat:hover {cursor: auto;}
#popup .popup_record_list tr td a img.icon_action, .popup .ul-browse a img.icon_action {height: 25px;}
#popup .popup_record_list tr th {padding: 4px; color: #425b76; font-size: 14px; font-weight: bold; text-align: left; background-color: #b0c1d4;}
#popup .popup_record_list tr th a {color: #425b76; text-decoration: none;}
#popup .popup_record_list tr th a:hover {text-decoration: underline;}
#popup .popup_record_list tr td {padding: 4px; font-size: 12px;}
#popup .popup_record_list tr td.nowrap {white-space: nowrap;}

/*SEARCH BAR*/
#main_content div.search_bar, #popup div.search_bar {background-color: #f2f5f8; padding: 3px 3px 20px 3px; display: none; border-bottom: 1px solid #b0c1d4; font-size: 12px; color: #333333; font-weight: bold;}
/* div.search_bar form input[type="text"] {width: 150px; height: 14px; padding: 0; vertical-align: bottom; font-size: 8pt;} */
/* div.search_bar form select {height: 18px; vertical-align: bottom; font-size: 8pt;} */
#main_content div.search_bar form input[type="text"], #main_content div.search_bar form select, #popup div.search_bar form input[type="text"], #popup div.search_bar form select {width: 150px;}
#main_content div.search_bar form .submit, #popup div.search_bar form .submit {height: 30px; line-height: 30px; text-align: center; padding-top: 5px; font-size: 12px;}
#main_content div.search_bar form .row_sb, #popup div.search_bar form .row_sb {text-align: center; margin-bottom: 5px; font-size: 12px !important; line-height: 14px !important;}
#main_content div.search_bar form .row_sb label, #popup div.search_bar form .row_sb label {margin-right: 10px; font-size: 12px !important; line-height: 14px !important;}

/*CUSTOM*/
#main_content div.ul-browse ul {
  display: block;
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
}
#main_content div.ul-browse ul li {
  display: list-item;
}
#main_content div.ul-browse ul li a.disabled {
  color: #111111;
  cursor: default;
}
#main_content div.ul-browse ul li a.disabled:hover {
  text-decoration: none;
}

.elenco_header {background-color: #eaf0f6; font-size: 14px; font-weight: bold; text-align: center; padding: 4px;}

.elenco_list1 {width: 100%; border-spacing: 4px; border-collapse: collapse; background-color: #ffffff; color: #111111; margin-bottom: 4px;}
.elenco_list1 > tbody > tr {border-bottom: 1px solid #ffffff; vertical-align:top;}
.elenco_list1 > tbody > tr > td {width: 70%; font-size: 14px; font-weight: normal; text-align: left; padding: 4px; vertical-align:top;}
.elenco_list1 > tbody > tr > td:first-child {width: 30%; font-size: 12px; font-weight: bold; text-align: right; text-transform: uppercase; background-color: #eaf0f6; padding: 6px;}

.elenco_list2 {width: 100%; border-spacing: 1px; border-collapse: collapse; background-color: #ffffff; color: #111111; margin-bottom: 4px;}
.elenco_list2 > tbody > tr > th {font-size: 12px; font-weight: bold; text-align: left; text-transform: lowercase; border-bottom: 1px solid #eaf0f6; padding: 4px;}
.elenco_list2 > tbody > tr > td {font-size: 14px; font-weight: normal; text-align: left; vertical-align:top; padding: 4px;}

.elenco_list3 {width: 100%; border-spacing: 1px; border-collapse: collapse; background-color: #ffffff; color: #111111; margin-bottom: 4px;}
.elenco_list3 > tbody > tr:first-child > td {background-color: #f2f5f8; font-size: 14px; font-weight: normal; text-align: center; padding: 4px;}
.elenco_list3 > tbody > tr:nth-child(n+2) > td:nth-child(odd) {width: 30%; font-size: 12px; font-weight: bold; text-align: right; vertical-align:top; text-transform: lowercase; border-right: 3px solid #f2f5f8; padding: 6px;}
.elenco_list3 > tbody > tr:nth-child(n+2) > td:nth-child(even) {width: 70%; font-size: 14px; font-weight: normal; text-align: left; vertical-align:top; padding: 4px;}

.elenco_attach, .elenco_gallery  {width: 100%; border-spacing: 4px; border-collapse: collapse; background-color: #ffffff; color: #111111;}
.elenco_attach > tbody > tr > td, .elenco_gallery tr td {font-size: 14px; font-weight: normal; text-align: left; vertical-align:top; padding: 4px; background-color: #ffffff;}
.elenco_attach > tbody > tr > td:nth-child(1), .elenco_gallery > tbody > tr > td:nth-child(1), .elenco_gallery > tbody > tr > td:nth-child(2) {width: 1px; white-space: nowrap; background-color: #ffffff;}

.tpl_json {width: auto !important; border-collapse: collapse !important; border: solid 1px #AAA !important;}
.tpl_json td, .tpl_json th {padding: 2px; border: solid 1px #AAA !important;}
.tpl_json tbody > tr > td:first-child, .tpl_json tbody > tr > td:nth-child(2), .tpl_json tbody > tr > td:nth-child(3) {font-family: monospace, monospace;}