diff --git a/content/themes/ldc/js/script.js b/content/themes/ldc/js/script.js
index 630a96b8..adde9723 100644
--- a/content/themes/ldc/js/script.js
+++ b/content/themes/ldc/js/script.js
@@ -471,6 +471,23 @@ $(document).ready(function(){
let iframe = $(this).find('iframe')[0];
$(iframe).attr( 'src', function ( i, val ) { return val; });
});
+ $('.contact-index button.textblock__info-btn').on('click', function (e) {
+ e.preventDefault();
+ var $target = $('#' + $(this).data('target'));
+ $(this).toggleClass('toggle');
+ if ($target) {
+ if ($target.css('display') == 'flex') {
+ $target.slideUp();
+ } else {
+ $target.slideDown({
+ start: function () {
+ $(this).css({
+ display: "flex"
+ })
+ }
+ });
+ }
+ }
+ });
});
-
diff --git a/content/themes/ldc/page-contacts-2.php b/content/themes/ldc/page-contacts-2.php
index b610d0fe..20e475c2 100644
--- a/content/themes/ldc/page-contacts-2.php
+++ b/content/themes/ldc/page-contacts-2.php
@@ -22,8 +22,16 @@ get_header();
-
+
\ No newline at end of file
diff --git a/content/themes/ldc/style.css b/content/themes/ldc/style.css
index 46806d9b..bcb149b8 100644
--- a/content/themes/ldc/style.css
+++ b/content/themes/ldc/style.css
@@ -4265,6 +4265,22 @@ body .pgntn-page-pagination-block .page-numbers.current {
.contacts-category-page .button-wrapper {
text-align: center;
}
+.contacts-group-buttons {
+ display: none;
+ flex-direction: column;
+ align-items: center;
+ background: rgba(0, 0, 0, 0.05) none repeat scroll 0% 0%;
+ padding: 0px 2em 2em;
+ margin-top: 1em;
+ border-radius: 10px;
+ transform: rotate(90deg), translateY(-2px);
+}
+button.textblock__info-btn .btn__icon {
+ transition: all 0.4s;
+}
+button.textblock__info-btn.toggle .btn__icon {
+ transform: rotate(90deg) translateX(-10px);
+}
.back-button-wrapper {
margin-bottom: 60px;
}
@@ -4980,6 +4996,51 @@ textarea.form__input {
align-items: center;
}
+.contact-index button {
+ display: inline;
+ border: none;
+ padding: 0.6rem 3rem;
+ text-decoration: none;
+ font-family: sans-serif;
+ font-size: 1rem;
+ cursor: pointer;
+ text-align: center;
+ transition: background 250ms ease-in-out,
+ transform 150ms ease;
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ box-sizing: border-box;
+ width: auto;
+ display: inline-flex;
+ justify-content: center;
+ align-items: center;
+ height: 45px;
+ padding: 0 30px;
+ padding-bottom: 3px;
+ border-radius: 999px;
+ border: 1px solid #ff4e4e;
+ background: #ff4e4e;
+ font-weight: 500;
+ font-size: 18px;
+ color: #fff;
+ transition: all 0.3s;
+}
+
+.contact-index button:disabled,
+.contact-index button[disabled] {
+ color: #AAA;
+}
+
+.contact-index button:hover,
+.contact-index button:focus {
+ border-color: #B43534;
+ background: #B43534;
+}
+
+.contact-index button:focus {
+ outline: transparent;
+}
+
.list-items.posts-container {
display: block;
margin: 0 auto;