/*
 *
 */

body {
    margin-top: 50px;
    background: #eaeaea url('http://azfenceconsulting.com/imgs/bggrayleather.jpg');
}
#container {
    background: #DDD;
    max-width: 1000px;
}
.item {
    width: 200px;
    float: left;
}
.item img {
    display: block;
    width: 100%;
}
button {
    font-size: 18px;
}
.image-bg-fluid-height,
.image-bg-fixed-height {
    text-align: center;
}
section {
    padding: 75px 0;
}
#top {
    margin-top: 0;
    padding-top: 40px;

}
#headerBackGround {
    background: rgba( 255, 255, 255, .45);
    border-radius: 5px;
    border: thin solid #bbb;
    box-shadow: 0 1px 1px rgba(110, 110, 110, .5);
    padding-top: 25px;
    margin-top: 0;
    text-align: center;
}
.image-bg-fluid-height {
	background: url('http://azfenceconsulting.com/imgs/iron07.jpg') no-repeat center center scroll;
    padding: 100px 0;
        background-size: cover;
        box-shadow: 0 4px 2px -2px rgba(30, 30, 30, .7);
}

.image-bg-fixed-height {
	background: url('http://azfenceconsulting.com/imgs/iron03.jpg') no-repeat center center scroll;
    height: 450px;
     background-size: cover;
     padding-top: 30px;
     border-top: 2px solid rgba(130, 130, 130, .5);
     box-shadow: 0 4px 2px -2px rgba(30, 30, 30, .7);
}
.image-bg-fixed-height p {
    color: #512;
    text-shadow: 0 .5px .5px #eee;
    font-size: 1.25em;
}
.img-center {
	margin: 0 auto;
}


#logo-top {
    max-width: 240px;
}
.logo-overlay {
    position: relative;
    top: -6.44em;
    color: silver;
}
#headerBackGround span {
    font-size: 1.444em;
    color: #921;
    font-style: italic;
}
#top .section-heading {
    margin: 30px 0 30px 0;
    font-size: 4em;

    color: #222;
    text-shadow: 1px 2px 1px rgba(180, 180, 180, .95);
}
#top .section-lead {
    margin: 30px 0;
    color: #777;
}

#top .section-paragraph {
    margin: 30px 0;
    color: #555;
    font-size: 1.1285em;
        text-align: left;
        padding-left:50px;
        padding-right:25px
}
#mid {
    padding-top: 15px;

    padding-bottom: 50px;
    border-bottom: 2px solid rgba(30, 30, 30, .15);
}
#mid .section-heading {
    margin: 30px 0 30px 0;
    font-size: 4em;

    color: #444;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
}
#mid .section-lead {
    margin: 30px 0;
    color: #456;
}
#mid .section-lead:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#mid .section-paragraph {
    margin: 30px 0;
    color: #424242;
    font-size: 1.285em;

}
footer {
    margin: 50px 0;
}
#CForm {
    height: 875px;
}
.bgw {
    background: rgba(255, 255, 255, .6);
}
.bgj {
    background: rgba(215, 215, 215, .8);
}
.bgb {
    background: #fafafa;
    padding-top: 30px;
    padding-bottom: 30px;
}
.hspace {
    position: relative;
    width: 100%;
    min-height: 30px;
}

.margl1 {
    margin-left: 1.1825em;
}
.margl2 {
    margin-left: 2em;
}
#service {
    margin-bottom: 0;
    border-top: 2px solid rgba(30, 30, 30, .15);
}
#service ul li {
    margin-left: 0;
}
#service h3 {
    color: #04a;
}
#page-footer h4 {
    padding-left: 23px;
}
.footer-page {
    background: #2d2d2d;
    color: #fff;
    padding: 30px 15px;
    position: relative;
    bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
}
.footer-page ul li {
    list-style: outside none;
        position: relative;
    left: -30px;
}
.footer-page li a {

}
.footer-page a {
    color: #cfefff;
}
.footer-page a:hover {
    color: #fafafa;
}
#contactForm aside {
    background: rgba(255, 255, 255, 8);
}
.navbar-fixed-top {
    box-shadow: 0 2px 1px -1px rgba(180, 180, 180, .35);
}
.navbar.navbar-inverse li a,
.navbar-header,
.navbar-brand {
    color: white;
}
.navbar-inverse .navbar-brand {
    color: #cccccc;
}
.btn.btn-sm {
    padding: 5px 12px;
    margin: 9px 5px auto 1px;
    min-width: 88px;
    font-size: 1em;
    text-shadow: 0 .5px .5px #333;
}
.btn.btn-primary.btn-sm {
    background: #1a008c url('http://azfenceconsulting.com/imgs/btn-purple.png');
    background-size: cover;
}
.topnav  {
    padding-left: 100px;
}
#flex {
    padding-left:38px;
}
.flex-container {
    box-sizing: border-box;
  padding: 0px;
  width: 100%;
  margin: 0 auto;
  list-style: none;

}
.flex-item {
  background: #fafafa;
  padding: 5px;
  width: 200px;
  max-height: 150px;
  margin-top: 10px;

  line-height: 1.45;
  color: inherit;
  font-size: inherit;
  text-align: center;
margin-right: 2px;
overflow: hidden;
}
.flex-item img {
    max-height: 150px;
padding: 0;

}
.flex-item:last-child{margin-right: 0;}
#flex li p {
    background: #f6f6f6;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 144px;
    padding: 15px;
    font-weight: lighter;
    text-align: justify;
    font-size: .96.45em;
    box-shadow: 0 .5px .5px #eee;
}
#contact_form {
    max-width: 540px;
    margin: 0 auto;
}
hr {
    background-color: #aaa;
    color: #aaa;
    border-color: #aaa;
}
/* form controls */
#act {

    position: relative;
    top: 5px;
    width: 380px;
    min-height: 1px;
    margin: 0 auto;

}
#act .form-control{
    background: transparent;
}
#act form {
	width: 317px;
    height: 252px;
    padding-top: 15px;
	background: #fafafa;
	border-radius: 4px;
	margin: 22px;
	box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .25);
}
#act form > div {
	position: relative;
	overflow: hidden;
}
#act form input, #act form textarea {
	width: 100%;
	border: 2px solid gray;

	position: relative;
	top: 0;
	left: 0;
	z-index: 1;
	padding: 8px 12px;
	outline: 0;
}
#act form input[type='submit'] {
    position: relative;
    top: -9px;
    width: 45px;
    background: #1a008c url('http://azfenceconsulting.com/imgs/btn-purple.png');
    background-size: cover;
}
#act form input[type='text'] {
    margin-top: 0;
}
#act form input:valid, #act form textarea:valid {
	background: intial;
}
#act form input:focus, #act form textarea:focus {
	border-color: #357EBD;
}
#act form ::-webkit-input-placeholder { color: #ccc;}
#act form :-moz-placeholder { color: #ccc;}
#act form ::-moz-placeholder { color: #ccc;}
:-ms-input-placeholder { color: #ccc;}
#act form input:focus + label, #act form textarea:focus + label {
	background: #1a008c url('http://azfenceconsulting.com/imgs/btn-purple.png');
    background-size: cover;
	color: white;
	font-size: 70%;
	padding: 1px 6px;
	z-index: 2;
	text-transform: uppercase;
}
#act form label {
	-webkit-transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
	transition: background 0.2s, color 0.2s, top 0.2s, bottom 0.2s, right 0.2s, left 0.2s;
	position: absolute;

	color: #999;
	padding: 7px 6px;
	font-weight: normal;
}
#act form textarea {
	display: block;
	resize: vertical;
}
#act form.go-bottom input, #act form.go-bottom textarea {
	padding: 12px 12px 12px 12px;
}
#act form.go-bottom label {
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
}
#act form.go-bottom input:focus, #act form.go-bottom textarea:focus {
	padding: 4px 6px 20px 6px;
}
#act form.go-bottom input:focus + label, #act form.go-bottom textarea:focus + label {
	top: 100%;
	margin-top: -16px;
}
#act form.go-right label {
	border-radius: 0 5px 5px 0;
	height: 100%;
	top: 0;
	right: 10%;
	width: 10%;
	margin-right: -100%;
}
#act form.go-right input:focus + label, #act form.go-right textarea:focus + label {
	right: 0;
	margin-right: 0;
	width: 40%;
	padding-top: 5px;
}
#slideout {
z-index: 422;
  position: fixed;
  top: 240px;
  right: 0;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#slideout_inner {
  position: fixed;
  top: 240px;
  right: -350px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#slideout:hover {
  right: 350px;
}
#slideout:hover #slideout_inner {
  right: 0;
}
#slideout button {
position: relative;

     margin-top: 130px;

      -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);

}
#top, #top-mid, #mid, #flex {
z-index: 411;
}



/* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
#top .section-paragraph {
    padding-left: 30px;
}
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
#top .section-paragraph {
    padding-left: 30px;
}
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
    section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .section-heading {
        font-size: 2em;
    }
#top .section-paragraph {
    padding-left: 30px;
}
#service {
    height: auto;
}

    }

    /* Extra Small Devices, Phones */
    @media only screen and (max-width : 480px) {
#top .section-paragraph {
    padding-left: 15px;
}
#slideout:hover {
  right: 400px;
}
    }

    /* Custom, iPhone Retina */
    @media only screen and (max-width : 320px) {
#slideout:hover {
  right: 320px;
}
    }

