/*
Theme Name: Company Express
Theme URI: 
Author: Lingo
Author URI: http://lingo.co.il/
Description: 
Version: 1.0
License: Lingo all rights reserved
License URI: 
Tags: 
Text Domain: twentyfourteen
*/

/*********************************************
	GLOBAL
*********************************************/
html {
	background: url(images/bg.png) 0 0 repeat;
}
body {
	font-size: 16px;
	font-family: Carmela, Arial, Helvetica, sans-serif;
	background: transparent;
	color: #534747;
	max-width: 100vw;
	overflow-x: hidden;
}
img {max-width: 100%;}
a {color: #7a0022;}
a:hover {color: #7a0022;}
ol, ul {
	padding-left: 20px;
}

/* buttons */
.btn1 {
	display: inline-block;
	background: #790022;
	color: #fff;
	position: relative;
}
.btn1 > span {
	display: block;
	border: 1px solid #ad4f69;
	margin: 1px;
	padding: 5px 10px;
	overflow: hidden;
}
.btn1 span span {
	float: left;
}
.btn1 i {
	float: right;
	width: 43px;
	height: 43px;
	background: url(images/circle-arrow-right.png) 0 0 no-repeat;
	margin-left: 10px;
}
.btn1:hover {
	text-decoration: none;
	color: #fff;
}

/* align */
.alignleft {
	float: left;
	margin: 10px 10px 10px 0; 
}
.alignright {
	float: right;
	margin: 10px 0 10px 10px; 
}

/* colors */
.color-bordo {color: #790022;}
.color-bordo2 {color: #990d34;}

/* sizes */
.size16 {font-size: 16px;}
.size18 {font-size: 18px;}
.size20 {font-size: 20px;}

/*********************************************
	STRUCTURE
*********************************************/
#site-wrap {
	width: 100%;
	max-width: 100%;
}
#middle {
	margin: 50px 0 50px;
}

/*********************************************
	HEADER
*********************************************/
body.home #header {}
#header {
	width: 100%;
	height: 114px;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	background: #fff;
	background: rgba(255,255,255,0.95);
}
.header-top {
	padding: 8px 0;
	overflow: hidden;
}
.header-top .social-links {
	float: right;
}
.header-bottom .languages {
	float: left;
	text-transform: uppercase;
	font-size: 12px;
	color: #534747;
}
#logo {margin-top: -15px;}
#logo img {max-width: 100%;}

#mainimage {
  border-bottom: 6px solid #850001;
  width: 100%;
  height: 159px;
  background: url(images/header-image.jpg) center top repeat-x;
  margin-top: 20px;
}

/* main-nav */
.main-nav {}
.main-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav > ul {}
.main-nav > ul > li:first-child {margin-left: 0;}
.main-nav > ul > li {
	float: left;
	margin-left: 28px;
	position: relative;
}
.main-nav > ul > li > a {
	font-size: 21px;
	font-weight: normal;
	color: #3b393a;
	position: relative;
}
.main-nav > ul > li:hover > a {
	text-decoration: none;
	color: #7a0022;
}
.main-nav > ul > li:hover > a:before {
	content: "";
	width: 100%;
	height: 100%;
	padding: 5px;
	border: 1px solid #7a0022;
	box-sizing: content-box;
	position: absolute;
	top: -6px;
	left: -5px;
}
.main-nav > ul > li:hover > a:after {
	display: none;
	content: "";
	width: 5px;
	height: 3px;
	background: url(images/main-nav-arrows.png) -4px 0 no-repeat;
	position: absolute;
	bottom: -10px;
	right: 50%;
	margin-right: -2px;
}
.main-nav > ul > li.menu-item-has-children:hover > a:after {display: block;}

/* main-nav - sub-nav */
.main-nav > ul > li:hover .sub-nav-container {
	top: 0;
}
.main-nav > ul > li .sub-nav-container {
	max-width: 110%;
	padding-top: 76px;
	position: absolute;
	top: -1000px;
	right: -5px;
	z-index: 9999;
}
.main-nav > ul > li ul {
	display: table;
	width: 234px;
	background: #fff;
	background: rgba(255,255,255,0.95);
	border: 1px solid #fff;
	padding: 2px;
}
.main-nav > ul > li ul li {
}
.main-nav > ul > li ul li a {
	display: block;
	white-space: nowrap;
	padding: 10px 30px;
	font-size: 18px;
	color: #7a0022;
	position: relative;
}
.main-nav > ul > li ul li a:before {
	content: "";
	width: 3px;
	height: 5px;
	background: url(images/main-nav-arrows.png) 0 0 no-repeat;
	position: absolute;
	top: 50%;
	left: 12px;
	margin-top: -2px;
}
.main-nav > ul > li ul li a:hover {
	background: #7a0022;
	text-decoration: none;
	color: #fff;
}
.main-nav > ul > li ul li a:hover:before {
	background-position: 0 -6px;
}

.navbar-toggle {
	float: right;
	margin: 0;
}
.navbar-toggle .icon-bar {
	background: #ad4f69;
}

/*********************************************
	FOOTER
*********************************************/
#footer {
	padding-bottom: 30px;
}
.footer-sep {
	border-top: 1px solid #790022;
	padding-top: 16px;
}
.to-left {float: left;}
.footer-logo,
.footer-copyrights,
.footer-other {
	font-size: 14px;
}

/* footer-nav */
.footer-nav {margin-top: 6px;}
.footer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-nav ul li:first-child {margin-right: 0;}
.footer-nav ul li {
	display: inline-block;
	margin-right: 18px;
}
.footer-nav ul li a {
	font-size: 14px;
	color: #534747;
}
.footer-nav ul li a:hover {color: #790022;}

/* footer-links */
.footer-links {margin-top: 5px;}
.footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-links ul li:first-child {margin-right: 0;}
.footer-links ul li {
	display: inline-block;
	margin-right: 18px;
}
.footer-links ul li a {
	font-size: 14px;
	color: #534747;
}
.footer-links ul li a:hover {color: #790022;}

/*********************************************
	HOME SLIDER
*********************************************/
#home-slider {
	position: relative;
	z-index: 1;
	overflow: hidden;
}
.home-slider-item {
	position: relative;
	max-width: 100%;
}
.home-slider-item img {
	max-width: 1950px;
}
.home-slider-item-content {
	width: 100%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding-top: 175px;
}
.home-slider-item-content article {
	max-width: 70%;
	color: #fff;
	background: rgba(0,0,0,0.5);
	padding: 20px;
}
.home-slider-item-content article h1 {
	font-size: 70px;
	line-height: 0.8em;
	margin: 0;
}
.home-slider-item-content article h1 + p {margin-top: 1em;}
.home-slider-item-content article h1 small {
	font-size: 48px;
	color: #fff;
}
.home-slider-item-content article h2 {
	font-size: 48px;
	margin-top: 0;
}
.home-slider-item-content article p {
	font-size: 18px;
	line-height: 1.2em;
}
.home-slider-item-content article a {
	color: #fff;
	text-decoration: underline;
}
.home-slider-item-btn {
	font-size: 30px;
	margin-top: 10px;
}
.home-slider-pager-container {
	height: 160px;
	background: #790022;
	position: relative;
	z-index: 100;
}
.home-slider-pager {}
.home-slider-pager-item {
	float: left;
	width: 25%;
	position: relative;
	overflow: hidden;
}
.home-slider-pager-item:first-child:before {display: none;}
.home-slider-pager-item:before {
	content: "";
	width: 1px;
	height: 70%;
	background: #993350;
	position: absolute;
	top: 15%;
	left: 0;
}
.home-slider-pager-item-btn {
	height: 150px;
	margin: -8px 30px 0;
	text-align: center;
	position: relative;
	padding-top: 120px;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
}
.home-slider-pager-item i {
	display: block;
	width: 140px;
	height: 140px;
	margin: 0 auto;
	position: absolute;
	top: 30px;
	left: 50%;
	margin-left: -50px;
}
.home-slider-pager-item i:before {
	display: block;
	content: "";
	height: 140px;
	margin: 0 auto;
	background: url(images/slider-pager.png) 0 0 no-repeat;
}
.home-slider-pager-item.pager-item-1 i:before {
	width: 122px;
	background-position: -851px 0;
}
.home-slider-pager-item.pager-item-2 i:before {
	width: 113px;
	background-position: -565px 0;
}
.home-slider-pager-item.pager-item-3 i:before {
	width: 138px;
	background-position: -271px 0;
}
.home-slider-pager-item.pager-item-4 i:before {
	width: 140px;
	background-position: 0 0;
}
.cycle-pager-active .home-slider-pager-item-btn {
	background: #fff;
	color: #790022;
}
.cycle-pager-active.home-slider-pager-item.pager-item-1 i:before {background-position: -851px -140px;}
.cycle-pager-active.home-slider-pager-item.pager-item-2 i:before {background-position: -565px -140px;}
.cycle-pager-active.home-slider-pager-item.pager-item-3 i:before {background-position: -271px -140px;}
.cycle-pager-active.home-slider-pager-item.pager-item-4 i:before {background-position: 0 -140px;}

/*********************************************
	POST / CONTENT
*********************************************/
.post {
	overflow: hidden;
}
.post-header .post-title {margin-top: 0;}
.post-title {
	font-size: 30px;
	font-weight: normal;
	color: #790022;
	margin-bottom: 20px;
}
.post-title i {
	float: left;
	margin-right: 10px;
	margin-top: -10px;
}
.decorated-title {
	background: url(images/title-bg.png) left bottom no-repeat;
	padding: 0 5px 15px 0;
}
.decorated-title i {
	margin-top: 0;
}
.decorated-title.with-icon {
	background-position: left 60px bottom;
}
.post-content {}
.post-content p {
	margin-bottom: 1em;
}

/* icons */
i.icon-lamp {
	display: inline-block;
	width: 52px;
	height: 52px;
	background: #790022;
	border-radius: 100%;
	position: relative;
}
i.icon-lamp:before {
	display: inline-block;
	content: "";
	width: 36px;
	height: 37px;
	background: url(images/icon-lamp.png) 0 0 no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -18px;
	margin-left: -18px;
}

/* video-block */
.video-block {
	display: table;
	width: 100%;
	background: #e5e4e4;
	overflow: hidden;
	margin-top: 30px;
	padding: 10px 16px 10px 10px;
	position: relative;
}
.video-block-content {
	float: right;
	width: 34%;
	padding-left: 20px;
}
.video-block-title {
	font-size: 24px;
	font-weight: normal;
	color: #790022;
	margin-top: 0;
}
.video-block-text {}
.video-block-footer {
	position: absolute;
	right: 16px;
	bottom: 10px;
}
.video-date {
	display: inline-block;
	font-size: 14px;
	color: #790022;
	margin-right: 15px;
}
.video-block-video {
	float: left;
	width: 66%;
	text-align: left;
	border: 1px solid #fff;
}
.video-block-video img,
.video-block-video iframe {
	float: left;
	width: 100%;
	max-width: 100%;
}

/* services-list */
.services-list {
	margin-top: 40px;
	overflow: hidden;
}
.services-list-title {
	font-size: 30px;
	color: #534747;
	overflow: hidden;
	padding-top: 30px;
	margin-bottom: 30px;
}
.services-list-title:before {
	content: "";
	float: right;
	width: 81px;
	height: 76px;
	background: url(images/icon-folder.png) 0 0 no-repeat;
	margin-left: 20px;
	margin-top: -30px;
}
.services-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.services-list ul li {
	float: right;
	width: 50%;
	position: relative;
	padding-right: 18px;
}
.services-list ul li:before {
	content: "";
	width: 3px;
	height: 5px;
	background: url(images/main-nav-arrows.png) 0 0 no-repeat;
	position: absolute;
	top: 8px;
	right: 0;
}
.services-list ul li:nth-child(odd) {
	padding-left: 20px;
}
.services-list ul li a {
	font-size: 15px;
	color: #790022;
	text-decoration: underline;
}

/* address-block */
.address-block {
	padding-top: 40px;
	background: url(images/address-block-bg.png) right 0 no-repeat;
	overflow: hidden;
	margin-top: 50px;
}
.address-block-icon {
	float: right;
	margin-left: 26px;
}
.address-block-content {
	display: table;
	font-size: 14px;
	padding-right: 36px;
	border-right: 1px solid #790022;
}
.address-block-content p:last-child {margin-bottom: 0;}

/* news-block */
.news-block {}
.news-block-title {
	font-size: 68px;
	color: #790022;
	line-height: 0.8em;
	margin-bottom: 20px;
}
.news-block-title span {
	display: block;
	font-size: 30px;
	line-height: 1em;
}
.news-block-title:before {
	float: left;
	content: "";
	width: 87px;
	height: 87px;
	border-radius: 100%;
	background: url(images/icon-news.png) center center no-repeat #790022;
	margin-right: 20px;
}
.news-block ul {
	margin: 0 0 0 43px;
	padding: 0 0 0 20px;
	list-style: none;
	border-left: 1px solid #790022;
}
.news-block ul li {}
.news-block ul li + li {margin-top: 1em;}
.news-block-text {
	color: #534747;
	font-size: 18px;
	line-height: 1.1em;
}
.news-block-date {
	display: block;
	font-size: 14px;
	color: #990d34;
	margin-top: 5px;
}
.sidebar-inner .news-block-title {font-size: 50px;}
.sidebar-inner .news-block-title:before {
	width: 60px;
	height: 60px;
	background-size: 40px;
}
.sidebar-inner .news-block ul {margin-right: 30px}

/* search */
#searchform {
	position: relative;
	margin-bottom: 40px;
}
#searchform input[type="submit"] {
	width: 35px;
	height: 35px;
	position: absolute;
	top: 0px;
	right: 0;
	z-index: 2;
	background: transparent;
}
#searchform :before {
	content: "\e003";
	width: 35px;
	height: 35px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: 400;
	line-height: 35px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #790022;
	text-align: center;
	color: #fff;
	position: absolute;
	top: 0px;
	right: 0;
	z-index: 1;
}

/* 404 */
.error404 .search-form {
	position: relative;
	margin-bottom: 10px;
}
.error404 .search-form:before {
	content: "\e003";
	width: 35px;
	height: 35px;
	display: inline-block;
	font-family: 'Glyphicons Halflings';
	font-style: normal;
	font-weight: 400;
	line-height: 35px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	background: #790022;
	text-align: center;
	color: #fff;
	position: absolute;
	bottom: 0px;
	right: 0;
	z-index: 1;
}
.error404 .search-form input[type="submit"] {
	width: 35px;
	height: 35px;
	position: absolute;
	top: 0px;
	right: 0;
	z-index: 2;
	background: transparent;
}

/* wp-pagenavi */
.wp-pagenavi {
	overflow: hidden;
	margin-top: 30px;
}
.wp-pagenavi span.pages {
	width: auto;
	padding: 0 10px;
	margin-left: 0;
}
.wp-pagenavi a,
.wp-pagenavi span {
	float: left;
	margin: 0 2px;
	padding: 0;
	width: 25px;
	height: 25px;
	text-align: center;
	line-height: 25px;
}

/* category */
.category-header {}
.category-header h1 {margin-top: 0;}

.jurisdiction-item:nth-child(even) {margin-left: 4%;}
.jurisdiction-item {
	float: left;
	width: 48%;
	height: 150px;
	background: #fff;
	border: 1px solid #790022;
	text-align: center;
	padding: 10px;
	margin-bottom: 4%;
}
.jurisdiction-item-thumb {
	display: block;
	width: 100px;
	height: 100px;
	overflow: hidden;
	margin: 5px auto 0;
}
.jurisdiction-item-thumb img {
	max-width: 100%;
}

/* navigation */
.navigation {}
.navigation .active a {
	color: #534747;
}

/* gallery */
.gallery {
	overflow: hidden;
	margin-right: -5px;
	margin-bottom: 1em;
}
.gallery-item {
	float: left;
	overflow: hidden;
	padding: 5px;
}
.gallery-item > div {
	display: block;
	width: 100%;
	overflow: hidden;
}
.gallery-item a {display: block;}
.gallery-item a img {
	height: auto;
}
.gallery-columns-1 .gallery-item {width: 100%;}
.gallery-columns-2 .gallery-item {width: 50%;}
.gallery-columns-3 .gallery-item {width: 33.333%;}
.gallery-columns-4 .gallery-item {width: 25%;}
.gallery-columns-5 .gallery-item {width: 20%;}

/*********************************************
	FORMS
*********************************************/
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
	width: 100%;
	max-width: 100%;
	height: 35px;
	border: 1px solid #790022;
	padding: 5px 10px;
	line-height: 20px;
	color: #790022;
}
textarea {
	height: 110px;
}
input, textarea, select {outline: 0;}
input[type="submit"] {
	background: #790022;
	border: 0;
	color: #fff;
	padding: 5px 20px;
	font-size: 30px;
}

.form {}
.form-row {
	width: 100%;
	overflow: hidden;
	margin-bottom: 10px;
}
.form-row label {
	display: block;
	font-size: 18px;
	font-weight: normal;
	color: #790022;
	line-height: 1em;
}
.form label.checkbox {
	font-size: 16px;
	color: #534747;
	margin: 0;
}
.form label.checkbox input {
	float: right;
	position: static;
	margin: 0 0 0 10px;
	position: relative;
	top: 2px;
}
.side-form {
	margin-top: 80px;
}
.side-form-title {
	padding: 50px 20px 30px;
	background: url(images/icon-quot.png) right 20px top 16px no-repeat #790022;
	color: #fff;
	font-size: 18px;
	position: relative;
	margin-bottom: 30px;
}
.side-form-title:after {
	display: block;
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 25px 0px 0 22px;
	border-color: #790022 transparent transparent transparent;
	-webkit-transform: skew(10deg, 0deg);
	-moz-transform: skew(10deg, 0deg);
	-o-transform: skew(10deg, 0deg);
	-ms-transform: skew(10deg, 0deg);
	transform: skew(10deg, 0deg) ;
	position: absolute;
	bottom: -23px;
	right: 80px;
}
.side-form input[type="submit"] {
	float: left;
	margin-top: 5px;
}