/*
Theme Name: tamplate
Theme URI: http://www.leos.co.il
Description: אתר בעיצוב אישי מחברת לאוס מדיה
Author: Ohad G. @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%;
}
.runtxt {
    line-height: 1.2;
    font-size: 19px;
}
.runtxt p {
    margin-bottom: 10px;
}
.runtxt p:last-child {
    margin-bottom: 0;
}
#wrapper {
	min-height:100%;
	position:relative;
}
.logo a {
	display:inline-block;
}
.blk_wrap {
    display: block;
    background: #000;
}
.blk_wrap.sp_single {
    padding-bottom: 50px;
}
.container {
	width:95%;
    margin:0 auto;
}
.m_container {
    width: 95%;
    margin: 0 auto;
    max-width: 1200px;
}
.p_container {
    width: 80%;
    margin: 25px auto 0 auto;
}
.pdg_p {
    padding-bottom: 50px;
}
.alignleft {
	float:left;
}
.alignright {
	float:right;
}
.clear {
	clear: both;
}
.inrow {
    font-size:0 !important;
}
.inrow div {
    font-size:19px;
    line-height: 1.4;
}
.inrow .col1 {
    width: 100%;
}
.inrow .col2l {
    width: 66.7%;
}
.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; 
}
.t_header {
    text-align: left;
    font-size: 20px;
}
.t_header .ph_wrapper a {
    background: #aa0901;
    color: #FFFFFF;
    padding: 10px 20px 10px 20px;
    display: block;
    font-size: 30px;
}
.t_header .ph_wrapper a i {
    -webkit-transform: rotate(-100deg);
    -moz-transform: rotate(-100deg);
    -ms-transform: rotate(-100deg);
    -o-transform: rotate(-100deg);
    transform: rotate(-100deg);
}
.t_header .socials {
    margin-right: 20px;
}
.t_header .socials li {
    display: inline-block;
    vertical-align: middle;
}
.t_header .socials li a {
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    background: #959595;
    -webkit-transition: background .3s ease;
    -moz-transition: background .3s ease;
    -ms-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}
.t_header .socials li a i {
    color: #FFFFFF;
}
.t_header .socials li.yt_wrap a:hover { background: #ee0404; }
.t_header .socials li.twt_wrap a:hover { background: #239ed9; }
.t_header .socials li.lkd_wrap a:hover { background: #107bc1; }
.t_header .socials li.gp_wrap a:hover { background: #e24937; }
.t_header .socials li.fb_wrap a:hover { background: #2a518a; }
header {
    padding-top: 25px;
}
header.home_abs {
    position: absolute;
    width: 100%;
    z-index: 999;
}
header.sp_nd {
    margin-bottom: 50px;
}
header .logo {
    display: inline-block;
    vertical-align: middle;
}
nav {
    display: inline-block;
    vertical-align: middle;
    text-align: right;
    position:relative;
    width: calc(100% - 231px);
}
nav ul {
	display:block;
    font-size:0;
    padding-right:20px;
}
nav .menu > li {
	display:inline-block;
	vertical-align:middle;
	position:relative;
    margin:0 0 1% 1%;
    width: 8%;
    min-width: 110px;
    text-align: center;
}
nav .menu > li:last-child {
    margin-left: 0;
}
nav .menu li > a {
	display:block;
    font-family:almoni;
    font-size:20px;
	color:#FFFFFF;
	transition:all .2s ease-out;
    text-align: center;
    padding:20px 0;
    background: rgba(0, 0, 0, 0.7);
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}
nav .menu li.current_page_item > a ,
nav .menu li.current-menu-item > a ,
nav .menu li:hover > a {
    color:#000;
    background: rgba(255, 255, 255, 0.7);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
nav .menu li.current_page_item > a img.menu-image.menu-image-title-after,
nav .menu li.current-menu-item > a img.menu-image.menu-image-title-after,
nav .menu li:hover > a img.menu-image.menu-image-title-after  {
    opacity: 0;
}
nav .menu li.current_page_item > a img.hovered-image,
nav .menu li.current-menu-item > a img.hovered-image,
nav .menu li:hover > a img.hovered-image {
    opacity: 1;
}
nav .menu-item a img {
    display: block;
    margin: 0 auto 5px auto !important;
    padding-right: 0;
    max-width: 100%;
    height: auto;
    position: absolute;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
nav .menu-item a span.menu-image-hover-wrapper {
    position: relative;
    width: 100%;
    display: block;
    height: 28px;
}
.menu-item a.menu-image-title-after.menu-image-not-hovered img, .menu-item a.menu-image-hovered.menu-image-title-after .menu-image-hover-wrapper { padding-right: 0 !important; }
.entry ul {
    margin: 0 30px;
    list-style: inherit;
}
.sub-menu {
    background: rgba(255, 255, 255, 0.7);
    z-index: 999;
    padding: 5px;
    width: 185px;
    position: absolute;
    border-radius: 5px;
    top: 105%;
    right: 0;
    border-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease;
}
.sub-menu li {
	display:block;
}
nav .menu li > .sub-menu li a {
    padding: 2.5px 0;
    background: transparent;
    color: #000000;
}
nav .menu li > .sub-menu li a:hover {
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
}
.menu-item-has-children:hover .sub-menu {
    visibility:visible;
    opacity:1;
}
.sub-menu li {
    display:block;
}
footer:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 10px;
    overflow: visible;
    width: 100%;
    height: 175px;
    z-index: -1;
    -webkit-transform: skewY(4deg);
    -moz-transform: skewY(4deg);
    -ms-transform: skewY(4deg);
    -o-transform: skewY(4deg);
    transform: skewY(4deg);
    -webkit-backface-visibility: hidden;
    background: #111111;
    background-size: cover;
}
footer:after {
    border-top: 1px solid #fff;
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    right: 0;
    top: -50px;
    transform: rotate(4deg);
}
footer {
	left:0;
	height:auto;
    padding: 30px 0;
    background: #111111;
    width:100%;
    position: relative;
    text-align: center;
    z-index: 1;
}
footer ul li {
    display: inline-block;
    vertical-align: top;
    color: #FFFFFF;
    font-size: 25px;
    margin: 0 20px;
    position: relative;
}
footer ul li:after {
    content: '|';
    display: inline-block;
    vertical-align: top;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
}
footer ul li:last-child:after {
    content: '';
}
footer ul li a {
    display: block;
    height: 100%;
}
footer ul li span {
    display: inline-block;
    vertical-align: middle;
}
footer i {
    text-shadow: 1px 1px 0 #fff;
    color: transparent;
}
.footer_mailer {
    background: url('images/fmailback.jpg') center no-repeat;
    background-size: cover;
    padding: 150px 0 170px 0;
}
.footer_mailer .col2 {
    display: block;
    margin: auto;
    width: 100%;
    max-width: 400px;
}
.footer_mailer span.head_cf_line {
    text-align: center;
    display: block;
    font-size: 25px;
}
.footer_mailer span.wpcf7-form-control-wrap {
    width: 100%;
    display: block;
}
.footer_mailer div.wpcf7 span.wpcf7-form-control-wrap input {
    padding: 8px calc(2% + 40px) 8px 2%;
    width: calc(96% - 40px);
}
.footer_mailer div.wpcf7 span.wpcf7-form-control-wrap.your-name input { background: #FFFFFF url('images/cficons/name.png') 98% center no-repeat; background-size: 28px; }
.footer_mailer div.wpcf7 span.wpcf7-form-control-wrap.your-tel input { background: #FFFFFF url('images/cficons/phone.png') 98% center no-repeat; background-size: 28px; }
.footer_mailer div.wpcf7 span.wpcf7-form-control-wrap.your-email input { background: #FFFFFF url('images/cficons/mail.png') 98% center no-repeat; background-size: 28px; }
.footer_mailer div.wpcf7 span.wpcf7-form-control-wrap.your-date input { background: #FFFFFF url('images/cficons/date.png') 98% center no-repeat; background-size: 28px; }
.footer_mailer .btn_cfline input[type=submit] {
    background: #aa0901;
    color: #FFFFFF;
    font-size: 30px;
    padding: 10px 0;
    width: 100%;
    max-width: 230px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.footer_mailer .btn_cfline input[type=submit]:hover {
    background: #FFFFFF;
    color: #aa0901;
}
.footer_mailer .btn_cfline .ajax-loader { position: absolute; }
#leos{
    bottom:0;
	width:100%;
	background-color:#000;
	text-align:center;
    position: relative;
    z-index: 10;
}
#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;
    padding: 100px 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;
}
.sidebararrow {
    display:none;
}
.rev_wrapper {
    -webkit-transform: skew(0deg,-5deg);
    -moz-transform: skew(0deg,-5deg);
    -ms-transform: skew(0deg,-5deg);
    -o-transform: skew(0deg,-5deg);
    transform: skew(0deg,-5deg);
    top: -84px;
    overflow: hidden;
    position: relative;
    height: 670px;
    z-index: -1;
}
.rev_wrapper:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 7px;
    bottom: -5px;
    background: #FFFFFF;
}
.rev_wrapper .reverse_skew {
    -webkit-transform: skew(0deg,5deg);
    -moz-transform: skew(0deg,5deg);
    -ms-transform: skew(0deg,5deg);
    -o-transform: skew(0deg,5deg);
    transform: skew(0deg,5deg);
    margin-top: 84px;
}
.reverse_skew .swiper-container {
    height: 100vh;
    width: 100%;
}
.sp-wrapper {
    position: relative;
}
.reverse_skew .swiper-container .swiper-wrapper,
.reverse_skew .swiper-container .swiper-wrapper .swiper-slide {
    height: 100%;
    width: 100%;
}
span.rev_arrow {
    width: 100%;
    height: 1px;
    background: #000;
    -webkit-transform: skew(0deg,-5deg);
    -moz-transform: skew(0deg,-5deg);
    -ms-transform: skew(0deg,-5deg);
    -o-transform: skew(0deg,-5deg);
    transform: skew(0deg,-5deg);
    display: block;
    position: relative;
    top: -70px;
}
span.rev_arrow:after {
    background: url('images/arrow_b.png') center no-repeat;
    background-size: contain;
    width: 47px;
    height: 47px;
    position: absolute;
    content: '';
    -webkit-transform: skew(0deg,5deg) translate(-50%, -50%);
    -moz-transform: skew(0deg,5deg) translate(-50%, -50%);
    -ms-transform: skew(0deg,5deg) translate(-50%, -50%);
    -o-transform: skew(0deg,5deg) translate(-50%, -50%);
    transform: skew(0deg,5deg) translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
span.line_arrow {
    width: 100%;
    position: relative;
    display: block;
    border-bottom:1px dashed #000;
    margin: 50px 0;
}
span.line_arrow:after {
    background: url('images/arrow_b.png') center no-repeat;
    background-size: contain;
    width: 47px;
    height: 47px;
    position: absolute;
    content: '';
    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%);
}
/* leshonit cf */
.leshonit_wrapper {
    position: fixed;
    left: -300px;
    top: 10%;
    width: 300px;
    z-index: 1000;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}
.leshonit_wrapper.opened {
    left: 0;
}
.leshonit_wrapper .leshonit_btn {
    position: absolute;
    left: 100%;
    top: 0;
    background: #aa0901 url('images/cfmaillesh.png') center no-repeat;
    width: 50px;
    height: 40px;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
}
.leshonit_wrapper.opened .leshonit_btn {
    background: #aa0901 url('images/close47.png') center no-repeat
}
.leshonit_wrapper .leshonit_container {
    width: 100%;
    display: block;
    background: #363535;
    border-radius: 0 0 5px 0;
}
.leshonit_wrapper .leshonit_container .inwrap {
    padding: 25px;
}
.leshonit_wrapper .leshonit_container .inwrap span.header_cf { text-align: center; display: block; color: #FFFFFF; font-size: 25px; line-height: 0.5; }
.leshonit_wrapper .leshonit_container .inwrap span.header_cf.bld {
    font-weight: 600;
}
.leshonit_wrapper .leshonit_container .inwrap span.wpcf7-form-control-wrap,
.leshonit_wrapper .leshonit_container .inwrap div.wpcf7 input[type=submit] {
    width: 100%;
}
.leshonit_wrapper .leshonit_container .inwrap span.wpcf7-form-control-wrap input {
    background: transparent;
    color: #FFFFFF;
}
.leshonit_wrapper .leshonit_container .inwrap div.wpcf7 input[type=submit] {
    background: #aa0901;
    color: #FFFFFF;
    text-shadow:1px 2px 5px #000000;
    padding: 10px 0;
    font-size: 24px;
}
.leshonit_wrapper .leshonit_container .inwrap div.wpcf7 input[type=submit]:hover {
    color: #fff;
    background: transparent;
}
.leshonit_wrapper .inwrap span.wpcf7-form-control-wrap input::-webkit-input-placeholder {
    color: #FFFFFF;
    font-family: almoni;
}

.leshonit_wrapper .inwrap span.wpcf7-form-control-wrap input:-moz-placeholder { /* Firefox 18- */
    color: #FFFFFF;
    font-family: almoni;
}

.leshonit_wrapper .inwrap span.wpcf7-form-control-wrap input::-moz-placeholder {  /* Firefox 19+ */
    color: #FFFFFF;
    font-family: almoni;
}

.leshonit_wrapper .inwrap span.wpcf7-form-control-wrap input:-ms-input-placeholder {
    color: #FFFFFF;
    font-family: almoni;
}
    /* cf line */
.cf_line .head_cf_line {
    font-size: 29px;
    display: block;
    position: relative;
    padding-right: 30px;
}
.cf_line .head_cf_line:before {
    content: "\f053";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #000;
    font-size: 28px;
    position: absolute;
    top: 1px;
    right: 4px;
}
.cf_line .m_container span.wpcf7-form-control-wrap,
.cf_line .m_container div.wpcf7 .btn_cfline {
    width: 19%;
    margin-left: 1%;
    display: inline-block;
    vertical-align: top;
}
.cf_line .m_container div.wpcf7 .btn_cfline {
    margin-left: 0;
    position: relative;
}
.cf_line .m_container span.wpcf7-form-control-wrap input {
    border:1px solid #000;
}
.cf_line .m_container div.wpcf7 input[type=submit] {
    display: block;
    margin-left: 0;
    padding: 4px 0 4px 25px;
    font-size: 26px;
    background: #aa0901;
    color: #FFFFFF;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}
.cf_line .m_container div.wpcf7 .btn_cfline:hover > input[type=submit] {
    background: transparent;
    color: #aa0901;
}
.cf_line .m_container div.wpcf7 .btn_cfline:hover:before {
    color: #aa0901;
}
.cf_line .m_container div.wpcf7 .btn_cfline:before {
    content: "\f053";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #FFFFFF;
    font-size: 28px;
    position: absolute;
    top: 1px;
    left: 4px;
}
/* hmps */
.hmps_wrapper {
    height: 400px;
}
.hmps_r_side,
.hmps_l_side,
.hmps_wrapper .inrow,
.hmps_r_side > .inrow > .col2 {
    height: 100%;
}
.hmps_r_side .reg_hmps {
    height: calc(50% - 2.5px);
    width: calc(100% - 2.5px);
    margin-left: 5px;
}
.hmps_r_side .reg_hmps:first-child {
    margin-bottom: 5px;
}
.hmps_l_side .col1 {
    height: 50%;
}
.hmps_l_side .col2.reg_hmps {
    height: calc(100% - 2.5px);
    width: calc(50% - 5px);
}
.hmps_l_side .col2.reg_hmps:first-child {
    margin-right: 2.5px;
}
.hmps_l_side .col2.reg_hmps:last-child {
    margin-right: 5px;
    width: calc(50% - 2.5px);
}
.hmps_r_side .tall_hmps {
    width: calc(50% - 5px);
    margin-left: 5px;
}
.hmps_l_side .lay_hmps {
    width: calc(100% - 2.5px);
    height: calc(50% - 2.5px);
    margin-right: 2.5px;
    margin-bottom: 5px;
    position: relative;
}
.hmps_wrapper .reg_hmps,
.hmps_l_side .lay_hmps,
.hmps_r_side .tall_hmps {
    position: relative;
}
.hmps_wrapper a {
    display: block;
    height: 100%;
}
.hmps_wrapper .hmp_caption {
    position: absolute;
    width: 100%;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    height: 45px;
    overflow: hidden;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.hmps_wrapper .hmp_caption h2 {
    font-size: 23px;
    padding: 10px 40px 10px 0;
    white-space: nowrap;
    position: relative;
}
.hmps_wrapper .hmp_caption h2:before {
    content: '';
    position: absolute;
    width: 28px;
    height: 22px;
    background: url('images/camera_icon.png') center no-repeat;
    background-size: contain;
    top:50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 5px;
}
.hmps_wrapper .hmp_caption span {
    width: 90%;
    display: block;
    margin:auto;
    font-size: 20px;
    padding-bottom: 15px;
}
.hmps_item {
    opacity: 0;
    -webkit-transform: translateY(-20px) scale(.5);
    -moz-transform: translateY(-20px) scale(.5);
    -ms-transform: translateY(-20px) scale(.5);
    -o-transform: translateY(-20px) scale(.5);
    transform: translateY(-20px) scale(.5);
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.hmps_item.faded {
    opacity: 1;
    -webkit-transform: translateY(0px) scale(1);
    -moz-transform: translateY(0px) scale(1);
    -ms-transform: translateY(0px) scale(1);
    -o-transform: translateY(0px) scale(1);
    transform: translateY(0px) scale(1);
}
.hmps_wrapper .hmps_item:hover > a .hmp_caption {
    height: 100%;
}
.f_entry {
    width: 60%;
    margin: auto;
    display: block;
    text-align: center;
    position: relative;
}
.f_entry h1 {
    margin-bottom: 25px;
}
.f_entry_wrapper {
}
.f_entry:before {
    content: '';
    position: absolute;
    background: url('images/ca_cam.png') center no-repeat;
    background-size: contain;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: -40%;
    width: 35%;
    height: 120%;
}
/* page */
.inrow.p_wrapper {
    background: #FFFFFF;
}
.inrow.p_wrapper .col2.thumb_page {
    opacity: 1;
    -webkit-transition: opacity .5s ease;
    -moz-transition: opacity .5s ease;
    -ms-transition: opacity .5s ease;
    -o-transition: opacity .5s ease;
    transition: opacity .5s ease;
    min-height: 600px;
}
.inrow.p_wrapper .col2.p_entry .inwrap {
    padding: 20px 30px;
}
h1.p_thead { margin-bottom: 15px; }
h1.p_thead span {
    position: relative;
    padding-bottom: 5px;
}
h1.p_thead span:after {
    position: absolute;
    width: 100%;
    height: 8px;
    left: 0;
    bottom: 0;
    background: url('images/headbord.png') center repeat;
}
.inrow.p_wrapper .col2.p_entry p { margin-bottom: 15px; }
.inrow.p_wrapper .col2.p_entry p:last-child { margin-bottom: 0; }
.inrow.p_wrapper .col2.p_entry p:nth-child(even) {
    font-weight: 300;
}
.inrow.p_wrapper .col2.p_entry p:nth-child(odd) {
    font-weight: 500;
}
.inrow.p_wrapper .col2.p_entry a { color: #aa0901; }

/* archive */

.arch_head {
    text-align: center;
    color: #FFFFFF;
    font-weight: 300;
    margin-bottom: 25px;
}
.arch_wrapper .col3.reg_arch {
    background: #FFFFFF;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}
.arch_wrapper .col3 {
    width: 31.6%;
    margin:0 0 35px 2.5%;
}
.arch_wrapper .col3:nth-child(3n) { margin-left: 0; }
.arch_wrapper .col3.reg_arch a {
    display: block;
    height: 100%;
}
.arch_wrapper .col3.reg_arch .inwrap {
    padding: 20px 10px 10px 10px;
}
.arch_wrapper .col3.reg_arch .thumb_page {
    width: 100%;
    height: 300px;
    height: 30vh;
    position: relative;
}
.arch_wrapper .col3.reg_arch .thumb_page:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(0, 0, 0, 0.6) url('images/archov.png') center no-repeat;
    -webkit-transition: opacity .3s linear;
    -moz-transition: opacity .3s linear;
    -ms-transition: opacity .3s linear;
    -o-transition: opacity .3s linear;
    transition: opacity .3s linear;
}
.arch_wrapper .col3 h2 {
    color: #a0280f;
    text-align: center;
    padding: 25px 0 5px 0;
    font-size: 30px;
    position: relative;
}
.arch_wrapper .col3 h2:before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}
.arch_wrapper .col3.reg_arch h2:before {
    background: url('images/archead.png') center no-repeat;
    background-size: contain;
    width: 25px;
    height: 27px;
}
.arch_wrapper .col3.cpl_stry h2:before {
    background: url('images/votehead.png') center no-repeat;
    background-size: contain;
    width: 55px;
    height: 28px;
}
.arch_wrapper .col3.reg_arch a:hover .thumb_page:after {
    opacity: 1;
}
.arch_wrapper .col3.cpl_stry .thumb_page {
    width: 90%;
    height: auto;
    margin:0 auto 10px auto;
    display: block;
}
.arch_wrapper .col3.cpl_stry .inwrap {
    padding: 30px;
}
.arch_wrapper .col3.cpl_stry .stry_m {
    margin-bottom: 50px;
    background: #FFFFFF;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}
/* single */
.inrow.vid_wrapper .col3 {
    position: relative;
    height: 320px;
    width: 31.6%;
    margin:0 0 35px 2.5%;
}
.inrow.vid_wrapper .col3:nth-child(3n) {
    margin-left: 0;
}
.inrow.vid_wrapper .col3 iframe {
    position: absolute;
    width: 100%;
    height: 100%;
}
.glry_t > .inrow:not(.glry_imgs) {
    background: #FFFFFF;
}
.glry_t .inwrap {
    padding: 10px 20px 10px 30px;
}
.glry_t .thumb_page {
    -webkit-transition: opacity .5s ease;
    -moz-transition: opacity .5s ease;
    -ms-transition: opacity .5s ease;
    -o-transition: opacity .5s ease;
    transition: opacity .5s ease;
    min-height: 600px;
}
.glry_t h1 {
    text-align: center;
    color: #aa0901;
    font-size: 50px;
    margin-bottom: 25px;
}
.glry_t .col3 {
    width: 25%;
}
.glry_t .col2l:after {
    position: absolute;
    content: '';
    height: 100%;
    width: 1px;
    background: #000;
    top:0;
    right:-15px;
}
.glry_t .col2l {
    width: 75%;
    position: relative;
}
.glry_t .col2l a {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.glry_t .hlp_inwrap {
    width: 100%;
    display: block;
    margin: auto;
}
.glry_imgs .col3 {
    width: 32.3%;
    margin: 1.5% 0 0 1.5%;
}
.glry_imgs .col3:last-child {
    margin-left: 0;
}
.glry_imgs .col3 .img_gal_wrap {
    position: relative;
    margin-bottom: 4%;
}
.glry_imgs .col3 .img_gal_wrap > span {
    position: absolute;
    top: 0;
    left:0;
    right:0;
}
.glry_imgs .col3 .img_gal_wrap > span.mob_share {
    position: absolute;
    top: auto;
    bottom: 0;
    left:0;
    right:0;
}
.glry_imgs .col3 a {
    display: block;
}
.glry_imgs .col3 a img {
    width: 100%;
    height: auto;
    display: block;
}
/* cf page */
.tcf_wrap {
    height: 400px;
    position: relative;
}
.tcf_wrap h1 {
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
    background: rgba(255, 255, 255, 0.8);
    bottom: 15%;
    padding: 20px 50px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
    white-space: nowrap;
}
.inrow.cf_pwrap { overflow-x: hidden; }
.cf_pwrap .col2:first-child:before {
    content: '';
    background: #fff;
    position: absolute;
    width: 1px;
    height: 100%;
    left: -50px;
    bottom: 0;
    transform: skew(-15deg);
}
.cf_pwrap .col2:first-child {
    background: #000000;
    position: relative;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-transform: translateX(125%);
    -moz-transform: translateX(125%);
    -ms-transform: translateX(125%);
    -o-transform: translateX(125%);
    transform: translateX(125%);
}
.cf_pwrap .col2:last-child {
    -webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
}
.cf_pwrap .col2.getin {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
.cf_pwrap .col2:first-child:after {
    content: '';
    position: absolute;
    left: -80px;
    top: 0;
    overflow: visible;
    width: 100%;
    height: 100%;
    z-index: -1;
    -webkit-transform: skewX(-15deg);
    -moz-transform: skewX(-15deg);
    -ms-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
    -webkit-backface-visibility: hidden;
    background: #000;
    background-size: cover;
}
.cf_pwrap .col2:first-child .inwrap {
    width: 100%;
    max-width: 400px;
    display: block;
    margin: auto;
    color: #FFFFFF;
    position: absolute;
    left:35%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 10%;
    font-size: 25px;
}
.cf_pwrap .col2:last-child .inwrap {
    padding: 20px 25% 20px 20px;
    width: 100%;
    max-width: 400px;
    display: block;
    color: #000;
}
.cf_pwrap span.wpcf7-form-control-wrap {
    width: 100%;
}
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap input,
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap.your-message textarea {
    padding: 8px calc(2% + 40px) 8px 2%;
    width: calc(96% - 40px);
    border:1px solid #000000;
}
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap.your-name input { background: #FFFFFF url('images/cficons/name.png') 98% center no-repeat; background-size: 28px; }
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap.your-tel input { background: #FFFFFF url('images/cficons/phone.png') 98% center no-repeat; background-size: 28px; }
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap.your-email input { background: #FFFFFF url('images/cficons/mail.png') 98% center no-repeat; background-size: 28px; }
.cf_pwrap div.wpcf7 span.wpcf7-form-control-wrap.your-message textarea { background: #FFFFFF url('images/cficons/date.png') 98% 2% no-repeat; background-size: 28px; }
.cf_pwrap .btn_cfline input[type=submit] {
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    padding: 10px 0;
    width: 100%;
    background: #bf4741; /* Old browsers */
    background: -moz-linear-gradient(top,  #bf4741 0%, #aa0901 50%, #7a0601 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #bf4741 0%,#aa0901 50%,#7a0601 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #bf4741 0%,#aa0901 50%,#7a0601 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf4741', endColorstr='#7a0601',GradientType=0 ); /* IE6-9 */
    opacity: 0;
    -webkit-transition: opacity .4s ease;
    -moz-transition: opacity .4s ease;
    -ms-transition: opacity .4s ease;
    -o-transition: opacity .4s ease;
    transition: opacity .4s ease;
}
.cf_pwrap .btn_cfline input[type=submit]:hover {
    background: #bf4741; /* Old browsers */
    background: -moz-linear-gradient(top,  #bf4741 0%, #7a0601 0%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #bf4741 0%,#7a0601 0%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #bf4741 0%,#7a0601 0%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf4741', endColorstr='#7a0601',GradientType=0 ); /* IE6-9 */
}
.cf_pwrap .btn_cfline .ajax-loader { position: absolute; }
.cf_pwrap .head_cf_line {
    font-size: 24px;
    display: block;
}
html[dir="rtl"] #real-accessability {
    top: 10% !important;
    right: -200px !important;
    left: auto !important;
    border:1px solid #063d8d !important;
}
html[dir="rtl"] #real-accessability a#real-accessability-btn {
    right: 100% !important;
}
html[dir="rtl"] #real-accessability.open {
    left: auto !important;
    right: 0 !important;
}