/*
Theme Name: The One Theme
Theme URI: https://github.com/Bahai/view
Author: Office of Web Development, United States Bahá’í National Center
Author URI: http://www.bahai.us
Description: Wordpress based factoring of the general theme framework for Bahá’í National Center websites
Version: 1.0
License: The MIT License (MIT)
License URI: https://github.com/Bahai/view/blob/master/LICENSE
Tags: foundation, responsive
Text Domain: wordpressview
*/

.row {
    width: 1140px;
}

body, html {
    height: 100%;
}

body {
    background-color: #1a1a1a;
}

ul {
    list-style-position: inside;
}

header.entry-header h2 {
    margin-top: 0;
}

header > div.header-wrapper {
    background: url('/wp-content/themes/view/wordpress-view/images/header.jpg') 0 0 no-repeat transparent;
}

div.header-wrapper div.columns {
    margin-top: 20px;
}

div.header-wrapper nav.top-bar {
    background-color: transparent;
}

@media only screen and (max-width: 1140px) {
    div.header-wrapper nav.top-bar {
        background-color: transparent;
    }
}

div.header-wrapper nav.top-bar li {
    border-color: transparent;
    box-shadow: none;
    background-color: #fff;
    color: #000;
}

div.header-wrapper nav.top-bar li:hover {
    border-color: transparent;
    background-color: #fff;
}

div.header-wrapper nav.top-bar li a {
    border-color: transparent;
    color: #000;
}

div.header-wrapper nav.top-bar li a:hover {
    color: #000;
}

div.header-wrapper nav.top-bar ul.right .has-dropdown .dropdown li.has-dropdown > .dropdown {
    /* Override default flyout direction for right aligned menu */
    left: 100%;
    position: absolute;
    top: 0;
}

div.header-wrapper nav.top-bar ul.right .has-dropdown .dropdown {
    /* Override default flyout direction for right aligned menu */
    left: 0;
    right: auto;
    background-color: #fff;
}

div.header-wrapper nav.top-bar ul > li.has-dropdown .dropdown li a {
    white-space: normal;
    color: #000;
}

div.header-wrapper nav.top-bar ul > li.has-dropdown .dropdown li,
div.header-wrapper nav.top-bar ul > li.has-dropdown .dropdown li a:hover,
div.header-wrapper nav.top-bar ul > li.has-dropdown .dropdown li a:focus {
    /* Backgound colors for dropdown items */
    background-color: #fff;
    color: #000;
}

div.header-wrapper nav.top-bar ul > li:hover:not(.name) a,
div.header-wrapper nav.top-bar ul > li.active:not(.name) a,
div.header-wrapper nav.top-bar ul > li:focus:not(.name) a {
    /* Hover state for text links in top-bar menu */
    color: #000;
}

div.header-wrapper nav.top-bar ul > li.toggle-topbar a {
    border-color: #ccc transparent transparent;
}

div.header-wrapper nav.top-bar.expanded ul li.toggle-topbar a {
    border-color: transparent transparent #ccc;
}

.orbit-caption {
    padding: 7px;
}

div.content-container {
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

div.content-container .sidebar {
    padding-bottom: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
}

div.content-container .sidebar h4 {
/*    width: 285px; */
    margin: 0 auto;
}

.textwidget p {
    font-size: 12px;
}

.textwidget img {
    margin-bottom: 10px;
}

.read-more-button {
    width: 100%;
    background-color: #f71d1c;
    padding: 10px;
    text-align: center;
    color: #fff;
    border-radius: 0.3em;
}

.read-more-button a {
    color: #fff;
}

.light {
    font-weight: 300;
}

div.sidebar div.twelve h4.light {
font-weight: bold;
text-align: center;
margin-top: -10px;
margin-bottom: 10px;}

footer {
    margin: 10px auto 20px auto !important;
    background-color: #333;
    padding: 20px;
    color: #fff;
    font-size: 0.85em;
}

footer p,
footer p a, {
    color: #fff;
    font-size: 0.85em;
}

footer img.footer-logo {
    margin: 5% auto 0;
}

footer ul.menu-widget li a {
    font-size: 0.85em;
    color: #fff;
}
img.right-align {
    float: right !important;
    margin-right: 0 !important;
}

img.left-align {
    margin-left: 0 !important;
}

.profile-box {
    color: #ededed;
    text-align: right;
    line-height: 1.3;	

}

.profile-box a { color: #ededed; text-decoration:underline; }  /* unvisited links */

.profile-box a.icon {
    margin-left: 5px;
    text-decoration: none;
}

.profile-box a.icon img {
    height: 20px;
}

.profile-wrapper {
    float: right;
    margin: 0 25px 15px 0;
    padding-bottom: 15px;
    position: relative;
    display: block;
    z-index: 1000;
}

.profile-wrapper:before {
    content: "";
    background-color: #000;
    opacity: .7;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: -1;
}

.profile-box form {
    margin-bottom: 0;
    opacity: 1;
    position: relative;
    z-index: 1001;
}

.logo-wrapper img {
    margin: auto;
    width: 100%;
}

.logo-wrapper .img-wrapper {
    min-height: 167px;
    z-index: 999;
    position: relative;
    display: block;
}

.logo-wrapper .img-wrapper:before {
    content: "";
    background-color: #000;
    opacity: .7;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: -2;
}

.logo-wrapper .img-wrapper img {
    height: auto;
    width: 50%;
    margin-left: 25%;
}

.logo-wrapper .img-wrapper h2 {
    font-family: 'Requiem Display A', 'Requiem Display B'; 
    font-weight: 400; 
    font-style: normal;
    color: #fff;
    font-size: 26px;
    text-align: center;
}

@media only screen 
and (min-width: 768px) 
and (max-width: 1024px) 
and (orientation: portrait) {
    .logo-wrapper .img-wrapper {
        min-height: 137px;
    }
}

@media only screen 
and (max-width: 767px) {
    .logo-wrapper .img-wrapper {
        min-height: 50px;
    }
    .logo-wrapper .img-wrapper .logo-img {
        padding-right: 0;
    }
    .logo-wrapper .img-wrapper img {
        width: 100%;
        margin: 7px 0 0 0;
    }
}

@media only screen 
and (min-width: 769px) {
    .name {
        display: none !important;
    }
}

.under-wrapper {
    background-color: white;
}

.top-bar ul.right {
    float: right;
    width: auto;
    margin-bottom: 0px;
    margin-right: 25px;
    position: inherit;
}
@media only screen 
and (max-width: 768px) {
    .profile-wrapper {
        margin-right: 0;
    }
    .top-bar ul.right {
        width: 100%;
        margin-right: inherit;
    }
    ul.dropdown li.title.back h5 a,
    .top-bar ul > li.has-dropdown .dropdown li a {
        color: #000;
    }
    .top-bar ul > li.has-dropdown.moved .back.title a:before {
	border-color: rgba(0, 0, 0, 0) #CCCCCC rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    }
    .top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a:after {
	border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #ccc;
    }
}

.top-bar ul > li a:not(.button) {
    padding: 0 15px;
}

.top-bar ul > li.has-dropdown > a {
    padding: 0 30px 0 7px;
}

.top-bar ul > li.has-dropdown > a:after {
    border-color: #ccc transparent transparent transparent;
}

.top-bar {
    position: relative;
}

ul.breadcrumbs {
    border-color: transparent;
    box-shadow: none;
    background-color: #fff;
}

ul.breadcrumbs li:before {
	content: ">";
	color: rgb(170, 170, 170);
}

ul.side-nav li {
    padding: 3px 3px 4px 5px;
    margin-bottom: 0;
}

ul.side-nav li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

nav li.current-menu-item {
	background-color: black !important;
	color: white;
}

nav li.current-menu-item > a:hover {
    background-color: black !important;
    color: #ededed !important;
}

nav li.current-menu-item a {
	color: #ededed !important; 
}

nav li.current-menu-item ul a {
	color: black !important;
	white-space: normal; 
}

header .columns {
	margin-top: 0px !important; 
}

div.footer-container a {
	color: #ededed; 
}

a {
color: #145dab;
text-decoration: none;
line-height: inherit;
}

/* What we do boxes */
.wwd-panel {
    margin-top: 15px;
    padding: 0 7px;
}

.wwd-panel.first {
    padding: 0 7px 0 0;
}

.wwd-panel.last {
    padding: 0 0 0 7px;
}
.wwd-header {
    background-color: #6C9C34;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
    color: #FFFFFF;
    margin: 0;
    padding: 5px;
    text-align: center;
    line-height: 28px;
    vertical-align: middle;
    font-weight: bold;
}

.wwd-2lineheader {
    background-color: #6C9C34;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
    color: #FFFFFF;
    margin: 0;
    padding: 5px;
    text-align: center;
    min-height: 38px;
    font-weight: bold;
}

.wwd-body {
    background-color: #f2f2f2;
    padding: 10px;
    min-height: 230px;
    line-height: 18px;
}

.wwd-button a {
    background-color: #0B5BAE;
    border-radius: 0.3em 0.3em 0.3em 0.3em !important;
    width: 100%;
    border: 0 transparent #f2f2f2;
    box-shadow: none;
}

.wwd-button a:hover {
    background-color: #0B5BAE;
}

.wwd-button {
    width: 85%;
    margin: auto;
    position: absolute;
    bottom: 5px;
}

.get-involved-button {
    margin: auto;
    width: 85%;
}

.get-involved-button a {
    background-color: #f71d1c;
    border-radius: 0.3em 0.3em 0.3em 0.3em !important;
    width: 100%;
    border: none !important;
    box-shadow: none;
}

.get-involved-button a:hover {
    background-color: #f71d1c;
}

.newsroom-button {
    margin: auto;
    width: 85%;
}

.newsroom-button a {
    background-color: #0B5BAE;
    border-radius: 0.3em 0.3em 0.3em 0.3em !important;
    width: 100%;
    border: none !important;
    box-shadow: none;
}

.newsroom-button a:hover {
    background-color: #0B5BAE;
}
h3.article-headers {
    margin-top: 0;
}

.event-date-wrapper {
    background-color: #145DAB;
    border-bottom-right-radius: 0.3em;
    border-top-right-radius: 0.3em;
}

.event-date {
    width: 100%;
    padding: 5px;
    color: #fff;
    text-align: center;
}

.category-list {
    padding: 7px;
    background-color: #f2f2f2;
    margin-bottom: 15px;
}

.category-list p {
    margin-bottom: 0;
}
/*
 *
  Date picker and tooltip widgets
 *
*/
.ui-widget {
    font-size: 0.9em;
}

.ui-datepicker {
    width: 100%;
    height: auto;
}

.ui-datepicker table {
    width: 100%;
}

.ui-datepicker table td,
.ui-datepicker table th {
    padding: 0;
}

.ui-datepicker-header {
    color: #fff;
    background-color: #F71D1C;
    font-weight: bold;
}

.ui-datepicker-title {
    text-align: center;
    line-height: 30px;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    cursor: pointer;
}

.ui-datepicker-prev {
    float: left;
}

.ui-datepicker-next {
    float: right;
    margin-right: 5px;
}

.ui-datepicker-next:after {
    content: "";
    border-color: rgba(0,0,0,0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #FFFFFF;
    border-image: none;
    border-style: solid;
    border-width: 9px;
    display: block;
    height: 0;
    margin-top: 5px;
    width: 0;
}
.ui-datepicker-prev:before {
    content: "";
    border-color: rgba(0,0,0,0) #FFFFFF rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    border-image: none;
    border-style: solid;
    border-width: 9px;
    display: block;
    height: 0;
    margin-top: 5px;
    width: 0;
}

.ui-datepicker th {
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
}

.ui-datepicker tbody td {
    border-right: none;
    text-align: center;
    padding: 3px 0;
}

.ui-datepicker-unselectable {
    background-color: #f4f4f4;
    color: #b4b3b3;
}

.highlighted-event {
    background-color: #F71D1C;
}

.highlighted-event a {
    color: #FFF !important;
}

.ui-datepicker tbody tr {
    border-bottom: 1px solid #bbb;
}

.ui-datepicker tbody tr:last-child {
    border-bottom: 0px
}

.ui-tooltip {
    width: 25%;
    overflow: hidden;
}

.event-tooltip {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #95a9ae;
}

#events-calendar {
    margin-bottom: 15px;
}

#events-calendar h2 a i {
    vertical-align: middle;
}

.event-date, .event-title {
    float: left;
}

.event-title {
    width: 75%;
    padding: 0 10px 0 10px;
}

.event-tooltip .event-date {
  width: 25%;
  background-color: #2c373a;
  color: #fff;
  padding: 10px 10px 500px 10px;
  margin-bottom: -500px;
  text-align: center;
  font-size: 16px;
  line-height: 20px;
}
