/* 
  Datei: 		layout.css
  Projekt: 	Hansapark-Feedback-App
  Autor:		Jörg Harling
*/

/************************************************/
/*							Farbdefinitionen								*/
/************************************************/

/*
	HP-Rot: #7B2331 -> 7B2331
	Hellbeige/Text auf Rot: #DCBD92 -> FFFFFF
	Dunkles Braun: #33190C -> 
	Grün (Auszeichnung): #127D4E -> 31485C

*/

/************************************************/
/*		Seitenaufbau							*/
/************************************************/

/****** Allgemeine Anpassungen / reset ********/

html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

#content:after {
    display: block;
    clear: both;
    content: '';
}

h1, h2, h3, h4, h5, h6, figure {
    margin: 0;
    padding: 0;
}

a {
    color: #7B2331;
}

#content figure.mainpic img {
    width: 100%;
    height: auto;
}

.mainborder {
    border: 3px solid #7B2331;
}

.textleft {
    text-align: left;
}

.textright {
    text-align: right;
}

.leftpad2 {
    padding-left: 2%;
}

.rightpad2 {
    padding-right: 2%;
}

.margb20 {
    margin-bottom: 20px;
}

.smallmargb {
    margin-bottom: 10px
}

.smallmargt {
    margin-top: 10px
}

.versal {
    text-transform: uppercase;
}

.white {
    color: #fff;
}

.w50 {
    width: 50%;
    float: left;
}

.w33 {
    width: 33%;
    float: left;
}

.w100 {
    width: 100%;
    float: none;
}

strong {
    font-weight: 700;
}

.bgrot {
    background: #7B2331;
    color: #ffffff;
    padding: 15px;
}

#content .mainevent figure img {
    border: 3px solid #7B2331;
}

.borderbox {
    border: 3px solid #7B2331;
    padding: 15px;
}

.floatright {
    float: right;
    margin: 0 0 15px 15px;
}

.block {
    display: block;
}

.textcenter {
    text-align: center;
}

.\!text-center {
    text-align: center !important;
}

.text-justify {
    text-align: justify;
}

.\!text-justify {
    text-align: justify !important;
}

.\!hidden {
	display: none !important;
}

/**************************************/

body {
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
    font-weight: 400;
    margin: 0;
    background: #7B2331;
}

#wrapper {
    width: 100%;
    padding: 10px;
    position: relative;
}

#main header {
    height: 65px;
    background: url(../bitmaps/paper_texture_top.png) no-repeat top left;
    background-size: 100% auto;
    margin: 0;
    padding: 0;
}

#main #content {
    color: #392F20;
    font-size: 15px;
    min-height: 115px;
    background: url(../bitmaps/paper_texture_mid.png) repeat-y top left;
    background-size: 100% auto;
    padding: 20px 20px 10px 20px;
    margin-top: 0px;
    text-align: center;
}

#content .inside {
    margin-top: -35px;
}

#main footer {
    height: 64px;
    background: url(../bitmaps/paper_texture_bot.png) no-repeat top left;
    background-size: 100% auto;
    margin: 0;
    padding: 0;
}

#logo {
    text-align: center;
    margin: 10px 0 15px 0;
    padding: 0;
    display: block;
}

#logo a {
    display: inline-block;
}

.landing #logo {
    display: none;
}

.landing #wrapper {
    background: url(../bitmaps/bg_landing_top.png) top left no-repeat;
    background-size: 100% 154px;
    padding-top: 330px;
}

.landing-title {
    padding-top: 17px;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
    display: block;
    margin-top: -415px;
    margin-bottom: 100px;
}

.landing-title #hplogo {
    margin: 0 auto 90px auto;
}

.landing-title a {
    display: block;
}

#fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    /*display:none;*/
}

#legal_links {
    margin-bottom: 4em;
    margin-top: 1em;
}

#legal_links ul {
    color: inherit;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: 0;
    padding-left: 0;
}

#legal_links ul li {
    list-style: none;
    margin-right: 4px;
    padding-right: 4px;
}

#legal_links ul li:not(:last-child) {
    border-right: 1px solid #ffffff;
}

#legal_links ul li a {
    color: #ffffff;
    padding: 4px;
    display: inline-block;
}

.divider {
    width: 100%;
    box-sizing: content-box;
    margin-left: -40px;
    background: url(../bitmaps/rough_line.svg?v=1) repeat-x center left;
    display: block;
    height: 40px;
    padding: 0 70px 0 0;
}

.popup_info {
    color: #392F20;
    background: #F0EBE5;
    padding: 20px;
    position: fixed;
    text-align: center;
    width: 100%;
    z-index: 10;
    opacity: 0.9;
    font-size: 15px;
    top: 0;
    height: 100%;
    overflow: scroll;
    display: none;
}

.popup_info {
    display: block;
    width: 100%;
    left: 0;
    opacity: 0;
}

.invisible {
    visibility: hidden;
}

.hidden {
    display: none;
}

.popup_info .closebtn {
    position: absolute;
    z-index: 11;
    top: 20px;
    right: 15px;
    width: 25px;
    height: 25px;
    background: url(../bitmaps/btn_close.svg?v=1) no-repeat center center;
}

.popup_info a {
    color: #392F20;
}

a.fbbox {
    background: #7B2331;
    color: #FFFFFF;
    padding: 8px;
    text-align: left;
    position: relative;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    min-height: 98px;
}

a.fbbox.reply {
    background: #127D4E
}

.fbpic {
    position: absolute;
    left: 8px;
    top: 8px;
}

span.fbtext {
    padding-left: 90px;
    display: block;
    line-height: 18px;
}

.fbtext span.time {
    display: block;
    margin-bottom: 5px;
}

span.status-icon {
    position: absolute;
    display: block;
    right: 8px;
    bottom: 8px;
    width: 22px;
    height: 22px;
}

span.status-icon.open {
    background: url(../bitmaps/message_open.svg) no-repeat bottom right;
}

span.status-icon.closed {
    background: url(../bitmaps/message.svg) no-repeat bottom right;
}

span.status-icon.waiting {
    background: url(../bitmaps/hourglass.svg?v=1) no-repeat bottom right;
}

.loading {
    min-height: 25px;
    background-image: url(../bitmaps/loader.gif);
    background-position: center center;
    background-repeat: no-repeat;
}

.radiobox span {
    display: block;
    margin-bottom: 5px;
}

.datenschutz p,
.datenschutz ul {
    text-align: left;
}

.prose p, .prose ul{
    text-align: left;
}

/****** JQuery-Anpassung *********/

.ui-autocomplete {
    background: #ece3d4 !important;
}

/********************************/

/************************************************/
/*					Chatbox 					*/
/************************************************/

.chatbox1 {
    border: 2px solid #31485C;
    padding: 12px 15px;
    font-weight: 600;
    color: #31485C;
    text-align: left;
    margin-left: 41px;
    position: relative;
}

.chatbox1 span.avataricon {
    position: absolute;
    left: -41px;
    top: 0;
    background: url(../bitmaps/avatar_icon1.png) top left no-repeat;
    width: 41px;
    height: 28px;
    z-index: 1;
    display: inline-block;
}

.chatbox2 {
    border: 2px solid #7B2331;
    padding: 12px 15px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    margin-right: 39px;
    background: #7B2331;
    position: relative;
}

.chatbox2 span.avataricon {
    position: absolute;
    right: -39px;
    top: 0;
    background: url(../bitmaps/avatar_icon2.png) top left no-repeat;
    width: 39px;
    height: 28px;
    z-index: 1;
    display: inline-block;
}

a.more {
    padding: 6px 10px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    display: block;
    margin-top: 15px;
    width: 100%;
    font-size: 15px;
    background: url(../bitmaps/arrow_smalllright.svg?v=1) center right no-repeat #7B2331;
    text-decoration: none;
}

a.more.less {
    background: url(../bitmaps/arrow_smalllright2.svg?v=1) center right no-repeat #7B2331;
}

a.textlink {
    font-weight: 700;
    text-decoration: underline;
    color: #31485C;
}

.chattitle {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.chattime {
    font-size: 14px;
}

/************************************************/
/*								Listen 												*/
/************************************************/

ul.fb_buttons {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.fb_buttons li {
    display: inline-block;
    text-align: center;
    width: 30%;
    margin: 0;
    padding: 0;
}

ul.fb_buttons li.mid {
    margin: 0 3%;
}

ul.fb_buttons label input {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    position: absolute;
}

ul.fb_buttons a, ul.fb_buttons label span {
    display: inline-block;
    background: #127D4E;
    -webkit-box-shadow: inset 0 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 45px 0 10px 0;
    width: 100%;
    max-width: 140px;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}

ul.fb_buttons a.positive, ul.fb_buttons .positive span {
    background: url(../bitmaps/thumb_up.svg) no-repeat #D5C6B4;
    background-position: center 10px;
    color: #127D4E;
}

ul.fb_buttons a.negative, ul.fb_buttons .negative span {
    background: url(../bitmaps/thumb_down.svg) no-repeat #D5C6B4;
    background-position: center 10px;
    color: #990000;
}

ul.fb_buttons a.advice, ul.fb_buttons .advice span {
    background: url(../bitmaps/advice.svg) no-repeat #D5C6B4;
    background-position: center 10px;
    color: #483024;
}

ul.fb_buttons a.positive.selected, ul.fb_buttons .positive input:checked ~ span {
    background: url(../bitmaps/thumb_up_sel.svg?v=1) no-repeat #127D4E;
    background-position: center 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #FFFFFF;
}

ul.fb_buttons a.negative.selected, ul.fb_buttons .negative input:checked ~ span {
    background: url(../bitmaps/thumb_down_sel.svg?v=1) no-repeat #990000;
    background-position: center 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #FFFFFF;
}

ul.fb_buttons a.advice.selected, ul.fb_buttons .advice input:checked ~ span {
    background: url(../bitmaps/advice_sel.svg?v=1) no-repeat #483024;
    background-position: center 10px;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #FFFFFF;
}

ul.fb_buttons input:focus ~ span {
    outline: 1px auto;
}

.errorBox {
    width: 100%;
    height: auto;
    padding: 60px 20px 20px 20px;
    min-height: 60px;
    color: #fff;
    text-align: center;
    margin: 15px 0;
    background: url("../bitmaps/admin/warning.svg") no-repeat top center #be0000;
    -webkit-box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0px 4px 0px rgba(0, 0, 0, 0.3);
    list-style-type: none;
}

.error {
    color: #be0000;
    font-weight: 700;
}

input.error, textarea.error, select.error {
    border: 2px solid #be0000;
}

/************************************************/
/*					Typostyling 				*/
/************************************************/

h1, #main .h1 {
    font-family: 'Lora', Georgia, Times, serif;
    color: #7B2331;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 15px;
}

.landing-title h1 {
    color: #ffffff !important;
    font-size: 29px;
    margin-top: 8px;
    letter-spacing: 1px;
}

#main #content h1:not(.hell), #main #content h2:not(.hell), #main #content h3:not(.hell), #main #content h4:not(.hell) { color: #392F20; }

h2, span.speztitle, #main .h2 {
    font-family: 'Lora', Georgia, Times, serif;
    color: #7B2331;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h3, #main .h3 {
    font-family: 'Lora', Georgia, Times, serif;
    color: #7B2331;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 22px;
    text-transform: none;
}

h3.headpad {
    display: block;
    padding: 0 15px;
}

h3.hell {
    color: #FFFFFF;
    font-family: 'Lora', Georgia, Times, serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

#main #content .fbbox h3 {
    text-transform: uppercase;
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid #FFFFFF;
    font-size: 18px;
    margin-bottom: 5px;
    color: #FFFFFF;
    word-break: break-word;
}
.mainevent h2 {
    background: #7B2331;
    color: #FFFFFF;
    border: 3px solid #7B2331;
    margin-bottom: 0;
}

.subtitle {
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    margin-top: -10px;
}

.underline {
    text-decoration: underline;
}

.strong {
    font-weight: 700;
}

.break-word {
    word-break: break-word;
}

#fixed-footer a.fblink {
    width: 100%;
    background: url(../bitmaps/btn_home_smallleft.svg?v=1) left center no-repeat #31485C;
    font-size: 16px;
    color: #FFFFFF;
    padding: 12px 15px 10px 40px;
    font-weight: 800;
    display: block;
    text-decoration: none;
    line-height: 1.5;
}


/************************************************/
/*									Formulare										*/
/************************************************/

input, textarea, select {
    background: #D5C6B4;
    border: 0;
    padding: 12px 10px;
    width: 100%;
    -webkit-box-shadow: inset 0 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 1px 2px rgba(0, 0, 0, 0.2);
    margin: 5px 0;
    font-size: 15px;
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
}

input[type="checkbox"], input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 5px 0 0;
    vertical-align: bottom;
}

textarea {
    font-family: 'Open Sans', Verdana, Geneva, sans-serif;
    min-height: 120px;
}

textarea.positive {
    border: 2px solid #127D4E;
}

textarea.negative {
    border: 2px solid #7B2331;
}

textarea.advice {
    border: 2px solid #483024;
}

a.button, input.button, button {
    font-size: 17px;
    color: #FFFFFF;
    padding: 12px 60px 12px 20px;
    font-weight: 800;
    display: block;
    cursor: pointer;
    text-align: left;
    line-height: 20px;
    white-space: pre-line;
    text-decoration: none;
    border: none;
    word-break: break-word;
}

input.button.feedback {
    background: url(../bitmaps/btn_shoutout.svg?v=1) right center no-repeat #7B2331;
}

input.button.search, button.search {
    width: 100%;
    background: url(../bitmaps/btn_search.svg?v=1) right center no-repeat #7B2331;
}

.bgrot input.button.search, .bgrot button.search {
    border: 1px solid #ffffff;
}

input.button.thumb_up {
    background: url(../bitmaps/btn_thumb_up.svg?v=1) right center no-repeat #7B2331;
}

input.button.arrow {
    background: url(../bitmaps/btn_arrow.svg?v=1) right center no-repeat #7B2331;
}

a.button.register, input.button.register {
    background: url(../bitmaps/btn_register.svg?v=1) right center no-repeat #7B2331;
}

a.button.register {
    margin-left: 15px;
    margin-right: 15px;
}

input.button.home {
    background: url(../bitmaps/btn_home.svg?v=1) right center no-repeat #7B2331;
}

/* Anti-SPAM-Feld */
input.important-field {
    display: none;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

fieldset legend.invisible {
    position: absolute;
    visibility: hidden;
}

/************************************************/
/*							Media-Queries										*/
/************************************************/

@media handheld, only screen and (min-width: 320px) and (max-width: 480px) {

    .wordstep {
        margin-left: 22px;
    }

    .ss-w100 {
        width: 100%;
    }
}

@media handheld, only screen and (min-width: 480px) and (max-width: 1024px) {

    #main header {
        background: url(../bitmaps/paper_texture_top_tablet.png) no-repeat top left;
        background-size: 100% 100%;
    }

    #main #content {
        background: url(../bitmaps/paper_texture_mid_tablet.png) repeat-y top left;
        background-size: 100% auto;
        padding-top: 0;
    }

    #main #content {
        padding: 20px 35px;
    }

    #content .inside {
        margin-top: -15px;
    }

    #main footer {
        height: 85px;
        background: url(../bitmaps/paper_texture_bot_tablet.png) no-repeat top left;
        background-size: 100% auto;
    }

    input.button, input.email {
        max-width: 65%;
        margin: 0 auto;
    }

}

@media handheld, only screen and (width: 1024px) {

    #content .inside {
        margin-top: 0px;
    }

    #main footer {
        height: 115px;
    }

}
