/*
Theme Name: Medina
Theme URI: http://promo-theme.com/medina-wp/
Author: Promo Theme
Author URI: http://promo-theme.com/
Version: 1.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medina
Description: Medina is the unique WordPress template for private clinics, clinic plastic-surgery, dental clinic and personal doctors pages. Everyone can find a suitable page for itself. We have tried to create the big set of components and styles for your unique website.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/**
 * 8.0 Alignments
 */

.alignleft {
	display: inline;
	float: left;
}

.alignright {
	display: inline;
	float: right;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
	margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
	margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
	margin-bottom: 1.2em;
}

/**
 * 14.1 Captions
 */

.wp-caption {
	margin-bottom: 1.6em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption-text {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

.gallery-caption {
	color: #707070;
	color: rgba(51, 51, 51, 0.7);
	display: block;
	font-family: "Noto Sans", sans-serif;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.5;
	padding: 0.5em 0;
}

div.sticky {
    margin: 10px 0;
}

.screen-reader-text {}

.bypostauthor {}



/* updates */

.icon-box-area.fw-row .icon-box-col {
	display: flex;
	flex-direction: column;
}

.icon-box-area.fw-row .icon-box-col a.button-style2 {
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;
	font-size: 14px;
	padding: 7px 25px;
}

.testimonials-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.testimonials-row .testimonial-button {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
}

.testimonials-row .testimonial-button a {
	padding: 15px 40px;
	border: 1px solid #2caee2;
	text-decoration: none;
	font-weight: bold;
}

.testimonials-row .testimonial-block {
	width: 30%;
	border: 1px solid #ddd;
	border-radius: 2px;
	text-align: center;
	padding: 10px;
	margin: 3px;
}

.testimonials-row .testimonial-block.review-four,
.testimonials-row .testimonial-block.review-five {
	width: 40%;
}

.testimonials-row .testimonial-block .t-image,
.testimonials-row .testimonial-block img.lazy.loaded {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	margin: auto;
	margin-top: 16px;
}

.testimonials-row .testimonial-block .t-txt-title {
	font-size: 16px;
	font-weight: bold;
}

.testimonials-row .testimonial-block .t-txt {
	font-size: 16px;
	line-height: 22px;
}

.testimonials-row .testimonial-block .t-name {
	font-size: 16px;
	margin-bottom: 0;
	color: #2caee2;
	font-weight: bold;
}

.testimonials-row .testimonial-block .t-title {
	font-size: 16px;
	margin-top: 0;
	margin-bottom: 0;
	color: #2caee2;
	font-style: italic;
}

.team-row {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.team-row .team-block {
	width: 32%;
	display: flex;
	flex-direction: column;
}

.team-row .team-block .title-block {
	background-color: #2caee2;
	color: #fff;
	text-align: center;
	padding: 12px;
}

.team-row .team-block .title-block .team-name {
	font-weight: bold;
	margin: 0;
	font-size: 18px;
}

.team-row .team-block .title-block .team-title {
	text-transform: uppercase;
	margin: 0;
}

.blog-items.fw-row .blog-item .fw-row .image a img {
	height: 257px;
	width: 100%;
	object-fit: cover;
}

.blog-items.fw-row .blog-item .fw-row h4 {
	height: 57px;
}

.blog-items.fw-row .blog-item .fw-row a.button-style2 {
	font-size: 14px;
	padding: 7px 25px;
}

header.header .fw-container #primary-menu #menu-item-50 {
	margin: 0 9px;
}

header.header .fw-container #primary-menu #menu-item-50 a {
	background-color: #2caee2;
	color: #fff;
	padding-left: 6px;
	padding-right: 6px;
}
@media screen and (max-width: 1212px) and (min-width: 991px) {
	header.header .fw-container #primary-menu {
		display: flex;
	}

	header.header .fw-container #primary-menu li {
		text-align: center;
	}
}

@media (max-width: 990px) {
	header.header .fw-container #primary-menu #menu-item-50 {
		margin: 0;
	}

	header.header .fw-container #primary-menu #menu-item-50 a {
		padding: 10px 20px;
	}
}
@media (max-width: 768px) {
	.blog-items.fw-row .blog-item .fw-row .image a img {
		height: auto;
	}
}
@media (max-width: 480px) {
	.testimonials-row .testimonial-block,
	.testimonials-row .testimonial-block.review-four,
	.testimonials-row .testimonial-block.review-five  {
		width: 90%;
	}

	.team-row {
		flex-direction: column;
	}

	.team-row .team-block  {
		width: 100%;
		margin-bottom: 10px;
	}

	.blog-items.fw-row .blog-item .fw-row h4 {
		height: auto;
	}
}