/*
Theme Name: Babysitting
Theme URL: https://october.com.au
Description: On Mountain Babysitting (Astra child)
Author: Craig Delahoy
Author URL: https://october.com.au
Template: astra
Version: 1.0.0
Text Domain: babysitting
*/

a,
.ast-single-post .entry-content a, 
.ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
	text-decoration: none;
	font-weight: 600;
}

.site-title {
	font-size: 2.1rem !important;
}

/*
*	Babysitter profile page
*/

#profile .avatar {
	width: 270px;
	min-width: 270px;
	height: auto;
	border-radius: 200px;
	border: 1px solid #999;
	filter: drop-shadow( 0px 1px 7px rgba( 0, 0, 0, 0.4 ) );
}

#profile div.avatar {
	width: 270px;
	height: 270px;
	border-radius: 200px;
	border: 1px solid #999;
	filter: drop-shadow( 0px 1px 7px rgba( 0, 0, 0, 0.4 ) );
	background-position: center center;
	background-size: cover;
}

/*
*	Messaging
*/

.messaging-wrapper {
	border: 1px solid #d0d0d0;
	border-radius : 6px;
	background-color: rgba(254, 255, 240, 0.85);
	padding: 7px;
	width: 100%;
}

.messaging-input input,
.messaging-input textarea {
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	width: 100%;
	padding: 6px 11px;
	font-size: 1em;
	background-color: #f8fafa;
}

.messaging-input input:focus,
.messaging-input textarea:focus {
	background-color: #ffffff;
}

.messaging-message {
	margin: 8px 0px;
}

.messaging-message.current_user {
	text-align: right;		
}

.messaging-stamp {
	font-size: 0.7em;
	color: #a0a0a0;
}

.messaging-stamp.unread {
	font-weight: 700;
	color: #8090a0;
}

.messaging-previous {
	overflow-y: auto;
	padding-right: 5px;
	max-height: 380px;
}

.messaging-message .messaging-content {
	font-size: 0.85em;
	font-weight: 600;
	padding: 7px 11px;
	border-radius: 15px;
	display: inline-block;
	max-width: 75%;
	min-width: 10em;
	text-align: left;
	line-height: 1.4em;
}

.messaging-message.current_user .messaging-content {
	background-color: #5fadf4;
	color: white;
}

/*	I don't think this next one will ever be used. */
.messaging-message.current_user .messaging-content.unread {
	background-color: #3f8dff;
	font-size: 0.9em;
	font-weight: 900;
}

.messaging-message.other_user .messaging-content {
	background-color: #efeff4;
	color: #707070;
}

.messaging-message.other_user .messaging-content.unread {
	background-color: #fafbfd;
	border: 1px solid #5fadf4;
	font-size: 0.9em;
	font-weight: 900;
	color: #404040;
}

/*
*	Contact page
*/

.elementor-element.elementor-element-aa473dd .elementor-social-icon {
    color: #ccefff;
}
.elementor-element.elementor-element-aa473dd .elementor-social-icon:hover {
    color: #ffffff;
}

/*
*	Babysitters page
*/

.babysitters-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;	
}

.babysitters-wrapper {
	background-color: #f8fbfc;
	border: 1px solid #d5d5d5;
	border-radius: 7px;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	max-width: 300px;
	width: 300px;
	position: relative;
}

.babysitters-wrapper .header {
	display: flex;
	padding: 15px;
	gap: 15px;	
}

.babysitters-wrapper .header div.avatar {
	width: 100px;
	height: 100px;
	border-radius: 100px;
	border: 1px solid #999;
	background-position: center center;
	background-size: cover;
	transition: all 0.3s linear;
	flex-shrink: 0;	
}

.babysitters-wrapper .header div.avatar:hover {
	transform: scale( 1.1 );
}

.babysitters-wrapper .header div.name {
	font-size: 1.3em;
}

/*
*	Available jobs
*/

.app-content {
	width: 100%;
}

.jobs-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.job-wrapper {
	background-color: #f6faff;
	border: 1px solid #d5d5d5;
	border-radius: 7px;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
	max-width: 220px;
	width: 217px;
	margin-bottom: 10px;
	margin-right: 15px;
	position: relative;
}

.job-wrapper .flex .value {
	text-align: right;
}

.job-header {
	padding: 12px;
	color: white;
	text-align: center;
	background-color: #5fadf4;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

.job-header h4 {
	color: white;
	margin: 0px;
	font-weight: 600;
}

.job-content {
	padding: 12px;
	font-size: 0.9em;
	line-height: 1.65em;
}

.job-location {
	text-align: center;
	font-size: 1.15em;
	font-weight: 600;
}

.job-applied-overlay.not-applied {
	display: none;
}

.job-applied-overlay.applied {
	font-size:	2.5em;
	font-weight: 600;
	color: green;
	position: absolute;
	top: 36%;
	right: 12%;
	transform: rotate(-30deg);
	opacity: 0.4;
	letter-spacing: 3px;
}

.job-footer {
	padding: 12px;
	text-align: center;
}

.app-wrapper {
	padding: 7px;
	background-color: #f6faff;
	border-radius: 8px;
	border: 1px solid #c5c5c5;
}

.app-avatar {
	color: #acd9f5;
	width: 90px;
	margin-right: 15px;
}

.app-avatar img {
	background-color: white;
	width: 65px;
	height: auto;
	border: 2px solid #c5c5c5;
	border-radius: 150px;
	transition: all 0.3s linear;
}

.app-avatar img:hover,
.app-avatar div.avatar:hover {
	border: 2px solid #5fadf4;
	transform: scale( 1.1 );
}

.app-avatar div.avatar {
	width: 70px;
	height: 70px;
	border-radius: 100px;
	border: 1px solid #999;
	background-position: center center;
	background-size: cover;
	transition: all 0.3s linear;
}


/*
*	Single job post
*/

#job-post {
}

#job-post .details {
	padding-right: 2em;
}

#job-post .label {
	font-weight: 600;
}

#job-post .large {
	font-size: 1.2em;
}

#job-post .small {
	font-size: 0.8em;
}

/*
*	Button styling
*/

button,
.omb-button,
a.button.edd-submit {
	opacity: 0.9;
	font-weight: 600;
}

button:hover,
.omb-button:hover,
a.button.edd-submit:hover {
	opacity: 1;
}

button:disabled,
button[disabled] {
	opacity: 0.4;
}

button:disabled:hover,
button[disabled]:hover {
	background-color: #5fadf4 !important;
}

button.small {
	font-size: 0.9em;
	font-weight: 900;
	padding: 6px 10px;
}

button.med {
	font-size: 1em;
	font-weight: 900;
	padding: 8px 12px;
}

button.violet,
button.violet:disabled:hover,
.omb-button.violet {
	background-color: #913ef5 !important;
}

button.blue,
button.blue:disabled:hover,
.omb-button.blue {
	background-color: #5fadf4 !important;
}

button.cancel {
	background-color: #fafafa;
	border: 1px solid #b0b0c0;
	color: #b0b0c0;
}

button.cancel:hover {
	background-color: #eaeaea;
}

/*
*	custom accordion tool
*/

.accordion-container {	
}

.accordion-container .accordion-header {
	position: relative;
}

.accordion-container .accordion-header::after {
	content: ">";
	font-size: 2.5em;
	font-weight: 500;
	transform: rotate( 90deg ) scale( 1, 1.5 );
	transition: all 0.5s ease-in-out;
	position: absolute;
	top: 0px;
	right: 10px;
	cursor: pointer;
}

.accordion-container .accordion-header.before {
	padding-left: 1.7em;	
}

.accordion-container .accordion-header.before::after {
	font-size: 1.7em;
	top: -10px;
	left: 0;
	right: inherit;
}

.accordion-container.open > .accordion-header::after {
	transform: rotate( 270deg ) scale( 1, 1.5 );
}

.accordion-container .accordion-content {
	transition: all 0.75s ease-in-out;
	max-height: 0px;
	overflow: hidden;
}

.accordion-container.open > .accordion-content.scroll {
	overflow-y: auto;
}

.accordion-container.open > .accordion-content {
	max-height: 500px;
}

.accordion-container.open > .accordion-content.big {
	max-height: 1000px;
}

/*
*	selector/dropdown cleaning
*/

select {
	border: 1px solid #dadada !important;  /*Removes border*/
	border-radius: 5px;
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
	-moz-appearance: none; /* Removes Default Firefox style*/
	appearance: none;
	padding: 0.85em 2.45em 0.85em 1em;
	background-image: url( https://onmountainbabysitting.com.au/wp-content/plugins/ombtools/assets/chevrons-down-lgrey.svg );   /* Add custom arrow */
	background-repeat: no-repeat;
	background-position: 105% center;
	background-size: 30% 30%;
	color: #606060;
}

/*
*	date and time input cleaning
*/

input[type=date],
input[type=time] {
	border: 1px solid #dadada !important;  /*Removes border*/
	border-radius: 5px;
	-webkit-appearance: none;  /*Removes default chrome and safari style*/
	-moz-appearance: none; /* Removes Default Firefox style*/
	appearance: none;
	padding: 0.5em 1.2em;
	color: #606060;
}

/*
*	Form error handling
*/

input.error,
textarea.error,
select.error {
	border: 2px solid red !important;
}

/*
*	Dashboard page
*/

.dashboard-group {
	margin: 25px 0px;
	padding: 15px;
	background-color: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
}

.dashboard-group p {
	margin: 7px 0px;
}

.dashboard-group .cell {
	padding: 15px;
	border: 1px solid #e0e0e0;
	background-color: white;
	border-radius: 10px;
}

.dashboard-group .table {
	border: 1px solid #e0e0e0;
}

.dashboard-group .table .column {
	padding: 5px 12px;
	background-color: white;
}

.dashboard-group .table .column.first {
	border-right: none;
}

.edds-prb--download.edds-prb,
#edd_profile_address_fieldset {
	display: none !important;
}

.edd_submit.edd-submit {
	font-weight: 600;
}

.action-icon {
	/*border: 1px solid #5fadf4;*/
	border-radius: 75px;
	margin-left: 30px;
	padding: 6px;
	color: #5fadf4;
	background-color: rgba(172, 217, 245, 0.35);
}

.action-icon:hover {
	background-color: rgba(172, 217, 245, 0.6);
}

.profile-cell {
	flex-grow: 1; 
	flex-basis: 48%; 
	padding: 10px; 
	min-width: 280px; 
	margin: 5px; 
	border: 1px solid #e5e5e5;	
	border-radius: 6px;
}

/*
*	package tool tip
*/

.info-hover-container {
	position: relative;
	display: inline-block;
}

.info-hover-content {
	position: absolute;
	right: -15px;
	min-width: 165px;;
	padding: 9px;
	border: 1px solid #5fadf4;
	border-radius: 4px;
	background-color: #fafaff;
	z-index: 99;
	display: none;	
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);
}

.info-hover-container:hover .info-hover-content,
.info-hover-container .display {
	display: block;
}

/*
*	General stuff
*/

.flex {
	display: flex;
	flex-wrap: wrap;
}

.flex.spread {
	justify-content: space-between;
}

.flex.nowrap {
	flex-wrap: nowrap;
}

.flex.column {
	flex-direction: column;
}

.flex .grow1 {
	flex-grow: 1;
}

.flex .grow2 {
	flex-grow: 2;
}

.flex .half {
	flex-basis: 49.5%;	
}

.flex .third {
	flex-basis: 33%;	
}

.flex .twothirds {
	flex-basis: 65%;
}

.flex.column.middle {
	justify-content: center;
}

.flex.smallgap {
	gap: 7px;
}

.flex.medgap {
	gap: 15px;
}

.flex.largegap {
	gap: 30px;
}

.flex.hugegap {
	gap: 60px;
}

.omb_form {
	flex-basis: 75%;
}

.omb_form label {
	display: block;
	font-weight: 700;
}

.omb_form .pad-bottom {
	margin-bottom: 20px;
}

.testborder {
	border: 1px solid #ff8800;
}

header.entry-header {
	display: none;
}

article.page.type-page {
	padding-top: 0px !important;
}


/*
 *	Media query for mobile phones in any orientation
 */
 
@media only screen and (min-width: 414px) and (max-width: 736px) ,
	only screen and (min-width: 375px) and (max-width: 667px) ,
	only screen and (min-width: 360px) and (max-width: 640px) ,
	only screen and (min-width: 320px) and (max-width: 568px) {

	.edd_purchase_id {
		display: none;
	}

	.flex .mobile-half {
		flex-basis: 50% !important;	
	}

	.flex .mobile-full {
		width: 100%;	
		flex-basis: 100%;
	}

	.flex.mobilewrap {
		flex-wrap: wrap;
	}

	.jobs-grid {
		display: block;
	}

	.job-wrapper {
		margin: 15px auto;
		max-width: 85%;
	}

	.job-applied-overlay.applied {
		right: 20%;
		font-size: 2.8em;
	}
} 


