/*
Theme Name: tamplate
Theme URI: http://www.leos.co.il
Description: אתר בעיצוב אישי מחברת לאוס מדיה
Author: Chen Oren @LEOS
Version: 1.0
*/

@import url('css/contact.css');
@import url('css/hover.css');
@import url('fonts/almoni/almoni.css');

* { 
	margin: 0; 
	padding: 0; 
}
html,
body {
    font-family: almoni;
	margin:0;
	padding:0;
	height:100%;
}
#wrapper {
	min-height:100%;
	position:relative;
}
#content,
#contact_content {
	padding-bottom:130px; /* Height of the footer element */
	background:url('images/page_bg.png') no-repeat;
	background-size:cover;
}
#contact_content{
	background:url('images/contact_bg.png') no-repeat;
	background-size:cover;
    height: 1030px;
}
.logo a {
	display:inline-block;
}
.container,
.home_container,
.contact_container {
	width:100%;
    max-width:1024px;
    margin:0 auto;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}
.clear {
	clear: both;
}
.inrow {
    font-size:0 !important;
}
.inrow div {
    font-size:initial;
}
.inrow .col2 {
    width:50%;
}
.inrow .col3 {
    width:33.3%;
}
.inrow .col4 {
    width:25%;
}
.inrow .col5 {
    width:20%;
}
.inrow .col6 {
    width:16.66%;
}
.inrow .col7 {
    width:14.28%;
}
.inrow .col8 {
    width:12.5%;
}
.inrow .col9 {
    width:11.11%;
}
.inrow .col10 {
    width:10%;
}
.inline {
    vertical-align: top;
    display: inline-block;
}
.inlinem {
    vertical-align: middle;
    display: inline-block;
}
.inlineb {
    vertical-align: bottom;
    display: inline-block;
}
.abscenter {
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
h1 , 
h2 ,
h3 { 
	font-weight: normal; 
	margin: 0 0 0 0;
}

p { 
	margin: 0 0 0 0; 
}
a {
	text-decoration:none;
	color:inherit; 
}
a:hover {
	text-decoration:none; 
} 
ul { 
	margin: 0 0 0 0;
	list-style:none; 
}
nav {
    text-align: center;
}
nav ul {
	display:inline-block;
    font-size:0;
}
nav .menu > li {
	display:inline-block;
	vertical-align:middle;
	position:relative;
}
nav ul li:after {
	content: "";
	display:inline-block;
    vertical-align: middle;
    font-size:20px;
	color:#b8292f;
}
nav ul li:last-child:after {
	content: " ";
}
nav .menu li > a {
	display:inline-block;
	vertical-align:middle;
    font-family:almoni;
    font-size:20px;
	color:white;
	transition:all .5s ease-out;
    padding: 10px;
}
nav .menu li.current_page_item > a ,
nav .menu li.current-menu-item > a ,
nav .menu li:hover > a,
nav .menu li:hover {
    color:#1e2844;
	background:white;
}
.entry ul {
    margin: 0 30px;
    list-style: inherit;
}
.sub-menu {
    background:white;
    z-index:999;
    width:100%;
    position:absolute;
    top:50px;
    right:0px;
    border:1px solid white;
    border-top:0;
    visibility:hidden;
    opacity:0;
    transition: all .5s ease;
}
.sub-menu li {
	display:block;
}
.sub-menu li a{
	color:black !important;
}
.sub-menu li:hover {
	background:#bdc131 !important;
}
.sub-menu li a:hover {
	background:none !important;
}
.menu-item-has-children:hover .sub-menu {
    visibility:visible;
    opacity:1;
}
.sub-menu li {
    display:block;
}
header {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
}
header .header-top{
	background:#1e2844;
    padding: 15px 0
}
header .header-top .phone{
	color:white;
	font-size:30px;
    display: inline-block;
    width: 49%;
    vertical-align: bottom;
    margin-bottom: 6px;
}
header .header-top .social {
    display: inline-block;
    width: 50%;
    text-align: left;
	vertical-align:top;
}
.social img {
    margin-left: 15px;
}
header .header-bottom{
	background:rgba(30, 40, 68, 0.7);
}
.logo {
    text-align: center;
    padding: 10px 0 0px 0;
}
.contsidebar{
    position: fixed;
    top:44%;
	left: -300px;
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    -ms-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    z-index: 9999;
}
.contcontainer{
	background:#06b4fd;
    padding: 10px 0;
}
.contsidebar .contcontainer {
    position: relative;
	width:300px;
}
.contsidebar .contheader {
    width: 40px;
    height: 100%;
    background: url('images/fbsidehead.png') center no-repeat;
    background-size: 100%;
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    left: 101%;
    cursor: pointer;
}
.contsidebar .contbody  {
    display: inline-block;
    vertical-align: middle;
}
.cont-page {
    text-align: center;
}
.cont-page h2{
	font-size:20px;
	margin-bottom:10px;
}
.button {
    position: fixed;
    bottom: 0%;
    right: 25px;
	cursor:pointer;
}
.contsidebar .contheader:hover{
	opacity:0.8;
}

/*home page*/

.home_container,
.body_fi_container{
    position: absolute;
    top:400px;
    right: 0px;
    left: 0px;
}
.body_fi_container{
	top:50px;
}
.body_o{
	background:url('images/body_o.png') no-repeat;
	height:1106px;
    position: relative;
    background-size:cover;
}
div#slide-1-layer-12 {
    color: white !important;
	background:rgba(30, 40, 68, 0.7);
    padding: 15px !important;
    text-align: center;
	width:50%;
	border-radius:5px;
}
.tp-mask-wrap{
	  -webkit-transition:all .3s ease-out;
	  -moz-transition:all .3s ease-out;
	  -ms-transition:all .3s ease-out;
	  -o-transition:all .3s ease-out;
	  transition:all .3s ease-out;
	  overflow:visible !important;
	  cursor: pointer;
}
.tp-caption img:hover {
	  -webkit-transform:translate(0px,-10px);
	  -moz-transform:translate(0px,-10px);
	  -ms-transform:translate(0px,-10px);
	  -o-transform:translate(0px,-10px);
	  transform:translate(0px,-10px);
}
.body_t{
	background:url('images/body_t.png') no-repeat;
	height:1196px;
    position: relative;
    background-attachment: fixed;
}
.body_t_content,
.body_tr_content,
.body_f_content,
.body_fi_content,
.body_s_content {
    position: absolute;
    right: 0px;
	transition: all .5s ease-out;
	transition-duration: 1s;
	width:50%;
	top:-140px;	
}
.body_t_content h2,
.body_tr_content h2,
.body_f_content h2,
.body_fi_content h2,
.body_s_content h2{
	display:inline;
	font-size:45px;
	color:#0286c3;
	background:rgba(255, 255, 255, 0.5);
    width: 100%;
    padding: 6px 20px;
    text-align: center
}
.post-text {
    background: rgba(51, 50, 47, 0.67);
    padding: 20px;
    border-radius: 5px;
	color:white;
	margin-top: 45px;
	font-size:0;
}
.bt_img {
    display: inline-block;
    width: 10%;
    vertical-align: top;
	margin:6px 0 0 15px; 
}
.post_bg {
    display: inline-block;
    width: 85%;
    vertical-align: top;
}
.post_bg h3{
	font-size:38px;
}
.post_bg p {
    font-size: 20px;
    line-height: 25px;
	font-weight:300;
}
.rm {
    font-size: 20px;
    transition: all .5s ease;
    margin-top: 10px;
}
.body_tr{
	background:url('images/body_tr.png') no-repeat;
	height:1297px;
	position:relative;
	background-size: cover;
	background-attachment: fixed;
}
.body_f{
	background:url('images/body_f.jpg') no-repeat;
	height:1282px;
	position:relative;
	background-size: cover;
	background-attachment: fixed;
}
.body_fi{
	background:url('images/body_fi.jpg') no-repeat;
	height:1282px;
	position:relative;
	background-size: cover;
	background-attachment: fixed;
}
.body_s{
	background:url('images/body_s.jpg') no-repeat;
	height:1282px;
	position:relative;
	background-size: cover;
    background-attachment: fixed;
}
.body_f_content .post-text {
    margin-top: 11px;
}
.body_fi_content h2 {
    position: absolute;
    top: -146px;
    width: 50%;
    right: 215px;
}
.rm:hover{
	color:black;
}

/*pages*/

.title_bg {
    background: rgba(189, 193, 49, 0.75);
    position: relative;
    top: -41px;
}
.title_bg h1 {
    color: white;
    font-size: 25px;
    padding: 12px 0 3px 0;
}
.entry {
    margin: 0px 0 42px 0;
}
.entry p,
.inner_entry p{
	font-size:21px;
	line-height:27px;
	margin-bottom:10px;
}

/*advice*/

.inner_entry {
    display: inline-block;
    width: 74%;
    vertical-align: top;
    margin-left: 77px;
}
ul.page_left {
    display: inline-block;
    width: 18%;
    vertical-align: top;
}
ul.page_left li {
    margin-bottom: 15px;
	text-align:left;
}
.inner_entry p img {
    width: 100%;
    height: auto;
	margin-top:20px;
}
.icon img {
    width: 67%;
    margin: 13px 0 0 13px;
}
.icon {
    height: 82px;
    width: 82px;
    -moz-border-radius: 35px;
    border-radius: 41px;
    background: #bdc131;
	transition:all .5s ease-out;
    margin-right: 4px;
}
.icon:hover{
	background:black;
}
ul.treatments {
    margin: 50px 0;
    font-size: 0;
}
ul.treatments h2 {
    text-align: center;
    padding-bottom: 10px;
	color:#4d4b49;
	font-size:25px;
    border-bottom: 1px solid #90908f;
}
ul.treatments li {
    display: inline-block;
    width: 32%;
    vertical-align: top;
    margin: 15px 0 0 13px;
}
.post-link h3,
.post_litle{
	font-size:25px;
	text-align:center;
	margin-top: 10px;
    transition: all .5s ease;
}
.post-link h3:hover,
.post_litle:hover{
	color:#0286c3;
}
.post-link {
    background: white;
    padding: 8px 12px;
    border-radius: 5px;
}
.projectshover,
.aprojectshover{
    position: absolute;
    display: inline-block;
    left: 0;
    right: 0;
    bottom: 151%;
    margin: auto;
    width: 93%;
    height: 80%;
    transition: all .5s ease;
    background: rgba(0, 0, 0, 0.54);
	z-index: 1;
}
.post-link,
.thumbnail_photo{
	position:relative;
	display:block;
	overflow: hidden;
}
.post-link img,
.thumbnail_photo img {
    width:100%;
    height:100%;
}
.projectshover > img,
.aprojectshover > img {
	width: 27%;
    height: auto;
    position: absolute;
    margin: auto;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);	
}
ul.treatments li:hover .projectshover{
	bottom:43px;
}
.page_name{
    position: absolute;
    z-index: 0;
    width: 98%;
    height: 100%;
    top: 0;
    transition: all .7s ease;
    left: -100%;
	font-size:20px;
    padding-top: 35px;
	line-height: 25px;	
}
.box_item:hover .page_name{
	left: 47px;
	padding-right:10px;
}
.box_item{
    position: relative;
    overflow: hidden;
}

/*archive*/

.archive-post {
    display: inline-block;
    width: 29%;
    vertical-align: top;
    margin: 0px 0 40px 13px;
    background: white;
    padding: 8px 12px;
    border-radius: 5px;
    text-align: center;
	position: relative;
    overflow: hidden;
}
.aprojectshover{
    height: 76%;
}
.archive-post:hover .aprojectshover{
	bottom:53px;
}

/*contact*/

.contact_container{
    position: absolute;
    top:300px;
    right: 0px;
    left: 0px;
}

.contact_area{
	background:rgba(254, 251, 250, 0.84);
	border-radius:5px;
    padding: 20px;
}
.entry h1{
	font-size:30px;
	font-weight:bold;
	margin-bottom:15px;
	color:white;
}
.contact_form {
    display: inline-block;
    width: 50%;
	vertical-align:top;
}
.map{
	display:inline-block;
	width:49%;
	vertical-align:top;
    margin-top: 44px;
}
.map_icon {
    display: inline-block;
    width: 4%;
	vertical-align:top;
}
.address {
    display: inline-block;
	vertical-align:top;
	font-size:22px;
}
.cont h2 {
    margin: 20px 0 10px 0;
}



/*footer*/

footer {
    position: absolute;
    bottom: 66px;
    left: 0;
    height: auto;
    min-height: 50px;
    background: white;
    width: 100%;
}
.footer-top{
    background: #bdc131;
    color: white;
    font-size: 23px;
    padding: 15px;
    text-align: center;
}
.footer-bottom {
    padding: 15px 0;
}
.footer-contact,
.footer-menu,
.footer-seo,
.facebook {
    display: inline-block;
    width: 24%;
    vertical-align: top;
}
.footer-bottom h3{
	font-size:25px;
	margin-bottom:10px;
}
ul#menu-footer li a,
.footer-bottom p,
.box_text{
	color:#706e6e;
	font-size:20px;
    line-height: 25px;
}
ul#menu-footer li a:hover,
.footer-bottom p:hover,
.box_text:hover{
	color:#053e70;
}


#leos{
    position:absolute;
    bottom:0;
	width:100%;
	background-color:#000;
	text-align:center;
}
#leos img{
	padding-top: 10px;
    height:50px;
    width:auto;
}
#leos a{
        position:relative;
}
#leos span{
        opacity:0;
        position: absolute;
        right: 0;
        color: white;
        font-size: 22px;
        bottom: 10px;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
        transition:.3s;
}
#leos a:hover span{
        right: -100px;
        opacity:1;
    -webkit-backface-visibility: visible !important;
    -webkit-animation-name: flipInY;
    backface-visibility: visible !important;
    animation-name: flipInY;
}
 
@-webkit-keyframes flipInY {
    0% {
        -webkit-transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
    40% {
        -webkit-transform: perspective(400px) rotateY(-10deg);
    }
    70% {
        -webkit-transform: perspective(400px) rotateY(10deg);
    }
    100% {
        -webkit-transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}
@keyframes flipInY {
    0% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
    40% {
        transform: perspective(400px) rotateY(-10deg);
    }
    70% {
        transform: perspective(400px) rotateY(10deg);
    }
    100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}
.acf-map {
	width: 100%;
	height: 366px;
	border: #ccc solid 1px;
	margin: 20px 0;
	border-radius:5px
}
.mobile-footer {
	display:none;
}
.entry ul {
    margin:0 20px;
    list-style: inherit;
}
.entry table {
    border:1px solid #000;
}
.entry table td {
    border:1px solid #000;
}
.entry table tr:nth-child(1) > td {
    text-align:center;
    background:#ccc;
}
.sidebararrow {
    display:none;
}
.wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] { direction: rtl!important; }
