/*
 Theme Name:     Meridia
 Theme URI:      https://www.extanet.com
 Description:    Meridia Theme
 Author:         Extanet
 Author URI:     https://www.extanet.com
 Template:       astra
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css?family=Raleway:300,400,700');
@import url('https://fonts.googleapis.com/css?family=Cinzel');

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    display: block;
    height: 40px;
    float: right;
    width: 165px;
    color: rgb(51, 51, 51);
    text-align: center;
    line-height: 0;
    margin-top: 7px;
    margin-bottom: 30px;
    font-size: 14px;
    text-transform: uppercase;
    background: rgb(235, 235, 235);
    border-width: thin;
    border-style: solid;
    border-color: rgb(235, 235, 235);
    border-image: initial;
    transition: all 0.5s ease-in-out;
}

a:hover, a:focus {
    text-decoration: none !important;
}
/*
article header {
	display:none !important;
}
*/  

.wpr-grid-item {
	max-height: 380px;
	overflow: hidden;
}

.wpr-grid-item-title .inner-block a {
    min-height:46px
}

.wpr-grid-item-excerpt .inner-block p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.banner .cms-btn, .banner .hd-text, .banner .sub-text, .david-section-wrapper .hd-text, .david-section-wrapper .sb-text, .real-patient-wrapper .hd-text, div, p, p span {
    font-family: 'Poppins','raleway','Nunito';
    font-style: normal;
}

.post-thumb-img-content {
	position: relative;
	height: 300px;
	display: flex;
	justify-content: center;
}

.post-thumb-img-content .wp-post-image {
	object-fit: contain;
	height: 100%;
	object-position: center;
}

.post-thumb-img-content .wp-post-image {
	/* position: absolute; */
	/* width: auto%; */
	/* object-fit: cover; */
	/* top: -50%; */
	height: auto;
}

@media only screen and (max-width:951px) {
	.pass-protected {
		width: 80% !important;
		margin: 50px auto 0;
	}

	.pass-protected  p {
		text-align:center;
	}

	.pass-protected input { 
		width:100%;
	}
}