/* Index
----------------------------------------------
    1. Reset
    2. Typography
    3. Forms
    4. Module Specific Styles
    5. Errors
*/

/* 1. Reset
----------------------------------------------*/

* {
    margin: 0;
    padding: 0;
}

form, fieldset, img {
    border: 0;
}

/* tables still need 'cellspacing="0"' in the markup */

table {
    border-spacing: 0;
}

table th, table td {
    vertical-align: top;
}

blockquote {
    padding: 0 40px;
    border-style: solid;
    border-color: #ee2e24;
    border-width: 1px 0;
    margin: 20px 0;
    color: #ee2e24;
    font-style: italic;
    font-size: 14px;
}

/* remember to define focus styles! */

:focus {
    outline: 0;
}

hr {
    height: 1px;
    border: 0;
    border-bottom: 1px solid #DDD;
}

.clearfix:after {
    clear: both;
    display: block;
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    content: "";
}

.clearfix {
    display: inline-block;
}

* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* 2. Typography
----------------------------------------------*/

body {
    padding: 20px;
    color: #333;
    font: normal 0.6886em/1.5em "Open Sans",Arial,Helvetica,sans-serif;
    /* for more information on font stacks please visit - http://articles.sitepoint.com/article/eight-definitive-font-stacks *//* for more information on css typeset please visit - http://www.jan-quickels.de/tools-web-typography/ */
}

html>body {
    font-size: 13px;
}

/* --- links */

a {
    color: #ee2e24;
    text-decoration: none;
}

a:hover {
    color: #ee2e24;
    text-decoration: underline;
}

/* --- paragraph */

p {
    margin: 1em 0;
    font-size: 1em;
    line-height: 1.5em;
}

/* --- lists */

ul {
    margin: 0;
    padding: 6px 15px 12px 35px;
}

ol {
    padding: 6px 15px 12px 35px;
}

ul li {
    list-style: url(images/reisa-dotpoint.png);
    padding: 3px 0 0 2px;
}

li ul li {
    list-style: disc;
    list-style-image: none;
}

li li ul li {
    list-style: circle;
}

li li li ul li {
    list-style: square;
}

li li li li ul li {
    list-style: lower-roman;
}

li li li li li ul li {
    list-style: disc;
}

ol li {
    list-style: decimal;
    padding: 3px 0;
}

/* --- headings */

h1 {
    margin: 0 0 16px;
    font-size: 27px;
    line-height: 37px;
    font-weight: bold;
    color: #ee2e24;
}

h2, h3, h4, h5, h6 {
    margin: 5px 0 10px;
    font-weight: bold;
}

h2 {
    font-size: 23px;
    line-height: 30px;
    color: #ee2e24;
}

h3 {
    font-size: 18px;
    line-height: 23px;
    color: #333;
}

h4 {
    font-size: 14px;
    line-height: 20px;
    color: #333;
}

h5 {
    font-size: 12px;
    line-height: 18px;
    color: #333;
}

h6 {
    font-size: 11px;
    line-height: 16px;
    color: #333;
}

/* --- tables */

.recordDetail table {
    border-color: #ccc;
}

table[border="1"] {
    border: 0;
}

table[border="0"], .recordDetail form table {
    background: none;
}

.recordDetail form table td {
    padding: 0;
}

table[border="1"] th {
    text-align: left;
    padding: 5px;
    background: #ee2e24;
    color: #fff;
    font-weight: bold;
    border: 1px solid #fff;
}

table[border="1"] td {
    text-align: left;
    padding: 5px;
    background: #f5f5f5;
    border: 1px solid #fff;
}

/* 3. Forms
----------------------------------------------*/

form ol, form ul {
    margin: 0;
    padding: 0;
}

form ol li {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

label {
    display: block;
}

label[for] {
    font-weight: bold;
}

legend {
    color: #333;
    *margin-left: -7px;
}

input {
    color: #777;
    font-size: 11px;
}

textarea {
    color: #777;
    font-size: 11px;
    font-family: "Lucida Grande",Arial,Helvetica,sans-serif;
}

.back_button, button, input[type="button"], input[type="submit"],
input[type="reset"] {
    padding: 3px 10px;
    border: 0;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
    filter: none !important;
}

.sbFormButtonsLeft .sbButton {
    float: left;
    margin: 0;
}

.sbFormButtonsLeft button[type="submit"] {
    margin: 0 10px 0 0 !important;
}

.sbFormButtonsRight button {
    float: right;
    margin: 0;
}

/* --- Inputs + Text Areas */

input, textarea, input.sbTextInputOff, input.sbTextInputOn,
input.input_smaller_off, input.input_smaller_on, input.input_small_off,
input.input_small_on, input.input_medium_off, input.input_medium_on,
input.input_large_off, input.input_large_on, textarea.textarea_small_off,
textarea.textarea_small_on, textarea.textarea_medium_off,
textarea.textarea_medium_on, textarea.textarea_large_off,
textarea.textarea_large_on, textarea.sbTextAreaLarge {
    padding: 6px 3px;
    border: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(240,240,240,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(240,240,240,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* IE10+ */
    background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(240,240,240,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f0f0f0',GradientType=0 ); /* IE6-9 */
    width: 100%;
}

input:focus, textarea:focus, input.sbTextInputOn, input.input_smaller_on,
input.input_small_on, input.input_medium_on, input.input_large_on,
textarea.textarea_small_on, textarea.textarea_medium_on,
textarea.textarea_large_on {
    border: 1px solid #999;
}

input.input_small_off, input.input_small_on {
    max-width: 200px;
}

.form input.input_small_off, .form input.input_small_on {
    width: auto !important;
}

textarea.sbTextAreaMedium, input.sbTextInputMedium, input.input_medium_off,
input.input_medium_on {
    max-width: 250px;
}

input.sbTextInputLarge, input.input_large_off, input.input_large_on {
    max-width: 350px;
}

textarea.textarea_small_off, textarea.textarea_small_on {
    max-width: 350px;
    height: 80px;
}

textarea.textarea_medium_off, textarea.textarea_medium_on {
    max-width: 350px;
    height: 90px;
}

textarea.sbTextAreaLarge, textarea.textarea_large_off,
textarea.textarea_large_on {
    max-width: 350px;
    height: 100px;
}

table#form_info_buttons {
    max-width: 360px !important;
}

input[type="checkbox"], input[type="radio"], input[type="image"] {
    width: auto !important;
    background: none;
    border: 0;
    padding: 0;
}

/* 4. Module Specific Styles
----------------------------------------------*/

/* Display in alphabetical order */

/* --- Abstracts */

#add_paper_button {
    margin: 0;
}

.abstractsSection #mainBar .border {
    text-align: left !important;
}

.abstractsSection #mainBar h2 {
    margin: 0 0 .5em !important;
}

.speaker_signup_div label, .login_form_div label {
    display: block;
    margin: 3px 0;
}

.form {
    margin: 0 0 20px 0;
}

.form th {
    vertical-align: top;
    padding: 3px 0;
}

.form td {
    padding: 3px 0;
}

.form td.file_upload_td {
    width: 100%;
    max-width: 300px;
}

.form ul.resetAll {
    padding: 0 0 10px;
}

.form ul.resetAll li {
    list-style: none !important;
    background: none !important;
}

.form tr div div img {
    margin: 0 5px;
}

.abstract_papers_table td, .abstract_papers_table th {
    padding: 3px 5px;
    border: 1px solid #ccc;
}

/* --- Contacts + Regisration */

#info_form table font, form.signup_form table font {
    color: inherit;
}

form#passwordForm legend, #info_form .receive_email legend {
    display: none;
}

span.form form label, form.signup_form label, form#info_form label,
form#passwordForm label, form#forgotten_username_form label,
form#signup_form label, form#update-form label, div#password_form form th {
    text-align: left;
    display: block;
    margin: 3px 0;
}

#info_form span input, form.signup_form table font input,
#info_form table font label input, .receive_email span {
    margin: 0 3px;
}

#info_form fieldset img {
    margin: 0 0 5px 0;
}

form#signup_form fieldset {
    border: 0 !important;
}

form.signup_form table .select_large_off,
form.signup_form table .select_large_on {
    max-width: 200px;
}

form.signup_form .receive_email label span {
    margin: 0 5px;
}

div#password_form form td {
    display: block;
}

p#forgottenPassword {
    float: left;
    color: #fff;
    width: 45px;
    margin: 1em 0;
}

form#signup_form ol, form#update-form ol, form#forgotten_username_form ol,
form#passwordForm ol, .signup_form {
    margin: 15px 0;
}

.signup_form th {
    font-weight: normal;
    text-align: left;
    padding: 0 5px 0 0;
}

.signup_form td {
    padding: 3px 0;
}

.signup_form td input {
    margin: 0 3px 0 0;
}

#signup_form iframe, .signup_form iframe, #update-form iframe {
    width: 100%;
    max-width: 370px;
}

/* --- Conference */

#conference_form .submit {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
    border: 0;
}

#conference_form legend {
    display: none;
}

form#conference_form input {
    margin: 3px 0;
}

form#conference_form .conference_button_div input {
    margin: 0;
}

#conference_team_menu {
    list-style-type: none;
    margin: 15px 0 0 0 !important;
    padding: 0 !important;
}

#conference_team_menu li {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

#conference_team_menu li a {
    float: left;
    display: block;
    padding: 10px;
    color: #FFF;
    text-decoration: none;
    height: 15px;
    border-right: 1px solid #fff;
}

#conference_team_menu li a.tab_incomplete {
    background-color: #444;
}

#conference_team_menu li a.tab_complete {
    background-color: #EE2E24;
}

#conference_team_menu li a.tab_off {
}

#conference_team_menu li a.tab_on {
    background-color: #AB1F1B;
    font-weight: bold;
}

#conference_team_menu li a.link_disabled {
    background-color: #444;
}

#conference_team_menu li.conference_status_li {
    float: right;
    padding: 11px 0 0;
    font-size: 15px;
    color: #AB1F1B;
}

form#conference_form fieldset {
    margin: 0;
    clear: both;
    border-top: 1px solid #ddd;
    padding: 20px 10px;
}

form#conference_form fieldset.conference_user_border {
    border: 1px solid #ddd;
}

form#conference_form .adminlist td {
    border-color: #BFE7E7 !important;
}

ul.conference_contactmethod_readonly li {
    list-style: none;
    list-style-image: none;
}

.contact_info_note {
    margin: 0 0 10px;
}

.conference_contactmethod td {
    padding: 2px 0;
}

#field_block_UserInfo {
    line-height: 2.5em;
}

#field_block_UserInfo fieldset span input {
    margin: 0 8px 0 0;
}

#conference_form label {
    width: 200px;
    margin: 0;
    display: block;
    float: left;
    text-align: left;
    clear: both;
}

#conference_form #field_block_UserInfo fieldset {
    border: none;
    clear: right;
    margin: 2px 0;
    padding: 0;
}

#conference_form .interests {
    border: 0;
    margin: 0;
    padding: 0;
}

#conference_form th {
    text-align: left;
}

.session_preferences_table th, .session_preferences_table td {
    padding: 10px 0 !important;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.session_preferences_table th a {
    margin: 0 20px;
    padding: 2px 10px;
            border-radius: 3px;
       -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 12px;
    font-weight: normal;
    text-align: right !important;
    text-decoration: none !important;
}

.conference_conditions_div {
    margin: 0 0 15px;
}

.adminlist td {
    padding: 5px 0;
}

.inputSave, .inputContinue, .inputBack {
    display: block;
    padding: 2px 10px;
    margin: 10px 0;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.inputSave:hover, .inputContinue:hover, .inputBack:hover {
    background: #EE2E24;
    color: #fff;
}

.inputBack, .inputSave {
    float: left;
}

.inputBack {
    margin: 0 3px 0 0 !important;
}

.inputContinue {
    float: right;
}

/* --- Events */

#eventheading {
    border-bottom: 1px solid #EE2E24;
    margin: 0 10% 10px 0;
    padding: 0 0 4px;
}

#eventdetailleft {
    width: 40%;
    margin-right: 10%;
}

#eventdetailleft strong, #eventdetailright strong {
    display: block;
    color: #EE2E24;
}

#eventdetailright {
    width: 40%;
    margin-right: 10%;
}

#frontPageEvents {
    width: 95%;
}

#upcomingEvents {
    float: right;
    width: 170px;
    margin: 0 0 20px;
}

#upcomingEvents h3 {
    border-bottom: 1px solid #333;
    padding: 0 0 13px;
}

#upcomingEvents ul {
    margin: 20px 0 0;
    padding: 0;
}

#upcomingEvents ul li {
    margin: 0;
    padding: 0 0 20px;
    list-style: none;
    list-style-image: none;
    position: relative;
}

#upcomingEvents .eventslistitemright {
    width: 120px;
}

#upcomingEvents .eventslistitemright h3 {
    font-size: 13px;
}

ul.categoryList, ul.eventsList, ul.suitesList {
    margin: 0;
    padding: 0;
}

ul.categoryList li, ul.eventsList li, ul.suitesList li {
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    list-style-image: none;
}

ul.categoryList li img.eventListImage, ul.eventsList li img.eventListImage,
ul.suitesList li img.eventListImage {
    -moz-box-shadow: 0 3px 3px #DDDDDD;
    border: 1px solid #DDDDDD;
    float: left;
    margin: 5px 20px 5px 0;
    padding: 5px;
}

#eventSearch {
    margin: 1em 0 0 0;
}

button.SubmitButton, button.CancelButton, button.BackToEvent {
    float: left;
    display: block;
    padding: 2px 10px;
    margin: 10px 0;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

button.SubmitButton {
    margin: 10px 0 10px 5px;
}

button.SubmitButton:hover, button.CancelButton:hover, button.BackToEvent:hover {
    background: #EE2E24;
    color: #fff;
}

form.registrationForm br {
    display: none;
}

form.registrationForm legend {
    display: none;
}

form.registrationForm label {
    display: block;
    margin: 3px 0;
}

form.registrationForm .receive_email input {
    margin: 0 5px 0 0;
}

table.registrations_table i {
    color: #AB1F1B !important;
}

table.registrations_table {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}

table.registrations_table th, table.registrations_table td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    text-align: left;
}

table.registrations_table th {
    color: #fff;
}

table.registrations_table td {
    color: #777;
}

table.registrations_table .registered_by_th {
    text-align: left;
    padding: 10px 5px !important;
}

table.registrations_table .registered_by_th button {
    float: right !important;
    margin: 0 5px;
}

button.SubmitReserveButton, button.CancelGroupRegistrationButton {
    margin: 0 5px !important;
}

button.SubmitGroupRegistrationButton {
    margin: 10px 5px;
}

input#reserveAdditionalPlaces {
    width: 30px;
}

.group-registration-buttons button {
    margin: 0;
}

.eventsCalendarNextMonthButton, .eventsCalendarPreviousMonthButton {
    padding: 2px 10px;
    margin: 0;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

.eventsCalendarNextMonthButton:hover, .eventsCalendarPreviousMonthButton:hover {
    background: #EE2E24;
    color: #fff;
}

#eventsCalender, #eventsCalendarDiv {
    float: left;
    width: 350px;
}

#eventsCalendarDiv {
    margin: 0 0 15px;
}

.eventsCalendarMonthSelectorTable {
    margin: 0 0 1.5em;
}

.eventsCalendarMonthSelectorTable, .publicEventsCalendar {
    float: left;
    width: 350px;
}

.eventsCalenderHeaderMonthLabel {
    color: #AB1F1B;
    font-size: 1.3em;
    line-height: 1.2em;
    font-weight: bold;
    padding: 0 0 1.1em 0;
}

.eventsCalendarPreviousMonthCell, .eventsCalendarNextMonthCell {
    text-align: center;
}

.eventsCalendarPreviousMonthButton, .eventsCalendarNextMonthButton {
    width: 150px;
}

.eventsCalenderDayCell {
    height: 50px;
    width: 50px;
    border: 1px solid #ccc;
    vertical-align: top;
}

.eventsCalenderDayNumber {
    text-align: right;
    padding: 3px;
}

.eventsCalenderDayOutsideMonth {
    color: #bbb;
}

.eventsCalenderCurrentDay {
    background: #ddd;
}

.eventsCalenderDayHasEvents {
    text-align: center;
    font-size: .9em;
    background: #f4ffae;
    margin: 0;
    padding: 0;
}

.eventsCalenderDayHasEvents a.eventIcon {
    display: block;
    width: 14px;
    height: 14px;
    background: url(images/event-icon.gif) 0 0 no-repeat;
    text-indent: -999em;
    text-align: center;
    margin: 0 auto;
}

#userSignupMessageElement div {
    display: inline-block;
    width: auto !important;
    margin: 1em 0 !important;
    padding: 8px 10px !important;
    border: 1px solid #ffacad !important;
    background-color: #ffd5d5 !important;
    color: #d23755 !important;
}

#loginForm {
    margin: 1em 0;
}

#loginForm #forgottenPasswordNote {
    margin: .5em 0;
}

/* --- Feedsucker */

ul.articleFeedList {
    margin: 0;
    padding: 0;
}

ul.articleFeedList li {
    border-bottom: 1px solid #ddd;
}

ul.articleFeedList li {
    padding: 10px 0;
    list-style: none;
    list-style-image: none;
}

ul.articleFeedList li:last-child {
    border: 0;
}

ul.articleFeedList li h2 {
    margin: 1em 0 .5em;
}

/* --- Flipbook */

#ie_historyFrame {
    width: 0px;
    height: 0px;
    display: none;
}

#firefox_anchorDiv {
    width: 0px;
    height: 0px;
    display: none;
}

#safari_formDiv {
    width: 0px;
    height: 0px;
    display: none;
}

#safari_rememberDiv {
    width: 0px;
    height: 0px;
    display: none;
}

/* --- Form Buttons */

.back_button, .submit, .sbButton {
    padding: 3px 10px;
    margin: 10px 0 0;
    border: 0;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
}

.back_button:hover, .submit:hover, .sbButton:hover, .submit.hover {
    text-decoration: none;
    background: #EE2E24;
    color: #fff;
}

.back_button {
    float: left;
    clear: both;
    display: inline;
}

form#passwordForm button, form#signup_form button.signup_button {
    padding: 3px 10px;
    margin: 5px 0;
    border: 0;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
}

form#passwordForm button:hover, form#signup_form button.signup_button:hover {
    text-decoration: none;
    background: #EE2E24;
    color: #fff;
}

/* --- Knowledge */

.parent_category img {
    padding: 5px;
    border: 1px solid #ddd;
    -moz-box-shadow: 0 3px 3px #DDDDDD;
}

table.knowledge_list_table td, ul.knowledge_list_table li {
    padding: 10px 0 30px;
    list-style: none !important;
    list-style-image: none !important;
}

table.knowledge_list_table td h2, .knowledge_list_table li h2 {
    border-bottom: 1px solid #ddd;
    font-size: 18px;
}

table.knowledge_list_table tr:last-child td {
    border-bottom: 0;
}

table.knowledge_list_table td a.mediaLink,
table.knowledge_list_table td a.cat_link {
    display: block;
}

table.knowledge_list_table td a img, .knowledge_list_table li a img {
    float: left;
    padding: 10px 0 0;
    background: url(images/record-list-top.gif) 0 0 no-repeat;
}

.knowledge_list_table .recordListWrap {
    float: left;
    width: 30%;
    display: block;
    margin: 0;
    padding: 0 0 10px;
    background: url(images/record-list-bottom.gif) bottom left no-repeat;
}

.catListDesc {
    float: right;
    width: 67%;
}

table.knowledge_list_table td a:hover img, .knowledge_list_table li a:hover img {
    border-color: #fff;
}

#flash_upload {
    margin: 1.5em 0 0;
}

.addthis {
    margin: 1em 0;
}

table.knowledge_list_table td ul.files_list {
    margin: 10px 0 0;
}

table.knowledge_list_table td ul.files_list a {
    font-size: 12px;
    font-weight: normal;
}

.page_numbers_box table {
    border-spacing: 10px !important;
}

.page_numbers_box {
    font-size: 12px;
    font-weight: bold;
    color: #666;
}

.page_numbers_box a {
    text-decoration: none;
    color: #666;
    padding: 0 5px;
    border: 1px solid #666;
}

.page_numbers_box span.hide {
    display: none;
}

.page_numbers_box a:hover {
    border: 1px solid #ee3027;
    color: #ee3027;
}

.page_numbers_box .prev, .page_numbers_box .next {
    display: block;
    width: 85px;
    height: 18px;
    background: url(images/record-prev.gif) 0 0 no-repeat;
    text-indent: -999em;
    border: 0;
    padding: 0;
}

.page_numbers_box .prev:hover, .page_numbers_box .next:hover {
    border: 0;
}

.page_numbers_box .next {
    background: url(images/record-next.gif) 0 0 no-repeat;
}

.page_off {
    color: #fff;
    display: block;
    padding: 0 6px;
    background: #ee3027;
}

ul.links_list {
    margin: 1em 0 1em;
}

ul.links_list li a {
    display: inline-block;
    padding: 0 0 0 22px;
    background: url(images/link_go.png) 0 -1px no-repeat;
}

.repo_list {
    display: block;
    height: 1%;
}

ul.files_list {
    margin: 10px 0 !important;
}

ul.files_list, ul.files_list li, ul.repo_files, ul.repo_files li,
ul.repo_files_list, ul.repo_files_list li {
    padding: 0!important;
    list-style: none!important;
    background: none !important;
}

ul.repo_files li, ul.repo_files_list li, ul.files_list li {
    margin: 0 0 5px !important;
}

ul.repo_files li img, ul.repo_files_list li img, ul.files_list li img {
    padding: 0 !important;
    margin: 0 5px 0 0 !important;
    vertical-align: middle;
    border: 0 !important;
            box-shadow: none !important;
    -webkit-box-shadow: none !important;
       -moz-box-shadow: none !important;
}

ul.repo_files_list span.file_size, ul.files_list span.file_size {
    font-size: 11px;
    color: #999;
}

div.parentrecordsitem {
    clear: both;
    padding: 10px 0;
}

div.parentrecordsitem h3 {
    margin: 10px 0;
}

/* --- Membership */

ul.membershipList {
    margin: 0;
    padding: 0;
}

ul.membershipList li.list {
    border-bottom: 1px solid #ddd;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    list-style-image: none;
}

ul.membershipList h2 {
    margin-top: .5em;
}

#loginFormOl label, #signupForm label, #signupForm span.fieldLabel {
    display: block;
    margin: 3px 0;
}

#loginFormOl input {
    width: 350px;
    margin: 3px 0;
    padding: 5px;
    border: 1px solid #ddd;
}

#signupForm #signupButton, #signupForm #cancelButton {
    float: left;
    display: block;
    margin: 10px 3px;
}

#signupForm #signupButton {
    float: right;
}

#signupForm #cancelButton {
    margin: 10px 0 0 0;
}

input.SubmitButton, input.signup, input.myMembershipMenuButtonOn,
input.myMembershipMenuButtonOff, input#signupButton, input.quickRenew {
    height: 24px;
    padding: 0 10px;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

input.SubmitButton:hover, input.signup:hover, input.myMembershipMenuButtonOn,
input.myMembershipMenuButtonOn:hover, input#signupButton:hover {
    background: #EE2E24;
    color: #fff;
}

input.SubmitAddMember {
    margin: 10px 0 0;
}

div.myMembershipSubMenuBox {
    margin: 15px 0;
}

#addMemberForm {
    margin: 15px 0;
}

table.list {
    margin: 10px 0;
}

table.list, table.list th, table.list td, table.myMemberships,
table.myMemberships th, table.myMemberships td {
    border: 1px solid #ccc;
}

table.list th, table.list td, table.myMemberships th, table.myMemberships td {
    padding: 5px;
    text-align: left;
}

input#memberFirstName, input#memberLastName, input#memberEmail {
    width: 350px;
    border: 1px solid #ddd;
    padding: 5px;
}

label#memberFirstNameLabel, label#memberLastNameLabel, label#memberEmailLabel {
    display: block;
    margin: 3px 0;
}

#signupForm br {
    display: none;
}

.error {
    margin: .5em 0;
}

/* --- My Account */

div#login label {
    display: block;
    margin: 3px 0;
}

div#login legend {
    display: none;
}

#loginButton {
    float: left;
}

.logintemplate .back_button {
    float: right;
    clear: none !important;
    display: inline;
}

#forgotenPassword {
    float: left;
    clear: both;
}

table#loginDetails {
    margin: 0;
}

table#loginDetails th, table#loginDetails td {
    padding: 0 10px 5px 0;
    font-size: 1em;
    text-align: left;
}

.registerSection iframe {
    display: none;
}

ul.myAccountSideBar {
    margin: 12px 0 !important;
    border: none !important;
    background: none !important;
}

ul.myAccountSideBar li a {
    background: #3b74ba url(images/bg-grey.gif) left center no-repeat;
    padding-right: 0;
}

ul.myAccountSideBar li li a {
    width: 162px;
    padding: 3px 25px 3px 22px;
    background: url(images/bg-nav-arrow.gif) 10px 7px no-repeat;
    border: none;
    color: #777;
    font-weight: normal;
    font-size: 11px;
    text-shadow: none;
}

ul.myAccountSideBar form {
    margin: 0 10px;
}

ul.myAccountSideBar label {
    display: block;
    margin: 3px 0;
}

ul.myAccountSideBar input {
    width: 175px;
}

ul.myAccountSideBar p {
    margin: 10px 0 10px 10px !important;
}

ul.myAccountSideBar p#forgotenPassword {
    margin: 10px 0 0!important;
}

ul.myAccountSideBar li.on a#myAccountTitle {
    padding-right: 0 !important;
    background: #3b74ba url(images/bg-grey.gif) scroll left center no-repeat !important;
}

ul.myAccountSideBar li p a {
    font-size: .7em !important;
    background: none !important;
    padding: 3px 0 !important;
    margin: 0 !important;
}

ul.myAccountSideBar button {
    float: right;
    margin: 10px 13px 0 0;
    font-size: 1em !important;
    background: #999 !important;
}

.logintemplate .form {
    width: 258px;
}

/* --- News */

ul.newsList {
    margin: 0;
    padding: 0;
}

div.newsList h3, .newsList li h3 {
    border-bottom: 1px solid #ddd;
    line-height: 30px;
}

div.newsList, div.newsDetail, .newsList li {
    padding: 10px 0;
    list-style: none;
    list-style-image: none;
}

.newsList li:last-child {
    border: 0;
}

.newsListImage {
    float: left;
    padding: 10px 0 0;
    background: url(images/record-list-top.gif) 0 0 no-repeat;
}

.newsListWrap {
    float: left;
    width: 30%;
    display: block;
    margin: 0 3% 0 0;
    padding: 0 0 10px;
    background: url(images/record-list-bottom.gif) bottom left no-repeat;
}

.newsListItemRight {
    float: right;
    width: 67%;
}

div.newsList h2, div.newsDetail h2, .newsList li h2 {
    margin: 1em 0 .5em;
}

.commentsList {
    margin: 0;
    padding: 0;
}

.commentsList li {
    list-style: none;
    list-style-image: none;
    display: block;
    padding: 10px 15px !important;
    margin: 0;
    border-bottom: 1px solid #ddd;
}

.commentsList li:last-child {
    border: 0;
}

#commentForm {
    float: left;
    width: 645px;
    display: block;
    clear: right;
    margin: 20px 0 0;
    padding: 15px;
    background: #F5F5F5;
    border: 1px solid #ddd;
}

.comments {
    border: 1px solid #ddd;
    float: left;
    width: 675px;
    display: block;
    clear: right;
    margin: 15px 0 0;
    padding: 15px 0 0;
    background: #F5F5F5;
}

.comments h2 {
    color: #777;
    margin: 0 0 1em 1em;
}

#commentForm h2 {
    color: #777;
    margin: 0 0 1em;
}

.noshow {
    display: none;
}

/* --- Compliance Tracker */

#searchButtonFieldContent button {
    margin: 10px 0 20px;
}

.sbFieldGroupHeading {
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    margin: 0 0 10px;
}

/* --- PD Tracker */

#user_table {
    margin: 1.5em 0 0;
}

.list_filter {
    margin: 0 0 1.5em;
}

.activityForm table th {
    text-align: left;
    padding: 0 5px 0 0;
}

table.goal_list_table, table.activity_list_table, table.criteria_list_table {
    margin: 10px 0;
}

table.goal_list_table, table.goal_list_table th, table.goal_list_table td,
table.activity_list_table, table.activity_list_table th,
table.activity_list_table td, table.criteria_list_table,
table.criteria_list_table td, table.criteria_list_table th, #user_table td,
#user_table th {
    border: 1px solid #ccc;
}

table.goal_list_table th, table.goal_list_table td, table.activity_list_table th,
table.activity_list_table td, table.criteria_list_table td,
table.criteria_list_table th, #user_table td, #user_table th {
    padding: 5px;
    text-align: left;
}

.list_filter table th, .list_filter table td {
    text-align: left;
    padding: 0 2px 0 0;
}

.activityForm table input {
    margin: 3px 0;
}

.activityForm select {
    margin: 3px 0;
}

a#addActivityFormactivityDate {
    margin: 4px 5px;
}

h3#pdGoals {
    line-height: 1.5em;
    background: url(images/goal.gif) 52px 0 no-repeat;
}

h3#pdActivities {
    line-height: 1.5em;
    background: url(images/activity.gif) 76px 2px no-repeat;
}

.list_filter button {
    margin: 0;
    padding: 1px 10px 0 !important;
}

.PDTrackerRemoveActivityButton {
    background: url(images/delete.gif) 0 0 no-repeat;
    margin: 0 12px;
    border: 0;
    cursor: pointer;
    text-indent: -999em;
    text-align: center;
    width: 20px;
    height: 22px;
}

/* --- Products */

.productsSection #mainBar {
    width: 70%;
}

table.products_list_table, table.products_category_table {
    width: 100%;
}

table.products_category_table img {
    margin: 0 auto;
}

table.products_list_table td {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

table.products_list_table h2 {
    margin: 0;
}

table.products_list_table table td {
    padding: 0;
    border: 0;
}

table.products_list_table table td.extras {
    padding: 20px 10px;
}

.productlistitem img {
    margin: 0 20px 0 0;
}

#product-info {
    float: right;
    width: 55%;
}

#price {
    margin: 0 0 15px;
    padding: 15px;
    border: 1px solid #ddd;
}

.price {
    color: #626262;
    font-size: 16px;
    font-weight: bold;
}

.price.special {
    color: #EE2E24;
    font-size: 22px;
}

.noshow_inc_gst, #options_price .hide {
    color: #777;
    font-size: 11px;
}

.noshow_inc_gst {
    display: block;
}

.buy_field {
    display: none;
}

.buy_button, .button, #viewProduct a {
    display: inline-block;
    padding: 3px 10px;
    margin: 10px 0 0;
    border: 0;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
}

.buy_button:hover, .button:hover, #viewProduct a:hover,
#large-popup-button:hover {
    text-decoration: none;
    background: #EE2E24;
    color: #fff;
}

.buy_button, #storeButton a, #viewProduct a {
    width: 80px;
}

#product-image {
    float: left;
    width: 40%;
}

#product-detail img.imageLeft {
    margin: 0 25px 0 0 !important;
}

#large-popup-button {
    float: left;
    clear: both;
    width: auto;
    margin: 0;
    padding: 0px 30px 0px 10px;
    border: 0;
    border-radius: 0 0 3px 3px;
    -webkit-border-bottom-left-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-bottomleft: 3px;
    -moz-border-radius-bottomright: 3px;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
    background: #ccc url(images/open-close-icon.png) 94% 8px no-repeat;
}

#large-popup-button:hover {
    background: #EE2E24 url(images/open-close-icon.png) 94% 8px no-repeat;
}

#large-popup-button a {
    color: #fff;
    text-decoration: none;
}

.line {
    border-bottom: 1px solid #ddd;
}

.selectOption {
    margin: 10px 0 0;
}

/* --- Registration */

form#signup_form legend, form#passwordForm legend {
    display: none;
}

form#signup_form fieldset {
    border: 0 !important;
}

form.signup_form table .select_large_off,
form.signup_form table .select_large_on {
    width: 200px;
}

form#info_form label, form#passwordForm label, span.form form label,
form#signup_form label, form.signup_form label {
    display: block;
    margin: 3px 0;
}

form.signup_form table font {
    color: inherit !important;
}

form.signup_form table font input {
    margin: 0 3px;
}

form.signup_form .receive_email label span {
    margin: 0 5px;
}

form#passwordForm button, form#signup_form button.signup_button {
    padding: 3px 10px;
    margin: 5px 0;
    border: 0;
    background: #AB1F1B;
    color: #fff !important;
    font-size: 13px !important;
    text-align: center;
    cursor: pointer;
}

form#passwordForm button:hover, form#signup_form button.signup_button:hover {
    text-decoration: none;
    background: #EE2E24;
    color: #fff;
}

div#password_form form th {
    display: block;
    text-align: left;
    margin: 3px 0;
}

div#password_form form td {
    display: block;
}

p#forgotenPassword {
    margin: 1em 0;
}

/* --- Search */

div.search_form input {
    max-width: 350px;
    padding: 5px 5px 5px 25px;
    border: 1px solid #ddd;
    background: url(images/mag-glass.png) 6px 6px no-repeat;
    color: #777;
    font-size: 11px;
}

div.search_form button {
    padding: 3px 10px 4px;
    margin: 0;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
}

div.search_form button:hover {
    background: #EE2E24;
    color: #fff;
}

div.search_form legend, div.search_form label {
    display: none;
}

ul.search_list, ul.search_list li {
    margin: 0;
    padding: 0;
    list-style: none;
    list-style-image: none;
}

ul.search_list li {
    padding: 10px 0;
}

ul.search_list li p {
    margin: 0;
    padding: 0;
}

ul.search_list li a {
    display: block;
    border-bottom: 1px solid #DDD;
    line-height: 30px !important;
    font-size: 18px;
    line-height: 23px;
    margin: 5px 0 10px;
    font-weight: bold;
}

p.search_pages {
    float: right;
    margin: 10px 0;
}

strong.search_highlight {
    color: #AB1F1B;
    font-style: italic;
}

ul.search_list li a strong.search_highlight {
    color: #AB1F1B;
    font-style: normal;
}

/* --- Search Directory */

.searchdirectorySection .sdButHide {
    display: none;
}

#searchDirectory label {
    display: block;
    margin: 8px 0 0;
    font-weight: bold;
}

#searchDirectory input {
    max-width: 300px;
}

#numberofresults {
    display: block;
    float: left;
    font-size: 18px;
    font-weight: bold;
}

#searchagainbutton {
    float: right;
    margin: 0 0 15px;
}

#contactMap {
    margin: 15px 0;
    padding: 0 0 12px;
    background: url(images/reisa-botshadow7.png) no-repeat center bottom;
}

#map {
    width: 100% !important;
}

#SearchResultsTable tr.searchResults:nth-child(odd) td {
    background: #fff;
}

#memberdetailleft {
    float: left;
    width: 50%;
}

#memberdetailright1, #memberdetailright2 {
    float: right;
    width: 45%;
}

#memberdetailright2 label {
    font-weight: bold;
    color: #EE2E24;
}

#memberdetailright2 input, #memberdetailright2 textarea {
    border: 0;
    max-width: 244px;
}

#memberdetailright2 textarea {
    resize: vertical;
}

#memberdetailright2 button {
    margin: 0 6px;
}

#memberdetailright2 li {
    margin: 10px 0 20px;
}

#memberdetailleft h2 {
    padding: 0 0 8px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

#memberdetailleft h3, #memberdetailright1 h3 {
    padding: 7px 0 8px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

#membercompanyphoto {
    max-width: 140px;
    float: left;
    margin: 0 0 20px;
}

#membercompanylogo {
    max-width: 170px;
    float: left;
    margin: 0 0 20px 20px;
}

#membersociallinks {
    max-width: 180px;
    float: right;
    padding: 0 0 20px;
}

#membersociallinks p {
    margin: 5px 0;
}

form#directoryContact {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 20px 15px;
}

form#directoryContact input, form#directoryContact textarea {
    background: #fff;
}

form#directoryContact label {
    display: block;
}

form#directoryContact li {
    margin: 10px 0;
}

#directoryContact .sbSecurityImage {
    width: 191px;
    margin: 0 0 5px;
}

.sbSecurity input {
    float: right;
    margin: 0 5px;
}

#memberdetailtable th {
    text-align: left;
    padding: 0 10px 0 0;
    vertical-align: top;
    width: 20%;
}

#memberdetailleft .morelink {
    margin: 10px 0 0 15px;
}

/* --- Auto suggest */

.small {
    font-style: italic;
    font-size: 11px;
}

body {
    position: relative;
}

div.autosuggest {
    position: absolute;
    background-image: url(images/as_pointer.gif);
    background-position: top;
    background-repeat: no-repeat;
    padding: 10px 0 0 0;
    z-index: 999;
}

div.autosuggest div.as_header, div.autosuggest div.as_footer {
    position: relative;
    height: 6px;
    padding: 0 6px;
    background-image: url(images/ul_corner_tr.gif);
    background-position: top right;
    background-repeat: no-repeat;
    overflow: hidden;
}

div.autosuggest div.as_footer {
    background-image: url(images/ul_corner_br.gif);
}

div.autosuggest div.as_header div.as_corner,
div.autosuggest div.as_footer div.as_corner {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    width: 6px;
    background-image: url(images/ul_corner_tl.gif);
    background-position: top left;
    background-repeat: no-repeat;
}

div.autosuggest div.as_footer div.as_corner {
    background-image: url(images/ul_corner_bl.gif);
}

div.autosuggest div.as_header div.as_bar,
div.autosuggest div.as_footer div.as_bar {
    height: 6px;
    overflow: hidden;
    background-color: #333;
}

div.autosuggest ul {
    list-style: none;
    list-style-image: none;
    margin: 0 0 -4px 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

div.autosuggest ul li {
    color: #ccc;
    padding: 0;
    margin: 0 4px 4px;
    text-align: left;
}

div.autosuggest ul li a {
    color: #ccc;
    display: block;
    text-decoration: none;
    background-color: transparent;
    text-shadow: #000 0px 0px 5px;
    position: relative;
    padding: 0;
    width: 100%;
    font-size: 10px !important;
}

div.autosuggest ul li a:hover {
    background-color: #444;
}

div.autosuggest ul li.as_highlight a:hover {
    background-color: #1B5CCD;
}

div.autosuggest ul li a span {
    display: block;
    padding: 3px 6px;
    font-weight: bold;
}

div.autosuggest ul li a span small {
    font-weight: normal;
    color: #999;
}

div.autosuggest ul li.as_highlight a span small {
    color: #ccc;
}

div.autosuggest ul li.as_highlight a {
    color: #fff;
    background-color: #1B5CCD;
    background-image: url(images/hl_corner_br.gif);
    background-position: bottom right;
    background-repeat: no-repeat;
}

div.autosuggest ul li.as_highlight a span {
    background-image: url(images/hl_corner_bl.gif);
    background-position: bottom left;
    background-repeat: no-repeat;
}

div.autosuggest ul li a .tl, div.autosuggest ul li a .tr {
    background-image: transparent;
    background-repeat: no-repeat;
    width: 6px;
    height: 6px;
    position: absolute;
    top: 0;
    padding: 0;
    margin: 0;
}

div.autosuggest ul li a .tr {
    right: 0;
}

div.autosuggest ul li.as_highlight a .tl {
    left: 0;
    background-image: url(images/hl_corner_tl.gif);
    background-position: bottom left;
}

div.autosuggest ul li.as_highlight a .tr {
    right: 0;
    background-image: url(images/hl_corner_tr.gif);
    background-position: bottom right;
}

div.autosuggest ul li.as_warning {
    font-weight: bold;
    text-align: center;
}

div.autosuggest ul em {
    font-style: normal;
    color: #6EADE7;
}

/* --- Shopping Cart */

#gateway_select_div th {
    padding: 3px 0;
}

#gateway_select_div th label {
    margin: 0 5px;
}

input.button {
    padding: 3px 10px;
    border: 0;
    background: #AB1F1B;
    color: #fff;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    width: auto;
}

input.button:hover {
    background: #EE2E24;
    color: #fff;
}

table.cart_table, table.text {
    width: 100%;
    border: 1px solid #ccc;
    border-collapse: collapse;
    background-color: white;
}

table.cart_table th, table.text th, table.cart_table td, table.text td {
    color: #777 !important;
    border: 1px inset #ccc;
    padding: 5px;
    background-color: white;
    font-size: 12px;
    text-align: left;
}

table.cart_table input {
    width: 20px;
}

td.cart_cell_line {
    white-space: nowrap;
    min-width: 75px;
}

table.cartButtons {
    width: 100%;
}

table.cartButtons td.cartButtonsRight {
    text-align: right;
}

.fieldset_title, .order_details_header {
    color: #AB1F1B;
    font-size: 1.3em;
    line-height: 1.2em;
    font-weight: bold;
    margin: 1.1em 0;
}

.form th {
    font-weight: normal;
    text-align: left;
}

.form td {
    padding: 3px;
}

div.form label {
    display: inline;
    float: none;
}

div.form label input.checkbox {
    width: auto;
    margin: 0;
    padding: 0;
    border: 0;
}

input.continue_shopping {
    margin: 0 5px 0 0;
}

.plain {
    margin: 20px 0 0 0;
}

ul.miniCart {
    border: none !important;
    background: none !important;
}

ul.miniCart li a {
    background: #3b74ba url(images/bg-nav.gif) left center no-repeat;
    padding-right: 0;
}

ul.miniCart li li a {
    width: 162px;
    padding: 3px 25px 3px 22px;
    background: url(images/bg-nav-arrow.gif) 10px 7px no-repeat;
    border: none;
    color: #777;
    font-weight: normal;
    font-size: 11px;
    text-shadow: none;
}

ul.miniCart li a#myCartTitle {
    padding-right: 0 !important;
    background: url(images/bg-grey.gif) scroll left center no-repeat !important;
}

.order_details_table th {
    font-weight: bold;
}

.order_details_table.plain th {
    text-align: right;
}

.order_details_table th, .order_details_table td {
    padding: 3px 5px 3px 3px !important;
}

.plain td {
    padding: 3px 2.5px !important;
}

/* --- Site Map */

ul.sitemap_level1, ul.sitemap_level1 ul {
    padding: 0 0 0 20px !important;
}

ul.sitemap_level1 li {
    list-style: disc;
}

ul.sitemap_level1 li a {
    font-size: 12px;
}

ul.sitemap_level2 li {
    padding: 0 !important;
}

ul.sitemap_level2 li a {
    font-size: 11px;
}

ul.sitemap_level2 ul li a {
    font-size: 10px;
}

ul.sitemap_level2 ul {
    margin: 8px 0 !important;
}

ul.sitemap_level2 ul li {
    margin: 0 !important;
}

ul.sitemap_level2 {
    margin: 10px 0 !important;
}

/* 5. Errors
----------------------------------------------*/

div.sbError, .membershipSignUpFormErrorMessage, .infoFormErrorMessage {
    display: inline-block;
    width: auto !important;
    margin: 0 0 1em;
    padding: 8px 10px 8px 35px;
    border: 1px solid #ffacad;
    background: #ffd5d5 url(images/alert-icon.gif) 10px 50% no-repeat;
    color: #d23755;
}

/* 
   cart vouchers important message 
   note do not remove !important or it will revert to old styling
*/

div.messageBox {
    display: inline-block;
    width: auto !important;
    margin: 0 0 1em !important;
    padding: 8px 10px !important;
    border: 1px solid #ffacad !important;
    background-color: #ffd5d5 !important;
    color: #d23755 !important;
}

div.messageBoxShade {
    border: none !important;
    padding: 0 !important;
    font-size: 12px !important;
}

div.messageBoxShade ul, div.messageBoxShade ul li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

h2.messageBoxHeading {
    margin: 0 0 .5em !important;
    padding: 0 !important;
    text-indent: 0 !important;
    color: #d23755 !important;
}

#ie6Warning {
    background: #e3e3e3;
    border: 1px solid #bbbbbb;
    padding: 10px 10px 1px;
    margin-bottom: 10px;
}

#ie6Warning h2 {
    background: url(images/ie6-warning.gif) 0 50% no-repeat;
    padding-left: 40px;
    font-size: 28px;
    line-height: 40px;
    color: #D13236;
}

.drop_shadow {
    position: relative;
    float: left;
    width: 40%;
    padding: 1em;
    margin: 2em 10px 4em;
    background: #fff;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.drop_shadow:before, .drop_shadow:after {
    content: "";
    position: absolute;
    z-index: -2;
}

.drop_shadow p {
    font-size: 16px;
    font-weight: bold;
}

/* Lifted corners */

.lifted {
    -moz-border-radius: 4px;
         border-radius: 4px;
}

.lifted:before, .lifted:after {
    bottom: 15px;
    left: 10px;
    width: 50%;
    height: 20%;
    max-width: 300px;
    -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
       -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform: rotate(-3deg);
       -moz-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
         -o-transform: rotate(-3deg);
            transform: rotate(-3deg);
}

.lifted:after {
    right: 10px;
    left: auto;
    -webkit-transform: rotate(3deg);
       -moz-transform: rotate(3deg);
        -ms-transform: rotate(3deg);
         -o-transform: rotate(3deg);
            transform: rotate(3deg);
}

/* Curled corners */

.curled {
    border: 1px solid #efefef;
    -moz-border-radius: 0 0 120px 120px / 0 0 6px 6px;
         border-radius: 0 0 120px 120px / 0 0 6px 6px;
}

.curled:before, .curled:after {
    bottom: 12px;
    left: 10px;
    width: 50%;
    height: 55%;
    max-width: 200px;
    -webkit-box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
       -moz-box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
    -webkit-transform: skew(-8deg) rotate(-3deg);
       -moz-transform: skew(-8deg) rotate(-3deg);
        -ms-transform: skew(-8deg) rotate(-3deg);
         -o-transform: skew(-8deg) rotate(-3deg);
            transform: skew(-8deg) rotate(-3deg);
}

.curled:after {
    right: 10px;
    left: auto;
    -webkit-transform: skew(8deg) rotate(3deg);
       -moz-transform: skew(8deg) rotate(3deg);
        -ms-transform: skew(8deg) rotate(3deg);
         -o-transform: skew(8deg) rotate(3deg);
            transform: skew(8deg) rotate(3deg);
}

/* Perspective */

.perspective:before {
    left: 80px;
    bottom: 5px;
    width: 50%;
    height: 35%;
    max-width: 200px;
    -webkit-box-shadow: -80px 0 8px rgba(0, 0, 0, 0.4);
       -moz-box-shadow: -80px 0 8px rgba(0, 0, 0, 0.4);
            box-shadow: -80px 0 8px rgba(0, 0, 0, 0.4);
    -webkit-transform: skew(50deg);
       -moz-transform: skew(50deg);
        -ms-transform: skew(50deg);
         -o-transform: skew(50deg);
            transform: skew(50deg);
    -webkit-transform-origin: 0 100%;
       -moz-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
         -o-transform-origin: 0 100%;
             transform-origin: 0 100%;
}

.perspective:after {
    display: none;
}

/* Raised shadow - no pseudo-elements needed */

.raised {
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5),
                        0 1px 4px rgba(0, 0, 0, 0.3),
                        0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5),
                     0 1px 4px rgba(0, 0, 0, 0.3),
                     0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5),
                0 1px 4px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(0, 0, 0, 0.1) inset;
}

/* Curved shadows */

.curved:before {
    top: 10px;
    bottom: 10px;
    left: 0;
    right: 50%;
    -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.6);
       -moz-box-shadow: 0 0 15px rgba(0,0,0,0.6);
            box-shadow: 0 0 15px rgba(0,0,0,0.6);
    -moz-border-radius: 10px / 100px;
         border-radius: 10px / 100px;
}

.curved_vt_2:before {
    right: 0;
}

.curved_hz_1:before {
    top: 50%;
    bottom: 0;
    left: 10px;
    right: 10px;
    -moz-border-radius: 100px / 10px;
         border-radius: 100px / 10px;
}

.curved_hz_2:before {
    top: 0;
    bottom: 0;
    left: 10px;
    right: 10px;
    -moz-border-radius: 100px / 10px;
         border-radius: 100px / 10px;
}

/* Rotated box */

.rotated {
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    -webkit-transform: rotate(-3deg);
       -moz-transform: rotate(-3deg);
        -ms-transform: rotate(-3deg);
         -o-transform: rotate(-3deg);
            transform: rotate(-3deg);
}

.rotated > :first-child:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
