/* tweak paragraphis containing social icons */

p.social-icons img {
    border-radius: 6px;
}

/* clean up home page subscription form */
#id_QxMrQPN {
    margin: 24px;
    background-color: #e7f3ec;
}
#id_QxMrQPN .generalFieldsOuterContainer {
    padding-top: 2px;
}
#id_QxMrQPN .formTitleOuterContainer {
    display: none;
}
#id_QxMrQPN .navigationOuterContainer {
    margin: 0;
}
#id_QxMrQPN input.nextButton {
    margin-right: 32px;
}

/* not sure why need to adjust this */

[class*="EditableArea"] ol, [class*="EditableArea"] ul {
    margin-left: 2rem;
}
[class*="EditableArea"] ol li, [class*="EditableArea"] ul li {
    padding-left: 0.5rem;
}

/* switch the columns on individual Event pages */

div.WaGadgetEvents div.boxBodyInfoOuterContainer {
    float: right !important;
    width: 33% !important;
}
div.WaGadgetEvents div.boxBodyContentOuterContainer {
    float: left !important;
    width: 65% !important;
}

/* Remove "no automatically recurring payments" from join/renew */

div.fieldItem span.levelRecurring {
    display: none;
}


/* Conference */

table.conf-schedule {
    border-collapse: collapse;
    max-width: 50rem;
}
table.conf-schedule td {
    padding: 0 1rem 0.5rem 0;
    vertical-align: top;
}
table.conf-schedule td:first-child,
table.conf-schedule td:last-child span {
    white-space: nowrap;
}

/* Tweak the home page slide show */
#camera_wrap_OnEMJeC div.camera_thumbs {
    display: none !important;
}

/* restrict the full width of the page */

.WaPlaceHolder {
    max-width: 1000px;
}

/* adjust the main menu */

#id_svVLY2a {
    border-top: solid 0.25rem #414A53;
}
#id_svVLY2a ul a {
    padding: 0.5rem 1rem;
}
#id_svVLY2a ul ul a {
    padding: 1rem;
}
#id_JpFJ3Gl {
    margin-bottom: 3rem;
}

/* adjust the secondary menu (join us / donate) */

#id_5ibh6S3 ul {
    margin: 2.5rem 0 0.5rem 0;
}
#id_5ibh6S3 li:before {
    content: none;
}
#id_5ibh6S3 ul li:first-child a {
    background-color: #8e59c9;
    color: #fff;
    margin: 0 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
}

#id_Hd6b8Ch .loginContainer {
    margin: 1.5rem 0 0 0;
}


/* a dramatic purple button for "join us!", etc */
p.Purple {
    padding: 3rem 0;
}
p.Purple a {
    background-color: #8e59c9;
    color: #fff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
}

/* Make Register buttons more dramatic */

.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton {
    background-color: #8e59c9;
    border-radius: 0.5rem;
}

/* YouTube video embed */

figure.youtube {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin: 0;
}
figure.youtube iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
}

/* Grids of event cards */

ul.event-cards {
    list-style: none;
    margin-left: 0;
}
ul.event-cards li {
    display: inline-block;
    width: calc(50% - 1rem);
    margin: 0;
    vertical-align: top;
}
@media (max-width: 60rem) {
    ul.event-cards li {
        width: 100%;
    }
}

/* Grids of people */

ul.portrait-grid {
    list-style: none;
    margin-left: 0;
}
ul.portrait-grid li {
    display: inline-block;
    width: 10rem;
    margin: 0 1rem 1rem 0;
    vertical-align: top;
    font-size: 1rem;
}

/* One- and Two-column photo grids */

ul.photo-1, ul.photo-2 {
    list-style: none;
    margin-left: 0;

}
ul.photo-1 {
    margin-left: 10%;
}
ul.photo-1 li, ul.photo-2 li {
    display: inline-block;
    width: calc(50% - 2rem);
    margin: 0 1rem 1rem 0;
    vertical-align: top;
    font-size: 1rem;
}
ul.photo-1 li {
    width: 80%;
}
ul.photo-1 li img, ul.photo-2 li img {
    width: 100%;
}

/* Sponsor List */

ul.sponsor-list {
    list-style: none;
    margin-left: 0;
    text-align: center;
}
ul.sponsor-list li {
    display: inline-block;
    padding: 0.5rem 1rem;
}
ul.sponsor-list li img {
    height: 8.5rem;
    width: auto !important;
}


/* tweak Events widget */
.WaGadgetEventsStateList .boxOuterContainer .boxBodyOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer {
    margin-top: 0;
}
#idEventListCalendar h3.sectionTitle {
    font-size: 1.5rem;
    color: #286fca;
    text-transform: capitalize;
}
.WaGadgetEventsStateCalendar #idViewSwitchersTable {
    padding-top: 0.5rem;
}

.home-events-title h2 {
    margin-bottom: 0;
}
.home-events ul li {
    margin-bottom: 1rem;
}
.home-events ul li a {
    color: #f2e732 !important;
}


/* Conference Menu */

.menu-conference {
    list-style: none;
    margin: 0 0 1rem 0 !important;
    background-color: #1778ad;
    background-color: #000;
    border-top: solid 1px #fff;
}
.menu-conference li {
    display: inline;
}
.menu-conference li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #fff !important;
}
.menu-conference li a:hover {
    background-color: #2982b7;
}

/* Conference speaker grid */

ul.conference-grid {
    list-style: none;
    margin-left: 0;
}
ul.conference-grid li {
    display: inline-block;
    width: 10rem;
    margin: 1rem 1rem 1rem 0;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1.1rem;
    text-align: center;
}
ul.conference-grid li:nth-child(10n-4) {
    margin-left: 3rem;
}

ul.conference-grid li img {
    width: 100%;
    border-radius: 50%;
}

p.conference-register {
    text-align: right;
    padding-right: 2rem;
    line-height: 3rem;
    margin-bottom: 0;
    font-size: 1.25rem;
    letter-spacing: 0.125rem;
    font-weight: bold;
}
p.conference-register a {
    margin-right: 2rem;
}
p.conference-register a:last-child {
    display: inline-block;
    background-color: #d1398f;
    color: #fff !important;
    padding: 0 1rem;
    border-radius: 0.5rem;
    line-height: 2.5rem;
    height: 2.5rem;
    margin-right: 0;
}

span.conf-time {
    display: inline-block;
    padding: 0 1rem 0 1rem;
    text-align: right;
    width: 11rem;
}

/* Footer */

.zoneFooter2 {
    margin-top: 0rem;
}