﻿/*$Portrait: "all and (orientation:portrait)";
$Landscape: "all and (orientation:landscape)";*/


* { outline:none; } /* disable outlining by WebKit (Safari, Chrome) */
html,body,p,h1,h2,h3,h4,ul,li,form { padding:0; margin:0; }
html { overflow: -moz-scrollbars-vertical; }
body { overflow-y:scroll; }
ul,li { list-style: none; }
fieldset, img {
    border: none;
    padding: 0;
    margin: 0;
}
table { border-collapse: collapse; }

/* Framework */
.left { float: left; }
.right { float: right; }
.clear { clear:both; height: 0px; overflow: hidden; }
.nowrap { white-space: nowrap; }
div.fw_logwindow { color: black; font-size: 11px; }
div.fw_logwindow a { color: black; margin-right: 10px; display:inline; }
div.fw_logwindow.minimized { height: 17px !important; width: 350px !important; }
div.fw_logwindow.minimized>div:first-child { width: 350px !important; }
div.fw_logwindow.minimized .fw_logwindow_content { display: none; }
div.fw_logwindow.minimized .fw_logwindow_move { display: none; }
.fw_badrow {}
.fw_badrow input{}
.fw_row { margin-bottom: 10px; margin-top: 10px; display: flex; align-items: center; }
.fw_lbl { flex: 0 0 150px; }
.fw_lblafter { margin-left: 10px; }
.fw_bold { font-weight: bold; }
.fw_forminput { float: left; }
.fw_errormsg { color: #dd3322; font-weight: bold; }
.fw_dtc { font-style: italic; }

/* contectmenu */
#fw_contextmenu {display: block; position:fixed; cursor:pointer; z-index: 101100;}
#fw_contextmenu ul{display:none;}
#fw_contextmenu>li{display:block;}
#fw_contextmenu li {position: relative; width: 120px; min-height: 18px; padding: 7px 12px;
								 border-top: 1px solid #ffffff; color:#ffffff; background-color: #ccc;}
#fw_contextmenu li:hover{background-color: #aaa; }

/* JavaScript View */
.fw_view_overlay { background: white; }
.fw_view { background: white; border: 2px solid #444; width: 800px; margin: 52px 0; }
.fw_view .fw_view_header { padding: 10px 20px; margin-bottom: 10px; border-bottom: solid 1px  #999; background-color: #555; }
.fw_view .fw_view_content { padding: 0 20px; position: relative; }
.fw_view .fw_view_footer { padding-right: 20px; text-align: right; padding-bottom: 2px; }
.fw_view .fw_view_footer button { margin-left: 10px; }
.fw_view h4 { font-size: 15px; font-weight: bold; color: #FFFFFF; }
.fw_view .viewicon.edit {padding-left: 30px; background:url("/images/popup_edit.png") no-repeat center left;}
.fw_view .viewicon.add {padding-left: 30px; background:url("/images/popup_add.png") no-repeat center left;}
.fw_view .fw_scrollbar {position:absolute; right:0; top:0;}
.fw_view .fw_forminput { }
.fw_view .fw_textbox { width: 574px; }
.fw_view fieldset {padding-top: 1px; }

/* Edit text view */
textarea.fw_nonhtml { width: 574px; height: 60px; }

/* Hoverview */
.fw_hoverview, .fw_hoverview_alternate { padding: 5px; width: 200px; background-color:#E5E7F6; border: 1px solid #7078B9; z-index: 101302; margin-top: 3px; box-shadow: 3px 3px 10px 1px #aaa; }
.fw_hoverview_title{font-weight: bold;}
.fw_hoverview_content{padding: 10px 0 0 7px;}
.fw_hoverview_content ul, .fw_hoverview_content li { list-style: disc; }
.fw_hoverview_content li { margin-left: 15px; }

/* SQL Table */
.fw_sqltable_holder { padding-bottom: 4px; clear: both; }
.fw_sqltable_holder th { padding-left: 16px; background-image: url('/images/sort_no.png'); background-repeat: no-repeat; background-position: 2px 4px; text-align: left; cursor: pointer; }
.fw_sqltable_holder th.fw_nosort { padding-left: 2px; background-image: none; cursor: default; }
.fw_sqltable_holder th.fw_sortasc { background-image: url('/images/sort_asc.png'); }
.fw_sqltable_holder th.fw_sortdesc { background-image: url('/images/sort_desc.png'); }

.fw_sqltablehandler{position: relative;}
.fw_sqltablehandler .pagingholder { display: block; margin: 0 auto; width: 185px; padding-top: 2px; }
.fw_sqltablehandler a { position: relative; top: -2px; }
.fw_sqltablehandler a img { vertical-align: middle; }
.fw_sqltablehandler input { width: 30px; text-align: center; padding-right: 2px; }

/* JS scrollbar */
.fw_scrollbar { background-color: #eee; }
.fw_scrollup { background: url('/images/arrowup.png') no-repeat 4px 4px; border: solid 1px #888; }
.fw_scrolldown { background: url('/images/arrowdown.png') no-repeat 4px 4px; border: solid 1px #888; }
.fw_scrollleft {float:left;width:14px;height:14px;background: url('/images/arrowleft.png') no-repeat 4px 4px; border: solid 1px #888; }
.fw_scrollright {float:left;width:14px;height:14px;background: url('/images/arrowright.png') no-repeat 4px 4px; border: solid 1px #888; }
.fw_sliderholder {border-left: solid 1px #888; border-right: solid 1px #888; }
.fw_scrollslider { background-color: #ccc; border-top: solid 1px #888; border-bottom: solid 1px #888; }
.fw_scrollbar.hor {width:523px; height:16px; padding: 1px; }
.fw_sliderholder.hor { float:left;width:491px;height:14px;border: none; border-top: solid 1px #888; border-bottom: solid 1px #888; }
.fw_scrollslider.hor { border: none; border-left: solid 1px #888; border-right: solid 1px #888; }

table.aifolders { font-size: 14px; font-family: Arial; }
table.aifolders td, table.aifolders th { padding: 5px 10px; border: solid 1px #808080; }