p.info {
    font-size: 1.4rem;
    color: #FFFFFF;
    text-align: center;
}

p.info.left {
    text-align: left;
}

p.info.red {
    font-size: 1.6rem;
    color: #F00;
    font-weight: bold;
    background: #FFF;
    padding: 10px;
}

.showinfo {
    font-size: 1.4rem;
    color: #FFFFFF;
    line-height: 40px;
}

.showinfo img {
    vertical-align: middle;
    margin-right: 8px;
}

[data-hint] {
    position: relative;
}

.show_hint {
    position: absolute;
    top: 0;
    left: 100%;
    width: 48%;
    text-align: left;
    margin: 0 10px;
    background: #000000;
    border: 4px solid #FFCC00;
    padding: 4px;
    color: #FFFFFF;
    font-size: 1.4rem;
    z-index: 10;
    box-shadow: 40px 0 40px 40px rgba(0, 0, 0, 0.8);
}

.show_hint:before {
    content: " ";
    display: block;
    position: absolute;
    left: -14px;
    top: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #FFCC00 transparent transparent;
}

.show_hint p:first-child {
    margin-top: 4px;
}

.show_hint p:last-child {
    margin-bottom: 4px;
}

@media (max-width: 999px) {
    .show_hint {
        width: 95%;
    }
}

@media (max-width: 800px) {
    .show_hint {
        display: none;
    }
}

/** BEGIN stylovanie archinfo formularov **/
.base_center form {
    background: #B3B3B3;
    margin-top: 4px;
    padding-top: 1px;
}

form .errorMessage,
form .successMessage,
form .noticeMessage,
form .infoMessage {
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
}

form .error {
    color: #FF0000;
    display: block;
    font-size: 1.6rem;
    line-height: 20px;
}

form fieldset {
    margin: 0;
    border: 0;
    margin-bottom: 20px;
    padding: 0 8px;
}

form fieldset.nopadding {
    padding: 0;
}

form fieldset div.padding {
    padding: 0 10px;
}

form fieldset legend {
    display: block;
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
    padding: 5px;
    background: #FFCC00;
    color: #FFFFFF;
    font-size: 1.8rem;
    line-height: 32px;
    font-weight: bold;
}

div.legend {
    padding: 5px;
    background: #FFCC00;
    color: #FFFFFF;
    font-size: 1.8rem;
    text-align: center;
}

div.legend h2 {
    font-size: 1.8rem;
}

form fieldset legend.red {
    background: red;
}

div.legend.gray {

}

.inputRow {
    margin-bottom: 10px;
    position: relative;
    clear: both;
}

.inputRow .show_hint {
    top: 25px;
}

.inputRow.right .show_hint {
    top: 0;
}

.inputRow.focused .show_hint {
    z-index: 11;
}

.inputRow label {
    display: block;
    color: #FFFFFF;
    font-size: 1.8rem;
    line-height: 30px;
}

.inputRow.sortable label {
    cursor: move;
}

.inputRow label.required::after {
    content: "*";
}

.inputRow label.radioLabel {
    width: auto;
    display: inline-block;
    margin-right: 20px;
    position: relative;
    padding-left: 35px;
}

.inputRow label.checkLabel {
    float: right;
    width: 30px;
    min-height: 30px;
    line-height: 30px;
    margin-left: 10px;
    position: absolute;
    right: 0;
    top: 30px;
}

.inputRow label.checkLabel.full {
    float: none;
    width: 100%;
    margin: 0;
    padding-right: 40px;
    position: relative;
    top: 0;
}

.inputRow.left label.checkLabel.full {
    width: 50%;
    text-align: right;
    padding-right: 30px;
}

.inputRow label.checkLabel.full.checkboxPosition_left {
    padding-left: 40px;
}


.inputRow label.checkLabel.full.checkboxPosition_left input[type=checkbox] + span {
    left: 0;
    right: initial;
}

.inputRow.right label.info {
    width: 100%;
    padding-right: 0;
}

.inputRow .inputOuter {
    display: block;
    min-height: 30px;
    line-height: 30px;
    font-size: 1.6rem;
}

.inputRow .inputOuter.withShowCheckbox {
    margin-right: 40px;
}

.inputRow .inputOuter .showCheckboxTooltip {
    position: absolute;
    right: 0;
    top: 0;
    background: #333333;
    color: #FFFFFF;
    padding: 0 8px;
    line-height: 24px;
    font-size: 1.4rem;
}

.inputRow .inputOuter .showCheckboxTooltip:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 6px solid #333333;
    position: absolute;
    right: 6px;
    z-index: 2;
}

.inputRow .inputOuter input,
.inputRow .inputOuter textarea {
    margin: 0;
}

.inputRow .inputOuter input:focus,
.inputRow .inputOuter textarea:focus {
    box-shadow: 0 0 5px #0066FF;
    border: 1px solid #88BBFF;
}

.inputRow .inputOuter input[type=text],
.inputRow .inputOuter input[type=password],
.inputRow .inputOuter select {
    width: 100%;
    height: 30px;
    border: 0;
    padding: 0 5px;
    font-size: 1.4rem;
    font-weight: 300;
    background: #FFFFFF;
    display: block;
}

.inputRow .inputOuter input.hasDatepicker {
    z-index: 2;
    position: relative;
}

.inputRow .inputOuter button,
.inputRow .inputOuter input[type=button] {
    padding: 4px 8px;
    text-transform: uppercase;
}

.inputRow .inputOuter button.noborder {
    border: none;
    line-height: 22px;
    vertical-align: top;
    padding-top: 5px;
    padding-bottom: 3px;
}

.inputRow .inputOuter textarea {
    width: 100%;
    height: 80px;
    border: 0;
    padding: 5px;
    font-size: 1.4rem;
    font-weight: 300;
    background: #FFFFFF;
}

.inputRow .inputOuter input[type=text]:disabled {
    background: #EEEEEE;
}

.inputRow .inputOuter.noneditable {
    color: #414141;
    font-weight: bold;
}

/* BEGIN Jednoriadkove textove prvky - label aj input v jednom riadku */
.inputRow.right {
    text-align: right;
}

.inputRow.right label {
    display: inline-block;
    width: 50%;
    vertical-align: top;
    padding-right: 30px;
    margin-right: 0;
}

.inputRow.right .inputOuter {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    text-align: left;
    border-left: 4px solid rgba(0, 0, 0, 0);
}

.inputRow.right .inputOuter.right {
    text-align: right;
}

@media all and (max-width: 999px) {
    .inputRow.right {
        text-align: left;
    }

    .inputRow.right label {
        display: block;
        padding-right: 30px;
        width: 100%;
    }

    .inputRow.right .inputOuter {
        display: block;
        width: 100%;
    }
}

/* END Jednoriadkove textove prvky - label aj input v jednom riadku */

/* BEGIN Jednoriadkove textove prvky s moznostou mazania - label, input a button v jednom riadku */
.inputRow.rightWithDelete {
    text-align: right;
}

.inputRow.rightWithDelete label {
    display: inline-block;
    vertical-align: middle;
    padding-right: 20px;
    width: 30%;
}

.inputRow.rightWithDelete .inputOuter {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    text-align: left;
}

.inputRow.rightWithDelete .inputOuter.right {
    text-align: right;
}

.inputRow.rightWithDelete .inputOuter.inputButtonOuter {
    width: auto;
}

.inputRow.rightWithDelete .inputOuter.inputButtonOuter input {
    vertical-align: middle;
    margin: 0;
    margin-left: 10px;
}

/* END Jednoriadkove textove prvky s moznostou mazania - label, input a button v jednom riadku */

/* BEGIN checkbox strom */
.inputGroup {
    padding-left: 50%;
    display: none;
}

.inputGroup .inputRow.right label {
    float: left;
}

.inputGroup .inputRow.right .inputOuter {
    display: inline-block;
}

.inputGroup .inputRow.left label {
    float: left;
    padding-right: 30px;
}

.inputGroup .inputRow.left .inputOuter {
    overflow: hidden;
}

/* END checkbox strom */

/* BEGIN skryte riadky */
.inputRow.hidden {
    display: none;
}

/* END skryte riadky */

/* BEGIN checkbox style */
.checkLabel input[type=checkbox] {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.checkLabel input[type=checkbox] + span {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background: #FFCC00 url("/archinfo/images/checkbox.png") -30px 0 no-repeat;
}

.inputRow.left .checkLabel input[type=checkbox] + span {
    right: -30px;
}

.checkLabel.eye input[type=checkbox] + span {
    background: #FFCC00 url("/archinfo/images/checkbox_eye.png") -30px 0 no-repeat;
}

.checkLabel input[type=checkbox]:checked + span {
    background-position: 0 0;
}

.checkLabel input[type=checkbox]:focus + span {
    box-shadow: 0 0 5px #0066FF;
    border: 1px solid #88BBFF;
}

.radioLabel input[type=radio] {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.radioLabel input[type=radio] + span {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    background: #FFCC00 url("/archinfo/images/checkbox.png") -30px 0 no-repeat;
}

.radioLabel input[type=radio]:checked + span {
    background-position: 0 0;
}

/* END checkbox style */

/* BEGIN addButton */
.addButton {
    width: 50%;
    height: 44px;
    background-color: #333333;
    color: #FFFFFF;
    text-transform: uppercase;
    border: 0;
    border-left: 1px solid #5c5c5c;
    border-top: 1px solid #5c5c5c;
    display: inline-block;
    text-align: center;
    line-height: 44px;
    font-size: 1.8rem;
}

.addButton:hover {
    background-color: #FF0000;
}

.addButton.disabled {
    background-color: #A3A3A3;
    border: 0;
    cursor: not-allowed;
}

.addButton.disabled:hover {
    background-color: #A3A3A3;
}

@media all and (max-width: 999px) {
    .addButton {
        width: 100%;
    }
}

/* END addButton*/

/* BEGIN Map picker */
.gllpLatlonPicker {
    width: 50%;
    float: left;
    border-left: 4px solid rgba(0, 0, 0, 0);
}

#mapLocation {
    border-left: 0;
    border-right: 4px solid rgba(0, 0, 0, 0);
}

.gllpLatlonPicker .inputOuter {
    position: relative;
}

.gllpLatlonPicker .inputOuter span {
    display: block;
    margin-right: 95px;
}

.gllpLatlonPicker .inputOuter .gllpSearchButton {
    width: 90px;
    height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    line-height: 22px;
}

.gllpMap {
    display: block;
    width: 100%;
    height: 250px;
}

@media all and (max-width: 999px) {
    .gllpLatlonPicker {
        width: 100%;
        float: none;
        border: 0;
    }

    #mapLocation {
        border: 0;
    }
}

/* END Map picker */

/* BEGIN file preview */
.fileDropArea {
    width: 70%;
    float: left;
    background-color: #FFFFFF;
    overflow: hidden;
}

.fileDropArea .info {
    position: absolute;
    bottom: 20px;
    padding: 0 20px;
    padding-top: 60px;
    z-index: 1;
    background: url("/style/mainStyl/images/dropZoneBackground.png") 20px 0 no-repeat;
}

.fileDropArea.hover {
    border: 3px dashed #999999;
}

.filePreview {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    z-index: 2;
}

.filePreview .fileTools {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    display: none;
}

.filePreview.hasContent:hover .fileTools,
.filePreview.mode-delete .fileTools {
    display: block;
}

.filePreview .fileTools span {
    display: block;
    float: left;
    width: 50%;
    height: 28px;
    line-height: 24px;
    background-color: #1964FF;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid transparent;
    background-clip: padding-box;
    cursor: pointer;
    font-size: 1.4rem;
}

.filePreview .fileTools span.remove {
    float: right;
}

.filePreview .fileTools span.remove:hover,
.filePreview.mode-delete .fileTools span.remove {
    background-color: #FF0000;
}

.filePreview .fileConfirm {
    display: none;
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #333333;
    border-left: 1px solid #5C5C5C;
    border-top: 1px solid #5C5C5C;
    color: #FF0000;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: bold;
}

.filePreview.mode-delete .fileConfirm {
    display: block;
}

.filePreview .fileConfirm .fileRemoveButton {
    background-color: #FF0000;
    color: #FFFFFF;
    cursor: pointer;
    padding: 3px 0;
}

.fileDropArea.uploading .filePreview {
    background: url("/style/mainStyl/icons/24x24/loadingIcon002.gif") center center no-repeat !important;
}

.fileDropArea.uploading .filePreview.hasContent:hover .fileTools,
.fileDropArea.uploading .filePreview.mode-delete .fileTools,
.fileDropArea.uploading .info {
    display: none;
}

/* END file preview */

/* BEGIN Other form elements */
.rowGroup {
    border-bottom: 1px solid #CFCFCF;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

/* END Other form elements */

/* BEGIN autocomplete */
.inputRow .inputOuter input.ui-autocomplete-loading {
    background: #FFFFFF url("/style/mainStyl/icons/16x16/loadingIcon003.gif") 99% center no-repeat;
}

.inputRow .inputOuter .ui-autocomplete {
    max-height: 400px;
    overflow-x: auto;
}

.inputRow .inputOuter .ui-autocomplete li {
    cursor: pointer;
    list-style: none;
    font-size: 0.7em;
}

.inputRow .inputOuter .ui-autocomplete li:hover {
    background: #1964FF;
    color: #FFFFFF;
}

.inputRow .inputOuter .ui-autocomplete li .square {
    display: inline-block;
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

.inputRow .inputOuter .ui-autocomplete li .square .image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #666666;
}

.inputRow .inputOuter .ui-autocomplete li .square .image.video {
    background-image: url("/cms/images/default/archinfoVideo.png");
}

.inputRow .inputOuter .ui-autocomplete li .square .image.archinfoUser {
    background-image: url("/cms/images/default/archinfoUser.png");
}

/* END autocomplete */

/* BEGIN select2 */
.select2-results .select2-result-label .square {
    display: inline-block;
    width: 50px;
    margin-right: 10px;
    vertical-align: middle;
}

.select2-results .select2-result-label .square .image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.select2-results .select2-result-label .square .image.userIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoUser.png");
}

.select2-results .select2-result-label .square .image.atelierIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoAtelier.png");
}

.select2-results .select2-result-label .square .image.workIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoWork.png");
}

.select2-results .select2-result-label .title {
    display: inline-block;
}

.select2-container-multi.externalResults .select2-choices .select2-search-choice {
    display: none;
}

/* END select2 */

/* BEGIN archinfoPreview */
.archinfoPreview {
    margin-bottom: 10px;
}

.archinfoPreview .preview {
    width: 25%;
    float: left;
}

.archinfoPreview .preview .square {
    width: 100%;
    float: left;
    margin-bottom: 24px;
}

.archinfoPreview .preview .square .image {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
}

.archinfoPreview .preview .square .image.userIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoUser.png");
}

.archinfoPreview .preview .square .image.atelierIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoAtelier.png");
}

.archinfoPreview .preview .square .image.articleIcon {
    background-color: #666666;
    background-image: url("/cms/images/default/archinfoArticle.png");
}

.archinfoPreview .preview .square .close {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    width: 25%;
    height: 24px;
    line-height: 24px;
    background: #1964FF;
    cursor: pointer;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 13px;
}

.archinfoPreview .preview .square .close:hover {
    background: #FF0000;
}

.archinfoPreview .preview .square:hover .close {
    display: block;
}

.archinfoPreview .preview .square .close:after {
    font-family: FontAwesome;
    content: "\f00D";
}

.archinfoPreview .preview .square .title {
    position: absolute;
    bottom: -24px;
    background: #333;
    color: #FFF;
    width: 100%;
    padding: 4px 8px;
    line-height: 1.2;
    font-size: 1.4rem;
}

@media (max-width: 999px) {
    .archinfoPreview .preview {
        width: 50%;
    }
}

/* END archinfoPreview */

.formGroupCollapse {
    display: none;
}

.formGroupCollapse.active {
    display: block;
    overflow: visible !important;
}

.formGroupCollapseButton {
    cursor: pointer;
}

.formGroupCollapseButton:after {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url(/archinfo/images/icons.png) -32px 0 no-repeat;
    float: right;
}

.formGroupCollapseButton.active:after {
    background: url(/archinfo/images/icons.png) 0 0 no-repeat;
}

.formGroupCollapseButton.gray {
    display: block;
    margin: 10px;
    padding: 5px;
    background: #333333;
    color: #FFFFFF;
    font-size: 1.8rem;
    text-align: center;
}

.formGroupCollapseButton.gray:after {
    float: none;
    margin: 0 auto;
}

.formGroupCollapseButton.gray + .formGroupCollapse {
    padding-top: 10px;
}

legend[data-toggle]:after {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: url(/archinfo/images/icons.png) -32px 0 no-repeat;
    float: right;
}

legend[data-toggle].active:after {
    background: url(/archinfo/images/icons.png) 0 0 no-repeat;
}

/** END stylovanie archinfo formularov **/