Commit 057e6bc5 authored by Simon's avatar Simon

in progress

parent c2f7328c
...@@ -42,11 +42,13 @@ class Biuro_Contacts_Public { ...@@ -42,11 +42,13 @@ class Biuro_Contacts_Public {
const FIELDS = [ const FIELDS = [
'employees' => ['name', 'phone', 'email', 'agree'], 'employees' => ['name', 'phone', 'email', 'agree'],
'employers' => ['name', 'phone', 'email', 'agree'],
'position' => ['name', 'phone', 'email', 'agree', 'city', 'city_id', 'message', 'confirm', 'job_id'], 'position' => ['name', 'phone', 'email', 'agree', 'city', 'city_id', 'message', 'confirm', 'job_id'],
]; ];
const DB_NAMES = [ const DB_NAMES = [
'employees' => ['name', 'phone', 'email'], 'employees' => ['name', 'phone', 'email'],
'employers' => ['name', 'phone', 'email'],
'position' => ['name', 'phone', 'email', 'city', 'city_id', 'message', 'confirm', 'job_id'] 'position' => ['name', 'phone', 'email', 'city', 'city_id', 'message', 'confirm', 'job_id']
]; ];
...@@ -144,76 +146,77 @@ class Biuro_Contacts_Public { ...@@ -144,76 +146,77 @@ class Biuro_Contacts_Public {
public static function validate( $str, $key, $value, $post ) { public static function validate( $str, $key, $value, $post ) {
$empty = ['status' => '', 'message' => '']; $empty = ['status' => '', 'message' => ''];
$success = ['status' => 'success', 'message' => '']; $success = ['status' => 'success', 'message' => ''];
$required = ['status' => 'error', 'message' => 'This field is required']; $required = ['status' => 'error', 'message' => __('This field is required', 'biuro')];
if ($str == 'employees' || $str == 'position'): // if ($str == 'employees' || $str == 'position'):
switch($key) {
case 'name':
return (!$value) ? $required : $success; switch($key) {
case 'name':
case 'phone':
if (!$value && !is_email($post['email'])):
return [
'status' => 'error',
'message' => 'Phone or email field is required'
];
endif;
if (!$value): return (!$value) ? $required : $success;
return $empty;
endif;
if ( strlen($value) < 6): case 'phone':
return [ if (!$value && !is_email($post['email'])):
'status' => 'error', return [
'message' => 'Incorrect phone number' 'status' => 'error',
]; 'message' => __('Phone or email field is required', 'biuro')
endif; ];
endif;
return $success; if (!$value):
return $empty;
endif;
case 'email': if ( strlen($value) < 6):
if (!$post['phone'] && !$value): return [
return [ 'status' => 'error',
'status' => 'error', 'message' => __('Incorrect phone number', 'biuro')
'message' => 'Email or phone field is required' ];
]; endif;
endif;
if (!$post['phone'] && !is_email($value)): return $success;
return [
'status' => 'error',
'message' => 'Email format is incorrect'
];
else:
if (!$value): case 'email':
return $empty; if (!$post['phone'] && !$value):
endif; return [
'status' => 'error',
'message' => __('Email or phone field is required', 'biuro')
];
endif;
return $success; if (!$post['phone'] && !is_email($value)):
endif; return [
'status' => 'error',
'message' => __('Email format is incorrect', 'biuro')
];
else:
case 'agree': if (!$value):
if ($value != "1"): return $empty;
return [
'status' => 'error',
'message' => 'You have to agree with conditions'
];
endif; endif;
return $success; return $success;
endif;
case 'city': case 'agree':
case 'city_id': if ($value != "1"):
case 'message': return [
case 'confirm': 'status' => 'error',
case 'job_id': 'message' => __('You have to agree with conditions', 'biuro')
return $empty; ];
} endif;
endif; return $success;
case 'city':
case 'city_id':
case 'message':
case 'confirm':
case 'job_id':
return $empty;
}
// endif;
return $success; return $success;
} }
...@@ -273,32 +276,6 @@ class Biuro_Contacts_Public { ...@@ -273,32 +276,6 @@ class Biuro_Contacts_Public {
endif; endif;
} }
/**
* Processes shortcode biuro-contacts--employers
*
* @param array $attr The attributes from the shortcode
*
* @return mixed $output Output of the buffer
*/
public function employers_form( $attr = array() ) {
$response = false;
ob_start();
if ( isset( $_POST['action-submit'] ) ) :
$response = true;
endif;
include_once('partials/biuro-contacts-public--employers.php');
$output = ob_get_contents();
ob_end_clean();
return $output;
} // employers_form()
/** /**
* Processes shortcode biuro-contacts--employees * Processes shortcode biuro-contacts--employees
* *
...@@ -371,6 +348,115 @@ class Biuro_Contacts_Public { ...@@ -371,6 +348,115 @@ class Biuro_Contacts_Public {
exit; exit;
} }
/* --------------------------- employers ---------------------------
/**
* Processes shortcode biuro-contacts--employers
*
* @param array $attr The attributes from the shortcode
*
* @return mixed $output Output of the buffer
*/
public function employers_form( $attr = array() ) {
ob_start();
include_once('partials/biuro-contacts-public--employers.php');
$output = ob_get_contents();
ob_end_clean();
static::delete_sessions('employers');
return $output;
} // employers_form()
public function employers_post() {
$nonce = $_POST['_wpnonce'];
$referer = $_POST['_wp_http_referer'];
if ( !isset( $nonce ) || !wp_verify_nonce($nonce, 'employers_post_nonce' ) ) {
wp_redirect( $referer );
exit;
}
unset($_SESSION['employers--step']);
$str = 'employers';
if ($_POST['submit'] == "1"):
$canSubmit = true;
$data = [
'created' => current_time('Y-m-d H:i:s')
];
foreach (static::FIELDS[$str] as $key) {
$value = static::getValue($key, $_POST[$key]);
$validation = static::validate($str, $key, $value, $_POST);
if ($validation['status'] == 'error'):
$canSubmit = false;
endif;
if ( in_array($key, static::DB_NAMES[$str])):
$data[$key] = $value;
endif;
$_SESSION[$str . '--' . $key . '-value'] = $value;
$_SESSION[$str . '--' . $key . '-status'] = $validation['status'];
$_SESSION[$str . '--' . $key . '-message'] = $validation['message'];
}
if ($canSubmit):
// $insert_id = static::insert_row_to_db($data, array( '%s', '%s', '%s', '%s' ));
$_SESSION[$str . '--step'] = 2;
$_SESSION[$str . '--id'] = $insert_id;
endif;
// static::set_sessions('employers', $_POST);
elseif ($_POST['submit'] == "2"):
$data = [
'city' => static::getValue('city', $_POST['city']),
'city_id' => static::getValue('city_id', $_POST['city_id']),
'message' => static::getValue('message', $_POST['message']),
'confirm' => static::getValue('confirm', $_POST['confirm']),
'updated' => current_time('Y-m-d H:i:s')
];
// # upload file
// if($_FILES) {
// # gali nusirody: 'mimes' => array('csv' => 'text/csv')
// $movefile = wp_handle_upload($_FILES['cv'], [
// 'test_form' => false,
// //'unique_filename_callback' => 'custom_file_name'
// ]);
// if ( $movefile && ! isset( $movefile['error'] ) ) {
// $data['cv'] = static::getValue('cv', $movefile['url']);
// } else {
// $_SESSION['employee_file_error'] = $movefile['error'];
// }
// }
// static::update_row_in_db($data, $_SESSION['employers--id'], array( '%s', '%d', '%s', '%d', '%s', '%s' ));
debug($data);
exit();
endif;
wp_redirect( $referer );
exit;
}
/* --------------------------- position ---------------------------
/** /**
* Processes shortcode biuro-contacts--position * Processes shortcode biuro-contacts--position
* *
...@@ -387,6 +473,8 @@ class Biuro_Contacts_Public { ...@@ -387,6 +473,8 @@ class Biuro_Contacts_Public {
include_once('partials/biuro-contacts-public--position.php'); include_once('partials/biuro-contacts-public--position.php');
unset($_SESSION['position--step']);
$output = ob_get_contents(); $output = ob_get_contents();
ob_end_clean(); ob_end_clean();
...@@ -401,19 +489,21 @@ class Biuro_Contacts_Public { ...@@ -401,19 +489,21 @@ class Biuro_Contacts_Public {
$nonce = $_POST['_wpnonce']; $nonce = $_POST['_wpnonce'];
$referer = $_POST['_wp_http_referer']; $referer = $_POST['_wp_http_referer'];
if ( !isset( $nonce ) || !wp_verify_nonce($nonce, 'position_post_nonce' ) ) { if ( !isset( $nonce ) || !wp_verify_nonce($nonce, 'position_post_nonce' ) ) {
wp_redirect( $referer ); wp_redirect( $referer );
exit; exit;
} }
unset($_SESSION['position--step']); // unset($_SESSION['position--step']);
if ($_POST['submit'] == "1"): if ($_POST['submit'] == "1"):
$_SESSION['position--step'] = 2; $_SESSION['position--step'] = 2;
elseif ($_POST['submit'] == "2"): elseif ($_POST['submit'] == "2"):
$_SESSION['position--step'] = 2;
$canSubmit = true; $canSubmit = true;
$str = 'position'; $str = 'position';
...@@ -442,6 +532,8 @@ class Biuro_Contacts_Public { ...@@ -442,6 +532,8 @@ class Biuro_Contacts_Public {
if ($canSubmit): if ($canSubmit):
unset($_SESSION['position--step']);
# upload file # upload file
if($_FILES) { if($_FILES) {
# gali nusirody: 'mimes' => array('csv' => 'text/csv') # gali nusirody: 'mimes' => array('csv' => 'text/csv')
...@@ -460,8 +552,7 @@ class Biuro_Contacts_Public { ...@@ -460,8 +552,7 @@ class Biuro_Contacts_Public {
$insert_id = static::insert_row_to_db($data, array( '%s', '%s', '%s', '%s', '%s', '%s', '%d', '%s', '%d', '%d', '%s' )); $insert_id = static::insert_row_to_db($data, array( '%s', '%s', '%s', '%s', '%s', '%s', '%d', '%s', '%d', '%d', '%s' ));
$_SESSION['employee--id'] = $insert_id; $_SESSION['employee--id'] = $insert_id;
else:
$_SESSION['position--step'] = 2;
endif; endif;
endif; endif;
...@@ -471,19 +562,6 @@ class Biuro_Contacts_Public { ...@@ -471,19 +562,6 @@ class Biuro_Contacts_Public {
exit; exit;
} }
public function employers_post() {
debug($_POST); //$_POST variables should be accessible now
//Optional: Now you can redirect the user to your confirmation page using wp_redirect()
// ob_start();
// wp_redirect($_POST['_wp_http_referer']);
exit;
// wp_redirect(admin_url('admin.php?page=' . $_POST['_wp_http_referer']));
// die();
//apparently when finished, die(); is required.
}
/** /**
* @method getContacts * @method getContacts
* get contacts data from DB for API endpoint "contacts" endpoint; * get contacts data from DB for API endpoint "contacts" endpoint;
......
<?php
/**
* Provide a public-facing view for the plugin
*
* This file is used to markup the public-facing aspects of the plugin.
*
* @link https://www.biuro.lt
* @since 1.0.0
*
* @package Biuro_Contacts
* @subpackage Biuro_Contacts/public/partials
*/
/**
* @link https://codex.wordpress.org/Creating_Options_Pages
* @link https://www.smashingmagazine.com/2016/04/three-approaches-to-adding-configurable-fields-to-your-plugin/
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) die;
?>
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form">
<?php
if ( !$_SESSION['employees-quick--step'] ):
include_once('biuro-contacts-public--employees-quick--step-1.php');
else:
include_once('biuro-contacts-public--employees-quick--step-2.php');
endif;
?>
<input type="hidden" name="action" value="employees_post">
<?php wp_nonce_field('employees_post_nonce'); ?>
</form>
<?php
/**
* Provide a public-facing view for the plugin
*
* This file is used to markup the public-facing aspects of the plugin.
*
* @link https://www.biuro.lt
* @since 1.0.0
*
* @package Biuro_Contacts
* @subpackage Biuro_Contacts/public/partials
*/
/**
* @link https://codex.wordpress.org/Creating_Options_Pages
* @link https://www.smashingmagazine.com/2016/04/three-approaches-to-adding-configurable-fields-to-your-plugin/
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) die;
// Generate a custom nonce value.
$_nonce = wp_create_nonce( 'my_post_form_nonce' );
?>
<form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form">
<div class="c-form--row">
<label class="c-form--label" for="form-name">Name, Surname*</label>
<div class="c-form--input-wrap">
<input type="text" class="c-form--input <?php if ($response) { echo 'c-form--input--error'; } ?>" id="form-name" name="name" value="">
</div>
<?php if ($response): ?>
<div class="c-form--validation-error">
Name and Surname is required
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
<div class="c-form--row">
<label class="c-form--label" for="form-phone">Phone no.*</label>
<div class="c-form--input-wrap">
<input type="tel" class="c-form--input <?php if ($response) { echo 'c-form--input--error'; } ?>" id="form-phone" name="phone" value="">
</div>
<?php if ($response): ?>
<div class="c-form--validation-error">
Phone number is required
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
<div class="c-form--row">
<label class="c-form--label" for="form-email">Email address*</label>
<div class="c-form--input-wrap">
<input type="email" class="c-form--input <?php if ($response) { echo 'c-form--input--error'; } ?>" id="form-email" name="email" value="">
</div>
<?php if ($response): ?>
<div class="c-form--validation-error">
Email address is required
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--submit-wrap">
<button type="submit" class="c-form--submit" name="submit" value="1">Submit</button>
</div>
</div><!-- .c-form--row -->
<div class="c-form--row">
<div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($response) { echo 'c-form--checkbox--error'; } ?>" name="agree" value="1">
<label class="c-form--label-checkbox" for="form-agree">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?</label>
</div>
<?php if ($response): ?>
<div class="c-form--validation-error">
You have to agree with conditions
</div>
<?php endif; ?>
</div><!-- .c-form--row -->
<input type="hidden" name="action" value="employers">
<?php wp_nonce_field('employers_nonce', 'employers_nonce'); ?>
</form>
<?php
/**
* Provide a public-facing view for the plugin
*
* This file is used to markup the public-facing aspects of the plugin.
*
* @link https://www.biuro.lt
* @since 1.0.0
*
* @package Biuro_Contacts
* @subpackage Biuro_Contacts/public/partials
*/
/**
* @link https://codex.wordpress.org/Creating_Options_Pages
* @link https://www.smashingmagazine.com/2016/04/three-approaches-to-adding-configurable-fields-to-your-plugin/
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) die;
// Generate a custom nonce value.
$_nonce = wp_create_nonce( 'my_post_form_nonce' );
?>
<form id="CVForm_CVForm" action="<?php echo $_SERVER["REQUEST_URI"]; ?>" method="post" enctype="multipart/form-data" class="contact-form">
<ul class="form">
<li>
<label for="CVForm_CVForm_Name">Name, Surname (mandatory field):</label>
<input type="text" class="text holder-required <?php if ($response) { echo 'error'; } ?>" id="CVForm_CVForm_Name" name="Name" value="">
<?php if ($response) : ?>
<div id="errorname" class="errormessage">"Name, Surname (mandatory field):" is required.</div>
<?php endif; ?>
</li>
<li>
<label for="CVForm_CVForm_Email">E-mail (mandatory field): </label>
<input type="text" class="text holder-required <?php if ($response) { echo 'error'; } ?>" id="CVForm_CVForm_Email" name="Email" value="">
<?php if ($response) : ?>
<div id="erroremail" class="errormessage">"E-mail (mandatory field): " is required.</div>
<?php endif; ?>
</li>
<li>
<label for="CVForm_CVForm_Phone">Telephone number:</label>
<input type="text" class="text" id="CVForm_CVForm_Phone" name="Phone" value="">
</li>
<li>
<label for="CVForm_CVForm_Cvfield">Curriculum vitae:</label>
<input type="file" name="Cvfield" id="CVForm_CVForm_Cvfield"><input type="hidden" name="MAX_FILE_SIZE" value="">
</li>
<li>
<label for="CVForm_CVForm_Additional">Other:</label>
<textarea id="CVForm_CVForm_Additional" name="Additional" rows="5" cols="20"></textarea>
</li>
<li class="last">
<input class="action " id="CVForm_CVForm_action_SendCVForm" type="submit" name="action-submit" value="Send" title="Send" onclick="ga('send', 'event', 'CVForm', 'Button', 'SendCVForm');">
</li>
</ul>
<input class="hidden" type="hidden" id="CVForm_CVForm_offerid" name="offerid" value="14675">
</form>
...@@ -21,12 +21,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -21,12 +21,12 @@ if ( ! defined( 'WPINC' ) ) die;
?> ?>
<?php <?php
$nameValue = $_SESSION['employees-quick--name-value']; $nameValue = $_SESSION['employers--name-value'];
$nameStatus = $_SESSION['employees-quick--name-status']; $nameStatus = $_SESSION['employers--name-status'];
$nameMessage = $_SESSION['employees-quick--name-message']; $nameMessage = $_SESSION['employers--name-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-name">Name, Surname*</label> <label class="c-form--label" for="form-name"><?php _e('Name, surname', 'biuro'); ?></label>
<div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($nameStatus) { echo "c-form--input-wrap--$nameStatus"; } ?>">
<input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="text" class="c-form--input" id="form-name" name="name" value="<?php echo $nameValue; ?>" <?php if ($nameStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -38,12 +38,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -38,12 +38,12 @@ if ( ! defined( 'WPINC' ) ) die;
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php <?php
$phoneValue = $_SESSION['employees-quick--phone-value']; $phoneValue = $_SESSION['employers--phone-value'];
$phoneStatus = $_SESSION['employees-quick--phone-status']; $phoneStatus = $_SESSION['employers--phone-status'];
$phoneMessage = $_SESSION['employees-quick--phone-message']; $phoneMessage = $_SESSION['employers--phone-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-phone">Phone no.*</label> <label class="c-form--label" for="form-phone"><?php _e('Phone no.', 'biuro'); ?></label>
<div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($phoneStatus) { echo "c-form--input-wrap--$phoneStatus"; } ?>">
<input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>> <input type="tel" class="c-form--input" id="form-phone" name="phone" value="<?php echo $phoneValue; ?>" <?php if ($nameStatus != 'error' && $phoneStatus == 'error'): ?> autofocus="autofocus" <?php endif; ?>>
</div> </div>
...@@ -55,12 +55,12 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -55,12 +55,12 @@ if ( ! defined( 'WPINC' ) ) die;
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php <?php
$emailValue = $_SESSION['employees-quick--email-value']; $emailValue = $_SESSION['employers--email-value'];
$emailStatus = $_SESSION['employees-quick--email-status']; $emailStatus = $_SESSION['employers--email-status'];
$emailMessage = $_SESSION['employees-quick--email-message']; $emailMessage = $_SESSION['employers--email-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-email">Email address*</label> <label class="c-form--label" for="form-email"><?php _e('Email address', 'biuro'); ?></label>
<div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>"> <div class="c-form--input-wrap <?php if ($emailStatus) { echo "c-form--input-wrap--$emailStatus"; } ?>">
<input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>"> <input type="email" class="c-form--input" id="form-email" name="email" value="<?php echo $emailValue; ?>">
</div> </div>
...@@ -73,20 +73,19 @@ if ( ! defined( 'WPINC' ) ) die; ...@@ -73,20 +73,19 @@ if ( ! defined( 'WPINC' ) ) die;
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="1">Submit</button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="1"><?php _e('Submit', 'biuro'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php <?php
$agreeValue = $_SESSION['employees-quick--agree-value']; $agreeValue = $_SESSION['employers--agree-value'];
$agreeStatus = $_SESSION['employees-quick--agree-status']; $agreeStatus = $_SESSION['employers--agree-status'];
$agreeMessage = $_SESSION['employees-quick--agree-message']; $agreeMessage = $_SESSION['employers--agree-message'];
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>> <input id="form-agree" type="checkbox" class="c-form--checkbox <?php if ($agreeStatus) { echo "c-form--checkbox--$agreeStatus"; } ?>" name="agree" value="1" <?php if ($agreeValue): ?> checked="checked"<?php endif; ?>>
<label class="c-form--label-checkbox" for="form-agree">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?</label> <label class="c-form--label-checkbox" for="form-agree"><?php _e('Rem possimus, delectus unde enim dolores doloribus, recusandae a veritatis ducimus repudiandae iste eos voluptatum architecto mollitia?', 'biuro'); ?></label>
</div> </div>
<?php if ($agreeMessage): ?> <?php if ($agreeMessage): ?>
<div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>"> <div class="c-form--validation c-form--validation-<?php echo $agreeStatus; ?>">
......
...@@ -20,35 +20,37 @@ ...@@ -20,35 +20,37 @@
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
?> ?>
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-city">City</label> <label class="c-form--label" for="form-city"><?php _e('City', 'biuro'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="text" class="c-form--input" id="form-city" name="city" value="" autofocus="autofocus"> <input type="text" class="c-form--input" id="form-city" name="city" value="">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-message">Message</label> <label class="c-form--label" for="form-message"><?php _e('Message', 'biuro'); ?></label>
<div class="c-form--textarea-wrap"> <div class="c-form--textarea-wrap">
<textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea> <textarea name="message" id="form-message" cols="30" rows="3" class="c-form--textarea"></textarea>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<?php /*
<div class="c-form--row"> <div class="c-form--row">
<label class="c-form--label" for="form-cv">CV</label> <label class="c-form--label" for="form-cv"><?php _e('CV', 'biuro'); ?></label>
<div class="c-form--input-wrap"> <div class="c-form--input-wrap">
<input type="file" class="c-form--input" id="form-cv" name="cv" value=""> <input type="file" class="c-form--input" id="form-cv" name="cv" value="">
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
*/ ?>
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--submit-wrap"> <div class="c-form--submit-wrap">
<button type="submit" class="c-form--submit" name="submit" value="2">Submit</button> <button type="submit" class="o-btn c-btn--main c-btn--fill" name="submit" value="2"><?php _e('Submit', 'biuro'); ?></button>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
<div class="c-form--row"> <div class="c-form--row">
<div class="c-form--checkbox-wrap"> <div class="c-form--checkbox-wrap">
<input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1"> <input id="form-confirm" type="checkbox" class="c-form--checkbox" name="confirm" value="1">
<label class="c-form--label-checkbox" for="form-confirm">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rem possimus, delectus unde enim dolores doloribus, recusandae?</label> <label class="c-form--label-checkbox" for="form-confirm"><?php _e('Noster apster lorem ipsum dolor sit amet, consectetur adipisicing elit?', 'biuro'); ?></label>
</div> </div>
</div><!-- .c-form--row --> </div><!-- .c-form--row -->
...@@ -18,52 +18,18 @@ ...@@ -18,52 +18,18 @@
*/ */
// If this file is called directly, abort. // If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) die; if ( ! defined( 'WPINC' ) ) die;
// Generate a custom nonce value.
$_nonce = wp_create_nonce( 'my_post_form_nonce' );
?> ?>
<form id="ContactForm_ContactForm" action="<?php echo $_SERVER["REQUEST_URI"]; ?>" method="post" enctype="application/x-www-form-urlencoded" class="contact-form"> <form action="<?php echo esc_url( admin_url('admin-post.php') ); ?>" method="post" enctype="multipart/form-data" class="c-form c-form--employers">
<p id="ContactForm_ContactForm_error" class="message " style="display: none"></p> <?php
<ul class="form">
<li>
<label for="ContactForm_ContactForm_Company">Company (mandatory field):</label>
<input type="text" class="text holder-required <?php if ($response) { echo 'error'; } ?>" id="ContactForm_ContactForm_Company" name="Company" value="">
<?php if ($response) : ?>
<div id="errorcompany" class="errormessage">"Company (mandatory field):" is required.</div>
<?php endif; ?>
</li>
<li>
<label for="ContactForm_ContactForm_Name">Name (mandatory field):</label>
<input type="text" class="text holder-required <?php if ($response) { echo 'error'; } ?>" id="ContactForm_ContactForm_Name" name="Name" value="">
<?php if ($response) : ?>
<div id="errorname" class="errormessage">"Name (mandatory field):" is required.</div>
<?php endif; ?>
</li>
<li>
<label for="ContactForm_ContactForm_Email">E-mail (mandatory field):</label>
<input type="text" class="text holder-required <?php if ($response) { echo 'error'; } ?>" id="ContactForm_ContactForm_Email" name="Email" value="">
<?php if ($response) : ?>
<div id="erroremail" class="errormessage">"E-mail (mandatory field):" is required.</div>
<?php endif; ?>
</li>
<li>
<label for="ContactForm_ContactForm_Phone">Telephone number:</label>
<input type="text" class="text" id="ContactForm_ContactForm_Phone" name="Phone" value="">
</li>
<li>
<label for="ContactForm_ContactForm_Comments">Your question (mandatory field):</label>
<textarea id="ContactForm_ContactForm_Comments" class="holder-required <?php if ($response) { echo 'error'; } ?>" name="Comments" rows="5" cols="20"></textarea>
<?php if ($response) : ?>
<div id="errorcomments" class="errormessage">"Your question (mandatory field):" is required.</div>
<?php endif; ?>
</li>
<li class="last">
<input class="action " id="ContactForm_ContactForm_action_SendContactForm" type="submit" name="action-submit" value="Send" title="Send" onclick="ga('send', 'event', 'ContactForm', 'Button', 'SendContactForm');">
</li>
</ul>
if ( !$_SESSION['employers--step'] ):
include_once('biuro-contacts-public--employers--step-1.php');
else:
include_once('biuro-contacts-public--employers--step-2.php');
endif;
?>
<input type="hidden" name="action" value="employers_post">
<?php wp_nonce_field('employers_post_nonce'); ?>
</form> </form>
...@@ -124,9 +124,9 @@ class Biuro_Sections extends WP_Widget { ...@@ -124,9 +124,9 @@ class Biuro_Sections extends WP_Widget {
if ( ${'title' . $i} != "" && ${'description' . $i} != ""&& ${'content' . $i} != ""): if ( ${'title' . $i} != "" && ${'description' . $i} != ""&& ${'content' . $i} != ""):
echo '<div class="c-sections--item">'; echo '<div class="c-sections--item">';
if ( ${'title' . $i} != "" ) { if ( ${'title' . $i} != "" ) {
echo '<div class="c-sections--header"><div class="c-sections--ico"></div>' . ${'title' . $i} . '</div>'; echo '<div class="c-sections--header"><div class="c-sections--ico"><svg width="56px" height="56px"><use xlink:href="#ico--section-' . $i . '"></use></svg></div>' . ${'title' . $i} . '</div>';
} }
echo '<div class="c-sections--content">'; echo '<div class="c-sections--content">';
......
...@@ -106,18 +106,19 @@ class Biuro_Services extends WP_Widget { ...@@ -106,18 +106,19 @@ class Biuro_Services extends WP_Widget {
for ($i = 1; $i <= 3; $i++): for ($i = 1; $i <= 3; $i++):
if ( ${'title' . $i} != "" && ${'content' . $i} != ""): if ( ${'title' . $i} != "" && ${'content' . $i} != ""):
echo '<div class="c-services--item">'; echo '<div class="c-services--item">';
echo '<div class="c-services--ico"></div>';
echo '<div class="c-services--ico"><svg width="56px" height="56px"><use xlink:href="#ico--service-' . $i . '"></use></svg></div>';
if ( ${'title' . $i} != "" ) {
echo '<p class="c-services--heading">' . ${'title' . $i} . '</p>'; if ( ${'title' . $i} != "" ) {
} echo '<p class="c-services--heading">' . ${'title' . $i} . '</p>';
if ( ${'position' . $i} != "" ) { }
echo '<p class="c-services--sub-heading">' . ${'position' . $i} . '</p>'; if ( ${'position' . $i} != "" ) {
} echo '<p class="c-services--sub-heading">' . ${'position' . $i} . '</p>';
}
if ( ${'content' . $i} != "" ) {
echo '<div class="c-services--content">' . ${'content' . $i} . '</div>'; if ( ${'content' . $i} != "" ) {
} echo '<div class="c-services--content">' . ${'content' . $i} . '</div>';
}
echo '</div>'; echo '</div>';
endif; endif;
......
...@@ -4,10 +4,15 @@ ...@@ -4,10 +4,15 @@
.l-section { padding: 30px 0; background: #111d1e url(/wp-content/themes/biuro/i/search-page.png) no-repeat 50% 50%; background-size: cover; } .l-section { padding: 30px 0; background: #111d1e url(/wp-content/themes/biuro/i/search-page.png) no-repeat 50% 50%; background-size: cover; }
.l-section--front-page { height: 380px; background: url(/wp-content/themes/biuro/i/front-page.png) no-repeat 50% 50%; background-size: cover; margin-bottom: 92px; } .l-section--front-page { height: 380px; background: url(/wp-content/themes/biuro/i/front-page.png) no-repeat 50% 50%; background-size: cover; margin-bottom: 92px;
.l-section--inner { width: 870px; padding-right: 20px; padding-left: 20px; }
}
.l-section--sales-page { height: 380px; background: url(/wp-content/themes/biuro/i/sales-page.png) no-repeat 50% 50%; background-size: cover; } .l-section--sales-page { height: 380px; background: url(/wp-content/themes/biuro/i/sales-page.png) no-repeat 50% 50%; background-size: cover;
.l-section--inner { width: 870px; padding-right: 20px; padding-left: 20px; }
}
.l-section--inner { width: 1030px; margin: 0 auto; } .l-section--inner { width: 1030px; margin: 0 auto; }
/* critical:end */ /* critical:end */
...@@ -2,29 +2,7 @@ ...@@ -2,29 +2,7 @@
/* critical:start */ /* critical:start */
.o-btn { display: inline-block; border: 0; padding: 13px 24px 12px; cursor: pointer; border-radius: 3px; font-weight: 500; text-decoration: none; font-family: inherit; } .o-btn { display: inline-block; border: 0; padding: 12px 24px 11px; cursor: pointer; border-radius: 3px; font-weight: 500; text-decoration: none; font-family: inherit; }
.c-btn--header { margin-right: 28px; }
.c-btn--main { color: #fff; background: var(--color--green);
&:hover { background: var(--color--green-darker); }
}
.c-btn--alt { padding: 10px 15px; color: #004ED4; background: #e8f0ff; color: #004ED4;
&:after { float: right; margin: 6px 0 0 20px; content: ''; width: 7px; height: 7px; border: 1px solid #004ED4; border-width: 2px 2px 0 0; transform: rotate(45deg); }
}
.c-btn--fill { width: 100%; }
.c-btn--search { min-width: 180px; border-radius: 0 3px 3px 0; text-align: center; }
.c-btn--search-small { margin: 9px; min-width: 133px; text-align: center; }
/*.o-nav--item { display: block; }*/
/*.o-nav--link { display: block; }*/
/* critical:end */ /* critical:end */
/*.o-nav { user-select: none; }*/
...@@ -9,6 +9,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp ...@@ -9,6 +9,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp
@import 'vendor/swiper.css'; @import 'vendor/swiper.css';
@import '_component--awesomplete.css'; @import '_component--awesomplete.css';
@import '_component--breadcrumbs.css'; @import '_component--breadcrumbs.css';
@import '_component--btn.css';
@import '_component--cookies-warning.css'; @import '_component--cookies-warning.css';
@import '_component--contact.css'; @import '_component--contact.css';
@import '_component--copyright.css'; @import '_component--copyright.css';
...@@ -18,6 +19,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp ...@@ -18,6 +19,7 @@ c-: Signify that something is a Component. This is a concrete, implementation-sp
@import '_component--footer-sections.css'; @import '_component--footer-sections.css';
@import '_component--footer-separator.css'; @import '_component--footer-separator.css';
@import '_component--form.css'; @import '_component--form.css';
@import '_component--ico.css';
@import '_component--job.css'; @import '_component--job.css';
@import '_component--jobs.css'; @import '_component--jobs.css';
@import '_component--jobs-pagination.css'; @import '_component--jobs-pagination.css';
......
/* ------------- Component: btn ------------- */
/* critical:start */
.c-btn--header { margin-right: 28px; font-size: 14px; font-weight: 500; }
.c-btn--main { color: #fff; background: var(--color--green);
&:hover { background: var(--color--green-darker); }
}
.c-btn--alt { padding: 10px 15px; color: #004ED4; background: #e8f0ff; color: #004ED4;
&:after { float: right; margin: 6px 0 0 35px; content: ''; width: 7px; height: 7px; border: 1px solid #004ED4; border-width: 2px 2px 0 0; transform: rotate(45deg); }
}
.c-btn--fill { width: 100%; }
.c-btn--search { min-width: 180px; border-radius: 0 3px 3px 0; text-align: center; }
.c-btn--search-small { margin: 9px; min-width: 133px; text-align: center; }
/* critical:end */
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.c-contact--inner { display: flex; justify-content: space-between; max-width: 980px; margin: 0 auto; } .c-contact--inner { display: flex; justify-content: space-between; max-width: 980px; margin: 0 auto; }
.c-contact--content { flex: 1 1 40%; max-width: 500px; color: #2A3644; font-weight: 500; line-height: 29px; padding: 75px 0 0 90px; .c-contact--content { flex: 1 1 40%; max-width: 500px; color: #2A3644; font-weight: 500; line-height: 29px; padding: 75px 0 0 90px;
h3 { margin: 0 0 15px; font-size: 25px; } h3 { margin: 0 0 15px; font-size: 25px; color: #2A3644; font-weight: 500; }
p { margin: 0 0 20px; } p { margin: 0 0 20px; }
} }
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
.c-form--employees { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 47px 0 #ECF5FF; } .c-form--employees { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 47px 0 #ECF5FF; }
.c-form--employers { padding: 38px 35px 20px; border-radius: 3px; background-color: #ffffff; box-shadow: 0 1px 47px 0 #ECF5FF; }
.c-form--row { position: relative; margin-bottom: 20px; } .c-form--row { position: relative; margin-bottom: 20px; }
.c-form--label { display: block; color: #2A3644; font-size: 15px; line-height: 18px; margin-bottom: 4px; font-weight: 500; } .c-form--label { display: block; color: #2A3644; font-size: 15px; line-height: 18px; margin-bottom: 4px; font-weight: 500; }
......
/* ------------- Component: ico ------------- */
/* critical:start */
.c-ico--search { margin: 0 3px -3px 0; }
.c-ico--location { position: absolute; top: 50%; left: 18px; transform: translateY(-50%); margin-top: -1px; }
.c-ico--area { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); margin-top: -1px; }
.c-ico--phone { float: left; margin: 3px 10px 0 1px; }
.c-ico--email { float: left; margin: 6px 10px 0 0; }
.c-ico--address { float: left; margin: 3px 12px 0 3px; }
/* critical:end */
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
.c-job-contacts { .c-job-contacts {
ul { margin: 0; padding: 0; list-style: none; } ul { margin: 0; padding: 0; list-style: none; }
li { line-height: 28px; } li { line-height: 28px; }
svg { float: left; margin: 4px 8px 0 0; }
a { overflow: hidden; text-decoration: none; a { overflow: hidden; text-decoration: none;
&:hover { color: var(--color--green); } &:hover { color: var(--color--green); }
} }
......
...@@ -4,26 +4,19 @@ ...@@ -4,26 +4,19 @@
.c-nav { } .c-nav { }
.c-nav--main { display: flex; .c-nav--main { display: flex; font-size: 14px; }
/* @media (--max--small) {
margin: 20px 0;
}
@media (--min--small) {
padding-left: 2em;
}*/
}
.c-nav--sub { display: none; } .c-nav--sub { display: none; }
/* critical:end */ /* critical:end */
.c-nav--main-item { position: relative; height: 70px; margin-right: 26px; padding: 24px 0 0; z-index: 500; } .c-nav--main-item { position: relative; height: 70px; margin-right: 26px; padding: 23px 0 0; z-index: 500; }
.c-nav--main-anchor { display: block; padding: 5px 0; text-transform: uppercase; border-bottom: 2px solid transparent; text-decoration: none; color: var(--color--gray); font-weight: 500; .c-nav--main-anchor { display: block; padding: 5px 0 4px; text-transform: uppercase; border-bottom: 2px solid transparent; text-decoration: none; color: var(--color--blue-dark); font-weight: bold; letter-spacing: 1px; opacity: 0.6;
&:hover { border-bottom-color: var(--color--blue-dark); color: var(--color--blue-dark); } &:hover { opacity: 1; }
} }
.c-nav--sub { position: absolute; top: 100%; } .c-nav--sub { position: absolute; top: 100%; }
.c-nav--sub-item { margin-right: 45px; } .c-nav--sub-item { margin-right: 46px; }
.c-nav--sub-anchor { display: block; padding: 17px 0; color: #fff; text-transform: uppercase; white-space: nowrap; text-decoration: none; font-weight: 500; line-height: 1; .c-nav--sub-anchor { display: block; padding: 16px 0 17px; color: #fff; text-transform: uppercase; white-space: nowrap; text-decoration: none; font-weight: bold; letter-spacing: 1.08px; line-height: 1;
&:hover { color: var(--color--green); } &:hover { color: var(--color--green); }
} }
...@@ -36,18 +29,18 @@ ...@@ -36,18 +29,18 @@
.c-nav--lang-wrap { position: relative; width: 70px; height: 32px; } .c-nav--lang-wrap { position: relative; width: 70px; height: 32px; }
.c-nav--lang { position: absolute; top: 0; left: 0; width: 100%; background: #fff; border-radius: 3px; z-index: 20; .c-nav--lang { position: absolute; top: 0; left: 0; width: 100%; background: #fff; border-radius: 3px; z-index: 20; font-weight: 500;
&:hover { &:hover {
.c-nav--lang-item { display: block; } .c-nav--lang-item { display: block; }
} }
} }
.c-nav--lang-item { padding: 6px 0; .c-nav--lang-item { padding: 6px 0 6px;
&:nth-child(n+2) { display: none; } &:nth-child(n+2) { display: none; }
} }
.c-nav--lang-anchor { padding-left: 34px; text-decoration: none; display: block; color: #2A3644; font-size: 14px; line-height: 20px; background-repeat: no-repeat; background-position: 6px 0; background-size: 20px 20px; .c-nav--lang-anchor { padding-left: 34px; text-decoration: none; display: block; color: #2A3644; font-size: 14px; line-height: 24px; background-repeat: no-repeat; background-position: 6px 0; background-size: 20px 20px;
&:hover { text-decoration: underline; } &:hover { text-decoration: underline; }
svg { float: right; margin: 7px 6px 0 0; } svg { float: right; margin: 9px 6px 0 0; }
} }
.c-nav--lang-anchor-lt { background-image: url(/wp-content/themes/biuro/i/lang/lt.png); } .c-nav--lang-anchor-lt { background-image: url(/wp-content/themes/biuro/i/lang/lt.png); }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* critical:start */ /* critical:start */
.c-phone { white-space: nowrap; margin-right: 35px; padding: 10px 0; text-decoration: none; color: inherit; font-weight: 500; .c-phone { white-space: nowrap; margin-right: 35px; padding: 12px 0 10px; text-decoration: none; color: inherit; font-weight: 500; font-size: 14px;
svg { float: left; margin: -6px 5px 0 0; } svg { float: left; margin: -6px 5px 0 0; }
} }
......
...@@ -2,21 +2,27 @@ ...@@ -2,21 +2,27 @@
/* critical:start */ /* critical:start */
.c-search { display: flex; height: 60px; background-color: #FFFFFF; border-radius: 3px; .c-search { display: flex; height: 60px; background-color: #FFFFFF; border-radius: 3px; }
.awesomplete { flex: 1 1 auto; display: flex; flex-direction: column;
> ul { top: 60px; padding-top: 10px; }
li { padding: 10px 15px; margin-bottom: 10px; cursor: pointer;
&:hover { color: #000; }
}
.c-search--col { position: relative; flex: 1 1 auto; background-color: #FFFFFF;
.awesomplete { position: absolute; top: 0; right: 0; left: 0; height: 100%; display: flex; flex-direction: column; }
ul { top: 60px; padding-top: 10px; }
li { padding: 10px 15px; margin-bottom: 10px; cursor: pointer;
&:hover { color: #000; }
} }
} }
.c-search--input { border: 0; padding: 0 15px; margin: 0; height: 60px; line-height: 60px; background-color: #FFFFFF;} .c-search--col-location { border-right: 1px solid rgba(178, 182, 187, 0.46); border-radius: 3px 0 0 3px; }
.c-search--location { border-right: 1px solid rgba(178, 182, 187, 0.46); border-radius: 3px 0 0 3px; } .c-search--col-keyword { }
.c-search--keyword { border-right: 1px solid rgba(178, 182, 187, 0.46); } .c-search--input { border: 0; padding: 0 10px 0 44px; margin: 0; height: 60px; line-height: 60px; background: none;
&:focus { outline: none; }
}
.c-search--location { }
.c-search--keyword { }
.l-section--front-page { .l-section--front-page {
.c-search { height: 70px; } .c-search { height: 70px; }
......
...@@ -4,4 +4,6 @@ ...@@ -4,4 +4,6 @@
/* critical:end */ /* critical:end */
.c-social { /* text-align: center; */ } .c-social { margin-bottom: 40px; text-align: center; }
.c-social--anchor { text-decoration: none; margin: 0 5px; padding: 0 10px; }
...@@ -8,9 +8,7 @@ ...@@ -8,9 +8,7 @@
.c-trust--heading { flex: 1 1 auto; margin: 0; color: #fff; } .c-trust--heading { flex: 1 1 auto; margin: 0; color: #fff; }
.c-trust--logos { flex: 10 1 auto; display: flex; flex-wrap: wrap; justify-content: space-around;} .c-trust--logos { flex: 10 1 auto; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; }
.c-trust--logo { border: 1px solid #fff; width: 100px; height: 40px; }
/* critical:end */ /* critical:end */
...@@ -18,5 +18,5 @@ ...@@ -18,5 +18,5 @@
.c-nav--sub { display: flex; } .c-nav--sub { display: flex; }
} }
.is-nav--main-anchor-active { border-bottom-color: var(--color--blue-dark); color: var(--color--blue-dark); } .is-nav--main-anchor-active { border-bottom-color: var(--color--blue-dark); opacity: 1; }
.is-nav--sub-anchor-active { color: var(--color--green-darker); } .is-nav--sub-anchor-active { color: var(--color--green-darker); }
This source diff could not be displayed because it is too large. You can view the blob instead.
@font-face{font-family:PT Sans Narrow;src:url(../fonts/pt_sans_narrow.woff2) format("woff2"),url(../fonts/pt_sans_narrow.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PT Sans Narrow;src:url(../fonts/pt_sans_narrow_bold.woff2) format("woff2"),url(../fonts/pt_sans_narrow_bold.woff) format("woff");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Bebas Neue;src:url(../fonts/bebas-neue.woff2) format("woff2"),url(../fonts/bebas-neue.woff) format("woff");font-weight:400;font-style:normal;font-display:swap} @font-face{font-family:PT Sans Narrow;src:url(../fonts/pt_sans_narrow.woff2) format("woff2"),url(../fonts/pt_sans_narrow.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:PT Sans Narrow;src:url(../fonts/pt_sans_narrow_bold.woff2) format("woff2"),url(../fonts/pt_sans_narrow_bold.woff) format("woff");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Bebas Neue;src:url(../fonts/bebas-neue.woff2) format("woff2"),url(../fonts/bebas-neue.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}a:hover{text-decoration:none}figure{margin:0}img{max-width:100%}p{margin:0 0 1.6rem}b,strong{font-weight:700;font-weight:var(--typo--weight-bold)}table{border-collapse:collapse;border-spacing:0}.l-inner--header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:50%;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:top .2s,-webkit-transform .2s;transition:top .2s,-webkit-transform .2s;transition:transform .2s,top .2s;transition:transform .2s,top .2s,-webkit-transform .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:left .2s,-webkit-transform .2s;transition:left .2s,-webkit-transform .2s;transition:transform .2s,left .2s;transition:transform .2s,left .2s,-webkit-transform .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:right .2s,-webkit-transform .2s;transition:right .2s,-webkit-transform .2s;transition:transform .2s,right .2s;transition:transform .2s,right .2s,-webkit-transform .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:hsla(0,0%,100%,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12) infinite;animation:swiper-preloader-spin 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}.awesomplete [hidden]{display:none}.awesomplete .visually-hidden{position:absolute;clip:rect(0,0,0,0)}.awesomplete{display:inline-block;position:relative}.awesomplete>input{display:block}.awesomplete>ul{position:absolute;left:0;z-index:1;min-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;padding:0;margin:0;background:#fff}.awesomplete>ul:empty{display:none}.c-breadcrumbs{padding-top:1em}.c-cookies-warning{position:fixed;left:0;right:0;bottom:0;padding:15px 20px;background:#f6f6f6;overflow:hidden;z-index:100}.c-cookies-warning .bu-action{margin-top:10px}.c-cookies-warning .bu-action--alt{float:right}.c-copyright{text-align:center;font-size:13px;line-height:15px;padding-bottom:60px}.c-feedbacks--img{position:absolute;top:-32px;left:50%;border-radius:50%;margin-left:-42px;background:#fff;overflow:hidden}.c-feedbacks--feedback{margin:0 auto 17px;max-width:400px;height:79px;color:#2a3644;font-family:Georgia;font-size:21px;line-height:40px;text-align:center;overflow:hidden}.c-feedbacks--name{color:#919191;font-family:Georgia;font-size:15px;line-height:17px;text-align:center}.swiper-container-horizontal>.swiper-pagination-bullets{bottom:0}.swiper-pagination-bullet{width:9px;height:9px;background:#d8d8d8;opacity:1}.swiper-pagination-bullet-active{background:#717171}.c-footer-sections{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.c-footer-section{-webkit-box-flex:10;-ms-flex:10 0 15%;flex:10 0 15%;line-height:25px;margin:0 0 30px}.c-footer-section:first-child{-webkit-box-flex:5;-ms-flex:5 0 15%;flex:5 0 15%}.c-footer-section:nth-child(4){-webkit-box-flex:1;-ms-flex:1 0 15%;flex:1 0 15%}.c-footer-section h4{margin:0;padding:0}.c-footer-section--heading{margin:0;font-weight:500}.c-form--checkbox--error+label:before{border-color:#eb4646}.c-form--validation{position:absolute;top:50%;left:100%;min-width:200px;background-color:#fff;margin-top:11px;padding:10px 15px;border:1px solid;-webkit-transform:translate(30px,-50%);transform:translate(30px,-50%);font-size:13px;line-height:20px}.c-form--input-wrap--error .c-form--input,.c-form--input-wrap--error .c-form--textarea{border-color:#eb4646}.c-form--input-wrap--success .c-form--input,.c-form--input-wrap--success .c-form--textarea{border-color:#17dab9}.c-form--validation-error{color:#eb4646;border-color:#eb4646;margin-bottom:10px}.c-form--validation-success{color:#17dab9;border-color:#17dab9;margin-bottom:10px}.c-job--title{margin:0 0 40px;padding:0;color:#2a3644;font-size:30px;font-weight:500;line-height:39px}.c-job--content{line-height:25px;color:#2a3644}.c-job--content h3{color:#069980;font-size:19px;font-weight:700;margin:0 0 3px;padding:0}.c-job--content h3:nth-child(n+1){margin-top:30px}.c-job--content ul{margin:0;padding:0;list-style:none}.c-job--content li:before{content:"->";display:inline-block;margin:0 5px 0 0;font-weight:700}.c-job--action{padding:30px 0}.c-job-contacts ul{margin:0;padding:0;list-style:none}.c-job-contacts li{line-height:28px}.c-job-contacts svg{float:left;margin:4px 8px 0 0}.c-job-contacts a{overflow:hidden;text-decoration:none}.c-job-contacts a:hover{color:#1fb299;color:var(--color--green)}.c-jobs--table{width:100%;margin:0 0 20px}.c-jobs--col{background:#fff;vertical-align:middle;border-bottom:1px solid #f8f8f8;border-bottom:1px solid var(--color--gray-light);color:#868c93;padding-top:10px;padding-bottom:10px}.c-jobs--col-position{padding-left:15px;padding-right:5px}.c-jobs--col-city{white-space:nowrap;padding-right:5px;padding-left:5px;max-width:140px;overflow:hidden;text-overflow:ellipsis}.c-jobs--col-valid{color:#19c5a7;white-space:nowrap;padding-right:15px;padding-left:5px}.c-jobs--anchor{display:block;padding:10px 0;color:#004ed4;font-weight:500;line-height:18px;text-decoration:none}.c-jobs--anchor:visited{color:#6b7888}.c-jobs--more{margin-bottom:30px}.pods-pagination-paginate{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:90px}.page-numbers{width:46px;height:46px;background:#fff;margin-right:1px;text-decoration:none;text-align:center;line-height:46px;color:#1fb299;font-size:16px}.page-numbers.current{background:#1fb299;color:#fff}.c-jobs-section{margin:0 20px 20px 0;padding:28px 28px 23px;border-radius:3px;background-color:#fff}.c-jobs-section--heading{margin:0 0 15px;padding:0;color:#2a3644;font-size:18px;font-weight:500;line-height:21px}.c-jobs-section--content{overflow:hidden}.c-jobs-section--content-collapsed{max-height:100px}.c-jobs-section--list{margin:0;padding:0;list-style:none}.c-jobs-section--item{line-height:33px}.c-jobs-section--anchor{color:#939393;font-size:14px;text-decoration:none}.c-jobs-section--expand{display:block;color:#004ed4;font-size:14px;font-weight:500;margin-top:15px;text-decoration:none}.c-nav--main-item{position:relative;height:70px;margin-right:26px;padding:24px 0 0;z-index:500}.c-nav--main-anchor{display:block;padding:5px 0;text-transform:uppercase;border-bottom:2px solid transparent;text-decoration:none;color:#7e8683;color:var(--color--gray);font-weight:500}.c-nav--main-anchor:hover{border-bottom-color:#1d2a3a;border-bottom-color:var(--color--blue-dark);color:#1d2a3a;color:var(--color--blue-dark)}.c-nav--sub{position:absolute;top:100%}.c-nav--sub-item{margin-right:45px}.c-nav--sub-anchor{display:block;padding:17px 0;color:#fff;text-transform:uppercase;white-space:nowrap;text-decoration:none;font-weight:500;line-height:1}.c-nav--sub-anchor:hover{color:#1fb299;color:var(--color--green)}.c-nav--footer{font-weight:300}.c-nav--footer a{text-decoration:none}.c-nav--footer a:hover{text-decoration:underline}.c-nav--lang-wrap{position:relative;width:70px;height:32px}.c-nav--lang{position:absolute;top:0;left:0;width:100%;background:#fff;border-radius:3px;z-index:20}.c-nav--lang:hover .c-nav--lang-item{display:block}.c-nav--lang-item{padding:6px 0}.c-nav--lang-item:nth-child(n+2){display:none}.c-nav--lang-anchor{padding-left:34px;text-decoration:none;display:block;color:#2a3644;font-size:14px;line-height:20px;background-repeat:no-repeat;background-position:6px 0;background-size:20px 20px}.c-nav--lang-anchor:hover{text-decoration:underline}.c-nav--lang-anchor svg{float:right;margin:7px 6px 0 0}.c-nav--lang-anchor-lt{background-image:url(/wp-content/themes/biuro/i/lang/lt.png)}.c-nav--lang-anchor-en{background-image:url(/wp-content/themes/biuro/i/lang/en.png)}.c-nav--lang-anchor-de{background-image:url(/wp-content/themes/biuro/i/lang/de.png)}.c-nav--lang-anchor-ru{background-image:url(/wp-content/themes/biuro/i/lang/ru.png)}.c-nav--lang-anchor-lv{background-image:url(/wp-content/themes/biuro/i/lang/lv.png)}.c-nav--lang-anchor-ee{background-image:url(/wp-content/themes/biuro/i/lang/ee.png)}.c-sections{max-width:1000px;margin-right:auto;margin-left:auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:50px 20px 135px}.c-sections--heading{color:#2a3644;margin:0 0 40px;padding:0;font-size:25px;font-weight:500;line-height:29px;text-align:center}.c-sections--inner{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-sections--item{position:relative;-webkit-box-flex:0;-ms-flex:0 0 300px;flex:0 0 300px;margin-bottom:30px;height:211px;padding:27px 21px;border-radius:3px;background-color:#fff;-webkit-box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);overflow:hidden}.c-sections--item:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:48px;background:#fff;border-radius:0 0 3px 3px;z-index:60;-webkit-box-shadow:0 -37px 24px 0 hsla(0,0%,100%,.78);box-shadow:0 -37px 24px 0 hsla(0,0%,100%,.78)}.c-sections--header{height:56px;margin-bottom:20px;overflow:hidden;color:#004ed4;font-size:15px;font-weight:700;line-height:56px}.c-sections--ico{float:left;margin-right:20px;height:56px;width:56px;background-color:#e8f0ff;border-radius:50%}.c-sections--content{position:absolute;top:103px;left:0;width:100%;padding:0 21px;color:#868c93;border-radius:3px;background-color:#fff;font-size:12px;line-height:20px;height:137px;z-index:50}.c-sections--content ul{margin:30px 0 0;padding:0;list-style:none}.c-services{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:64px;padding-bottom:64px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-services--item{position:relative;-webkit-box-flex:0;-ms-flex:0 0 253px;flex:0 0 253px;height:245px;border-radius:3px;background-color:#fff;-webkit-box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5)}.c-services--ico{height:56px;width:56px;background-color:#e1fffa;border-radius:50%;margin:34px auto 22px}.c-services--heading{min-height:44px;padding:0 20px;color:#1fb299;font-size:15px;font-weight:700;line-height:18px;text-align:center}.c-services--sub-heading{min-height:27px;padding:0 10px;color:#2a3644;font-size:14px;font-weight:700;line-height:25px;text-align:center}.c-services--content{position:absolute;left:0;bottom:45px;width:100%}.c-services--content ul{position:absolute;margin:0;padding:0 0 40px;list-style:none;width:100%;border-radius:3px;background-color:#fff}.c-services--content li{color:#6c7683;font-size:14px;font-weight:500;line-height:25px;text-align:center}.c-share{margin-bottom:90px}.c-share--heading{margin:0;padding:20px 0 10px;font-weight:500;text-align:center}.c-share--options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-share--option{height:36px;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;border-radius:3px;margin:0 3px;color:#fff;text-align:center;text-decoration:none;line-height:36px}.c-share--option-facebook{background-color:#4367b0}.c-share--option-messenger{background-color:#1983fa}.c-share--option-email{background-color:#2a3644}.c-share--option-copy{background-color:#858585}.c-share--option-phone{background-color:#25d366}.c-values--section{-webkit-box-flex:0;-ms-flex:0 0 40%;flex:0 0 40%;max-width:280px}.c-values--heading{display:inline-block;min-width:139px;min-height:66px;margin:0 0 18px;padding:0 10px 0 0;border-bottom:4px solid #fff;font-size:45px;line-height:53px;font-weight:700}.c-values--content{display:block;min-height:80px;margin:0 0 20px;padding:0;font-size:15px;line-height:30px;font-weight:500}.c-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-heading h1{margin:0;padding:0;color:#2a3644;font-size:34px;font-weight:700;line-height:51px}.c-heading--front-page,.c-heading--sales-page{height:320px}.is-nav--main-item-active{position:relative}.is-nav--main-item-active .c-nav--sub{display:-webkit-box;display:-ms-flexbox;display:flex}.is-nav--main-anchor-active{border-bottom-color:#1d2a3a;border-bottom-color:var(--color--blue-dark);color:#1d2a3a;color:var(--color--blue-dark)}.is-nav--sub-anchor-active{color:#149a83;color:var(--color--green-darker)}.u-align--center{text-align:center}.tmp-contacts img{display:none}.tmp-contacts ul{padding-left:5px}.c-logos{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-logos div{-webkit-box-flex:0;-ms-flex:0 0 21%;flex:0 0 21%;border:1px solid grey;padding:1em;margin-bottom:1em;text-align:center}.biuro-ti-img{display:none}@media (min-width:80em){[href^=tel]{pointer-events:none;text-decoration:none;color:inherit}}@media (max-width:47.999em){.c-fixed-footer{position:fixed;left:0;bottom:0;width:100%;background:hsla(0,0%,100%,.85);padding:20px 20px 0;-webkit-box-shadow:0 -1px 1px 0 rgba(0,0,0,.45);box-shadow:0 -1px 1px 0 rgba(0,0,0,.45)}} /*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}a:hover{text-decoration:none}figure{margin:0}img{max-width:100%}p{margin:0 0 1.6rem}b,strong{font-weight:700;font-weight:var(--typo--weight-bold)}table{border-collapse:collapse;border-spacing:0}.l-inner--header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translateZ(0);transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:50%;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23007aff'/%3E%3C/svg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23007aff'/%3E%3C/svg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z' fill='%23fff'/%3E%3C/svg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z'/%3E%3C/svg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 27 44'%3E%3Cpath d='M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z'/%3E%3C/svg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:top .2s,-webkit-transform .2s;transition:top .2s,-webkit-transform .2s;transition:transform .2s,top .2s;transition:transform .2s,top .2s,-webkit-transform .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:left .2s,-webkit-transform .2s;transition:left .2s,-webkit-transform .2s;transition:transform .2s,left .2s;transition:transform .2s,left .2s,-webkit-transform .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:right .2s,-webkit-transform .2s;transition:right .2s,-webkit-transform .2s;transition:transform .2s,right .2s;transition:transform .2s,right .2s,-webkit-transform .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:hsla(0,0%,100%,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12) infinite;animation:swiper-preloader-spin 1s steps(12) infinite}.swiper-lazy-preloader:after{display:block;content:"";width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%236c6c6c' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpath id='a' stroke='%23fff' stroke-width='11' stroke-linecap='round' d='M60 7v20'/%3E%3C/defs%3E%3Cuse xlink:href='%23a' opacity='.27'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(30 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(60 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(90 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(120 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.27' transform='rotate(150 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.37' transform='rotate(180 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.46' transform='rotate(210 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.56' transform='rotate(240 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.66' transform='rotate(270 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.75' transform='rotate(300 60 60)'/%3E%3Cuse xlink:href='%23a' opacity='.85' transform='rotate(330 60 60)'/%3E%3C/svg%3E")}@-webkit-keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes swiper-preloader-spin{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px}.awesomplete [hidden]{display:none}.awesomplete .visually-hidden{position:absolute;clip:rect(0,0,0,0)}.awesomplete{display:inline-block;position:relative}.awesomplete>input{display:block}.awesomplete>ul{position:absolute;left:0;z-index:1;min-width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;padding:0;margin:0;background:#fff}.awesomplete>ul:empty{display:none}.c-breadcrumbs{padding-top:1em}.c-cookies-warning{position:fixed;left:0;right:0;bottom:0;padding:15px 20px;background:#f6f6f6;overflow:hidden;z-index:100}.c-cookies-warning .bu-action{margin-top:10px}.c-cookies-warning .bu-action--alt{float:right}.c-copyright{text-align:center;font-size:13px;line-height:15px;padding-bottom:60px}.c-feedbacks--img{position:absolute;top:-32px;left:50%;border-radius:50%;margin-left:-42px;background:#fff;overflow:hidden}.c-feedbacks--feedback{margin:0 auto 17px;max-width:400px;height:79px;color:#2a3644;font-family:Georgia;font-size:21px;line-height:40px;text-align:center;overflow:hidden}.c-feedbacks--name{color:#919191;font-family:Georgia;font-size:15px;line-height:17px;text-align:center}.swiper-container-horizontal>.swiper-pagination-bullets{bottom:0}.swiper-pagination-bullet{width:9px;height:9px;background:#d8d8d8;opacity:1}.swiper-pagination-bullet-active{background:#717171}.c-footer-sections{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.c-footer-section{-webkit-box-flex:10;-ms-flex:10 0 15%;flex:10 0 15%;line-height:25px;margin:0 0 30px}.c-footer-section:first-child{-webkit-box-flex:5;-ms-flex:5 0 15%;flex:5 0 15%}.c-footer-section:nth-child(4){-webkit-box-flex:1;-ms-flex:1 0 15%;flex:1 0 15%}.c-footer-section h4{margin:0;padding:0}.c-footer-section--heading{margin:0;font-weight:500}.c-form--checkbox--error+label:before{border-color:#eb4646}.c-form--validation{position:absolute;top:50%;left:100%;min-width:200px;background-color:#fff;margin-top:11px;padding:10px 15px;border:1px solid;-webkit-transform:translate(30px,-50%);transform:translate(30px,-50%);font-size:13px;line-height:20px}.c-form--input-wrap--error .c-form--input,.c-form--input-wrap--error .c-form--textarea{border-color:#eb4646}.c-form--input-wrap--success .c-form--input,.c-form--input-wrap--success .c-form--textarea{border-color:#17dab9}.c-form--validation-error{color:#eb4646;border-color:#eb4646;margin-bottom:10px}.c-form--validation-success{color:#17dab9;border-color:#17dab9;margin-bottom:10px}.c-job--title{margin:0 0 40px;padding:0;color:#2a3644;font-size:30px;font-weight:500;line-height:39px}.c-job--content{line-height:25px;color:#2a3644}.c-job--content h3{color:#069980;font-size:19px;font-weight:700;margin:0 0 3px;padding:0}.c-job--content h3:nth-child(n+1){margin-top:30px}.c-job--content ul{margin:0;padding:0;list-style:none}.c-job--content li:before{content:"->";display:inline-block;margin:0 5px 0 0;font-weight:700}.c-job--action{padding:30px 0}.c-job-contacts ul{margin:0;padding:0;list-style:none}.c-job-contacts li{line-height:28px}.c-job-contacts a{overflow:hidden;text-decoration:none}.c-job-contacts a:hover{color:#1fb299;color:var(--color--green)}.c-jobs--table{width:100%;margin:0 0 20px}.c-jobs--col{background:#fff;vertical-align:middle;border-bottom:1px solid #f8f8f8;border-bottom:1px solid var(--color--gray-light);color:#868c93;padding-top:10px;padding-bottom:10px}.c-jobs--col-position{padding-left:15px;padding-right:5px}.c-jobs--col-city{white-space:nowrap;padding-right:5px;padding-left:5px;max-width:140px;overflow:hidden;text-overflow:ellipsis}.c-jobs--col-valid{color:#19c5a7;white-space:nowrap;padding-right:15px;padding-left:5px}.c-jobs--anchor{display:block;padding:10px 0;color:#004ed4;font-weight:500;line-height:18px;text-decoration:none}.c-jobs--anchor:visited{color:#6b7888}.c-jobs--more{margin-bottom:30px}.pods-pagination-paginate{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:90px}.page-numbers{width:46px;height:46px;background:#fff;margin-right:1px;text-decoration:none;text-align:center;line-height:46px;color:#1fb299;font-size:16px}.page-numbers.current{background:#1fb299;color:#fff}.c-jobs-section{margin:0 20px 20px 0;padding:28px 28px 23px;border-radius:3px;background-color:#fff}.c-jobs-section--heading{margin:0 0 15px;padding:0;color:#2a3644;font-size:18px;font-weight:500;line-height:21px}.c-jobs-section--content{overflow:hidden}.c-jobs-section--content-collapsed{max-height:100px}.c-jobs-section--list{margin:0;padding:0;list-style:none}.c-jobs-section--item{line-height:33px}.c-jobs-section--anchor{color:#939393;font-size:14px;text-decoration:none}.c-jobs-section--expand{display:block;color:#004ed4;font-size:14px;font-weight:500;margin-top:15px;text-decoration:none}.c-nav--main-item{position:relative;height:70px;margin-right:26px;padding:23px 0 0;z-index:500}.c-nav--main-anchor{display:block;padding:5px 0 4px;text-transform:uppercase;border-bottom:2px solid transparent;text-decoration:none;color:#1d2a3a;color:var(--color--blue-dark);font-weight:700;letter-spacing:1px;opacity:.6}.c-nav--main-anchor:hover{opacity:1}.c-nav--sub{position:absolute;top:100%}.c-nav--sub-item{margin-right:46px}.c-nav--sub-anchor{display:block;padding:16px 0 17px;color:#fff;text-transform:uppercase;white-space:nowrap;text-decoration:none;font-weight:700;letter-spacing:1.08px;line-height:1}.c-nav--sub-anchor:hover{color:#1fb299;color:var(--color--green)}.c-nav--footer{font-weight:300}.c-nav--footer a{text-decoration:none}.c-nav--footer a:hover{text-decoration:underline}.c-nav--lang-wrap{position:relative;width:70px;height:32px}.c-nav--lang{position:absolute;top:0;left:0;width:100%;background:#fff;border-radius:3px;z-index:20;font-weight:500}.c-nav--lang:hover .c-nav--lang-item{display:block}.c-nav--lang-item{padding:6px 0}.c-nav--lang-item:nth-child(n+2){display:none}.c-nav--lang-anchor{padding-left:34px;text-decoration:none;display:block;color:#2a3644;font-size:14px;line-height:24px;background-repeat:no-repeat;background-position:6px 0;background-size:20px 20px}.c-nav--lang-anchor:hover{text-decoration:underline}.c-nav--lang-anchor svg{float:right;margin:9px 6px 0 0}.c-nav--lang-anchor-lt{background-image:url(/wp-content/themes/biuro/i/lang/lt.png)}.c-nav--lang-anchor-en{background-image:url(/wp-content/themes/biuro/i/lang/en.png)}.c-nav--lang-anchor-de{background-image:url(/wp-content/themes/biuro/i/lang/de.png)}.c-nav--lang-anchor-ru{background-image:url(/wp-content/themes/biuro/i/lang/ru.png)}.c-nav--lang-anchor-lv{background-image:url(/wp-content/themes/biuro/i/lang/lv.png)}.c-nav--lang-anchor-ee{background-image:url(/wp-content/themes/biuro/i/lang/ee.png)}.c-sections{max-width:1000px;margin-right:auto;margin-left:auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:50px 20px 135px}.c-sections--heading{color:#2a3644;margin:0 0 40px;padding:0;font-size:25px;font-weight:500;line-height:29px;text-align:center}.c-sections--inner{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-sections--item{position:relative;-webkit-box-flex:0;-ms-flex:0 0 300px;flex:0 0 300px;margin-bottom:30px;height:211px;padding:27px 21px;border-radius:3px;background-color:#fff;-webkit-box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);overflow:hidden}.c-sections--item:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:48px;background:#fff;border-radius:0 0 3px 3px;z-index:60;-webkit-box-shadow:0 -37px 24px 0 hsla(0,0%,100%,.78);box-shadow:0 -37px 24px 0 hsla(0,0%,100%,.78)}.c-sections--header{height:56px;margin-bottom:20px;overflow:hidden;color:#004ed4;font-size:15px;font-weight:700;line-height:56px}.c-sections--ico{float:left;margin-right:20px;height:56px;width:56px;background-color:#e8f0ff;border-radius:50%}.c-sections--content{position:absolute;top:103px;left:0;width:100%;padding:0 21px;color:#868c93;border-radius:3px;background-color:#fff;font-size:12px;line-height:20px;height:137px;z-index:50}.c-sections--content ul{margin:30px 0 0;padding:0;list-style:none}.c-services{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-top:64px;padding-bottom:64px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-services--item{position:relative;-webkit-box-flex:0;-ms-flex:0 0 253px;flex:0 0 253px;height:245px;border-radius:3px;background-color:#fff;-webkit-box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5);box-shadow:2px 2px 31px 0 hsla(0,0%,93.3%,.5)}.c-services--ico{height:56px;width:56px;background-color:#e1fffa;border-radius:50%;margin:34px auto 22px}.c-services--heading{min-height:44px;padding:0 20px;color:#1fb299;font-size:15px;font-weight:700;line-height:18px;text-align:center}.c-services--sub-heading{min-height:27px;padding:0 10px;color:#2a3644;font-size:14px;font-weight:700;line-height:25px;text-align:center}.c-services--content{position:absolute;left:0;bottom:45px;width:100%}.c-services--content ul{position:absolute;margin:0;padding:0 0 40px;list-style:none;width:100%;border-radius:3px;background-color:#fff}.c-services--content li{color:#6c7683;font-size:14px;font-weight:500;line-height:25px;text-align:center}.c-share{margin-bottom:90px}.c-share--heading{margin:0;padding:20px 0 10px;font-weight:500;text-align:center}.c-share--options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-share--option{height:36px;-webkit-box-flex:0;-ms-flex:0 0 50px;flex:0 0 50px;border-radius:3px;margin:0 3px;color:#fff;text-align:center;text-decoration:none;line-height:36px}.c-share--option-facebook{background-color:#4367b0}.c-share--option-messenger{background-color:#1983fa}.c-share--option-email{background-color:#2a3644}.c-share--option-copy{background-color:#858585}.c-share--option-phone{background-color:#25d366}.c-social{margin-bottom:40px;text-align:center}.c-social--anchor{text-decoration:none;margin:0 5px;padding:0 10px}.c-values--section{-webkit-box-flex:0;-ms-flex:0 0 40%;flex:0 0 40%;max-width:280px}.c-values--heading{display:inline-block;min-width:139px;min-height:66px;margin:0 0 18px;padding:0 10px 0 0;border-bottom:4px solid #fff;font-size:45px;line-height:53px;font-weight:700}.c-values--content{display:block;min-height:80px;margin:0 0 20px;padding:0;font-size:15px;line-height:30px;font-weight:500}.c-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.c-heading h1{margin:0;padding:0;color:#2a3644;font-size:34px;font-weight:700;line-height:51px}.c-heading--front-page,.c-heading--sales-page{height:320px}.is-nav--main-item-active{position:relative}.is-nav--main-item-active .c-nav--sub{display:-webkit-box;display:-ms-flexbox;display:flex}.is-nav--main-anchor-active{border-bottom-color:#1d2a3a;border-bottom-color:var(--color--blue-dark);opacity:1}.is-nav--sub-anchor-active{color:#149a83;color:var(--color--green-darker)}.u-align--center{text-align:center}.tmp-contacts img{display:none}.tmp-contacts ul{padding-left:5px}.c-logos{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.c-logos div{-webkit-box-flex:0;-ms-flex:0 0 21%;flex:0 0 21%;border:1px solid grey;padding:1em;margin-bottom:1em;text-align:center}.biuro-ti-img{display:none}@media (min-width:80em){[href^=tel]{pointer-events:none;text-decoration:none;color:inherit}}@media (max-width:47.999em){.c-fixed-footer{position:fixed;left:0;bottom:0;width:100%;background:hsla(0,0%,100%,.85);padding:20px 20px 0;-webkit-box-shadow:0 -1px 1px 0 rgba(0,0,0,.45);box-shadow:0 -1px 1px 0 rgba(0,0,0,.45)}}
/*# sourceMappingURL=main.min.css.map */ /*# sourceMappingURL=main.min.css.map */
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -29,15 +29,23 @@ ...@@ -29,15 +29,23 @@
<?php <?php
$social = get_option('wpseo_social'); $social = get_option('wpseo_social');
if ($social['facebook_site']) : if ($social['facebook_site'] || true) :
?> ?>
<a href="https://www.facebook.com/biuro.lietuva" class="icon icon-blue-dark icon-facebook" title="Facebook" target="_blank" rel="noopener" onclick="dataLayer.push({'event': 'socialClick', 'socialLabel': 'FB click'});"></a> <a href="https://www.facebook.com/biuro.lietuva" class="c-social--anchor" title="Facebook" target="_blank" rel="noopener" onclick="dataLayer.push({'event': 'socialClick', 'socialLabel': 'FB click'});">
<svg xmlns="http://www.w3.org/2000/svg" width="12px" height="23px" viewBox="0 0 12 23">
<path fill="#FFFFFF" d="M3.309,22.75v-9.84H0V9h3.309V5.906c0-1.633,0.458-2.9,1.375-3.803S6.818,0.75,8.336,0.75 c1.232,0,2.234,0.057,3.008,0.172v3.48H9.281c-0.773,0-1.303,0.172-1.59,0.516C7.462,5.204,7.348,5.663,7.348,6.293V9H11 l-0.516,3.91H7.348v9.84H3.309z"/>
</svg>
</a>
<?php <?php
endif; endif;
if ($social['linkedin_url']) : if ($social['linkedin_url'] || true) :
?> ?>
<a href="http://www.linkedin.com/company/2824948" class="icon icon-blue-light icon-linkedin" title="Linkedin" target="_blank" rel="noopener" onclick="dataLayer.push({'event': 'socialClick', 'socialLabel': 'LI click'});"></a> <a href="http://www.linkedin.com/company/2824948" class="c-social--anchor" title="Linkedin" target="_blank" rel="noopener" onclick="dataLayer.push({'event': 'socialClick', 'socialLabel': 'LI click'});">
<svg xmlns="http://www.w3.org/2000/svg" width="23px" height="23px" viewBox="0 0 430.117 430.117">
<path fill="#FFFFFF" d="M430.117,261.543V420.56h-92.188V272.193c0-37.271-13.334-62.707-46.703-62.707 c-25.473,0-40.632,17.142-47.301,33.724c-2.432,5.928-3.058,14.179-3.058,22.477V420.56h-92.219c0,0,1.242-251.285,0-277.32h92.21 v39.309c-0.187,0.294-0.43,0.611-0.606,0.896h0.606v-0.896c12.251-18.869,34.13-45.824,83.102-45.824 C384.633,136.724,430.117,176.361,430.117,261.543z M52.183,9.558C20.635,9.558,0,30.251,0,57.463 c0,26.619,20.038,47.94,50.959,47.94h0.616c32.159,0,52.159-21.317,52.159-47.94C103.128,30.251,83.734,9.558,52.183,9.558z M5.477,420.56h92.184v-277.32H5.477V420.56z"/>
</svg>
</a>
<?php <?php
endif; endif;
?> ?>
......
...@@ -15,123 +15,125 @@ ...@@ -15,123 +15,125 @@
get_header(); get_header();
?> ?>
<div class="l-section l-section--front-page"> <div class="l-section l-section--front-page">
<div class="l-section--inner"> <div class="l-section--inner">
<?php <?php
while ( have_posts() ) : while ( have_posts() ) :
?> ?>
<div class="c-heading c-heading--front-page"> <div class="c-heading c-heading--front-page">
<?php <?php
the_post(); the_post();
the_content(); the_content();
?> ?>
</div> </div>
<?php <?php
endwhile; endwhile;
get_search_form(); get_search_form();
?> ?>
</div>
</div> </div>
</div>
<div id="content"> <div id="content">
<main id="main" class="l-main"> <main id="main" class="l-main">
<div class="c-jobs">
<div class="c-jobs--inner">
<h2 class="c-jobs--headline"><?php _e('Recent job ads', 'biuro'); ?></h2>
<?php
// Use for search
// https://pods.io/docs/code/pods/find/
$where = 'valid.meta_value > "' . date('Y-m-d', strtotime('-1 days')) . '"'; <div class="c-jobs">
<div class="c-jobs--inner">
$params = array( <h2 class="c-jobs--headline"><?php _e('Recent job ads', 'biuro'); ?></h2>
'orderby' => 'date DESC',
'where' => $where,
'limit' => 5
);
$jobs = pods( 'job', $params ); <?php
// Use for search
if ( 0 < $jobs->total() ): // https://pods.io/docs/code/pods/find/
get_template_part( 'template-parts/jobs/jobs', 'list' );
else:
get_template_part( 'template-parts/jobs/jobs', 'none' );
endif;
$where = 'valid.meta_value > "' . date('Y-m-d', strtotime('-1 days')) . '"';
$positionsPage = new WP_Query( array( $params = array(
'numberposts' => 1, 'orderby' => 'date DESC',
'post_type' => 'page', 'where' => $where,
'meta_key' => 'page', 'limit' => 5
'meta_value' => 'positions' );
) );
if ( $positionsPage->have_posts() ) : $jobs = pods( 'job', $params );
while( $positionsPage->have_posts() ) :
$positionsPage->the_post();
?>
<div class="c-jobs--more">
<a href="<?php echo get_the_permalink(); ?>" class="o-btn c-btn--alt"><?php _e('More job ads', 'biuro'); ?></a>
</div>
<?php
endwhile;
endif;
?>
if ( 0 < $jobs->total() ):
get_template_part( 'template-parts/jobs/jobs', 'list' );
else:
get_template_part( 'template-parts/jobs/jobs', 'none' );
endif;
</div><!-- .c-jobs--inner -->
</div><!-- .c-jobs -->
<div class="c-trust"> $positionsPage = new WP_Query( array(
<div class="c-trust--inner"> 'numberposts' => 1,
<h2 class="c-trust--heading"><?php _e('Trust in us', 'biuro'); ?></h2> 'post_type' => 'page',
<div class="c-trust--logos"> 'meta_key' => 'page',
<div class="c-trust--logo"></div> 'meta_value' => 'positions'
<div class="c-trust--logo"></div> ) );
<div class="c-trust--logo"></div>
<div class="c-trust--logo"></div> if ( $positionsPage->have_posts() ) :
while( $positionsPage->have_posts() ) :
$positionsPage->the_post();
?>
<div class="c-jobs--more">
<a href="<?php echo get_the_permalink(); ?>" class="o-btn c-btn--alt"><?php _e('More job ads', 'biuro'); ?></a>
</div>
<?php
endwhile;
endif;
?>
</div><!-- .c-jobs--inner -->
</div><!-- .c-jobs -->
<div class="c-trust">
<div class="c-trust--inner">
<h2 class="c-trust--heading"><?php _e('Trust in us', 'biuro'); ?></h2>
<div class="c-trust--logos">
<img src="/wp-content/themes/biuro/i/trust/coca-cola.png" width="85" height="28" alt="">
<img src="/wp-content/themes/biuro/i/trust/maxima.png" width="96" height="22" alt="">
<img src="/wp-content/themes/biuro/i/trust/dpd.png" width="64" height="29" alt="">
<img src="/wp-content/themes/biuro/i/trust/avon.png" width="71" height="15" alt="">
</div>
</div>
</div> </div>
</div>
</div>
<?php
if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
dynamic_sidebar( 'front_page_feedbacks' );
endif;
?>
<?php
if ( is_active_sidebar( 'front_page_values' ) ) :
dynamic_sidebar( 'front_page_values' );
endif;
?>
<div class="c-contact"> <?php
<div class="c-contact--inner"> if ( is_active_sidebar( 'front_page_feedbacks' ) ) :
dynamic_sidebar( 'front_page_feedbacks' );
endif;
?>
<div class="c-contact--content">
<?php <?php
if ( is_active_sidebar( 'front_page_employees' ) ) : if ( is_active_sidebar( 'front_page_values' ) ) :
dynamic_sidebar( 'front_page_employees' ); dynamic_sidebar( 'front_page_values' );
endif; endif;
?> ?>
<div class="c-contact--img"><img src="https://picsum.photos/330/100" alt="" style="display: block;"></div>
</div>
<div class="c-contact--form"> <div class="c-contact">
<?php <div class="c-contact--inner">
echo do_shortcode('[biuro-contacts--employees]');
?> <div class="c-contact--content">
</div> <?php
if ( is_active_sidebar( 'front_page_employees' ) ) :
dynamic_sidebar( 'front_page_employees' );
endif;
?>
<div class="c-contact--img">
<img src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</div>
</div>
<div class="c-contact--form">
<?php
echo do_shortcode('[biuro-contacts--employees]');
?>
</div>
</div><!-- .c-contact--inner --> </div><!-- .c-contact--inner -->
</div><!-- .c-contact --> </div><!-- .c-contact -->
</main><!-- .l-main --> </main><!-- .l-main -->
</div><!-- #content --> </div><!-- #content -->
<?php get_footer(); <?php get_footer();
...@@ -56,7 +56,34 @@ global $post; ...@@ -56,7 +56,34 @@ global $post;
<symbol id="biuro-logo" viewBox="0 0 108 63" aria-labelledby="svg-title svg-desc"> <symbol id="biuro-logo" viewBox="0 0 108 63" aria-labelledby="svg-title svg-desc">
<title id="svg-title">Biuro</title> <title id="svg-title">Biuro</title>
<desc id="svg-desc"><?php echo get_the_title( get_option('page_on_front') ); ?></desc> <desc id="svg-desc"><?php echo get_the_title( get_option('page_on_front') ); ?></desc>
<path d="M12.91 39.688L11.1 39.686v11.7h1.809c0.375 0 0.693-0.131 0.959-0.396 c0.264-0.263 0.398-0.584 0.398-0.962v-8.984c0-0.375-0.134-0.695-0.398-0.963C13.603 39.8 13.3 39.7 12.9 39.688z M63.684 23.92h-1.809v11.358h1.809c0.376 0 0.696-0.132 0.96-0.396c0.264-0.261 0.396-0.583 0.396-0.96v-8.645 c0-0.378-0.133-0.698-0.396-0.961C64.38 24.1 64.1 23.9 63.7 23.92z M12.91 23.92H11.1v9.608h1.809 c0.375 0 0.693-0.133 0.959-0.398c0.264-0.263 0.398-0.583 0.398-0.958v-6.896c0-0.378-0.134-0.698-0.398-0.961 C13.603 24.1 13.3 23.9 12.9 23.92z M107.216 7.496c-0.907-1.476-3.211-2.783-5.211-1.261l-12.774 9.1 c-0.426 0.014-0.844-0.206-1.058-0.607c-0.122-0.231-0.15-0.481-0.113-0.719l4.428-7.936c0.695-1.001 0.869-1.489 0.869-2.434 c0-1.856-1.621-3.525-3.477-3.525c-0.26 0-0.673-0.127-0.916-0.07H4.752C2.127 0 0 2.1 0 4.766V57.5 c0 2.6 2.1 4.8 4.8 4.752h98.176c2.627 0 4.753-2.128 4.753-4.752V8.919C107.641 8.4 107.5 8 107.2 7.496z M38.126 9.543c1.664 0 3 1.4 3 3.019c0 1.665-1.351 3.015-3.015 3.015c-1.666 0-3.017-1.35-3.017-3.015 C35.109 10.9 36.5 9.5 38.1 9.543z M27.623 9.543c1.666 0 3 1.4 3 3.019c0 1.665-1.352 3.015-3.018 3 c-1.665 0-3.017-1.35-3.017-3.015C24.606 10.9 26 9.5 27.6 9.543z M20.876 30.647c0 1.732-0.528 3.182-1.581 4.3 c-0.567 0.602-1.242 1.093-2.035 1.471c0.828 0.3 1.5 0.7 2 1.242c0.528 0.5 0.9 1.1 1.2 1.9 c0.263 0.7 0.4 1.5 0.4 2.371v8.365c0 0.98-0.188 1.901-0.564 2.768c-0.377 0.867-0.885 1.622-1.526 2.3 c-0.642 0.642-1.392 1.151-2.259 1.528c-0.867 0.374-1.792 0.564-2.769 0.564H5.28c-0.527 0-0.79-0.265-0.79-0.792V18.664 c0-0.525 0.262-0.79 0.79-0.79h8.478c0.976 0 1.9 0.2 2.8 0.565c0.867 0.4 1.6 0.9 2.3 1.5 c0.642 0.6 1.1 1.4 1.5 2.261c0.377 0.9 0.6 1.8 0.6 2.77V30.647z M31.067 56.193c0 0.529-0.264 0.792-0.789 0.8 h-5.031c-0.529 0-0.791-0.263-0.791-0.792V18.654c0-0.529 0.262-0.791 0.791-0.791h5.031c0.525 0 0.8 0.3 0.8 0.791V56.193z M51.261 50.706c0 0.981-0.189 1.904-0.566 2.77c-0.377 0.866-0.884 1.62-1.524 2.261c-0.645 0.64-1.396 1.148-2.261 1.5 c-0.868 0.374-1.792 0.563-2.771 0.563h-2.145c-0.982 0-1.907-0.189-2.771-0.563c-0.867-0.378-1.619-0.887-2.258-1.526 c-0.643-0.641-1.151-1.395-1.526-2.261c-0.377-0.865-0.566-1.788-0.566-2.77v-21.23c-0.005-0.054-0.022-0.1-0.022-0.157V18.654 c0-0.529 0.264-0.791 0.791-0.791h5.03c0.527 0 0.8 0.3 0.8 0.791v10.082c0.008 0 0 0.1 0 0.146v21.542 c0 0.4 0.1 0.7 0.4 0.962c0.262 0.3 0.6 0.4 1 0.395h0.453c0.375 0 0.697-0.13 0.961-0.395 c0.261-0.265 0.393-0.585 0.393-0.962V18.836c0-0.526 0.264-0.791 0.793-0.791h5.029c0.527 0 0.8 0.3 0.8 0.791V50.706z M72.216 57.433h-5.142c-0.225 0-0.442-0.077-0.65-0.227c-0.208-0.15-0.35-0.337-0.425-0.565l-4.125-13.845v14.637l-0.055-0.564 c-0.078 0.374-0.321 0.564-0.735 0.564h-5.031c-0.527 0-0.791-0.262-0.791-0.792V18.664c0-0.525 0.264-0.79 0.791-0.79h8.478 c0.979 0 1.9 0.2 2.8 0.565c0.867 0.4 1.6 0.9 2.3 1.524c0.641 0.6 1.1 1.4 1.5 2.3 c0.377 0.9 0.6 1.8 0.6 2.77v9.212c0 1.393-0.359 2.647-1.074 3.757c-0.718 1.111-1.657 1.97-2.826 2.572l5.029 16.1 C72.896 57.2 72.7 57.4 72.2 57.433z M91.941 50.706c0 0.981-0.188 1.904-0.565 2.77c-0.379 0.866-0.883 1.62-1.528 2.3 c-0.64 0.64-1.393 1.148-2.259 1.526c-0.864 0.374-1.79 0.563-2.769 0.563h-2.147c-0.979 0-1.904-0.189-2.769-0.563 c-0.869-0.378-1.621-0.887-2.261-1.526c-0.641-0.641-1.15-1.395-1.523-2.261c-0.379-0.865-0.566-1.788-0.566-2.77V24.598 c0-0.979 0.188-1.901 0.566-2.767c0.373-0.867 0.883-1.62 1.523-2.263c0.64-0.639 1.392-1.147 2.261-1.524 c0.864-0.377 1.789-0.565 2.769-0.565h2.147c0.979 0 1.9 0.2 2.8 0.565c0.866 0.4 1.6 0.9 2.3 1.5 c0.645 0.6 1.1 1.4 1.5 2.263c0.377 0.9 0.6 1.8 0.6 2.767V50.706z M83.972 23.525h-0.453 c-0.377 0-0.696 0.134-0.959 0.396c-0.265 0.264-0.396 0.585-0.396 0.961v25.543c0 0.4 0.1 0.7 0.4 1 c0.263 0.3 0.6 0.4 1 0.395h0.453c0.376 0 0.695-0.13 0.96-0.395c0.266-0.265 0.396-0.585 0.396-0.962V24.881 c0-0.376-0.131-0.697-0.396-0.961C84.668 23.7 84.3 23.5 84 23.525z" style="fill: #1fb299"/> <path d="M12.91 39.688L11.1 39.686v11.7h1.809c0.375 0 0.693-0.131 0.959-0.396 c0.264-0.263 0.398-0.584 0.398-0.962v-8.984c0-0.375-0.134-0.695-0.398-0.963C13.603 39.8 13.3 39.7 12.9 39.688z M63.684 23.92h-1.809v11.358h1.809c0.376 0 0.696-0.132 0.96-0.396c0.264-0.261 0.396-0.583 0.396-0.96v-8.645 c0-0.378-0.133-0.698-0.396-0.961C64.38 24.1 64.1 23.9 63.7 23.92z M12.91 23.92H11.1v9.608h1.809 c0.375 0 0.693-0.133 0.959-0.398c0.264-0.263 0.398-0.583 0.398-0.958v-6.896c0-0.378-0.134-0.698-0.398-0.961 C13.603 24.1 13.3 23.9 12.9 23.92z M107.216 7.496c-0.907-1.476-3.211-2.783-5.211-1.261l-12.774 9.1 c-0.426 0.014-0.844-0.206-1.058-0.607c-0.122-0.231-0.15-0.481-0.113-0.719l4.428-7.936c0.695-1.001 0.869-1.489 0.869-2.434 c0-1.856-1.621-3.525-3.477-3.525c-0.26 0-0.673-0.127-0.916-0.07H4.752C2.127 0 0 2.1 0 4.766V57.5 c0 2.6 2.1 4.8 4.8 4.752h98.176c2.627 0 4.753-2.128 4.753-4.752V8.919C107.641 8.4 107.5 8 107.2 7.496z M38.126 9.543c1.664 0 3 1.4 3 3.019c0 1.665-1.351 3.015-3.015 3.015c-1.666 0-3.017-1.35-3.017-3.015 C35.109 10.9 36.5 9.5 38.1 9.543z M27.623 9.543c1.666 0 3 1.4 3 3.019c0 1.665-1.352 3.015-3.018 3 c-1.665 0-3.017-1.35-3.017-3.015C24.606 10.9 26 9.5 27.6 9.543z M20.876 30.647c0 1.732-0.528 3.182-1.581 4.3 c-0.567 0.602-1.242 1.093-2.035 1.471c0.828 0.3 1.5 0.7 2 1.242c0.528 0.5 0.9 1.1 1.2 1.9 c0.263 0.7 0.4 1.5 0.4 2.371v8.365c0 0.98-0.188 1.901-0.564 2.768c-0.377 0.867-0.885 1.622-1.526 2.3 c-0.642 0.642-1.392 1.151-2.259 1.528c-0.867 0.374-1.792 0.564-2.769 0.564H5.28c-0.527 0-0.79-0.265-0.79-0.792V18.664 c0-0.525 0.262-0.79 0.79-0.79h8.478c0.976 0 1.9 0.2 2.8 0.565c0.867 0.4 1.6 0.9 2.3 1.5 c0.642 0.6 1.1 1.4 1.5 2.261c0.377 0.9 0.6 1.8 0.6 2.77V30.647z M31.067 56.193c0 0.529-0.264 0.792-0.789 0.8 h-5.031c-0.529 0-0.791-0.263-0.791-0.792V18.654c0-0.529 0.262-0.791 0.791-0.791h5.031c0.525 0 0.8 0.3 0.8 0.791V56.193z M51.261 50.706c0 0.981-0.189 1.904-0.566 2.77c-0.377 0.866-0.884 1.62-1.524 2.261c-0.645 0.64-1.396 1.148-2.261 1.5 c-0.868 0.374-1.792 0.563-2.771 0.563h-2.145c-0.982 0-1.907-0.189-2.771-0.563c-0.867-0.378-1.619-0.887-2.258-1.526 c-0.643-0.641-1.151-1.395-1.526-2.261c-0.377-0.865-0.566-1.788-0.566-2.77v-21.23c-0.005-0.054-0.022-0.1-0.022-0.157V18.654 c0-0.529 0.264-0.791 0.791-0.791h5.03c0.527 0 0.8 0.3 0.8 0.791v10.082c0.008 0 0 0.1 0 0.146v21.542 c0 0.4 0.1 0.7 0.4 0.962c0.262 0.3 0.6 0.4 1 0.395h0.453c0.375 0 0.697-0.13 0.961-0.395 c0.261-0.265 0.393-0.585 0.393-0.962V18.836c0-0.526 0.264-0.791 0.793-0.791h5.029c0.527 0 0.8 0.3 0.8 0.791V50.706z M72.216 57.433h-5.142c-0.225 0-0.442-0.077-0.65-0.227c-0.208-0.15-0.35-0.337-0.425-0.565l-4.125-13.845v14.637l-0.055-0.564 c-0.078 0.374-0.321 0.564-0.735 0.564h-5.031c-0.527 0-0.791-0.262-0.791-0.792V18.664c0-0.525 0.264-0.79 0.791-0.79h8.478 c0.979 0 1.9 0.2 2.8 0.565c0.867 0.4 1.6 0.9 2.3 1.524c0.641 0.6 1.1 1.4 1.5 2.3 c0.377 0.9 0.6 1.8 0.6 2.77v9.212c0 1.393-0.359 2.647-1.074 3.757c-0.718 1.111-1.657 1.97-2.826 2.572l5.029 16.1 C72.896 57.2 72.7 57.4 72.2 57.433z M91.941 50.706c0 0.981-0.188 1.904-0.565 2.77c-0.379 0.866-0.883 1.62-1.528 2.3 c-0.64 0.64-1.393 1.148-2.259 1.526c-0.864 0.374-1.79 0.563-2.769 0.563h-2.147c-0.979 0-1.904-0.189-2.769-0.563 c-0.869-0.378-1.621-0.887-2.261-1.526c-0.641-0.641-1.15-1.395-1.523-2.261c-0.379-0.865-0.566-1.788-0.566-2.77V24.598 c0-0.979 0.188-1.901 0.566-2.767c0.373-0.867 0.883-1.62 1.523-2.263c0.64-0.639 1.392-1.147 2.261-1.524 c0.864-0.377 1.789-0.565 2.769-0.565h2.147c0.979 0 1.9 0.2 2.8 0.565c0.866 0.4 1.6 0.9 2.3 1.5 c0.645 0.6 1.1 1.4 1.5 2.263c0.377 0.9 0.6 1.8 0.6 2.767V50.706z M83.972 23.525h-0.453 c-0.377 0-0.696 0.134-0.959 0.396c-0.265 0.264-0.396 0.585-0.396 0.961v25.543c0 0.4 0.1 0.7 0.4 1 c0.263 0.3 0.6 0.4 1 0.395h0.453c0.376 0 0.695-0.13 0.96-0.395c0.266-0.265 0.396-0.585 0.396-0.962V24.881 c0-0.376-0.131-0.697-0.396-0.961C84.668 23.7 84.3 23.5 84 23.525z" style="fill: #149A83"/>
</symbol>
<symbol id="ico--service-1" viewBox="0 0 56 56">
<path fill="#1FB299" d="M15.687,36.375h14.158c0.132,0.466,0.418,1.194,0.638,1.625H15.687 c-1.346,0-2.437-1.091-2.437-2.437v-13c0-1.346,1.091-2.437,2.437-2.437h5.687v-3.656c0-0.673,0.545-1.219,1.219-1.219h7.312 c0.673,0,1.219,0.545,1.219,1.219v3.656h5.687c1.346,0,2.437,1.091,2.437,2.437v2.479C38.982,25.017,38.712,25,38.437,25 s-0.544,0.017-0.812,0.041v-2.479c0-0.448-0.365-0.812-0.813-0.812H15.687c-0.448,0-0.812,0.365-0.812,0.812v4.062h18.434 c-0.658,0.462-1.255,1.006-1.766,1.625H29.5v2.031c0,0.673-0.546,1.219-1.219,1.219h-4.062C23.546,31.5,23,30.954,23,30.281V28.25 h-8.125v7.312C14.875,36.01,15.24,36.375,15.687,36.375z M24.625,28.25v1.625h3.25V28.25H24.625z M23,16.875v3.25h6.5v-3.25H23z M41.194,33.125c0.271,0,0.493,0.222,0.493,0.493v0.638c0,0.271-0.222,0.493-0.493,0.493h-3.076c-0.271,0-0.493-0.222-0.493-0.493 v-3.888c0-0.271,0.222-0.493,0.493-0.493h0.638c0.271,0,0.493,0.222,0.493,0.493v2.757H41.194z M38.437,26.625 c4.042,0,7.312,3.271,7.312,7.312s-3.271,7.312-7.312,7.312s-7.312-3.271-7.312-7.312S34.396,26.625,38.437,26.625z M38.437,39.625 c3.136,0,5.687-2.551,5.687-5.687s-2.551-5.687-5.687-5.687s-5.687,2.551-5.687,5.687S35.301,39.625,38.437,39.625z"/>
</symbol>
<symbol id="ico--service-2" viewBox="0 0 56 56">
<path fill="#1FB299" d="M42.525,24.638c0.967,0.563,1.625,1.599,1.625,2.799c0,1.2-0.658,2.236-1.625,2.799V38 c0,0.468-0.36,1.625-1.625,1.625c-0.315,0-0.769-0.16-1.015-0.356l-4.318-3.455c-2.168-1.734-4.891-2.689-7.667-2.689h-1.426 c-0.142,0.518-0.224,1.061-0.224,1.625c0,1.477,0.495,2.84,1.328,3.933c0.802,1.052,0.008,2.567-1.315,2.567h-5.397 c-0.603,0-1.179-0.323-1.442-0.866c-0.828-1.706-1.298-3.614-1.298-5.634l0.024-1.625c-1.795,0-3.25-1.455-3.25-3.25V25 c0-1.795,1.455-3.25,3.25-3.25h9.75c2.776,0,5.499-0.955,7.667-2.689l4.318-3.455c0.294-0.236,0.653-0.356,1.015-0.356h0 c1.27,0,1.625,1.181,1.625,1.625V24.638z M26.263,39.625c-1.063-1.382-1.637-3.083-1.637-4.875c0-0.537,0.076-1.082,0.194-1.625 h-5.044l0,0.024l-0.024,1.625c0,1.691,0.382,3.297,1.135,4.849L26.263,39.625z M18.15,31.5h9.75v-8.125h-9.75 c-0.896,0-1.625,0.729-1.625,1.625v4.875C16.525,30.771,17.255,31.5,18.15,31.5z M40.903,37.946L40.9,16.876 c0,0.006-0.002,0.009-0.004,0.009c-0.001,0-0.003-0.001-0.004-0.003l-4.31,3.448c-2.031,1.623-4.491,2.632-7.058,2.937v8.341 c2.566,0.305,5.027,1.314,7.057,2.937l4.308,3.447C40.896,37.975,40.901,37.958,40.903,37.946z"/>
</symbol>
<symbol id="ico--service-3" viewBox="0 0 56 56">
<path fill="#1FB299" d="M40.221,29.507c0.279,1.134,0.144,2.533-0.489,3.524c0.219,1.207-0.157,2.507-0.926,3.408 c0.097,2.737-1.577,4.56-4.587,4.56c-0.171,0.001-1.803,0-2.083,0c-3.898,0.001-7.361-2.068-9.011-2.068v0.444 c0,0.897-0.728,1.625-1.625,1.625h-4.875C15.728,41,15,40.272,15,39.375v-13c0-0.897,0.728-1.625,1.625-1.625H21.5 c0.555,0,1.045,0.279,1.338,0.703c0.155-0.029,0.297-0.066,0.408-0.113c1.098-0.59,2.925-3.498,4.122-4.695 c0.503-0.503,0.666-1.343,0.839-2.232C28.497,16.926,29.062,15,30.585,15c3.027,0,4.21,1.761,4.21,4.727 c0,1.569-0.608,2.663-1.051,3.545h3.562c2.064,0,3.693,1.772,3.693,3.685C41,28,40.725,28.854,40.221,29.507z M16.625,39.375H21.5 v-13h-4.875V39.375z M38.157,29.033c0.812-0.221,1.223-1.034,1.218-2.068c-0.005-1.034-0.914-2.068-2.068-2.068h-5.687 c0-2.068,1.551-3.028,1.551-5.17c0-1.299,0-3.102-2.585-3.102c-1.034,1.034-0.517,3.619-2.068,5.17 c-1.72,1.72-3.477,5.17-5.392,5.17v10.341c2.169,0,5.308,2.068,9.011,2.068c0.177,0,1.9,0.001,2.068,0 c1.942-0.019,3.326-0.936,2.905-3.604c0.831-0.446,1.449-1.992,0.763-3.148C38.969,32.062,38.969,29.625,38.157,29.033z M20.281,36.937c0,0.673-0.546,1.219-1.219,1.219s-1.219-0.546-1.219-1.219c0-0.673,0.546-1.219,1.219-1.219 S20.281,36.264,20.281,36.937z"/>
</symbol>
<symbol id="ico--section-1" viewBox="0 0 56 56">
<path fill="#004ED4" d="M33,32.269c0.905,0.684,1.5,1.758,1.5,2.981c0,2.072-1.678,3.75-3.75,3.75 c-1.814,0-3.328-1.289-3.675-3h-6.15c-0.347,1.711-1.861,3-3.675,3c-2.072,0-3.75-1.678-3.75-3.75v-9c0-1.242,1.008-2.25,2.25-2.25 H18v-5.25c0-1.242,1.008-2.25,2.25-2.25h6.764c0.905,0,1.716,0.534,2.072,1.364l3.67,8.573C32.916,26.813,33,27.211,33,27.619 V32.269z M19.5,18.75v5.653l4.148,3.558c0.408,0.347,0.928,0.539,1.463,0.539H31.5v-0.886c0-0.206-0.042-0.403-0.122-0.591 l-3.675-8.569C27.586,18.178,27.314,18,27.014,18H20.25C19.837,18,19.5,18.338,19.5,18.75z M17.25,37.5 c1.242,0,2.25-1.008,2.25-2.25c0-1.242-1.008-2.25-2.25-2.25C16.008,33,15,34.008,15,35.25C15,36.492,16.008,37.5,17.25,37.5z M27.075,34.5c0.347-1.711,1.861-3,3.675-3c0.258,0,0.506,0.023,0.75,0.075V30h-6.394c-0.891,0-1.758-0.323-2.437-0.905L18.473,25.5 H15.75c-0.412,0-0.75,0.338-0.75,0.75v6.019c0.628-0.478,1.402-0.769,2.25-0.769c1.814,0,3.328,1.289,3.675,3H27.075z M30.75,37.5 c1.242,0,2.25-1.008,2.25-2.25c0-1.242-1.008-2.25-2.25-2.25c-1.242,0-2.25,1.008-2.25,2.25C28.5,36.492,29.508,37.5,30.75,37.5z M43.125,34.5c0.206,0,0.375,0.169,0.375,0.375v0.75c0,0.206-0.169,0.375-0.375,0.375h-6.75C36.169,36,36,35.831,36,35.625v-20.25 C36,15.169,36.169,15,36.375,15h0.75c0.206,0,0.375,0.169,0.375,0.375V34.5H43.125z"/>
</symbol>
<symbol id="ico--section-2" viewBox="0 0 56 56">
<path fill="#004ED4" d="M38.25,31.5c0.412,0,0.75,0.338,0.75,0.75v6c0,0.412-0.338,0.75-0.75,0.75h-19.5 C18.337,39,18,38.662,18,38.25v-12c0-0.412,0.338-0.75,0.75-0.75h10.5c0.412,0,0.75,0.338,0.75,0.75v5.25H38.25z M28.5,37.5V33h-9 v4.5H28.5z M28.5,31.5V27h-9v4.5H28.5z M37.5,37.5V33H30v4.5H37.5z M42.122,20.545c0.839,0.352,1.378,1.167,1.378,2.072v16.008 c0,0.206-0.169,0.375-0.375,0.375h-0.75C42.169,39,42,38.831,42,38.625V22.617c0-0.305-0.178-0.577-0.459-0.694l-12.75-5.372 c-0.183-0.08-0.398-0.08-0.581,0l-12.75,5.372C15.178,22.045,15,22.313,15,22.617v16.008C15,38.831,14.831,39,14.625,39h-0.75 c-0.206,0-0.375-0.169-0.375-0.375V22.617c0-0.905,0.539-1.72,1.378-2.072l12.75-5.372c0.558-0.234,1.191-0.234,1.744,0 L42.122,20.545z"/>
</symbol>
<symbol id="ico--section-3" viewBox="0 0 56 56">
<path fill="#004ED4" d="M42.75,32.25c0.414,0,0.75,0.336,0.75,0.75v2.25c0,2.068-1.682,3.75-3.75,3.75h-22.5 c-2.068,0-3.75-1.682-3.75-3.75V33c0-0.414,0.336-0.75,0.75-0.75h2.25l0-12.75c0-1.655,1.346-3,3-3h18c1.654,0,3,1.345,3,3v12.75 H42.75z M18,19.5v12.75h7.166c0.19,0,0.329,0.147,0.371,0.332c0.151,0.668,0.749,1.168,1.463,1.168h3 c0.714,0,1.312-0.499,1.463-1.168c0.042-0.186,0.181-0.332,0.371-0.332H39V19.5c0-0.828-0.672-1.5-1.5-1.5h-18 C18.672,18,18,18.672,18,19.5z M42,35.25v-1.5h-9.129c-0.309,0.873-1.142,1.5-2.121,1.5h-4.5c-0.978,0-1.812-0.627-2.121-1.5H15v1.5 c0,1.241,1.009,2.25,2.25,2.25h22.5C40.991,37.5,42,36.491,42,35.25z"/>
</symbol>
<symbol id="ico--section-4" viewBox="0 0 56 56">
<path fill="#004ED4" d="M15.023,17.813c0-2.452,2.934-3.722,4.725-2.058l9,8.353l0.525-0.483 c-0.591-1.875-0.281-3.666,1.223-5.17c0.98-0.98,3.736-2.897,4.083-3.136c1.312-0.923,3.127,0.3,3.309,1.753 c0.952,0.117,1.927,1.027,2.058,2.062c1.411,0.178,2.695,1.973,1.753,3.309c-0.239,0.347-2.152,3.103-3.131,4.083 c-1.556,1.552-3.352,1.791-5.17,1.223l-0.338,0.361l5.067,4.702c1.162,1.083,1.205,2.92,0.075,4.05l-1.313,1.313 c-1.139,1.139-2.967,1.078-4.041-0.066c-0.042-0.042,0.281,0.338-4.233-4.983l-4.364,4.927c-1.064,1.205-2.939,1.275-4.092,0.122 l-1.312-1.313c-1.144-1.139-1.087-3.019,0.122-4.092l4.894-4.341C18.295,27.928,15.023,24.511,15.023,17.813z M32.822,26.119 c1.533,0.872,3.3,0.731,4.687-0.647c0.919-0.923,2.967-3.886,2.967-3.886c0.258-0.356-0.577-1.181-0.923-0.909l-3.792,3.792 c-0.389,0.328-1.238-0.516-0.928-0.914l3.581-4.036c0.253-0.352-0.567-1.167-0.914-0.914l-4.036,3.581 c-0.398,0.314-1.238-0.539-0.909-0.923l3.797-3.792c0.267-0.347-0.553-1.181-0.909-0.923c0,0-2.967,2.048-3.881,2.967 c-1.373,1.373-1.533,3.141-0.652,4.687l-1.055,0.933l2.105,1.955L32.822,26.119z M25.275,29.189l-5.311,4.702 c-0.562,0.502-0.591,1.378-0.056,1.912l1.312,1.312c0.539,0.539,1.411,0.506,1.912-0.056l4.505-5.091L25.275,29.189z M16.523,17.813 c0,5.494,2.297,9.187,8.859,9.187l8.559,10.087c0.506,0.539,1.359,0.553,1.884,0.028l1.312-1.312 c0.53-0.525,0.511-1.383-0.033-1.889L18.731,16.852C17.887,16.069,16.523,16.669,16.523,17.813z"/>
</symbol>
<symbol id="ico--section-5" viewBox="0 0 56 56">
<path fill="#004ED4" d="M40.875,19c0.714,0,1.247,0.656,1.101,1.354l-2.031,9.75C39.836,30.626,39.376,31,38.843,31 H23.31l0.562,3H37.75c0.536,0,0.97,0.37,1.091,0.85c0.56,0.545,0.909,1.307,0.909,2.15c0,1.657-1.343,3-3,3s-3-1.343-3-3v-0.003 c0-0.443,0.18-1.113,0.402-1.497h-6.805c0.222,0.383,0.402,1.054,0.402,1.497V37c0,1.657-1.343,3-3,3s-3-1.343-3-3 c0-0.777,0.296-1.485,0.78-2.018L19.252,17.5h-3.69C15.252,17.5,15,17.248,15,16.937v-0.375C15,16.252,15.252,16,15.562,16h4.001 c0.541,0,1.006,0.386,1.106,0.918L21.06,19H40.875z M26.25,37c0-0.827-0.673-1.5-1.5-1.5c-0.827,0-1.5,0.673-1.5,1.5 c0,0.827,0.673,1.5,1.5,1.5C25.577,38.5,26.25,37.827,26.25,37z M36.75,38.5c0.827,0,1.5-0.673,1.5-1.5c0-0.827-0.673-1.5-1.5-1.5 c-0.827,0-1.5,0.673-1.5,1.5C35.25,37.827,35.923,38.5,36.75,38.5z M38.539,29.5l1.875-9H21.341l1.687,9H38.539z"/>
</symbol>
<symbol id="ico--section-6" viewBox="0 0 56 56">
<path fill="#004ED4" d="M38.25,21c1.243,0,2.25,1.007,2.25,2.25v12c0,1.243-1.007,2.25-2.25,2.25h-19.5 c-1.243,0-2.25-1.007-2.25-2.25v-12c0-1.243,1.007-2.25,2.25-2.25H24v-3.375c0-0.622,0.503-1.125,1.125-1.125h6.75 c0.622,0,1.125,0.503,1.125,1.125V21H38.25z M25.5,18v3h6v-3H25.5z M39,35.25V28.5h-7.5v1.875c0,0.621-0.504,1.125-1.125,1.125 h-3.75c-0.621,0-1.125-0.504-1.125-1.125V28.5H18v6.75c0,0.413,0.337,0.75,0.75,0.75h19.5C38.663,36,39,35.663,39,35.25z M27,30h3 v-1.5h-3V30z M39,27v-3.75c0-0.413-0.337-0.75-0.75-0.75h-19.5c-0.413,0-0.75,0.337-0.75,0.75V27H39z"/>
</symbol> </symbol>
</svg> </svg>
...@@ -64,7 +91,7 @@ global $post; ...@@ -64,7 +91,7 @@ global $post;
<div class="l-inner l-inner--header"> <div class="l-inner l-inner--header">
<a href="<?php echo pll_home_url(); ?>" class="c-logo" title="<?php echo get_the_title( get_option('page_on_front') ); ?>"> <a href="<?php echo pll_home_url(); ?>" class="c-logo" title="<?php echo get_the_title( get_option('page_on_front') ); ?>">
<svg width="81px" height="47px" class="c-logo--svg"> <svg width="82px" height="49px" class="c-logo--svg">
<use xlink:href="#biuro-logo"></use> <use xlink:href="#biuro-logo"></use>
</svg> </svg>
</a> </a>
......
<svg xmlns="http://www.w3.org/2000/svg" width="25px" height="34px" viewBox="0 0 25 34">
<path fill="#085FF7" d="M11.228,32.459C1.863,18.883,0.125,17.49,0.125,12.5c0-6.835,5.54-12.375,12.375-12.375 S24.875,5.666,24.875,12.5c0,4.99-1.738,6.383-11.103,19.959C13.157,33.347,11.843,33.347,11.228,32.459z M12.5,17.656 c2.848,0,5.156-2.309,5.156-5.156S15.348,7.344,12.5,7.344S7.344,9.652,7.344,12.5S9.652,17.656,12.5,17.656z"/>
</svg>
...@@ -112,7 +112,7 @@ function setMarkers (map, positions) { ...@@ -112,7 +112,7 @@ function setMarkers (map, positions) {
var marker = new window.google.maps.Marker({ var marker = new window.google.maps.Marker({
position: pos, position: pos,
map: map, map: map,
icon: '/wp-content/themes/biuro/i/maps/pin.png', icon: '/wp-content/themes/biuro/i/ico--map-pin.svg',
title: position.title || '' title: position.title || ''
}); });
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
/******/ /******/
/******/ var hotApplyOnUpdate = true; /******/ var hotApplyOnUpdate = true;
/******/ // eslint-disable-next-line no-unused-vars /******/ // eslint-disable-next-line no-unused-vars
/******/ var hotCurrentHash = "1c742fed9866fd2d9129"; /******/ var hotCurrentHash = "965e0797496909df7581";
/******/ var hotRequestTimeout = 10000; /******/ var hotRequestTimeout = 10000;
/******/ var hotCurrentModuleData = {}; /******/ var hotCurrentModuleData = {};
/******/ var hotCurrentChildModule; /******/ var hotCurrentChildModule;
...@@ -992,7 +992,7 @@ eval("var logLevel = \"info\";\n\nfunction dummy() {}\n\nfunction shouldLog(leve ...@@ -992,7 +992,7 @@ eval("var logLevel = \"info\";\n\nfunction dummy() {}\n\nfunction shouldLog(leve
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./vendor/awesomplete */ \"./wp-content/themes/biuro/js/vendor/awesomplete.js\");\n/* harmony import */ var _vendor_swiper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./vendor/swiper */ \"./wp-content/themes/biuro/js/vendor/swiper.js\");\n/* harmony import */ var _vendor_swiper__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vendor_swiper__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n(function (global) {\n var container = document.getElementById('cookie-warning');\n var btnAgree = document.getElementById('cookie-agree');\n var btnClose = document.getElementById('cookie-close');\n var agreed = useLS() ? localStorage.getItem('biuro-agree') : false;\n\n function useLS() {\n var mod = 'a';\n\n try {\n localStorage.setItem(mod, mod);\n localStorage.removeItem(mod);\n return true;\n } catch (e) {\n return false;\n }\n }\n\n if (!container || !btnAgree || !btnClose || agreed) {\n return;\n }\n\n container.style.display = 'block';\n btnAgree.addEventListener('click', function () {\n if (useLS()) {\n localStorage.setItem('biuro-agree', 'true');\n }\n\n container.style.display = 'none';\n });\n btnClose.addEventListener('click', function () {\n container.style.display = 'none';\n });\n})(window);\n\nif (true) {\n module.hot.accept();\n}\n\n(function (global) {\n var node = document.getElementById('js-map--divisions');\n\n if (!node) {\n return;\n }\n\n fetch('/wp-json/api/v1/divisions?lang=' + node.dataset.lang).then(function (t) {\n return t.json();\n }).then(function (data) {\n initDivisionsMap(node, data);\n });\n})(window);\n\n(function (global) {\n var node = document.getElementById('js-map--regions');\n\n if (!node) {\n return;\n }\n\n initRegionsMap(node);\n})(window);\n\nvar mapStyles = [{\n featureType: 'all',\n elementType: 'all',\n stylers: [{\n 'saturation': -92\n }, {\n 'lightness': -8\n }, {\n 'hue': '#0000ff'\n }]\n}, {\n 'featureType': 'water',\n elementType: 'all',\n 'stylers': [{\n 'saturation': -95\n }, {\n 'lightness': -25\n }, {\n 'hue': '#0000ff'\n }]\n}];\n\nfunction setMarkers(map, positions) {\n var info;\n var bounds = new window.google.maps.LatLngBounds();\n map.mapTypes.set('biuro', new window.google.maps.StyledMapType(mapStyles, {\n name: 'Biuro'\n }));\n map.setMapTypeId('biuro');\n\n for (var i = 0; i < positions.length; i++) {\n var position = positions[i];\n var pos = new window.google.maps.LatLng(position.lat, position.lng);\n var marker = new window.google.maps.Marker({\n position: pos,\n map: map,\n icon: '/wp-content/themes/biuro/i/maps/pin.png',\n title: position.title || ''\n });\n bounds.extend(pos);\n\n if (position.content) {\n marker['content'] = position.content;\n window.google.maps.event.addListener(marker, 'click', function () {\n if (info) {\n info.close();\n }\n\n info = new window.google.maps.InfoWindow({\n content: this.content\n });\n info.open(map, this);\n });\n }\n }\n\n map.fitBounds(bounds);\n}\n\nfunction initRegionsMap(node) {\n if (!window.google) {\n setTimeout(function () {\n initRegionsMap(node);\n }, 250);\n return;\n }\n\n var map = new window.google.maps.Map(node, {\n mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']\n });\n window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {\n if (this.getZoom() > 15) {\n this.setZoom(14);\n }\n });\n var regions = [{\n title: 'Vilnius',\n lat: 54.687157,\n lng: 25.279652\n }, {\n title: 'Rīga',\n lat: 56.946285,\n lng: 24.105078\n }, {\n title: 'Tallinn',\n lat: 59.436962,\n lng: 24.753574\n }];\n setMarkers(map, regions);\n}\n\nfunction initDivisionsMap(node, data) {\n if (!window.google) {\n setTimeout(function () {\n initDivisionsMap(node, data);\n }, 250);\n return;\n }\n\n var map = new window.google.maps.Map(node, {\n mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']\n });\n window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {\n if (this.getZoom() > 15) {\n this.setZoom(14);\n }\n });\n var divisions = [];\n var region = document.querySelector('.js-active-region');\n var ID = region && region.dataset.id ? region.dataset.id : '';\n\n if (data[ID]) {\n divisions = data[ID];\n } else {\n Object.keys(data).forEach(function (key) {\n var division = data[key];\n\n if (key.substr(0, 4) === 'city') {\n divisions = divisions.concat(division);\n }\n });\n }\n\n setMarkers(map, divisions.filter(function (d) {\n return d.lat && d.lng;\n }));\n}\n\n(function (global) {\n var city = document.getElementById('search-city');\n\n if (!city) {\n return;\n }\n\n var search = document.getElementById('search');\n var query = document.getElementById('search-query');\n var cityBox = new _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__[\"default\"](city, {\n minChars: 0,\n sort: false // data: (item, input) => {\n // console.error('----------');\n // console.dir(item);\n // console.dir(input);\n // return { label: item.value, value: item.name };\n // },\n // replace: function(text) {\n // console.error('text');\n // console.dir(text);\n // // var hidden = document.querySelector('[name=\"' + this.input.dataset.name + '\"]');\n // // this.input.value = text.label;\n // // if (!hidden) {\n // // return;\n // // }\n // // hidden.value = text.value;\n // // if (hidden.classList.contains('js-trigger-datalist')) {\n // // hidden.dispatchEvent(new Event('change', {\n // // 'bubbles': true,\n // // 'cancelable': true\n // // }));\n // // }\n // // hidden.dispatchEvent(event);\n // }\n // });\n\n });\n city.addEventListener('focus', function () {\n cityBox.evaluate();\n });\n var queryBox = new _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__[\"default\"](query, {\n minChars: 0,\n sort: false\n });\n query.addEventListener('focus', function () {\n queryBox.evaluate();\n });\n\n if (search) {\n search.addEventListener('submit', function (e) {\n if (!city.value && !query.value) {\n city.focus();\n e.preventDefault();\n }\n }, false);\n }\n})(window);\n\nvar swiper = new _vendor_swiper__WEBPACK_IMPORTED_MODULE_1___default.a('.c-feedbacks--inner', {\n autoplay: {\n delay: 4000,\n disableOnInteraction: false\n },\n grabCursor: true,\n loop: true,\n pagination: {\n el: '.swiper-pagination',\n clickable: true\n }\n});\n\n//# sourceURL=webpack:///./wp-content/themes/biuro/js/main.js?"); eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./vendor/awesomplete */ \"./wp-content/themes/biuro/js/vendor/awesomplete.js\");\n/* harmony import */ var _vendor_swiper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./vendor/swiper */ \"./wp-content/themes/biuro/js/vendor/swiper.js\");\n/* harmony import */ var _vendor_swiper__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vendor_swiper__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n(function (global) {\n var container = document.getElementById('cookie-warning');\n var btnAgree = document.getElementById('cookie-agree');\n var btnClose = document.getElementById('cookie-close');\n var agreed = useLS() ? localStorage.getItem('biuro-agree') : false;\n\n function useLS() {\n var mod = 'a';\n\n try {\n localStorage.setItem(mod, mod);\n localStorage.removeItem(mod);\n return true;\n } catch (e) {\n return false;\n }\n }\n\n if (!container || !btnAgree || !btnClose || agreed) {\n return;\n }\n\n container.style.display = 'block';\n btnAgree.addEventListener('click', function () {\n if (useLS()) {\n localStorage.setItem('biuro-agree', 'true');\n }\n\n container.style.display = 'none';\n });\n btnClose.addEventListener('click', function () {\n container.style.display = 'none';\n });\n})(window);\n\nif (true) {\n module.hot.accept();\n}\n\n(function (global) {\n var node = document.getElementById('js-map--divisions');\n\n if (!node) {\n return;\n }\n\n fetch('/wp-json/api/v1/divisions?lang=' + node.dataset.lang).then(function (t) {\n return t.json();\n }).then(function (data) {\n initDivisionsMap(node, data);\n });\n})(window);\n\n(function (global) {\n var node = document.getElementById('js-map--regions');\n\n if (!node) {\n return;\n }\n\n initRegionsMap(node);\n})(window);\n\nvar mapStyles = [{\n featureType: 'all',\n elementType: 'all',\n stylers: [{\n 'saturation': -92\n }, {\n 'lightness': -8\n }, {\n 'hue': '#0000ff'\n }]\n}, {\n 'featureType': 'water',\n elementType: 'all',\n 'stylers': [{\n 'saturation': -95\n }, {\n 'lightness': -25\n }, {\n 'hue': '#0000ff'\n }]\n}];\n\nfunction setMarkers(map, positions) {\n var info;\n var bounds = new window.google.maps.LatLngBounds();\n map.mapTypes.set('biuro', new window.google.maps.StyledMapType(mapStyles, {\n name: 'Biuro'\n }));\n map.setMapTypeId('biuro');\n\n for (var i = 0; i < positions.length; i++) {\n var position = positions[i];\n var pos = new window.google.maps.LatLng(position.lat, position.lng);\n var marker = new window.google.maps.Marker({\n position: pos,\n map: map,\n icon: '/wp-content/themes/biuro/i/ico--map-pin.svg',\n title: position.title || ''\n });\n bounds.extend(pos);\n\n if (position.content) {\n marker['content'] = position.content;\n window.google.maps.event.addListener(marker, 'click', function () {\n if (info) {\n info.close();\n }\n\n info = new window.google.maps.InfoWindow({\n content: this.content\n });\n info.open(map, this);\n });\n }\n }\n\n map.fitBounds(bounds);\n}\n\nfunction initRegionsMap(node) {\n if (!window.google) {\n setTimeout(function () {\n initRegionsMap(node);\n }, 250);\n return;\n }\n\n var map = new window.google.maps.Map(node, {\n mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']\n });\n window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {\n if (this.getZoom() > 15) {\n this.setZoom(14);\n }\n });\n var regions = [{\n title: 'Vilnius',\n lat: 54.687157,\n lng: 25.279652\n }, {\n title: 'Rīga',\n lat: 56.946285,\n lng: 24.105078\n }, {\n title: 'Tallinn',\n lat: 59.436962,\n lng: 24.753574\n }];\n setMarkers(map, regions);\n}\n\nfunction initDivisionsMap(node, data) {\n if (!window.google) {\n setTimeout(function () {\n initDivisionsMap(node, data);\n }, 250);\n return;\n }\n\n var map = new window.google.maps.Map(node, {\n mapTypeIds: [window.google.maps.MapTypeId.ROADMAP, window.google.maps.MapTypeId.HYBRID, 'biuro']\n });\n window.google.maps.event.addListenerOnce(map, 'bounds_changed', function () {\n if (this.getZoom() > 15) {\n this.setZoom(14);\n }\n });\n var divisions = [];\n var region = document.querySelector('.js-active-region');\n var ID = region && region.dataset.id ? region.dataset.id : '';\n\n if (data[ID]) {\n divisions = data[ID];\n } else {\n Object.keys(data).forEach(function (key) {\n var division = data[key];\n\n if (key.substr(0, 4) === 'city') {\n divisions = divisions.concat(division);\n }\n });\n }\n\n setMarkers(map, divisions.filter(function (d) {\n return d.lat && d.lng;\n }));\n}\n\n(function (global) {\n var city = document.getElementById('search-city');\n\n if (!city) {\n return;\n }\n\n var search = document.getElementById('search');\n var query = document.getElementById('search-query');\n var cityBox = new _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__[\"default\"](city, {\n minChars: 0,\n sort: false // data: (item, input) => {\n // console.error('----------');\n // console.dir(item);\n // console.dir(input);\n // return { label: item.value, value: item.name };\n // },\n // replace: function(text) {\n // console.error('text');\n // console.dir(text);\n // // var hidden = document.querySelector('[name=\"' + this.input.dataset.name + '\"]');\n // // this.input.value = text.label;\n // // if (!hidden) {\n // // return;\n // // }\n // // hidden.value = text.value;\n // // if (hidden.classList.contains('js-trigger-datalist')) {\n // // hidden.dispatchEvent(new Event('change', {\n // // 'bubbles': true,\n // // 'cancelable': true\n // // }));\n // // }\n // // hidden.dispatchEvent(event);\n // }\n // });\n\n });\n city.addEventListener('focus', function () {\n cityBox.evaluate();\n });\n var queryBox = new _vendor_awesomplete__WEBPACK_IMPORTED_MODULE_0__[\"default\"](query, {\n minChars: 0,\n sort: false\n });\n query.addEventListener('focus', function () {\n queryBox.evaluate();\n });\n\n if (search) {\n search.addEventListener('submit', function (e) {\n if (!city.value && !query.value) {\n city.focus();\n e.preventDefault();\n }\n }, false);\n }\n})(window);\n\nvar swiper = new _vendor_swiper__WEBPACK_IMPORTED_MODULE_1___default.a('.c-feedbacks--inner', {\n autoplay: {\n delay: 4000,\n disableOnInteraction: false\n },\n grabCursor: true,\n loop: true,\n pagination: {\n el: '.swiper-pagination',\n clickable: true\n }\n});\n\n//# sourceURL=webpack:///./wp-content/themes/biuro/js/main.js?");
/***/ }), /***/ }),
......
...@@ -34,7 +34,7 @@ get_header(); ?> ...@@ -34,7 +34,7 @@ get_header(); ?>
</main><!-- .l-main --> </main><!-- .l-main -->
<aside class="l-aside--regions"> <aside class="l-aside--regions">
<?php <?php
echo do_shortcode('[biuro-contacts--employees lang="' . pll_current_language() . '"]'); echo do_shortcode('[biuro-contacts--employers lang="' . pll_current_language() . '"]');
?> ?>
</aside> </aside>
......
...@@ -56,10 +56,10 @@ ...@@ -56,10 +56,10 @@
<div class="c-trust--inner"> <div class="c-trust--inner">
<h2 class="c-trust--heading"><?php _e('Trust in us', 'biuro'); ?></h2> <h2 class="c-trust--heading"><?php _e('Trust in us', 'biuro'); ?></h2>
<div class="c-trust--logos"> <div class="c-trust--logos">
<div class="c-trust--logo"></div> <img src="/wp-content/themes/biuro/i/trust/coca-cola.png" width="85" height="28" alt="">
<div class="c-trust--logo"></div> <img src="/wp-content/themes/biuro/i/trust/maxima.png" width="96" height="22" alt="">
<div class="c-trust--logo"></div> <img src="/wp-content/themes/biuro/i/trust/dpd.png" width="64" height="29" alt="">
<div class="c-trust--logo"></div> <img src="/wp-content/themes/biuro/i/trust/avon.png" width="71" height="15" alt="">
</div> </div>
</div> </div>
</div> </div>
...@@ -78,7 +78,9 @@ ...@@ -78,7 +78,9 @@
dynamic_sidebar( 'sales_page_employers' ); dynamic_sidebar( 'sales_page_employers' );
endif; endif;
?> ?>
<div class="c-contact--img"><img src="https://picsum.photos/330/100" alt="" style="display: block;"></div> <div class="c-contact--img">
<img src="/wp-content/themes/biuro/i/contact.png" alt="" width="328" height="95">
</div>
</div> </div>
<div class="c-contact--form"> <div class="c-contact--form">
......
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
return $a['name'] > $b['name']; return $a['name'] > $b['name'];
}); });
?> ?>
<div class="c-search--col c-search--col-location">
<svg xmlns="http://www.w3.org/2000/svg" width="15px" height="21px" viewBox="0 0 15 21" class="c-ico--location">
<path fill="#B8BCC1" d="M7.5,4.25c2.068,0,3.75,1.682,3.75,3.75s-1.682,3.75-3.75,3.75S3.75,10.068,3.75,8 S5.432,4.25,7.5,4.25z M7.5,10.5C8.878,10.5,10,9.379,10,8S8.878,5.5,7.5,5.5C6.121,5.5,5,6.622,5,8C5,9.379,6.121,10.5,7.5,10.5z M7.5,0.5C11.642,0.5,15,3.858,15,8c0,3.024-1.054,3.868-6.729,12.096c-0.373,0.538-1.169,0.538-1.542,0C1.054,11.868,0,11.024,0,8 C0,3.858,3.358,0.5,7.5,0.5z M7.5,19.013c5.442-7.87,6.25-8.494,6.25-11.013c0-1.669-0.65-3.239-1.831-4.419 C10.739,2.4,9.169,1.75,7.5,1.75S4.261,2.4,3.081,3.581C1.9,4.761,1.25,6.331,1.25,8C1.25,10.519,2.059,11.144,7.5,19.013z"/>
</svg>
<datalist id="search-cities"> <datalist id="search-cities">
<?php <?php
foreach ( $res as $r ): foreach ( $res as $r ):
...@@ -75,7 +79,7 @@ ...@@ -75,7 +79,7 @@
?> ?>
</datalist> </datalist>
<input list="search-cities" id="search-city" name="city" value="<?php echo ($searchQuery) ? $searchQuery['city'] : ''; ?>" placeholder="<?php _e('Locations', 'biuro'); ?>" class="c-search--input c-search--location" /> <input list="search-cities" id="search-city" name="city" value="<?php echo ($searchQuery) ? $searchQuery['city'] : ''; ?>" placeholder="<?php _e('Locations', 'biuro'); ?>" class="c-search--input c-search--location" />
</div><!-- .c-search--col c-search--col-location -->
<?php <?php
$options = array(); $options = array();
...@@ -142,6 +146,10 @@ ...@@ -142,6 +146,10 @@
return $a['name'] > $b['name']; return $a['name'] > $b['name'];
}); });
?> ?>
<div class="c-search--col c-search--col-keyword">
<svg xmlns="http://www.w3.org/2000/svg" width="20px" height="19px" viewBox="0 0 20 19" class="c-ico--area">
<path fill="#B8BCC1" d="M18.125,4.5C19.16,4.5,20,5.339,20,6.375v10c0,1.036-0.839,1.875-1.875,1.875H1.875 C0.839,18.25,0,17.411,0,16.375v-10C0,5.339,0.839,4.5,1.875,4.5H6.25V1.688c0-0.518,0.42-0.937,0.937-0.937h5.625 c0.518,0,0.938,0.42,0.938,0.937V4.5H18.125z M7.5,2v2.5h5V2H7.5z M18.75,16.375V10.75H12.5v1.562c0,0.518-0.42,0.937-0.938,0.937 H8.437c-0.518,0-0.938-0.42-0.938-0.937V10.75H1.25v5.625C1.25,16.72,1.53,17,1.875,17h16.25C18.47,17,18.75,16.72,18.75,16.375z M8.75,12h2.5v-1.25h-2.5V12z M18.75,9.5V6.375c0-0.345-0.28-0.625-0.625-0.625H1.875C1.53,5.75,1.25,6.03,1.25,6.375V9.5H18.75z"/>
</svg>
<datalist id="search-queries"> <datalist id="search-queries">
<?php <?php
foreach ( $options as $option ): foreach ( $options as $option ):
...@@ -150,9 +158,12 @@ ...@@ -150,9 +158,12 @@
<?php <?php
endforeach; endforeach;
?> ?>
</datalist> </datalist>
<input list="search-queries" id="search-query" name="s" value="<?php echo ($searchQuery) ? $searchQuery['s'] : ''; ?>" placeholder="<?php _e('Keyword', 'biuro'); ?>" class="c-search--input c-search--keyword" />
<input list="search-queries" id="search-query" name="s" value="<?php echo ($searchQuery) ? $searchQuery['s'] : ''; ?>" placeholder="<?php _e('Keyword', 'biuro'); ?>" class="c-search--input c-search--keyword" /> </div><!-- .c-search--col c-search--col-keyword -->
<button class="o-btn c-btn--main <?php if ( is_front_page() ): ?>c-btn--search<?php else: ?>c-btn--search-small<?php endif; ?>" type="submit" value="1">
<button class="o-btn c-btn--main <?php if ( is_front_page() ): ?>c-btn--search<?php else: ?>c-btn--search-small<?php endif; ?>" type="submit" value="1"><?php _e('Search', 'biuro'); ?></button> <svg xmlns="http://www.w3.org/2000/svg" width="17px" height="17px" viewBox="0 0 17 17" class="c-ico--search">
<path fill="#FFFFFF" d="M16.884,15.694c0.156,0.156,0.156,0.408,0,0.564l-0.75,0.75c-0.156,0.156-0.408,0.156-0.564,0 l-4.031-4.031c-0.073-0.076-0.116-0.176-0.116-0.282v-0.438c-1.212,1.046-2.789,1.68-4.516,1.68C3.091,13.938,0,10.846,0,7.031 s3.091-6.906,6.906-6.906c3.815,0,6.906,3.091,6.906,6.906c0,1.727-0.634,3.304-1.68,4.516h0.438c0.106,0,0.206,0.04,0.282,0.116 L16.884,15.694z M6.906,12.344c2.935,0,5.313-2.377,5.313-5.312S9.841,1.719,6.906,1.719c-2.935,0-5.313,2.377-5.313,5.312 S3.971,12.344,6.906,12.344z"/>
</svg> <?php _e('Search', 'biuro'); ?>
</button>
</form> </form>
...@@ -20,22 +20,22 @@ ...@@ -20,22 +20,22 @@
<ul> <ul>
<li> <li>
<a class="gtm-b2c-phone-click" href="tel: 8 379 99254"> <a class="gtm-b2c-phone-click" href="tel: 8 379 99254">
<svg xmlns="http://www.w3.org/2000/svg" width="17px" height="18px" viewBox="0 0 21 22"> <svg xmlns="http://www.w3.org/2000/svg" width="19px" height="20px" viewBox="0 0 19 20" class="c-ico--phone">
<path d="M20.0073662,1.61350199 C20.5897947,1.74475969 20.9999499,2.26157937 20.9999499,2.86039004 C20.9999499,13.2496151 12.5794702,21.6249937 2.23534623,21.6249937 C1.63653556,21.6249937 1.11971588,21.2148385 0.984372653,20.6283244 L0.0328044109,16.4980528 C-0.106624349,15.8951166 0.205077636,15.2798837 0.775209486,15.0337905 L5.2212686,13.1265685 C5.74217381,12.9009831 6.35740672,13.0527486 6.71833535,13.4916227 L8.52714413,15.7023356 C11.3695122,14.3078077 13.6786783,11.994556 15.0732063,9.15627347 L12.8624533,7.34750474 C12.4236192,6.98653606 12.2718538,6.37130315 12.4974392,5.850438 L14.4046612,1.4002533 C14.6507543,0.830121445 15.2700728,0.51841946 15.873009,0.65784822 L20.0073662,1.61350199 Z M2.25993953,20.3124969 C11.8780807,20.3002002 19.6751564,12.5072501 19.6833675,2.88910892 L15.598197,1.9457518 L13.7114827,6.35079539 L16.6974051,8.79121926 C14.7122776,13.0240297 12.4112825,15.3331958 8.16208992,17.3265745 L5.72166605,14.3406521 L1.3165824,16.2273664 L2.25993953,20.3124969 Z"></path> <path fill="#2A3644" d="M18.102,1.269C18.629,1.388,19,1.856,19,2.398c0,9.4-7.619,16.977-16.977,16.977 c-0.542,0-1.009-0.371-1.132-0.902L0.03,14.736c-0.126-0.546,0.156-1.102,0.672-1.325l4.023-1.726 c0.471-0.204,1.028-0.067,1.354,0.33l1.637,2c2.572-1.262,4.661-3.355,5.923-5.923l-2-1.636c-0.397-0.327-0.534-0.883-0.33-1.354 l1.726-4.026c0.223-0.516,0.783-0.798,1.328-0.672L18.102,1.269z M2.045,18.188c8.702-0.011,15.757-7.062,15.764-15.764L14.113,1.57 l-1.707,3.986l2.702,2.208c-1.796,3.83-3.878,5.919-7.722,7.722l-2.208-2.702l-3.986,1.707L2.045,18.188z"/>
</svg> 8 379 99254 </svg> 8 379 99254
</a> </a>
</li> </li>
<li> <li>
<a class="gtm-b2c-email-click" href="mailto:kaunascv@biuro.lt"> <a class="gtm-b2c-email-click" href="mailto:kaunascv@biuro.lt">
<svg xmlns="http://www.w3.org/2000/svg" width="17px" height="18px" viewBox="0 0 21 22"> <svg xmlns="http://www.w3.org/2000/svg"width="20px" height="15px" viewBox="0 0 20 15" class="c-ico--email">
<path d="M20.0073662,1.61350199 C20.5897947,1.74475969 20.9999499,2.26157937 20.9999499,2.86039004 C20.9999499,13.2496151 12.5794702,21.6249937 2.23534623,21.6249937 C1.63653556,21.6249937 1.11971588,21.2148385 0.984372653,20.6283244 L0.0328044109,16.4980528 C-0.106624349,15.8951166 0.205077636,15.2798837 0.775209486,15.0337905 L5.2212686,13.1265685 C5.74217381,12.9009831 6.35740672,13.0527486 6.71833535,13.4916227 L8.52714413,15.7023356 C11.3695122,14.3078077 13.6786783,11.994556 15.0732063,9.15627347 L12.8624533,7.34750474 C12.4236192,6.98653606 12.2718538,6.37130315 12.4974392,5.850438 L14.4046612,1.4002533 C14.6507543,0.830121445 15.2700728,0.51841946 15.873009,0.65784822 L20.0073662,1.61350199 Z M2.25993953,20.3124969 C11.8780807,20.3002002 19.6751564,12.5072501 19.6833675,2.88910892 L15.598197,1.9457518 L13.7114827,6.35079539 L16.6974051,8.79121926 C14.7122776,13.0240297 12.4112825,15.3331958 8.16208992,17.3265745 L5.72166605,14.3406521 L1.3165824,16.2273664 L2.25993953,20.3124969 Z"></path> <path fill="#2A3644" d="M17.641,0.75c0.983,0,1.781,0.798,1.781,1.781v10.688c0,0.983-0.798,1.781-1.781,1.781H2.203 c-0.983,0-1.781-0.798-1.781-1.781V2.531c0-0.983,0.798-1.781,1.781-1.781H17.641z M2.203,1.938c-0.327,0-0.594,0.267-0.594,0.594 v1.536C2.422,4.754,3.584,5.7,7.198,8.569c0.623,0.497,1.863,1.696,2.724,1.681c0.861,0.015,2.097-1.184,2.724-1.681 c3.614-2.869,4.776-3.815,5.589-4.501V2.531c0-0.327-0.267-0.594-0.594-0.594H2.203z M17.641,13.813 c0.327,0,0.594-0.267,0.594-0.594V5.611c-0.846,0.694-2.182,1.766-4.85,3.885c-0.779,0.623-2.112,1.952-3.462,1.941 C8.564,11.445,7.22,10.105,6.46,9.497c-2.668-2.119-4.004-3.191-4.85-3.885v7.607c0,0.327,0.267,0.594,0.594,0.594H17.641z"/>
</svg> kaunascv@biuro.lt </svg> kaunascv@biuro.lt
</a> </a>
</li> </li>
<li> <li>
<a href="https://maps.google.com/?q=Gedimino g. 47 - 301, Kaunas" target="_blank" rel="noopener"> <a href="https://maps.google.com/?q=Gedimino g. 47 - 301, Kaunas" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="17px" height="18px" viewBox="0 0 21 22"> <svg xmlns="http://www.w3.org/2000/svg" width="15px" height="21px" viewBox="0 0 15 21" class="c-ico--address">
<path d="M20.0073662,1.61350199 C20.5897947,1.74475969 20.9999499,2.26157937 20.9999499,2.86039004 C20.9999499,13.2496151 12.5794702,21.6249937 2.23534623,21.6249937 C1.63653556,21.6249937 1.11971588,21.2148385 0.984372653,20.6283244 L0.0328044109,16.4980528 C-0.106624349,15.8951166 0.205077636,15.2798837 0.775209486,15.0337905 L5.2212686,13.1265685 C5.74217381,12.9009831 6.35740672,13.0527486 6.71833535,13.4916227 L8.52714413,15.7023356 C11.3695122,14.3078077 13.6786783,11.994556 15.0732063,9.15627347 L12.8624533,7.34750474 C12.4236192,6.98653606 12.2718538,6.37130315 12.4974392,5.850438 L14.4046612,1.4002533 C14.6507543,0.830121445 15.2700728,0.51841946 15.873009,0.65784822 L20.0073662,1.61350199 Z M2.25993953,20.3124969 C11.8780807,20.3002002 19.6751564,12.5072501 19.6833675,2.88910892 L15.598197,1.9457518 L13.7114827,6.35079539 L16.6974051,8.79121926 C14.7122776,13.0240297 12.4112825,15.3331958 8.16208992,17.3265745 L5.72166605,14.3406521 L1.3165824,16.2273664 L2.25993953,20.3124969 Z"></path> <path fill="#2A3644" d="M7.5,4.25c2.068,0,3.75,1.682,3.75,3.75s-1.682,3.75-3.75,3.75S3.75,10.068,3.75,8 S5.432,4.25,7.5,4.25z M7.5,10.5C8.878,10.5,10,9.379,10,8S8.878,5.5,7.5,5.5C6.121,5.5,5,6.622,5,8C5,9.379,6.121,10.5,7.5,10.5z M7.5,0.5C11.642,0.5,15,3.858,15,8c0,3.024-1.054,3.868-6.729,12.096c-0.373,0.538-1.169,0.538-1.542,0C1.054,11.868,0,11.024,0,8 C0,3.858,3.358,0.5,7.5,0.5z M7.5,19.013c5.442-7.87,6.25-8.494,6.25-11.013c0-1.669-0.65-3.239-1.831-4.419 C10.739,2.4,9.169,1.75,7.5,1.75S4.261,2.4,3.081,3.581C1.9,4.761,1.25,6.331,1.25,8C1.25,10.519,2.059,11.144,7.5,19.013z"/>
</svg> Gedimino g. 47 – 301, Kaunas </svg> Gedimino g. 47 – 301, Kaunas
</a> </a>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment