@import url(reset.css);
@import url(fonts.css);
@import url(grids.css);
@import url(elements.css);
@import url(refineslide.css);

body {
	/* min-height: 100%; */
	background: #c8c8ca;
	background: #28282a;
}

.wrapper {
    max-width: 1200px;
    padding: 0 12px;
    min-width: 200px;
    margin: 0 auto;
}

.flex {
	display: flex;
}

.aife {
  	align-items: flex-end;
}

.jcsb {
  	justify-content: space-between;
}


/* Nav Bar
-------------------------------------------------------------------------------- */

header {
	box-shadow: 0 -10px 10px 10px #000;
	z-index: 1000;
	position: relative;
}

.logo {
	background: url(images/logo.svg) no-repeat;
	background-size: 100% 100%;
	-webkit-filter: drop-shadow(1px 1px 3px #000);
	filter: drop-shadow(1px 1px 3px #000);
	width:calc(612px/2);
	height:calc(138px/2);
	display:inline-block;
}


/* Menu
-------------------------------------------------------------------------------- */

#mainNav {
	/* float: left; */
	/* padding-left: 3em; */
	/* background: linear-gradient(to bottom, #325C70 0%, #4B667E 100%); */
	position: relative;
	flex: 1;
	/* width: 100%; */
}

	#mainNav > ul {
		float: right;
	}
	
	#mainNav > ul > li {
		/* float: left; */
		display: inline-block;
	}
	
		#mainNav > ul > li > a {
			display: block;
			font-weight: normal;
			text-align: center;
			text-decoration: none;
			cursor: pointer;
			color: #fff;
			/* color: #444; */
			line-height: 34px;
			padding: 0 33.667px;
			height: 34px;
			margin: 4px 0;
			/* border: 2px solid transparent; */
			border-radius: 2px;
		}
	
			#mainNav > ul > li:hover > a,
			#mainNav > ul > li:active > a {
				text-decoration: none;
				color: #fff;
				/*background: -webkit-linear-gradient(top, #2c2d2f, #404448);
				background: linear-gradient(to bottom, #2c2d2f, #404448);*/
			
				border-color: rgba(0, 0, 0, 0.25);
				background: rgba(0, 0, 0, 0.15);
		
				background: rgba(255, 255, 255, 0.65);
				color: #444;
			}
			
		#mainNav > ul > li > ul,
		#mainNav > ul > li > ul > li > ul {
			display: none;
			position: absolute;
			z-index: 200;
		}
		
			#mainNav > ul > li > ul > li > ul {
				width: 100%;
				margin: -2.5em 0 0 100%;
			}
	
			#mainNav > ul > li:hover > ul,
			#mainNav > ul > li > ul > li:hover > ul {
				display: block;
				-webkit-box-shadow: 0px 6px 12px -3px rgba(0, 0, 0, 0.5);
				box-shadow: 0px 6px 12px -3px rgba(0, 0, 0, 0.5);
			}

			#mainNav > ul > li:hover > ul {
				border-radius: 0 0 4px 4px;
			}
			
			#mainNav > ul > li > ul > li:hover > ul {
				border-radius: 0 4px 4px 0;
				border-left: none;
			}

			#mainNav > ul > li > ul > li > a,
			#mainNav > ul > li > ul > li > ul > li > a {
				display: block;
				width: 100%;
				background: #f8f8fa;
				-webkit-box-shadow: 0 -1px 0 #e0e0e2;
				box-shadow: 0 -1px 0 #e0e0e2;
			}
			
				#mainNav > ul > li > ul > li:first-of-type > a,
				#mainNav > ul > li > ul > li > ul > li:first-of-type > a {
					background: -webkit-linear-gradient(top, #fff, #f8f8fa);
					background: linear-gradient(to bottom, #fff, #f8f8fa);
					-webkit-box-shadow: none;
					box-shadow: none;
				}
			
				#mainNav > ul > li > ul > li > ul > li:first-of-type > a {
					border-radius: 0 4px 0 0;
				}
				
				#mainNav > ul > li > ul > li:last-of-type > a,
				#mainNav > ul > li > ul > li > ul > li:last-of-type > a {
					background: -webkit-linear-gradient(top, #f8f8fa, #f0f0f2);
					background: linear-gradient(to bottom, #f8f8fa, #f0f0f2);
				}
				
				#mainNav > ul > li > ul > li:last-of-type > a {
					border-radius: 0 0 4px 4px;
				}
				
				#mainNav > ul > li > ul > li > ul > li:last-of-type > a {
					border-radius: 0 0 4px 0;
				}
				
				#mainNav > ul > li > ul > li:hover > a {
					background: #d5d5e0;
					background: -webkit-linear-gradient(top, #d5d5e0, #a5a5b3);
					background: linear-gradient(to bottom, #d5d5e0, #a5a5b3);
				}
				
				#mainNav > ul > li > ul > li > a:hover,
				#mainNav > ul > li > ul > li > ul > li > a:hover {
					background: #039;
					background: -webkit-linear-gradient(top, #36f, #039);
					background: linear-gradient(to bottom, #36f, #039);
				}
				
				#mainNav > ul > li > ul > li > a,
				#mainNav > ul > li > ul > li > ul > li > a {
					display: block;
					line-height: 2.857142857;
					padding: 0 1em;
					color: #444;
					font-size: 0.875em;
					font-style: normal;
					text-align: left;
					cursor: pointer;
					-webkit-box-sizing: border-box;
					-moz-box-sizing: border-box;
					box-sizing: border-box;
				}

				#mainNav > ul > li > ul > li > a:hover,
				#mainNav > ul > li > ul > li > ul > li > a:hover {
					color: #fff;
					text-decoration: none;
				}

				/*#mainNav > ul > li > ul > li > ul > li > a:hover {
					color: #fff;
					text-decoration: none;
				}*/

				#mainNav > ul > li > ul > li:first-of-type > a::before {
					content: '';
					border: 6px solid;
					border-color: transparent transparent #fff;
					position: absolute;
					left: 41px;
					top: -12px;
				}
				
				#mainNav > ul > li > ul > li:hover > a::before {
					border-bottom-color: #c4c4cf;
				}

				#mainNav > ul > li > ul > li a:hover::before {
					border-bottom-color: #36f;
				}
				
				#mainNav > ul > li > ul > li > ul > li:first-of-type::before {
					content: '';
					border: 6px solid;
					border-color: transparent #fff transparent transparent;
					position: absolute;
					left: -12px;
					top: 12px;
				}
				
				#mainNav > ul > li > ul > li > ul > li:first-of-type:hover::before {
					border-right-color: #2250DD;
				}




/* Footer
-------------------------------------------------------------------------------- */

footer {
    /* background: #222530; */
    /* width: 100%; */
    /* position: relative; */
    /* margin-top: -397px; */
    /* min-height: 397px; */
    /* clear: both; */
}

    footer .footer-start {
        margin-top: 60px;
        padding-top: 10px;
        border-top: 12px solid #333;
        flex-flow: row wrap;
    }

        footer .footer-start > div {
            flex: 1 0 100px;
            min-width: 140px;
            /* margin: 0 0 12px 18px; */
            margin-bottom: 12px;
        }

            footer .footer-start > div ul > li,
            footer .footer-start > div ul > li:first-of-type > a {
                font-size: .75rem;
                color: #aaa;
                /* line-height: 30px; */
            }

                footer .footer-start > div ul > li > a:hover {
                    color: #ddd;
                    cursor: pointer;
                    text-decoration: none;
                }

                footer .footer-start > div ul > li > a.active {
                    color: #3ae;
                    text-decoration: none;
                }

                    footer .footer-start > div ul > li > a.active:before {
                        content: '→ ';
                        position: relative;
                        top: -2px;
                    }

            footer .footer-start > div ul:not(:last-child) > li:first-child {
                text-decoration: underline;
                cursor: default;
            }

				footer .footer-start > div ul:not(:last-child) > li:first-child > a:hover {
					text-decoration: underline;
					cursor: default;
					color: #aaa;
				}

            footer .footer-start > div ul:not(:last-child) > li:not(:first-child) {
                padding-left: 6px;
            }
            
            footer .footer-start > div:nth-child(2) ul > li > a {
                text-decoration: none;
            }


                footer .footer-start > div:nth-child(2) ul > li > a:hover > .circle {
                    background: linear-gradient(#18c, #07b);
                    border: 1px solid #18c;
                    color: #fff;
                }

            footer .footer-start > div:nth-child(3) ul > li:first-of-type {
                margin: 8px 0 10px;
            }

                footer .footer-start > div:nth-child(3) ul > li:first-of-type > .contactMap {
 					background: #39d;
 					color: #fff;
 					display: inline-block;
 					padding: 0 12px;
 					margin: 6px 0 8px;
 					border-radius: 2px;
 					box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.5);
 					}

                    footer .footer-start > div:nth-child(3) ul > li:first-of-type > .contactMap:hover {
                        background: #5bf;
                    }
                    
                    footer .footer-start > div:nth-child(3) ul > li:first-of-type > .contactMap.on {
                        background: #c44;
                    }

						footer .footer-start > div:nth-child(3) ul > li:first-of-type > .contactMap.on:hover {
							background: #e44;
						}

				footer .footer-start > div nav {
					display: flex;
					flex-flow: row wrap;
					/* margin-left: 12px; */
				}

                footer .footer-start > div ul {
                    flex: 1;
                    min-width: 140px;
                }

                    footer .footer-start > div ul > li > a,
                    footer .footer-start > div:first-child ul > li:first-child > a {
                        line-height: 30px;
                    }

            footer .footer-start > div ul > li > a {
                color: #aaa;
            }

				footer .footer-start > div ul > li > a.tel {
					font-size: 1rem;
					font-weight: bold;
					color: #ddd;
					/* background: #333; */
					display: block;
				}

            		footer .footer-start > div ul > li > a.tel:hover {
            			text-decoration: underline;
            		}

            footer .footer-start > div:first-child {
                margin-right: 30px;
            }

            footer .footer-start > div:nth-child(2) {
                flex: 3 0 300px;
            }
            
            footer .footer-start > div:last-child {
                padding-left: 30px;
            }

                footer .footer-start > div:last-child > .qr-code > div {
                    cursor: pointer;
                    opacity: .5;
                }

            footer .footer-start > div h3 {
                /* font-size: .875rem; */
                font-style: italic;
                font-weight: normal;
                color: #ddd;
                color: #39d;
                border-bottom: 4px solid #444;
                line-height: 24px;
                /* margin-bottom: 16px; */
                text-transform: uppercase;
                letter-spacing: .125rem;
            }

    footer .footer-end {
        border-top: 1px solid #333;
        color: #aaa;
        font-size: .75rem;
        line-height: 20px;
        text-align: center;
        padding-bottom: 12px;
    }

        footer .footer-end .logo {
			background: url(images/signlogo.svg) no-repeat;
			background-size: 100% 100%;
			width: 104px;
			height: 104px;
        }

    footer .map-canvas-wrapper {
        display: none;
    }


/* Lists
-------------------------------------------------------------------------------- */

ul.textList,
ul.linkList {
		margin-left: 2em;
		line-height: 1.5;
}

	ul.linkList > li > h3 {
		margin-left: -1.2em;
	}
	
	ul.textList > li,
	ul.linkList > li > ul > li > a {
		font-size: .875em;
		text-decoration: none;
	}
	
		ul.linkList > li > ul > li > a {
			margin-left: 1em;
		}
	
		ul.textList > li:before,
		ul.linkList > li > a:before,
		ul.linkList > li > ul > li > a:before {
			content: '\25ba';
			position: absolute;
			font-size: 0.7142857em;
			margin-left: -1.6em;
			margin-top: 0.35em;
			/*padding-right: 0.2em;*/
			/*vertical-align: text-bottom;*/
		}
		
		ul.linkList > li > a:before,
		ul.linkList > li > ul > li > a:before {
			-webkit-transition: all 0.1s ease-in-out;
			transition: all 0.1s ease-in-out;
		}
			
			ul.linkList > li > a:hover,
			ul.linkList > li > ul > li > a:hover {
				color: #84B8EB;
				text-decoration: none;
			}
		
				ul.linkList > li > a:hover:before,
				ul.linkList > li > ul > li > a:hover:before {
					content: '\25ba';
					/*margin-right: 0em;*/
					margin-left: -1em;
				}


/* Aside
-------------------------------------------------------------------------------- */

.page {
	background: #f8f8fa;
	margin-top: -80px;
	border-radius: 2px;
	z-index: 10;
	border: 1px solid #e8e8ea;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
	padding: 1% 2%;
	display: inline-block;
	position: relative;
}

.content article {
	margin-bottom: 20px;
}

.boxedOut {
	border: 1px solid #d8d8da;
	border-radius: 2px;
	padding: 16px;
	float: left;
	/*width: 100%;*/
	box-sizing: border-box;
	margin-top: 20px;
	margin-bottom: 20px;
}


	.boxedOut h1 {
		display: inline-block;
		line-height: 32px;
		font-weight: normal;
		font-size: 1.25rem;
	}
	
	.boxedOut input[type=button] {
		display: block;
		font-size: 1rem;
	}
	
	
.offer {
	background: #333;
	/* background: 
	-webkit-linear-gradient(top, #38383a, #28282a); */
	/* background: linear-gradient(to bottom, #38383a, #28282a); */
	border: 0;
	color: #fff;
}

	.offer input[type=button] {
		float: right;
	}
		
.copyright {
	width: 95.5%;
	display: inline-block;
	line-height: 31px;
	border-top: 1px solid #444;
}

.patrolBoxes h1 {
	text-align: center;
	width: 100%;
}

.patrolBoxes p {
	text-align: center;
	width: 90%;
	margin: 0 5%;
}

.patrolBoxes input[type=button],
.patrolBoxes img {
	display: block;
	margin: 12px auto;
}