﻿.dataSource {
    position: relative;
    min-height: 200px;
}

.dataSource h3 {
    margin: 0;
}

    .dataSource .header-row {
        margin-bottom: 30px;
    }

    .dataSource #text-import-field {
        background-color: #ffffff;
        border: 1px solid #cccccc;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
        -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
        -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
        -o-transition: border linear 0.2s, box-shadow linear 0.2s;
        transition: border linear 0.2s, box-shadow linear 0.2s;
        border-radius: 4px;
        width: 100%;
        height: 200px;
    }

    .dataSource table {
        border-collapse: collapse;
        width: 100%;
        table-layout: fixed;
    }

        .dataSource table th input {
            font-weight: bold;
        }

        .dataSource table th, .dataSource table td {
            text-align: left;
            border: 1px solid lightgray;
            min-width: 120px;
            padding: 5px;
            position: relative;
        }

        .dataSource table td {
            padding: 0 5px;
            overflow: hidden;
        }

        .dataSource table .controls-container {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            margin: 0;
        }

        .dataSource table .controls {
            margin: 0;
            padding-right: 5px;
        }

        .dataSource table th .controls-container {
            background-color: #f3f3f5;
        }

        .dataSource table td .controls-container {
            background-color: #fff;
        }

        .dataSource table th .controls {
            padding-top: 10px;
        }

        .dataSource table td .controls {
            padding-top: 6px;
        }

        .dataSource table th:after, .dataSource table td:after {
            content: "";
            display: table;
            clear: both;
        }

    .dataSource .iconBox:focus {
        text-decoration: none;
    }

    .dataSource table tr:hover .controls {
        display: block;
    }

    .dataSource table .icon {
        opacity: 0.4;
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
        filter: alpha(opacity=40);
        -moz-opacity: 0.4;
        -khtml-opacity: 0.4;
    }

        .dataSource table .icon:hover {
            cursor: pointer;
            opacity: 1;
            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
            filter: alpha(opacity=100);
            -moz-opacity: 1;
            -khtml-opacity: 1;
        }

    .dataSource table input {
        border: none;
        background: none;
        width: 100%;
    }

        .dataSource table input:focus + .controls-container {
            display: none;
        }

    .dataSource .table-container {
        width: 97%;
        overflow-x: auto;
    }

    .dataSource .add-row {
        text-align: center;
        margin-top: 20px;
    }

    .dataSource .add-column {
        position: absolute;
        top: 25%;
        right: 0;
        margin-right: -8px;
    }

/* Loading icon */
.spinner-container {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: white;
}

.spinner {
    width: 62px;
    height: 60px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

    .spinner > div {
        width: 18px;
        height: 18px;
        background-color: #333;
        border-radius: 100%;
        display: inline-block;
        -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
        animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    }

    .spinner .bounce1 {
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .spinner .bounce2 {
        -webkit-animation-delay: -0.16s;
        animation-delay: -0.16s;
    }

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
