/*
Theme Name: ZupaBuilder Child
Description: Child theme for the ZupaBuilder Theme
Author: Your name here
Template: zupabuilder
*/

@import url("../zupabuilder/style.css");

#members-menu {
	height: 45px;
	margin-bottom: 20px;
}
.contractor-menu {
	float: left;
	padding: 10px;
	background-color: #d6d2d2;
	margin-right: 10px;
}

.contractor-logout {
	float: right !important;
	margin-right: 0px !important;
}

.contractor-menu a {
	color: #333333;
}
.contractor-menu a:hover {
	color: #ee2e24;
}

.wptt-hours-form {
	clear: both;
}

.wptttable {
	clear: both;
	margin-top: 20px;
}

#timesheet table,#timesheet  th,#timesheet  td {
   border: 1px solid black;
}

.hours-edit input[type="text"], .hours-edit textarea {
	padding: 2px !important;
}

.hours-edit {
	font-size: 13px;
}

.hours_form input[type="text"] {
	width: 50%;
	float: right;
	margin-bottom: 0px;
}

.hours_form {
	margin-bottom: 0px;
}

/*footer bottom*/
#bottom .bottom-bar-content {
        width: 35%;
}
@media only screen and (max-width: 767px) {
#bottom .bottom-bar-content, #bottom .bottom-bar-menu {
    width: 100%;
    display: block;
    text-align: center;
}}
#responsive_alignment td,#responsive_alignment th
{
	word-wrap:break-word;
}
/* 
	Max width before this PARTICULAR table gets nasty
	This query will take effect for any screen smaller than 760px
	and also iPads specifically.
	*/
	.mobile_div_border {width: 100%; float: left; border-right: 0.5px solid #ccc; border-left: 0.5px solid #ccc; border-top: 0.5px solid #ccc; padding: 5px 5px;}
	.mobile_total_hours input,.mobile_right_tab #site_allowance {margin-bottom:0px;}
	.mobile_right_tab #site_allowance {padding:5px;}
	.mobile_left_tab {float: left;width: 54%; }
	.mobile_right_tab {float: left;width: 46%;}
	@media 
	only screen and (max-width: 520px),
	(min-device-width: 320px) and (max-device-width: 520px)  {
	#responsive_alignment th {display:none !important;}
		/* Force table to not be like tables anymore */
		#responsive_alignment table, #responsive_alignment thead, #responsive_alignment tbody, #responsive_alignment td, #responsive_alignment tr { 
			display: block; 
		}
		#responsive_alignment table th {display:none !important;}
		/* Hide table headers (but not display: none;, for accessibility) */
		#responsive_alignment thead tr { 
			position: absolute;
			top: -9999px;
			left: -9999px;
		}
		
		#responsive_alignment tr { border: 1px solid #ccc; }
		
		#responsive_alignment td { 
			/* Behave  like a "row" */
			border: none;
			border-bottom: 1px solid #eee; 
			position: relative;
			padding-left: 50%; 
		}
		
		#responsive_alignment td:before { 
			/* Now like a table header */
			position: absolute;
			/* Top/left values mimic padding */
			top: 6px;
			left: 6px;
			width: 45%; 
			padding-right: 10px; 
			white-space: nowrap;
		}
		
		/*
		Label the data
		*/
		#responsive_alignment td:nth-of-type(1):before { content: "Action"; }
		#responsive_alignment td:nth-of-type(2):before { content: "Week Ending Date"; }
		#responsive_alignment td:nth-of-type(3):before { content: "Total Hours Worked"; }
		#responsive_alignment td:nth-of-type(4):before { content: "Comments"; }
		#responsive_alignment td:nth-of-type(5):before { content: "Invoiced"; }
	}
	
	/* Smartphones (portrait and landscape) ----------- */
	@media only screen
	and (min-device-width : 320px)
	and (max-device-width : 520px) {
		body { 
			padding: 0; 
			margin: 0; 
			width: 320px; }
			.mobile_div_border {width: 100%;border:0px; padding: 2px 0px;float:none !important;}
			.mobile_left_tab {float: none !important; width:100%;}
			.mobile_right_tab {float: none !important; width:100%;}
#responsive_alignment th {display:none !important;}
		}
	
	/* iPads (portrait and landscape) ----------- */
	@media only screen and (min-device-width: 320px) and (max-device-width: 520px) {
		body { 
			width: 100%; 
		}
	}