@import url("yaml/core/base.css");
@import url("yaml/screen/typography.css");
@import url("yaml/navigation/vlist.css");
@import url("yaml/forms/gray-theme.css");

@import url("jquery.ui/jquery.ui.base.css");
@import url("jquery.ui/jquery.ui.theme.css");

/* pictures */
@import url("pictures.css");

html,body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
/*
    font: 12px Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
*/
}

body {
    background: white;
    font-size: 75%;
}

/* typography */
h1 {
    font-size: 150%;
    padding-bottom: 10px;
}

h2 {
    font-size: 125%;
    padding-bottom: 7px;
}

h3 {
    font-size: 110%;
    padding-bottom: 5px;
}

a {
    color: #000000;
}

a:hover {
    background: transparent;
    color: #000000;
    text-decoration: underline;
}

.endfloat {
    clear: both;
}

/* -----------------------------------------------------------------------------
 * header&topnav
 */
#header {
    position:relative;
    min-width: 700px;
}

.redstring {
    color: red;
    float: left;
    position: relative;
    left: 68px;
    top: 10px;
    padding: 3px;
    border-bottom: 1px dotted red;
}

#topnav { 
    background:transparent; 
    color: #184d68;
    
    text-align:right;
    float: right;
    margin: 10px;
}

#topnav a {
    color: #896e46;
    font-weight: bold;
}

.logo {
    float: left;
    margin: 10px 10px 30px 10px;
}


/* column layout */
.ym-column {
    display: block;
/*    overflow: hidden; */
    padding-left: 250px; /* column width */
    width: auto;
    min-width: 400px;
}

.ym-col1 { /* content */
    position: relative;
    float: left;
    width: 100%;
}

.ym-cbox h1 {
    margin-top: 0;
}

.ym-col3 { /* sidebar */
    position: relative;
    float: left;
    width: 250px; /* column width */
    right: 250px; /* column width */
    margin: 0 0 0 -100%;
}

/* sidebar */
.ym-vlist {
    background: #f0f0f0;
}

.ym-vlist ul {
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.ym-vlist a,
.ym-vlist strong,
.ym-vlist span,
.ym-vlist li span {
    color: #000000;
    border-bottom: 1px solid #f0f0f0;
}

.ym-vlist li,
.ym-vlist li ul li a,
.ym-vlist li ul li a:visited {
    background: #f0f0f0;
    color: #000000;
}

.ym-vlist li a:hover,
.ym-vlist li ul li a:hover {
    color: #000000;
    background: #f0f0f0;
}

/* main */
.slogan {
    color: #777777; font-size: 18px; padding: 15px 0 20px
}

/*
.reloadLink {
    display: block;
    float:right;
    position: relative;
    top: -1em;
    color: #d55121;
}
*/

/* -----------------------------------------------------------------------------
 * breadcrumbs
 */
.breadcrumbs {
    height: 20px;
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    width: 100%;
    line-height: 20px;
    position: absolute;
    left: 260px;
    top: 70px;
}

.breadcrumbs-hlist {
    width: 100%;
    overflow: hidden;
    height: 20px;
}

.breadcrumbs-vlist-mask {
    display: none;
    position: absolute;
/*
    width: 200px;
    height: 500px;
*/
    background-color: #e0e0e0;
    top: 30px;
    right: 5px;
}

.breadcrumbs-vlist {
/*
    overflow: hidden;
    width: 100%;
    height: 100%;
*/
    border: 1px solid black;
    background-color: #f0f0f0;
    position: relative;
    top: -5px;
    right: 5px;
    z-index: 1000;
}

.breadcrumbs-vlist-shown {
    display: block;
    z-index: 999;
}

.button-breadcrumbs-vlist {
    display: block;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #a0a0a0;
    background-color: #f0f0f0;
    vertical-align: top;
    width: 16px;
    height: 16px;
    padding: 1px;
    position: absolute;
    right: 2px;
    top: 2px;
}

.button-breadcrumbs-vlist:hover {
    border-top: 1px solid #a0a0a0;
    border-left: 1px solid #c0c0c0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    background-color: #d0d0d0;
}

.breadcrumb-icon {
    display: inline-block;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #a0a0a0;
    background-color: #f0f0f0;
    vertical-align: top;
    padding: 1px;
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

.breadcrumb {
    padding-right: 5px;
    font-family: Arial;
    font-size: 10px;
    height: 15px;
    line-height: 15px;
    margin-top: 2px;
    padding: 0 10px 0 5px;
    text-decoration: underline;
}

.breadcrumbs-hlist .breadcrumb {
    display: inline-block;
}

.breadcrumbs-vlist .breadcrumb {
    display: inline-block;
    margin: 5px;
}

/* -----------------------------------------------------------------------------
 * table
 */
.list-buttons {
    width: 100%;
    background-color: #f8f8f8;
    margin: 0.5em 0 0.5em 0;
}

.list-buttons a.ym-button {
    margin: 0.5em;
}

/* icons */
.iconscell {
    width: 60px;
}

.moduleicon {
    display: inline-block;
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #a0a0a0;
    padding: 1px;
    background-color: #f0f0f0;
    vertical-align: bottom /* top */;
    width: 12px;
    height: 12px;
}

a.button-row,
.button-row {
    display: inline-block;
    border: 1px solid #cccccc;
    padding: 1px;
}

a.button-row:hover,
.button-row:hover {
    border: 1px solid #8080f0;
    background-color: #c0c0f0;
}

.button-line {
    display: inline-block;
    margin: -2px 5px -2px 0px;
    padding: 1px;
}

.button-input {
    display: inline-block;
    padding: 1px;
    margin: 2px 0px 0px 5px;
    opacity: 0.4;
}

a.button-input:hover,
.button-input:hover {
    background-color: #ffffff;
    opacity: 1;
}

.icon {
    display: inline-block;
    margin: 2px 2px 2px 2px;
    padding: 1px 1px 0px 1px;
}

/*
.icon:hover {
    margin: 0 1px 0 1px;
    padding: 0px 3px 0px 3px;
    border: 1px outset #dddddd;
}
*/

.helpicon {
    display: inline-block;
    margin: 2px;
    padding: 1px;
    position: relative;
    top: -5px;
    background-color: #e0e0e0;
    opacity: 0.2;
}

.helpicon:hover {
    opacity: 1;
    background-color: #c0c0c0;
}

.inputicon {
    margin: 0px;
    padding: 2px 1px 1px 5px;
/*
    width: 12px;
    height: 12px;
*/
}

.inputicon:hover {
    padding: 1px 0px 0px 4px;
    border: 1px solid #dfe9f5;
}

.smallButton {
    float: left;
    width: 16px;
    height: 16px;
    margin-right: 2px;
    text-align: center;
    line-height: 16px;

    padding: 0px 1px 1px 0px;

    border-top: 1px solid white;
    border-left: 1px solid white;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}

.smallButton:hover {
    padding: 1px 0px 0px 1px;
    border: 1px solid #dfe9f5;
}

.smallButton img {
    vertical-align: middle;
}

.smallButton_FileAdd {
}

.smallButton_FileDel {
}

/* -----------------------------------------------------------------------------
 * edit form and detail view layout
 */
dl.zend_form {
    margin: 0;
}

.required {
    color: red;
}

.view-detail,
.view-edit {
    width: 100%;
}

.view-detail-inner,
.view-edit-inner {
    margin: 10px;
}

.view-detail h1,
.view-edit h1 {
    padding: 10px;
}

.form-field,
.view-detail .view-field {
    background-color: #ececec;
    margin: 10px;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.form-field label,
.form-field .form-label,
.form-field .boxInfo,
.view-detail .view-field .view-label {
    display: block;
    text-align: left;
}

.form-field input,
.form-field select,
.view-detail .view-element {
    background-color: #F7F7F7;
    border: 1px solid #DDDDDD;
    display: inline-block;
    font-family: Arial,Verdata,Sans;
    padding: 0 0 0 0.3em;
    text-align: left;
    vertical-align: middle;
    width: 100%;

    box-sizing: border-box;
}

.form-field input,
.form-field select {
    height: 25px;
    line-height: 25px;
}

.form-field textarea {
    background-color: #F7F7F7;
    border: 1px solid #DDDDDD;
    font-family: Arial,Verdata,Sans;
    font-size: inherit;
    padding: 0.3em 0 0.3em 0.3em;
    text-align: left;
    vertical-align: middle;
    width: 100%;
}

.view-detail .view-element {
    padding: 0.3em 0 0.3em 0.3em;
}

.form-field .field-outer1 {
    width: 100%;
    margin-right: -23px;
    float: left;
}

.form-field .field-outer2 {
    width: 100%;
    margin-right: -46px;
    float: left;
}

.form-field .field-outer1 .field-inner {
    background-color: #F7F7F7;
    border: 1px solid #DDDDDD;
    font-family: Arial,Verdata,Sans;
    height: 25px;
    line-height: 23px;
    padding: 0 0.3em 0 0.3em;
    text-align: left;
    margin-right: 23px;
}

.form-field .field-outer2 .field-inner {
    background-color: #F7F7F7;
    border: 1px solid #DDDDDD;
    font-family: Arial,Verdata,Sans;
    height: 25px;
    line-height: 23px;
    padding: 0 0.3em 0 0.3em;
    text-align: left;
    margin-right: 46px;
}

.form-field .field-inner input {
    background-color: none;
    border: none;
}

.form-field .field-monthyear select:first-child {
    width: 60%;
}

.form-field .field-monthyear select:last-child {
    width: 35%;
}

.view-detail .fieldDisabled {
    color: #a0a0a0;
}

.form-field .field-buttons1 {
    float: right;
    width: 23px;
    padding-top: 3px;
}

.form-field .field-buttons2 {
    float: right;
    width: 46px;
    padding-top: 3px;
}

.detail-buttons {
    background-color: #ececec;
    margin: 10px;
    padding: 10px 0 10px 0;
}

.detail-buttons a {
    background-color: #CCCCCC;

    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    text-align: center;

    background-image: -moz-linear-gradient(center top , #EEEEEE, #CCCCCC);

    border: 1px solid #777777;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
    color: #333333 !important;
    cursor: pointer;
    display: inline-block;
    font: 1em/2em Arial,Helvetica;
    overflow: visible;
    padding: 0 0.5em 0 0.5em;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    white-space: nowrap;

    margin: 0 0 5px 5px;
}

.field-button {
    background-color: #f0f0f0;
    margin: 10px;
    padding: 10px 0 10px 0;
}

.field-button input {
    background-color: #CCCCCC;

    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.1);
    text-align: center;

    background-image: -moz-linear-gradient(center top , #EEEEEE, #CCCCCC);

    border: 1px solid #777777;
    border-radius: 0.2em 0.2em 0.2em 0.2em;
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.8) inset, 0 1px 0 rgba(0, 0, 0, 0.15);
    color: #333333 !important;
    cursor: pointer;
    display: inline-block;
    font: 1em/2em Arial,Helvetica;
    overflow: visible;
    padding: 0 0.5em 0 0.5em;
    text-decoration: none !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    white-space: nowrap;

    margin: 0 0 0 5px;
}

.field-button input:hover {
    background: #dfe9f5;
}

.view-detail .button-field-callable {
    display: inline-block;
    padding: 1px;
    float: right;
    opacity: 0.4;
}

.view-detail .button-field-callable:hover {
    opacity: 1;
}

/* Error of standard decorator (which is almost not used, but present in form_upload.php */
.view-edit ul.errors {
    color: red;
    padding-left: 10px;
}

.view-edit ul.errors li {
    list-style-type: none;
}

.ym-form h1 {
    padding: 10px;
}

.ym-form1 {
    width: 400px;
}

/* changes to gray-theme of yaml */
.ym-form .ym-fbox-text input,
.ym-form .ym-fbox-text textarea {
    margin-top: 0px;
}

.ym-form input,
.ym-form select {
/*    display: inline;*/
    float: left;
}

.ym-form .boxLikeInput {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    background-color: #ffffff;
    border: 1px solid #dddddd;
    line-height: 1em;
    padding: 0.25em 0.3em 0.25em 0.3em;
    display: block;
    float: left;
}

.ym-form .boxLikeInput a,
.dataTables_wrapper a,
table a {
    color: #80643a;
}

.ym-form .boxLikeLabel {
    display: block;
    float: none;
}

.ym-form .fieldRelation {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;

    background-color: #ffffff;
    border: 1px solid #dddddd;
    height: 21px;
    line-height: 1em;
    padding: 0.25em 0.3em 0.25em 0.3em;
    display: block;
    margin-top: -2px;
    float: left;
    cursor: pointer;
}

.ym-form .fieldRelation:hover {
    border: 1px solid #888888;
}

.ym-form .fieldDisabled {
    color: #a0a0a0;
}

/* jQuery UI */

/* datepicker */

.ui-datepicker-trigger { /* same as inputicon */
    margin: 0px;
    padding: 2px 1px 1px 5px;
/*
    width: 12px;
    height: 12px;
*/
}

.ui-datepicker-trigger:hover {
    padding: 1px 0px 0px 4px;
    border: 1px solid #dfe9f5;
}

/* -----------------------------------------------------------------------------
 * form groups layout
 */
.view-edit .form-line-equal,
.view-detail .view-line-equal {
    width: auto;
    margin: 10px;
    background: #e0e0e0;
    padding: 5px;
}

.view-edit .form-line-equal-inner,
.view-detail .view-line-equal-inner {
    width: 100%;
}

.view-edit .form-line-equal .form-field,
.view-detail .view-line-equal .view-field {
    padding: 0;
    margin: 0;
    float: left;
    background: none;
}

.view-edit .form-line-equal .form-field .form-field-inner,
.view-detail .view-line-equal .view-field .view-field-inner {
    margin: 0 0 0 5px;
    padding: 10px;
    background-color: #f0f0f0;
}

.view-edit .form-line-equal .form-field:first-child .form-field-inner,
.view-detail .view-line-equal .view-field:first-child .view-field-inner {
    margin: 0;
}

.view-edit .form-line_element_and_checkbox {
    width: auto;
    margin: 10px;
    background: #e0e0e0;
    padding: 5px;
}

.view-edit .form-line_element_and_checkbox .form-field {
    width: 25px;
    margin: 0;
    float: right;
    padding: 5px;
}

.view-edit .form-line_element_and_checkbox .form-field:first-child {
    float: left;
    width: 90%;
}

.view-edit .form-vertical-column {
    width: 50%;
    float: left;
}

/*
.view-edit .form-vertical-column .form-vertical-column-inner {
    padding-left: 10px;
}
*/

.view-edit .form-vertical-column .form-vertical-column-inner .form-field {
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

.view-edit .form-line-equal .form-vertical-column  .form-field:first-child .form-field-inner {
    margin: 0 0 0 5px;
}


/* timepicker */

.ym-form .ym-fbox-text .ui-widget .timepicker {
    margin: 0;
    border: none;
}

.ym-form .ym-fbox-text .ui-widget .timepicker:hover {
    margin: 0;
    border: none;
}


.ym-form div select {
    border: 1px solid #dddddd;
    background: none repeat scroll 0 0 #FFFFFF;
}

.ym-form div select:focus,
.ym-form div select:hover,
.ym-form div select:active {
    border: 1px solid #888888;
    background: none repeat scroll 0 0 #FFFFFF;
}

.ym-fbox-text div.boxInfo {
    line-height: 1em;
    padding: 4px;
}

.ym-fbox-text label.boxInfo {
    font-weight: bold;
}

/* form: acl_details */

.acl-details {
    margin-left: 20px;
    width: 500px;
    border: none;
}

.acl-details td {
    border: none;
}

.acl-details td.acl-details-l1 {
    padding-left: 10px;
    font-weight: bold;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #c0c0c0;
}

.acl-details td.acl-details-l1-2 {
    font-weight: bold;
    border-top: 1px solid #000000;
    border-bottom: 1px solid #c0c0c0;
}

.acl-details td.acl-details-l2 {
    padding-left: 30px;
}

/*
.acl-details td.acl-params-l1 {
    padding-left: 20px;
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: underline;
}

.acl-details td.acl-params-l1-2 {
    font-weight: bold;
    border-bottom: 1px solid #e0e0e0;
}
*/

.acl-details td.acl-params-l2 {
    padding-left: 30px;
    text-decoration: underline;
}

/*
.acl-details img {
    position: absolute;
    left: 280px;
    padding-top: 5px;
}
*/

/* form: acl_details */
.acl-edit {
    list-style-type: none;
}

.acl-edit li {
    margin: 0px;
    padding: 5px 0 5px 20px;
}    

.acl-edit li ul {
    list-style-type: none;
}

.acl-edit li ul li {
    padding: 0px;
}

/* -----------------------------------------------------------------------------
 * login :: form
 */

#message-page-main #labelLogin,
#message-page-main #labelPassword {
    float: left;
    width: 65px;
    padding: 0 0 0 10px;
    margin-bottom: 5px;
}

#message-page-main input#login,
#message-page-main input#password {
    border: 1px solid #aaa;
    border-radius: 4px 4px 4px 4px;
    height: 16px;
    width: 150px;
    margin-bottom: 5px;
}

#message-page-main .login-submit {
    position: absolute;
    right: 10px;
    top: 38px;
    padding: 3px;
}

#message-page-main .login-submit:focus {
    position: absolute;
    right: 10px;
    top: 38px;
    padding: 3px;
}

/* -----------------------------------------------------------------------------
 * error
 */

#message-page-outer {
    position: relative;
    width: 100%;
    height: 100%;
}

#message-page-inner {
    margin: 0 auto 0 auto;
    width: 330px;
    height: 180px;
    position: absolute;
    top: 10%;
    left: 50%;
    margin: 0 0 0 -178px;
    border: 2px solid #c0c0c0;
    border-radius: 10px;
    padding: 10px;
}

/* -----------------------------------------------------------------------------
 * error :: header
 */

#message-page-header {
    width: 100%;
}

#message-page-logo {
    height: 90px;
    width: 100%;
}

#message-page-logo a {
    float: left;
}

.logo_cave {
    float: right;
    margin: 5px 5px 0 0;
}

/* -----------------------------------------------------------------------------
 * login :: form
 */

#message-page-main {
    position: relative;
}

#message-page-moduletitle {
    text-align:center;
    background-color: #d0d0d0;
    border-radius: 10px;
    font: Verdana,Arial,Helvetica,sans-serif;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 10px;
    padding: 5px 0;
    width: 100%;
}

/* -----------------------------------------------------------------------------
 */

/* -----------------------------------------------------------------------------
 * joystick

#joystick {
    padding: 5px;
    margin: 5px;
    border: 1px dashed #000000;
}
 */

/* -----------------------------------------------------------------------------
 * console
 */

#console {
    border: 1px dashed #000000;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 800px;
    height: 800px;
    opacity: 0.5;
    z-index: 999;
    background-color: #ffffff;
}
