﻿body {
    padding-top: 70px;
    padding-bottom: 70px;
}

.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
}

.table > tbody > tr > td.grid-cell {
    margin: 0;
    padding: 0;
}

@media (min-width: 384px) {
    .dl-horizontal dt {
        float: left;
        width: 120px;
        clear: left;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dl-horizontal dd {
        margin-left: 140px;
    }
}


@-webkit-keyframes rotationAnimation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes rotationAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.rotating {
    -webkit-animation: rotationAnimation 1s linear infinite;
    animation: rotationAnimation 1s linear infinite;
}

.save-cancel-bar {
    background: rgba(0,0,0,0.3) !important;
}

    .save-cancel-bar > div {
        margin-top: 5px;
        margin-right: 15px;
    }

.notification-container {
    left: 0;
    top: 0;
    margin: 0;
    font-family: arial, sans-serif;
    font-weight: bold;
    visibility: hidden;
    z-index: 1031;
    position: absolute;
    text-align: center;
    width: 100%;
    height: 100%;
}

.notification-message {
    position: relative;
    display: inline-block;
    visibility: visible;
    font-size: 80%;
    padding: 6px 10px;
    color: white;
}

.busy {
    opacity: 0.5;
}

.dropdown-menu {
    z-index: 1031;
}

.text-shortened {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: inherit;
}

.cell-ellipsis {
    max-width: 150px;
}

    .cell-ellipsis div {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: inherit;
    }

@-moz-keyframes circles-loader {
    0% {
        -moz-transform: rotate(-720deg);
        transform: rotate(-720deg);
    }

    50% {
        -moz-transform: rotate(720deg);
        transform: rotate(720deg);
    }
}

@-webkit-keyframes circles-loader {
    0% {
        -webkit-transform: rotate(-720deg);
        transform: rotate(-720deg);
    }

    50% {
        -webkit-transform: rotate(720deg);
        transform: rotate(720deg);
    }
}

@keyframes circles-loader {
    0% {
        -moz-transform: rotate(-720deg);
        -ms-transform: rotate(-720deg);
        -webkit-transform: rotate(-720deg);
        transform: rotate(-720deg);
    }

    50% {
        -moz-transform: rotate(720deg);
        -ms-transform: rotate(720deg);
        -webkit-transform: rotate(720deg);
        transform: rotate(720deg);
    }
}



.circles-loader {
    position: fixed;
    text-indent: -9999px;
    display: inline-block;
    width: 25px;
    height: 25px;
    background: rgba(255, 204, 51, 0.9);
    border-radius: 100%;
    -moz-animation: circles-loader 3s infinite ease-in-out;
    -webkit-animation: circles-loader 3s infinite ease-in-out;
    animation: circles-loader 3s infinite ease-in-out;
    -moz-transform-origin: 50% 100%;
    -ms-transform-origin: 50% 100%;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    left: 50%;
    z-index: 1302;
}

    .circles-loader::before {
        background: rgba(255, 102, 0, 0.6);
        border-radius: 100%;
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        top: 18.75px;
        left: -10.82532px;
    }

    .circles-loader::after {
        background: rgba(255, 51, 0, 0.4);
        border-radius: 100%;
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        top: 18.75px;
        left: 10.82532px;
    }

.commented {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAbvAAAG7wBureguwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwMy8yMy8wOT6cudcAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzQGstOgAAABx0lEQVQokX2QO0xTARiFv3t7+763aaWlabWWQKHRwQZriCidCGEwmJBAg9HZQQcXB51MDItuDOruoIOJMQ7GxyiIoWqC0dj6gGpNHSoEWqh93N7fwZTRk3zTyTecg4jwHwY+fVvLVLe3TemYl0TELSIoIkI3yuUrxuRw2n1zND1e2NkdKzZa09VWO0LHZMjr4VjAv3woGr6jiAgPFl+mi4r96mCo55TXq6tL5bJjbatG3RIsAUUB0xIOqMKZaBhtOf95bstj3M0ODdrjuheAZz9KbDTb+J1ORBEQcNigpNp4sb6O6nA67lfqf/YEgLlEPzGfF1PTsFQbgkLHNAl8ybO/UkGRRvP5o7fvJkrSYTx1hMO6AcCrzU1uP35C3fCh79aI/fxOqi9OavjovyNqlcqt14XChaf5Atmp0yy+yfE1t8Lx2EGq+3pYbTSY9bhIjYwUe8PhcxqAEQpdnPD7paP7zt9bfW/3fPjI2UyGvkRiXlNIRsu/Zr1uN35dn1dVdUnr7rixklso/d6YGWi1wmMnR4knk9d6Q6HrAJOG7+GOaU43EcMF7En2jmSnotFwv8tBIBIhGAwudDs9EJjRLetEq22uAfwFslvGwm+jYxYAAAAASUVORK5CYII=');
    background-position: right top;
    background-repeat: no-repeat;
    box-shadow: none;
}

.completed {
    border: 1px solid green;
    border-radius: 3px;
}

.not-completed {
    border: 1px solid orange;
    border-radius: 3px;
}

.form-group.required .control-label, .form-group.required .col-form-label, label.required {
    color: red;
}

    .form-group.required .control-label:after, .form-group.required .col-form-label:after, label.required:after {
        content: "*";
    }

input:required:invalid, input:focus:invalid, textarea:required:invalid, textarea:focus:invalid, .ng-invalid {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT1JREFUeNpi/P//PwMpgImBRMACY/x7/uDX39sXt/67cMoDyOVgMjBjYFbV/8kkqcCBrIER5KS/967s+rmkXxzI5wJiRSBm/v8P7NTfHHFFl5mVdIzhGv4+u///x+xmuAlcdXPB9KeqeLgYd3bDU2ZpRRmwH4DOeAI07QXIRKipYPD35184/nn17CO4p/+cOfjl76+/X4GYAYThGn7/g+Mfh/ZZwjUA/aABpJVhpv6+dQUjZP78Z0YEK7OezS2gwltg64GmfTu6i+HL+mUMP34wgvGvL78ZOEysf8M1sGgZvQIqfA1SDAL8iUUMPIFRQLf+AmMQ4DQ0vYYSrL9vXDz2sq9LFsiX4dLRA0t8OX0SHKzi5bXf2HUMBVA0gN356N7p7xdOS3w5fAgcfNxWtn+BJi9gVVBOQfYPQIABABvRq3BwGT3OAAAAAElFTkSuQmCC');
    background-position: right top;
    background-repeat: no-repeat;
    box-shadow: none;
    border-color: crimson;
}

.action-column {
    width: 35px;
}

.comma-separated::before {
    content: ', ';
}

.comma-separated:first-child::before {
    content: '';
}

.panel-default > .panel-heading > .list-inline {
    margin-bottom: 0;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* fix for disabled fieldset in IE */
fieldset {
    position: relative;
}

    fieldset[disabled]:after {
        content: ' ';
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
    }

input[type=text]::-ms-clear {
    display: none;
}

/*Toggle Button*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch.sm {
        width: 45px;
        height: 26px;
    }

    .switch.xs {
        width: 36px;
        height: 21px;
    }

    /* Hide default HTML checkbox */
    .switch input {
        visibility: collapse;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider.redgreen {
        background-color: #d8534f;
    }

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider.sm:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .slider.xs:before {
        position: absolute;
        content: "";
        height: 17px;
        width: 17px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

    input:checked + .slider.redgreen {
        background-color: #5cb75c;
    }

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

    input:focus + .slider.redgreen {
        box-shadow: 0 0 1px #5cb75c;
    }

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

input:checked + .slider.sm:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

input:checked + .slider.xs:before {
    -webkit-transform: translateX(16px);
    -ms-transform: translateX(16px);
    transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.sm.round {
    border-radius: 26px;
}

.slider.xs.round {
    border-radius: 21px;
}

.slider.round:before {
    border-radius: 50%;
}
/*Toggle Button*/

* {
    box-sizing: border-box;
}

.img-magnifier-container {
    position: relative;
}

.img-magnifier-glass {
    position: absolute;
    border: 1px solid #000;
    cursor: none;
    /*Set the size of the magnifier glass:*/
    width: 300px;
    height: 200px;
}

.modal.atlas-fulscreen-modal {
    padding: 0 !important;
}

    .modal.atlas-fulscreen-modal .modal-dialog {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .modal.atlas-fulscreen-modal .modal-content {
        height: 100% !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .modal.atlas-fulscreen-modal .modal-body {
        overflow-y: auto !important;
    }

.modal-body.no-padding {
    padding: 0;
}
