.mo_clear {
    clear: both;
}

#header_logo_wrapper {
    text-align: center;
}

/* Progress bar (navbar) */
.ui-navbar li .ui-btn .ui-btn-inner {
	padding-right: 1px;
	padding-left: 1px;
	padding-top: 2px;
	padding-bottom: 2px;
	white-space: normal;
	height: 2.5em;
}

#progress_bar {
	margin-left: -16px;
	margin-right: -16px;
	margin-top: -16px;
	margin-bottom: 16px;
	max-width: 200%;
}

.disabled_but_visible {
	cursor: default !important;
	pointer-events: none;
}

.appendix {
	font-size: 10px;
	text-align: center;
}

/* mo_booknow.cpy */

/* for use_families=1 */
#person_select .ui-controlgroup-controls {
    width: 100%;
}
#person_select .ui-radio {
    width: 50%;
}

@media all and (min-width: 450px) {
    .ui-field-contain .ui-input-datebox {
        width: 74%;
    }

    #person_select .ui-controlgroup-controls,
    #booknow_form + div.ui-btn {
        width: 78%;
        float: right;
    }
}

/* book now submit button */
#booknow_form + div.ui-btn {
    margin-top: 2em;
}

#nights_container {
    width: 75%;
    display: inline-block;
}

#booknow_hostelinfobox {
    display: none;
}

@media all and (min-width: 45.5em) {
    #booknow_hostelinfobox {
        display: block;
        float: right;
        width: 19em;
    }
    #booknow_hostelinfobox ul.overview_list {
        margin-top: 0;
    }
    #booknow_mainbox {
        margin-right: 20em;
    }
    #booknow_mainbox .ui-body {
        clear: none;
    }
}

/* mo_articles.cpy */
.appearing_button {
	text-align: right;
}

table.normal_table {
    #display: block;
    font-size: 12px;
    font-weight: normal;
	width: 100%;
}

.normal_table td {
	padding-right: 0px;
	vertical-align: top;
}

td.last_cell {
	padding-right: 0;
}

.thin_table td {
	padding-right: 10px;
}

.table_header {
	font-weight: bold;
}

.table_header td {
	padding-bottom: 4px;
}

td.small {
	font-size: 11px;
}

span.regular {
	color: #009900;
}
span.changed {
	color: #FF0000;
}

p.more_information {
	padding-top: 0.7em;
}

td.next_to_select {
    vertical-align: middle;
}

/* If there's a wrong input, it's label will be red
 * Currently not used
 */

label.wrong {
	color: #FF0000;
	font-weight: bold;
}

/* mo_artinfo.php */

.artheader {
	font-size: 18px;
}

.artdesc {
	font-size: 14px;
}
.articleDescTerms { display: none; } /* Hide by default */

/* mo_bookpos.cpy */

#promo_desc_popup p {
    white-space: normal;
}

#promo_desc_popup .popup_header,
#subtotal {
    font-weight: bold;
}

.promo_button {
    text-align: right;
}

.promo_input {
    text-align: center;
}

.ui-popup .ui-title {
    margin: 0.5em 1em;
}
.ui-popup {
    margin-right: 14px;
}

#enter_promo_form {
    padding: 0 1em;
}

.overview_list li h3, .overview_list li p {
	white-space: normal;
}

.overview_list li table {
	margin-left: -1px;
}

.overview_list li .ui-li-desc {
	margin-top: 0;
	margin-bottom: 0;
}

.overview_list .normal_table {
	margin-top: 0.3em;
}

@media all and (min-width: 45.5em) {
    .bookpos_mainbox {
        min-width: 25em;
        margin-right: 20em;
    }
    .bookpos_mainbox ul.overview_list {
        float: left;
        width: 100%;
    }
    #bookpos_terms {
        margin-bottom: 0;
    }
    #bookpos_terms,
    #bookpos_houseinfo {
        clear: right;
        float: right;
        width: 19em;
    }
}

/* mo_personal_data.cpy */

.login_button {
    float: right;
    height: 22px;
    width: 69px;
    margin-top: 6px;
}

#savefacebook_wrap {
    margin-bottom: 1.5em;
}

.explanation {
	text-align: right;
	font-style: italic;
	font-size: 12px;
}

/* TODO: Maybe nicer solution without hard-coded colour in order to make it more customizable */
.termspay {
    background: none repeat scroll 0 0 #E6E6E6;
    border: 1px dotted #AAAAAA;
	padding-left: 4px;
	padding-right: 4px;
	padding-bottom: 1px;
	font-size: 13px;
}

.paydetails {
	margin: auto;
	margin-top: 1em;
	position: relative;
	width: 90%;
}

#extrainfo2_wrap {
	margin: 1em 0;
}

#terms_accepted_wrap {
	margin-top: 1.5em;
}

/* mo_booking.cpy */

h2, h4 {
	text-align: center;
}

#applied_terms {
	font-size: 11px;
}

.box {
    font-size: 14px;
    font-weight: bold;
	display: block;
	padding: 0.7em 15px;
    margin-top: 1em;
	margin-bottom: 1em;
    overflow: visible;
    position: relative;
    text-align: left;
	border-bottom-width: 1px;
    border-left-width: 1px;
    border-right-width: 1px;
    border-bottom-left-radius: 0.6em;
    border-bottom-right-radius: 0.6em;
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;
}

.info_box {
	background: #94fe76;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #a2FF81 ), to( #85e46a )); /* Saf4 , Chrome */
	background-image: -webkit-linear-gradient( #a2FF81, #85e46a); /* Chrome 10 , Saf5.1  */
	background-image:    -moz-linear-gradient( #a2FF81, #85e46a ); /* FF3.6 */
	background-image:     -ms-linear-gradient( #a2FF81, #85e46a ); /* IE10 */
	background-image:      -o-linear-gradient( #a2FF81, #85e46a ); /* Opera 11.10  */
	background-image:         linear-gradient( #a2FF81, #85e46a );
    border: 1px solid #518B40;
    color: #000000;
    text-shadow: 0 1px 0 #EEEEEE;
}

.error_box {
	background: #f75e55;
	background-image: -webkit-gradient(linear, left top, left bottom, from( #FF675d ), to( #de544c )); /* Saf4 , Chrome */
	background-image: -webkit-linear-gradient( #FF675d, #de544c ); /* Chrome 10 , Saf5.1  */
	background-image:    -moz-linear-gradient( #FF675d, #de544c ); /* FF3.6 */
	background-image:     -ms-linear-gradient( #FF675d, #de544c ); /* IE10 */
	background-image:      -o-linear-gradient( #FF675d, #de544c ); /* Opera 11.10  */
	background-image:         linear-gradient( #FF675d, #de544c );
    border: 1px solid #87332E;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #444444;
}

.article-row.article-disabled {
    display: none;
}