/*============================================*/

.clear {
    clear: both;
}

#content{
	min-height:400px;
}

/*==================HEADER==================*/

.prime header.header {
	background:#FFF;
	background-image: url("/wp-content/uploads/axiom-pattern.png");
	background-attachment:fixed;
}

.toplogo {
	color: #000;
	font-size:40px;
	font-weight:700;
	padding-top:5px;
	padding-bottom:5px;
	text-align:center;
}

.toplogo i {color:#4a90e2;}

.toplogo img {padding-bottom:15px;}

.toplogo img:hover {
	opacity:0.7;
	transition:all 0.3s;
}

.toplogo a {
	font-size:28px;
}

.toplogo a:hover{
	color:#01429C;
	transition:all 0.3s;
}

.topPhone {
	font-size:35px;
	font-weight:700;
	line-height:1;
	padding-top:15px;
	padding-bottom:5px;
	color:#000;
}

.topPhone img {
	max-height:150px;
}

header {
	max-height:400px;
}

nav, nav.nav.nav-fixed, ul.sub-menu {
	background:#01429C;
}

nav.nav ul li.current-menu-item a {
	border: 2px solid rgba(255,255,255,.8);
	background:rgba(255,255,255,0.1);
}

.cta {
	top:20%;
	left:0;
	right:0;
}

.ctatop {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color:#fff;
	font-size:3em;
	line-height:1;
	margin-bottom:3%;
	text-shadow:2px 2px 2px #000;
}

.ctabtn {
	padding:7px 30px;
	background:#01429c;
	color:#fff;
	font-weight:500;
	box-shadow:1px 1px 1px #0a0a0a;
}

.ctabtn:hover {
	background:#8d8d8d;
	color:#fff;
	transition:all 0.4s;
}

/*==================BODY==================*/

h1,h2,h3 {
	color:#50514F;
}

#trend {
	width: 100%;
}

.spacing li {
	padding: 5px;
}

.psaframe {height:300px;}

.compliments h1 {
	background: #01429C;
}

.up-down a {
	color:#01429C !important;
}

.up-down a:hover {
	color: #8EB1C7 !important;
}

#contactp {
	padding-right: 15px;
}

.rev-cont {
    border: 1px solid #000;
    padding: 12px;
    margin: 5px;
}

.review-rating {display:inline;}

.review-body {border-left:none;}
/*======GALLERY=======*/


#gallery-2 img {
    width: auto;
    height: auto;
}

/*==================FOOTER==================*/

footer.footer {
	background:#D8D8D8;
	background-image: url("/wp-content/uploads/axiom-pattern.png");
	background-attachment:fixed;
	border-top:4px solid #8eb1c7;
	color:#000;
}

.footer h2 {
	color:#000 !important;
}

.socialicons {
	text-align:left;
}

#googlemapswidget-2 img {
	max-height:250px;
}

/*==================BUTTONS==================*/

.btn {
  padding: 7px 30px;
  box-shadow: 2px 2px 2px #6b6b6b;
  display: table;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  position: relative;
  background: #8EB1C7;
  color:#FFF !important;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #8d8d8d;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.btn:hover, .btn:focus, .hvr-shutter-out-horizontal:active {
  color: white !important;
  text-decoration:none !important;
}
.btn:hover:before, .btn:focus:before, .btn:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/*==================LIST ======================*/

ul {list-style-type: none;} 
ul.spaced li{margin-bottom:15px;}
ul.fancylist li:before {
    content: "\f138";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #01429C;
    font-size: 16px;
    padding-right: 0.5em;
    margin-left: -27px;
}
ul.checked li:before{content: "\f00c";}
ul.marker li:before {content: "\f041";}


/*==================RESPONSIVE==================*/
@media (max-width: 1200px) {
	.toplogo {
		font-size:30px !important;
	}
}

@media (max-width:1024px) {
	.cta {
		
	}
}

@media (max-width:768px) {
	.nav {
		padding: 5px 0 5px;
	}
	img.alignright {
		padding-left:10%;
		padding-bottom:2%
	}
	#content ul {
		text-align:left;
		margin:0;
	}
	.toplogo {text-align:center;}
	.topPhone {
		display:none;
	}
	.cta {
		top:14%;
		font-size:.7em;
	}
	div.one-half {
		text-align:left;
	}
	.h2space {
		margin-top:10%;
	}
	.topimg{
		margin-left:18%;
	}
}

@media (max-width:617px) {
	img.alignright {
		padding-left:1%;
	}
}

@media (max-width:425px) {
	.ctatop {
		font-size:2em;
	}
}

@media (max-width:320px) {
	
}
