/*---------------------------------------------*/
/*
/*  GLOBAL ELEMENTS
/*
\*---------------------------------------------*/
body .icon {
    margin-right: 5px;
    font-size: 16px;
    text-decoration: none;
}
body {
  line-height: 1.33em;
  margin:0 0 2em 0;
  background-color: black;
}

#body a {
    font-weight: 400;
}

#body .btn.btn-primary,
.modal .btn.btn-primary {
    color: white;
}

legend {
    /* like H6 */
    font-size: 0.8em;
    font-family: 'Lato', arial, serif;
    font-weight: 700;

    /* like tabs */
    background: #efefef;
    background: rgba(187, 187, 187, 0.2);
    line-height: 2em;
    padding: 0 0.33em;
    border-radius: 0.33em;
}

a.rss-link {
    position: absolute;
    top: 2em;
    right: 2.5em;
    width: 28px;
    height: 28px;
    background: url('../images/feed-icon-28x28.png');
    text-indent: -9999em;
}

img#background {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}




/*---------------------------------------------*/
/*
/*  CONTAINERS
/*
\*---------------------------------------------*/
#body-wrap,
#header-wrap,
#side-nav,
#wrapper {
    width: 100%;
}
#body-wrap {
    position: relative;
    z-index: 1;
}
#header-wrap {
    position: relative;
    background: black;
    color: white;
    z-index: 2;
}
#page_sidebar {
    max-width: 21%;
    padding: 1% 0 1% 1%;
    width: 21%;
}

#page_main {
    max-width: 75%;
    width: 75%;
}




/*---------------------------------------------*/
/*
/*  HEADER
/*
\*---------------------------------------------*/
#header {
    width: 960px;
    position: relative;
    margin: 0 auto;
    font-weight: 100;
}

#header h1 {
    line-height: 1em;
    max-width: 740px;

    /* font-family set by Heading 1 */
    font-style: normal;
    font-weight: 100;
    font-size: 4em;
    text-decoration: none;
    color: white; /* set for #header_wrap by this file */
    background: none;
    margin: 0;
    padding: 0.5em 0;
    border: none;
}

#page_title {
    display: inline-block;
    margin-bottom: 0;
    line-height: 1em;
}




/*---------------------------------------------*/
/*
/*  NAVIGATION
/*
\*---------------------------------------------*/
#navigation {
    width: 100%;
}
#navigation #menu {
    list-style: none;
    margin: 0;
    font-size: 15px;
    padding: 5px 15px 0 0;
    white-space: nowrap;
    overflow: hidden;
}

#navigation #menu > li {
    display: inline-block;
    line-height: 24px;
}

#navigation #menu > .menuItem > a,
#navigation #menu > .menuItem > span {
    padding: 4px 14px 3px;
    border-width: 1px 1px 0 1px;
    border-top-right-radius: 7px;
    border-top-left-radius: 7px;
}

#authentication p {
    margin-top: 0;
}

#authentication .link-to-signout a,
#authentication .link-to-signin a {
    padding: 2px 14px 5px;
    border-width: 0px 1px 1px 1px;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
    font-weight: 300;
}

#authentication .link-to-signout a,
#authentication .link-to-signin a,
#navigation #menu > .menuItem > a,
#navigation #menu > .menuItem > span {
    display: inline-block;
    border-style: solid;
    border-color: #555;
    color: #eee;
    text-decoration: none;
}

#navigation #menu > .menuItem > span > a {
    color: white;
}
#navigation #menu > .menuItem > span > a:hover {
    text-decoration: none;
}

#authentication .link-to-signout a:hover,
#authentication .link-to-signin a:hover,
#navigation #menu > .menuItem.hovered > a,
#navigation #menu > .menuItem.hasSubMenu.hovered > span,
#navigation #menu > .menuItem > span:hover {
    background: #222;
    color: white;
    border-color: #aaa;
}

#navigation #menu > .menuItem > span.menu-item-current:hover {
    background: white;
    color: rgb(59, 168, 159);;
    border-color: white;
}

#navigation #menu > .menuItem > .menu-item-current {
    color: rgb(59, 168, 159);
    border-color: white;
    background: white;
    font-weight: 400;
}

#navigation .subMenu {
    display: none;
    position: absolute;
    z-index: 95;
    margin: 0;
    padding: 8px 20px 8px 14px;
    background: #222;
    border-style: solid;
    border-width: 0 1px 1px 1px;
    border-color: #aaa;
    border-bottom-right-radius: 7px;
    border-bottom-left-radius: 7px;
}

#navigation .subMenu > li {
    display: block;
}

#navigation .subMenu > li > span > a,
#navigation .subMenu > li > .menu-item-current {
    display: block;
    color: white;
    font-weight: 300;
    padding: 0.125em 0;
    text-decoration: none;
}

#navigation .subMenu > li > .menu-item-current {

}

#navigation .subMenu > li > span > a:hover {
    text-decoration: underline;
}

#navigation .menuItem.hovered .subMenu {
    display: block;
}


/*---- Secondary Navigation ----*/
#secondary_navigation {
    position: absolute;
    top: 6px;
    right: 10px;
    text-align: right;
}
input#search {
    font-size: 1em;
    line-height: 1em;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid #555;
    border-radius: 7px;
    padding: 0.25em 0 0.25em 0.5em;
    -webkit-appearance: none;
    margin: 0.66em 0;
    font-family: 'Lato';
    font-weight: 400;
    width: 12em;
}
input#search::-webkit-input-placeholder,
input#search:-moz-placeholder {
    color: white;
    font-family: 'Lato';
    font-weight: 400;
}

#authentication a {
    font-weight: 400;
    color: white;
}
#authentication .link-to-settings {
    margin:0 1em;
}




/*---------------------------------------------*/
/*
/*  BODY
/*
\*---------------------------------------------*/
#body {
    width: 920px;
    position: relative;
    margin: 0 auto 4em auto;
    overflow: hidden;
    background: white;
    padding: 2em 0em 0.5em 2.5em;
    border-bottom-right-radius: 14px;
    border-bottom-left-radius: 14px;
    box-shadow: 2px 2px 5px #888;
    -moz-box-shadow: 2px 2px 5px #888;
    -webkit-box-shadow: 2px 2px 5px #888;
}

#document { padding-right: 2.5em; }

/*---- Page Admin ----*/
ul.-unite-page-admin {
    font-size: 0.8em;
    line-height: 1.5em;
    vertical-align: bottom;
    padding-right: 2.5em;
}
#body ul.-unite-page-admin li {
    vertical-align: middle;
}
#body ul.-unite-page-admin li a {
    padding: 3px 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
#body ul.-unite-page-admin li a:before {
    font-family: FontAwesome;
    font-size: 10px;
    content: "\f067\0000a0\0000a0";
}
#body ul.-unite-page-admin li a[title="Page Settings"]:before,
#body ul.-unite-page-admin li a[title="Feed Settings"]:before {
    content: none;
}
#body ul li.-unite-page-draft {
    margin-right: 5px;
}

.-unite-calendar-page #body,
.-unite-post #body {
  padding-right: 2.5em;
}




/*---------------------------------------------*/
/*
/*  GROUPS
/*
\*---------------------------------------------*/
#body #groups {
    width: 70%;
}

#groups .group {
    border-bottom: 1px solid #e1e1e1;
}

#body .group-metadata ul {
    height: 30px;
}

.group-widget.group-widget-large {
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}
.group-widget.group-widget-large .group-widget-title {
    font-size: 1.5em;
}
.group-widget.group-widget-large .group-widget-title-and-summary,
.group-widget.group-widget-large .group-widget-leaders {
    float: none;
    width: auto;
    padding: 0;
}
.group-widget.group-widget-large .group-widget-leaders {
    line-height: 40px;
}
.group-widget.group-widget-large .group-widget-leaders h6 {
    display: none;
    line-height: 28.3024005889893px;
}
.group-widget.group-widget-large .group-widget-leaders .group-leader {
    display: inline-block;
}
.group-metadata {
    font-size: 0.75em;
    font-weight: 700;
}
textarea#group_summary {
    width: 100%;
}




/*---------------------------------------------*/
/*
/*  PROFILE
/*
\*---------------------------------------------*/
.personal-information {
    height: auto;
}
.profile-portrait {
    height: 62px;
    width: 62px;
}
.portrait {
    float: none;
    margin: 0;
}
.profile-portrait img {
    height: 100%;
    width: 100%;
}
.profile-name-and-email {
    margin-left: 8px;
}
h1.profile-name {
    margin: 10px 0;
}
.profile-email {
    float: left;
    word-break: break-all;
    word-wrap: break-word;
}
.profile-email span:not(:first-child) {
    padding-left: 20px;
}
#body .profile-email a {
    color: #adadad;
    padding-left: 5px;
}
.profile-email::before {
    font-family: FontAwesome;
    content: "\f0e0";
    color: #adadad;
}
.profile-contact-information {
    color: #adadad;
    display: block;
    margin: 12px 0 6px 74px;
    max-width: 80%;
}
.profile-contact-information ul {
    margin-left: 22px;
}




/*---------------------------------------------*/
/*
/*  MEMBER DIRECTORY
/*
\*---------------------------------------------*/
#membership_directory .portrait {
    float: left;
    width: 48px;
}
#membership_directory .memberdir-info {
    float: none;
    padding: 6px 0 0 64px;
}
#membership_directory ol {
    margin: 20px 0 10px 0;
}
#membership_directory ol li {
    width: 50%;
}




/*---------------------------------------------*/
/*
/*  EVENTS
/*
\*---------------------------------------------*/
.event-information .event-actions {
    margin: 1em 0;
    position: relative;
    text-align: left;
}
.event-rsvp-banner .event-rsvp-responses {

}
.event-name {
    font-weight: bold;
}

.calendar { padding-right: 2.5em; }
#calendar_controls { padding-right: 2.5em;}




/*---------------------------------------------*/
/*
/*  POSTS
/*
\*---------------------------------------------*/
.post {
    margin-top: 1.5em;
}
.post-info {
    font-size: 0.88em;
    color: #8b8b8b;
}
.post-time {
    color: #555;
}
.post-time,
.post-author,
.post-comments-count {
    font-weight: 400;
}
#body .post-info a {
    text-decoration: none;
    font-weight: 300;
}
#body .post-info a:hover {
    text-decoration: underline;
}




/*---------------------------------------------*/
/*
/*  COMMENTS
/*
\*---------------------------------------------*/
.comment-container {
    position: relative;
}
.comment h1,
.comment h2,
.comment h3,
.comment h4,
.comment h5,
.comment h6 {
    line-height: 1em;
    margin: 0.5em 0 0.25em 0;
}

.comment h1 {
    font-size: 1.5em;
}
.comment h2 {
    font-size: 1.15em;
}
.comment h3 {
    font-size: 1em;
}
.comment h4,
.comment h5,
.comment h6 {
    font-size: 0.8em;
    font-weight: bold;
}

.comment-avatar {
    height: 48px;
    width: 48px;
}
.comment-avatar img {
    height: 100%;
    width: 100%;
}
.comment-byline,
.comment-controls {
    display: block;
    margin: 4px 0 4px 58px;
}

.comment-content {
    border-top: 1px dotted silver;
    margin: 10px 0 8px 58px;
    padding-top: 6px;
}
.comment-editor *[name="comment[content]"] {
    width: 90%;
}

.comment-category {
    margin-left: 0.5em;
}

.comment-replies .comment-avatar {
    height: 32px;
    width: 32px;
}
.comment-replies .comment-byline {
    margin-top: 0px;
}
.comment-replies .comment-byline,
.comment-replies .comment-controls {
    margin-left: 42px;
}
.comment-replies .comment-content {
    margin-left: 42px;
}

li.comment-thumbnail {
    margin-bottom: 6px;
}
.comment-thumbnail div {
    vertical-align: top;
}
.comment-thumbnail p {
    font-size: 90%;
    line-height: 130%;
}
.comment-thumbnail div.comment-thumbnail-avatar {
    display: block;
    float: left;
    height: 32px;
    margin-right: 6px;
    width: 32px;
}
.comment-thumbnail div.comment-thumbnail-content {
    display: block;
    padding-left: 38px;
}




/*---------------------------------------------*/
/*
/*  SIDEBAR & TABS
/*
\*---------------------------------------------*/

#page_sidebar::after {
  content: ‘.’;
  display: block;
  clear: both;
  color: transparent;
  height: 0;
}

.tabs > li {
    background-color: rgba(187, 187, 187, 0.2);
    border-left: 5px solid rgb(187, 187, 187);
}

h3.tab-name {
    font-size: 1.5em;
    line-height: 1.25em;
}

.tab-name a {
    color: black !important;
    text-decoration: none;
}

.tab {
    cursor: pointer;
}




/*---------------------------------------------*/
/*
/*  FOOTER
/*
\*---------------------------------------------*/
#footer {
    margin-top: 4em;
    padding: 0.5em 0;
    border-top: 2px solid black;
}
#footer span {
  display: block;
}
#footer #social_links {
  text-align: center;
  margin-top: 10px;
}
#footer a.-unite-social-link { margin-left: 0.3em; }
#footer a.-unite-social-link:hover { text-decoration: none; }
#footer a.-unite-social-link i { font-size: 2em; }





/*---------------------------------------------*/
/*
/*  MENU BAR
/*
\*---------------------------------------------*/
#menu-bar {
    color: white;
    display: none;
    height: 50px;
    left: 0;
    overflow: hidden;
    position: fixed;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    top: 0;
    width: 100%;
    z-index: 998;
    box-shadow: inset 0 -12px 12px -12px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0 -12px 12px -12px rgba(0,0,0,0.5);
    -webkit-box-shadow: inset 0 -12px 12px -12px rgba(0,0,0,0.5);
}
#menu-bar-wrap {
    background: rgba(0,0,0,0.6);
    height: 50px;
}
#mobile-menu,
#mobile-top {
    color: white;
    height: 50px;
    position: absolute;
    text-indent: -9999em;
    top: 0;
    width: 50px;
}
#mobile-menu {
    background: url(../images/mobile-menu-icon.png) no-repeat left top;
    left: 0;
}
#mobile-top {
    background: url(../images/mobile-arrow-top-icon.png) no-repeat left top;
    right: 0;
}
#mobile-name {
    font-size: 1.90em;
    line-height: 1.3em;
    margin: 0 auto;
    overflow: hidden;
    padding: 9px 0;
    text-align: center;
    width: 75%;
}
#mobile-name img {
    height: 30px;
}




/*---------------------------------------------*/
/*
/*  SIDE NAV
/*
\*---------------------------------------------*/
#side-nav {
    background: rgba(0,0,0,0.85);
    display: none;
    height: auto;
    left: -9999px;
    min-height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}
#side-nav-menu-icon {
    background: url(../images/mobile-menu-icon.png) no-repeat left top;
    height: 50px;
    left: 0;
    position: absolute;
    text-indent: -9999em;
    top: 0;
    width: 50px;
}
#side-nav #nav-links #menu {
    list-style: none;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
    width: 100%;
}
#side-nav #nav-links #menu .menuItem {
    background: rgba(0,0,0,0.4);
    cursor: pointer;
    font-size: 1.25em;
    list-style: none;
    margin: 0 0 1px 0;
    padding: 0;
    width: 100%;
}
#side-nav #nav-links #menu .menuItem div {
    background: url(../images/side-nav-menu-item-arrow.png) no-repeat right 0;
    float: right;
    height: 50px;
    right: 0;
    width: 50px;
}
#side-nav #nav-links #menu .menuItem div.expanded {
    background-position: right -50px;
}
#side-nav span.menu-item-wrapper {
    padding: 15px 5%;
}
#side-nav #nav-links #menu .menuItem span.menu-item-wrapper,
#side-nav #nav-links #menu .menuItem a,
#side-nav #nav-links #menu .menuItem a:link {
    color: white;
    display: block;
    text-decoration: none;
    width: 90%;
}
#side-nav #nav-links #menu .menuItem a:visited {
    color: white;
}
#side-nav #nav-links #menu .menuItem a:hover {

}
#side-nav #nav-links #menu .menuItem:hover .subMenu {
    top: auto;
}
#side-nav #nav-links #menu .menuItem .subMenu {
    margin-left: 0;
}
#side-nav #nav-links #menu .menuItem .subMenu,
#side-nav #nav-links #menu .menuItem.contracted .subMenu {
    background: #1c1c1c;
    display: none;
    position: relative;
    top: auto;
    width: 100%;
}
#side-nav #nav-links #menu .menuItem.expanded .subMenu {
    display: block;
    list-style: none;
}
#side-nav #nav-links #menu .menuItem .subMenu .menuItem {
    background: rgba(0,0,0,0.7);
    font-size: 1em;
    list-style: none;
    margin-bottom: 1px;
}
#side-nav #nav-links #menu .menuItem .subMenu .menuItem a,
#side-nav #nav-links #menu .menuItem .subMenu .menuItem a:link {
    color: white !important;
    padding: 0 0 0 5%;
    text-shadow: 0 1px 0 black;
    width: 85%;
}
#side-nav #nav-links #menu .menuItem .subMenu .menuItem span.menu-item-wrapper {
    width: 100%;
}
#side-nav #nav-links #menu .menuItem .subMenu .menuItem:hover a,
#side-nav #nav-links #menu .menuItem .subMenu .menuItem a:hover{
    background: none;
}
#side-nav #current_user_wrapper {
    display: none;
}

#side-nav #search_box {
    background: none;
    float: none;
    position: absolute;
    right: 10px;
    top: 0;
}
#side-nav #search_box form {
    margin: 0;
}
#side-nav #search_box input {
    background: white;
    border: black;
    color: black;
    width: 200px;
}




/*---------------------------------------------*/
/*
/*  GENERIC
/*
\*---------------------------------------------*/
.clearfix {
    clear: both;
}





/*---------------------------------------------*/
/*
/*  COMMON CSS OVERRIDES
/*
\*---------------------------------------------*/
.layout {
    overflow: hidden;
    margin: -10px;
}

.cell-padding {
    margin: 10px;
    padding: 0;
}





/*---------------------------------------------*/
/*
/*  MEDIA QUERIES
/*
\*---------------------------------------------*/

/*---- Tablet ----*/
@media screen and (max-width: 1021px) {

    #header {
        padding-right: 2.5%;
        padding-left: 2.5%;
        width: 95%;
    }
    #header h1 {
        font-size: 3em;
        padding: 0.75em 0;
        width: 65%;
    }
    #body-wrap {
        padding: 0 2.5% 3.25% 2.5%;
        width: 95%;
    }
    #body {
        width: 95%;
        padding: 5% 0% 2.75% 5%;
    }
    #page_main {
        max-width: 68%;
        width: 68%;
        padding-right: 2.5em;
    }
    #page_sidebar {
        max-width: 31%;
        width: 31%;
    }
    .-unite-calendar-page #body,
    .-unite-post #body {
        width: 90%;
        padding-right: 5%;
    }

    #calendar_controls #event_scope { font-size: 1.5em; }

}

/*---- Phablet ----*/
@media screen and (max-width: 767px) {

    #header img {
        max-width: 100%;
    }

    .event-rsvp-banner .event-rsvp-responses {
        display: block;
        margin: 0.5em 0;
    }

    #membership_directory ol li {
        width: 100%;
    }

    #calendar_controls #event_scope { font-size: 1.2em; }

}

/*--- Mobile ----*/
@media screen and (max-width: 640px) {

    #wrapper {
        position: relative;
        top: 0;
    }
    #header {
        padding-top: 50px;
    }
    #header h1 {
        font-size: 2.5em;
        height: auto;
        padding-bottom: 0.5em;
        padding-top: 0.5em;
        width: 100%;
    }
    #body-wrap {
        padding: 0 1.5% 1.5% 1.5%;
        width: 97%;
    }
    #body {
        margin-bottom: 0;
    }
    #secondary_navigation,
    #navigation {
        display: none;
    }
    #authentication {
        position: absolute;
        top: 15px;
        right: 40px;
        font-size: 13px;
    }
    #nav-links {
        margin-top: 50px;
    }
    #nav-links #menu {
        height: auto;
    }
    #menu-bar {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        display: block;
    }
    #side-nav {
        display: block;
    }

    #quick_info {
        display: none;
    }

    #page_main,
    #page_sidebar {
        float: none;
        max-width: 100%;
        width: 100%;
    }

    #page_sidebar {
        background: none;
        border: none;
        padding: 20px 0 0 0;
        width: 100%;
    }

    #page_sidebar .tab,
    #page_sidebar .tab.selected {
        text-align: left;
    }

    .profile-name-and-email {
        margin-left: 2%;
        max-width: 70%;
    }

    #calendar_controls { height: auto; }
    #calendar_controls > span,
    #calendar_controls > div {
        display: block;
        margin-bottom: 15px;
        width: 100%;
    }
    #calendar_controls #event_scope {
        margin-left: 0;
    }
    #calendar_controls .calendar-modifiers {
        float: none;
    }
    .list-view {
        padding: 2em 0;
        font-size: .8em;
    }
    #footer span {
      display: block;
      text-align: center;
    }

}




/*---------------------------------------------*/
/*
/*  RETINA
/*
\*---------------------------------------------*/

@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min--moz-device-pixel-ratio: 2),
       screen and (-o-min-device-pixel-ratio: 2/1),
       screen and (min-device-pixel-ratio: 2) {

    #mobile-menu {
        background-image: url(../images/mobile-menu-icon@2x.png);
        -webkit-background-size: auto 50px;
         -moz-background-size: auto 50px;
            background-size: auto 50px;
    }

    #mobile-top {
        background-image: url(../images/mobile-arrow-top-icon@2x.png);
        -webkit-background-size: auto 50px;
         -moz-background-size: auto 50px;
            background-size: auto 50px;
    }

    #side-nav-menu-icon {
        background-image: url(../images/mobile-menu-icon@2x.png);
        -webkit-background-size: auto 50px;
         -moz-background-size: auto 50px;
            background-size: auto 50px;
    }

    #side-nav ul li div {
        background: url(../images/side-nav-menu-item-arrow@2x.png) no-repeat right 0;
        -webkit-background-size: auto 100px;
         -moz-background-size: auto 100px;
            background-size: auto 100px;
    }
    #side-nav ul li div.expanded {
        background: url(../images/side-nav-menu-item-arrow@2x.png) no-repeat right -50px;
        -webkit-background-size: auto 100px;
         -moz-background-size: auto 100px;
            background-size: auto 100px;
    }

}
