/* Reset
–––––––––––––––––––––––––––––––––––––––––––––––––– */

:link,:visited { text-decoration: none; }
ul,ol { list-style: none; }
h1,h2,h3,h4,h5,h6,pre,code,p { font-size: 1em; }
ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input { margin: 0; padding: 0; }
a img,:link img,:visited img { border: none; }
address { font-style: normal; }
*:focus { outline: none; }
textarea { overflow: auto; }  /* remove scroll bar in IE */
html { overflow-y: scroll; }  /* FF scroll bar jump fix */
img { vertical-align: bottom; max-width: 100%; height: auto; }

/* apply a natural box layout model to all elements */
* {-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

body {
    font: 100% "Open Sans", sans-serif;
    color: #444;
    height: 100%;
    background: #3f4a53;
}

a, a:visited {
    color: #0060a3;
}

a:hover {
    color: #2E7DB4;
}

p {
    line-height: 1.5;
    padding-top: 20px;
}

h1, h2, h3, h4 { line-height: 1; }

h2 {
    font-size: 40px;
    font-family: "roboto slab", sans-serif;
    color: #3f4a53;
    margin-bottom: 30px;
    position: relative;
}

.alt h2 {
    color: #fff;
}

h3 {
    font-size: 20px;
    padding-top: 20px;
}

.bylaws h3 {
    text-align: center;
}

.bylaws h3 span {
    font-size: 16px;
    padding-top: 5px;
    display: inline-block;
}

.inner {
    margin: 0 auto;
    max-width: 1050px;
    padding: 50px 40px;
}

.section {
    background: #fff;
}

.section h2 {
    text-align: center;
}

.nav {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav .inner {
    padding: 20px 40px;
}

.nav .logo {
    font-size: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: bold;
}

.nav .logo a {
    color: #0060a3;
}

.nav .logo a:hover {
    color: #2E7DB4;
}

.nav .inner,
.nav ul {
    display: -webkit-flex;
    display: flex;
}

.nav .inner {
    flex-direction: row;
    justify-content: space-between;
}

.nav ul li {
    display: inline-block;
    margin-left: 25px;
    /*text-transform: uppercase;*/
    font-weight: 700;
}

.nav ul li:first-child {
    margin-left: 0;
}

.nav a {
    color: #3f4a53;
}

.nav a:hover {
    color: #737B82;
}

.header {
    background: #3f4a53;
    text-align: left;
    color: #fff;
}

.header h2 {
    text-align: left;
}

.header .inner {
    position: relative;
}

.header a,
.header a:visited {
    color: #A8ADB1;
}

.header a:hover {
    color: #fff;
}

.header img {
    position: absolute;
    width: 220px;
}

.header .members {
    margin-left: 300px;
}

.header ul {
    display: flex;
    justify-content: space-between;
}

.header ul li {
    flex: 0 0 110px;
    line-height: 2;
}

.content {
    background: #e9ecef;
    border-bottom: 1px solid #e6e7e8;
}

.events h3 {
    font-size: 28px;
    line-height: 1.5;
    padding-top: 0;
}

.events ul {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
}

.events ul li {
    flex: 1;
    width: 50%;
    background: #fff;
    padding: 20px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
    text-align: center;
}

.events ul li:first-child {
    margin-right: 1%;
}

.events ul li:last-child {
    background: none;
    box-shadow: none;
    flex: 1 0 100%;
    padding: 30px 0 0 0;
}

.events ul li:last-child a {
    background: #00b383;
    border-radius: 4px;
    margin-top: 30px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
}

.events ul li:last-child a:hover {
    background: #17BA8E;
}

.events ul li div {
    padding: 3px 0;
}

.events ul li .info {
    font-size: 18px;
    color: #999;
}

.events ul li .location {
    font-size: 15px;
}

.events .register {
    font-size: 12px;
    background: #00b383;
    color: #fff;
    padding: 10px 12px;
    border-radius: 4px;
    display: inline-block;
}

.events .register:hover {
    background: #17BA8E;
}

.events .event-date div:first-child {
    padding-left: 0;
}

.events .button {
    padding: 8px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.events .soon {
    margin-top: 10px;
    font-size: 13px;
    color: #444;
}

.events-table {
    display: table;
    width: 100%;
}

.events-table:first-of-type {
    margin-bottom: 50px;
}

.events-table .col {
    display: table-cell;
    width: 33.333%;
}

.events-table .col:last-child {
    text-align: right;
}

.events-table .col-head {
    padding-bottom: 5    px;
    font-weight: bold;
}

.events-table .col ul li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.events-table .col ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.registration {
    text-align: center;
}

.registration .button {
    background: #0060a3;
    padding: 8px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    margin-top: 10px;
    display: inline-block;
}

.registration .button:hover {
    background: #2E7DB4;
}

.leadership p {
    padding-top: 5px;
}

.leadership h3 {
    font-size: 25px;
    padding-top: 30px;
}

.leadership h3:nth-child(2) {
    padding-bottom: 20px;
    padding-top: 10px;
}

.leadership h4 {
    font-size: 20px;
    padding-top: 20px;
}

.leadership h2:first-child {
    padding-top: 0;
}

.contact {
    background: #fff;
    color: #444;
}

.contact .inner {
    display: flex;
}

.contact h3 {
    color: #444;
    font-size: 20px;
    padding-bottom: 20px;
}

.contact .form h3 {
    padding-bottom: 0;
}

.contact .inner .about {
    flex: 1 1 40%;
}
.contact .inner .form {
    flex: 1 1 60%;
}

.contact .about p {
    padding-top: 0;
}

a.button,
a.button:visited {
    display: inline-block;
    padding: 6px 12px;
    background: #0060a3;
    color: #fff;
    border-radius: 4px;
}

a.button:hover {
    background: #2E7DB4;
    color: #fff;
}

/* cognito forms overrides */

.cognito .c-forms-form button {
    background: #00b383 !important;
    border: 0 !important;
    font-family: "Open Sans", sans-serif !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
}

.cognito .c-forms-form button:hover {
    background: #17BA8E !important;
}

.cognito .c-forms-form .c-forms-confirmation-message {
    padding: 0 !important;
    color: #00b383 !important;
}

.cognito .c-forms-form-details {
    display: none !important;
}

.cognito .c-forms-confirmation {
    min-height: auto !important;
}

/* end cognito form overrides */

.form {
    width: 600px;
    padding-left: 50px;
}

.half {
    float: left;
    width: 48%;
    margin-bottom: 1em;
}

.right {
    width: 50%;
}

.left {
    margin-right: 2%;
}

@media (max-width: 480px) {
    .half {
        width: 100%;
        float: none;
        margin-bottom: 0;
    }
}
/* Clearfix */
.cf:before,
.cf:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.cf:after {
    clear: both;
}

.footer .inner {
    font-size: 14px;
    padding: 20px;
}

@media (max-width: 900px) {
    .header img {
        position: static;
        display: block;
        margin: 0 auto;
    }

    .header .members {
        margin-left: 0;
    }

    .header h2 {
        text-align: center;
        margin-top: 40px;
    }
}

@media (max-width: 760px) {
    .nav .inner,
    .nav ul {
        display: block;
    }

    .nav .inner {
        text-align: center;
    }

    .nav .logo {
        margin-bottom: 15px;
    }
}

@media (max-width: 700px) {
    .header ul li {
        flex: 0 0 120px;
        font-size: 14px;
    }
}

@media (max-width: 680px) {
    .contact .inner {
        display: block;
    }
    .contact .inner .about,
    .contact .inner .form {
        width: 100%;
        display: block;
        flex: none;
    }

    .contact .inner .form {
        padding: 30px 0 0 0;
    }

    .events ul {
        flex: none;
        display: block;
    }

    .events ul li {
        display: block;
        width: 100%;
    }

    .events ul li:first-child {
        margin-right: 0;
        margin-bottom: 2%;
    }
}

@media (max-width: 650px) {
    .nav .inner {
        padding: 20px;
    }

    .nav ul li {
        margin-left: 15px;
    }

    .events-table .col ul li {
        font-size: 13px;
    }
}
