@media ( max-width: 800px) {
	#nav-wrapper {
		width: 100%;
		float: left;
		padding-bottom: 30px;
	}
	
	#calendar-wrapper {
		width: 100%;
		clear: both;
		float: left;
	}
	
	.navigator_default_month {
		float: left;
		margin-right: 15px;
		
	}
	
	.navigator_default_main {
		width: 100% !important;
		height: auto !important;
	}
	
	.calendar-legend {
	width: 100%;
	clear: both;
	}
	
}
@media ( min-width: 801px) {
#nav-wrapper {
float:left; width: 160px;
}
#calendar-wrapper
{
margin-left: 160px;
}
}


.container{


  margin:10px;
  float:left;
  -mox-box-shadow:0 0 10px rgba(0,0,0,0.5);
  -webkit-box-shadow:0 0 10px rgba(0,0,0,0.5);
  box-shadow:0 0 10px rgba(0,0,0,0.5);
}

.legend_entry {
	float: left;
	padding: 5px;
	width: 230px;
	min-height: 5em;
}

.legend_color {
	width: 40px;
	height: 40px;
	float: left;
}

.legend_name {
	width: 165px;
	float: left;
	padding-left: 5px;
	font-size: 10pt;
	min-height:40px;
    line-height:40px;
}

.legend_name span {
	  display:inline-block;
  line-height:12pt;
  vertical-align:middle;
  color:#4B4B4B;
}

/* REQUIRED CSS: change your reflow breakpoint here (35em below) */
@media ( max-width: 35em ) {

  /* uncomment out the line below if you don't want the sortable headers to show */
  /* table.ui-table-reflow thead { display: none; } */

  /* css for reflow & reflow2 widgets */
  .ui-table-reflow td,
  .ui-table-reflow th {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: right;
    /* if not using the stickyHeaders widget (not the css3 version)
     * the "!important" flag, and "height: auto" can be removed */
    width: 100% !important;
    height: auto !important;
  }

  /* reflow widget only */
  .ui-table-reflow tbody td[data-title]:before {
    color: #469;
    font-size: .9em;
    content: attr(data-title);
    float: left;
    width: 50%;
    white-space: pre-wrap;
    text-align: bottom;
    display: inline-block;
  }

  /* reflow2 widget only */
  table.ui-table-reflow .ui-table-cell-label.ui-table-cell-label-top {
    display: block;
    padding: .4em 0;
    margin: .4em 0;
    text-transform: uppercase;
    font-size: .9em;
    font-weight: 400;
  }
  table.ui-table-reflow .ui-table-cell-label {
    padding: .4em;
    min-width: 30%;
    display: inline-block;
    margin: -.4em 1em -.4em -.4em;
  }

} /* end media query */

/* reflow2 widget */
.ui-table-reflow .ui-table-cell-label {
  display: none;
}

/* Custom */
.mainmenu {
	margin-bottom: 30px;
}

.mainmenu li {
	float: left;
	margin-right: 20px;
	font-weight: bold;
}

.details {
    display: table;
	margin-bottom: 30px;
	margin-top: 30px;
    }

  .details .row  {
    display: table-row;
    }

  .details .row div {
    display: table-cell;
	/* border: solid 1px black; */
	padding: 5px;
    }
	
	.details .row div:first-child {
		text-align: right;
		font-weight: bold;
		padding-right: 20px;
	}
/*
table.tablesorter {
	font-family:arial;
	background-color: #CDCDCD;
	margin:10px 0pt 15px;
	font-size: 8pt;
	text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
	background-color: #e6EEEE;
	border: 1px solid #FFF;
	font-size: 8pt;
	padding: 4px;
	padding-right: 30px;
}
table.tablesorter thead tr .header {
	background-image: url(bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody td {
	color: #3D3D3D;
	padding: 4px;
	background-color: #FFF;
	vertical-align: top;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #8dbdd8;
}

*/

h1 {
	padding-bottom: 10px;
}

.filterbox label, .filterbox input {
	display: block;
	float: left;
	margin-right: 10px;
}

.filterbox {
	padding-bottom: 20px;
	display: none;
}

label {
	font-weight: bold;
}

.offer_form label {
	margin-right: 15px;
}

legend {
	float: left;
}

.left-inner-addon {
    position: relative;
}
.left-inner-addon input {
    padding-left: 22px;    
}
.left-inner-addon span {
    position: absolute;
    padding: 7px 12px;
    pointer-events: none;
}

.right-inner-addon {
    position: relative;
}
.right-inner-addon input {
    padding-right: 30px;    
}
.right-inner-addon span {
    position: absolute;
    right: 0px;
    padding: 7px 12px;
    pointer-events: none;
}

body { padding-top: 70px; font-size: 12pt !important;  }

.form-group {
	clear: both;
}

.edit {
	clear: both;
	float: left;
	margin-left: 10px;
	margin-top: 30px;
}

.btn-group.top {
	padding-bottom: 20px;
}


.btn-group.bottom {
	padding-top: 20px;
}



body a, body a:visited, body a:active, body a:focus {
	color: #000A73;
}

table.tablesorter {
	font-size: 10pt !important;
	width: 100%;
}


/*
table.tablesorter {
	font-size: 10pt !important;
	width: 100%;
}

table.tablesorter td {
	background-color: #F2F2F2 !important;
	border: solid 1px #FFFFFF !important;
}
*/

.hide { 
	display: none;
}

.submit {
	padding-top: 30px;
}

.from_input {
	padding-top: 30px;
	border-top: 1px solid #e5e5e5;
}

.from_input.first {
	padding-top: 0;
	border-top: none;
}

.upcoming_job {
	margin-bottom: 20px;
	border: solid 1px black;
	border-radius: 10px; 
	box-shadow: 7px 7px 3px #888888;
	float: left;
	clear: both;
	/* background-color: #f5f5f5; */
}

h2.job_date {
	float: left;
	clear: both;
}

.tablesorter {
	border: solid 1px #f5f5f5;
	border-radius: 3px !important;
	padding: 5px;
	width: 100%;
	max-width: 100%;
    overflow: auto;
}


.tablesorter, .tablesorter td, .tablesorter th, .tablesorter tr {
	background-color: #f5f5f5 !important;
}

div.dataTables_wrapper div.dataTables_filter.left {
	text-align: left;
}

div.dataTables_wrapper div.dataTables_filter.right {
	text-align: right;
}

.job_open, .job_filled {
	border: solid 1px black !important;
}

.job_open, .job_open div.calendar_default_event_inner, .job_open .calendar_default_event_bar_inner, .job_open .calendar_default_event_bar {
	background: #EB2102 !important;
}

#aays-app .job_filled.job_conflict, #aays-app .job_filled.job_conflict div {
	background-color: black !important;
	color: white;
}


.single_team .job_filled, .single_team .job_filled div, .single_team.modal_box, .single_team.modal_text, .single_team.upcoming_job {
	background: #C9D8FF !important;
}

.job_open .calendar_default_event_inner {
	color: black !important;
	text-shadow: none;
	font-weight: bold;
}

.calendar_default_event {
	z-index: 999998;
	cursor: pointer;
}

.calendar_default_event_inner {
	color: #ffffff !important;
}

/* Chris/Dave, 11, b190f6
Tyler/Brian, 19, ad725c
Mike, 20, 4583ea

*/

.modal-backdrop {
  z-index: -1;
}

.modal_box {
  position: fixed;
  width: 80%;
  height: 90%;
  
  left: 10%;
  top: 5%;
	z-index: 999999;
	overflow-y: auto;
	overflow-x: hidden;
}

.modal-dialog {

  margin: 0;
  padding: 0;
}

.modal-content {
  height: auto;
  min-height: 100%;
  border-radius: 0;
}

.avail_cal div {
	color: #ffffff !important;
}

.form-control.repeat_preview {
	height: auto;
	min-height: 34px;
}

@media (min-width: 768px) {
.navbar-nav {
    padding-top: 15px;
}


}

.navbar {
		padding-top: 8px;
    padding-bottom: 5px;
}

.container-fluid > .row {
	margin-top: 37px;
}
/*
#team_choices td, #team_choices th, #teams_selected th:not(:last-child), #teams_selected td:not(.x_remove) {
    border: solid black 2px;
    padding: 5px;
}*/

.topmargin {
	margin-top: 50px;
}

td.warning {
    background-color: #ff3d3d !important;
}

#aays-app .navbar-default {
    background-color: #00aeef;
    border-color: #e7e7e7;
}

#aays-app  .alert-danger {
    background-color: #f2dede;
    border-color: #d40123;
    color: #a94442;
    border-width: 2px;
}

#aays-app .navbar-default .navbar-nav>li>a {
    color: black;
    font-size: 1.2em;
}

#aays-app .dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    font-size: 1.2em;
}

.all_teams .job-transparency {
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.5) !important;
	height: auto;
	width: 100%;
}

.all_teams .modal_text {
	background: none !important;
}

.modal_text {
	padding: 10px;
	color: rgba(0, 0, 0, 1);
	height: 100%;
	width: 100%;
}

.availability_data {
    background-color: rgba(0, 0, 0, 0) !important;
}

.calendar_default_event_inner, #calendar-wrapper .filled_cal {
    text-shadow: 1px 1px 2px black;
}

.glyphicon {
	margin-left: 10px;
}

.x_remove:hover {
    background-color: transparent;
}

.x_remove.glyphicon {
    border: none;
    padding-left: 0;
    margin-top: 10px;
    padding-left: 10px;
    margin-left: 0;
}

.bootstrap-datetimepicker-widget {
    z-index: -9999 !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.availability_issue {
	color: #FF2E2E;
}

label[for=pickup_city_zone], #pickup_city_zone {
display: none;
}

.form-control.cityhelper-text {
	display: none;
}