/*
 =========================== Projekt =================================
 @CHARSET 		"UTF-8";
 @WEBSITE:		http://www.virtualskeleton.ch
 @VERSION:		2.0
 @DATE:				9.11.2012
 @AUTOR:			Michael Kistler [klm1](ISTB, University of Bern)
 @AUTOR:			Roman Niklaus [nar3](BFH, University of Applied Science, Biel)

 Dirs:	
/image/ (for layout)
/font (fontawesome) 

Standard Font: Adobe Source Sans Pro
Main Colors:

 3. #FF2300		red			255 0 	0
 5. #000 		black			0		0	0
 6. #FFF 		white			255 255 255
 7. #E7E7E7 	lightgray 	231 231 231
 8. #CCC gray
 9. #333 darkgray		
 10. #bbe1ec foot light blue

reds
.primary-1 { background-color: #FF2300 }
.primary-2 { background-color: #BF4330 }
.primary-3 { background-color: #A61700 }
.primary-4 { background-color: #FF5A40 }
.primary-5 { background-color: #FF8673 }

blues
.secondary-a-1 { background-color: #057D9F }
.secondary-a-2 { background-color: #216477 }
.secondary-a-3 { background-color: #025167 }
.secondary-a-4 { background-color: #39AECF }
.secondary-a-5 { background-color: #61B7CF }
#bbe1ec


greens
.secondary-b-1 { background-color: #8BEA00 }
.secondary-b-2 { background-color: #7AB02C }
.secondary-b-3 { background-color: #5A9800 }
.secondary-b-4 { background-color: #AAF53D }
.secondary-b-5 { background-color: #BEF56E }

*/

.full-width {
    width: 100%;
}

/* Fix for affix fluid (responsive) width problem */
.vsd-sidebar {
    background-color: white;
    overflow-y: auto;
    /* calc is a CSS3 function */
    max-height: calc(100% - 50px);
    overflow-x: hidden;
}

.affix {
    width: inherit;
}

@media (max-width: 768px) {
    .affix {
        position: inherit;
    }
}

/* http://stackoverflow.com/questions/13306670/bootstrap-prepended-and-appended-input-how-to-max-input-field-width */
.input-prepend.input-block-level {
    display: table;
    width: 100%;
}

    .input-prepend.input-block-level .add-on {
        display: table-cell;
        background-color: white;
    }

    .input-prepend.input-block-level > input {
        box-sizing: border-box;
        height: 30px;
        display: table-cell;
        width: 100%;
        border-left-style: none;
    }

/*Body and structure
-------------------------------------------------- 
*/

body {
    position: relative;
    padding-top: 50px;
    height: 100%;
}

#bodyContent {
    min-height: calc(100vh - 180px);
    overflow-x: hidden;
    overflow-y: auto;
}

.vsd-anchor {
    padding-top: 30px;
}

.vsd-preview-image {
    max-width: 60px;
    max-height: 60px;
}

.vsd-list-inline li {
    display: inline;
    margin-right: 10px;
}

/*Override form margin bottom*/
.form-horizontal {
    margin-bottom: 0px;
}

/*Separators (hr)*/
.vsd-separator {
    margin: 40px 0 39px;
}
/*Faded out hr */
hr.soften {
    height: 1px;
    margin: 70px 0;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
    border: 0;
}

.vsd-invisible {
    visibility: hidden;
}

.vsd-text-white {
    color: white;
}

.vsd-text-left {
    text-align: left;
}

.vsd-text-center {
    text-align: center !important;
}

.vsd-text-right {
    text-align: right !important;
}

.vsd-clear-right {
    clear: right;
}

.vsd-clear-left {
    clear: left;
}

.vsd-clear {
    clear: both;
}

.vsd-crop-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.vsd-selected {
    background-color: #e7e7e7;
}

.vsd-gray {
    background-color: #eeeeee;
}

/*fix for type ahead not showing in modal*/
.typeahead.dropdown-menu {
    z-index: 1051;
}

    /* override the dark background for hover typeahead items */
    .typeahead.dropdown-menu .active > a,
    .typeahead.dropdown-menu .active > a:hover {
        color: #000000;
        background-color: #FFFFFF;
        background-image: -moz-linear-gradient(top, #e7e7e7, #ccc);
        background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#FFFFFF), to(#cccccc));
        background-image: -webkit-linear-gradient(top, #e7e7e7, #cccccc);
        background-image: -o-linear-gradient(top, #e7e7e7, #cccccc);
        background-image: linear-gradient(to bottom, #e7e7e7, #cccccc);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#cccccc', GradientType=0);
    }

.vsd-edit-hidden {
    display: none;
}


/*Media logos fixed height
--------------------------------------------------*/
.vsd-affiliation-media {
    width: 120px;
}

/*Footer
--------------------------------------------------*/
.footer {
    /*line-height: 20px;*/
    padding: 30px 0 0 0;
    border-top: 1px solid #e5e5e5;
    /*background-color: #f5f5f5;*/
}

    .footer p {
        margin-bottom: 0;
        color: #777;
    }

.footer-links {
    margin: 10px 0;
}

    .footer-links li {
        display: inline;
        margin-right: 10px;
    }

/*CSS Tree menu styles 
--------------------------------------------------*/
.vsd-treeview {
    overflow-x: auto;
    overflow-y: auto;
}

    .vsd-treeview ul,
    .vsd-treeview li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .vsd-treeview input {
        position: absolute;
        opacity: 0;
    }

.vsd-treeview {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

    .vsd-treeview a {
        text-decoration: none;
        background: url("https://www.smir.ch/Content/css/image/vsd-tree-icons.png") no-repeat;
        background-position: 0 -90px;
        padding-left: 18px;
    }

    .vsd-treeview input + label + ul {
        margin: 0 0 0 22px;
    }

    .vsd-treeview input ~ ul {
        display: none;
    }

    .vsd-treeview label,
    .vsd-treeview label::before {
        cursor: pointer;
    }

    .vsd-treeview input:disabled + label {
        cursor: default;
        opacity: .9;
    }

    .vsd-treeview input:checked:not(:disabled) ~ ul {
        display: block;
    }

    .vsd-treeview label,
    .vsd-treeview label::before {
        background: url("https://www.smir.ch/Content/css/image/vsd-tree-icons.png") no-repeat;
    }

        .vsd-treeview label,
        .vsd-treeview a,
        .vsd-treeview label::before {
            display: inline-block;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            color: #333;
        }

    .vsd-treeview label {
        background-position: 18px 0;
    }

        .vsd-treeview label::before {
            content: "";
            width: 16px;
            margin: 0 22px 0 0;
            vertical-align: middle;
            background-position: 0 -90px;
        }

    .vsd-treeview input:checked + label::before {
        background-position: 0 -16px;
    }

    .vsd-treeview input:not(:checked) + label::before {
        background-position: 0 -32px;
    }

    /*tree extended by klm1*/
    .vsd-treeview input:disabled + label {
        background-position: 18px -90px;
    }

        .vsd-treeview input:disabled + label::before {
            visibility: hidden;
        }


/*webkit adjacent element selector bugfix */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    .vsd-treeview {
        -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
    }

    @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
        from {
            padding: 0;
        }

        to {
            padding: 0;
        }
    }
}

.vsd-clickable {
    cursor: pointer;
}

/* wrap long words without spaces
-------------------------------------------------- */
.vsd-wrapword {
    display: inline-block;
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: pre-wrap; /* css-3 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    word-break: break-all;
    white-space: normal;
}

/*inactive-input
-------------------------------------------------- */
.vsd-inactive-input,
.vsd-inactive-span {
    border-color: white white white white;
    color: #333333;
    background-color: white;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0);
    font-weight: bold;
}

    .vsd-inactive-input:hover {
        cursor: text;
        background-color: #e7e7e7;
    }

.vsd-active-input:hover {
    cursor: text;
}

/*active-select
-------------------------------------------------- */
.vsd-active-select {
    color: #333333;
}

    .vsd-active-select:hover {
        cursor: pointer;
    }

.control-group.vsd-control-group {
    margin-bottom: 2px;
}

.vsd-text-in-input {
    border-color: white;
    background-color: white;
    color: #333333;
    cursor: none;
}

    .vsd-text-in-input:focus {
        color: #333333;
        border-color: rgba(82, 168, 236, 0.8);
        outline: 0;
        outline: thin dotted \9;
        /* IE6-9 */
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    }


/*css spinner 20x20
------------------------------------------------- */
.vsd-spinner-container {
    position: relative;
    margin: 0 auto;
    width: 20px;
    height: 20px;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -o-transform: scale(0.6);
    -ms-transform: scale(0.6);
}

.vsd-spinner {
    position: absolute;
    background-color: #e7e7e7;
    height: 4px;
    width: 4px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-animation-name: vsd-fade;
    -webkit-animation-duration: 1.52s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -moz-animation-name: vsd-fade;
    -moz-animation-duration: 1.52s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: linear;
    -o-animation-name: vsd-fade;
    -o-animation-duration: 1.52s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    -ms-animation-name: vsd-fade;
    -ms-animation-duration: 1.52s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
}

.vsd-rotate-01 {
    left: 0;
    top: 8px;
    -webkit-animation-delay: 0.57s;
    -moz-animation-delay: 0.57s;
    -o-animation-delay: 0.57s;
    -ms-animation-delay: 0.57s;
}

.vsd-rotate-02 {
    left: 2px;
    top: 2px;
    -webkit-animation-delay: 0.76s;
    -moz-animation-delay: 0.76s;
    -o-animation-delay: 0.76s;
    -ms-animation-delay: 0.76s;
}

.vsd-rotate-03 {
    left: 8px;
    top: 0;
    -webkit-animation-delay: 0.95s;
    -moz-animation-delay: 0.95s;
    -o-animation-delay: 0.95s;
    -ms-animation-delay: 0.95s;
}

.vsd-rotate-04 {
    right: 2px;
    top: 2px;
    -webkit-animation-delay: 1.14s;
    -moz-animation-delay: 1.14s;
    -o-animation-delay: 1.14s;
    -ms-animation-delay: 1.14s;
}

.vsd-rotate-05 {
    right: 0;
    top: 8px;
    -webkit-animation-delay: 1.33s;
    -moz-animation-delay: 1.33s;
    -o-animation-delay: 1.33s;
    -ms-animation-delay: 1.33s;
}

.vsd-rotate-06 {
    right: 2px;
    bottom: 2px;
    -webkit-animation-delay: 1.52s;
    -moz-animation-delay: 1.52s;
    -o-animation-delay: 1.52s;
    -ms-animation-delay: 1.52s;
}

.vsd-rotate-07 {
    left: 8px;
    bottom: 0;
    -webkit-animation-delay: 1.71s;
    -moz-animation-delay: 1.71s;
    -o-animation-delay: 1.71s;
    -ms-animation-delay: 1.71s;
}

.vsd-rotate-08 {
    left: 2px;
    bottom: 2px;
    -webkit-animation-delay: 1.9s;
    -moz-animation-delay: 1.9s;
    -o-animation-delay: 1.9s;
    -ms-animation-delay: 1.9s;
}

.vsd-rotate-45:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.vsd-rotate-315:before {
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -o-transform: rotate(315deg);
    transform: rotate(315deg);
}

@-webkit-keyframes vsd-fade {
    0% {
        background-color: #000000;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-moz-keyframes vsd-fade {
    0% {
        background-color: #000000;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-o-keyframes vsd-fade {
    0% {
        background-color: #000000;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-ms-keyframes vsd-fade {
    0% {
        background-color: #000000;
    }

    100% {
        background-color: #e7e7e7;
    }
}

/*Table tweaks
-------------------------------------------------- */
.vsd-table-responsive {
    overflow-x: auto;
}

.vsd-table-label {
    margin-left: 10px;
}

.vsd-table-list {
    margin: 0px;
}

.table.vsd-table-centered th,
.table.vsd-table-centered td {
    text-align: center;
}

.vsd-hidden-row {
    padding: 0 !important;
}

.vsd-collapse-tbody {
    border-top: 0px !important;
}
table tbody tr.active {
    background-color: #f5f5f5;
}
/* Responsive
-------------------------------------------------- */
/* Desktop large
------------------------- */
@media (min-width: 1200px) {
}
/* Desktop
------------------------- */
@media (max-width: 980px) {
    /* Unfloat brand */
}
/* Tablet to desktop
------------------------- */
@media (min-width: 768px) and (max-width: 980px) {
    /* Remove any padding from the body */
}



/*bar-loader*/

.vsd-loader {
    background-color: #e7e7e7;
    border: 1px solid #000000;
    float: left;
    height: 36px;
    margin-left: 3px;
    width: 10px;
    -webkit-animation-name: vsd-bounce;
    -webkit-animation-duration: 1.9s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -webkit-transform: scale(0.7);
    -moz-animation-name: vsd-bounce;
    -moz-animation-duration: 1.9s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: linear;
    -moz-transform: scale(0.7);
    -o-animation-name: vsd-bounce;
    -o-animation-duration: 1.9s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    -o-transform: scale(0.7);
    -ms-animation-name: vsd-bounce;
    -ms-animation-duration: 1.9s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
    -ms-transform: scale(0.7);
    opacity: 0.1;
}

.vsd-loader-container-large {
    width: 51px margin:0 auto;
}

.vsd-loader-large {
    height: 36px;
    margin-left: 3px;
    width: 10px;
}

.vsd-loader-container-small {
    width: 40px margin:0 auto;
}

.vsd-loader-small {
    height: 18px;
    margin-left: 2px;
    width: 6px;
}

.vsd-block-01 {
    -webkit-animation-delay: 0.57s;
    -moz-animation-delay: 0.57s;
    -o-animation-delay: 0.57s;
    -ms-animation-delay: 0.57s;
}

.vsd-block-02 {
    -webkit-animation-delay: 0.76s;
    -moz-animation-delay: 0.76s;
    -o-animation-delay: 0.76s;
    -ms-animation-delay: 0.76s;
}

.vsd-block-03 {
    -webkit-animation-delay: 0.95s;
    -moz-animation-delay: 0.95s;
    -o-animation-delay: 0.95s;
    -ms-animation-delay: 0.95s;
}

@-webkit-keyframes vsd-bounce {
    0% {
        -webkit-transform: scale(1.2);
        opacity: 1;
    }

    100% {
        -webkit-transform: scale(0.7);
        opacity: 0.1;
    }
}

@-moz-keyframes vsd-bounce {
    0% {
        -moz-transform: scale(1.2);
        opacity: 1;
    }

    100% {
        -moz-transform: scale(0.7);
        opacity: 0.1;
    }
}

@-o-keyframes vsd-bounce {
    0% {
        -o-transform: scale(1.2);
        opacity: 1;
    }

    100% {
        -o-transform: scale(0.7);
        opacity: 0.1;
    }
}

@-ms-keyframes vsd-bounce {
    0% {
        -ms-transform: scale(1.2);
        opacity: 1;
    }

    100% {
        -ms-transform: scale(0.7);
        opacity: 0.1;
    }
}


/*baller loader
------------------------------*/

.vsd-balls-container {
    position: relative;
    margin: 0 auto;
}

.vsd-balls-container-large {
    width: 128px;
    height: 30px;
}

.vsd-balls-container-small {
    width: 64px;
    height: 15px;
}

.vsd-balls {
    position: absolute;
    top: 0;
    background-color: #025167;
    -webkit-animation-name: vsd-ball;
    -webkit-animation-duration: 1.9s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -moz-animation-name: vsd-ball;
    -moz-animation-duration: 1.9s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-direction: linear;
    -o-animation-name: vsd-ball;
    -o-animation-duration: 1.9s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    -ms-animation-name: vsd-ball;
    -ms-animation-duration: 1.9s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
}

.vsd-balls-large {
    width: 16px;
    height: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.vsd-balls-small {
    width: 8px;
    height: 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.vsd-balls-01 {
    -webkit-animation-delay: 0.76s;
    -moz-animation-delay: 0.76s;
    -o-animation-delay: 0.76s;
    -ms-animation-delay: 0.76s;
}

.vsd-balls-02 {
    -webkit-animation-delay: 0.95s;
    -moz-animation-delay: 0.95s;
    -o-animation-delay: 0.95s;
    -ms-animation-delay: 0.95s;
}

.vsd-balls-03 {
    -webkit-animation-delay: 1.14s;
    -moz-animation-delay: 1.14s;
    -o-animation-delay: 1.14s;
    -ms-animation-delay: 1.14s;
}

.vsd-balls-04 {
    -webkit-animation-delay: 1.33s;
    -moz-animation-delay: 1.33s;
    -o-animation-delay: 1.33s;
    -ms-animation-delay: 1.33s;
}

.vsd-balls-05 {
    -webkit-animation-delay: 1.52s;
    -moz-animation-delay: 1.52s;
    -o-animation-delay: 1.52s;
    -ms-animation-delay: 1.52s;
}

.vsd-balls-06 {
    -webkit-animation-delay: 1.71s;
    -moz-animation-delay: 1.71s;
    -o-animation-delay: 1.71s;
    -ms-animation-delay: 1.71s;
}

.vsd-balls-07 {
    -webkit-animation-delay: 1.9s;
    -moz-animation-delay: 1.9s;
    -o-animation-delay: 1.9s;
    -ms-animation-delay: 1.9s;
}

.vsd-balls-08 {
    -webkit-animation-delay: 2.09s;
    -moz-animation-delay: 2.09s;
    -o-animation-delay: 2.09s;
    -ms-animation-delay: 2.09s;
}


.vsd-balls-l00 {
    left: 0;
}

.vsd-balls-l08 {
    left: 8px;
}

.vsd-balls-l16 {
    left: 16px;
}

.vsd-balls-l24 {
    left: 24px;
}

.vsd-balls-l32 {
    left: 32px;
}

.vsd-balls-l40 {
    left: 40px;
}

.vsd-balls-l48 {
    left: 48px;
}

.vsd-balls-l56 {
    left: 56px;
}

.vsd-balls-l64 {
    left: 64px;
}

.vsd-balls-l80 {
    left: 80px;
}

.vsd-balls-l96 {
    left: 96px;
}

.vsd-balls-l112 {
    left: 112px;
}

.vsd-balls-l128 {
    left: 128px;
}

@-webkit-keyframes vsd-ball {
    0% {
        background-color: #025167;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-moz-keyframes vsd-ball {
    0% {
        background-color: #025167;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-o-keyframes ballsWaveG {
    0% {
        background-color: #025167;
    }

    100% {
        background-color: #e7e7e7;
    }
}

@-ms-keyframes vsd-ball {
    0% {
        background-color: #025167;
    }

    100% {
        background-color: #e7e7e7;
    }
}

.vsd-icon-large {
    font-size: 200%;
    line-height: 150%;
}

.modal-header {
    color: #025167;
}

.vsd-icon-large {
    font-size: 200%;
    line-height: 120%;
}

.vsd-folder-tiles {
    text-align: center;
    height: 100px;
}

.vsd-td-tn {
    width: 15px;
}

.vsd-td-preview {
    width: 30px;
}

.vsd-link-unstyled {
    text-decoration: none !important;
    color: black;
    cursor: default;
}

/*jquery.dataTables overrides
------------------------------*/
table.dataTable thead th {
    position: relative;
    background-image: none !important;
}

    table.dataTable thead th.sorting:after,
    table.dataTable thead th.sorting_asc:after,
    table.dataTable thead th.sorting_desc:after {
        position: absolute;
        top: 12px;
        right: 8px;
        display: block;
        font-family: FontAwesome;
    }

    table.dataTable thead th.sorting:after {
        content: "\f0dc";
        color: #ddd;
        font-size: 0.8em;
        padding-top: 0.12em;
    }

    table.dataTable thead th.sorting_asc:after {
        content: "\f0de";
    }

    table.dataTable thead th.sorting_desc:after {
        content: "\f0dd";
    }

.vsd-horizontal-divider {
    border-bottom: 1px solid #ccc;
    width: 100%;
}

.vsd-object-collection-content {
    padding: 20px;
    border: 1px solid #ddd;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
}