
/* 
 Theme Name:     Samanth Theme
 Author:         Mansi Soft
 Author URI:      
 Template:       Divi
 Version:        1.0.3
*/ 


/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */ 

.logo_container a{font-size:2em; font-family:'Abhaya Libre',Georgia,"Times New Roman",serif; font-weight: 800;}

.mfp-iframe-holder .mfp-close, .mfp-image-holder .mfp-close{top:-40px;}

/*--------- Media & Press ---------*/
.flexboxgrid .et_pb_code_inner {display: flex; flex-wrap: wrap; }

.press_item{width:33%; display:inline-grid; padding:30px; background-color:#f2f2f2; min-height:160px; position:relative; transition: all 0.5s ease;}
.press_item:nth-child(odd){background-color:#00adef20;}
.press_item:nth-child(even){background-color:#00adef55;}
.press_item:hover {background-color:#00adef; color:#fff;}
.press_item:hover h2 a{color:#fff;}
.media_source{text-transform:capitalize; font-size:1.2em;}

.press_item h2 a{line-height:1.2em; font-weight:bold;}

.press_item .b_post_meta{/* position:absolute;  bottom:30px; left:30px; */ text-transform:uppercase; font-size:12px;}

@media screen and (max-width: 1024px) {
	.press_item{width:30%;}
	.press_item h2 a{font-size:18px;}
}

@media screen and (max-width: 980px) {
	.press_item{width:49%;}
	.press_item h2 a{font-size:18px;}

	.logo_container a {font-size:1.6em;}
}
@media screen and (max-width: 680px) {
	.press_item{width:100%; height:160px;}
	#logo_link{font-size:2em;}
}

/*--------- videos ---------*/
.video_item{width:33%; display:inline-grid; padding:0px; background-color:#f2f2f2; height:400px; position:relative; transition: all 0.5s ease;}
.video_item .blog_item_left{padding:0px 30px 0px 30px;}
/* .video_item .entry-featured-image-url{margin-bottom:0px !important;} */
.video_item:hover {background-color:#333; color:#fff;}
.video_item:hover h2 a{color:#fff;}

.video_item h2 a{line-height:1.2em; font-weight:bold;}

.video_item .b_post_meta{position:absolute; bottom:30px; left:30px; text-transform:uppercase; font-size:12px;}

@media screen and (max-width: 1024px) {
	.video_item{width:30%; height:346px;}
	.video_item h2 a{font-size:18px;}
}

@media screen and (max-width: 980px) {
	.video_item{width:49%;}
	.video_item h2 a{font-size:18px;}
}
@media screen and (max-width: 680px) {
	.video_item{width:100%; height:auto; padding-bottom:60px;}
}

/* Styling CF7 to look like the Divi Contact Form */

.contact_form{ float:none; clear:both; display:block;}

/*.contact_form .wpcf7-text, .contact_form .wpcf7-textarea, .contact_form .wpcf7-captchar, .contact_form .wpcf7-select{border-radius:5px !important; background-color:#fff; border: 1px solid #333; color:#333 !important;}

.contact_form .wpcf7-submit{background-color:#fff; color:#2664ab !important; border-radius:25px; text-transform:uppercase; padding:8px 49px; }
.contact_form .wpcf7-submit:hover{background-color:#2664ab; color:#fff !important; padding:8px 49px;}
*/
.contact_form select{
	width: 100%; height: auto; overflow: hidden; background: url(images/select_arrow.png) no-repeat right #fff;
	border: 1px solid #333; background-size: 25px; background-position: 99% 50%; padding: 16px 10px; -webkit-appearance:none;
}

.form_row{ margin-bottom:20px; }
.one-half,
.one-third {
    position: relative; margin-right: 4%; float: left;
    /*margin-bottom: 20px;*/
}
 
.one-half { width: 48%; }
.one-third { width: 30.66%; }
 
.last {
    margin-right: 0 !important; clear: right;
}
 
@media only screen and (max-width: 767px) {
    .one-half, .one-third { width: 100%; margin-right: 0; }
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-select {
	background-color: #fff !important; width: 100% !important;
	-moz-border-radius: 5px !important; -webkit-border-radius: 5px !important; border: 1px solid #999 !important; border-radius: 0px !important;
	font-size: 14px;
	color: #333 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;	
}
.wpcf7-textarea{height:100px; background:none; background-color:#fff;width:351px; border: 1px solid #333; border-radius:0px;}
.wpcf7-submit {
	background-color:#fff;
	color: #f5821f !important;
	/* margin: 0.5em; */
	cursor: pointer;
	font-size: 1.20em;
	font-weight: 500;
	text-transform:25px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 0px;
	padding: 8px 49px;;
	line-height: 1.7em;
	border: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.64);
	-moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.64);
	box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.64);
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover {
	background-color:#00adef; color:#fff !important;
}

.wpcf7-not-valid-tip{text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.0); font-weight:600 !important;}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{margin:24px; color:#fff;}
.wpcf7-mail-sent-ok{color:#fff;}

.math-captcha, .mathcaptcha-69{color:#fff;}

/*-- start: custom footer sitemap --*/


/* -- start: people grid -- */
.speaker_list .speaker_item_style{ width:25%; margin:0 auto; padding:20px; float:left; height:340px; position:relative;}
.speaker_list .speaker_item_style .g_image_wrap img{ max-width:200px; max-height:200px; cursor: pointer; border-radius: 0%; border: 0px solid #ccc; 
    /* background: radial-gradient(circle at center, #3c5da7 60%, #3c5da7 61%); */
	background-color:#000;
}

.speaker_list .g_speakerimage{position:relative; display:table; margin:0 auto;}
.speaker_list .rollspeaker{display:none;}
.speaker_list .rollspeaker.show{display:block; position:absolute; width:200px; height:200px; top:0; left:0; background-color:rgba(30,30,30,0.5);border-radius:0%; cursor:pointer;}
.speaker_list .rollspeaker span{display:inline-block; position:relative; top:81%; left:0px; line-height:normal; color:#fff; width: 100%;
    background-color: rgba(0,0,0,0.6); padding: 10px; font-size: 13px;}

.speaker_profile{display:none; max-width:650px; width:100%; height:auto; z-index:1; background-color:#008CBF; padding:30px; color:#fff; font-weight:400; margin:0 auto; position:relative;}
.mfp-content .speaker_profile{display:block;}
.speaker_profile div{float:left;}
.profile_pic{width: 30%; text-align: center; margin-right: 10px; font-size:12px;}
.profile_pic img {border-radius: 8%; border: 0.5em solid #fff; width: 150px;}
.profile_text{width:66%; border-left:1px solid #fff; padding-left:18px; font-size:14px;}
.speaker_profile .g_title{font-weight:bold; border-bottom:1px solid #fff; padding-bottom:5px; font-size:1.4em;}
.speaker_profile .g_designation{padding-bottom:5px; line-height:normal; padding-top:4px;}
.speaker_profile .g_country{line-height:1.2em;}
.speaker_profile .mfp-close{color:#fff !important;}

.speaker_list .speaker_item_style .g_description{font-size:0.8em; line-height:1.3em;}
.speaker_list .speaker_item_style .g_designation{padding-bottom:0.2em;}
.speaker_list .speaker_item_style .g_content{text-align:center;}
.speaker_list .speaker_item_style .g_header { padding-bottom:10px; margin-bottom:10px; border-bottom:1px solid #999; font-size:14px;}
.speaker_list .speaker_item_style .g_header a{color:#000; line-height:1.2em; font-size:1.125em; text-transform:uppercase; }
.speaker_list .speaker_item_style .g_header a:hover{color:#1f285b;}
.speaker_list .speaker_item_style .g_country{/*text-transform:uppercase;*/}
@media only screen and (max-width:1024px){
	.speaker_list .speaker_item_style{ width:33%; height:340px;}
}
@media only screen and (max-width:768px){
	.speaker_list .speaker_item_style{ width:50%; height:340px;}

	.speaker_profile div{float:none;}
	.profile_pic{width: 90%; margin-right: 0px; margin:0 auto;}
	.profile_text{width:90%; border-left:none; padding-left:0px; margin:0 auto; border-top:1px solid #fff; padding-top:24px;}
}
@media only screen and (max-width:488px){
	.speaker_list .speaker_item_style{ width:100%; height:315px;}
}
/* -- end: people grid -- */

.slick-initialized .slick-slide{margin-bottom:0px !important;}

.video_link:after{
	font-family: ETmodules;
    content: "\49";
	position:absolute;
	left:50%;
	top:50%;
	font-size:72px; color:#fff; 
	margin-left: -40px; margin-top: -10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}
.speeches_videos .video_link:after{display:none;}

.grid-title-only .speaker_list .speaker_item_style{height:254px;}

/*----- Custom CSS for Samanth ------*/

/*-- start: change next entries to Newer posts --*/
.blog-grid .pagination > .alignleft a:before {
    content: '« Older Posts';
    visibility: visible;
}
.blog-grid .pagination > .alignleft a {
    visibility: collapse;
}
.blog-grid .pagination > .alignright a:before {
    content: 'Newer Posts »';
	float:right;
    visibility: visible;
}
.blog-grid .pagination > .alignright a {
    visibility: collapse;
}
/*-- end: change next entries to Newer posts --*/

.post-meta a{color:#ff6d4a !important;}

/*-- blog grid  --*/
.blog-grid article{ width: 30%;}
.blog-grid .et_pb_ajax_pagination_container{display: flex; flex-wrap: wrap; justify-content: space-between;}
.blog-grid  .et_pb_ajax_pagination_container>div:last-child{width:100%;}
@media only screen and (max-width:768px){
	.blog-grid article{ width: 100%;}
	.blog-grid .et_pb_ajax_pagination_container{display: flex; flex-wrap: wrap; justify-content: space-between;}
	.blog-grid  .et_pb_ajax_pagination_container>div:last-child{width:100%;}
}