/*
 Theme Name: florencetheme
 Theme URI: https://florenceteam.com/
 Author: FLORENCE TEAM
 Author URI: mailto:info@florenceteam.com
 Description: Powered by FLORENCE company
 Version: 1.0
 License: Free
 Text Domain: florenceteam
*/

@font-face {
	font-family: 'YekanBakhFaNum';
	src: url('fonts/YekanBakhFaNum-Bold.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face {
	font-family: 'YekanBakhFaNum';
	src: url('fonts/YekanBakhFaNum-Regular.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
@font-face {
	font-family: 'YekanBakhFaNum';
	src: url('fonts/YekanBakhFaNum-Light.woff2') format('woff2'), url('fonts/YekanBakhFaNum-Light.woff') format('woff');
	font-weight: 300;
	font-style: normal;
	font-stretch: normal;
	font-display: swap;
}
:root {
	--bs-primary: #0637a5;
	--bs-secondary: #dd2931;
	--bs-body-font-size: 15px;
	--bs-body-color: #5b5b5b;
	--bs-body-color-rgb: 91, 91, 91;
	--bs-light: #f5f5f5;
	--bs-light-rgb: 245, 245, 245;
	--bs-dark: #313131;
	--bs-dark-rgb: 49, 49, 49;
	--bs-primary-rgb: 6, 55, 165;
	--bs-secondary-rgb: 221, 41, 49;
	--bs-link-color: #0637a5;
	--bs-link-color-rgb: 6, 55, 165;
	--bs-link-hover-color: #dd2931;
    --bs-link-hover-color-rgb: 221, 41, 49;
	--bs-body-font-family: YekanBakhFaNum, Arial, tahoma;
	--bs-box-shadow: 0 8px 16px rgba(96, 97, 112, 0.16); 
	--bs-border-radius: 8px;
	--bs-success: rgb(6, 194, 112);
	--bs-success-rgb: 6, 194, 112;
	--bs-danger: #ff3b3b;
	--bs-danger-rgb: 255, 59, 59;
	font-size: 15px;

	--bs-primary-darker: #0B1F52;
	--bs-primary-lighter: #707070;
	--bs-primary-subtle: #E8E8E8;

	--bs-secondary-darker: #C5E51A;
	--bs-secondary-lighter: #B9D81D;
	--bs-secondary-subtle: #F6F2E7;

}

.bg-primary-darker {
	background: var(--bs-primary-darker);
}
.bg-primary-lighter {
	background: var(--bs-primary-lighter);
}
.bg-secondary-darker {
	background: var(--bs-secondary-darker);
}
.bg-secondary-lighter {
	background: var(--bs-secondary-lighter);
}
.text-primary-darker {
	color: var(--bs-primary-darker)
}

.shadow {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.20) !important;
}
.inner-m-0 p:last-child {
	margin: 0;
}

body {
	line-height: 2;
}
img {
	max-width: 100%;
}
a {
	text-decoration: none;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	line-height: 2;
	font-weight: bold;
}
.h1, h1 {
	font-size: 18px;
}
.h2, h2 {
	font-size: 16px;
}
.h3, h3 {
	font-size: 15px;
}
.fs-16 {
	font-size: 16px;
}
.fs-14 {
	font-size: 14px;
}
.fs-13 {
	font-size: 13px;
}
.fs-12 {
	font-size: 12px;
}
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], select, textarea {
	border: 1px solid #d9e4ee !important;
	background: #fff;
	padding: 0 1.5rem !important;
	line-height: 60px !important;
	height: 60px !important;
	font-family: YekanBakhFaNum !important;
	border-radius: calc(var(--bs-border-radius) * 1.5) !important;
}
textarea {
	display: block;
	height: auto !important;
	min-height: 165px !important;
	line-height: 2em !important;
}
[type=email], [type=number], [type=tel], [type=url] {
	direction: rtl;
}
video {
	max-width: 100%;
	height: auto;
}
iframe {
	display: block;
	max-width: 100%;
	width: 100%;
}
.text-justify {
	text-align: justify;
}
.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
}
.btn-secondary {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: transparent;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #999;
    --bs-btn-disabled-border-color: #666;
}
.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-success);
    --bs-btn-border-color: var(--bs-success);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #157347;
    --bs-btn-hover-border-color: #146c43;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #146c43;
    --bs-btn-active-border-color: #13653f;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #23B93C;
    --bs-btn-disabled-border-color: #23B93C;
}
.btn, button {
	padding: 0 1.5rem;
	font-size: 1rem;
	height: 55px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
    border-radius: 12px;
}
.btn-arrow:after {
	content: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 8L6 12M6 12L10 16M6 12L18 12' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	height: 24px;
}
.btn-small {
	height: 35px;
	padding: 0 0.75rem;
	border-radius: 5px;
}

.filter-white {
	filter: brightness(0) invert(1);
}

.icon-16 {
	width: 16px;
	height: 16px;
}
.icon-20 {
	width: 20px;
	height: 20px;
}
.icon-24 {
	width: 24px;
	height: 24px;
}
.icon-30 {
	width: 30px;
	height: 30px;
}
.icon-36 {
	width: 36px;
	height: 36px;
}
.icon-40 {
	width: 40px;
	height: 40px;
}
.icon-72 {
	width: 72px;
	height: 72px;
}

a.text-body:hover {
	color: var(--bs-primary) !important;
}

.cursor-pointer {
	cursor: pointer;
}

.leaflet-popup-content {
	font-family: YekanBakhFaNum, Arial, tahoma;
}

.main ::-webkit-scrollbar {
    width: 5px;
	height: 5px
}
.main ::-webkit-scrollbar-track {
    background: #D9D9D9;
	border-radius: 5px;
}
.main ::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
	border-radius: 5px;
}

body.home header {
	position: absolute;
    top: 1.5rem;
    right: 0;
    width: 100%;
    z-index: 100;
}
body.home.admin-bar header {
	top: calc(32px + 1.5rem);
}
header .header-inner {
	box-shadow: 0 0 5px rgba(0,0,0,0.25);
	border-radius: 1rem;
}
body.home .header-inner {
	box-shadow: none;
	border-radius: 0;
}
.logo-holder {
	display: inline-flex;
	background: #ffffff;
    padding: 0.5rem;
    border-radius: 10px;
}
.menu-l1 > li > a {
    color: var(--bs-primary-darker);
    font-size: 17px;
    font-weight: bold;
}
body.home .menu-l1 > li > a {
    color: #fff;
}
.menu-l1 > li > a:hover {
    color: var(--bs-secondary);
}

.hero {
	background: linear-gradient(109deg, rgba(11, 31, 82, 0) -18.86%, rgb(11, 31, 82) 51.45%), url(images/hero-bg.webp) calc(100% - 13.232px) -300.268px / 143.451% 136.905% no-repeat rgb(211, 211, 211);
	min-height: 950px;
	padding: 5rem 0;
}
.hero-map-1 {
	position: absolute;
	right: -50px;
	top: 0;
}
.hero-map-2 {
	position: absolute;
	right: 0;
	bottom: 0;
}
.hero-main {
	position: absolute;
	left: 50px;
	bottom: 0;
}

.title-h2 {
	font-size: 32px;
}
.title-h3 {
	font-size: 20px;
}

.services {
	background: linear-gradient(0deg, #D1E6FF 0%, #FFFFFF 100%);
	padding: 3rem 0;
}
.services:before {
	content: '';
	position: absolute;
	width: 1px;
	height: 100%;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	background: rgba(26, 43, 74, 0.2);
}
.services-items > div {
	padding: 3rem 0;
}
.services-items > div:not(:last-child) {
	border-bottom: 1px solid rgba(26, 43, 74, 0.2);
}

.student-visa {
	padding: 6rem 0;
	position: relative;
	overflow: hidden;
}
.country-map {
	position: absolute;
	bottom: -45px
}
.country-map.italy {
	left: -45px;
}
.country-map.russia {
	right: -45px;
}
.country-en {
	font-size: 90px;
	position: relative;
	top: 8px;
	line-height: 1;
}
.st-visa-holder ul {
	list-style: none;
}
.st-visa-holder ul li {
	width: calc(50% - 0.25rem);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.st-visa-holder ul li:before {
	content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.0303 10.0303C16.3232 9.73744 16.3232 9.26256 16.0303 8.96967C15.7374 8.67678 15.2626 8.67678 14.9697 8.96967L10.5 13.4393L9.03033 11.9697C8.73744 11.6768 8.26256 11.6768 7.96967 11.9697C7.67678 12.2626 7.67678 12.7374 7.96967 13.0303L9.96967 15.0303C10.2626 15.3232 10.7374 15.3232 11.0303 15.0303L16.0303 10.0303Z' fill='%230B1F52'%3E%3C/path%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12Z' fill='%230B1F52'%3E%3C/path%3E%3C/svg%3E");
	width: 24px;
	height: 24px;
}
.student-visa:before {
	content: '';
	width: 50%;
	height: 300px;
	position: absolute;
	border-radius: 50%;
	bottom: -150px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--bs-primary);
	filter: blur(80px);
}

.visas {
	padding: 7rem 0;
    background: #FFF4F3;
}
.visa-item {
    background: #fff;
    padding: 0.5rem;
    border-radius: 1rem;
}
.visa-carousel .owl-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem
}
.visa-carousel .owl-dots button {
	width: 30px;
	height: 10px;
	border-radius: 10px;
	background-color: var(--bs-secondary);
	opacity: 0.25;
}
.visa-carousel .owl-dots button.active {
	opacity: 1;
}

.blog-link:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(15, 40, 103, 0) 0%, #0f2867 100%);
}

.title-banner-inner {
	height: 440px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.rank-math-breadcrumb p {
	color: #fff;
	margin: 0;
	font-size: 1.2rem;
}
.rank-math-breadcrumb a {
	color: #fff;
}
body.single-post .rank-math-breadcrumb p {
	color: var(--bs-body-color);
	font-size: 1rem;
}
body.single-post .rank-math-breadcrumb a {
	color: var(--bs-body-color);
}
.rank-math-breadcrumb a:hover {
	color: var(--bs-secondary)
}

.post-content-inner img, .post-content-inner video {
	margin: 0 auto;
	border-radius: var(--bs-border-radius);
	display: block;
	height: auto;
}
.post-content-inner h2, .post-content-inner h3, .post-content-inner h4 {
	color: vaR(--bs-primary-darker);
	position: relative;
	padding: 0 0 0.5rem;
	margin-bottom: 1rem;
}
.post-content-inner h2:before, .post-content-inner h3:before, .post-content-inner h4:before {
	content: '';
	width: 30px;
	height: 3px;
	border-radius: 10px;
	background: vaR(--bs-secondary);
	position: absolute;
	right: 0;
	bottom: 0
}
.related-article {
	box-shadow: 0 0 4px 2px rgba(223, 204, 171, 0.25);
}
.related-article img {
	height: 85px;
}
.toc-holder {
	position: sticky;
	top: 1rem;
}
body.admin-bar .toc-holder {
	top: calc(1rem + 32px);
}
.toc-list {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.toc-list li a {
	color: var(--bs-primary-darker);
	font-size: 14px;
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}
.toc-list li a:hover {
	color: var(--bs-secondary);
}
.toc-list li a:before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor
}

.post-content-inner figure.wp-block-table {
	margin: 1.5rem 0;
}
.post-content-inner figure.wp-block-table table {
	margin: 0;
    border-collapse: separate;
    border-spacing: 0px 0;
}
.post-content-inner figure.wp-block-table table tr th:first-child, .post-content-inner figure.wp-block-table table tr td:first-child {
    border-radius: 0 10px 10px 0;
}
.post-content-inner figure.wp-block-table table tr th:last-child, .post-content-inner figure.wp-block-table table tr td:last-child {
    border-radius: 10px 0 0 10px;
}
.post-content-inner table thead th {
    background: var(--bs-primary-darker) !important;
    color: #fff;
	border-bottom: none;
}
.post-content-inner table th, .post-content-inner table td {
    padding: .75rem 1rem;
    text-align: right;
    vertical-align: top;
    color: var(--bs-body-color);
    border: none;
}
.post-content-inner table tbody tr:nth-child(even) td, .post-content-inner table tbody tr:nth-child(even) th:not(:first-child) {
    background: var(--bs-light)
}

#rank-math-faq .rank-math-list  {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
#rank-math-faq .rank-math-list-item .rank-math-question {
    margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-weight: bold;
	margin: 0;
    padding: 0;
	color: #fff;
	background: var(--bs-primary-darker);
	padding: 1rem;
	border-radius: 1rem;
}
#rank-math-faq .rank-math-list-item .rank-math-question:before {
    display: none;
}
#rank-math-faq .rank-math-list-item .rank-math-question:after {
    content: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='matrix(-0 -1 1 -0 0 40)'%3E%3Cg transform='translate(15.417 10.417)'%3E%3Cpath d='M0.27396 0.469177C0.705222 -0.0699005 1.49184 -0.157302 2.03091 0.27396L9.58338 6.31593L17.1358 0.273961C17.6749 -0.157301 18.4615 -0.0698996 18.8928 0.469178C19.3241 1.00826 19.2367 1.79487 18.6976 2.22613L10.3642 8.8928C9.90773 9.25801 9.25904 9.25801 8.80251 8.8928L0.469177 2.22613C-0.0699005 1.79487 -0.157302 1.00825 0.27396 0.469177Z' fill='%23ffffff' fill-rule='evenodd' transform='matrix(-0 1 -1 -0 9.167 0)' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	height: 30px;
	transition: all 0.3s ease-in-out;
}
#rank-math-faq .rank-math-list-item.active .rank-math-question {
	background: var(--bs-secondary);
}
#rank-math-faq .rank-math-list-item.active .rank-math-question:after {
	transform: rotate(180deg);
}
#rank-math-faq .rank-math-list-item .rank-math-answer {
    display: none;
	background: var(--bs-light);
	border-radius: 0 0 1rem 1rem;
	margin: 0 1rem;
    padding: 0 1rem;
}
#rank-math-faq .rank-math-list-item .rank-math-answer p {
    padding: 1rem 0;
    margin: 0;
}

footer {
	background: #E7EBFB;
	margin-top: 3rem;
	border-radius: 20px 20px 0 0;
}
footer .fluentform {
	position: relative;
}
footer .ff_submit_btn_wrapper {
	position: absolute;
	left: 8px;
	top: 8px;
	margin: 0 !important;
}
footer .ff_submit_btn_wrapper button {
	width: 46px;
	height: 46px;
	padding: 0;
}
footer .ff-el-group {
	margin: 0 !important;
}
.footer-boxes {
	background: #042D8B;
	background: linear-gradient(0deg, rgba(4, 45, 139, 1) 0%, rgba(0, 23, 82, 1) 100%);
	padding: 3rem 0;
}
.footer-boxes:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: url(images/world-map-dotted.webp) no-repeat top center / cover;
	opacity: 0.25;
}
.social-item {
	width: 50px;
	height: 50px;
	border-radius: 10px;
	background: var(--bs-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
footer a {
	color: rgba(255, 255, 255, 0.7);
}

@media only screen and (max-width: 767px) {
	body.mobile-menu-active .main:before {
		content: '';
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.7);
		position: absolute;
		right: 0;
		top: 0;
		z-index: 50;
	}
	.h1, h1 {
		font-size: 16px;
	}
	.h2, h2, .h3, h3 {
		font-size: 15px;
	}
	
}