@CHARSET "UTF-8";

/* This file is part of cbui.
 * Copyright © 2010-2012 stiftung kulturserver.de ggmbh <github@culturebase.org>
 *
 * cbui is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * cbui is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with cbui.  If not, see <http://www.gnu.org/licenses/>.
 */

body.no-scroll {
  overflow-y: hidden;
}

.__CbUiForm {
   padding: 0px 10px;
}

.__CbUiTitle {
    padding-left: 0;
    padding-bottom: 4px;
    padding-top: 0;
    clear: both;
    margin: 2px 15px 0;
    width: auto;
    height: 30px;
}

.__CbUiInputText,.__CbUiPassword,.__CbUiSelect,.__CbUiSearchBox,.__CbUiChooseList, .__CbUiInputTextArea {
   border: 1px solid #000000;
   font-size: 14px;
}

.__CbUiInputText,.__CbUiPassword,.__CbUiSelect,.__CbUiSearchBox {
   height: 16px;
}

.__CbUiInputText[disabled],.__CbUiPassword[disabled],.__CbUiSelect[disabled] {
   color: #FFFFFF;
   background-color: #C2C3C7;
   cursor: default;
}

.__CbUiChooseList div {
   cursor: pointer;
   margin-top: 5px;
}

.__CbUiListOddColor {
   background-color: #F8F7F0;
   margin-right: 35px;
}

.__CbUiPassword,.__CbUiSearchBox {
   width: 100%;
}

.__CbUiFieldEdited {
   color: #000000;
}

.__CbUiFieldUnedited {
   color: #c0c0c0;
}

.__CbUiTextButton {
   border: 1px solid #BDBEB2;
   background-color: #fcfcf9;
   background-image: linear-gradient(bottom, rgb(238,238,238) 15%, rgb(218,218,218) 45%, rgb(238,238,238) 85%);
   background-image: -webkit-gradient(
      linear,
      left bottom,
      left top,
      color-stop(0.15, rgb(246,246,239)),
      color-stop(0.85, rgb(255,255,255))
   );
   background-image: -webkit-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -moz-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -ms-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   background-image: -o-linear-gradient(bottom, rgb(246,246,239) 15%, rgb(255,255,255) 85%);
   color: #A73C2E;
   font-weight: bold;
   cursor: pointer;
   padding: 0 10px;
   text-align: center;
   min-width: 135px;
   text-decoration: none;
   display: inline-block;
   box-shadow: 0 0 5px rgb(189,190,178);
   -moz-box-shadow: 0 0 5px rgb(189,190,178);
   -webkit-box-shadow: 0 0 5px rgb(189,190,178);
   border-radius: 2px 2px 2px 2px;
   -moz-border-radius: 2px 2px 2px 2px;
   -webkit-border-radius: 2px 2px 2px 2px;
   font-size: 11px;
   vertical-align: middle;
   line-height: 30px;
}

.__CbUiImgButton, .__CbUiCloseButton, .__CbUiLangSelectFlag, .__CbUiLangFlag {
   cursor: pointer;
   z-index: 1338;
   display: inline;
   background-position: 0px 0px;
   font-size: 0px; /* IE prevents us from making an element smaller than its font-size */
   padding: 0px;
}

.__CbUiCloseButton {
   right: 3px;
   top: 3px;
   display: block;
   position: absolute;
}

.__CbUiLangSelectFlag {
   right: 37px;
   top: 3px;
   padding-top: 10px; /* height */
   padding-left: 16px; /* width */
   padding-bottom: 1px;
   background-image: url('/module/lib/location/language_flags/16x11.png');
   float: right;
   margin-top: 3px;
}

.__CbUiLangChooseList div {
   font-weight: bold;
}

.__CbUiLangChooseList .__CbUiText.abbr {
   position: absolute;
   padding-bottom: 1px;
   padding-top: 1px;
   background-color: white;
   color: #333333;
   right: 140px;
}

.__CbUiLangChooseList .__CbUiSelected {
   background-color: rgb(180, 0, 0);
}

.__CbUiLangFlag {
   right: 110px;
   padding-top: 11px;
   padding-left: 16px;
   background-image: url('/module/lib/location/language_flags/16x11.png');
}

.__CbUiLangFlag-24x17 {
   right: 110px;
   padding-top: 11px;
   padding-left: 16px;
   background-image: url('/module/lib/location/language_flags/24x17.png');
}

.__CbUiLanguageWindow .lang-select {
    display: none;
}

.__CbUiLangListItem {
    cursor: pointer;
}

.__CbUiLangListItem:hover {
    background-color: #d9dad2;
}

.__CbUiLayer {
   width: 100%;
   height: 100%;
   position: absolute; /* fallback for IE 6 and lower */
   position: fixed; /* all browsers above IE 6 know what this is and use it */
   left: 0px;
   top: 0px;
   z-index: 1336;
   opacity: 0.25;
}

.__CbUiFrame,.__CbUiLayerFrame {
   background-color: #F7F7F1;
   z-index: 1337;
}

.video.__CbUiLayerFrame {
  background-color: #303030;
}

.__CbUiFrame {
   background-color: #F7F7F1;
}

.__CbUiLayerFrame {
/*   border: 2px solid #B40000;*/
   position: absolute;
/*   padding: 35px 20px;*/
   -moz-border-radius: 4px;
   -webkit-border-radius: 4px;
   border-radius: 4px;
   overflow: auto;
}

.__CbUiLayerFrame.__CbUiLanguageWindow {
   border: none;
   padding: 0;
}

.__CbUiLoader {
   background-color: #000000;
   background-image: url('/module/jscript/lib/cb_ui/img/loader.gif');
   background-position: center center;
   background-repeat: no-repeat;
}

.__CbUiInputError {
   border-color: #ff0000;
}

.__CbUiLangSelect {
   color: #333333;
   line-height: 9px;
   font-size: 12px;
   font-family: arial;
   font-weight: bold;
   cursor: pointer;
   padding: 0px 2px;
   text-decoration: none;
   text-transform: uppercase;
   padding-top: 5px;
   display: inline-block;
}

.__CbUiFrame {
   display:none;
}

.__CbUiFrame.fullscreen {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fullscreen-switch {
    display: none;
    cursor: pointer;
    padding: 0 3px 0 0;
    float: right;
}

.__CbUiPage {
   position: relative;
}

.__CbUiLangListItem {
    background: none repeat scroll 0 0 #E7E8E0;
    border-radius: 3px;
    color: #000000;
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 4px 10px;
    text-decoration: none;
    line-height: 19px
}

.__CbUiLangListItem .__CbUiLangFlag {
    position: absolute;
    margin-top: 4px;
}
.__CbUiLangListItem .__CbUiText.abbr  {
    width: 10px;
}

.__CbUiLangChooseList>div {
    width: 100%;
}

.__CbUiLangChooseList .__CbUiText.abbr {
    text-transform:uppercase;
    color: #333333;
    background: transparent;
    border: none;
    right: 166px;
}

.__CbUiLanguageWindow .__CbUiTitle {
   clear: both;
}

.close-overlay-container {
    height: 20px;
    position: absolute;
    right: 20px;
    top: 8px;
    width: 20px;
}

.__CbUiHeader {
    background-color: #FEFEFE;
    border-bottom: 1px solid #C5C4B0;
    border-radius: 5px 5px 0 0;
    height: 35px;
    width: 100%;
    text-align: center;
}

.__CbUiHeader.fullscreen {
    display: none;
}

.__CbUiCloseButton {
    background: url("/module/pics/close_icon.png") no-repeat;
    background-repeat: no-repeat;
    min-height: 15px;
    padding: 0;
    right: 19px;
    top: 10px;
    min-width: 15px;
}

.CbControlbar2Window .__CbUiCloseButton {
    background: url("/module/lib/framework/images/img_close-black.png") no-repeat;
    background-size: 14px 14px;
    min-height: 14px;
    min-width: 14px;
    right: 40px;
    top: 40px;
}

.__CbUiContent {
    width: 100%;
    max-width: 650px;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    position: relative;
}
@media (max-width: 680px) {
    .__CbUiContent {
        margin-left: 15px;
        margin-right: 15px;
    }
}
    .__CbUiContent.fullscreen {
    width: 98%;
}

.__CbUiLangFlag {
    right: 136px;
}

.support-link {
    font-size: 12px;
}

.support-link a {
    color: #333333;
    text-decoration: none;
}

.pix-float-right .support {
    margin-right: 0;
    padding-right: 0;
}

.__CbUiLangChooseList {
    margin: 45px auto;
    width: 430px;
}

.overlay-container-header-handle{
   background-image: url("/module/lib/framework/pics/window_handle_icon.png");
   background-repeat: repeat-x;
   width: 100%;
   height: 35px;
   display: block;
    padding-left: 20px;
    padding-right: 50px;
    box-sizing: border-box;
    background-clip: content-box;
   position: absolute;
   top: 0;
   z-index: 0;
}

.window-caption {
    background: none repeat scroll 0 0 #FEFEFE;
    padding: 0 1em;
    position: relative;
    top: 9px;
    z-index: 10;
}

.main-navi {
   margin: 0px 0 5px;
   padding: 3px 0 3px 0;
   width: 100%;
   border-bottom: 3px solid #000;
   clear: both;
   color: #333333;
   font-size: 12px;
   font-weight: bold;
}

.main-navi a:hover,
.main-navi div:hover {
    text-decoration: underline;
}

.main-navi li {
   display: inline;
   padding: 0 10px 0 0;
   position: relative;
}

.main-navi li.pix-float-right {
   float: right;
   padding-right: 0;
   padding-left: 15px;
}

.main-navi li a {
   font-size: 12px;
   font-weight: bold;
   text-decoration: none;
   color: #000;
}

.pix-screen-title {
   color: #c00;
   font-size: 20px;
   margin-bottom: 5px;
   margin-left: 0px;
   text-align: left;
   border: 0px;
   text-transform: none;
   font-weight: bold;
}

.lang-select {
    float: right;
    height: 21px;
    width: 41px;
    margin-top: 0;
}

.support {
    float: right;
    font-size: 12px;
    text-decoration: none;
    background: none;
    border: medium none;
    color: #333333;
    font-weight: bold;
    padding: 0 7px;
}

.edit-form-buttons {
    bottom: 20px;
    clear: both;
    height: 26px;
    left: 0;
    margin: 15px auto 0;
    position: absolute;
    width: 100%;
    line-height: 26px;
    color: #a73c2e;
}

.__CbUiText.contentTitle {
    font-size: 16px;
    font-weight: bold;
}

.info-container {
    display: inline-block;
    width: auto;
}

.info-container > h3, 
.info-container > div > span {
    display: inline-block;
}

.info-container > h3, 
.info-container > div > span,
.info-container .short-desc {
    cursor: pointer;
}

.styled-checkbox input {
    display: none;
}
.styled-checkbox input[type="checkbox"] + span.icon {
    background-image: url("/module/jscript/lib/cb_ui/img/radio_toggle_icon.png");
    background-position: 0 0;
    display: inline-block;
    height: 20px;
    margin-right: 5px;
    padding: 0;
    vertical-align: middle;
    width: 20px;
}
.styled-checkbox input[type="checkbox"]:checked + span.icon {
    background-position: -20px 0;
}

/* error | message | prompt | upload progress layer styles*/
.error-dialog-layer {
   position: fixed;
   width: 100%;
   height: 100%;
   left: 0px;
   top: 0px;
   z-index: 1340;
}
.__CbUiDialogWindow {
   box-shadow:  0px 3px 14px 0px rgba(50, 50, 50, 0.75);
   width: 100%;
   max-width: 600px;
}
.__CbUiDialogWindow .__CbUiOkButton{
   position: absolute;
   right: 25px;
   bottom: 17px;
}

.__CbUiDialogWindow.__CbUiStrongConfirmWindow .__CbUiOkButton {
    pointer-events: none;
}

.__CbUiDialogWindow.__CbUiStrongConfirmWindow .__CbUiOkButton.button-enabled {
    pointer-events: all;
}

.__CbUiDialogWindow .__CbUiCancelButton{
   position: absolute;
   left: 25px;
   bottom: 17px;
}

.__CbUiDialogWindow.__CbUiStrongConfirmWindow .message-dialog-window {
    background-color: #ffd8d8;
    color: #000000;
}

.__CbUiDialogWindow.__CbUiStrongConfirmWindow .message-dialog-heading {
    border-bottom: 1px solid #a6a6a6;
}

.error-dialog-window, 
.message-dialog-window {
   opacity: 1;
   width: 100%;
   max-width: 600px;
   max-height: 590px;
   min-height: 140px;
   margin: auto;
   background-color: #fff;
   box-shadow:  0px 3px 14px 0px rgba(50, 50, 50, 0.75);
   border-radius: 7px;
   position: relative;
   z-index: 1340;
   color: #333;
   padding-bottom: 60px;
}
.error-dialog-heading,.error-dialog-content, .message-dialog-heading, .message-dialog-content{
   padding: 17px 25px;
}
.error-dialog-heading, .message-dialog-heading{
   padding: 13px 25px;
   font-size: 19px;
   line-height: 100%;
   border-bottom: 1px solid #eee;
}
.error-dialog-heading {
   color: red;
}
.message-dialog-message {
   padding-top: 5px;
   padding-bottom: 5px;
   max-height: 290px;
   overflow: auto;
   color: #969682;
   font-size: 15px;
   line-height: 140%;
}
.__CbUiStrongConfirmWindow .message-dialog-message {
    color: black;
}
.error-dialog-error-container {
   padding-top: 5px;
   padding-bottom: 5px;
   max-height: 290px;
   overflow: auto;
   color: #969682;
   font-size: 15px;
   line-height: 140%;
}
.error-dialog-abort-container {
   text-align: right;
}
#CbUiPromptInput {
   width: 100%;
   font-size: 15px;
   padding: 10px;
   box-sizing: border-box;
}
.html5-progress {
   display: inline-block;
   height: 1em;
   width: 300px;
   border: 1px solid #E8E8E8;
   background-color: #0088cc;
   background-image: url('data:image/gif;base64,R0lGODlh6AMyAIAAAP///wAAACH5BAAAAAAALAAAAADoAzIAAAL/hI+py+0Po5y02ouz3rz7D4biSJbmiabqyrbuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is1qt9yu9wsOi8fksvmMTqvX7Lb7DY/L5/S6/Y7P6/f8vv8PGCg4SFhoeIiYqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGys7S1tre4ubq7vL2+v7CxwsPExcbHyMnKy8zNzs/AwdLT1NXW19jZ2tvc3d7f0NHi4+Tl5ufo6err7O3u7+Dh8vP09fb3+Pn6+/z9/v/w8woMCBBAsaPIgwocKFDBs6fAgxosSJFCtavIgxo8aNKxw7evwIMqTIkSRLmjyJMqXKlSxbunwJM6bMmTRr2ryJM6fOnTx7+vyprgAAOw==');
   background-repeat: no-repeat;
   background-position: 0px;
}

.edit-button,
input[type="button"].edit-button {
    margin-top: 20px;
    background-image: url("/module/jscript/lib/cb_ui/img/icon_edit_button.png");
    width: 65px;
    height: 36px;
    border: none;
    background-color: transparent;
    background-position: left top;
    background-repeat: no-repeat;
    cursor: pointer;
}
