// Copyright (C) 2014 Orbeon, Inc.
//
// This program is free software; you can redistribute it and/or modify it under the terms of the
// GNU Lesser General Public License as published by the Free Software Foundation; either version
// 2.1 of the License, or (at your option) any later version.
//
// This program 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 Lesser General Public License for more details.
//
// The full text of the license is available at http://www.gnu.org/copyleft/lesser.html

@import (reference) "../../../../resources/apps/fr/style/form-runner-common";

.orbeon {
    .fr-repeat {

        .fr-repeater-add i {
            margin-left: 4px;
            margin-right: 5px;
        }

        .fr-repeat-iteration {
            border-bottom: 1px solid @frBorderColor;
        }

        .fr-repeat-menu {
            width: 22px;
            float:left;
            padding: 9px 4px 0 0;
        }

        .xforms-repeat-selected-item-1, .xforms-repeat-selected-item-2, .xforms-repeat-selected-item-3, .xforms-repeat-selected-item-4 {
            &.fr-repeat-iteration {
            }
        }

        .fr-repeat-content {
            padding-left: 26px;

            // Fixup directly nested section
            > .xbl-fr-section > div {
                > h2 {
                    > .fr-section-label {
                        padding-left: 0;
                        background-image: none;
                    }
                }

                > div > .fr-section-content {
                    padding-left: 0;
                }
            }
        }
    }
}