/*
Theme Name: Main Parent Theme
Version: 1.0
Author: ForceFive Media
Author URI: http://www.forcefive.ca
*/

@import "bootstrap.min.css";
@import "font-awesome.min.css";

/*------------- VARS ------------------*/

body, html { height: 100%; }

body { background: #fff; }

.tarihyaz{
	font-size:12px;
	font-weight:bold;
	color:#f57c21;
}
.baslik{
	color:#f57c21;
	margin:0px;
}
.cizgi { 
	font-size: 10px; 
	margin: 10px 0px 10px 0px; 
	padding: 0px; 
	border-top: 1px solid #ddd; 
	clear: both; 
}
#wrapper {  background: white; }

#content { margin: 0 auto; background: white; padding-top: 50px; padding-bottom: 50px; }

.layer { padding:20px 0px; clear: both; }

.content { }

#page-left {  }
#page-right {  }
#page-full {  }

.valign-parent { position: relative; }
.valign-child { position: absolute; top: 50%; transform: translateY(-50%); }

.aligncenter { display:block; margin:0 auto }
.alignleft, .left { float:left } .alignright, .right { float:right }
.wp-caption { text-align:center; background:#f9f9f9; padding:10px; margin:10px }

.row:after, .cf:after { clear: both; content: ""; display: block; width: 100%; height: 0px; }

#content .row { margin-bottom: 30px; }

.p5{padding:5px;}.p10{padding:10px;}.p15{padding:15px;}.p20{padding:20px;}.p25{padding:25px;}.p30{padding:30px;}.p35{padding:30px;}.p40{padding:30px;}
.pr5{padding-right:5px;}.pr10{padding-right:10px;}.pr15{padding-right:15px;}.pr15{padding-right:15px;}.pr20{padding-right:20px;}.pr25{padding-right:25px;}.pr30{padding-right:30px;}.pr35{padding-right:35px;}.pr40{padding-right:40px;}
.pl5{padding-left:5px;}.pl10{padding-left:10px;}.pl15{padding-left:15px;}.pl20{padding-left:20px;}.pl25{padding-left:25px;}.pl30{padding-left:30px;}.pl35{padding-left:35px;}.pl40{padding-left:40px;}

.img-fill { position: relative; overflow: hidden; display: block; }
.img-fill img { position: relative; width: 100%; height: auto; display: block; }

.img-fit img { position: relative; width: 100%; height: auto; display: block; }

main video { max-width: 100%; height: auto; }
main iframe, main embed, main object { max-width: 100%; }

@media (max-width: 767px) {
	
	#content { padding-bottom: 30px; padding-top: 30px; }

}

/*------------- TYPE ------------------*/

body { font-family: 'Lato', sans-serif; font-size: 16px; }

ul.main-nav-menu li a, .title,
h1, h2, h3, h4, th { font-family: 'Lato', sans-serif; font-weight: 400;}

h1 { font-size: 30px; margin: 0; }
h2 { font-size: 24px; margin: 0 0 20px 0;  }
h3 { font-size: 18px; margin: 0 0 15px 0; }
h4 { font-size: 14px; margin: 0 0 5px 0; }
th { font-size: 18px; }

a { color: #1976bd; text-decoration: none; }
a:hover { color: black; text-decoration: none; }

input[type="text"], input[type="password"], input[type="email"], input[type="date"], input[type="tel"], textarea { background: #fff; border: 0 none; border: 1px solid #cccccc; padding: 7px; max-width: 100%; box-sizing: border-box; }
input[type="text"]:focus, textarea:focus { border: 0 none; border: 1px solid #cccccc; }

a.btn, input[type="submit"] { display: inline-block; background: #f57c21; color: white; text-decoration: none; padding: 7px 15px; border: 0 none; }
a.btn:hover, input[type="submit"]:hover { background: #0b5892; }
a.btn.block { display: block; text-align: center; }

p { margin: 0 0 1.5em 0; line-height: 1.4; }

#main ul li { margin: 0 0 5px 0; line-height: 1.4; list-style-type: disc; }
#main ul, #main ol { padding: 0 0 0 30px; margin: 0 0 1.5em 0; }
#main ol li { margin: 0 0 5px 0; line-height: 1.4; list-style-type: decimal; }

img.alignleft { margin: 0 30px 10px 0; }
img.alignright { margin: 0 0 10px 30px; }
img.aligncenter { display: block; margin: 0 auto 3px auto; }

table { margin: 0 0 12px 0; }
thead {  }
th { padding: 5px; border: 1px solid white; }
td { padding: 5px; vertical-align: top; }

blockquote { padding: 10px; border: 2px solid #dedede; margin: 0 0 5px 0;
-moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; }
blockquote em { font-size: 12px; color: gray; }

hr { border: 0 none; margin: 30px 0; border-bottom: 1px solid #ddd; clear: both; }

.wpcf7-list-item { display: block; }
div.wpcf7-response-output { border: 0 none !important; text-align: center !important; padding: 15px !important; }
div.wpcf7-mail-sent-ok { background: #a9e99f; color: #266f19 !important; }
div.wpcf7-validation-errors { background: #f3c970; color: #4c3808 !important; }
div.wpcf7-mail-sent-ng { background: #f24a4a; color: white !important; }


a.social { display: inline-block; width: 38px; height: 38px; line-height: 38px; margin: 0 5px 0 0; background-color: #1976bd; color: white; font-size: 20px; text-align: center;
-moz-border-radius: 50%; -webkit-border-radius: 50%; -khtml-border-radius: 50%; border-radius: 50%; }
a.social:hover { background-color: #fff; color: #1976bd; }

@media (max-width: 767px) {
	
	body { font-size: 14px; }
	
	img.alignleft, img.alignright, #content img { float: none; max-width: 100%; height: auto; margin: 0 0 30px 0; }
	
	
}


/*------------- HEADER - TOP ------------------*/

header { position: relative; z-index: 999; }

#header-top { background: #fff; position: relative; z-index: 500; }
#header-top > div { position: relative; }
#hdr-wave { position: absolute; left: 0; height: 21px; width: 100%; bottom: -21px;}

#hdr-mobile { position: relative; float: left; }

a#header-logo { display: block; float: left; padding-top: 20px; }
a#header-logo img { max-width: 250px; height: auto; }

ul#hdr-links { padding: 45px 0 0 0; margin: 0; float: right;  }
ul#hdr-links li { list-style-type: none; display: inline-block; padding-left: 15px; margin: 0; font-size: 16px; color: #0b5892; }
ul#hdr-links li a {  }
ul#hdr-links li a.social { color: white; font-size: inherit; width: 30px; height: 30px; line-height: 30px; }
ul#hdr-links li a.social:hover { background: #0b5892; }
li#hdr-social {  }

li#hdr-social a{
	margin-left:2px;
	margin-right:0px;
}

.search-box { position: absolute; right: 0px; top: 20px; display: none; }
.search-box input.search-field { border: 0 none; background: #f1f0f0; padding: 7px 10px; width: 210px;
-moz-border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px; -khtml-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; }
span.submit-btn { display: inline-block; background: #1976bd; border: 0 none; height: 27px; line-height: 27px; width: 30px; color: white; position: relative; text-align: center;
-moz-border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0; -khtml-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; }
.search-box input[type="submit"] { position: absolute; left: 0px; top: 0px; width: 30px; height: 27px; background: none; }
.search-box input[type="submit"].submit-btn:hover { background-color: black; }

@media (max-width: 991px) {
	
	header {  } 
	
	#hdr-mobile { float: none; }
	
	a#header-logo { position: relative; left: auto; top: auto; margin: 0 auto; width: 50%; max-width: 280px; }
	a#header-logo img { width: 100%; height: auto; }
	
	#hdr-social { float: none; text-align: center; }
	
	ul#hdr-links { float: none; text-align: center; }
	ul#hdr-links li { font-size: 14px; }
	
}

@media (max-width: 767px) {
	
	header { text-align: center; }
	
	a#header-logo { float: left; }
	
	ul#hdr-links { display: none; }

}

/*------------- HEADER - NAV ------------------*/

#header-nav { background: rgba(25,118,189,.8); }
#header-nav > div { position: relative; }

.main-nav-container { }
.main-nav-container ul { padding: 0;  margin: 0;}
ul.main-nav-menu > li { display: block; float: left; position: relative; }
ul.main-nav-menu > li > a { display: block; float: left; font-size: 16px; height: 80px; color: white; line-height: 80px; padding: 0 20px; }
ul.main-nav-menu > li:hover > a,
ul.main-nav-menu > li.current_page_item > a, ul.main-nav-menu > li.current_page_ancestor > a  { background: #f57c21; color: white; }

ul.main-nav-menu > li > ul {  left: 0px; display: none; position: absolute; width: 250px; top: 100%; background: #0b5892; z-index: 999999; }
ul.main-nav-menu > li:hover > ul { display: block; }
ul.main-nav-menu > li > ul > li { display: block; position: relative; border-top: 1px solid rgba(255,255,255,0.25); }
ul.main-nav-menu li > ul > li > a { display: block; font-size: 14px; line-height: normal; padding: 10px 20px; color: white; }
ul.main-nav-menu li > ul > li a:hover { background: #1976bd; color: white; }

#hdr-mobile-menu { display: none; text-align: center; background: #1976bd; color: white; width: 40px; height: 40px; line-height: 40px; text-align: center; position: absolute; right: 15px; top: 50%; margin-top: -10px;
-moz-border-radius: 3px; -webkit-border-radius: 3px; -khtml-border-radius: 3px; border-radius: 3px; }
#hdr-mobile-menu:hover { cursor: pointer; background: #0b5892; }
	
@media (max-width: 1199px) {

	ul.main-nav-menu > li > a { display: inline-block; font-size: smaller; padding: 0 10px; }
	
}

@media (max-width: 991px) {
	
	#header-nav {  }
	#header-nav > div { height: auto; }
	
	.main-nav-container { position: relative; float: none; clear: both; }
	
	ul.main-nav-menu { text-align: center; }
	ul.main-nav-menu > li { display: inline-block; float: none; }

}

@media (max-width: 767px) {
	
	#hdr-mobile-menu { display: block; }
	
	#header-nav { background: #1976bd; }
	
	.main-nav-container { display: none; width: 100%; clear: both; padding-top: 15px; }
	.main-nav-container.active { display: block; }
	
	ul.main-nav-menu { text-align: left; }
	ul.main-nav-menu > li { float: none; width: auto; display: block; }
	ul.main-nav-menu > li > a { display: block; float: none; height: auto; line-height: normal; padding: 10px; font-size: 18px; text-align: center; }
	ul.main-nav-menu > li > ul { position: relative; left: auto; top: auto; width: auto; }
	ul.main-nav-menu > li > ul > li > a { display: block; height: auto; padding: 10px 15px; text-align: center; }

}

/*------------- FOOTER ------------------*/

footer { color: #666; }

footer a { color: #999; }
footer a:hover { color: black; }
footer ul { margin: 0; padding: 0; }

#ftr-social { text-align: right; }

.menu-footer-nav-container { margin: 10px 0; }
ul#menu-footer-nav { }
ul#menu-footer-nav li { display: inline; }
ul#menu-footer-nav li:first-child { border: 0 none; }
ul#menu-footer-nav li a { margin: 0 15px 0 0; }
ul#menu-footer-nav li a:hover {  }

#scrollup { width: 40px; height: 40px; line-height: 40px; text-align: center; position: fixed; bottom: 0px; right: 15px; color: white; display: none; background: rgba(100,100,100,0.5); }

#ftr-contact { background: #1976bd; color: white; padding: 20px 0; }
#ftr-contact h3 { line-height: normal; font-size: 30px; margin: 0 0 10px 0;; }
#ftr-contact a.social { background: #024587; }
#ftr-contact p { margin: 0; }
#ftr-contact a { color: #9bcff6; }

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

@media (max-width: 767px) {
	
	#scrollup { display: block; }
	
	footer, #ftr-social { text-align: center; }
	
	#ftr-contact p { font-size: 14px; line-height: normal; margin-bottom: 20px; }

}


/*------------- POSTS ------------------*/

.post { margin: 0 0 40px 0; }
.post p { margin-bottom: 10px; }
.post h3 { margin: 0; }
.post-footer { font-size: 10px; margin: 10px 0 0 0; padding: 5px 0; border-top: 1px solid #ddd; clear: both; }
.pf-date { color: #666; }

.testi-thumb img { width: 100%; height: auto; }

.testi-box { padding: 0 0 0 60px; margin-bottom: 50px; position: relative; }
.testi-box i { font-size: 40px; color: #ccc; position: absolute; left: 0; top: 0; }
.testi-box p { margin-bottom: 15px; }
.testi-box h3 { margin: 0; font-size: 16px; } 

ol.commentlist { padding: 0 !important; }
ol.commentlist li { list-style-type: none !important; padding: 5px; border: 1px solid #eee; margin: 0 0 5px 0; position: relative; }
.comment-meta { position: absolute; right: 10px; top: 30px; font-size: 11px;  }
.comment-author { background: #e4e4e4; padding: 5px; margin: 0 0 10px 0; font-size: 18px; color: gray; }

#respond { margin: 30px 0 0 0; }

a.share { display: inline-block; width: 20px; height: 20px; line-height: 20px; color: #ccc; text-align: center; font-size: 12px; margin: 0 2px 0 0; background: none; }
a.share:before { margin: 0; padding: 0; }
a.share:hover { color: white; }
a.share.fa-facebook:hover { background-color: #3B5998; }
a.share.fa-twitter:hover { background-color: #33CCFF; }
a.share.fa-google-plus:hover { background-color: #C63D2D; }
a.share.fa-linkedin:hover { background-color: #4875B4; }
a.share.fa-pinterest:hover { background-color: #C92228; }

.posts-nav { text-align: center; padding-top: 40px; }
.posts-nav .prev, .posts-nav .next { margin: 0 5px; }

.post-nav { padding-top: 40px; }
.post-nav span { font-size: small; }
.pn-prev { float: left; }
.pn-next { float: right; text-align: right; }

@media (max-width: 767px) {
	
	.post-nav { text-align: center; }
	.pn-prev { float: none; margin-bottom: 20px; }
	.pn-next { float: none; text-align: center; }
	
	.testi-box { padding-left: 0; }
	.testi-box i { display: none; }
}

/*------------- SIDEBAR ------------------*/

.sidebar {  }
.widget { margin-bottom: 20px; }
.widget ul { padding: 0; margin: 0; }
.widget ul li { list-style: none; }
.widget h2 { margin: 0 0 5px 0; font-size: 20px; }

#pages-nav ul {  }
#pages-nav ul li { margin: 0 0 2px 0; }
#pages-nav ul li a { display: block; background: #e4e4e4; padding: 7px; }
#pages-nav ul li.current_page_item a { background: #f57c21; color: white; }
#pages-nav ul li a:hover { background: #0b5892; color: white; }

.searchform { position: relative; }
.search-text { width: 100%; height: 40px; display: block; float: left; }
.searchform .search-btn { background: #1976bd; width: 40px; height: 40px; display: block; position: absolute; text-align: center; position: absolute; right: 0px; top: 0px; }
.searchform .search-btn:hover { background: #0b5892; }
.search-btn i { color: white; font-size: 16px; height: 38px; line-height: 38px; }
.search-btn #searchsubmit { text-indent: -9999px; z-index: 50; position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; background: none; }

@media (max-width: 767px) {
	
	.sidebar { padding-top: 50px; text-align: center; }

}

/*------------- HOME ------------------*/

#slider-wrap-wrap { position: relative; clear: both; margin-top: -90px; }
#slider-wrap { height: 625px; overflow: hidden; }
.slide { height: 100%; width: 100%; background-position: center center; background-size: cover; }
.slide img { position: absolute; width: 100%; height: auto; }
.slide-text { height: 100%; position: relative; }
.slide-text h3 { position: absolute; right: 0; bottom: 150px; font-size: 40px; margin: 0;
text-shadow: 0px 1px 3px rgba(0,0,0,0.5); }
.slide-text h3 a { color: white; }

#slider-nav { position: relative; text-align: center; z-index: 500; height: 50px; margin-top: -50px; }

.cycle-pager span { display: inline-block; width: 15px; height: 15px; margin: 0 5px; text-indent: -9999px; background: #eee;
-moz-border-radius: 50%; -webkit-border-radius: 50%; -khtml-border-radius: 50%; border-radius: 50%; }
.cycle-pager span.cycle-pager-active { background: #1976bd; }
.cycle-pager span:hover { cursor: pointer; }

.cycle-next, .cycle-prev { display: inline-block; width: 50px; height: 50px; line-height: 50px; font-size: 20px; text-align: center; background-color: black; color: white; }

#slider-prev, #slider-next { position: absolute; top: 50%; margin-top: -25px; z-index: 150; }
#slider-prev { left: 0px; }
#slider-next { right: 0px;  }
.cycle-next:hover, .cycle-prev:hover { cursor: pointer; background-color: #1976bd; }

ul.home-posts { padding: 0; margin-bottom: 10px; }
ul.home-posts li { display: block; margin: 0 0 5px 0; list-style-type: none; }
ul.home-posts li a { display: block; background: #eeeeee; padding: 5px; padding-left: 10px; line-height: 30px; overflow: hidden; color: #666; }
ul.home-posts li:nth-child(even) a { background: #f3f3f3; }
ul.home-posts li a span { float: right; display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; background: #c8c8c8; color: white; }
ul.home-posts li a:hover { background: #f9f9f9; }
ul.home-posts li p { margin: 0; }

ul.tweets { margin: 0 0 20px 0; padding: 0; }
ul.tweets li { display: block; margin: 0 0 15px 0; }
ul.tweets li p { margin: 0; }
.twitter_timestamp { font-size: 10px; float: left; margin: 0 0 0 10px; }
.twitter_intents { font-size: 10px; margin: 5px 0 0 0;  }
.twitter_intents span { margin: 0 5px 0 0; }

#home-bkts { padding-top: 0; padding-bottom: 30px; }
#home-bkts > div { margin-top: -100px; background: white; padding-top: 30px; position: relative; z-index: 999; }

#tabs-nav {  }
#tabs-nav a { display: block; padding: 20px; background: #1976bd; color: white; margin-bottom: 10px; text-align: center; }
#tabs-nav a.cycle-pager-active { background: #f57c21; }

#home-projects { background: #ebf0f4; }

#projects-nav { float: right; }
#projects-nav span { display: inline-block; text-indent: -99999px; width: 20px; height: 20px; background: black; margin-left: 10px; }
#projects-nav span.cycle-pager-active { background: #f57c21; }

.projects-wrap { width: 100%; }
a.home-prop-box { display: block; position: relative; }
.hpb-hover { position: absolute; left: 0; top: 0; z-index: 999; width: 100%; height: 100%; background: rgba(245,124,33,0.8); }
a.home-prop-box span { padding: 7px; width: 100%; text-align: center; color: white; background: rgba(245,124,33,0.8); position: absolute; left: 0; bottom: 0; }
a.home-prop-box:hover span { background: rgba(245,124,33,1); }

.testi-wrap {  }
.testi-wrap img.attachment-medium { transform: rotate(-3deg); border: 4px solid white;
box-shadow: 0px 2px 8px rgba(0,0,0,0.25); -moz-box-shadow: 0px 2px 8px rgba(0,0,0,0.25); -webkit-box-shadow: 0px 2px 8px rgba(0,0,0,0.25); }

#home-testimonials { background: url(../images/home-testisbg.jpg/) no-repeat center center; background-size: cover; position: relative; color: white; }
#home-testimonials:before { content: ""; display: block; width: 100%; height: 100%; position: absolute; left: 0; top: 0; background: rgba(25,118,189,0.8); }

#home-testis-wrap { position: relative; z-index: 500; }
#home-testis-wrap .testi-box { margin-bottom: 0; }
#home-testis-wrap .testi-box i { color: white; }

#wpcf7-f318-o1 .row { margin-bottom: 10px; margin-left: -5px; margin-right: -5px; }
#wpcf7-f318-o1 .row > div { padding: 0 5px; }
#wpcf7-f318-o1 .wpcf7-submit { display: block; width: 100%; }

#home-bottom .container > div > div > h2 { text-align: center; }

#gform_wrapper_2 label { display: none !important; }

@media (max-width: 1199px) {
	
	.slide-text-text h3 { font-size: 30px; bottom: 50px; }
	
}


@media (max-width: 767px) {
	
	#slider-wrap-wrap { margin-top: auto; }
	#slider-wrap { height: 250px; }
	
	#slider-prev, #slider-next { display: none; }
	
	.slide-text { font-size: 16px; width: 100%; position: relative; }
	.slide-text h3 { font-size: 20px; float: none; text-align: center; position: relative; top: 50%; margin-top: -15px; right: auto; bottom: auto; }
	
	#slider-nav { height: auto; margin: 0; padding: 20px 0 0 0; }
	
	#home-bkts > div { margin-top: 0; }
	
	#home-bottom .container > div > div { margin-bottom: 30px; }
	
}

/*------------- PAGE ------------------*/

#page-banner { height: 300px; margin-top: -90px; position: relative; overflow: visible; background-position: center center; background-size: cover; }
#page-banner img { position: absolute; width: 100%; height: auto; }
#page-banner-title { height: 100%; position: relative; }
#page-banner h1 { color: white; position: absolute; left: 15px; bottom: 20px; margin: 0;
text-shadow: 0px 1px 3px rgba(0,0,0,0.7);
}

.team-row { margin-bottom: 30px; }
.team-row .img-fill { height: 150px; }

ul.team-contact-list { padding: 0 !important; margin: 0 0 10px 0; }
ul.team-contact-list li { list-style-type: none !important; font-size: 14px; color: #999; }
ul.team-contact-list li:before { margin-right: 10px; }
ul.team-contact-list li a {color: #999; }

.team-thumb { margin-bottom: 20px; }

ul.faqs { padding: 0 !important; }
ul.faqs li { list-style-type: none !important; }

.post.faq { } 
h3.question { margin-bottom: 10px; }
.answer { padding-left: 30px; }
.answer { text-indent: -30px;  }
span.faq-icon { display: inline-block; width: 30px; }
.answer span.faq-icon { text-indent: 0px; }

.content-row { margin-bottom: 30px; }

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

@media (max-width: 767px) {

	#page-banner { height: 150px; margin-top: 0; }
	#page-banner h1 { font-size: 28px; position: relative; top: 50%; margin-top: -15px; text-align: center; }
}

/*------------- EVENTS ------------------*/

.em-events-search { margin: 0 0 20px 0; }
table.events-table { width: 100%; }

/*------------- GALLERY - REGULAR ------------------*/

.gallery {  }
.gallery:after { content: " "; display: block; width: 100%; height: 0px; clear: both; }
.gallery.gallery-columns-3 { }
.gallery .gallery-item { float: left; text-align: center; padding: 0 15px; margin: 0 0 20px 0; text-align: center; }
.gallery .gallery-item img { max-width: 100%; height: auto; }
.gallery.gallery-columns-2 .gallery-item { width: 50%; }
.gallery.gallery-columns-2 .gallery-item:nth-child(2n+1) { clear: left; }
.gallery.gallery-columns-3 .gallery-item { width: 33.33333333%; }
.gallery.gallery-columns-3 .gallery-item:nth-child(3n+1) { clear: left; }
.gallery.gallery-columns-4 .gallery-item { width: 25%; }
.gallery.gallery-columns-4 .gallery-item:nth-child(4n+1) { clear: left; }
.gallery.gallery-columns-5 .gallery-item { width: 20%; }
.gallery.gallery-columns-5 .gallery-item:nth-child(5n+1) { clear: left; }
.gallery.gallery-columns-6 .gallery-item { width: 16.6666666%; }
.gallery.gallery-columns-6 .gallery-item:nth-child(6n+1) { clear: left; }
.gallery.gallery-columns-7 .gallery-item { width: 14.2857142%; }
.gallery.gallery-columns-7 .gallery-item:nth-child(7n+1) { clear: left; }
.gallery.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery.gallery-columns-8 .gallery-item:nth-child(8n+1) { clear: left; }


/*------------- GALLERY - FANCY ------------------*/

.subgalleries-wrap { margin: 0 -10px 30px -10px; }
.subgallery-box { width: 50%; float: left; padding: 10px; }
.subgallery-box a { display: block; position: relative; }
.subgallery-box h3 { position: absolute; left: 0; bottom: 0; padding: 10px; background: rgba(245, 124, 33, 0.8); color: white; margin: 0; font-size: 1em; width: 100%; }
.subgallery-box a:hover h3 { background: rgba(245, 124, 33, 0.9); }

#gallery-wrap-wrap { position: relative; }
#gallery-wrap { overflow: hidden; margin-bottom: 20px; border: 5px solid white;
box-shadow: 0px 1px 3px rgba(0,0,0,0.3); -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.3); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.3); }
.gallery-slide { height: 380px; width: 100%; text-align: center; }
.gallery-slide img { position: relative; width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 100%; }

#gallery-next, #gallery-prev { display: block; width: 45px; height: 45px; line-height: 45px; font-size: 20px; position: absolute; text-align: center; background: black; background: rgba(0,0,0,0.5); z-index: 999; color: white; }
#gallery-prev { right: 50px; bottom: 5px; }
#gallery-next { right: 5px; bottom: 5px; }
#gallery-next:hover, #gallery-prev:hover { cursor: pointer; background-color: black; }

a.gallery-thumb { margin: 10px; position: relative; display: block; float: left; }

#gallery-nav { margin: 0 -5px; }
#gallery-nav a { display: block; width: 16.66666%; float: left; padding: 0 5px; margin-bottom: 10px; }
#gallery-nav a img { display: block; max-width: 100%; height: auto; border: 3px solid white;
box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.25);
}
#gallery-nav a.cycle-pager-active img { border-color: #1976bd;
box-shadow: 0px 1px 3px rgba(0,0,0,0.55); -moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.55); -webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.55); }

/*----------------------------- GRAVITY FORMS ------------------------------------------*/

#main .gform_wrapper, .gform_wrapper { margin: 0; width: 100%; max-width: 100%; }
#main ul.gform_fields, ul.gform_fields { padding: 0; margin: 0; }
#main li.gfield, li.gfield { margin-bottom: 20px; list-style: none; clear: both; }
#main li.gfield input, #main li.gfield select, li.gfield input, li.gfield select { width: 100%; }
#main .gform_footer, .gform_footer { padding-top: 0; margin-top: 0; clear: both; }
#main .gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span,
.gform_wrapper .ginput_complex.ginput_container.has_first_name.no_middle_name.has_last_name span { width: 50%; }

.gfield_label { margin-bottom: 10px; display: block; }

#main ul.gfield_checkbox, ul.gfield_checkbox { padding: 0; }
#main ul.gfield_checkbox li, ul.gfield_checkbox li { list-style: none; }
#main ul.gfield_checkbox input, #main ul.gfield_checkbox label, ul.gfield_checkbox input, ul.gfield_checkbox label { display: inline-block; width: auto; vertical-align: middle; }
#main ul.gfield_checkbox label, ul.gfield_checkbox label { font-size: 0.9em; }

.gform_wrapper .gfield_date_day, .gform_wrapper .gfield_date_month { width: 3.5em !important;  }
.gform_wrapper .gfield_date_year { width: 4.5em !important;  }

.ginput_container_date > div > div { display: inline-block; margin-right: 10px; }

.gform_wrapper textarea.medium { width: 100% !important; }

.ginput_complex { overflow: hidden; }
.ginput_complex span { display: block; }
.ginput_complex.has_first_name.has_last_name span { width: 50%; display: block; float: left; }
.ginput_complex.has_first_name.has_last_name span.name_first { padding-right: 10px; }
.ginput_complex.has_first_name.has_last_name span.name_last { padding-left: 10px; }

span.address_city, span.address_state, span.address_zip, span.address_country { float: left; }
.ginput_container_address span.address_line_1 { margin-bottom: 10px; }
.ginput_container_address span.address_city { width: 25%; padding-right: 10px; }
.ginput_container_address span.address_state { width: 25%; padding-right: 10px; }
.ginput_container_address span.address_zip { width: 25%; padding-right: 10px; }
.ginput_container_address span.address_country { width: 25%; }

li.gfield.gf_left_half, li.gfield.gf_right_half { float: left; width: 50%; }
li.gfield.gf_left_half { padding-right: 10px; }
li.gfield.gf_right_half { padding-left: 10px; clear: none !important; }

li.gf_left_third, .gf_left_half { clear: both; }

li.gfield.gf_left_third, li.gfield.gf_middle_third, li.gfield.gf_right_third { width: 33.333333%; float: left; }
li.gfield.gf_left_third { padding-right: 15px; }
li.gfield.gf_middle_third { padding-right: 15px; padding-left: 15px; clear: none !important; }
li.gfield.gf_right_third { padding-left: 15px; clear: none !important; }


@media (max-width: 767px) {
	
	li.gfield.gf_left_half, li.gfield.gf_right_half, li.gfield.gf_left_third, li.gfield.gf_middle_third, li.gfield.gf_right_third { width: auto; float: none; margin-bottom: 30px; padding-left: 0; padding-right: 0; }
	
	
}

@media (min-width: 768px) {
	#top_header {
		display:none;
	}
}

@media (max-width: 768px) {
	#top_header {
		background: #4791ca;
		color:#ffffff;
		padding: 5px 0;
	}
	#top_header p{
		padding: 0px;
		margin: 0px;
	}
	#top_header a{
		color:#ffffff;
	}
	#top_header a:hover{
		color:#000000;
	}
}