/*
Theme Name: Embassy Express
Author: polyarix.com
Author URI: https://polyarix.com/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: embassyexpress
*/

/* --- WP --- */

.alignnone {margin: 5px 20px 3px 0;}
.aligncenter, div.aligncenter {display: block; margin: 5px auto;}
.alignright {float: right; margin: 5px 0 3px 20px;}
.alignleft {float: left; margin: 0 23px 10px 0;}
a img.alignright {float: right; margin: 5px 0 3px 20px; height: auto;}
a img.alignnone {margin: 5px 20px 3px 0; height: auto;}
a img.alignleft {float: left; margin: 5px 20px 3px 0; height: auto;}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto; height: auto;}
@media (max-width: 500px) {
	.alignright, .alignleft, a img.alignright, a img.alignleft {margin: 5px 0; width: 100%; height: auto; float: none; clear: both;}
}
.gallery {margin: 0 -8px; clear: both; padding: 20px 0;}
.gallery:after {content: ''; display: table; clear: both;}
.gallery .gallery-item {float: left; margin: 0; text-align: center; width: 100%; max-width: 100%; padding: 8px;}
.gallery-columns-2 .gallery-item {width: 50%;}
.gallery-columns-3 .gallery-item {width: 33.33%;}
.gallery-columns-4 .gallery-item {width: 25%;}
.gallery-columns-5 .gallery-item {width: 20%;}
.gallery-columns-6 .gallery-item {width: 16.66%;}
.gallery-columns-7 .gallery-item {width: 14.28%;}
.gallery-columns-8 .gallery-item {width: 12.5%;}
.gallery-columns-9 .gallery-item {width: 11.11%;}
.gallery-caption {display: block;}
.gallery .gallery-icon {display: block; padding-bottom: 100%; position: relative; overflow: hidden; background: #fff; -webkit-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3); -moz-box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3); box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.3); -webkit-transition: all 0.2s; transition: all 0.2s; margin: 0;}
.gallery .gallery-icon:hover {opacity: 0.8;}
.gallery-columns-2 .attachment-medium {max-width: 100%; height: auto;}
.gallery-columns-4 .attachment-thumbnail {max-width: 100%; height: auto;}
.gallery .gallery-caption {color: #888;font-size: 12px;margin: 0 0 12px;}
.gallery dl, .gallery dt {margin: 0;}
.gallery br + br {display: none;}
.gallery-icon img {position: absolute; left: 0; top: 0; border: none !important; box-shadow: none !important; margin: 0 !important; border-radius: 0 !important;}
.gallery-icon.landscape img {width: auto; height: 100%; max-width: 200%;}
.gallery-icon.portrait img {height: auto; width: 100%; max-height: 200%;}
.wp-caption {background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto;}
.wp-caption p.wp-caption-text {font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px;}
#wp-admin-bar-vc_inline-admin-bar-link,
#wp-admin-bar-customize,
#wp-admin-bar-comments,
#wp-admin-bar-all-in-one-seo-pack,
#wp-admin-bar-search,
#wp-admin-bar-aioseo-main {display: none !important;}
#wpadminbar {z-index: 9999;}
@media print {#wpadminbar {display:none;}}
@media (max-width: 900px) {
	#wp-admin-bar-root-default #wp-admin-bar-autoptimize {display: none;}
	#wp-admin-bar-root-default #wp-admin-bar-all-in-one-seo-pack {display: none;}
}
@media screen and (max-width: 782px) {
	#wpadminbar {transform: scale(0.7); transform-origin: 0 0;}
	#wpadminbar:after {content: ''; background: #1d2327; position: absolute; top: 0; left: 0; width: 200%; height: 100%; z-index: -1; pointer-events: none;}
	#wpadminbar #wp-admin-bar-my-account {display: none !important;}
}
@media screen and (max-width: 600px) {
	#wpadminbar {position: fixed !important;}
}
@media (max-width: 767px) {
	.gallery-columns-2 .gallery-item,
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {width: 50%;}
}
@media (max-width: 600px) {
	#wpadminbar {top: 0; position: fixed;}
}
@media (max-width: 500px) {
	.gallery-columns-2 .gallery-item,
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item,
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item {width: 100%;}
	.gallery .gallery-icon {padding-bottom: 0;}
	.gallery-icon img, .gallery-icon.landscape img {position: relative; display: block; max-width: 100%; height: auto; width: 100%;}
}

/* --- Theme --- */

.admin-bar .header {top: 40px;}
.admin-bar > main {padding-top: 32px; min-height: 300px;}
.admin-bar .header-menu .container {padding-top: 130px;}
.article-text img {width: 100%; height: auto; margin: 24px 0; -o-object-fit: cover; object-fit: cover; border-radius: 8px}
.header-nav__list-item.current .header-nav__link,
.header-nav__submenu-item.current  .header-nav__submenu-link,
.footer__menu-link.current {color: #7ba60f;}
.countries-head__letter-buttons {width: 100%;}
.filter-form__apply-button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:100%;padding:14px 24px;color:#8bbb11;background-color:#fff;font-weight:700;text-transform:uppercase;-webkit-transition:color 0.3s,background-color .3s;transition:color 0.3s,background-color .3s;font-size:14px;line-height:1}
.filter-form__apply-button:hover{color:#fff; background-color:#8bbb11;}
.case-card__labels .label--green {order: 0;}
.case-card__labels .label--grey {order: 1;}
.destination-template-default .service-cost-item__desc a {
	color: #8BBB11;
	font-weight: bold;
}
.destination-template-default .service-cost-item__desc p:not(:last-of-type) {
    margin-bottom: 5px;
}
@media screen and (max-width: 768px) {
	.article-text img {margin-top: 14px; margin-bottom: 14px;}
}

/* --- Contact Form 7 --- */

.wpcf7 form .wpcf7-spinner {display: none !important;}
.wpcf7 [type="submit"] {min-height: 58px;color: #fff;font-weight: 700;text-align: center;text-transform: uppercase;background-color: #8bbb11;padding: 10px 24px;border-radius: 8px;-webkit-transition: background-color .3s;transition: background-color .3s;font-size: 14px;line-height: 1;}
.wpcf7 [type="submit"]:hover {    background-color: #6c930a !important;}
.wpcf7 form .wpcf7-response-output {border: none !important; background: #95ba3c; padding: 20px !important; border-radius: 8px; margin-left: 0 !important; margin-right: 0 !important; font-size: 14px; color: #fff;}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {background: red;}
.wpcf7 form .wpcf7-not-valid-tip {font-size: 14px;}
.wpcf7 input,.wpcf7 textarea {
	margin-top: 10px;
}
.wpcf7 input[type="radio"] {
  appearance: none;
  background: #F7F7F7;
  border: 0px;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0 8px 0 0;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.wpcf7 input[type="radio"]:checked {
  background: #F7F7F7;
}

.wpcf7 input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #8bbb11;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wpcf7 input[type="radio"]:hover {
  border-color: #8bbb11;
}

.wpcf7 input[type="radio"]:focus {
  outline: 0px;
}
.wpcf7 select {
  appearance: none;
  background: #F7F7F7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding: 8px 36px 8px 14px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
}

.wpcf7 select option {
  background: #F7F7F7;
  color: #333;
}
.wpcf7 form>p {
	padding-bottom: 15px;
}
/* --- Pagination (WP) --- */

.pagination-wp{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-top:24px}
.pagination-wp .wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;width:100%}
.pagination-wp .wrapper ul{display: block;}
.pagination-wp .wrapper ul li{display: inline-block; list-style: none;}
.pagination-wp .page-numbers.prev,
.pagination-wp .page-numbers.next{width:58px;height:58px;border-radius:8px;background-color:#fff;-webkit-transition:all .3s ease;transition:all .3s ease;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}
.pagination-wp .page-numbers.prev:active,
.pagination-wp .page-numbers.next:active{color:#6c930a!important}
.pagination-wp .page-numbers.prev{margin-right:auto}
.pagination-wp .page-numbers.next{margin-left:auto}
.pagination-wp .page-numbers.prev .icon,
.pagination-wp .page-numbers.next .icon{font-size:24px}
.pagination-wp .page-numbers.prev .icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}
.pagination-wp a.page-numbers:not(.prev):not(.next),
.pagination-wp span.page-numbers{min-width:36px;height:36px;text-align:center;border:1px solid #8bbb11;border-radius:50%;background-color:#fff;-webkit-transition:all .3s ease;transition:all .3s ease;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:16px;line-height:1.1}
.pagination-wp a.page-numbers:active{background-color:#6c930a!important;border-color:#6c930a!important;color:#fff!important}
.pagination-wp span.page-numbers{cursor:default;pointer-events:none;background-color:#8bbb11;color:#fff}
.pagination-wp .pagination-disable{cursor:default;pointer-events:none;opacity:0}
.pagination-wp .dots{font-size:16px;line-height:1.1}
.pagination-wp .page-numbers.prev:hover,
.pagination-wp .page-numbers.next:hover {color: #7ba60f;}
.pagination-wp a.page-numbers:not(.prev):not(.next):hover {background-color: #7ba60f;border-color: #7ba60f;color: #ffffff;}