/*
 * Bootstrap.min.css first
 * Below is custom styles
 */

body {
    margin-top: 50px;
    overflow-x: hidden;
    background: #eeeeee;
    color: #323232;
/* Helvetica/Arial-based sans serif stack */
font-family: Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;

}
.tdw {
    color: white;
}
.tdg {
    color: green;
}
.tdb {
    color: blue;
}
.tdr {
    color: maroon;
}
h4.tdw {
    padding: 15px 0;
}
.bgw {
    background: #fafafa;
}
.bgj {
    background: rgba(250, 250, 250, .9);
}
.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;
}
.ml4 {
    margin-left: 4.228em;
}
h2.article-heading {
	font-size: 2.5em;
	color: #383838;
border-bottom: 1px solid #bbb;
width: 90%;
margin- 0 auto;
}
img.img-center,
.img-center {
	margin-left: auto;
max-width: 100%;
    text-align: center;
margin-right: auto;
}
.centered {
max-width: 100%;
margin: 0 auto;
}
.abscenter {
display: block;
width: 100%;
min-height: .05%;
margin: 0 auto;
padding: 15px;
}
img.img-responsive.thumbnail {
    min-height: 115px;
margin-bottom: 15px;
padding: 4px;
border: thin solid #ddd;
border-radius: 5px;
}
.image-bg-fluid-height,
.image-bg-fixed-height {
    text-align: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.image-bg-fluid-height {

	background: url('http://chainlinkfenceaz.com/ch4.jpg') no-repeat center center scroll;
    padding: 100px 0; background-size: cover;
    margin-bottom: 4px;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .6);

}

.image-bg-fixed-height {
	background: #663628; /* background-size: cover;  url('https://dl.dropboxusercontent.com/s/d26ffgxl0w6qy96/Fence-with-pointed-cap.jpg') no-repeat center center scroll; */
    height: 260px;
    padding-top: 2px;

    border-top: 2px solid rgba(0, 0, 0, .8);


}

#top-mid #Carousel .item img {
    height: 100%;
    height: 250px;
    width: 100%;
    max-width: 100%;
}
#Carousel {
    height: 100%;
    height: 250px;
    width: 100%;
    max-width: 100%;
}
.carousel {
    height: 260px;
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
    overflow: hidden;
}
/* The controlsy */
.carousel-control {
	left: -12px;
    height: 40px;
	width: 40px;
    background: none repeat scroll 0 0 #222222;
    border: 4px solid #FFFFFF;
    border-radius: 23px 23px 23px 23px;
    margin-top: 90px;
}
.carousel-control.right {
	right: -12px;
}
/* The indicators */
.carousel-indicators {
	right: 50%;
	top: auto;
	bottom: -3px;
	margin-right: -19px;
}
/* The colour of the indicators */
.carousel-indicators li {
	background: #cecece;
}
.carousel-indicators .active {
background: #428bca;
}
.logo-front {
    height: 250px;
}
.overlay {
    position: relative;
    top: -100px;
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0 1px 1px #000;
    color: silver;
background: rgba(252,252,252, .55);
padding: 5px 8px;
width: 210px;
border-radius: 4px;
margin: 0 auto;
}
section {
    padding: 75px 0;
}

.section-heading {
    margin: 30px 0;
    font-size: 4em;

}

.section-lead {
    margin: 30px 0;
}

.section-paragraph {
    margin: 30px 0;
}

footer {
    margin: 50px 0;
}

@media(max-width:768px) {
    section {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .section-heading {
        font-size: 2em;
    }
}

footer {
    margin: 50px 0;
}
#CForm {
    height: 875px;
}

#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;
}
.btn-labeled-left .btn-label {
    position: relative; left: -12px;  padding: 6px 12px 6px 0; border-right: 1px solid #fff; }
.btn-labeled-right .btn-label {
    position: relative; right: -12px;  padding: 6px 0 6px 12px; border-left: 1px solid #fff; }
.btn-labeled-left { min-width: 160px; min-height: 24px; line-height: 30px; margin: 0 auto -80px auto;padding-left: 0; padding-top:0;padding-bottom:0;}
.btn-labeled-right { min-width: 160px; min-height: 24px; line-height: 30px; margin: 0 auto -80px auto;padding-left: 0; padding-top:0;padding-bottom:0;}
.btn-label i {}
.btn-labeled-left.btn-gradient,
.btn-labeled-right.btn-gradient,
.btn-gradient {
    border: 1px solid #cdcdcd;
    background-image: linear-gradient(#eaeaea, #fafafa, #e3e3e3) !important;
    box-shadow: 0 .5px .5px rgba(0, 0, 0, .45);
}
#tab {
    position: relative; padding: 15px; 20px;
    margin: 0 auto; width: 90%; background: #3d2121; min-height: 60px;
}
#tab.btn-group {
    padding-left: 5.67%;
}
#tab.btn-group a.btn {
    min-width: 90px;
}
.topnav  {
    padding-left: 100px;
}
#flex {
    padding-left:35px;
    background: #fefefe;
}
.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: left;
    font-size: 1em;
    box-shadow: 0 .5px .5px #eee;
    text-transform: uppercase;
}
#flex p a {

}

section#top {
     box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .35);
     margin-bottom: 4px;

}
#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;
    right: -15px;
      -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    background: rgba(252, 252, 252, .75);
}

#top, #top-mid, #mid, #flex {
    z-index: 411;
}
section#mid.bgw {
    padding-bottom: 15px !important;

}
h1.section-heading {
    font-size: 3.2582em;
	text-align: center;
	color: silver;
	text-shadow: 0 1px 1px #000;
    font-style: italic;
}
#headerBackGround {

    background: #665228 url('http://chainlinkfenceaz.com/imgs/2azcmp.png') no-repeat;
    background-size: cover;
    background-position: center 24%;
	color: #f9f9f9;
	box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, .35);
border: 2px solid #eee;
text-align: center;
}
#headerBackGround .section-paragraph {
text-shadow: 0 1px 1px #000000;
font-size: 1.1444em;
background: rgba(5,5,5, .35);
padding: 5px;
}
#headerBackGround .lead.section-lead {
text-shadow: 0 1px 2px #000000;
color: #efefef;
font-weight: 600;
}
#headerBackGround h4 {
color: #3b3031;
text-shadow: 0 1px 2px #efefef;
font-weight: 600;
}

#headerBackGround h1.section-heading {
    font-weight: 600;
text-shadow: 1px 2px 2px #ececec;
color: #673020;
}
 section#top {
    background: #e5eeef;
}

.logobot {
    position: relative;
    top: -2em;
    margin-right: 2em;
}
#contact h4 {
    padding-bottom: 8px;
    width: auto;
    padding-left: 15px;
}
/* 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;
}

#tab.btn-group {
    padding-left: 1%;
}
#tab.btn-group a.btn {
    min-width: auto !important;
margin: 1px;
border-radius: 4px;
}

    }

/* 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;
}
    }
.social-links a{font-size:17px;margin:12px 8px;background:#fff;padding:8px;border-radius:4px;min-width:34px;color:black;}.social-links a.last{background:none;margin-top:-1px;}.social-links a:hover{color:#129;}


.nav.navbar-nav > li > a {background: rgba(255,255,255, .2);margin-left: 1px;}.navbar.navbar-inverse li a:hover{text-decoration: underline;}

#brand h2 {position: relative; top: -2em; margin: 0 auto;}
