/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

@import url('https://fonts.googleapis.com/css2?family=Anek+Devanagari:wght@100..800&display=swap');

body, h1, h2, h3, h4, h5, h6, a, ul li{font-family: "Anek Devanagari", sans-serif!important; transition: all .3s; -o-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s;}
h1{font-size:50px!important;}
h2{font-size: 35px!important;}
h3{font-size:35px!important;}
h4{font-size:30px!important;}
h5{font-size:25px!important;}
h6{font-size:20px!important;}
p{font-family: "Anek Devanagari", sans-serif!important;}
ul{}
ul li{}

#header{}
#nav .home-icon{}
#nav .home-icon a{font-size:0;}
#nav .home-icon a:after{content:'\f015';display: block;font-family: fontawesome;color: #fff;font-size: 22px;position: relative;background: initial;transform: initial;opacity: 1;}
#nav{position:sticky;top:0;background: #2993a0;}
#nav a{color: #fff;padding: 5px 10px 2px 10px;line-height: initial;color: #fff;font-weight: 600!important;}
#nav ul{padding:0 12px;}
#nav li.current-menu-item a, #nav li:hover a{background: #04d5e6;color:#000;border-radius:5px;}

.slider{padding: 0;margin: 0;list-style: none;}
.slider li{position:relative}
.slider li:first-child{width:50%;height: 450px;}
.slider li:first-child a{}
.slider li:first-child h1{font-size: 25px!important;}
.slider li:first-child p{display: block;margin-bottom: 10px;}
.slider li .cat{position:absolute;top: 10px;width: auto;background: #2993a0 !important;color: #fff;padding: 7px 8px 2px 8px;font-size: 12px;margin: 0;display: block;}
.slider li{width: 25%;float:left;position:relative;background-size: cover;background-position: center center;border: 5px solid #fff;height: 225px;border-radius: 20px;}
.slider li:after{content:'';position:absolute;left:0;top:0;width:100%;height:100%;background: -webkit-linear-gradient(top, #fff 0%, #000 100%);background: linear-gradient(to bottom, #fff0 0%, #000 100%);opacity: .9;border-radius: 20px;}
.slider li:nth-child(2), .slider li:nth-child(3){width:25%;} 
.slider li h1{}
.slider li p{display:none}
.slider li p.date{display:block}
.slider li:last-child a{}
.slider a{display:block;padding: 20px;position: absolute;bottom: 0;}
.slider h1{font-size: 20px!important;font-weight: bold;margin-bottom: 5px;}
.slider p{margin:0;line-height: 1.2!important;}
.slider h1, .slider p{position:relative;z-index:9;color: #fff;line-height: 1.1;margin-top: 0;float: left;width: 100%;}
.slider li:nth-child(4){width: 50%;}
.slider li:hover{transform:scale(1.02)}
.slider li:hover h1{color: #01b7d4;}

.elementor-widget-heading{}
.elementor-widget-heading h5{font-size: 25px!important;}
.elementor-widget-heading hr{margin: 0px 0;border: 1px solid #e0e0e0;opacity: .1;}

article {position:relative; margin-bottom:15px!important}
article .elementor-post__thumbnail{transition: all .3s; -o-transition: all .3s; -webkit-transition: all .3s; -ms-transition: all .3s;}
article:hover .elementor-post__thumbnail{transform: scale(1.05)!important;}
article:hover .elementor-post__title a{color:#01b7d4!important}
article .elementor-post__read-more{font-size: 17px!important;color: #2993a0!important;font-weight: 600!important;}
article .elementor-post__text h2{line-height: 0.5!important;margin-bottom: 5px!important;}
article .elementor-post__text h2 a{font-size: 17px;}

.first .elementor-posts-container{--grid-row-gap: initial;}
.first .elementor-posts-container article:first-child{width:100%;padding: 0!important;border-radius: 20px;}
.first .elementor-posts-container article:first-child a{margin:0!important}
.first .elementor-posts-container article:first-child:after{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: -webkit-linear-gradient(top, #fff 0%, #000 100%); background: linear-gradient(to bottom, #fff0 0%, #000 100%); opacity: .9;}
.first .elementor-posts-container article:first-child .elementor-post__thumbnail__link{width: 100%!important;}
.first .elementor-posts-container article:first-child .elementor-post__meta-data, .first .elementor-posts-container article:first-child .elementor-post__excerpt{display:none}
.first .elementor-posts-container article:first-child .elementor-post__text{position:absolute;left:0;bottom:0;z-index:9;width: 100%;padding: 10px 20px;}
.first .elementor-posts-container article:first-child a{color:#fff;margin: 0;padding: 0;}

.boxstyle1 .elementor-posts-container{display:block;}
.boxstyle1 article{width: 50%;float: left;display: block!important;padding-right: 10px!important;}
.boxstyle1 article:nth-child(odd){padding-right:0!important; padding-left:10px;}
.boxstyle1 .elementor-post__thumbnail__link{width: 100%!important;margin-bottom: 10px;}
.boxstyle1 .elementor-post__thumbnail__link img{border-radius: 20px;}
.boxstyle1 .elementor-post__excerpt{display:none}

.boxstyle2{}
.boxstyle2 .elementor-post__excerpt{display:none}
.boxstyle2 article{border-bottom: 1px solid #e0e0e0;padding-bottom: 10px!important;}
.boxstyle2 article:last-child{border:0}

.boxstyle3{}
.boxstyle3 .elementor-post__thumbnail__link{margin-bottom:0!important}
.boxstyle3 .elementor-post__title{margin-bottom:20px!important}
.boxstyle3 .elementor-post__text{margin:0!important;padding: 30px 15px!important}
.boxstyle3 .elementor-post__title{line-height:20px!important;margin-bottom: 10px!important;}
.boxstyle3 .elementor-post__title a{font-size: 22px!important;color: #000;}
.boxstyle3 .elementor-post__meta-data{padding:15px!important;}
.boxstyle3 .elementor-post__meta-data *{color:#000}

.boxstyle4 .elementor-post{background:#fff}
.boxstyle4 .elementor-post__thumbnail__link{margin:0!important}
.boxstyle4 p{display:none}
.boxstyle4 .elementor-post__title a{color:#000!important;font-size: 20px;padding:15px;display: block;}
.boxstyle4 .elementor-post__meta-data{border-top:1px solid #eaeaea;margin: 0!important;padding: 15px!important;}
.boxstyle4 .elementor-post__meta-data *{color:#000}
.boxstyle4 .elementor-post__meta-data ~ *{display:none}

.pum-container:after{content:'';background: url('https://biotechnewshubb.com/wp-content/uploads/2025/09/2151887054.jpg');display:block;position:absolute;left:0;top:0;width:40%;height:100%;background-size: cover;background-position: center center;}
.pum-container{padding: 40px 50px 40px 26%!important;}
.pum-container h5{margin: 0;}
.pum-container hr{opacity:.2; margin-bottom:20px!important}

.wpforms-container{margin:0!important}
.wpforms-container .wpforms-field-row.wpforms-field-medium{max-width:100%!important}
.wpforms-container input{max-width:100%!important}
.wpforms-container .wpforms-field{padding:0!important; margin-bottom:20px!Important}
.wpforms-container legend, .wpforms-container label{margin: 5px 0!important;}
div.wpforms-container-full button[type=submit]:not(:hover):not(:active){background: #2993a0!important;color: #fff!important;}

#footer p a{color: #01b7d4;}
#footer p, #footer a{font-family: "Anek Devanagari", sans-serif!important;margin: 0;font-size: 16px;font-weight: 400;}
#footer label, #footer legend{color:#fff!Important;margin-top: 0!important;font-weight: 300;color: #919191!important;font-size: 16px;font-family:"Anek Devanagari", sans-serif!important}
#footer input[type=email]{}
#footer .wpforms-submit{position:absolute;right: 0px;bottom: 21px;font-size: 15px;line-height: initial!important;padding: 10px 12px;height: 41px;color: #fff!important;text-transform: uppercase;border-radius: 0;background: #01b7d4!important;}
#footer .wpforms-container{margin:0!important}
#footer #wpforms-238-field_3-error{position:absolute;}

@media(max-width:1024px){
    .pum-container{padding: 40px 50px 40px 42%!important;}
    .slider li{width:50%!important;height: 300px!important;}
    .boxstyle2 .elementor-posts-container{display:block}
}
@media(max-width:767px){
    .boxstyle2 .elementor-posts .elementor-post{display:block}   
    .boxstyle2 article{width:50%;float:left;padding-right: 10px!important;}
    .boxstyle2 article:nth-child(odd){padding-right:0!important; padding-left:10px;}
    .pum-container{padding: 130px 10px 10px 10px!important;}
    .pum-container h5{font-size:18px!important;}
    .pum-container:after{width:100%;height: 100px;}
    .pum-container .wpforms-container .wpforms-field{margin-bottom:0!important}
    .boxstyle3 .elementor-post__excerpt{margin:0!important}
	#header{border-bottom:1px solid #f5f5f5}
    #header .elementor-menu-toggle{margin-right:10px;}
    #header .elementor-nav-menu--dropdown{position: fixed; left: 0; top: 140px; width: 100%; z-index: 99;}
    #header .elementor-nav-menu--dropdown a{font-size: 15px;border-top: 1px solid #33333324;padding: 10px;}
}
@media(max-width:575px){
    .slider li{width:100%!important}
    .slider a{padding:20px}
}