/**
*
* ---------------------------------------------------------------------------
*
* Template : Blue - A One-Page HTML Portfolio/Business Template

* --------------------------------------------------------------------------- 
*
*/

/* =================================== */
/*	Basic Style 
/* =================================== */
/*TFH*/
img { max-width: 100%; }
form > div {
  clear: both;
  overflow: hidden;
  padding: 5px;
  margin: 0 0 10px 0;
}
form > div > label {
	width: 25%;
  float: left;
  padding-right: 10px;
  text-align: left;
}
form > div > div {
  width: 75%;
  float: right;
}
form > div > span.question {
	width: 70%;
  float: left;
  padding-right: 20px;
  text-align: left;
}
form > div > span.yesno {
  width: 30%;
  float: right;
}


input[type=text],
input[type=email],
input[type=url],
input[type=password],
textarea {
	width: 100%;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #4697e4;
}

body {
    background-color: #fff;
    font-family: 'Open Sans', sans-serif;
    line-height: 24px;
    font-size: 16px;
    color: #818181;
}

figure, p, address {
    margin: 0;
}

p {
    line-height: 25px;
}

iframe {
    border: 0;
}

a {
    -webkit-transition: all 0.3s ease-out 0s;
       -moz-transition: all 0.3s ease-out 0s;
        -ms-transition: all 0.3s ease-out 0s;
         -o-transition: all 0.3s ease-out 0s;
            transition: all 0.3s ease-out 0s;
}

a, a:hover, a:focus, .btn:focus {
    text-decoration: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans', sans-serif;
    color: #252525;
}

main > section {
    padding: 70px 0;
}

.sec-title {
    margin-bottom: 50px;
}

.sec-title.white {
    color: #fff;
}

.sec-title h2 {
    font-size: 36px;
    margin: 0 0 30px;
    padding-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

.sec-title.white h2 {
    color: #fff;
}

.sec-title h2:after {
    border-bottom: 1px solid #009ee3;
    content: "";
    display: block;
    left: 45%;
    bottom: 0;
    position: absolute;
    width: 115px;
}

.sec-title.white h2:after {
    border-bottom: 1px solid #fff;
}


@-webkit-keyframes charge{
    0%{box-shadow: inset 0px 0px 0px #2E2E2E;}
    100%{box-shadow: inset 60px 0px 0px #2E2E2E;}
}

@-moz-keyframes charge{
    0%{box-shadow: inset 0px 0px 0px #2E2E2E;}
    100%{box-shadow: inset 60px 0px 0px #2E2E2E;}
}

@keyframes charge{
    0%{box-shadow: inset 0px 0px 0px #2E2E2E;}
    100%{box-shadow: inset 60px 0px 0px #2E2E2E;}
}

/*	Header
   ==========================================*/

#navigation {
    -webkit-transition: all 0.8s ease 0s;
       -moz-transition: all 0.8s ease 0s;
        -ms-transition: all 0.8s ease 0s;
         -o-transition: all 0.8s ease 0s;
            transition: all 0.8s ease 0s;

    background-color: rgba(0,0,0,.4);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
}

#navigation.animated-header {
    padding: 20px 0;
}

/*TFH*/
.navbar-brand {
	padding: 12px 0px 0px 5px;
}

h1.navbar-brand {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
}

/*=================================================================
	Portfolio
==================================================================*/

.project-wrapper {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.project-wrapper li {
    display: inline-block;
}

.portfolio-item {
    cursor: pointer;
    margin: 0 5px 10px 5px;
    overflow: hidden;
    position: relative;
    width: 320px;
	height: 95%;
}

.portfolio-item:hover figcaption.mask {
    bottom: 0;
}

ul.external {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: -47px;
    
    -webkit-transition: all 0.4s ease 0s;
       -moz-transition: all 0.4s ease 0s;
        -ms-transition: all 0.4s ease 0s;
         -o-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
}

ul.external li {
    display: inline-block;
}

ul.external li a {
    background-color: rgba(255, 255, 255, 0.9);
    color: #818181;
    display: block;
    padding: 10px 18px 13px;
    
    -webkit-transition: all 0.5s ease 0s;
       -moz-transition: all 0.5s ease 0s;
        -ms-transition: all 0.5s ease 0s;
         -o-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
}

ul.external li a:hover {
    background-color: #009EE3;
    color: #fff;
}

.portfolio-item:hover ul.external {
    top: 0;
}


/*=================================================================
	Testimonials
==================================================================*/

#testimonials {
    background-image: url(../img/parallax/testimonial.jpg);
    padding: 0;
    color: #fff;
}

#testimonials .sec-title h2:after {
    border-bottom: 1px solid #fff;
}

#testimonials .overlay {
    background-color: rgba(15,155,224, 0.78);
    padding: 70px 0 40px;
}

.testimonial-item {
    margin: 0 auto;
    padding-bottom: 50px;
    width: 100%;
}

/*
.testimonial-item img {
    border: 3px solid #fff;
    border-radius: 50%;
    display: inline-block;
    height: auto;
    max-width: 100px;
}
*/
.testimonial-item img {
	float: right;
	padding-left: 3%;
	padding-bottom: 10px;
}
.testimonial-item > div {
    line-height: 30px;
    position: relative;
}

.testimonial-item > div:before {
    background-image: url("../img/icons/quotes.png");
    background-repeat: no-repeat;
    bottom: 127px;
    height: 33px;
    left: -35px;
    position: absolute;
    width: 45px;
}

.testimonial-item > div:after {
    background-image: url("../img/icons/quotes.png");
    background-position: -58px 0;
    background-repeat: no-repeat;
    bottom: -50px;
    height: 33px;
    position: absolute;
    right: 0;
    width: 45px;
}

.testimonial-item > div > span {
    display: inline-block;
    font-weight: 700;
    margin: 40px 0 30px;
    text-transform: uppercase;
}


/* TFH =================================================================
	       Home  and  Vendor Info
== TFH ================================================================*/

#home h3 {color: #cc0000}

#home font.saturday {display: inline}


/*============================================================
	TFH Experiment for Responsive css
==============================================================*/
font.fontOne  {color: #000000; font-weight: bold}
font.fontTwo  {color: #000000; font-weight: bold}
font.fontThree  {color: #000000; font-weight: bold}
font.fontFour  {color: #000000; font-weight: bold}
font.fontFive  {color: #000000; font-weight: bold}
font.fontSix  {color: #000000; font-weight: bold}
font.fontSeven  {color: #000000; font-weight: bold}
font.fontEight  {color: #000000; font-weight: bold}



/*============================================================ 
	Responsive Styles
 ============================================================*/

/*============================================================
	For Wide Desktop
==============================================================*/

@media (min-width: 1151px) {

/* portfolio */
	.portfolio-item  {
		margin: 0 1% 1% 0;
		width: 32%;
	}

/* testimonial */
	.testimonial-item {
		margin: 0 auto;
		padding-bottom: 50px;
		width: 70%;
	}
    .testimonial-item > div:after {
        bottom: -40px;
    }
	
font.fontOne {color: #ff6633; font-weight: bold}

.navbar-nav {padding-left: 25%}

#home .container {width: 1100px}

#home .col-md-8 {padding-left: 6%}

#home .col-md-4 {padding-top: 110px}

#directions .container {width: 1100px}

#directions .col-md-5  .fairimg {padding-top: 220px; float: right; padding-left: 3%}

#directions .col-md-12 {width: 80%; padding-left: 20%}

#layout .container {width: 1100px; padding-top: 60px}

#layout .col-md-6  .fairimg {padding-top: 50px; float: right; padding-left: 3%}

#photos .container {padding-top: 40px}

#form .container {width: 1100px; padding-top: 40px}

}

/*============================================================
	For Small Desktop
==============================================================*/

@media (min-width: 992px) and (max-width: 1150px) {

/* portfolio */
	.portfolio-item  {
		margin: 0 1% 1% 0;
		width: 31%;
	}

/* testimonial */
	.testimonial-item {
		margin: 0 auto;
		padding-bottom: 50px;
		width: 85%;
	}
    .testimonial-item > div:after {
        bottom: -40px;
    }
	
font.fontTwo  {color: #ff6633; font-weight: bold}

.navbar-nav {padding-left: 20%}

#home .col-md-8 {padding-left: 4%}

#home .col-md-4 {padding-top: 110px}

#directions .col-md-5  .fairimg {padding-top: 295px; float: right; padding-left: 3%}

#directions .col-md-12 {width: 90%; padding-left: 10%}

#layout .container {padding-top: 65px}

#layout .col-md-6  .fairimg {padding-top: 85px; float: right; padding-left: 3%}

#photos .container {padding-top: 40px}

#form .container {padding-top: 40px}

}


/*============================================================
	Tablet (Portrait) Design for a width of 768px
==============================================================*/

@media (min-width: 768px) and (max-width: 991px) {

/* portfolio */
	.portfolio-item  {
		margin: 0 1% 1% 0;
		width: 48%;
	}

/* testimonial */
    .testimonial-item {
        width: 90%;
    }

    .testimonial-item > div:after {
        bottom: -35px;
    }
	
font.fontThree {color: #ff6633; font-weight: bold} 

.navbar-nav {float: right}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

#directions .col-md-5  .fairimg {padding-top: 60px; padding-bottom: 35px; float: right; padding-left: 5%}

#directions .col-md-12 {width: 100%; }

#layout .container {padding-top: 65px}

#layout .col-md-6  .fairimg {padding-top: 40px; float: none; }

#photos .container {padding-top: 40px}

#form .container {padding-top: 40px}

}


/*============================================================
	Default CSS for widths up to 767px
==============================================================*/

@media only screen and (max-width: 767px) {

    body {
        font-size: 14px;
    }

    .parallax {
        background-position: centet tip !important;
    }

    .sec-title h2 {
        font-size: 25px;
    }

    .sec-title h2:after {
        left: 30%;
    }

/*navigation*/
    .navbar-inverse .navbar-toggle {
        border-color: #fff;
    }

    .navbar-inverse .navbar-toggle:hover,
    .navbar-inverse .navbar-toggle:focus {
        background-color: transparent;
    }

/*portfolio*/
    .portfolio-item {
        margin: 0 auto 10px;
        font-size: 14px;
        width: 280px;
    }
	
/* testimonial */
    .testimonial-item {
        width: 95%;
    }

    .testimonial-item > div:before,
    .testimonial-item > div:after {
        background-image: none;
    }

    .testimonial-item > div > span {
        margin: 30px 0 20px;
    }

/*TFH*/
	form > div {
		margin: 0 0 15px 0;
	}
	form > div > label {
		width: 100%;
		float: none:
		margin: 0 0 5px 0;
	}
	form > div > div {
		width: 100%;
		float: none;
	}
	input[type=text],
	textarea {
		width: 100%;
	}
	
font.fontFive  {color: #ff6633; font-weight: bold}

#home font.saturday {display: block}

#directions .col-md-5  .fairimg {padding-top: 30px; padding-bottom: 30px; float: right; padding-left: 5%;
padding-right: 5%}

#directions .col-md-12 {width: 100%; }

#layout .container {padding-top: 65px}

#layout .col-md-6  .fairimg {padding-top: 20px; float: none; }

#photos .container {padding-top: 40px}

#form .container {padding-top: 40px}

#form span.appform { display: inline-block }

}

/*============================================================
	Mobile Design for widths between 480px and 767px
==============================================================*/

@media only screen and (min-width: 480px) and (max-width: 767px) {

    .sec-title h2:after {
        left: 38%;
    }

/* portfolio */
	.portfolio-item  {
		margin: 0 5px 10px 20px;
		font-size: 14px;
		width: 400px;
	}

/* testimonial */
    .testimonial-item {
        width: 80%;
    }

    .testimonial-item > div:before {
        bottom: 160px;
    }
	
font.fontSix  {color: #ff6633; font-weight: bold}

#home font.saturday {display: inline}

#directions .col-md-5  .fairimg {padding-top: 30px; padding-bottom: 30px; float: none; padding-left: 10%;
padding-right: 10%}

#directions .col-md-12 {width: 100%; }

#layout .col-md-6  .fairimg {padding-top: 20px; float: none; padding-left: 7%; padding-right: 7% }

#form span.appform { display: inline-block }

}


/*================================================================
	Mobile Design for screen widths between 350px and 479px
==================================================================*/

@media only screen and (min-width: 350px) and (max-width: 479px) {

    .sec-title h2:after {
        left: 38%;
    }

/* portfolio 
		margin: 0 auto 10px;
*/
	.portfolio-item  {
		margin-bottom: 10px;
		font-size: 14px;
		width: 346px;
	}

/* testimonial */
    .testimonial-item {
        width: 90%;
    }

    .testimonial-item > div:before {
        bottom: 160px;
    }
	
font.fontSeven  {color: #ff6633; font-weight: bold}

h3 {font-size: 20px}

#home font.saturday {display: inline} 

#directions .col-md-5  .fairimg {padding-top: 30px; padding-bottom: 20px; float: none; padding-left: 5%;
padding-right: 5%}

#directions .col-md-12 {width: 100%; }

#layout .col-md-6  .fairimg {padding-top: 20px; float: none; padding-left: 5%; padding-right: 5% }

#form span.appform {display: inline-block}

#form span.question {padding-right: 0px; width: 70%}

#form span.yesno {text-align: right; width: 30%}

}

/*================================================================
	Mobile Design for very narrow screen (width less than 350px)
==================================================================*/

@media only screen and (max-width: 349px) {

    .sec-title h2:after {
        left: 38%;
    }

/* portfolio */
	.portfolio-item  {
		margin: 0 auto 10px;
		font-size: 14px;
		width: 100%;
	}

/* testimonial */
    .testimonial-item {
        width: 90%;
    }

    .testimonial-item > div:before {
        bottom: 160px;
    }
	
font.fontEight  {color: #ff6633; font-weight: bold}

h3 {font-size: 19px}

#directions .col-md-5  .fairimg {padding-top: 30px; padding-bottom: 20px; float: none; padding-left: 2%;
padding-right: 2%}

#directions .col-md-12 {width: 100%; }

#layout .col-md-6  .fairimg {padding-top: 20px; float: none; padding-left: 2%; padding-right: 2% }

#form span.appform {display: inline-block}

#form span.question {padding-right: 0px; width: 65%}

#form span.yesno {text-align: right; width: 35%}

}


