/* COLOR REFERENCES

Green:		#79b044
Salmon: 	#dd5638
Blue Gray:	#3e4249

*/


/* === GENERAL === */

body {
    margin-top: 50px;
    font-family: 'Raleway', Helvetica, sans-serif;
    font-size: 16px;
    background: url('../img/title.jpg') top left repeat;
    background-color: #FAFAFF;
}


/* === GLOBAL === */

h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    font-weight: bold;
}

h1 {
    font-size: 1.6em;
}

h2 {
    font-size: 1.3em;
}

h1,
h2 {
    margin: 2em 0 1em;
}

h3 {
    margin: 20px 0;
}

h4 {
    font-size: 18px;
}

p {
    margin: 0 0 15px;
}

p.lead {
    font-weight: normal;
}

a:link,
a:visited {
    color: lightsalmon;
}

a:hover {
    text-decoration: none;
    color: #FFF;
    background-color: orangered;
}

button,
.btn,
a.btn {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    color: white;
}

.btn {
    font-weight: bold;
}

button.btn:focus {
    outline: none !important;
}

.btn-danger {
    background-color: #dd5638;
    border-collapse: #d95131;
}

.btn-success {
    background-color: #79b044;
    border: none;
}

.btn-success:hover {
    background: #6a9b3d;
    border-color: #6a9b3d;
}

img {
    max-width: 100%;
}

.modal-content {
    background: url('../img/tile.jpg') top left repeat;
}

.badge.social {
    background: #ccc;
    font-size: 24px;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 42px;
    margin: 0 5px 20px 0;
    padding: 0;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    color: white;
}

.badge.social.twitter:hover {
    background: #55acee;
}

.badge.social.facebook:hover {
    background: #3b5998;
}

.badge.social.gplus:hover {
    background: #db4b39;
}

blockquote {
    padding: 0;
    border: none;
    font-style: italic;
    text-align: center;
}

blockquote cite {
    display: block;
    color: #777;
    margin: 15px 0 0 0;
}

blockquote:before {
    display: none;
}


/* === HERO=== */

#hero {
    background: url('../img/lernberichte-hero-bg.png') 50% 0 repeat fixed;
    min-height: 100px;
    padding: 20px 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    color: white;
}

#hero article {
    width: 100%;
    text-align: center;
}

#hero .hero-logo {
    margin-top: -30px;
}

#hero .hero-text {
    margin-top: 70px;
}

#price-timeline {
    margin: 30px 0 60px;
    text-align: center;
}

#price-timeline .price {
    display: inline-block;
    margin: 0 2% 0 0;
    width: 30%;
    background: #3e4249;
    padding: 10px 20px 30px;
    position: relative;
    vertical-align: top;
}

#price-timeline .price.active {
    background: #dd5638;
}

#price-timeline .price span {
    background: #101010;
    display: block;
    height: 70px;
    width: 70px;
    text-align: center;
    line-height: 70px;
    font-weight: bold;
    font-size: 24px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    position: absolute;
    bottom: -35px;
    left: 50%;
    margin-left: -35px;
}

#price-timeline h4 {
    margin: 0 0 10px;
}

#price-timeline h4 small {
    color: white;
    font-weight: bold;
    display: block;
}


/* === LAYOUT=== */

.row+.row {
    margin-top: 20px;
}

section {
    padding: 80px 0;
}

section.main-content {
    padding: 40px 0;
}

.section-header {
    text-align: center;
}

section h2 {
    margin: 20px 0 40px;
}

section h3 {
    margin: 30px 0 10px;
}

#primary {
    padding-top: 40px;
    padding-bottom: 40px;
}

.feature-image {
    display: table;
    width: 100%;
}

.feature-image-default {
    background: url('../img/stuff-feature.jpg') no-repeat;
    background-size: cover;
}

.feature-image-default-alt {
    background: url('../img/hipster-stuff.jpg') no-repeat;
    background-size: cover;
}

.feature-image h1 {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#optin {
    background: #3e4249;
    padding: 20px 0;
    color: white;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    font-size: 1.2em;
}

#optin p {
    margin: 7px 0 0 0;
}

#who-benefits {
    background-color: white;
}

#login {
    text-align: center;
}

#klassenschueler {
    text-align: left;
}

#zensuren {
    text-align: left;
}

#login .jumbotron {
    color: black;
}

#hilfe {
    text-align: left;
}

#hints {
    text-align: center;
}

#course-features {
    color: white;
    text-align: center;
}

#featurette {
    background: url('../img/stuff-bg.jpg') 50% 100% repeat fixed;
    background-size: cover;
    text-align: center;
    color: white;
}

#instructor {
    background: white url('../img/brad-elvis.png') 90% -10px no-repeat;
}

#instructor h2 {
    margin: 0 0 20px;
}

#instructor .num {
    display: table;
    font-size: 30px;
    font-weight: bold;
    color: white;
    line-height: 24px;
    height: 140px;
    width: 140px;
    text-align: center;
    background: #dd5638;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
}

#instructor .num .num-content {
    display: table-cell;
    vertical-align: middle;
}

#instructor .num span {
    display: block;
    font-size: 20px;
    font-weight: normal;
}

#kudos {
    text-align: center;
}

.testimonial {
    margin-bottom: 60px;
}

.testimonial img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

#signup {
    text-align: center;
    background: url('../img/hipster-stuff.jpg') center center repeat fixed;
    background-size: cover;
    color: white;
    padding: 140px 0;
}

#signup h2 {
    font-weight: normal;
}

#signup h2 strong {
    border-bottom: solid 2px #dd5638;
}

#signup .btn {
    font-size: 24px;
}

footer {
    background: #3e4249;
    color: white;
    padding: 20px 0 10px;
    font-size: 12px;
}

footer p {
    margin: 0;
}

footer a:link,
footer a:visited {
    color: white;
}

footer a:hover {
    color: #dd5638;
}

footer li.signup-link a {
    color: #dd5638;
}

footer li.signup-link a:hover {
    font-weight: bold;
}


/* === BLOG=== */

.post,
.widget,
#comments {
    position: relative;
    border: solid 1px #ddd;
    background: white;
    margin: 0 0 40px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.post-header,
.post .post-excerpt,
.post .post-body,
#comments .comments-wrap {
    padding: 20px;
}

.post header h1,
.post header h3 {
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: solid 1px #ddd;
}

.post header h1 {
    font-size: 24px;
}

.post-image {
    height: auto;
    padding: 0 20px;
}

.post-details {
    font-size: 12px;
    width: 90%;
}

.post-details i.fa {
    padding-left: 10px;
}

.post-details i.fa:first-child {
    padding: 0;
}


/* === WIDGETS=== */

.widget {
    padding: 20px;
}

.widget h4 {
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: solid 1px #ddd;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    margin: 0 0 5px;
}

.widget ul li:hover {
    position: relative;
    left: 1px;
}


/* === COMMENTS=== */

.post-comments-badge {
    height: 70px;
    width: 70px;
    position: absolute;
    top: 25px;
    right: 20px;
    border: none;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
    background: #79b044;
    text-align: center;
    display: table;
}

.post-comments-badge a {
    display: table-cell;
    vertical-align: middle;
    color: white;
    font-size: 20px;
    line-height: 20px;
}

.post-comments-badge i.fa {
    display: block;
    font-size: 15px;
    padding: 0;
    margin-bottom: 4px;
}

.post-comments-badge:hover {
    background-color: #8bc653;
}

#comments h3 {
    text-align: center;
}

#comments h4 {
    font-size: 1.3em;
}

#comments ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

#comments ol li {
    background: rgba(0, 0, 0, .02);
    padding: 10px 20px;
    margin: 10px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: solid 1px rgba(0, 0, 0, 0.03);
}

#comments ol li ol.children {
    padding: 0;
    list-style: none;
    font-size: 0.96em;
}

#leave-comment {
    margin: 40px 0 0;
    padding: 20px 0 0;
    border-top: solid 1px #eee;
}


/* === RESOURCES=== */

.resource {
    width: 31.33333333%;
    float: left;
    margin: 0 3% 40px 0;
}

.resource:nth-child(3n) {
    margin-right: 0;
}


/* === CUSTOM ICON SPRITES=== */

i.ci {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: url('../img/icon-sprite.png') no-repeat;
}

.ci.ci-computer {
    background-position: 0 0;
}

.ci.ci-watch {
    background-position: -40px 0;
}

.ci.ci-calendar {
    background-position: -80px 0;
}

.ci.ci-community {
    background-position: -120px 0;
}

.ci.ci-instructor {
    background-position: -160px 0;
}

.ci.ci-device {
    background-position: -200px 0;
}


/* === FORMS=== */

label {
    display: block;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 2px;
    line-height: 1.05em;
    font-size: 0.8em;
    font-style: normal;
}

input[type="submit"],
button[type="sumbit"] {
    display: inline-block;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.33;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

input[type="submit"]:hover,
button[type="sumbit"]:hover {
    outline: none;
    border: none;
    background: #aaa;
}

table.optable {
    text-align: left;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    xbackground-color: #252a30;
}

.table-striped>tbody>tr:nth-of-type(even) {
    xbackground-color: #2f353b;
}


/* === TABLES === */

.table>tbody>tr.active>td,
.table>tbody>tr.active>th,
.table>tbody>tr>td.active,
.table>tbody>tr>th.active,
.table>tfoot>tr.active>td,
.table>tfoot>tr.active>th,
.table>tfoot>tr>td.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>thead>tr.active>th,
.table>thead>tr>td.active,
.table>thead>tr>th.active {
    background-color: orangered;
    color: white;
}

.gs-danger {
    background-color: orangered;
    color: orangered;
}

.gs-success {
    background-color: green;
    color: green;
}

td.tbbewertung {
    text-align: center;
    padding-left: 1em;
}

span.radio-inline {
    /* background: red; */
}

.radio-inline {
    position: relative;
    display: inline-block;
    padding-left: 1px;
    margin-bottom: 0;
    font-weight: normal;
    vertical-align: middle;
    cursor: pointer;
}

.radio-inline input[type=radio] {
    display: none!important;
    /* position: absolut; */
    /* left: -9999px; */
}

label.lbradiovalues {
    display: block-inline;
    padding-left: 20px;
    /* background: greenyellow; */
    position: relative;
    font-weight: normal;
}

label.lbradiovalues:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 3px;
    width: 17px;
    height: 17px;
    border: gray 2px solid;
    border-radius: 50%;
}

input[type=radio]:checked+label.lbradiovalues:before {
    border: black 2px solid;
}

span.radio-inline input[type="radio"]:checked+label:after {
    opacity: 1;
    transform: scale(1);
}

span.radio-inline input[type="radio"]+label:after {
    content: '';
    background: black;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    position: absolute;
    top: 7px;
    left: 4px;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.3s linear, opacity 0.3s linear;
}

label.lbradiotendenz {
    display: table;
    padding-left: 22px;
    /* background: greenyellow; */
    position: relative;
    font-weight: normal;
    width: 12px;
    margin-left: 2px;
}

label.negativ:before,
label.positiv:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 1em;
    display: table-cell;
    border: gray 2px solid;
}

label.neutral:before {
    content: "";
    position: absolute;
    left: 0px;
    top: 4px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-size: 1em;
    display: table-cell;
    border: gray 2px solid;
}

label.negativ:before {
    /* content: "⮟"; */
    font-family: "FontAwesome";
    content: "\f103";
    color: gray;
    font-size: 1.33em;
    line-height: 0.98em;
}

label.neutral:before {
    content: "";
    border: gray 2px solid;
}

label.positiv:before {
    /* content: "⮝"; */
    font-family: "FontAwesome";
    content: "\f102";
    color: gray;
    font-size: 1.35em;
    line-height: 0.8em;
}

input[type=radio]:checked+label.negativ:before {
    border: red 2px solid;
}

input[type=radio]:checked+label.neutral:before {
    border: #2f353b 2px solid;
}

input[type=radio]:checked+label.positiv:before {
    border: green 2px solid;
}

span.radio-inline input[type="radio"]:checked+label.negativ:after,
span.radio-inline input[type="radio"]:checked+label.neutral:after,
span.radio-inline input[type="radio"]:checked+label.positiv:after {
    opacity: 1;
    transform: scale(1);
}

span.radio-inline input[type="radio"]+label.positiv:after {
    /* content: "⮝"; */
    font-family: "FontAwesome";
    content: "\f102";
    color: green;
    background: transparent;
    width: 18px;
    height: 18px;
    position: absolute;
    top: 5px;
    left: 2px;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.3s linear, opacity 0.3s linear;
    font-size: 1.35em;
    line-height: 0.8em;
}

span.radio-inline input[type="radio"]+label.neutral:after {
    /* content: '✖'; */
    font-family: "FontAwesome";
    content: "\f0dc";
    background: transparent;
    color: black;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 0px;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.3s linear, opacity 0.3s linear;
}

span.radio-inline input[type="radio"]+label.negativ:after {
    font-family: "FontAwesome";
    content: "\f103";
    /* content: "⮟"; */
    color: red;
    background: transparent;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 2px;
    opacity: 0;
    transform: scale(2);
    transition: transform 0.3s linear, opacity 0.3s linear;
    font-size: 1.33em;
    line-height: 0.98em;
}

span.tendenz {
    display: inline-block;
    margin-left: 1.5em;
}

.radio-inline+.radio-inline {
    margin-top: 0;
    margin-left: 4px;
}


/* === MEDIA QUERIES=== */

@media screen and ( max-width: 991px) {
    #instructor {
        padding: 0;
    }
    #instructor .container {
        background: rgba(255, 255, 255, 0.8);
        padding: 100px 20px;
    }
    span.tendenz {
        display: block;
        margin-left: 0em;
    }
}

@media screen and ( max-width: 768px) {
    .logo {
        width: 50%;
    }
    #optin p {
        margin: 0 0 10px;
    }
    #featurette iframe {
        height: 240px;
    }
    .resource {
        width: 48%;
        margin-right: 2%;
        min-height: 800px;
    }
    span.tendenz {
        display: block;
        margin-left: 0em;
    }
}

@media screen and ( max-width: 568px) {
    #instructor .num {
        height: 100px;
        width: 100px;
        font-size: 22px;
    }
    #instructor .num span {
        font-size: 16px;
    }
    .resource {
        width: 100%;
        margin-right: 0;
        min-height: 0;
    }
    span.tendenz {
        display: block;
        margin-left: 0em;
    }
}