@media only screen and (device-width: 768px) {
  /* iPad screen size rules */
}
 
@media only screen and (min-device-width: 481px) and 
(max-device-width: 1024px) and (orientation:portrait) {
  /* Portrait iPad display */
}
 
@media only screen and (min-device-width: 481px) and 
(max-device-width: 1024px) and (orientation:landscape) {
  /* Landscape iPad display */
}

@media screen and (max-device-width: 480px) {
  /* All devices with display width less then 480px 
  will obey the following rules */
}

@media only screen and (max-device-width: 480px), 
       only screen and (-webkit-min-device-pixel-ratio: 2) {
    /* iPhone gte 4 CSS rules */
}


body {
	display: block;
	margin-left: auto;
	margin-right: auto;
	-webkit-text-size-adjust: 100%;
	background-color: #E6E6E3;
	font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
	text-align: center;
	font-size: 13px;
	color: #6C85E1;
	max-width: 900px;
  	padding: 20px;
}

html {overflow-y: scroll;}

a:link {
	color: #6C85E1;
}
a:visited {
	color: #6C85E1;
}
a:active {
	color: #6C85E1;
}


a, u {
    text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #B5C2F0;
}

/* Log-in section */

#login_main {   
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 70px;
	color: #006400;
	background-color: white;
	border-left: 1px solid #D3D3D3;
	border-right: 1px solid #D3D3D3;
	border-bottom: 1px solid #D3D3D3;
	border-top: 1px solid #D3D3D3;
	text-align: center;
	width: 460px;
	height: 200px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
}

#login_table {
	font-size: 12px;
	color: #6C85E1;
	background-color: white;
	margin-left: auto; 
    margin-right: auto;
    padding: 2px;
}

/* Main section */
#mudsinks_main {
	display: block;
	/*overflow: scroll;*/
	text-align: left;
	background-color: #FFFFFF;
	/*color: #006400; */
	border-left: 1px solid #D3D3D3;
	border-right: 1px solid #D3D3D3;
	border-bottom: 1px solid #D3D3D3;
	border-top: 1px solid #D3D3D3;
	/* border-left: 1px solid #1B1EB4; */
	padding: 20px;
	width: 98%;
	height: 700px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
}

#admin_nav{
	height: 60px;
}

/* side nav */
#side_nav{
	width: 12%;
	text-align: left;
	border-right: 1px solid #D3D3D3;
	line-height: 1.7;
	height: 400px;
	float: left;
	padding-top: 24px;
	
}

.side_nav_menu {
	text-align: left;
	color: #1B1EB4;
	text-decoration: none;
	padding-top: 20px;
	
}

.side_nav_menu a{
	text-align: left;
	color: #1B1EB4;
	text-decoration: none;
}

.side_nav_menu a.side_nav_menu_item:hover {
	color: #87AEF7;
	text-decoration: none;

}

.find_nav_menu {
	text-align: left;
	color: #1B1EB4;
	text-decoration: none;
	padding-top: 20px;
	
}

.find_nav_menu a{
	text-align: left;
	color: #1B1EB4;
	text-decoration: none;
}

.find_nav_menu a.find_nav_menu_item:hover {
	color: #1B1EB4;
	text-decoration: none;

}


/* admin right pane */
#admin_right_pane{
	display: block;
	width: 83%;
	float: right;
	font-size: 12px;
	text-align: justify;
	height: 560px;
	padding: 20px;
	overflow: scroll;
}

/* admin_footer_*/
#admin_footer{
	
	display: block;
	vertical-align: bottom;
	text-align: center;
	color: #6C85E1;
	/* border: 1px solid #1B1EB4; */
	width: 100%;
}

#user_list_table { 
    border-collapse: collapse; 
            width: 100%; 
    }

#user_list_table th, td { 
    text-align: left; 
    padding: 3px;
}
          
#user_list_table tr:nth-child(even) { 
    background-color: #F0F2FC; 
} 

#media_list_table { 
    border-collapse: collapse; 
            width: 100%; 
    }

#media_list_table th, td { 
    text-align: left; 
    padding: 3px;
    height: 20px;
}
          
#media_list_table tr:nth-child(even) { 
    background-color: #F0F2FC;
}

#title_list_table { 
    border-collapse: collapse; 
            width: 80%; 
    }

#title_list_table th, td { 
    text-align: left; 
    padding: 3px;
}
          
#title_list_table tr:nth-child(even) { 
    background-color: #F0F2FC; 
}

#customer_list_table { 
    border-collapse: collapse; 
            width: 90%; 
    }

#customer_list_table th, td { 
    text-align: left; 
    padding: 3px;
}
          
#customer_list_table tr:nth-child(even) { 
    background-color: #F0F2FC; 
}

#delivery_list_table { 
    border-collapse: collapse; 
            width: 90%; 
    }

#delivery_list_table th, td { 
    text-align: left; 
    padding: 3px;
}
          
#delivery_list_table tr:nth-child(even) { 
    background-color: #F0F2FC; 
}

#listall_section {
	overflow: scroll;
	width: 600px;
	height: 610px;
}

#workorder_find_section {
	overflow: scroll;
	width: 600px;
	height: 500px;
}

#new_building {
	font-size: 9pt;
	background-color: #FFFFFF;
	border-spacing: 4px;
    padding: 4px;
}

/* tables - column one */


#c1 {
	
	vertical-align: middle;
	text-align: right;
	/*font-display: left;*/
}



/* tables - column two */


#c2 {
	font-size: 9pt;
	text-align: left;
}

/* tables - column submit button right */

#c3 {
	font-size: 9pt;
	text-align: right;
}

#company {
	border: 1px solid #ddd;
	padding: 8px;
    width: 95%;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
	
}


#company_address {
	border: 1px solid #ddd;
	border-collapse: collapse;
	font-size: 12px;
	padding: 8px;
    width: 80%;
	/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); */
}

#company_address th {
	background-color: #DDEEFF;
	border: 1px solid #ddd;
	text-align: center;
    padding: 10px;
}

#company_address td {
	border: 1px solid #ddd;
	width: 33.33%;
	height: 50px;
	vertical-align: top;
	text-align: left;
    padding: 10px;
}

#company_locations {
	border: 1px solid #ddd;
	border-collapse: collapse;
	font-size: 12px;
	padding: 8px;
	width: 80%;
	/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); */
}

#company_locations th {
	background-color: #DDEEFF;
	border: 1px solid #ddd;
	text-align: center;
    padding: 10px;
}

#company_locations  td {
	border: 1px solid #ddd;
	text-align: left;
    padding: 10px;
}

#customer_find_table {
	border: 1px solid #ddd;
	border-collapse: collapse;
	font-size: 12px;
	text-align: left;
	width: 25%;
	/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); */
}

#customer_find_table th {
	background-color: #DDEEFF;
	border: 1px solid #ddd;
	text-align: center;
    padding: 10px;
}

#customer_find_table  td {
	border: 1px solid #ddd;
	text-align: left;
    padding: 7px;
}

#location_find_table {
	border: 1px solid #ddd;
	border-collapse: collapse;
	font-size: 12px;
	text-align: left;
	width: 25%;
	/* box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); */
}

#location_find_table th {
	background-color: #DDEEFF;
	border: 1px solid #ddd;
	text-align: center;
    padding: 10px;
}

#location_find_table  td {
	border: 1px solid #ddd;
	text-align: left;
    padding: 7px;
}


#workorders {
	font-size: 9pt;
	background-color: #FFFFFF;
	border: 1px solid black;
	border-spacing: 2px;
    padding: 2px;
}  