/*
Theme Name: Gav Yam
Theme URI: http://gav-yam.co.il
Author: Ran Shternin
Author URI: http://ran.shternin.me
Description: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
*/

/* Webfonts */

@import url('http://fonts.googleapis.com/earlyaccess/opensanshebrew.css');

/* CSS */

a:focus {
	outline: none;
}

body {
	font-family: 'Open Sans Hebrew', serif;
	color: #0a4f7e;
}

.navbar-toggle {
	float: right;
	border: none;
	color: #8fb9d6;
	font-size: 18px;
}

.navbar {
	margin-bottom: 60px;
}

.navbar-default {
	background-color: #0a4f7e;
	border: none;
}

.navbar-default .navbar-collapse {
	border: none;
}

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

ul.nav.navbar-nav {
	margin: 0;
}

ul.nav.navbar-nav li a {
	color: #fff;
	font-size: 22px;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
}

ul.nav.navbar-nav li a:hover,
ul.nav.navbar-nav li a:focus {
	text-decoration: none;
	background-color: #1c6a9f;
}
	ul.nav.navbar-nav li a:hover,
	ul.nav.navbar-nav li a:focus {
		color: #8fb9d6;
	}

	.menu-item-gt {
		color:#81accb;
		font-size: 16px;
		vertical-align: middle;
	}

/* Menu styles - below 768px) */
@media (max-width: 768px) {

	ul.nav.navbar-nav li {
		border-bottom:1px solid #1c6a9f;
	}

	ul.nav.navbar-nav li:last-child {
		border-bottom:none;
	}

}

/* Menu styles - 768px and up) */
@media (min-width: 768px) {
	ul.nav.navbar-nav {
		width: 100%;
		height: 100%;
	}

	ul.nav.navbar-nav li {
		display: table;
		width: 25%;
		height: 200px;
		border-left:1px solid #1c6a9f;
	}

	ul.nav.navbar-nav li:first-child {
		border-right:1px solid #1c6a9f;
	}

	ul.nav.navbar-nav li a {
		display: table-cell;
		vertical-align: middle;
		width: 100%;
		padding: 0;
	}

	.navbar-collapse.collapse {
		height:200px;
		overflow-y: hidden;
	}

}

/* Homepage Gridblocks */

#mischar-merkaz {
	display: none;
}

.yellow {
	background-color: #edc107;
}

.blue {
	background-color: #0a4f7e;
}

.grid-box-bottom {
	height: 105px;
	background-image: url('img/ylw-circle.png');
	background-repeat: no-repeat;
	background-position: 10px 81px;
}
	.yellow .grid-box-bottom {
		background-image: url('img/blue-circle.png');
	}

	.grid-box-bottom img {
		display: block;
		max-width: 100%;
		margin: 0 auto;
	}


.h640 {
	display: block;
	height: 640px;
	margin-bottom: 20px;
}
	.h640-img {
		height: 535px;
	}
		.h640-img img {
			display: block;
		}

	#magi, #herz-1, #haifa-nasi, #rehovot {
		
	}


.h365 {
	display: block;
	height: 365px;
	margin-bottom: 20px;
}
	.h365-img {
		height: 260px;
	}
		.h365-img img {
			display: block;
			max-width:100%;
			height:260px; 
		}


	#herz-2 ,#negev {

	}


.h335 {
	display: block;
	height: 335px;
	margin-bottom: 20px;
}
	.h335-img {
		height: 230px;
	}
		.h335-img img {
			display: block;
		}
		

			#matam, #mischar-darom, #mischar-tsafon, #mischar-merkaz {

			}

.link-box {
	height: 255px;
	background-color: #e9e9e9;
	margin-bottom: 20px;
}
	.link-box-href {
		display: block;
		height: 222px;
		line-height: 222px;
		color: #0a4f7e;
		font-size: 20px;
		text-align: center;
	}
	.link-box-href:hover,
	.link-box-href:focus {
		text-decoration: none;
	}
	.link-box-bottom {
		height: 33px;
		background-image: url('img/ylw-blank-circle.png');
		background-repeat: no-repeat;
		background-position: 10px 50%;
		border-top: 1px solid #d8d8d8;
	}

/* Sidebar */
	
	a.logo {
		display: block;
		padding: 0px 25px 22px 0px;
		border-bottom: 1px solid #e9e9e9;
		margin: 0px 0 17px 0;
		}

	.slogan {
		font-size:16px;
		padding-bottom: 20px;
		border-bottom:1px solid #e9e9e9;
		padding-right: 10px;
		margin:0 0 40px 0;
	}

	.sidebar-heading {
		height: 40px;
		line-height: 40px;
		padding: 0 40px 0 10px;
		font-size: 20px;
		background-image: url('img/main-section-heading.png');
		background-repeat: no-repeat;
		background-size: 100% 40px;
	}

	.sidebar-heading p {
		margin:0;
	}

    /* LinkBox */
    #linkBox {
        /*background: url('img/header-bg.png') repeat-x 0 0;*/
        /*background-color: #0a4f7e;*/
        padding:5px;
        margin-bottom: 20px;
    }

	/* Contact */

	#contact {
		margin-bottom: 30px;
	}
		#contact .asterisk-tel a {
			color: #0a4f7e;
		}
		#contact .asterisk-tel a:hover,
		#contact .asterisk-tel a:focus {
			color: #428bca;
			text-decoration: none;
		}

	/* Contact Form 7 overrides */

	.wpcf7 {
		direction: rtl;
	}

	.wpcf7#wpcf7-f19-p10-o2 {
		margin-bottom: 60px;
	} 

	.wpcf7 .contact-row {
		min-height: 40px;
		border-bottom: 1px solid #e9e9e9;
	}

	.wpcf7 .submit-row {
		height: 40px;
		position: relative;
	}
		.ajax-loader {
			position: absolute;
			top: 10px;
			right: 10px;
		}

	.wpcf7 .contact-row .wpcf7-form-control-wrap {

	}

	.wpcf7 input[type="text"],
	.wpcf7 input[type="email"],
	.wpcf7 input[type="tel"] {
		width:100%;
		line-height: 35px;
		font-size: 16px;
		border:none;
		text-align: right;
		padding-right: 40px;
		color: #0a4f7e;
	}

	.wpcf7 .wpcf7-validation-errors {
		border:2px solid #edc107;
	}

	.wpcf7 .wpcf7-response-output {
		margin: 10px 0 30px;
	}

	.wpcf7 .wpcf7-not-valid-tip {
		padding: 0 40px 5px 0;
	}

	.wpcf7 input[type="submit"] {
		width: 100%;
		height: 100%;
		background-color: transparent;
		background-image: url('img/ylw-blank-circle.png');
		background-repeat: no-repeat;
		background-position: 10px 50%;
		border: none;
	}
		/* Contact Page Form Overrides */
		.page-id-10 .wpcf7 input[type="submit"] {
			text-align: left;
			padding-left: 40px;
			font-weight: bold;
			font-size: 18px;
		}

	.wpcf7#wpcf7-f19-p10-o2 input[type="submit"] {
		text-align: left;
		font-size: 18px;
		font-weight: bold;
		padding-left: 30px;
	}

	.wpcf7 input[type="submit"]:focus {
		outline: none;
	}

	::-webkit-input-placeholder {
	   color: #0a4f7e;
	}

	:-moz-placeholder { /* Firefox 18- */
	   color: #0a4f7e;
	}

	::-moz-placeholder {  /* Firefox 19+ */
	   color: #0a4f7e;
	}

	:-ms-input-placeholder {  
	  color: #0a4f7e;
	}

	.wpcf7 input[type="text"]:focus,
	.wpcf7 input[type="email"]:focus,
	.wpcf7 input[type="tel"]:focus {
		outline: none;
	}

	/* Search */

	#search {
		margin-bottom: 30px;
	}

	form#searchform {
		position: relative;
	}

	#search button[type="submit"] {
		width: 40px;
		height: 40px;
		background-color: transparent;
		background-image: url('img/ylw-blank-circle.png');
		background-repeat: no-repeat;
		background-position: 10px 50%;
		border: none;
		position: absolute;
		top: 0;
		left: 0;
	}

	#search button[type="submit"]:focus {
		outline: none;
	}

	#search input[type="text"] {
		width:100%;
		border-top: none;
		border-right: none;
		border-left: none;
		border-bottom: 1px solid #e9e9e9;
		line-height: 40px;
		font-size: 16px;
		text-align: right;
		padding:0 40px;
		color: #0a4f7e;
	}

	#search input[type="text"]:focus {
		outline: none;
	}

	#search .glyphicon-search {
		position: absolute;
		top: 0;
		right: 5px;
		line-height: 40px;
		width: 40px;
		font-size: 18px;
		color: #a6a6a6;
	}


/* Pages */

.row-bottom-margin-20 {
	margin-bottom: 20px;
}

.row-bottom-margin-60 {
	margin-bottom: 60px;
}

.section-heading {
	height: 40px;
	line-height: 40px;
	padding: 0 60px 0 10px;
	margin-bottom: 30px;
	font-size: 20px;
	background-image:url('img/main-section-heading.png');
	background-size: 100% 40px;
	background-repeat: no-repeat;
}

.main-content > * {
	font-size: 16px;
	color: #0a4f7e;
}

.main-content img[class*="wp-image-"] {
	display: block;
	max-width: 100%;
	height: auto;
}

a.about-box {
	display: block;
	margin-bottom: 30px;
}

a.about-box:hover,
a.about-box:focus {
	text-decoration: none;
}

.about-box-title {
	height: 65px;
	line-height: 105px;
	text-align: center;
	font-size: 32px;
	color: #fff;
	background-color: #0a4f7e;
}

.about-box-arrow {
	display: block;
	height: 40px;
	line-height: 40px;
	background-color: #0a4f7e;
	background-image: url('img/ylw-circle.png');
	background-repeat: no-repeat;
	background-position: 20px 50%;
}

/* Project Page */

#project-carousel {}

#project-carousel img.img-responsive {
	width: 100%;
}

/* Carousel */
#project-carousel .carousel-indicators {
	width:100%;
	height: 30px;
	margin: 0 !important;
	padding: 8px 0 0;
	right: auto;
	left: auto;
	bottom: 0;
	background-color: white;
	opacity: 0.8;
}

#project-carousel .carousel-indicators li {
	display: inline-block;
	width: 14px;
	height: 14px;
	margin: 1px;
	text-indent: -999px;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	/*background-color: #000 \9;
	background-color: rgba(0,0,0,0);*/
	background-color: #0a4f7e;
}

#project-carousel .carousel-indicators .active {
	/*margin: 0;*/
	width: 14px;
	height: 14px;
	background-color: #edc107;
}

a.project-site-href {
	display: block;
	line-height: 40px;
	font-size: 22px;
	color: #0a4f7e;
	padding-left: 60px;
	margin-bottom: 40px;
	background-image: url('img/ylw-circle.png');
	background-repeat: no-repeat;
	background-position: 20px 50%;
	-webkit-transition: background-color 0.8s, color 0.8s; /* Safari */
    transition: background-color 0.8s, color 0.8s;
}

a.project-site-href:hover,
a.project-site-href:focus {
	text-decoration: none;
	background-color: #1c6a9f;
	color: #8fb9d6;
}

.project-map {

}

.project-logo {
	padding:15px 0;
	margin-bottom: 30px;
	background-color: #e9e9e9;
}

.project-logo .img-responsive {
	margin:0 auto;
}

.project-id .section-heading {
	margin-bottom: 20px;
}

ul.project-details {
	list-style-type: none;
	margin: 0;
	padding: 0 60px 0 0;
}

.project-id {
	margin-bottom: 30px;
}

.project-manager-card {
	/*height: 175px;*/
	overflow: hidden;
	background-color: #0a4f7e;
}

	.manager-img {
		padding: 0;
	}
	.project_rep_img {
		display: block;
		width: 112px;
		/*height: 175px;*/
	}

	.manager-details {
		padding-top: 20px;
		padding-bottom: 20px;
	}
		.manager-details a {
			color: #fff;
		}
		
		.manager-name {
			font-size: 22px;
			color: #edc107;
			margin-bottom: 10px;
		}

		.manager-details .table>tbody>tr>td {
			color: #fff;
			padding: 0px;
			border:none;
		}

		.manager-details .table>tbody>tr.social-icons>td {
			text-align: center;
			font-size: 22px;
			padding-top: 10px;
		}
		.manager-details .table>tbody>tr.social-icons>td i {
			padding:0 15px;
		}

/* Investors */

.pres-box {
	margin-bottom: 30px;
}

.daily-trade-heading {
	background-color: #0a4f7e;
	color: #fff;
	height: 40px;
	line-height: 40px;
	padding: 0 20px 0 10px;
	margin-bottom: 10px;
	font-size: 20px;
}

.daily-trade {
	margin-bottom: 30px;
}

a.file-item-box {
	display: block;
	color: #0a4f7e;
	font-size: 18px;
	border: 1px solid #e9e9e9;
	background-image: url('img/ylw-blank-circle.png');
	background-repeat: no-repeat;
	background-position: 10px 50%;
	padding:5px 10px 5px 40px;
	margin-bottom: 7px;
}
a.file-item-box:hover,
a.file-item-box:focus {
	text-decoration: none;
}
a.file-item-box i {
	margin-left: 10px
}
a.file-item-box i.fa.fa-file-pdf-o {
	color: #ab0100;
}
a.file-item-box i.fa.fa-file-text {
	color: #0a4f7e;
}
a.file-item-box i.fa.fa-file-powerpoint-o {
	color: #f04e23;
}

/* Contact Page */

.quote-box {
	font-size:25px;
	margin-bottom: 20px;
	font-weight: 100;
}

.quote-by {
	position: relative;
	height: 92px;
	margin-bottom: 30px;
	background-image: url('img/signature_new.png');
	background-repeat: no-repeat;
	background-position: 0 50%;
}

.quote-by p {
	position: absolute;
	top: 0;
	left: 0;
	font-size: 25px;
}

.location-box {
	margin-bottom: 30px;
}


.location-box iframe {
	display: block;
}

.location-title {
	font-size: 20px;
	font-weight: bold;
	color: #edc107;
}

.location-details {
	height: 178px;
	padding: 20px;
	background-color: #0a4f7e;
}

/*.location-details ul {
	list-style-type: none;
	padding: 0;
}*/

.location-details p {
	font-size: 16px;
	color: #fff;
	margin: 0;
}

.location-details a {
	color: #edc107;
}

/* Search Results Page */

.search-result {
	padding-bottom: 9px;
	margin: 20px 0 20px;
	border-bottom: 1px solid #eee;
}

.search-result a {
	color: #0a4f7e;
}

.search-result a:hover,
.search-result a:focus {
	color: #8fb9d6;
	text-decoration: none;
}

/* Footer */

#main-footer {
	margin-top: 80px;
	background-color: #e9e9e9;
}

#main-footer .container {
	padding:40px 0;
}

#main-footer ul {
	list-style-type: none;
	padding: 0;
}

#main-footer ul li {
	color: #0a4f7e;
}