/*******************************************************************************
*
*   Hauptfunktionen
*
*******************************************************************************/
html,
body{
    width:100%;
    height:100%;
}

html{
    overflow-y: scroll;
}

body{
    background: url("../img/ellipse.jpg") no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h3{
    margin-top: 0px;
}


/*******************************************************************************
*
*   Hauptmenü
*
*******************************************************************************/
#mainMenueExercisesTable{
    margin-left: 20px;
    text-align: left;
}

.mainMenueExerciseTableTick{
    text-align: center;
}

#mainStatistic,
#mainStatisticSelect{
    margin-top: 20px;
}

#mainStatisticSelect2{
    margin-top: 5px;
}

#mainStatisticSelect3{
    margin-top: 5px;
}

#mainMenueExercisesTable td{
    width: 100px;    
}

/*******************************************************************************
*
*   Hauptmenü - Dozent
*
*******************************************************************************/
.mainAdminSidebarGroup{
    margin-bottom: 10px;
}

/*******************************************************************************
*
*   Graphic
*
*******************************************************************************/
#exerciseGraphic,
#instructionGraphic,
#createExerciseGraphic{
    min-height: 220px;
    min-width: 220px;
    width: 100%;
    height:100%;
}

path.svgFunction{
    cursor: pointer;
}

svg{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

#exerciseGraphic .svgBeam,
#instructionGraphic:not(.instructionGraphicStudent) .svgBeam,
#createExerciseGraphic .svgBeam{
    cursor: pointer;
}

#exerciseGraphic,
#instructionGraphic,
#createExerciseGraphic{
    border: 1px solid black;
}

/*******************************************************************************
*
*   Controlpanel/Sidebar
*
*******************************************************************************/
/*******************************************************************************
*   Aufgabentext
*******************************************************************************/
#instructionSidebarText{
    margin-top: 5px;
    margin-bottom: 5px;
}

#instructionSidebarText h3{
    margin-bottom: 5px;
}

/*******************************************************************************
*   Sidebar
*******************************************************************************/

.beamProperties input[type=number],
.createExerciseAnchor input[type=number]{
    width:100px;
}

#exerciseSidebar input[type=number],
#instructionSidebar input[type=number],
#createExerciseControlPanel .createExerciseAnchor .panelAnchor input[type=number]{
    width:55px;
}

.panelAnchor{
    margin-left: 10px;
    margin-right: 10px;
}

#exerciseSidebar #exerciseSidebarButtons,
#instructionSidebar #instructionSidebarButtons{
    text-align: center;
}

#exerciseSidebarButtons input[type=button],
#instructionSidebarButtons input[type=button],
.createExerciseSidebarButtons input[type=button]{
    width:100%;
}

.panelAnchor table tr td:first-child {
    width: 104px;
    min-width: 104px;
    vertical-align: top;
}

.panelAnchor table tr td select {
    width: 100%;
}

#createExerciseControlPanel .createExerciseAnchor .panelAnchor .panel-body {
    margin-left: 15px;
}

.tab-content{
    min-height: 250px;
    height:calc(100% - 42px);
    padding-left: 0px;
    padding-right: 0px;
    background-color: white;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0 0 4px 4px;
}

.createExerciseTabContentSmall{
    padding: 10px;
}

.panelAnchorStart,
.panelAnchorEnd,
.tab-content .panel,
#exerciseSidebar #controlPanel .nav-tabs,
#instructionSidebar #controlPanelLoad .nav-tabs{
    margin-bottom: 0px;
}

#exerciseSidebar #controlPanel .tab-content .panel,
#instructionSidebar #controlPanelLoad .tab-content .panel{
    display: inline-block;
}

.panel{
    border: none;
}

.list-group-item:last-child{
    margin-bottom: -1px;
}

/*******************************************************************************
*
*   Modal
*
*******************************************************************************/
#exerciseName{
    width: 100%;
    height: 50px;
}

#exerciseDesc{
    width: 100%;
    height: 200px;
}

body.modal-open{
    padding-right: 0 !important;
}

.dialog.modal{
    padding-right: 0 !important;
}

/*******************************************************************************
*
*   Text
*
*******************************************************************************/
.boldText{
    font-weight: bold;
}

#exerciseSidebar .deleteFunction,
#instructionSidebar .deleteFunction{
    font-size: 20px;
    font-weight: bold;
    line-height: 18px;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    filter: alpha(opacity=20);
    text-decoration: none;
}

#exerciseSidebar .deleteFunction:hover,
#instructionSidebar .deleteFunction:hover{
    color: #000000;
    text-decoration: none;
    opacity: 0.4;
    filter: alpha(opacity=40);
    cursor: pointer;
}


#exerciseSidebar .plusminus,
#instructionSidebar .plusminus{
    font-size: 20px;
    font-weight: bold;
    line-height: 18px;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.6;
    filter: alpha(opacity=20);
    text-decoration: none;
}

#exerciseSidebar .plusminus:hover,
#instructionSidebar .plusminus:hover{
    color: #337ab7;
    text-decoration: none;
    opacity: 0.9;
    filter: alpha(opacity=40);
    cursor: pointer;
}



/*******************************************************************************
*
*   List Group
*
*******************************************************************************/
.SidebarListGroup .list-group,
.SidebarListGroupLoad .list-group{
    width: 100%;
}

.list-group-item.small{
    padding-right: 31px;
    padding-left: 33px;
}

.listGroupArrow{
    float: left;
    width:18px;    
}

/*******************************************************************************
*
*   Overview
*
*******************************************************************************/
#incorrectExercisesTable th,
#incorrectExercisesTable td{
    width:100px;
}

/*******************************************************************************
*
*   Button-Group
*
*******************************************************************************/
#exerciseSidebar .btn-group,
#exerciseSidebar .btn-group button,
#instructionSidebar .btn-group,
#instructionSidebar .btn-group button{
    width:100%;
}

#exerciseSidebar .btn-group .dropdown-menu,
#instructionSidebar .btn-group .dropdown-menu{
    border: none;
}

.editExerciseDropdown{
    text-align: center;
    width:100%;
}

#mainStatistic svg
{
    width:100%;
}

/*******************************************************************************
*
*   Tooltip
*
*******************************************************************************/
.tooltip-inner {
    white-space:pre-wrap;
}

.cursorHandle{
    cursor: pointer;
}

#removeLecturerTable td{
    width: 110px;
}

.fullheight{
    height: 100%;
}

.horizontalSeperator{
    height: 5px;
}

#mainStatisticPaper{
    max-height: 500px;
    max-width: 500px;
    min-height: 170px;
    min-width: 170px;
}

.displayNone{
    display:none;
}

.panelAnchor .functionHeadline{
    font-weight: bold;
}

.dropdown-menu a{
    cursor: pointer;
}

#lecturerExamTable{
    min-width: 300px;
}

.functionParameter tr td:first-child{
    width:100%;
}

img{
    border: 1px solid black;
}

.demo img{
    width: 100%;
}

.row .col-lg-6 img{
    width: 100%;
}

#enterStatigo{
    width: 100%;
}

/*******************************************************************************
*
*   MediaQueries
*
*******************************************************************************/
@media (max-width:767px){
    body{
        background-image: none;
        background-color: #B6D1DD;
    }
    .col-md-12, .col-md-4, .col-md-6, .col-md-8{
        padding-left: 0px;
        padding-right: 0px;
    }

.logos{
	background:  transparent;
	border: 0px;
}

    .well{
        padding-left: 5px;
        padding-right: 5px;
        padding-bottom: 8px;
        padding-top: 8px;
        margin-bottom: 5px;
    }

    .navbar{
        margin-bottom: 5px;
    }

    #mainStatisticPaper{
        max-height: 400px;
        max-width: 400px;
    }

    .slideContent{
        z-index: 50;
        -webkit-transition:all 1.0s ease-in-out;
        -moz-transition:all 1.0s ease-in-out;
        -o-transition:all 1.0s ease-in-out;
        transition:all 1.0s ease-in-out;
    }

    #exercise{
        overflow-x: hidden;
    }

    .translateXLeft {
        -moz-transform:translateX(-100%); /* Firefox 3.6 Firefox 4 */
        -webkit-transform:translateX(-100%); /* Safari */
        -o-transform:translateX(-100%); /* Opera */
        -ms-transform:translateX(-100%); /* IE9 */
        transform:translateX(-100%); /* W3C */
    } 

    .exerciseGra{
        width: 100%;
        left: 0px;
        top: 0px;
    }

    .exerciseSid{
        width: 100%;
        left: 100%;
    }

    .toast {
        z-index:100;
        width:calc(100% - 10px);
        height:20px;
        height:auto;
        margin-left: 5px;
        margin-right: 5px;
        position:absolute;
        bottom:10px;
        background-color: #383838;
        color: #F0F0F0;
        font-family: Calibri;
        font-size: 18px;
        padding:10px;
        text-align:center;
        border-radius: 2px;
        -webkit-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
        -moz-box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
        box-shadow: 0px 0px 24px -1px rgba(56, 56, 56, 1);
    }

}
