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

@import url('css/contact.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 {
	padding-bottom:264px; /* Height of the footer element */
}
header {
    padding-top:25px;
    color:#1594c1;
    margin-bottom: 15px;
}
.logo {
    width:23%;
}
.logo a {
	display:block;
}
.logo a img {
    width:100%;
    height: auto;
}
.topsentence {
    width:40%;
    text-align: center;
    margin: 3px 8% 0 0;
    font-size:22px;
}
.phandface {
    float: left;
    text-align: center;
    font-size:25px;
}
.phandface span {
    display: block;
    font-size: 35px;
}
.phandface > a {
}
.phandface a:hover > i {
    color: #002475;
}
.container {
	width:100%;
    max-width:1200px;
    margin:0 auto;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}
.clear {
	clear: both;
}
.inline {
	display:inline-block;
	vertical-align:top;
}
h1 , 
h2 ,
h3 { 
	font-weight: normal; 
	margin: 0 0 0 0;
}

p {
	margin: 0 0 0 0;
    font-size: 23px;
    text-align: justify;
    line-height: 35px;
}
p > a {
    color: #1594c1;
    text-decoration: underline;
}
p > a:hover {
    text-decoration: none;
}
a {
	text-decoration:none;
	color:inherit; 
}
a:hover {
	text-decoration:none; 
} 
ul { 
	margin: 0 0 0 0;
	list-style:none; 
}
nav {
	background-color:#5bb4d4;
	width:100%;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
    box-shadow: 0px 2px 2px 0px rgba(50, 50, 50, 0.75);
    z-index: 10;
    position: relative;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
}
nav ul {
	display:inline-block;
}
nav .menu > li {
	display:inline-block;
	vertical-align:top;
    /*margin-right: -5px;
    padding-right: 23px;*/
	position:relative;
}
nav ul li:last-child:after {
	content: " ";
}
nav .menu > li a {
	vertical-align:top;
	line-height:100%;
	width:98%;
	color:white;
	transition:all .5s ease-out;
    display: block;
    font-size:27px;
    padding: 10px 25px;
}
nav .menu li.current-menu-item > a ,
nav .menu li:hover > a {
	color:#002475;
}
.entry ul {
    margin: 0 30px;
    list-style: inherit;
}
.sub-menu {
    background:#000;
    z-index:999;
    width:250px;
    position:absolute;
    top:100%;
    right:0;
    border:1px solid white;
    border-top:0;
    visibility:hidden;
    opacity:0;
    transition: all .5s ease;
}
.sub-menu li {
	display:block;
}
.menu-item-has-children:hover .sub-menu {
    visibility:visible;
    opacity:1;
}
.sub-menu li {
    display:block;
}
footer {
	position:absolute;
	bottom:64px; /* Leos height 64px */
	left:0;
	height:auto;
    background: #1594c1;
    width:100%;
    color:#ffffff;
    padding: 20px 0;
    text-align: center;
}
footer .babyfooter {
    position:absolute;
    bottom: 80%;
    right: 6%;
}
footer .container span {
    font-size: 22px;
    margin: 0 40px;
}
#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;
}
.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;
}
h1 {
    text-align: center;
    font-size: 66px;
    color: #1594c1;
    padding-bottom: 25px;
    background: url(images/design.png) no-repeat center bottom;
}
.main_header {
    margin: 20px 0 50px 0;
}
.msidebar {
    width: 20%;
    display: inline-block;
    vertical-align: top;
}
.msidebar ul {
    width: 90%;
}
.msidebar li {
    margin-bottom: 5px;
    background: #5bb4d3;
    color:#ffffff;
    font-size: 20px;
}
.msidebar li a {
    display: block;
    padding: 10px 5px 10px 0;
    -webkit-transition: color 250ms ease-in-out;
    -moz-transition: color 250ms ease-in-out;
    -ms-transition: color 250ms ease-in-out;
    -o-transition: color 250ms ease-in-out;
    transition: color 250ms ease-in-out;
}
.msidebar li a:hover {
    color:#002475;
}
.msidebar li a.here {
    color: #002475;
}
.txtheader {
    margin: 20px 0 50px 0;
}
.txtcontainer {
    width:60%;
    display: inline-block;
    vertical-align: top;
    font-size: 23px;
}
.txtcontainer h3 {
    color: #5bb4d3;
    font-size: 30px;
    font-weight: bold;
}
.txtcontainer p {
    margin-bottom: 10px;
}
.txtcontainer ul {
    list-style-type: circle;
}
.txtcontainer ul li {
    margin:5px 0;
}
.thimg {
    width: 15%;
    display: inline-block;
    margin-right: 4%;
    vertical-align: top;
}
.thimg img {
    width: 100%;
    height: auto;
}
.qanda {
    margin:15px 0;
}
.entryq ul li {
    list-style-type: circle;
}
.qandarap .entryq {
    display: none;
    text-align: justify;
    font-size:18px;
    line-height: 20px;
}
.qandarap h2 {
    text-align: center;
    color: #002475;
    margin-bottom:10px;
}
.qanda.opened h2 {
    color: #1594c1;
}
.qandarap {
    width: 60%;
    margin-right: 20%;
}
.galimg {
    display: inline-block;
    vertical-align: top;
    position: relative;
    width: 23%;
    height: 185px;
    overflow: hidden;
    margin: 0 0 2% 2%;
}
.galimg a {
    display: block;
    height: 100%;
}
.galimg:nth-child(4n) {
    margin-left:0;
}
.galimg img {
    width: 100%;
    height: auto;
    min-height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.votedp h2 {
    text-align: center;
    color: #1594c1;
}
.votedp .post {
    margin:40px 0;
}
.quotesimg {
    background:url("images/quotes.png") no-repeat center;
    background-size: contain;
    width: 40px;
    height: 40px;
    display: inline-block;
}
.fixedmailer {
    position: fixed;
    top: 50%;
    z-index: 10;
}
.metaslider {
    overflow: hidden;
}
.cimg {
    height: 250px !important;
    position: relative;
    overflow: hidden;
    padding: 3px;
}
.cimg img {
    width: auto;
    height: 100%;
    position: absolute;
    left: 50%;
    top: 0%;
    -webkit-transform: translate(-50%,0%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,0%);
}
.entryV {
    display: none;
}
.voteHeader {
    cursor: pointer;
}
.votingP {
    margin: 40px 0;
}
.votingImg {
    width: 100%;
    position: relative;
    height: 420px;
    overflow: hidden;
}
.votingImg img {
    position: absolute;
    width:100%;
    height: auto;
    min-height: 100%;
    left: 50%;
    top: 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%);
}
.imgalHover {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 0;
    bottom:0;
    -webkit-transition: height 250ms ease;
    -moz-transition: height 250ms ease;
    -ms-transition: height 250ms ease;
    -o-transition: height 250ms ease;
    transition: height 250ms ease;
    background: rgba(0,0,0,0.6);
    color:#FFFFFF;
    text-align: right;
}
.imgalHover p {
    text-align: center;
    padding: 10px;
    font-size: 18px;
    line-height: 17px;
}
.galimg:hover > a .imgalHover {
    height: 100%;
}