/*  
Theme Name:     Relsites
Theme URI:      http://relsites.com
Description: 	Relsites Theme
Author:         Ariel Hein
Author URI: 	http://relsites.com
Version:        1.0
*/

@font-face {
    font-family: 'NarkisBlockRegular';
    src: url('fonts/NarkisBlock-Regular_MFW.eot'); /* IE9 Compat Modes */
    src: url('fonts/NarkisBlock-Regular_MFW.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/NarkisBlock-Regular_MFW.woff') format('woff'), /* Modern Browsers */
         url('fonts/NarkisBlock-Regular_MFW.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/NarkisBlock-Regular_MFW.svg#NarkisBlockMFW-Regular') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'NarkisBlockMedium';
    src: url('fonts/NarkisBlock-Medium_MFW.eot'); /* IE9 Compat Modes */
    src: url('fonts/NarkisBlock-Medium_MFW.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/NarkisBlock-Medium_MFW.woff') format('woff'), /* Modern Browsers */
         url('fonts/NarkisBlock-Medium_MFW.ttf') format('truetype'), /* Safari, Android, iOS */
         url('fonts/NarkisBlock-Medium_MFW.svg#NarkisBlockMFW-Medium') format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}
@font-face {
    font-family: 'BentonSans';
    src: url('fonts/BentonSans-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video,textarea,text {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
	box-sizing: border-box;
}
.clearfix:after {
	 visibility: hidden;
	 display: block;
	 font-size: 0;
	 content: " ";
	 clear: both;
	 height: 0;
}
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

/* General */
html,body{
	height:100%;
} 
body{
	font-family: 'NarkisBlockMedium';
	font-weight:300;
	font-size: 26px;
	background-color:#fff;
	color: #20061a;
}
.BentonSans{
	font-family: 'BentonSans';
}
h1, h2, h3, h4, h5, h6, strong, .bold{
	font-family: 'NarkisBlockMedium';
	font-weight: 500;
} 
a {
	text-decoration:none;
}
a, a:hover, a:focus, input[type="submit"]{
  -webkit-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  transition: all 500ms ease;
  text-decoration: none;
}
a, a:hover{
	color:#325491
}
img {
  max-width: 100%;
  height: auto;
}
.animated {
    visibility: hidden;
    animation-fill-mode: none;
    -webkit-animation-fill-mode: none;
    -moz-animation-fill-mode: none;
    -o-animation-fill-mode: none;
    -ms-animation-fill-mode: none;
}
.visible {
    visibility: visible;
}
/* Footer */
a.cc_btn.cc_btn_accept_all {
    direction: ltr;
}
ul#menu-footer li {
    display: inline-block;
    margin: 0 10px;
}

ul#menu-footer {
    text-align: center;
    font-size: 15px;
    padding: 20px 0;
    background: #dbdbdb;
}

ul#menu-footer li a {
    color: #6a6a6a;
}

ul#menu-footer li a:hover {
    color: #318fd6;
}
/* Front */
.floating-btn{
/*background: url(images/phone_float.png) 50% -10px no-repeat #318fd6;*/
    background: url(images/chat-white.png) 50% 10px no-repeat #318fd6;
    position: fixed;
    z-index: 99999;
    top: 50%;
    right: 0;
    color: #fff;
    height: 163px;
    width: 156px;
    text-align: center;
    cursor: pointer;
    font-size: 21px;
    border-radius: 5px 0 0 5px;
}
.floating-btn span{
    color: #fff;
    position: absolute;
    width: 100%;
    right: 0;
    bottom: 0;
}

.floating-block {
    border-radius: 5px 0 0 5px;
    position: fixed;
    z-index: 999999;
    top: 50%;
    width: 200px;
    height: 163px;
    text-align: center;
    line-height: 163px;
    background: #318fd6;
    right: -200px;
}
.floating-block .fb-call{
	color:#fff;
}
.floating-block .fb-close {
    color: #fff;
    position: absolute;
    top: -8px;
    line-height: 1;
    left: 5px;
    transform: rotate(45deg);
    font-size: 40px;
}

header#header {
	position: relative;
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    z-index: 9999;
}
header#header img {
    display: block;
}
a.logo {
    float: left;
    padding: 7px 0;
}
a.header-phone {
    color: #fff;
    float: right;
	font-size:40px;
}
a.logo-right {
    float: right;
    padding: 4px 0;
    /*margin-right: 20px;*/
}
header#header a.header-phone img {
    display: inline-block;
    float: left;
    max-height: 55px;
    width: auto;
    margin-right: 20px;
}
section#main-video {
    position: relative;
    height: 85vh;
    /* border-bottom: 10px solid #e4a542; */
    top: -130px;
}
iframe#mainVideo {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
background-color:#000;
background-size: cover;
}

section#form-1 {
    background-color: #e8e7e7;
    padding: 20px 0 0;
}
.fws.clearfix {
    display: flex;
    margin: 10px 0 0;
}
.fw {
    width: 20%;
    padding: 0 2px;
}
/* wpcf7 */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea{
	font-family: 'NarkisBlockMedium';
	font-weight:300;
    color: #000;
    padding: 5px;
    margin: 0 0 20px;
    font-size: 19px;
    border: 0;
    border-radius: 0;
    outline: 0 !important;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
	border-radius:6px;
}
.wpcf7-form select{
	font-family: 'NarkisBlockMedium';
	font-weight:300;
    color: #877f7a;
    padding: 8px 5px;
    margin: 0 0 20px;
    font-size: 19px;
    border: 0;
    border-radius: 0;
    outline: 0 !important;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    width: 100%;
	border-radius:6px;	
}
.wpcf7-form input:focus {
    background: #eeeeee;
}

input.wpcf7-form-control.wpcf7-submit {
	width: 100%;
	border: 0 none;
	color: #fff;
	background: #318fd6;
	padding: 0;
	border-radius: 6px;
	position: relative;
	top: 2px;
}
input.wpcf7-form-control.wpcf7-submit:focus ,
input.wpcf7-form-control.wpcf7-submit:hover {
    background: #eaaa00;
}
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color:#877f7a;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #877f7a;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #877f7a;
}
:-moz-placeholder { /* Firefox 18- */
  color: #877f7a;
}
.form-item.notification {
    width: auto;
    text-align: left;
    color: #e90b0b;
}
span.wpcf7-not-valid-tip {
    font-size: 12px;
    position: absolute;
    width: 50%;
    left: 3px;
    text-align: left;
    top: -6px;
}

span.wpcf7-form-control-wrap.users-number span.wpcf7-not-valid-tip {
    position: relative;
    top: 0;
    bottom: 0;
    text-align: right;
    margin-top: -20px;
    line-height: 1;
    width: 100%;
    right: 3px;
}

div.wpcf7-response-output {
    font-size: 17px;
    border: 0 none;
    padding: 0;
    margin: 0;
    position: relative;
    color: green;
}


.legal {
	font-size: 15px;
    margin-bottom: 10px;
    display: block;
}
.legal small {
    font-size: 15px;
	margin-bottom:10px;
}
.not-int-buttons > div {
    display: inline-block;
    margin-left: 40px;
}
.not-int-buttons > div > span:first-child {color: red;margin-left: 5px;}
span.wpcf7-list-item-label {
    font-weight: 100;
}
.privacy-policy {
    font-size: 12px;
    padding: 0 0 7px;
    line-height: 1;
    display: flex;
}
.privacy-policy .wpcf7-form-control-wrap {
    top: -4px;
}
.privacy-policy > div {
    padding-right: 10px;
}

.privacy-policy span.wpcf7-list-item {
    margin: 0;
}
.privacy-policy > div a {
    color: #318fd6;
   /* display: block;
    margin: 10px 0 0;*/
}
span.wpcf7-form-control-wrap.acceptance-share span.wpcf7-not-valid-tip ,
span.wpcf7-form-control-wrap.acceptance-pp span.wpcf7-not-valid-tip {
    position: absolute;
    width: 300px;
    left: auto;
    right: 13px;
    top: auto;
    bottom: -8px;
    text-align: right;
}

.not-int-buttons input[type="checkbox"] {
    position: relative;
    top: 3px;
}
/* Content block 1 */
section#content-1 {
    padding: 80px 0;
	background-color:#ffffff;
}
h1.main-title {
    color: #f59d07;
    font-size: 62px;
    text-align: center;
    margin-bottom: 0;
}
.main-content {
    font-size: 26px;
    line-height: 1.1;
}
.main-content h2 {
    font-size: 26px;
    color: #318fd6;
    margin-bottom: 0;
}
.main-content p {
	margin-bottom:20px;
}
.numbers-block {
    margin: 40px 0 80px;
}
.number-item {
    text-align: center;
}
.number-title {
    color: #318fd6;
    font-size: 80px;
}

.number-title span{
    color: #000;
    font-size: 24px;
    vertical-align: middle;
    margin-left: 5px;
}

section#four-block-data{
	position:relative;
	/*background:url(images/sapby-design_4_bg.jpg) 50% no-repeat;*/
	background:url(images/new-4-infos-bg2.png) 50% no-repeat #fff;
	height: 1170px;
}
.decorated-title{
	font-size: 62px;
    text-align: center;
    /* background: -webkit-linear-gradient(left, #94c83d , #318fd6); 
    background: -o-linear-gradient(right, #94c83d, #318fd6);
    background: -moz-linear-gradient(right, #94c83d, #318fd6);*/
    /* background: linear-gradient(to right, #94c83d , #318fd6); */
    /*-webkit-background-clip: text;*/
    /* -webkit-text-fill-color: transparent; */
    color: #f59d07;
}
.f-content-area {
    position: absolute;
    width: 500px;
    height: 400px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: none;
    text-align: center;
    line-height: 1.2;
}
.f-content-area img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}
.f-content-area h3{
	/*color:#318fd6;*/
	color:#000;
	font-size:58px;
	margin-bottom:20px;
	line-height: 0.8;
}
.f-content-area p {
    margin-bottom: 20px;
}
.f-content-area#f-content-area-1 {
    /*display: block;*/
}
.f-content-area#f-content-area-first{
	display:block;
    width: 600px;
}
.f-content-area#f-content-area-first h3 {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
	font-size:87px;
}
a.f-data-area {
    position: absolute;
    width: 300px;
    text-align: center;
}
a.f-data-area.current {
    opacity: .5;
    cursor: default;
}
a#f-data-area-1.current,
a#f-data-area-2.current{
    margin-top: -20px;
}
a#f-data-area-3.current,
a#f-data-area-4.current{
    margin-bottom: 20px;
}
a#f-data-area-1 {
    top: 14%;
    left: 10%;
}
a#f-data-area-2 {
    top: 14%;
    right: 10%;
}
a#f-data-area-3 {
    bottom: 14%;
    left: 10%;
}
a#f-data-area-4 {
    bottom: 14%;
    right: 10%;
}
a.f-data-area h3 {
    font-size: 38px;
    color: #000;
    line-height: 1;
}
a#f-data-area-1 h3,
a#f-data-area-3 h3{
	text-align:right;
}
a#f-data-area-2 h3,
a#f-data-area-4 h3{
	text-align:left;
}
a.f-data-area div {
    width: 150px;
    height: 150px;
    margin: 10px auto;
    border-radius: 100%;
}
a.f-data-area div img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.sticker-4-infos {
	text-align: center;
    margin: -70px 0 70px;
    position: relative;
    z-index: 1;
}
section#why-choose {
    /*margin-top: -70px;*/
    position: relative;
}
h2.why-choose-title {
    text-align: center;
    font-size: 53px;
    /*color: #8a8a8a;*/
    color: #fa9b17;
}
h2.why-choose-title span img {
	position: relative;
	top: 13px;
	margin: 0 10px;
}
.why-choose-content{
	padding:0 0 60px;
}
.why-choose-content h3{
    text-align: center;
    color: #318fd6;
    font-size: 51px;
    margin-bottom: 20px;
    border-top: 1px solid #000;
    padding-top: 40px;
}
.why-choose-content ul {
    display: block;
    margin: 0 20%;
}
.why-choose-content ul li{
    list-style-type: none;
    position: relative;
    padding-right: 30px;
}
.why-choose-content ul li:before{
    content: "";
    background: #fa9b17;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    display: inline-block;
    top: 9px;
    position: absolute;
    right: 0;
}

.why-choose-content hr {
    display: block;
    height: 1px;
    border: 0;
    /*border-top: 1px solid #fa9b17;*/
    border-top: 1px solid #000;
    margin: 2em 0;
    padding: 0;
}

section#video-with-content {
    padding: 0 0 60px;
}
.video-with-content-deco {
    border-top: 1px solid #000;
    margin: 20px 0 60px;
}
iframe{
	max-width:100%;
}
.cntv h3 {
    color: #318fd6;
    font-size: 50px;
}

.download-icon {
    height: 200px;
    text-align: center;
}

.download-icon img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.download-icon {
    height: 200px;
    text-align: center;
}

.download-item h3 {
	font-size:28px;
	font-family: 'NarkisBlockMedium';
	font-weight: 500;
}
.download-content {
    height: 170px;
}
a.download-btn {
    background: #318fd6;
    color: #fff;
    display: inline-block;
    padding: 2px 50px;
    margin-top: 20px;
}
a.download-btn:hover {
    background: #fa9b17;
}

.advantages-area {
	/*border-top:10px solid #e4a542;
	border-top:10px solid #e8e7e7;*/
    display: flex;
    flex-wrap: wrap;
	padding-top:60px;
}
h3.adv-tit {
    color: #318fd6;
	font-size:50px;
    text-align: center;
}
.advantage-icon {
	height: 150px;
}
.advantage-icon img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.advantage-item {
    height: 100%;
    margin-bottom: 40px;
    text-align: center;
}
.advantage-item strong{
	color:#72b52c;
}

.banner-pol {
    margin: 60px 0;
    text-align: center;
}

.banner-pol img {
    max-width: 91%;
}


.download-item h3.dl-tit {
    border-top: 0 none;
    padding: 10px 0;
    text-align: right;
    margin-bottom: 0;
}
.galVideo-wrapper {
    position: relative;
    height: 75vh;
	display:none;
}
.galVideo-wrapper#galVideo-wrapper-1{
	display:block;
}
.galVideo{
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-color: #000;
    background-size: cover;
}
.yg-buttons {
    background: #e8e7e7;
    padding: 30px 0;
    text-align: center;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    justify-content: center;
}
.yg-buttons a{
    margin: 0 30px;
    position: relative;
    display: block;
}
.yg-buttons a img {
    border-radius: 100%;
}


a.button-yg.current {
    cursor: default;
    opacity: 0.5;
}
.yg-buttons a:before {
    content: "";
    border-radius: 100%;
    background-color: #e4a542;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 40px;
}
.yg-buttons a:after{
    content: "";
    background-color: transparent;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2px;
    right: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

section#logos-area {
    background-color: #e4a542;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

section#logos-area img{
    display: block;
	margin:0 30px;
}

section#form-2 {
    padding: 30px 0 0;
    background-color: #383737;
    color: #fff;
    /*border-top: 10px solid #fff;*/
}
@media only screen and (max-width: 1024px){

}
@media only screen and (max-width: 980px){
	body,
	.main-content {
		font-size: 21px;	
	}
	
	section#main-video {
		position: relative;
		height: auto;
		top: 0;
	}
	iframe#mainVideo{
		z-index:1;
	}
	section#content-1 {
		padding: 20px 0;
	}
	h2.why-choose-title,
	.decorated-title {
		font-size: 46px;
	}
	.why-choose-content h3{
		font-size: 42px;		
	}
	section#four-block-data {
		height: 1030px;
	}
	a.f-data-area {
		width: 205px;
	}	
	a.f-data-area h3 {
		font-size: 31px;
	}
	a#f-data-area-1 ,
	a#f-data-area-3 {
		left: 0;
	}	
	a#f-data-area-2 ,
	a#f-data-area-4 {
		right: 0;
	}
	.sticker-4-infos img {
		max-width: 80%;
	}
	.sticker-4-infos {
		text-align: center;
		margin: -40px 0 25px;
	}
	.yg-buttons a {
		margin: 0 1%;
		max-width: 23%;
	}
	.cntv {
		margin-bottom: 25px;
	}
	.download-content {
		height: 155px;
	}
	section#video-with-content {
		padding: 30px 0;
	}
	section#logos-area img {
		max-width: 25%;
	}
	h3.adv-tit {
		padding-top: 20px;
	}
	.vntc iframe {
		max-width: 100%;
	}
}
@media only screen and (max-width: 650px){
	
	.advantage-icon img {
		position: relative;
		top: 0;
		transform: translateY(0%);
	}	
	.why-choose-content ul {
		margin: 0;
		font-size: 18px;
	}
	.why-choose-content h3 {
		padding-top: 20px;
	}
	.numbers-block {
		margin: 0 0 40px;
	}
	.number-title {
		font-size: 65px;
	}	
	h1.main-title {
		font-size: 34px;
	}	
	header#header {
		padding: 10px;
	}	
	header#header a {
		max-width: 60%;
		margin: 0 auto;
	}	
	header#header a.header-phone img {
		margin-right: 0;
	}	
	a.logo-right {
		float: none;
		padding: 10px 0;
		margin-right: 0;
		text-align: center;
		margin: 10px 0;
	    display: none;
	}	
	.floating-btn,
	.floating-block{
		display:none;
	}
	a.logo-right img {
		max-width: 60%;
		margin: 10px auto 0;
	}	
	.sticker-4-infos img {
		max-width: 95%;
	}
	h2.why-choose-title, .decorated-title {
		font-size: 38px;
	}	
	h2.why-choose-title span img {
		position: relative;
		top: 6px;
		margin: 0 10px;
		max-width: 80%;
	}
	a#f-data-area-1 h3, 
	a#f-data-area-2 h3, 
	a#f-data-area-3 h3, 
	a#f-data-area-4 h3 {
		text-align: center;
	}
	.f-content-area h3 {
		font-size: 38px;
	}
	a.f-data-area h3 {
		font-size: 27px;
	}
	a.f-data-area {
		margin: 6px 0;
		position: static;
		width: auto !important;
		text-align: center;
		float: none !important;
		display: block;
		left: auto !important;
		right: auto !important;
	}
	a#f-data-area-1.current, 
	a#f-data-area-2.current, 
	a#f-data-area-3.current, 
	a#f-data-area-4.current {
		margin-top: 6px;
		margin-bottom: 6px;
	}
	section#four-block-data {
		height: 710px;
		background-size: contain;
		background-position: 50% 75%;
	}	
	.f-content-area{
		max-width: 100%;
		height: 250px;
		top: 25%;
	}
	.fws.clearfix {
		display: block;
	}
	.fw {
		width: 100%;
	}

	.f-content-area#f-content-area-first h3 {
		font-size: 50px;
	}
	
	.f-content-area p {
		margin-bottom: 6px;
		font-size: 18px;
		padding: 0 10px;
	}
	.f-content-area img {
		max-width: 65%;
	}
	.why-choose-content hr {
		margin: 1em 0;
	}
	.download-item {
		text-align: center;
		margin-bottom: 40px;
		border-bottom: 1px solid #e8e7e7;
		padding-bottom: 40px;
	}
	.dowloads-area > div:last-child .download-item {
		text-align: center;
		margin-bottom: 0;
		border-bottom: 0 none;
		padding-bottom: 0;
	}
	h3.adv-tit,
	.cntv h3 {
		color: #318fd6;
		font-size: 35px;
	}
	.advantages-area{
		display:block;
	}
	.advantage-item {
		height: auto;
		margin-bottom: 30px;
		text-align: center;
		border-top: 1px solid #e8e7e7;
		padding-top: 30px;
	}
	.advantage-content br {
		display: none;
	}
	.yg-buttons a {
		margin: 10px 6%;
		max-width: 38%;
	}
	section#logos-area img {
		max-width: 90%;
		margin: 0 0 20px;
	}
	ul#menu-footer li {
		width: auto;
		display:block;
		margin: 10px 0 0;
	}
	.why-choose-content {
		padding: 20px 0;
	}
	.why-choose-content h3 {
		font-size: 34px;
		text-align: center;
	}
	.download-content,
	.advantage-icon,
	.download-icon {
		height: auto;
	}
	.download-icon img {
		top: 0;
		transform: translateY(0%);
	}
}

/*playlist code*/

.sap-playlist {
    width: 135px;
    position: fixed;
    top: 74%;
    right: 0;
    z-index: 99999;
}

.sap-playlist:hover {
    width: 300px;
}

@media all and (max-width: 1000px) {
    .sap-playlist {
        width: 109px;
        position: fixed;
        top: 88px;
        right: 0;
        z-index: 99999;
    }
}


/* v4 */

.page-id-350 #form-1 {
        text-align:center;
            padding-bottom: 20px;
}

.page-id-350 .main-title {
    display:none;
}