/* ---------------------------------------- */
/* COLORS                                   */
/* ---------------------------------------- */

/*
    background              #79aec8
    menu                    #fff
    menu hover              #ffc
    link                    #447e9b
    link hover              #036
    
    text                    color: #333;
    
    h1, h2 ...              color: #666;
    
    box                     border: 1px solid #eee
                            background-color: #f6f6f6 !important;
                            
    button                  background-color: #79aec8 !important;
    
    button hover            background-color: #417690 !important;
         
    button inverted         border: solid 1px #79aec8;
                            background-color: #ffffff !important;
                            color: #447e9b;
                        
    button inverted hover   border: solid 1px #609ab6;
                            background-color: #609ab6 !important;
                            color: #ffffff;

*/

/* ======================================== */
/* BASIC STYLE                              */
/* ======================================== */

/* ---------------------------------------- */
/* FORMS                                    */
/* ---------------------------------------- */

input[type="text"], textarea {
    color: #333;
}

.view-edit .form-group label {
    font-weight: 600;
}

#printableArea {
    background-color: #ffffff;
}

/* ---------------------------------------- */
/* FRONTEND                                 */
/* ---------------------------------------- */

#printableArea #username {
	width: 240px;
	padding: 2px 4px;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	background-color: #e6e6e6;
	background-repeat: no-repeat;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
	background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
	background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
	background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
	background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
	background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	color: #333;
	font-size: 13px;
	line-height: normal;
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	-webkit-transition: 0.1s linear background-image;
	-moz-transition: 0.1s linear background-image;
	-ms-transition: 0.1s linear background-image;
	-o-transition: 0.1s linear background-image;
	transition: 0.1s linear background-image;
	overflow: visible;
}

/* ---------------------------------------- */
/* MODAL                                    */
/* ---------------------------------------- */

#mySuccessModal .modal-header,
#myFailModal .modal-header {
    background-color: #ffffff;
    border-bottom: none;
}
/* ======================================== */
/* ACT Auftrag STYLES                       */
/* ======================================== */

:root {
  --bg-light-gray: #EDEDED;
  --bg-dark-gray: #E0E0E0;
  --border-gray: #d3d3d3;
  --border-dark: #a5a5a5;
  --border-black: #333;
  --text-blue: #0d6efd;
  --text-dark-blue: #0b5ed7;
  --bg-green: #6bb23c;
  --bg-header-blue: #044a9382; /* #476999 */
  --act-blue: #023973;
}

/* ---------------------------------------- */
/* FONTS                                    */
/* ---------------------------------------- */

body {
	font-size: 14px;
	font-family: "Roboto", sans-serif;
	color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #666 !important;
}

h1 {
    font-size: 32px;
    margin: 15px 0;
}
h2 {
    font-size: 24px;
}

label {
	font-weight: 500;
}

/* ---------------------------------------- */
/* HEADER                                   */
/* ---------------------------------------- */

.navbar-inverse {
	background-color: #fff;
    border-bottom: solid 1px #618CA0;
}

.logo-inner {
    margin: 10px 0 10px -8px;
}

.act-link img {
    display: none !important;
}
.act-link {
    display: block !important;
    width: auto !important;
    height: 68px !important;
    background-image: url(img/actgericht-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.navbar-inverse .navbar-inner {
    background: var(--act-blue) !important;
    padding: 5px 40px 5px 40px;
}

.nav-collapse {
    display: flex !important;
    flex-direction: column-reverse;
    margin-top: 14px;
}

.navbar .navbar-inner ul.nav li a {
	color: #ffffff !important;
	font-weight: 500;
	vertical-align: middle;
    font-size: 15px !important;
	margin-top: 1px;
    padding: 0 !important;
    border-bottom: solid 1px transparent;
}
.navbar .navbar-inner ul.nav li {
    padding: 0 18px 0 0 !important;
}
.navbar .navbar-inner ul.nav li a:hover,
.navbar .navbar-inner ul.nav li.active a {
    background-color: transparent !important;
    border-bottom: solid 1px #fff;
}
.navbar.navbar-inverse .nav .active > a,
.navbar.navbar-inverse .nav:not(.pull-right) a:hover {
	background-color: transparent !important;
}

.navbar input[type="search"] {
	color: #333 !important;
	background-color: #f6f6f6 !important;
    border: solid 1px var(--act-blue) !important;
}
.navbar input[type="search"]::placeholder {
	color: #999999 !important;
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    .navbar-inverse .navbar-inner {
        padding: 5px 10px 5px 10px;
    }
}

@media (max-width: 768px) {
    .nav.pull-right {
        position: absolute !important;
        top: 8px !important;
        left: 10px !important;
    }
    #form-search input {
        border: solid 1px #ccc !important;
    }
    .act-link {
        width: auto !important;
        height: 50px !important;
    }
    .nav:not(.pull-right) {
        top: 0px !important;
    }
    .navbar-inner {
        padding: 0 0 10px 0 !important;
    }
}

@media (max-width: 620px) {
    .navbar input[type="search"] {
        width: 160px;
    }
}

/* ---------------------------------------- */
/* BREADCRUMBS                              */
/* ---------------------------------------- */

.breadcrumb {
    background-color: #f6f6f6;
    border: 1px solid #eee;
    border-radius: 0px;
}

.breadcrumb > .active {
	color: #333;
}
.breadcrumb > li + li::before {
	padding: 0 5px;
	color: #333;
	content: "/\00a0";
}

/* ---------------------------------------- */
/* CONTENT                                  */
/* ---------------------------------------- */

.acttest h2 {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* ---------------------------------------- */
/* INPUT                                    */
/* ---------------------------------------- */

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], input[type="tel"], textarea, select {
	border: 1px solid #ccc;
	border-radius: 0px;
	padding: 5px 6px !important;
	margin: 2px 0 !important;
    height: 28px !important;
    font-size: 14px;
    line-height: 14px !important;
    color: #333 !important;
}

select {
    padding: 4px 6px !important;
}

/* ---------------------------------------- */
/* TEXT TESTS (FRONTEND)                    */
/* ---------------------------------------- */

.acttest-view .test-text {
    border: solid 1px #ccc;
    padding: 16px 16px 6px 16px;
    background-color: #f4f4f4;
    border-radius: 0px !important;
    font-size: inherit !important;
}

.acttest-view .acttest > h4 {
    margin-top: 30px;
}

.multiple-choice-test .top-radius-div,
.category-sorting-test .top-radius-div,
.blank-words-test .top-radius-div {
    border: solid 1px #ccc;
    padding: 16px 16px 6px 16px;
    background-color: #f4f4f4;
    border-radius: 0px !important;
}

.multiple-choice-test-status,
.sorting-test-status,
.blank-words-status {
    background-color: var(--bg-header-blue);
    border-radius: 0px !important;
}

.multiple-choice-test .questions,
.blank-words-test .blank-words-left {
	background: transparent;
}
.blank-words-test .blank-words-right {
    background: transparent;
    float: left;
    padding: 8px 0;
}
.blank-words-test .word {
    height: auto;
    background: #ccc;
    border-radius: 4px !important;
    cursor: pointer;
}

.sorting-test-categories {
    background: transparent;
}
.sorting-test-categories .category {
    border: solid 1px #ccc;
    border-radius: 0px !important;
}
.sorting-test-items {
    background: transparent;
}
.sorting-test-items .item,
.sorting-test-categories .item {
    background: #ccc;
    cursor: pointer;
}

.multiple-choice-test .question-row p,
.blank-words-test .word,
.sorting-test-categories h4,
.sorting-test-items .item,
.sorting-test-categories .item,
.text-with-blank {
    font-size: 14px;
}

/* ---------------------------------------- */
/* TEXT TESTS (BACKEND)                     */
/* ---------------------------------------- */

.test-text-editor {
    border: solid 1px #ccc;
    padding: 16px 16px 16px 16px;
    background-color: #C2E0E0;
    border-radius: 0px !important;
    margin: 10px 0 30px 0;
}
.multiple-choice-test-editor,
.assignment-test-editor,
.blank-words-test-editor {
    border: solid 1px #ccc;
    padding: 16px 16px 16px 16px;
    background-color: #C2E0E0;
    border-radius: 0px !important;
    margin: 10px 0 30px 0;
}

#text-questions-group input.mct-question {
    width: 800px;
}
#assignment-test-group input.at-category,
#assignment-test-group input.at-item {
    width: 400px;
}
#extra-words-group input.extra-word {
    width: 400px;
}
