/*
 Theme Name:   Yaphank Child 
 Theme URI:    http://yfd.mehandiplanner.com/yaphank-child
 Description:  Yaphank Child Theme
 Author:       John Doe
 Author URI:   http://yfd.mehandiplanner.com/
 Template:     yaphank
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  yaphank-child
*/


/*

INSTRUCTIONS:

You need to change 'canvas' to the name to parent theme folder.

Please use the supplied custom.css for your customizations. 
This file should not have any CSS in it.

*/
@import url("../yaphank/style.css");

a:hover, a:focus{
    text-decoration: none;
    outline:none;
    box-shadow:none;
}


body{ background:url(../yaphank/images/body.jpg); margin:0; padding:0;}
.navbar{ max-width:inherit; background:#9e171b; border:none;min-height:inherit;border-radius:0px;-webkit-box-shadow: 0px 5px 7px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px 5px 7px 0px rgba(50, 50, 50, 0.75);
box-shadow:         0px 5px 7px 0px rgba(50, 50, 50, 0.75); z-index:100;position:static;}
.site-header {
  background: #000000 none repeat scroll 0 0 !important;
  height: 98px;
  left: 0;
  margin: 0 15px;
  position: absolute;
  right: 0;
}
.body-inner {
	background: #fff;
	position: relative;
	z-index: 10;
}
.navbar{margin:65px auto 0;}
.logo{ position:absolute; top:0; left:0; right:0; margin:auto; width:196px; z-index:100}
.slider-outer{ background:#7f0d0d;}
.slider{ position:relative; top:65px;}
.body-inner{ background:#fff;}
.header-left {
  float: left;
  margin-left:70px;
  margin-top: 0;
}
.fc button {
  padding: 0 4px !important;
}
.home-right{ padding-right:15px;}
.header-right {
  float: right;
  margin-right:0px;
  margin-top: 0px;
}
ul.nav-menu, div.nav-menu > ul{padding:0px; margin:0px;}
.nav-menu li a{ color:#fff; padding:16px 17px;}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a{ color:#fff; font-style:normal}
.home-banner{ margin:0px; padding:20px 0 !important; background:#eeeeee;}
.home-banner li{ list-style:none; text-align:center}
.home-banner li span{ text-align:center; display:block}
.main-navigation{ max-width:inherit;position:static;}

.current_page_item,.nav-menu li a:hover{ background:#000;}
.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta{ padding:20px 0 0; max-width:inherit; margin-bottom:0px;}

.body-inner h1{ font-size:30px; margin:0px; padding:0px;}
.body-inner h2{ background:#000; font-size:18px; color:#fff; padding:8px 15px;}

.sidebar .site-footer .widget{ width:auto;}
.widget{ padding:0px; background:none; margin:0px;}
footer{ margin:0px !important; background:#000; color:#fff; padding:20px 0;}
.sidebar .site-footer .widget-area{ left:0px; max-width:inherit}
.home-red{ font-size:18px; color:#9e171b; margin:0; padding:0;}
.entry-meta{ background:none}

h3 {
  border-bottom: 1px solid #ccc;
  font-size: 22px;
  margin: 22px 0;
  padding: 0 0 15px;
}

.wa_chpcs_image_carousel .wa_chpcs_prev, .wa_chpcs_image_carousel .wa_chpcs_next{ top:-45px;opacity:1 !important;}
.wa_chpcs_image_carousel .wa_chpcs_prev {
  background-position: 0 0;
  right:30px;
  left:inherit !important;
}
.wa_chpcs_image_carousel .wa_chpcs_next{right:0 !important;}

.wa_chpcs_title{ display:inline-block;}



.wa_chpcs_more a{ background:#9e171b; padding:6px 15px; color:#fff; font-size:13px;}
.wa_chpcs_more a:hover{ background:#000; text-decoration:none;}
.wa_chpcs_title a{ font-size:18px; color:#9e171b;}
.wa_chpcs_foo_content p{margin:0px;}
.wa_chpcs_more{margin-top:15px;display:block;}
.wa_chpcs_more a{color:#fff !important;}
.wa_featured_img {margin-bottom:15px;}

/*.ai1ec-agenda-widget-view > div{max-height:365px;overflow:auto;}*/
.ai1ec-btn-default{margin-top:15px;}


.team-container{margin:0px;padding:0px;}
.team-flat .team-title {
  padding: 10px 0 0 !important; 
  text-align: center;
  color:#9e171b;
  font-size:16px;
}
.team-flat .team-position {
  text-align: center;
  padding: 0px 0 0 !important;
}
.fc-center h2 {
  font-size: 9px;
  padding: 8px 15px;
}
.fc button {
  font-size: 12px;
  height: 28px;
  padding: 0 0.6em;
}
.archive-header{max-width:1000px;margin:auto;}
.entry-meta a{color:#9e171b;}
.entry-title a:hover{color:#666; text-decoration:none;}
.team-item{ background:#fff; padding:20px; border:solid 1px #e6e6e6;}
.team-container .team-social {
  padding: 0;
  text-align: center;
}
button, input, textarea {
  border:1px solid #ccc;
  font-family: inherit;
  padding:8px;
}
.weblizar_powered{ display:none;}
.quick-links{margin:0px; padding:0px;}
.quick-links li{ list-style:none;background:url(../yaphank/images/list-arrow.png) left 10px no-repeat; padding:5px 0 5px 20px;}
.quick-links li a{ color:#666;}
.quick-links li a:hover{color:#9e171b; text-decoration:none;}
.gall-img-responsive {
  max-height: 150px;
}
.main-navigation {
  min-height: 35px;
z-index:100
}
.nav-menu li a {
  padding: 10px 11px;
}
.nav-menu li:last-child a{ padding: 10px 12px;}

anchor-normal .rc-anchor-pt{ display:none;}
#sc_our_team.grid .sc_team_member .sc_team_member_name, #sc_our_team.grid .sc_team_member .sc_team_member_jobtitle{right:0px; background:#9e171b !important; position:static !important}
#sc_our_team.grid .sc_team_member .sc_team_member_jobtitle, #sc_our_team.grid .sc_team_member .sc_team_member_name, #sc_our_team.grid_circles .sc_team_member .sc_team_member_jobtitle, #sc_our_team.grid_circles .sc_team_member .sc_team_member_name{height:auto;}
#sc_our_team.grid .sc_team_member .sc_team_member_jobtitle {
  bottom: 0;
  font-size: 13px;
  padding: 0;
}
#sc_our_team.grid .sc_team_member .sc_team_member_name{ font-weight:700; bottom:25px; font-size:14px;}
.rpg-gal-title {
  border-bottom: 2px solid #f2f2f2;
  font-size: 16px;
  font-weight: bolder;
  margin-bottom: 20px;
  padding-bottom: 10px;
  text-align: left;
}
.gal-container {
  padding-top: 0;
}
#sc_our_team.grid .sc_team_member_inner{height:auto !important}
#sc_our_team.grid .sc_team_member img.wp-post-image {
  max-height:145px;
  width:  auto
}
#sc_our_team.grid .sc_team_member .icons, #sc_our_team.grid .sc_team_member .sc_team_more, #sc_our_team.grid_circles .sc_team_member .sc_team_more, #sc_our_team.grid_circles2 .sc_team_member .sc_team_more, .sc_team_member_overlay{ display:none !important;}

.nav-menu .sub-menu, .nav-menu .children, .nav-menu li:hover > a, .nav-menu li a:hover, .nav-menu li:focus > a, .nav-menu li a:focus{background:#000; border:none;}
ul.nav-menu ul a:hover, .nav-menu ul ul a:hover, ul.nav-menu ul a:focus, .nav-menu ul ul a:focus{ background:#9e171b;}

.ai1ec-agenda-widget-view .ai1ec-date, .ai1ec-agenda-view .ai1ec-date{ background:none; border-bottom:solid 1px #ccc; font-family:arial;}
.ai1ec-agenda-widget-view .ai1ec-month, .ai1ec-agenda-view .ai1ec-month{background:#9e171b;}
.timely .ai1ec-btn-default{ background:#9e171b; padding:6px 10px;color:#fff !important; font-weight:normal; font-family:arial; border:none;border-radius:0px;}
.timely .ai1ec-btn-default:hover{ background:#000; color:#fff;}

.entry-content .timely .ai1ec-btn-default, .comment-content .timely .ai1ec-btn-default, .site-footer .widget .timely .ai1ec-btn-default{color:#fff !important}
.timely .ai1ec-subscribe-container{display:none}
.container{position:relative}
.entry-thumbnail {
  display: block;
  margin-top: 0;
  padding-top:25px;
}
.rc-anchor-normal {
  height: 74px;
  width: 99%;
}
.ai1ec-popover.ai1ec-popup{display:none !important;}
.ai1ec-main-container .timely, .ai1ec-single-event.timely {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0px;
    left: 0px;
}
.ai1ec-event-footer{display:none !important;}
.widget-area{height:auto !important;}
.widget-area .widget{position:relative !important;text-align:center;}


  @media (min-width:992px) and (max-width:1024px) {
	  
	  
  }

  @media (min-width:768px) and (max-width:991px) {
	  .site-header {
  max-width: 740px;
}
.header-left {
  float: left;
  margin-left: 45px;
}
.logo img{width:85%;}
.header-left img{ width:75%}	  
.header-right img{ 
	float: right;
	width:72%;
	}	 	  
.nav-menu li:last-child a {
  padding: 10px 4px;
}
.nav-menu li a {
  padding: 10px 4px;
}
.nav-menu li a {
  font-size: 13px;
}	 

.sidebar-inner{padding-left:15px;}
  }

@media (max-width:767px) {
	
	
	.logo{ text-align:center;}
.logo img{width:42%; display:inline-block}
.header-left{width:50%; margin:0px;}
.header-right{width:50%}
.header-left img{ width:55%}	  
.header-right img{ 
	float: right;
	width:72%;
	}		
.slider {
  position: relative;
  top: 25px;
}	
.menu-toggle{ float:right;margin-right:15px; color:#fff;}	
.toggled-on .nav-menu > li a:hover, .toggled-on .nav-menu > ul a:hover{background:#000;}
.home-right {
  padding:0 15px;
}
.caroufredsel_wrapper {
  height: 250px !important;
}
.chpcs_title {
  display: block;
}
.chpcs_foo_con{font-size:12px;}
.caroufredsel_wrapper #wa_chpc_slider{width:100% !important}
.toggled-on .nav-menu li > ul a{color:#fff !important;}
.menu-main-menu-container{ margin-top:35px}
.menu-toggle:focus {
  outline:none !important;
}
.menu-toggle, .menu-toggle:hover, .menu-toggle:focus, .menu-toggle:active{color: #fff !important;
    position: absolute;
    left: 0;
    right: 0;
    margin: -7px auto;}
a:hover {
  text-decoration: none;
}
.sidebar-inner{display:none;}
.home-right .table-responsive table td{word-break:break-all;}
#sc_our_team.grid.sc-col4 .sc_team_member, #sc_our_team.grid.sc-col3 .sc_team_member, #sc_our_team.grid.sc-col2 .sc_team_member, #sc_our_team.grid.sc-col5 .sc_team_member{width:50%;float:left;}
#sc_our_team.grid .sc_team_member .sc_team_member_name{line-height:14px;}
#sc_our_team.grid .sc_team_member_inner{height:210px !important;background:#9e171b ;}
#g-recaptcha-uStNfPRFwoy4q0G{width:270px;}
.wpcf7-form input, .wpcf7-form select{width:100%;}
.wpcf7-form iframe{width:90%;}
.wpcf7-form input[type="checkbox"]{width:auto;}
.content-area{background:#fff;}


}

@media screen and (max-width: 500px) {
  .g-recaptcha > div > div {
	  width:100% !important;
  }
  
  .wpcf7-form textarea{max-width:220px !important;}
  
}
.preplan-form{margin:0px;padding:0px;}
.preplan-form label{width:100%;font-weight:normal;font-size:14px;}
.preplan-form select{
border: 1px solid #ccc;
font-family: inherit;
padding: 8px;width:100%;
max-width:360px;
}
.wpcf7-form p{margin:0px;}
.wpcf7-form input, .wpcf7-form select{margin-bottom:15px;box-sizing:border-box;}
.preplan-form .wpcf7-checkbox input{margin-bottom:0px;}
.preplan-form span.wpcf7-list-item{margin:0px;}
.wpcf7-form textarea{max-height:100px;margin-bottom:15px;max-width:360px;}
input:focus, textarea:focus {border: 1px solid #F00;	outline: 0;-webkit-box-shadow: 0px 0px 10px #F00;
-moz-box-shadow: 0px 0px 10px #F00;
box-shadow: 0px 0px 10px #F00;}
.city-section{max-width:390px;}
.preplan-form .wpcf7-list-item-label{font-size:13px;vertical-align:top;}
.wpcf7-form .wpcf7-submit{margin-top:15px;background: #9e171b;
padding: 6px 15px;border-bottom:none;border-radius:0px;
color: #fff;
font-size: 13px;}
.wpcf7-form .wpcf7-submit:hover{background:#000;}

.featured_events {
  width:100%;
  height:350px;
  overflow:hidden;
  position:relative;
}

.timely{
  width:100%;
  height:1250px;
  position:absolute;
  top:0px;
  left:0px;
}

.ai1ec-date{
    width:100%;
    /*height:250px;*/
    position:relative;
  }
