/*
Theme Name: HFCC-2015
Description: An Enfold <a href='http://codex.wordpress.org/Child_Themes'>child theme</a>.
Version: 1.0
Author: Jamin Day
Author URI: http://helpingfamilieschange.org.au
Template: enfold
*/

/****** Custom styles ******/
/* Global styles */
html {
    background: transparent;
}

ul {
    margin-top: 13px;
    margin-bottom: 13px;
}

p,
ul > li {
    font-size: 1rem;
    line-height: 1.6rem;
}

p.small {
    font-size: 0.9rem;
}

p.smaller {
    font-size: 0.8rem;
}

h5 {
    margin-top: 3em !important;
}

h5:first-child {
    margin-top: inherit !important;
}

nav.sub_menu ul li {
    font-size: 11px;
}

nav.sub_menu ul li > a,
header .phone-info.with_nav {
    font-weight: 300;
}

ul.small li {
    font-size: 13px;
    line-height: 20px;
}

.hide, .ie7 {
	display: none;
}

.pull-right {
	float: right;
}

.pull-left{
    float: left;
}

.centered {
    text-align: center;
}

.help-text {
	font-size: 0.8em;
	margin: 0;
}

#top .no-padding {
	padding-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
	padding-top: 0;
}

#top .no-top-padding {
	padding-top: 0;
	margin-top: 0;
}

#top .no-bottom-padding {
	padding-bottom: 0;
	margin-bottom: 0;
}

strong,
.main_color strong {
	color: #ec8139;
}

/* From backend */
.av-magazine-top-bar {
	display: none;
}

/*ul.av-main-nav li a span.avia-menu-text {*/
	/*color: #222222;*/
/*}*/

/* Buttons */
a.avia-button-fullwidth > span.avia_button_icon_left {
    margin-right: 8px;
}

/* Header */
#hfcc-theme {
	position: absolute;
	right: 50px;
	bottom: 0;
	margin: 5px;
}

#hfcc-theme h4 {
	color: #2AA3CF;
	font-size: 20px;
}

.header_color strong {
	color: #ffffff;
}

#header_main strong.logo {
	padding: 5px 0;
}

#header_main strong.logo img {
	max-height: 100% !important;
}

#header_main {
    border-bottom-width: 0;
}

#top .av_header_transparency #header_meta,
#top .av_header_transparency #header_meta ul.menu,
#top .av_header_transparency #header_meta ul.menu li,
#top .av_header_transparency #header_meta .phone-info.with_nav span,
#top .av_header_transparency #header_meta .phone-info.with_nav span strong{
    color: #4a4a4a;
}

#top .av_header_transparency #header_meta ul.menu li {
    /*background-color: #2aa3cf;*/
	border-color: #4a4a4a;
}

#top .av_header_glassy.av_header_transparency .header_bg {
    opacity: 0.3;
    filter: alpha(opacity=30);
}

.html_header_top.html_bottom_nav_header .main_menu > .avia-menu {
    height: auto;
}

nav.main_menu ul#avia-menu li#menu-item-search a,
a#advanced_menu_toggle {
    /*color: #222222;*/
	/*color: #fff;*/
	color: #4f4f4f;
}

/* Layout tweaks */
.avia-logo-element-container {
	margin-top: 0;
}

.avia-icon-list-container {
	margin-top: 0;
}

.avia-logo-element-container .no-logo-slider-heading {
	display: none !important;
}

.content, .sidebar {
	padding-top: 15px
}

.togglecontainer {
	margin-top: 0px;
}

/* Search */
#top .main_menu #avia-menu #menu-item-search form input[type="text"] {
	background-color: #EEE;
	color: #222;
}

/*** Widgets ***/
/* Logo elements (sponsor images on home page) */
/*#top .avia-logo-element-container .slide-entry-wrap {*/
	/*margin-bottom: 10px;	*/
/*}*/

/*.avia-logo-element-container .slide-entry a.slide-image {*/
	/*background: transparent;*/
/*}*/

/*.sidebar section.widget_recent_entries ul li a {*/
	/*font-style: normal;*/
	/*font-family: inherit;*/
/*}*/

/*.sidebar section.widget_recent_entries ul li {*/
	/*border-top-width: 1px;*/
/*}*/

/* Easy Modals */
.emodal div.emodal-title {
	font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
	font-weight: 600 !important;
	margin-bottom: 5px;
}

.emodal .emodal-content,
.emodal .emodal-content p {
    font-size: 16px;
    font-family: 'Open Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    line-height: 24px;
}

.emodal .emodal-content h4 {
	margin-bottom: 15px;
    font-size: 18px;
}

.emodal .emodal-content h5 {
	margin-bottom: 8px !important;
}

.emodal a {
	color: #2aa3cf;
}

/*.emodal a:hover {*/
	/*color: #ec8139;	*/
/*}*/

.emodal .avia-button-wrap > a:active {
	top: 1px;
	border-top-width: 0;
	position: relative;
}

.emodal .avia-button-wrap > a > span.avia_iconbox_title {
	font-weight: 300;
}

.emodal div.hr {
	color: #ddd;
}

.emodal a.emodal-close {
	background-color: transparent !important;
    top: 2px;
    right: 4px;
}

/* Home page */
/*body.home.page {*/
    /*background: transparent url('/wp-content/uploads/2015/05/banff_large_grad1.jpg') top/100% no-repeat;*/
/*}*/

body.home.page #wrap_all,
body.home.page #wrap_all #main,
body.home.page #wrap_all #main > .avia-layerslider {
    background: transparent;
}

body.home.page #wrap_all #main > .avia-layerslider {
	border-top: none;
}

/*body.home.page #header .header_bg {*/
    /*background: transparent;*/
    /*background: #ffffff;*/
    /*background: rgba(255, 255, 255, 0.3);*/
	/*background: rgba(88, 88, 88, 0.8);*/
/*}*/

/*body.home.page #header.header-scrolled .header_bg {*/
    /*background: #f4f4f4;*/
    /*background: rgba(244, 244, 244, 0.9);*/
/*}*/

/*body.home.page .avia-section.main_color {*/
    /*background: transparent;*/
    /*margin-top: 10%;*/
/*}*/

body.home.page #main > #after_layer_slider_1 {
    padding-top: 5%;
    border: none;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&amp;0+0,1+100 */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
    filter: none\9\0; /* Hack for IE9 only */
}

/* Home page slider */
.keynote-slider-image {
	box-shadow: -2px 2px 2px #282828;
}

/*.rev_slider .tp-caption .av_font_icon {*/
    /*opacity: 1 !important;*/
    /*-moz-transform: scale(1) !important;*/
    /*-webkit-transform: scale(1) !important;*/
    /*-ms-transform: scale(1) !important;*/
    /*transform: scale(1) !important;*/
    /*-webkit-animation: none !important;*/
    /*-moz-animation: none !important;*/
    /*-o-animation: none !important;*/
    /*animation: none !important;*/
/*}*/

/*** Portfolio page ***/
main.template-portfolio .entry-content .page-thumb {
    padding-right: 20px;
    padding-bottom: 10px;
    width: 30%;
}

main.template-portfolio .entry-content .bio {
    width: 68%;
}

main.template-portfolio .entry-content-wrapper .abstract {
    margin-top: 40px;
}

/* Forms */
.hfcc-form{
	clear: both;
}

.hfcc-form .button,
a.button{
	margin: 0;
	padding: 16px 50px;
	border-radius: 2px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	font-weight: normal;
	font-size: 12px;
}

.hfcc-form fieldset p br{
	display: none;
}

/* Dont delete. IE8 needs this separate */
.hfcc-form label {
	display: block; 
	visibility: visible; 
	position: relative; 
} 

.hfcc-form label {
	display: block; 
	visibility: visible;
	position: relative; 
	margin-bottom: 4px; 
	font-weight: bold;
}

#top .hfcc-form .radio-group label.radio-label,
#top .hfcc-form .checkbox-group label.checkbox-label {
	font-weight: normal;
	padding: 3px 5px 3px 3px;
}

#top .hfcc-form .radio-group label.radio-label:hover,
#top .hfcc-form .checkbox-group label.checkbox-label:hover {
	cursor: pointer;
	background-color: #eee;
}

#top .hfcc-form .radio-group label.radio-label span.help-text,
#top .hfcc-form .checkbox-group label.checkbox-label span.help-text {
	color: inherit;
	font-family: inherit;
	font-size: 0.8em;
}

.hfcc-form .radio-group input[type="radio"],
.hfcc-form .checkbox-group input[type="checkbox"] {
	margin-right: 5px;
}

#top .hfcc-form .text_input, 
#top .hfcc-form .select, 
#top .hfcc-form .text_area {
	width: 100%;
	margin-bottom: 0;
	display: inline;
	min-width: 100px;
	padding: 13px;
	border-radius: 2px;
}

#top .hfcc-form .select {
	-webkit-appearance: none;
	border-radius:0px;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prY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A6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
	background-position: center right;
	background-repeat: no-repeat;
	border-radius: 2px;
}

#top .hfcc-form input[type="checkbox"] {
	float: left;
	margin-right: 8px;
	top: 2px;
	position: relative;
}

.hfcc-form .hfcc-form-element {
	display: block;
	width: 100%;
	margin-bottom: 15px;
}

.hfcc-form p {
	position: relative;
	clear: both; 
	float: left; 
	width: 100%;
}

.hfcc-form p.hidden {
	position: absolute;
	width: 0px; 
	left: 0; 
	top: 0; 
}

.hfcc-form .form_element_half {
	width: 49.5%;
	float: left; 
	margin-right: 1%; 
}

.hfcc-form .form_element_half_2 {
	clear: none; 
	margin-right:0;
}

#footer .hfcc-form textarea {
	height: 90px; 
}

.hfcc-form p input, 
.hfcc-form p textarea, 
.hfcc-form p select, 
.hfcc-form p .input_checkbox_label {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: 	all 0.3s ease-in-out;
	transition: 		all 0.3s ease-in-out;
}

/* Buttons */
.button-area {
	background-color: #EEE;
	display: block;
	width: 100%;
	padding: 15px;
	margin-top: 15px;
}

.button-area hr {
	margin: 10px 0;
}

.button-group > a.button,
.button-group > .avia-button-wrap > a,
.button-group > input[type="submit"].button {
	border-left-style: solid;
	border-left-color: #EEE;
	border-left-width: 1px;
	border-radius: 0;
	border-bottom: 0;
	padding: 13px 50px;
	float: left;
	line-height: 21px;
}

.button-group > a.button:hover {
	text-decoration: none;
	border-left-color: #EEE;
}

.button-group > .avia-button-wrap:first-child > a,
.button-group > a.button:first-child,
.button-group > input[type="submit"].button:first-child {
	border-bottom-left-radius: 2px;
	border-top-left-radius: 2px;
	border-left-width: 0;
}

.button-group > .avia-button-wrap:last-child > a,
.button-group > a.button:last-child,
.button-group > input[type="submit"].button:last-child {
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
}

#top .avia-caption-content a.avia-button {
	text-decoration: none;
}

/* Notifications */
.avia_message_box ul {
	list-style-type: none;
}

/* Register page */
body.page-id-2372 .button-area .avia-button-wrap > a {
	padding: 13px 49px;	
}

body.page-id-2372 h5 {
	font-weight: 300;
	margin-bottom: 3px;
}

body.page-id-2372 .main_color table tr strong {
	color: #2aa3cf;	
}

body.page-id-2372 .main_color table tr:nth-child(even) {
	color: #666;
}

body.page-id-2372 .main_color table tr.sub-heading {
	color: #919191;
}

/* Abstract submission form */
#hfcc-submit-abstract-form {
	position: relative;
}

#add-abs-author-container {
	position: absolute;
	background-color: #eee;
	padding: 10px;
	bottom: 194px;
	border: 1px solid #e1e1e1;
	border-radius: 2px;
	width: 100%;
}

#add-abs-author-container .close-add-abs-author a.av-icon-char {
	border-width: 0;
	padding: 2px;
}

#add-abs-author-container .close-add-abs-author a.av-icon-char:hover {
	cursor: pointer;
}

#add-abs-author-button {
	display: inline-block;
}

#add-author-list-wrapper {
	border: 1px solid #eee;
	margin: 5px 0;
	padding: 5px 0;
}

#add-author-list-wrapper ol.sortable li.presenting {
	font-weight: bold;
}

#add-author-list-wrapper ol.sortable li:hover {
	background: #eee;
	margin-right: 5px;
	cursor: move;
}

#add-author-list-wrapper ol.sortable li a.remove-author {
	position: absolute;
	right: 5px;
	margin-right: 10px;
	font-weight: bold;
}

#add-author-list-wrapper ol.sortable li a.remove-author:hover {
	text-decoration: none;
}

/* Manage account page */
#profile-information {
	margin-bottom: 15px;
}

.abstract-container {
	margin-bottom: 10px;
	border: 1px solid #eee;
	padding: 10px;
}

.abstract-container .abstract-title {
	max-width: 60%;
	float: left;
}

/* Posts */
article .big-preview.single-big a > img {
	margin-right: auto;
	margin-left: auto;
	max-width: 100%;
}

/* Media queries */
@media only screen and (max-width: 1139px) {
	
	/* Register page */
	body.page-id-2372 .button-area .avia-button-wrap > a {
		padding: 12px 36px;
	}
			
}

@media only screen and (max-width: 1139px) and (min-width: 989px) {
	
	.show-when-small {
		display: none !important;
	}
	
	.show-when-tiny {
		display: none !important;
	}
	
}

@media only screen and (min-width: 990px) {
	
	.show-when-medium {
		display: none !important;
	}
		
}

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

	.large-only {
		display: none !important;
	}	
	
	.hide-when-medium {
		display: none !important;
	}

    body#top.page-id-2093 .button-area .avia-button-wrap {
        clear: both;
        display: block;
        float: none;
        width: 100%;
    }

    body#top.page-id-2093 .button-group > .avia-button-wrap > a,
    body#top.page-id-2093 .avia-button-wrap > a {
        padding: 12px 9px;
        float: none;
        border-color: #2AA3CF;
        border-radius: 2px;
    }

}

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

    body.home.page #main > #after_layer_slider_1 {
        padding-top: 25%;
    }
}

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

    /* Register page */
    body.page-id-2372 .button-area .avia-button-wrap > a {
        padding: 12px 10px;
    }

	.show-when-small {
		display: none !important;
	}
	
	.show-when-tiny {
		display: none !important;
	}
	
}

@media only screen and (max-width: 767px) {
	
	.large-only {
		display: none !important;
	}

	.hide-when-small {
		display: none !important;
	}
	
    #top #wrap_all .av_header_transparency #header_meta .phone-info.with_nav span {
        color: #4a4a4a;
    }

    #top #wrap_all .av_header_transparency #header_meta ul.menu li {
        border-color: #4a4a4a;
    }

    body.home.page #header .header_bg {
        background: rgba(255, 255, 255, 0.7);
    }

    body.home.page #main > #after_layer_slider_1,
    body.home #main .avia-section .template-page {
        padding-top: 0;
    }

    body.home.page #main #av_section_2 {
        padding-top: 20px;
    }

    main.template-portfolio .entry-content .page-thumb {
        display: block;
        width: 100%;
    }

    main.template-portfolio .entry-content .bio {
        display: block;
        width: 100%;
    }

}

@media only screen and (max-width: 767px) and (min-width: 480px) {
	
	/* Register page */
	body.page-id-2372 .button-area .avia-button-wrap > a {
		padding: 14px 10px;
	}
	
	body.page-id-2372 .avia-button .avia_button_icon {
		display: none;
	}
	
	.show-when-tiny {
		display: none !important;
	}

}

@media only screen and (max-width: 479px) {
	
	#advanced_menu_toggle {
		right: -20px;
	}

	/* Register page */
	body#top.page-id-2372 .button-area .avia-button-wrap {
		clear: both;
		display: block;
		float: none;
		width: 100%;
	}
	
	body#top.page-id-2372 .button-group > .avia-button-wrap > a,
    body#top.page-id-2372 .avia-button-wrap > a {
		padding: 12px 9px;
		float: none;
		border-color: #2AA3CF;
		border-radius: 2px;
	}
	
	.hide-when-tiny {
		display: none !important;
	}
		
}
