/*  
Theme Name: Ma'ayan Theme
Theme URI: http://www.maayan.org
Description: Custom WordPress theme for Ma'ayan
Version: 0
Author: Elliot Gerber
Author URI: http://www.elliotgerber.com
*/





/* Structure */

body {
	margin: 0px;
	padding: 0px;
	background-color: #58585a;
}

h1 {
	
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.625em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.625em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

a img {
	opacity: 1.0;
	filter: alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

a img:hover {
	opacity: 0.8;
    filter: alpha(opacity=80); /* For IE8 and earlier */
}




/* Page Links */

a,a:visited{
text-decoration: underline;
color: #06F;
}

a:hover {
	color: #039;
}

a:active{
	color: #000;
}

/* Social link button for YouTube on Recordings page 
 * If this class is removed, the inside of the button turns blue bc it is a visited link! */
.wp-block-social-link-anchor{
	color: white !important;
}

/* Buttons */
.wp-block-button__link {
	background-color: #06635D !important;
	color: #fff !important;
	text-decoration: none !important;
	margin: 10px !important;
}




/* Header */


#header {
	height: auto;
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
}

#topbar {
	height: auto;
	width: 100%;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1c8a83+0,2cbcb3+81 */
	background: rgb(28,138,131); /* Old browsers */
	background: -moz-linear-gradient(top,  rgb(28,138,131) 0%, rgb(44,188,179) 81%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgb(28,138,131) 0%,rgb(44,188,179) 81%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgb(28,138,131) 0%,rgb(44,188,179) 81%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1c8a83', endColorstr='#2cbcb3',GradientType=0 ); /* IE6-9 */
	overflow: visible;
}

#logo {
	float: left;
	height: 90px;
	width: 300px;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#logo img {
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

#donate-button {
	width: 400px;
	float: right;
	margin-top: 10px;
	text-align: right;
	height: 45px;
}


/* Primary Menu */

#primary-menu-bg {
	background: #1C8A83;	
}


#primary-menu {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	font-weight: bold;
	font-size: 15px;
	font-family: "futura-pt",sans-serif;
}

#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
	border: none;
	margin: 0;
	padding: 0;
	line-height: 1;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

#cssmenu {
	height: 39px;
	display: block;
	padding: 0;
	margin: 0;
	width: auto;
	border-color: #080808;
}

#cssmenu > ul > li > ul > li a:hover {
	background: #1C8A83;
}

#cssmenu > ul {
	list-style: inside none;
	padding: 0;
	margin: 0;
}

#cssmenu > ul > li {
	list-style: inside none;
	padding: 0;
	margin: 0;
	float: left;
	display: block;
	position: relative;
}

#cssmenu > ul > li > a {
	outline: none;
	display: block;
	position: relative;
	padding: 12px 20px;
	text-align: center;
	text-decoration: none;
	color: #ffffff;
}

#cssmenu .current-menu-item > a  {
	background: #06635D;
	
}

#cssmenu .current_page_parent {
	background: #06635D;

}

#cssmenu > ul > li > a:hover {
	background: #446471;
	color: #ffffff;
}

#cssmenu > ul > li:first-child > a {
	
}

#cssmenu > ul > li:last-child > a {
	/*background: #999F82;*/
}

#cssmenu > ul > li:last-child > a:hover {
	background: #868C72;
}

.register-now {
	background: #999F82;
}

.register-now:hover {
	background: #868C72;
}

#cssmenu > ul > li > a:after {
	content: '';
	position: absolute;
	top: -1px;
	bottom: -1px;
	right: -2px;
	z-index: 99;
	border-color: #3c3c3c;  
}

#cssmenu ul li.has-sub:hover > a:after {
	top: 0;
	bottom: 0;
}

#cssmenu > ul > li.has-sub > a:before {
	content: '';
	position: absolute;
	top: 17px;
	right: 6px;
	border: 5px solid transparent;
	border-top: 5px solid #ffffff;
}

#cssmenu > ul > li.has-sub:hover > a:before {
	top: 17px;
}

#cssmenu ul li.has-sub:hover > a {
	background: #446471;
	border-color: #3f3f3f;
	padding-bottom: 12px;
	padding-top: 12px;
	z-index: 999;
}

#cssmenu ul li.has-sub:hover > ul,
#cssmenu ul li.has-sub:hover > div {
	display: block;
}

#cssmenu ul li.has-sub > a:hover {
	background: #446471;
	border-color: #3f3f3f;
}

#cssmenu ul li > ul,
#cssmenu ul li > div {
	display: none;
	width: auto;
	position: absolute;
	top: 39px;
	padding: 10px 0;
	z-index: 999;
	background: rgb(68, 100, 113); 
	background: rgba(68, 100, 113, .9);
		-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

#cssmenu ul li > ul {
	width: 200px;
}
#cssmenu ul li > ul li {
	display: block;
	list-style: inside none;
	padding: 0;
	margin: 0;
	position: relative;
}
#cssmenu ul li > ul li a {
	outline: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 8px 20px;
	font-weight: bold;
	font-size: 15px;
	font-family: "futura-pt",sans-serif;
	color: #ffffff;
	text-decoration: none;
}
#cssmenu ul ul a:hover {
	color: #ffffff;
}

#cssmenu > ul > li.has-sub > a:hover:before {
	border-top: 5px solid #ffffff;
}





/* Top Menu */


#top-menu {
	width: 400px;
	float: right;
	margin-top: 20px;
	text-align: right;
}

#top-menu ul {
	padding-left: 0px;
	/* If you want you can change the list type from inside or outside */
	list-style: inside decimal;
	font-size: 0;
}

#top-menu li {
	display: inline;
	list-style-type: none;
	font-family: futura-pt, sans-serif;
	font-size: 14px;
	padding-right: 10px;
	padding-left: 10px;
	border-right-width: 2px;
	border-right-style: solid;
	border-right-color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	font-weight: bold;
}

#top-menu li:first-child {
    border-left: 0;
}

#top-menu li:last-child {
	border-right: 0;
	padding-right: 0px;
}

#top-menu li a, visited {
	color: #FFF;
	text-decoration: none;
	-webkit-transition: all 0.2s ease 0s;
	-moz-transition: all 0.2s ease 0s;
	-o-transition: all 0.2s ease 0s;
	transition: all 0.2s ease 0s;
}

#top-menu a:hover {
	color: #FFCC00;
	text-decoration: none;
}



/* Mobile Menu */

/*.shiftnav{
  font-family: "futura-pt",sans-serif;
}*/





/* Main Website */

#wrapper {

}

#bg-fade {
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e6f7f3+0,ffffff+100 */
	background: #e6f7f3; /* Old browsers */
	background: -moz-linear-gradient(top,  #e6f7f3 0%, #ffffff 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #e6f7f3 0%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #e6f7f3 0%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6f7f3', endColorstr='#ffffff',GradientType=0 );
	overflow: visible;
}

#content {
	width: 1000px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	height: auto;
	clear: both;
	overflow: auto;
	padding-top: 30px;
	padding-bottom: 60px;
}

#content a,a:visited{
text-decoration: underline;
color: #06F;
}

#content a:hover {
	color: #039;
}

#content a:active{
	color: #000;
}





/* Index Page  */

#announcements {
	float: right;
	height: auto;
	/* width: 300px; */
	width: 30%;
}


/* Index Post Styles*/


#announcements #posthead, #posthead a, #posthead a:visited {
	font-family: futura-pt, sans-serif;
	font-size: 22px;
	color: #1C8A83;
	text-decoration: none;
	font-weight: bold;
	-webkit-transition: all 0.4s ease 0s;
	-moz-transition: all 0.4s ease 0s;
	-o-transition: all 0.4s ease 0s;
	transition: all 0.4s ease 0s;
}

#announcements #posthead a:hover {
	color: #166D67;
	text-decoration: none;
}


#announcements .content {
	font-family: futura-pt, sans-serif;
	font-size: 16px;
	color: #333;
	line-height: 25px;
}



#announcements .post {
	margin-bottom: 20px;
}

#announcements p {
	margin: 0px;
	padding: 0px;
}

#announcements a:link, a:visited {
	color: #1C8A83;
	text-decoration: none;
}

#announcements a:hover {
	color: #CCCCCC;
}

#announcements a:active {
	color: #6AD0C9;
}


/* Front Page Splash and Story Slider */


#slider {
	float: left;
	width: 675px;
	overflow: hidden;
}




/* Index Widgets - sidebar 1 or responsive column widgets */


#widgets-index {
	font-family: futura-pt, sans-serif;
	margin-top: 10px;
	width: 675px;
	float: left;
	margin-bottom: 50px;
}

#widgets-index h3 {
	font-size: 22px;
	color: #1C8A83;

}

#widgets-index img {
	opacity: 1;
	transition: all .1s ease-in-out;
   -moz-transition: all .1s ease-in-out;
   -webkit-transition: all .1s ease-in-out;
}

#widgets-index img:hover {
	opacity: .7;
}

#index-widgets ul {
	padding: 0px;
	margin: 0px;
}

#widgets-index li {
	display: inline;
	margin-right: 28px;
}

#widgets-index li:last-child{
	margin-right: 0px;
}





/* Index sidebar - sidebar 2 */


#sidebar-index {
	font-family: futura-pt, sans-serif;
	margin-top: 10px;
	width: 300px;
	float: left;
	margin-bottom: 50px;
}

#sidebar-index h3 {
	font-size: 22px;
	color: #1C8A83;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#sidebar-index .textwidget {
	font-family: futura-pt, sans-serif;
	font-size: 16px;
	color: #333;
	line-height: 25px;
	margin-top: 15px;
}

#sidebar-index img {
	opacity: 1;
	transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-webkit-transition: all .1s ease-in-out;
	margin-top: 30px;
}

#sidebar-index img:hover {
	opacity: .7;
}

#sidebar-index ul {
	padding: 0px;
	margin: 0px;
}

#sidebar-index li {
	display: inline;
	margin-right: 28px;
}

#sidebar-index li:last-child{
	margin-right: 0px;
}






/* Side Pages */

/* Commented out float and width so that the calendar iFrame used the full width */
/* Leaving these in for now in case there were unexpected side effects! */

#content-sub {
	font-family: futura-pt, sans-serif;
	/*float: left;
	width: 675px;*/
	overflow: visible;
}

#posthead {
	font-family: futura-pt, sans-serif;
	font-size: 22px;
	color: #1C8A83;
	text-decoration: none;
	font-weight: bold;
}



#sidebar-sub {
	font-family: futura-pt, sans-serif;
	float: right;
	height: auto;
	width: 300px;
}

#sidebar-sub h3 {
	font-size: 22px;
	color: #1C8A83;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

#sidebar-sub .textwidget {
	font-family: futura-pt, sans-serif;
	font-size: 16px;
	color: #333;
	line-height: 25px;
	margin-bottom: 15px;
}

#sidebar-sub img {
	opacity: 1;
	transition: all .1s ease-in-out;
	-moz-transition: all .1s ease-in-out;
	-webkit-transition: all .1s ease-in-out;
	margin-top: 30px;
}

#sidebar-index img:hover {
	opacity: .7;
}

#sidebar-sub ul {
	padding: 0px;
	margin: 0px;
}

#sidebar-sub li {
	display: inline;
	margin-right: 28px;
}

#sidebar-sub li:last-child{
	margin-right: 0px;
}




/* Event Espresso */

#event-content a,a:visited{
text-decoration: underline;
color: #06F;
}

#event-content a:hover {
	color: #039;
}

#event-content a:active{
	color: #000;
}





/* Footer Elements */


#pagebottom {
	width: 100%;
	float: left;
	background-color: #284c6e;	
}

#pagebottomcenter {
	width: 1000px;
	height: 30px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FDFDFD;
}

#footer {
	width: 1000px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
	margin-top: 50px;
	margin-bottom: 100px;
	overflow: hidden;
}

#copyright {
	float: left;
	width: 500px;
}

#copyright p {
	font-family: futura-pt, sans-serif;
	color: #FFFFFF;
	font-size: 16px;
	margin: 0px;
	padding-top: 15px;
}

#copyright a:link, a:visited {
	color: #FFFFFF;
	text-decoration: none;
}

#copyright a:hover {
	color: #CCCCCC;
}

#copyright a:active {
	color: #6AD0C9;
}

#bottom-logo {
	float: right;
	width: 150px;
	background-image: url(images/bottom-logo.png);
	height: 150px;
	
}






/* Media Queries */


/* Screens larger than 1100 px width */

@media screen and (min-width: 1110px) {
	
/*#togglebutton {
	display: none;
}*/

}

/* DonorView modifications */

.event-template { 
	font-size: 10px !important;
    font-weight: 500 !important;
    text-align: left !important;
}

/* Screens smaller than 1100 px width */

@media screen and (max-width: 1110px) {

/*#container {
	margin-top: 90px;
}

#topbar {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 999;
}
	
#header {
	width: 95%;
}

#logo {
	height: 60px;
	width: 200px;
	margin-bottom: 10px;
}

#logo img {
	width: 100%;
	height: auto;
}

#togglebutton {
	float: right;
	margin-top: 25px;
}


#top-menu {
	display: none;
}

#donate-button {
	display: none;
}

#primary-menu-bg {
	display: none;
}
*/


}
