/*
 Theme Name:   CRC Association
 Theme URI:    Theme URI:    http://generatepress.com
 Description:  GeneratePress Child Theme, developed for the CRC Association, 2016
 Author:       Karen Mobbs
 Author URI:   http://www.kjmcomms.com.au
 Template:     generatepress
 Version:      1.0.0
two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, fixed-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
 Text Domain:  generate
*/



/* =Theme customization starts here
-------------------------------------------------------------- */

body {
	background-color: #e6e2e2;
}

.site-wrapper  {
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

.wp-post-image {
	border: solid 1px #cccccc;
}

/* hide next and previous post navigation, didn't make much sense */
.post-navigation {
display: none;
}


/******* main layout elements ***********/

/* some things can only apply to large monitors */
 @media screen and (min-width: 1020px) {

/* need to re-check this on ipad*/
#secondary-navigation .main-nav {
	max-width: 50%;
	float:right;
	} 
 }
 
 @media screen and (min-width: 768px) {
	 
.site-logo {
	position: relative;
	top: 0px;
}

#secondary-navigation {
	background-color: #FFFFFF;
}

#secondary-navigation input[type="text"] {
	padding: 3px 5px;
	width: 220px;
}

.header-widget {
	margin-top: 35px;
	margin-right: 27px;
}

.grid-25 {
	width: 19% !important;
	padding-right: 0 !important;
}

.one-container .site-content {
	padding-right: 0;
}

#right-sidebar {
	margin-left: 24px;
}

#searchformobile {
	display: none;
}
}

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

/* don't show the secondary menu, just show a search box instead */
#secondary-navigation {
	display:none;
}

/* style the search box that shows on mobiles */
#searchformobile {
	list-style:none;
	width: 100%;
	background-color: #353333;
	margin:0;
	min-height: 48px;
	margin-bottom: 10px;
}

#searchformobile input[type="text"] {
		width: 75%;
		height: 32px;
		margin-left: 27px;
		margin-top: 0;
		margin-bottom: 4px;
}
	
#searchformobile #searchsubmit {
	background-image: url('https://crca.asn.au/wp-content/uploads/2016/06/searchbutton.png');
		background-repeat: no-repeat;
		background-position: 30% 15px;
		min-height: 35px;
		background-color: #353333;
}
	
	
.site-logo {
	margin-top: 5px;
	margin-bottom: 5px;
}

.header-widget {
	text-align: left;
	padding-left: 25%;
	padding-bottom: 5px;
}

/* don't need so much side padding on mobiles */
.one-container .site-content {
	padding-left: 6%;
	padding-right: 6%;
}

#footerlogos {	
	padding: 30px 20px 20px 20px;
}

.site-info {
	padding-left: 6%;
	padding-right: 6%;
}

#footerlogos p {
	line-height: 1.8em;
}

}


#secondary-navigation .main-nav {
	background-color: #353333;
}

.header-widget {
	overflow:visible !important;
}

/* search box */
#primary-menu .search {
	display: none;
}

#secondary-navigation .search {
	margin-left: 10px;
}

/* address block in header */
.header-widget img {
	margin-right: 13px;
	vertical-align:text-top;
}

.header-widget p {
	margin-bottom: 6px;
	line-height: 2.0;
}

.header-widget {
	color:#434342;
}

.header-widget img.addressimage {
	float:left;
	margin-bottom: 20px;
}

.header-widget p.addressblock {
	line-height: 1.3;
}

.header-widget a:link { }
.header-widget a:visited { }
.header-widget a:hover {color: #03C; }
.header-widget a:active { }

/**footer**/

#footerlogos {
	background-color: #FFFFFF;
	 -webkit-box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.5);
    box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.5);
}

#footerlogos img {
	max-height: 50px;
	height: auto;
	width: auto;
	margin-right: 20px;
}

.site-info {
	text-align:right;
	background-color: #353333;
}

/* some of the spacing needs to be used only on large screens */
@media screen and (min-width: 768px) {
	
#footerlogos {	
	padding: 20px 40px 20px 80px;
}

#footerlogos p {
	line-height: 4.5em;
}

.site-info {
	padding-left: 80px;
	padding-right: 75px;
}

.copyrightnotice {
	float: right;
}
}

/******************************************/

/****** styles for home page and member musings ******/

article.category-member-musings img {
	border-radius: 20px;
}

div.musings {
	box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.5);	
	border-radius: 8px;
	padding: 12px;
	margin-top: 50px;
}

.musings h2 {
	margin-top: 10px;
	margin-bottom: 25px;
}

.musings h2 a {
	color: #4a6e0a;
}

.musings .uplp-post-title {
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 16px;
}

.musings .uplp-post-date {
	margin-bottom: 10px;
}


.subscribebutton{
	padding: 10px 5px;
	box-shadow: 0 0 7px 0 #b2babc;
	text-align: center;
	border-radius:15px;
	background-color: #26abce;
	border: solid 2px #96dbea;
}

.subscribebutton a {
	font-weight:600;
	color: #FFFFFF;
	padding: 10px 20px;
}

.subscribebutton:hover {
	background-color: #0b7698;
}

.subscribebutton:hover a {
	color: #FFFFFF;
}

.subscribebutton a:hover {
	text-decoration:none !important;
}








/**************************/

/*** widget blocks ***/

/*** key to widget blocks in right sidebar

#custom_html-2 - login box
/* these now old */
#wishlistwidget-2 - wishlist logged in box
#recent-posts-2 - recent posts
#categories-2 - list of categories of docs

#linkabletitlehtmlandphpwidget-11 - Twitter feed on secondary pages


***/

.widget-area .widget {
	padding: 15px !important;
}

/* side blocks like logged in box and twitter feed and category archives */
#custom_html-2, #wishlistwidget-2, #linkabletitlehtmlandphpwidget-11, #archive_pro_matic_widget-3, #archive_pro_matic_widget-4, #archive_pro_matic_widget-5, #text-7 {
	border-top: solid 15px #d7e4bf;
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.5);	
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

#recent-posts-2, #categories-2, #archive_pro_matic_widget-2 {
	border-top: solid 15px #7ba0c0;
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.5);	
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}

#wishlistwidget-2 input[type="text"],  #wishlistwidget-2 input[type="password"] {
	padding: 8px 10px;
	margin-bottom: 5px;
}

#wishlistwidget-2 input[type="submit"] {
	margin-top: 6px;
}

#custom_html-2 .widget-title, #custom_html-2 .textwidget {
    margin-left:15px;
    margin-right:15px;
}

#custom_html-2 .widget-title {
    margin-top:15px;
}

#custom_html-2 {
    padding-bottom:15px;
}

#custom_html-2 p {
    margin-top:40px;
}




/************** end of side widget styles ************************/

/********************************************************/


/**** heading and text styles  *****/


h1, h1.posttitle, h2.category-title {
	color: #476610;
	border-bottom: none;
	font-weight: 600;
}

h2 {
	color: #4a6e0a;
	font-weight: 600;
}

h2.bloglist {
	font-size: 16px;
	border-top: solid 1px #c9c7c7;
	padding-top: 15px;
	margin-bottom: 10px;
}

p.blogdate {
	font-size: 12px;
	line-height: 16px;
	margin-bottom: 1.2em;
}

h1.posttitle a {
	color: #FFFFFF !important;
}

h2.posttitle {
	font-size: 18px;
}

h3 {
	color:#2a2727;
}

h4.widget-title {
	margin-bottom: 16px;
}

hr {
	border-top: none;
	border-left: none;
	border-right:none;
	border-bottom: 1px dotted #c5c9e4;
}



/********* miscellaneous content styles ***********************/

/* try and sort out individual post images */
.page-header-image-single {
	float:left;
	margin: 0 40px 40px 0;
	max-width: 40% !important;
}

/* tables - need to check on in other spots... */
.entry-content table {
	border: none;
}


/* wishlist member specific styles */

/* adjust for large monitors only */

@media screen and (min-width: 768px) {

.wlm_regform_improved {
	max-width: 680px !important;
}

.wlm_form_label {
	width: 190px !important;
	margin-left: -200px !important;
}

.wlm_form_group {
	padding-left: 190px !important;
}

}





	