/*
 Theme Name:   Diginex Child
 Theme URI:    http://demo3.touchsize.com/diginex/
 Description:  Diginex Child Theme
 Author:       Ariel Macariola
 Author URI:   https://www.example.com
 Template:     diginex
 Version:      1.0.0
 Text Domain:  diginex-child

*/

@media (min-width: 768px) {
  .container{
      max-width: 768px !important;
  }
  
	#main-menu > li {
		float: none;
		display: table-cell;
		/* width: 20%; */
		text-align: center;
	}
	
	div#ypd-nav ul#main-menu {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
	}

	div#ypd-nav ul#main-menu li {
		border-right: 1px solid #ffffff;
	}

	div#ypd-nav ul#main-menu li.ypd-nav-lifestyle {
		border-right: none;
	}
	/* div#ypd-nav #main-menu li.ypd-nav-enrichment {
		flex: 1;
	} */
	
	div#ypd-nav ul#main-menu > li {
		position: relative;
	}

	div#ypd-nav ul#main-menu > li > ul {
		position: absolute;
		min-width: 100% !important;
	}
	
	
  
	/* highlights ypdirectory */
	.section-title-box.ypd-highlights-content::before {
		width: 35.2%;
		left: 0;
	}

	.section-title-box.ypd-highlights-content::after {
		width: 35.2%;
		right: 0;
	}
  /**highlights*/
}


div#ypd-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	position: relative;
}

div#ypd-header > a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

div#ypd-header h3 {
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 3px;
	margin: 0;
	padding: 0;
}
div#ypd-nav {
    background: #aee5e0;
	min-height: 50px;
}
div#school-search {
    background: #ffffff;
    border: 1px solid #b1b1b1;
    padding: 5px 20px;
    width: 530px;
    margin-top: 10px;
	position: relative;
    z-index: 5;
}

div#school-search button {
    color: #b1b1b1;
    border: none;
    border-left: 1px solid;
    background: none;
    font-size: 16px;
	line-height: 18px;
    padding: 0px 0 0 12px;
}

div#school-search input {
    border: none;
    background: none;
}

div#school-search input[type="text"] {
    width: 93%;
    padding: 7px 10px;
	font-family: Lato, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	color: #747474;
	letter-spacing: 1px;
}
div#school-search input:focus {
	outline: none !important;
}

#ypd-nav #main-menu > li > a {
	color: #242424;
    font-family: Lato, sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 15px 5px 15px 43px;
    text-align: left;
    background-color: #aee5e0;
    background-position: 14px center;
    background-repeat: no-repeat;
}

#ypd-nav #main-menu > li.ypd-nav-infantcare > a {
    background-image: url('images/ypdirectory/navi-infantcare.gif');
}
#ypd-nav #main-menu > li.ypd-nav-nursery > a {
    background-image: url('images/ypdirectory/navi-nursery.gif');
    background-position: 22px center;
}
#ypd-nav #main-menu > li.ypd-nav-toddler > a {
    background-image: url('images/ypdirectory/navi-toddler.gif');
}
#ypd-nav #main-menu > li.ypd-nav-childcare > a {
    background-image: url('images/ypdirectory/navi-childcare.gif');
}
#ypd-nav #main-menu > li.ypd-nav-kindergarten > a {
    background-image: url('images/ypdirectory/navi-kindergarten.gif');
}
#ypd-nav #main-menu > li.ypd-nav-enrichment > a {
    background-image: url('images/ypdirectory/navi-enrichment.gif');
}
#ypd-nav #main-menu > li.ypd-nav-special > a {
    background-image: url('images/ypdirectory/navi-special.gif');
}
#ypd-nav #main-menu > li.ypd-nav-lifestyle > a {
    background-image: url('images/ypdirectory/navi-more.gif');
	padding-right: 12px;
}

#ypd-nav #main-menu > li.ypd-nav-lifestyle {
	flex: 1;
}

div#ypd-nav ul#main-menu > li > ul > li a {
	padding: 12px;
	display: block;
	background: #f3f8f7;
	text-align: center;
	border-bottom: 1px solid #ffffff;
	font-family: Lato, sans-serif;
	font-size: 15px;
	font-weight: 600;
	color: #242424;
}
div#ypd-nav ul#main-menu > li > ul > li a:hover {
	background: #c2fff9;
}

div.listings-cat-content {
    margin-top: 40px;
}
	
.related-post-widget .post-item:nth-child(5n+1), .latest-post-widget .post-item:nth-child(5n+1) {
	/* display: none; */
}

/* Cookie Notice Plugin */
#cookie-notice {
	color: #fff;
	background: rgb(0,0,0) !important;
	background: rgba(0,0,0,0.8) !important;
	font-size: 1.0em;
	line-height: 1.2em;
	z-index: 1000000000;
	display: block;
	visibility: visible;
	position: fixed;
	min-width: 100%;
	height: auto;
	left: 0;
	bottom: 0;
	text-align: center;
	font-family: Palatino, "Century Schoolbook L", "Times New Roman", serif;
}

#cookie-notice .cookie-notice-container {
    padding: 13px;
}

#cookie-notice #cn-notice-text a, #cookie-notice #cn-notice-text a:hover, #cookie-notice #cn-notice-text a:focus, #cookie-notice #cn-notice-text a:visited {
    color: #fff;
    text-decoration: underline;
}

#cookie-notice #cn-accept-cookie {
    font-family: sans-serif;
    display: inline-block;
    padding: 4px 12px;
    margin: 0 0 0 10px;
    line-height: 16px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255,255,255,.75);
    font-style: normal;
    vertical-align: middle;
    cursor: pointer;
    color: #000;
    text-shadow: 0 -1px 0 rgba(0,0,0,.25);
    background-color: #c5c5c5;
    background-image: none;
    background-repeat: repeat-x;
    border-style: solid;
    border-width: 1px;
    border-color: #04c #04c #002a80;
    border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);
    box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 1px 2px rgba(0,0,0,.05);
    padding: 2px 10px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 2px;
    outline: none;
	font-family: Palatino, "Century Schoolbook L", "Times New Roman", serif;
}

@media screen and (max-width: 960px) {

	#cookie-notice {
		font-size: .8em;
		line-height: 1.4em;
	}		
	
	#cn-notice-text {
		display: block;
		margin-bottom: 10px;
	}

	.cookie-notice-container {
		max-width: 100%;
		margin: 0 auto;
	}

}
/**Cookie Notice Plugin */

@media (min-width: 1024px) {
	.container, .ts-mega-menu .ts_is_mega_div{
	  max-width: 1060px !important;
	}
  
	body {
		min-width: 1060px !important;
	}
	
	div#wrapper {
		overflow: hidden !important;
		min-width: 1060px !important;
	}
}

body {
  overflow-x: hidden;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /* position:relative; */
}

div#header-box {
    background: #6f6d6d !important;
    overflow: hidden !important;
}

div#wrapper {
    max-width: 1060px;
    margin: auto;
    overflow: hidden !important;
}

header#header {
    background: #fff;
    /*max-width: 1060px;*/
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 30px;
    /*overflow: hidden !important;*/
}

section#main div.container {
    background: #fff;
    overflow: hidden !important;
}
section#main>div.container, section#main section>div.container {
    padding-bottom: 30px;
    overflow: hidden !important;
}

.section-header-type1 h4, h3.section-title {
    color: #ec008a;
    font-family: 'Pacifico', cursive;
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 3px;
}

#ts-back-to-top {
  right:20px !important;
}

.row.page-row {
    padding-top: 30px;
    padding-bottom: 30px;
}
.row.page-row.last-row {
    padding-bottom: 0px;
}

.page .post-content {
    margin-bottom: 0px !important;
}

.post-content {
    font-size: 16px;
    line-height: 1.6;
    font-family: "Open Sans";
}

.post-content>p, .post-content>p>span {
    font-family: "Open Sans" !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
}
.post-content>p>a, .post-content>p>a>span {
    color: #00beff !important;
}

.pagination-box a.prev-page-link.disabled {
    color: #d4d4d4 !important;
    border-color: #d0d0d0 !important;
}

/* gravity form */
div.gforms_confirmation_message {
    float: left;
    width: 100%;
    clear: both;
    font-size: 16px;
    border: 1px solid #c3c3c3;
    padding: 10px;
    margin: 20px 0;
}

div.gform_wrapper {
    float: left;
    width: 100%;
    clear: both;
}
/**gravity form */

/* Native Sponsorship */
.native_sponsor_container {
	display: block;
    width: 100%;
    max-width: 830px;
    background: #f7f7f7;
    padding: 20px 15px 7px;
    box-sizing: border-box;
    overflow: hidden;
    margin: 0 auto 30px;
    position: relative;
}

.native_sponsor_container:before {
	display: block;
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, #c7c7c7 20%, rgba(255, 255, 255, 0) 0%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
}

.native_sponsor_container:after {
	display: block;
    content: '';
    position: absolute;
    bottom: 1px;
    left: 2px;
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, #c7c7c7 20%, rgba(255, 255, 255, 0) 0%);
    background-position: 0 2px;
    background-size: 10px 2px;
    background-repeat: repeat-x;
}

.native_sponsor_container .native_sponsor_img {
	display: block;
	width: 204px;
	height: 136px;
	float:left;
	padding-right: 14px;
	background: #f7f7f7;
}

.native_sponsor_container .native_sponsor_txt {
	color: #000;
}

.native_sponsor_container .native_sponsor_title {
	color: #050505;
    font-size: 20px;
    line-height: 24px;
    font-weight: 800;
    border-bottom: 1px solid #d1d1d1;
    font-style: italic;
    font-family: Lato, sans-serif;
    letter-spacing: 0.3px;
    padding-bottom: 7px;
}

.native_sponsor_container .native_sponsor_body {
	font-size: 14px;
    line-height: 20px;
    font-family: "Open Sans";
    color: #050505;
    padding-top: 7px;
}

.native_sponsor_container .native_sponsor_body div {
	line-height: 1.4;
}

.native_sponsor_container .native_sponsor_msg {
	color: #696969;
    font-family: Lato, sans-serif;
    font-size: 12px;
    clear: both;
    text-align: right;
    font-style: normal;
}

.native_sponsore_readmore span {
    color: #00beff;
    font-size: 14px;
    font-weight: 600;
    font-family: Lato, sans-serif;
    text-transform: uppercase;
}

.native_sponsore_readmore span i {
    font-size: 16px;
}
/**Native Sponsorship */

/* onpage slider | promotion and event page photo gallery*/
ul#onpage-slider {
    padding: 0px;
}
#onpage-slider-box {
    margin-bottom: 20px;
    max-width: 640px;
    margin: 0 auto;
}
#onpage-slider-box .bx-pager.bx-default-pager {
    display: none;
}
#onpage-slider-box ul li img {
    width:100%;
    height:auto;
}
/* onpage slider */

/* youtube video retain aspect ration*/
.vid-embed-youtube {
   position: relative;
   height: 0;
   overflow: hidden;
   padding: 0 0 56.25%;/* aspect ratio */
}

.vid-embed-youtube iframe, .vid-embed-youtube object, .vid-embed-youtube embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
.post-content > p > iframe {
  /*display:none;*/
}
.post-content > p > object, .post-content > p > embed {
  display:none;
}
/**youtube video retain aspect ration */

.gallery-post-content .collapsible p span {
    font-family: "Open Sans" !important;
    font-size: 16px !important;
	line-height: 1.6 !important;
}


.gallery-post-content .collapsible p {
    font-family: "Open Sans" !important;
    font-size: 16px !important;
	line-height: 1.6 !important;
	margin-bottom: 20px !important;
}

.gallery-post-content .collapsible p a, post-content .collapsible p a span, span[style*="#0000ff"] {
    color: #00beff !important;
}
.addthis-article-top {
    margin-top: 20px;
}

/* OptinMonster */
div#boston-body {
    background-color: #efefef !important;
}
div#boston-element-title-content {
    color: #2d2d2d;
}
input#boston-field-submit {
    background-color: #ec008b !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}
a.boston-element-close.boston-close {
    color: rgba(124,124,124,1) !important;
    padding: 0 10px;
}
/**OptinMonster */

/* pagebreak */
.page-link {
    margin-top: 40px;
    text-align: center;
    font-size: 16px !important;
    font-family: Lato !important;
    font-weight: bold !important;
}
.page-link > span {
    padding-right: 10px;
}
.page-link a {
  font-family: Lato !important;
  font-size: 16px !important;
  color: #000000;
  font-weight: bold !important;
}

.page-link>span:nth-child(n+2) {
    background: #dcdcdc;
    text-align: center;
    color: #2d2d2d;
    padding: 2px 5px;
}
.page-link a span {
    padding: 0 3px;
}
/**pagebreak */

/* diginex theme - modified */
ul.entry-meta {
    display: none;
}
.big-view article .footer {
    display: none;
}
section[class$="-view"] article .entry-title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}
.big-view article header, .big-view article section {
    justify-content: flex-start !important;
}
footer#footer {
    position: absolute;
    left: 0px;
	width: 100%;
	z-index: 7;
}
span.sb-menu-toggle.sb-menu-close.icon-close {
    display: none;
}
  /* hide rss icon | social links */
.social-icons.iconed ul li:last-child {
    display: none;
}
/**diginex theme - modified */

/* vuukle */
span#cc, a#vuukle_rss_link, .headerTxt {
    font-size: 14px !important;
}
.rating_box {
    height: 46px !important;
}
/*div#vuukle-adsvuukle_div {
    display: none !important;
}*/
/**vuukle */

/* Ads 300x250, Ads 300x250 */
.widget-ads300x250-box.homets {
    margin-top: 50px;
    text-align: right;
}

.widget-ads300x600-box.homets {
    text-align: right;
}
/**Ads 300x250, Ads 300x250 */

/* flipbook css */

.remodal-wrapper {
  padding: 0;
}
.remodal.flipbook-modal {
    max-height: 500px;
    max-width: 650px !important;
    padding: 0;
}
section.flipbook-box {
    max-height: 380px;
    /*width:100%;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.remodal.flipbook-modal button.remodal-close::before {
    font-size: 45px;
    font-weight:bold;
}

.remodal.flipbook-modal button.remodal-close {
    right: 40px;
    top: 3px;
    left: initial;
    z-index: 99;
}
/**flipbook css */

/* remodal*/
/*button.remodal-close {
  left: inherit;
  right: 0px;
}
button.remodal-close:before {
  font-size: 35px;
  font-weight: bold;
}*/
/**remodal*/

h2.page-title {
	font-family: Lato, sans-serif;
    font-size: 32px;
    color: #00beff;
    margin-bottom: 20px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.3px;
    position: relative;
    line-height: 1.6;
}
/* h2.page-title.pnb.curve-line::before {
    width: 25.3%;
}
h2.page-title.pnb.curve-line::after {
    width: 25.3%;
}
h2.page-title.education.curve-line::before {
    width: 34.3%;
}
h2.page-title.education.curve-line::after {
    width: 34.3%;
}
h2.page-title.family.curve-line::before {
    width: 38.2%;
}
h2.page-title.family.curve-line::after {
    width: 38.2%;
}
h2.page-title.curve-line.enp {
    margin-bottom: 0px;
}
h2.page-title.enp.curve-line::before {
    width: 33.1%;
}
h2.page-title.enp.curve-line::after {
    width: 33.1%;
} */

h3.title-trending-stories {
    text-align: center;
}

div#book_3634 {
    margin-left: 0px !important;
}

/* Notification - bottom ad */
.simple-ad-widget-area {
    position: fixed;
    right: 100px;
    bottom: 0px;
    z-index:20;
	/* z-index: 99999; */
}

.simple-ad-box {
    width: 250px;
    background: #fff;
    border: 10px solid #00beff;
    border-top-left-radius: 10px;
    border-bottom: 0px;
}

.simple-ad-box section.ad-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    padding: 5px;
}
.simple-ad-box section.ad-item {
    border-bottom: 1px solid #c3c3c3;
}
.simple-ad-box section.ad-item p {
    padding:0;
    margin:0;
    line-height: 1.3;
    overflow: hidden;
}

.simple-ad-box section.ad-item p a {
    color:inherit;
    padding: 0px;
}
.simple-ad-box section.ad-item a img {
    float: left;
    margin: 5px 5px 5px 0;
}
.simple-ad-box section.ad-item p a:last-child {
  float: left;
  margin-left: 5px;
  max-width: 160px;
  font-size: 13px;
  line-height: 1.3;
}

.simple-ad-box section.ad-item span {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size:16px;
    line-height:1.2;
    padding-left:5px;
}

.simple-ad-box a.flag-toggle-btn {
    display: block;
    position: absolute;
    right: 0px;
    top: -30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #00beff;
    color: #fff;
    padding: 5px 12px 0;
    font-size: 20px;
    cursor: pointer;
}

.notif-dialogbox {
    position: absolute;
    bottom: 75px;
    right: 10px;
    width: 200px;
    border: 1px solid;
    width: 250px;
    padding: 5px 5px 8px;
    line-height: 1;
    border: 3px solid #00beff;
    background: #fff;
    display: none;
}

a.close-nd {
    display: block;
    float: right;
    clear: both;
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 3px 8px 0 0;
    line-height: 0.8;
    font-size: 14px;
    cursor: pointer;
}
.notif-dialogbox section.ad-item p a img {
    float: left;
    margin: 0;
}
.notif-dialogbox section.ad-item p a:last-child {
    float: left;
    margin-left: 8px;
    max-width: 170px;
    line-height: 1.4;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: #232323;
    font-family: Lato, sans-serif;
}
div#btm-arrow {
    font-size: 0px;
    line-height: 0%;
    width: 0px;
    border-top: 8px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 40px solid #00beff;
    position: absolute;
    bottom: -16.4px;
    right: 27px;
    -ms-transform: rotate(11deg);
    -webkit-transform: rotate(11deg);
    transform: rotate(11deg);
}
/**Notification - bottom ad */

/* Addthis */
span.at-icon-wrapper {
    height: 26px !important;
    width: 26px !important;
}

svg.at-icon {
    width: 26px !important;
    height: 26px !important;
}
/**Addthis */

/* Search page */
.search-results .page-header-wrapper {
  border: none !important;
}
.search-results .searchcount {
  margin-top: 0px !important;
  padding-top: 0px !important;
}
.search-results .searchcount {
  color: #2d2d2d !important;
}
/**Search page */


/* Top Stories*/
div#airkit_homepage-top-stories>.container>.row {
    background: #ededed url('images/hm-ts-bg.jpg');
    background-size: cover;
    padding-top: 10px !important;
    padding-bottom: 20px;
}

div#homepage-top-stories {
    background: #ededed;
	padding-bottom: 50px;
}

.top-stories-box ul {
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
}

.top-stories-box ul li {
    width: 210px;
    /*background:#ffffff;*/
    float: left;
    margin-left:15px;
}

.top-stories-box ul li:first-child {
    margin-left: 0px;
}

.top-stories-box ul li .thumb {
    /*max-height: 145px;*/
    max-height: 139px;
    overflow: hidden;
}

.top-stories-box ul li p {
	line-height: 20px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    color: #2d2d2d;
    text-align: center;
    background: #fff;
    min-height: 85px;
    overflow: hidden;
}
div#airkit_homepage-top-stories .sidebar-ads-300x250 {
    margin-top: 20px;
}
/**top stories */

/* home highlights */
div#airkit_homepage-highlights>.container>.row {
  background: #ededed url('images/hm-ts-bg.jpg');
  background-size: cover;
  padding-top: 10px !important;
  padding-bottom: 20px;
}

div#homepage-highlights {
  background: #ededed;
  background-size: cover;
}
/** home highlights */

.section-title-box.trending-stories::before {
    width: 10.6%;
    left: 27.9%;
    top: 44%;
}

.section-title-box.trending-stories::after {
    width: 10.6%;
    right: 27.9%;
    top: 44%;
}

.section-title-box.trending-stories {
    margin-top: 10px;
}

.section-title-box.trending-stories h3.section-title-1 {
    margin-bottom: 5px;
    font-size: 18px;
}

/* sidebar highlights */

.section-title-box.sidebar-featuredvideo::before {
    left: 10px;
    width: 12%;
}

.section-title-box.sidebar-featuredvideo::after {
    right: 10px;
    width: 12%;
}

.section-title-box.sidebar-highlights::before {
    left: 10px;
    width: 20.6%;
}

.section-title-box.sidebar-highlights::after {
    right: 10px;
    width: 20.6%;
}

.sidebar-highlights ul li {
    list-style-type: none;
    padding: 15px 0;
    border-bottom: 1px solid #c3c3c3;
    overflow: hidden;
}

.sidebar-highlights ul li:first-child {
    padding-top: 0px;
}

.sidebar-highlights ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.sidebar-highlights ul li a span.thumb {
    width: 145px;
    float: left;
}

.sidebar-highlights ul li a span:last-child {
    float: left;
    padding-left: 10px;
    font-weight: bold;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    line-height: 1.5;
    font-size: 14px;
    max-width: 210px;
	text-align: left;
}

.sidebar-highlights ul li:last-child {
    border-bottom: none;
}
/* sidebar highlights */

/* home latest stories */

.section-title-box.hmpg-lateststories::before {
    width: 37.8%;
}

.section-title-box.hmpg-lateststories::after {
    width: 37.8%;
}

div#airkit_homepage-latest-stories>.container>.row {
    padding-top: 20px;
    padding-bottom:40px;
    background: #fef8f8;
}

div#homepage-latest-stories {
	border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    padding-bottom: 40px;
}

.more-button-type1 div {
    text-align: center;
}

.more-button-type1 div a, .pagination-box a, button#load-more, button.load-more-btn, .subscribe-onscroll-box input[type=submit], .page-button a {
    background: #ffffff !important;
    font-size: 17px !important;
    font-family: Lato, sans-serif !important;
    font-weight: 800;
    color: #000000 !important;
    text-transform: uppercase;
    background: none !important;
    line-height: 25px !important;
    border: 1px solid #000000 !important;
    border-radius: 0px !important;
    height: auto !important;
    width: auto !important;
    padding: 7px 25px !important;
}

.grid-thumbnail:nth-child(even) {
    float: right;
    clear: right;
}
.grid-thumbnail:nth-child(odd) {
    float: left;
    clear: left;
}

.grid-thumbnail {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
    background: #f3f3f3;
    width: 320px;
}

/* .latest-stories-widget.grid-thumbnail {
    float: none;
} */

.grid-thumbnail .thumb {
    width:100%;
    max-height: 212px;
    overflow: hidden;
}

.grid-thumbnail h6 {
	background: #f3f3f3;
	font-family: Lato, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 0;
    padding: 10px 0 0px;
}

.grid-thumbnail p {
    font-size: 18px;
    font-weight: 600;
    color: #2d2d2d;
    line-height: 22px;
    text-align: center;
    padding: 0px 20px 20px;
    min-height: 55px;
}

.grid-thumbnail p a {
    font-family: Lato, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #2d2d2d;
}

#homepage-latest-stories .grid-thumbnail p {
    min-height: 86px;
}


.grid-thumbnail img {
    width: 100%;
    height: auto;
}
/**home latest stories */

/* category page | grid */
.category-posts-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
/**category page | grid */

/* flexslider nav */

.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
/**flexslider nav */

/* Single post */
header.post-header1 {
    text-align: center;
    margin-bottom: 20px;
}

header.post-header2 {
    /*text-align: left;
    margin-bottom: 20px;*/
}

header.post-header1 h6 {
	color: #00beff;
    font-size: 14px;
    line-height: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-family: Lato, sans-serif;
    text-transform: uppercase;
}

header.post-header1 h2 {
	font-size: 38px;
    line-height: 1.1;
    margin: 10px;
    font-family: Lato, sans-serif;
    font-weight: 800;
    letter-spacing: 0px;
}

header.post-header1 > span, header.post-header2 > span{
    font-size: 12px;
    letter-spacing: 0px;
    display: block;
    font-family: Lato, sans-serif;
    color: #000000;
}
header.post-header2 > span {
    margin-bottom: 20px;
}

.post-content .addthis-box.gallery-post-top:first-child {
    margin-bottom: 30px;
}

.addthis-box.single-post-bottom {
    text-align: left;
}

.post-tags-box ul {
    list-style-type: none;
    overflow: hidden;
}

.post-tags-box ul li {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.post-tags-box ul li a {
    color: #2d2d2d;
    display: block;
    border: 1px solid #2d2d2d;
    padding: 2px 7px;
    text-transform: uppercase;
}

.post-tags-box {
    /*margin-top: 20px;
    margin-bottom: 30px;*/
}

.vuukle-comment-box {
    margin-top: 20px;
}
/** Single post */

/* pagination */
.pagination-box {
    width: 100%;
    margin-top: 30px;
    float: left;
    clear: both;
    overflow: hidden;}

.pagination-box a.next-page-link {
    float: right;
}
.pagination-box a.prev-page-link {
    float: left;
}
/**pagination */

/* Main Navbar */
.navbar ul li a {
    font-family: Lato, sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #000000 !important;
    padding: 10px 20px;
    letter-spacing: 0.3px;
}
.navbar ul li:first-child a {
    padding-left: 0px;
}
/**Main Navbar */

/* Header social */
div#airkit_header-social ul li a i {
  font-size: 20px;
  color: #eb008b;
  margin-right: 0px;
  width: 25px;
}

.social-icons ul li a > i {
    border-radius: 0 !important;
    width: 20px !important;
	height: 20px !important;
    margin-right: 2px !important;
	background-size: contain !important;
}

div#airkit_header-social ul li a i::before {
    content: '';
}

div#airkit_header-social ul li a i.icon-video {
    background: url('images/icon-yt.png');
}

div#airkit_header-social ul li a i.icon-facebook {
    background: url('images/icon-fb.png');
}

div#airkit_header-social ul li a i.icon-instagram {
    background: url('images/icon-ig.png');
}

div#airkit_header-social ul li a i.icon-pinterest {
    background: url('images/icon-pt.png');
}

/**Header social */

/* Top ads box */
.top-ads-widget {
    max-width: 1060px;
    margin: 0 auto;
}
.top-ads-widget section {
    text-align: center;
    padding: 15px 0;
	margin-bottom: 0px !important;
}
div#creative_114226617654_0 {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}
.top-ads-widget div.textwidget {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}
/**Top ads box */
/* Leaderboard ads */
div.leaderboard-bottom-widget {
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    margin-top: 0px;
    margin-left: -20px;
    margin-right: -20px;
    background: rgb(239, 239, 239);
}
.leaderboard-bottom-widget .widget {
    margin-bottom: 0 !important;
}
/**leaderboard ads */

ul#menu-sitemap-menu li {
    float: none;
}

ul#menu-sitemap-menu li a {
    text-transform: capitalize !important;
    margin-bottom: 5px;
    font-size: 13px;
}

div#airkit_footer-middle h6.widget-title {
    text-align:center !important;
    font-size: 22px !important;
}

div#airkit_footer-bottom .textwidget {
    font-size: 10px;
    line-height: 1.3;
}
div#airkit_footer-bottom .textwidget span {
    display: block;
}
.footer-title h4 {
    letter-spacing: 0px;
    font-size: 20px;
    color: #000000 !important;
}
.footer-privacy a {
    padding: 0 2px;
}
p.about-us-txt {
    font-family: Lato, sans-serif;
    text-align: center;
    font-size: 13px;
}
p.about-us-txt img {
    margin-right: 15px;
    float: left;
}
p.about-us-txt span {
    display: block;
    float: left;
    max-width: 170px;
}
h3.section-title-1 {
    color: #00beff;
    font-family: Lato, sans-serif;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 25px;
    margin-top: 0px;
    text-transform: uppercase;
}

h3.section-title-1.marginBtm10 {
	margin-bottom: 10px;
}

/* .section-title-box::before {
    content: "";
    height: 20px;
    width: 35%;
    position: absolute;
    background: url('images/hmpg-ts-line.png') repeat-x;top: 50%;left: 0;
} */

.section-title-box {
    position: relative;
}

/* .section-title-box::after {
    content: "";
    height: 20px;
    width: 35%;
    position: absolute;
    background: url('images/hmpg-ts-line.png') repeat-x;
    top: 50%;
    right: 0;
} */

/* hide homeblend box on defined pages */
.page-id-37687 #airkit_homeblend-row, 
.page-id-13747 #airkit_homeblend-row, 
.page-id-16133 #airkit_homeblend-row, 
.page-id-16296 #airkit_homeblend-row, 
.page-id-13560 #airkit_homeblend-row, 
.page-id-40026 #airkit_homeblend-row, /* live - listings page */
.page-id-38172 #airkit_homeblend-row, /* dev - listings page */
.search.search-results #airkit_homeblend-row,
.single-listings #airkit_homeblend-row,
.post-type-archive-listings #airkit_homeblend-row,
.tax-listings-category #airkit_homeblend-row {
    display: none;
}
/**hide homeblend box on homepage */


/* sidebar 1*/
.sidebar1-box {
    width: 300px;
    float: right;
}
.sidebar1-box .widget {
  margin-top: 20px;
  margin-bottom: 30px;
  color: #2d2d2d;
}
.row.content-block.sidebar-ads {
    text-align: right;
}
/** sidebar 1 */

/* crowdy-news */
.sidebar1-box .crowdy-news-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/**crowdy-news */

/* ads 300x250 in sidebar1 */
.sidebar1-box aside#text-40 {
    text-align: center;
}
/**ads 300x250 in sidebar1 */

/* search box | main menu */

.searchbox .search-trigger {
    font-size: 16px !important;
    padding: 0px;
}
li.menu-item.menu-item-appended.menu-item-search {
    margin-right: 0px !important;
    margin-left: 10px !important;
}

/* preschool guide | sidebar */
.preschool-guide-box {
    border: 1px solid #dddbdc;
    padding: 15px;
    box-sizing: content-box;
    width: 260px;
    float:right;
}

.preschool-guide-box img {
    /*width: 200px;*/
    display: block;
    margin: 0 auto;
}

.preschool-guide-box a.psg-btn {
    display: block;
    text-align: center;
    background: #fed138;
    font-size: 22px;
    margin-bottom: -36px;
    margin-top: 20px;
    color: rgba(235,0,139,1);
    font-family: "Pacifico", cursive;
    letter-spacing: 1px;
    padding-bottom: 5px;
    color: #000;
}
/** preschool guide sidebar */

/* instagram feed | sidebar */
#sbi_load {
  padding:0px !important;
}
/** instagram feed */

/* anchor block */

div#homepage-anchor-block {
    padding-top: 0px;
}

.anchor_block_box {
  display:flex;
  justify-content: space-between;
}

.featured_box {
  width: 230px;
  margin: 0 10px 15px;
}
.featured_box.featured_sales, .featured_box.featured_marketing {
    /*margin-top: 50px;*/
    border-top: 3px dotted #ececec;
    margin-top: 0px;
    padding-top: 10px;
}
.featured_box img {
    border-bottom: 3px solid #c3c3c3;
    /*width: 230px;
    height: 153px;*/
}

.featured_box span {
    font-family: Lato, sans-serif;
    color: #00beff;
    font-size: 13px;
    font-weight: 800;
    display: block;
    text-align: center;
    padding-top: 5px;
    letter-spacing: normal;
    margin: 0;
    text-transform: uppercase;
}

.featured_box p {
	text-align: center;
	font-weight: normal;
	color: #000000;
	font-size: 14px;
	line-height: 19px;
	min-height: 57px;
	padding: 0 5px;
	font-family: Lato, sans-serif;
}

.slide-caption h6 {
	color: #00beff;
	font-size: 14px;
	font-weight: 800;
	text-align: center;
	font-family: Lato;
	letter-spacing: 1px;
	margin-bottom: 0px;
	text-transform: uppercase;
}

.slide-caption h5 {
	text-align: center;
    letter-spacing: normal;
    margin-bottom: 12px;
    margin-top: 0px;
    line-height: 1.2;
    padding-bottom: 7px;
    font-family: Lato, sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #000000;
}

section.ab_col.middle_hold {
  float: left;
  width: 500px;
  padding-left: 15px;
  padding-right:15px;
  box-sizing: content-box;
  border-right: 3px dotted #ececec;
  border-left: 3px dotted #ececec;
  border-right-style: dotted;
  max-height: 500px;
  /*overflow: hidden;*/
}
section.ab_col.left_hold {
    float: left;
}
section.ab_col.rigth_hold {
    float: right;
}
.bx-wrapper {
    margin-bottom: 0px !important;
    max-width: 100% !important;
    /*overflow-x: hidden !important;*/
}
section.ab_col.middle_hold .bx-wrapper img {
    /*max-height: 333px;*/
    /*width: 500px !important;*/
}

section.ab_col.middle_hold .slide-caption p {
    margin-bottom: 10px !important;
    margin-top: 10px;
    color: #000000;
    text-align: center;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 22px;
    padding-left: 20px;
    padding-right: 20px;
}

.slide-caption {
    margin-top: 25px;
}

.bx-viewport {
    box-shadow: none !important;
    border: none !important;
    left: 0px !important;
}

.bx-wrapper .bx-prev {
	width: 38px !important;
    height: 38px !important;
    background: url('images/arrow-black-left.png') !important;
}
.bx-wrapper .bx-next {
	width: 38px !important;
    height: 38px !important;
    background: url('images/arrow-black-right.png') !important;
}


.bx-wrapper .bx-controls-direction a {
  z-index: 8 !important;
}

#anchor-slider-box .bx-wrapper .bx-controls-direction a {
  top: 165px;
}

#anchor-slider-box .bx-wrapper .bx-controls-direction a.bx-prev {
    left: -5px;
}

#anchor-slider-box .bx-wrapper .bx-controls-direction a.bx-next {
    right: -5px;
}

#anchor-slider-box .bx-pager.bx-default-pager {
  top: 345px;
  bottom: initial;
  padding: 0px;
  line-height: 0px;
}

/** anchor block */

/* events & promotions slider | home section */
/* .section-title-box2.hmpg-enp {
    margin-top: -35px;
} */

.section-title-box2.hmpg-enp h3 {
    width: fit-content;
    margin: -23px auto 20px;
    background: #fff;
    padding: 0 15px;
}

.ep-slider-box {
	min-height: 350px;
    border: 2px dotted #c3c3c3;
    padding: 0px 60px 30px;
    border: 1px solid #000000;
    width: 85%;
    margin: 0 auto;
}

.ep-slider-box ul li div.slide-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.ep-slider-box p.epslider-title {
    width: 202px;
    height: 267px;
    padding-top: 10px;
    float: left;
    font-family: Lato, sans-serif;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 800;
    color: #000;
    vertical-align: middle;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #ededed;
    border-bottom: 5px solid #c3c3c3;
    display: inline-flex;
}

.ep-slider-box .epslider-thumbnail {
  width: 400px;
  max-height: 267px;
  overflow: hidden;
  background: #fff;
  float: left;
}

.ep-slider-box .epslider-thumbnail img {
	width: auto;
    height: auto;
    max-height: 100%;
    margin: 0 auto;
}

.ep-slider-box .bx-controls-direction a {
  top: 50% !important;
  z-index: 10 !important;
}
.ep-slider-box .bx-wrapper .bx-prev {
    left: -20px;
}
.ep-slider-box .bx-wrapper .bx-next {
    right: -20px;
}

.ep-slider-box .flex-direction-nav a:before {
  font-size: 25px !important;
}

div#airkit_homepage-events-preguide .container {
    padding-top: 50px;
}

div#hmpg-events-preguide {
    padding-top: 60px;
}

section.page-button {
    text-align: center;
    margin-top: 20px;
}
/**events & promotions slider | home section */

/* homeblend */
.homeblend-box .ts-sidebar-element {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

.home-blend-widget.sponsored.position-5 {
	display: none;
}
  
.homeblend-box .home-blend-widget {
    float: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    width: 204px;
	overflow: hidden;
}

.hb-thumbnail {
    border-top: 10px solid #e4e4e4;
    max-width: 204px;
    max-height: 145px;
    overflow: hidden;
	box-sizing: content-box;
}
.hb-thumbnail img {
    width: 100%;
    height: auto;
}

.home-blend-widget p {
    background: #e4e4e4;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-left: 1px solid #fff;
    padding: 15px 10px;
    line-height: 1.5;
    text-align: center;
    min-height: 80px;
    max-width: 204px;
    height: 100%;
}
.home-blend-widget p a {
    font-size: 15px;
    color: #000000;
    font-family: Lato, sans-serif;
}


.homeblend-box .home-blend-widget:first-child p {
    border-left: none;
}

.homeblend-box .home-blend-widget:nth-child(n+6) {
  display:none;
}

.homeblend-box .ts-sidebar-element div:nth-child(5) {
  display: none;
}

div.homeblend-box.homeblend-slider-box {
  display: none;
}

/**homeblend */


/* post latest */
.single-post-bottom {
    margin-top: 50px;
}
.post-section-title {
  -webkit-flex: 1 0 217px;
  -ms-flex: 1 0 217px;
  flex: 1 0 217px;
  margin-right: -11px;
  z-index: 10;
  float: left;
}
.latest-post-widget, .related-post-widget, .outbrain-post-widget {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  overflow: hidden;
}
.latest-post-widget .post-item, .related-post-widget .post-item {
	-webkit-flex: 1 0 204px;
    -ms-flex: 1 0 204px;
    flex: 1 0 204px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    width: 204px;
    float: left;
    border-right: 3px solid #ffffff;
}
.latest-post-widget .post-item:last-child, .related-post-widget .post-item:last-child {
  -webkit-flex: 1 0 204px;
  -ms-flex: 1 0 204px;
  flex: 1 0 204px;
  width: 200px;
  float: left;
  border: 0;
}

.post-item .lp-thumbnail, .post-item .rp-thumbnail {
	max-height: 136px;
    overflow: hidden;
    border-top: 10px solid #e4e4e4;
}
.post-item .lp-thumbnail img, .post-item .rp-thumbnail img {
  width: 100%;
}
.post-item p {
	-webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #e4e4e4;
    padding: 10px;
    line-height: 1.4;
    text-align: center;
    min-height: 90px;
}
.post-item p span {
  display: block;
  text-transform: capitalize;
  font-weight: 600;
  color:rgba(255,8,144,1);
  font-family: "Open Sans";
  font-size: 13px;
}
.post-item p a {
	color: #000000;
	font-size: 15px;
	font-family: Lato, sans-serif;
}
.latest-post-widget .post-item:first-child p, .post-related-widget .post-item:first-child p {
  border-left: 0px;
}

.outbrain-box {
    -webkit-flex: 1 0 204px;
    -ms-flex: 1 0 204px;
    flex: 1 0 816px;
    /*display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;*/
    width: 816px;
    float: left;
}
.section-title-box.outbrain-stories h3.section-title-1 {
    margin: 20px 0 -15px;
}
/**post latest */

/* InSkins */
section#custom_html-3, section#custom_html-5, section#custom_html-6, section#custom_html-7 {
	margin-bottom: 0 !important; /* remove extra space at the bottom of website*/
}

.inskins_box {
	height: 0px;
	padding: 0px;
	overflow: hidden;
}
/**InSkins */

/* events & promotions | sidebar */
.events-promos-widget ul {list-style-type: none;}

.events-promos-widget ul li {
    display: -ms-flexbox;
display: -webkit-flex;
display: flex;
    border-bottom: 1px dotted rgba(0,0,0,0.1);
    padding-top: 20px;
    padding-bottom: 20px;
}
.events-promos-widget ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.events-promos-widget ul li div.post-thumbnail {
    float: left;
    margin-right: 10px;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    /* padding: 10px; */
}

.events-promos-widget ul li p {
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
    /*padding-left: 10px;*/
    line-height: 1.4;
}

.events-promos-widget p span.type {
    display: block;
    text-transform: capitalize;
    font-weight: 600;
    text-decoration: underline;
}

.events-promos-widget p span.title {
    color: #000;
}

.events-promos-widget ul li div.post-thumbnail img {
    width: 90px;
}

.events-promos-widget ul li:first-child {
    padding-top: 0px;
}

/**events & promotions | sidebar */

/* post gallery | single */
h1.post-title-type1 {
    font-family: Lato, sans-serif;
    font-weight: 800;
    font-size: 30px;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #000000;
    margin-bottom: 5px;
    padding-bottom: 5px;
    line-height: 1.2;
    position: relative;
}
/*h1.post-title-type1::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -4px;
    right: 0px;
    height: 4px;
    width: 25%;
    background: #f699ce;
}*/
div#post-slider {
    width: 600px;
    margin-bottom: 20px;
}

#post-slider .bx-viewport {
    overflow: visible !important;
}

#post-slider .bx-wrapper .bx-pager{
    display:none;
}

#post-slider .bx-wrapper .bx-controls-direction a {
  top: 200px;
}

#post-slider .bx-wrapper .bx-controls-direction a.bx-prev {
    width: 40px;
    height: 70px;
    background: url('images/hmpg-left.png');
    left: 0px;
}

#post-slider .bx-wrapper .bx-controls-direction a.bx-next {
    width: 40px;
    height: 70px;
    background: url('images/hmpg-right.png');
    right: 0px;
}

#post-slider div.gallery-post-thumbnail {
    width: 100%;
    max-height: 399px;
    overflow: hidden;
}

#post-slider div.gallery-post-thumbnail img {
    margin: 0 auto;
    width: auto;
    height: auto;
	max-height: 100%;
}

.single-gallery-share-comment {
    float: left;
    width: 600px;
    margin-top: 20px;
}

.gallery-post-content {
    position: absolute;
    top: 0px;
    left: 600px;
    width: 65%;
    margin-left: 30px;
    text-align: left;
    height: 89%;
    overflow-y: auto;
    padding-right:20px;
    padding-bottom:10px;
    background:#fff;
    font-family: "Open Sans";
}

.gallery-post-content span.gp-title{
  font-size:16px;
  display:block;
  font-weight: bold;
  margin-bottom:20px;
}

span.gp-slide-ctr {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

span.gp-slide-ctr u {
    font-size: 16px;
    text-decoration: none;
}

/* showmore link */
span.jrm-toggle {
    color: #000;
    text-decoration: underline;
}
/**showmore link*/

.gallery-post-content div p, .gallery-post-content div p span {
    line-height: 1.5 !important;
    font-size: 14px !important;
}

.gallery-post-box .siderbar-right {
    float: right;
    width: 38%;
    margin-top: 20px;
}

.gallery-post-box {
    overflow: hidden;
    margin-bottom: 50px;
}

section.collapsible {
    height: 294px;
    position: relative;
    overflow: hidden;
}

section.collapsible.collapsed {
    height: auto;
}
section.collapsible.collapsed::after{
  height:0px;
}
section.collapsible::after {
    content:"";
    height: 50px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
/*.gallery-post-content p, .gallery-post-content p span {
    font-size: 15px !important;
    line-height: 1.5;
}*/

.gallery-post-content a.readmore-link {
    color: #000;
    text-decoration: underline;
    font-size: 15px;
    margin-top: 10px;
    display: inline-block;
    cursor: pointer;
}

/**post gallery | single */

/* addthis inline */
.addthis-box {
    text-align: center;
}
/**addthis inline */

/* vuukle comment */
.show-hide-button {
    background: rgb(254, 183, 223);
    text-align: center;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 18px;
    cursor: pointer;
}

.show-hide-button span#plus-minus {
    padding-left: 10px;
}
.vuukle-content.sliding-box {
    padding-top: 20px;
}
/**vuukle comment */

/* footer instagram connect */
/*div#sb_instagram::before {
    content: "Connect with us @youngparents_sg";
    position: absolute;
    z-index: 10;
    background: #ec008b;
    color: #fff;
    font-size: 26px;
    padding: 11px 20px;
    width: 424px;
    top: 50%;
    left: 50%;
    margin-left: -212px;
    margin-top: -26px;
    border-radius: 7px;
    font-family: 'Pacifico', cursive;
    font-weight: normal;
}*/
.instagram-widget-title {
	position: absolute;
    z-index: 10;
    background: #2e2e2e;
    color: #fff;
    font-size: 20px;
    padding: 8px 25px 8px 30px;
    width: 395px;
    top: 50%;
    left: 50%;
    margin-left: -159px;
    margin-top: -26px;
    border: 4px solid #ffffff;
    font-family: Lato, sans-serif;
    font-weight: 900;
    text-transform: uppercase;
}
.instagram-widget-title strong {
    font-weight: 900;
}
.instagram-widget-title .fa-instagram {
    font-size: 28px;
    padding-left: 20px;
}
#footer .row.content-block .text-element>p {
    display: none;
}
.instagram-widget-title a {
    color: #fff;
}
.instagram-widget-title a:hover, .instagram-widget-title a:focus {
    color: #dedede;
}
/**footer instagram connect */

/* footer subscription form */
.footer-subscription-form label {
    font-size: 13px;
    line-height: 1.7;
    width: 100%;
    text-align: center;
    font-weight: normal;
}

.footer-subscription-form input.form-control {
    height: 25px;
    line-height: 25px;
    padding: 0px 20px;
    font-size: 13px;
    background: #e8e8e8;
    border: 2px solid #909090;
    color: #000000;
    text-align: center;
    border-radius: 0px;
	margin: 10px 0 0;
}
.footer-subscription-form input.form-control::-webkit-input-placeholder {
    color: #777777;
}


.footer-subscription-form {
    padding: 0px 0px 10px;
    width: 100%;
    margin: 0 auto;
}

/**footer subscription form */

/* footer social share*/
.footer-social .social-icons.iconed ul li a > i {
    font-size: 30px !important;
}

.footer-social {
    padding-top: 5px;
}

.footer-social .social-icons.iconed ul li a {
    font-size: 30px;
}

.footer-social ul li {
    margin-right: 30px !important;
}
.footer-social ul li:first-child {
    margin-left: 15px;
}
/**footer social share*/

/* responsive css | desktop and above */

/* Events & Promos | Marketing page */
.section-title-box.enp-events, .section-title-box.enp-promotions {
  margin-top:30px;
}
.section-title-box.enp-events::before {
    left: 10%;
    width: 33%;
}
.section-title-box.enp-events::after {
    right: 10%;
    width: 33%;
}

.section-title-box.enp-promotions::before {
    left: 10%;
    width: 30.8%;
}
.section-title-box.enp-promotions::after {
    right: 10%;
    width: 30.8%;
}
.events-promos-content {
    text-align: center;
}
.events-promos-content>p {
    font-size: 17px;
    color: #000000;
    font-family: Lato, sans-serif;
    font-weight: bold;
}
.ep-subscribe-top-box {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 5px;
}
.section-title-2.subs-now {
    font-size: 28px;
    font-weight: 800;
    font-family: Lato, sans-serif;
    font-style: italic;
}

  .ep-subscribe-top-box>div{
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0 50px;
      float: left;
      min-width: 50%;
  }

  .ep-subscribe-top-box>div>p {
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-direction: column;
      align-items: center;
      /*padding: 0 50px;
      float: left;*/
  }

  .ep-subscribe-top-box>div>p>img {
    display: block;
    margin: 0 auto 10px;
  }

.subscribe-btn {
    color: #000000 !important;
    background: none !important;
    border: 1px solid #000000 !important;
    font-size: 16px !important;
    font-family: Lato, sans-serif !important;
    font-weight: 800 !important;
    padding: 7px 15px !important;
    height: auto !important;
    width: auto !important;
    letter-spacing: 0.7px !important;
}
.ep-subscribe-bottom-box {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.eps-btm-col2 p {
    font-size: 16px;
    padding: 0px 20px;
    line-height: 1.3;
    margin-bottom: 15px;
}

.eps-btm-col2 p img {
    margin: 0;
}

.eps-btm-col2 h5 {
    display: block;
    font-family: Lato, sans-serif;
    font-size: 22px;
    color: #00beff;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
}

.epx-btm-col1 {
  border-left: 3px dotted #ececec;
}
.eps-btm-col2 {
    border-right: 3px dotted #ececec;
    padding-bottom: 20px;
}

.ep-subscribe-bottom-box {
    margin-top: 30px;
    overflow: hidden;
}

.ep-subscribe-bottom-box>div {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.eps-btm-col3 {
    display: -ms-flexbox;
display: -webkit-flex;
display: flex;
    justify-content: center;
}
.eps-btm-col3 .widget {
    width: 300px;
    margin: 0 auto;
}
.ep-subscribe-top-box div:first-child {
    border-right: 3px dotted #ececec;
    float: left;
    min-width: 50%;
}
.ep-subscribe-top-box>div>a, .ep-subscribe-top-box>div>p>a {
  margin-top:10px;
}

.eps-btm-col2 div#btn a {
  margin: 0 5px;
}

.ep-subscribe-bottom-box>.eps-btm-col1 img {
    max-width: 250px;
    height: auto;
    margin: 0 auto;
}
.ep-subscribe-bottom-box>.eps-btm-col1 {
    text-align: center;
    float:left;
}

.ep-subscribe-bottom-box>div.eps-btm-col2 {
    float: left;
    border-right: 3px dotted #ececec;
    width: 50%;
}
.ep-subscribe-bottom-box>div.eps-btm-col3 {
    float: right;
    width: 50%;
    /*min-width: 50%;*/
}

.ep-grid-thumbnail p {
  padding-top: 15px;
  padding-bottom: 15px;
  min-height: 77px;
}

.ep-events-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  overflow: hidden;
}
.ep-events-row .content-list {
    -webkit-flex: 0 1 68%;    /* Chrome */
    -ms-flex: 0 1 68%;        /* IE 10 */
    flex: 0 1 68%;
    max-width: 68%;
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    justify-content: space-between;
    flex-wrap: wrap;
    /*overflow: hidden;*/
    float: left;
}
div#ep-ads-300x600-box {
    -webkit-flex: 0 1 32%;
    -ms-flex: 0 1 32%;
    flex: 0 1 32%;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    float: right;
    min-width: 32%;
}
div#ep-ads-300x600-box .widget {
    width: 300px;
    position: relative;
}
div#ep-ads-300x600-box .widget .textwidget {
    /*position: absolute;*/
}


.ep-grid-thumbnail.ep-closed .thumb, .ep-grid-thumbnail.ep-closed>p,
.ep-grid-thumbnail.promo-closed .thumb, .ep-grid-thumbnail.promo-closed>p {
    opacity: .5;
}

.ep-grid-thumbnail.ep-closed::after, .ep-grid-thumbnail.promo-closed::after {
    content: "Event is over";
    background: #fdfdfd;
    position: absolute;
    left: 8px;
    top: 7px;
    margin: 0 auto;
    padding: 3px 7px;
    opacity: 1;
    color: #232323;
    border: 1px solid rgba(195,195,195,1);
    font-family: Lato, sans-serif;
    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    -webkit-box-shadow: 2px 2px 1px 0px rgba(195,195,195,0.8);
    -moz-box-shadow: 3px 3px 1px 0px rgba(195,195,195,0.8);
    box-shadow: 2px 2px 1px 0px rgba(195,195,195,0.8);
}

.ep-grid-thumbnail.promo-closed::after {
    content: "Freebie is over";
}

.ep-grid-thumbnail {
    position: relative;
}



/*section#text-31 {
    position: fixed;
}*/

.content-list .alm-reveal {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    width: 100%;
    float: left;
    overflow: hidden;
}

.alm-listing .alm-reveal:after {
	width: auto !important;
	display: none !important;
}

.events-lm {
  width: 100%;
  float:left;
  clear:both;
}

.content-list .ajax-load-more-wrap {
    width: 100%;
}

.ep-grid-thumbnail .thumb {
  border: 1px solid #cbcbcb;
  max-width: 320px;
  overflow: hidden;
}

.ep-grid-thumbnail {
    border: none !important;
}

.ep-events-box {
    background: #fbfbfb;
}

.ep-events-box h3.section-title {
    margin-top: 0;
    padding: 30px 0 10px;
}

.ep-promotion-row .content-list {
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    justify-content: space-between;
    flex-wrap: wrap;
    /*overflow: hidden;*/
    float: left;
    width: 100%;
    /*overflow: hidden;*/
}

.ep-promotion-row .content-list.on-tablet-mobile {
  display: none;
}

.ep-promotion-row .content-list .grid-thumbnail:nth-child(odd){
    float:inherit;
    clear:none;
}
.ep-promotion-row .content-list .grid-thumbnail:nth-child(n+1) {
    float:left;
    clear:left;
}
.ep-promotion-row .content-list .grid-thumbnail:nth-child(3n+3) {
    float:right;
    clear:right;
    margin: 0 0 0 auto;
}
.content-list .ajax-load-more-wrap {
    float: left;
    clear: both;
    overflow: hidden;
}
.ep-events-row .alm-btn-wrap {
    margin-left: 340px;
	clear: both;
}

.ep-promotion-row .alm-btn-wrap {
	clear: both;
}

/**Events & Promos | Marketing page */

/* Sidebar 1 */
.newsletter-sidebar-widget-box {
    border: 1px solid #c3c3c3;
    padding: 0 10px 10px;
    margin-top: 50px;
    max-width: 300px;
}

.newsletter-sidebar-widget-box p {
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
    padding: 5px 0px 0px;
}

.newsletter-sidebar-widget-box form input {
    width: 90%;
    height: 30px;
    line-height: 30px;
    border: 2px solid #909090;
    padding: 0;
    text-align: center;
}

.newsletter-sidebar-widget-box form {
    text-align: center;
}
.newsletter-sidebar-widget-box h6 {
    text-align: center;
    margin: -43px 0 0px;
}

.section-title-box.sidebar-newsletter h3 {
    margin: 0;
    margin-top: -22px;
}
.sidebar-newsletter h3 span {
    display: inline-block;
    background: #ffffff;
    padding: 0 15px;
}

.newsletter-sidebar-widget-box div#response, div#response-nlfooter {
    background: #fef3fb;
    padding: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 1.2;
    display: none;
    font-style: italic;
}

div#newsletter-form-box {
    margin: 15px 0 5px;
}

div#response-nlfooter {
    background: #cdcdcd;
}
#response p.success, div#response-nlfooter p.success {
    padding: 0;
}

h6.sidebar-widget-title.widget-title-highlight{
    text-align: center;
    margin-top: 0px;
    margin-bottom: -20px;
}
.dpe-flexible-posts.events-promos-widget {
    border: 4px dotted #c3c3c3;
    padding: 0px 15px 15px;
    border-radius: 20px;
    position: relative;
    margin-top: 50px;
}
.section-title-box.sidebar-event-freebie {
    margin-top: -25px;
    text-align: center;
}
.section-title-box.sidebar-event-freebie h3 {
    display: inline-block;
    background: #ffffff;
    padding: 0 18px;
}
h6.sidebar-widget-title.widget-title-events-promos {
    text-align: center;
    margin-top: -35px;
    margin-bottom: 20px;
}
.yp-awards-box {
    margin-top: 20px;
}
p.pdpa {
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 0 0;
    text-align: center;
}
p.pdpa a {
    color: #000000;
    font-weight: bold;
}
p.pdpa a:hover {
    color: #ec008a;
    text-decoration: underline;
}
/**Sidebar 1 */

/* outstream ads */
.outstream-ad-box {
    margin: 1.5em auto 2em;
    padding: 12px 0 22px;
    background-color: #f2f2f2;
    text-align: center;
}

.outstream-ad-box::before {
    content: ' ';
    display: block;
    position: relative;
    top: 0px;
    height: 18px;
    background-size: 78px;
    text-align: center;
    font-size: 10px;
    color: #999999;
}
/**outstream ads */

/* YP Directory */

body.page-id-37687 header#header,
body.single-listings header#header,
body.post-type-archive-listings header#header,
body.tax-listings-category header#header,
body.page-id-40026 header#header /* live - listings page */
{ /* remove header gap for YP Directory pages*/
    padding-bottom: 0px !important;
}

/* yp directory navigation */
.sm {
	z-index: 19;
}
/**yp directory navigation */

#ypd-header {
	height: 170px;
    background: url('images/ypdirectory/header.jpg');
	background-position: top center;
}

.section-title-box.school-head {
    margin-top: 50px;
}

.section-title-box.school-head h3 span {
    background: #ffffff;
    padding: 0px 20px;
    display: inline-block;
    z-index: 10;
    position: relative;
}

.section-title-box.school-head::before {
    z-index: 1;
	width: 100%;
}

.section-title-box.school-head::after {
    display: none;
}

.section-title-box.school-head h3 {
    background: none;
}

.school-logo {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
	position: relative;
}

h1.school-name {
    text-align: center;
    font-family: Lato, sans-serif;
    font-size: 32px;
    letter-spacing: 0.3px;
    line-height: 1;
    margin: 20px 0 50px !important;
}

/* .school-logo::before {
	content: "";
    height: 20px;
    width: 100%;
    position: absolute;
    background: url('images/hmpg-ts-line.png') repeat-x;
	top: 50%;
	left: 0;
} */

.school-logo img {
    max-width: 240px;
	position: relative;
	z-index: 5;
}

#school-slider {
	max-width: 500px;
	margin: 0 auto 30px;
}

#school-slider .bx-viewport {
    overflow: visible !important;
}

#school-slider .bx-wrapper .bx-controls-direction a {
  top: 157px;
}

#school-slider .bx-pager.bx-default-pager {
  top: 300px;
  bottom: initial;
  padding: 0px;
  line-height: 0px;
}

#school-slider .bx-wrapper .bx-controls-direction a.bx-prev {
    width: 40px;
    height: 70px;
    background: url('images/hmpg-left.png');
    left: 0px;
}

#school-slider .bx-wrapper .bx-controls-direction a.bx-next {
    width: 40px;
    height: 70px;
    background: url('images/hmpg-right.png');
    right: 0px;
}

table.school-information tbody td:nth-child(odd) {
    max-width: 100px;
}

table.school-information tbody td {
    background: #f5f5f5;
    padding: 12px 30px  !important;
}

table.school-information thead th {
    background: #5f5f5f;
    color: #ffffff;
    padding: 12px 30px !important;
    font-size: 18px;
}

.school-description {
    max-width: 750px;
    margin: 30px auto;
    text-align: center;
    font-family: Lato;
    line-height: 1;
}

.school-description p {
    font-family: Lato, sans-serif;
    line-height: 1.7;
    font-size: 18px;
}

.school-video {
    margin-bottom: 30px;
}

/* school location */
ul.location-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 !important;
    margin: 0;
    list-style-type: none;
}

ul.location-nav li {
    flex: 1;
    background: #96c8da;
    border-right: 1px solid #ffffff;
}

ul.location-nav li a {
    display: block;
    height: 100%;
    text-align: center;
    color: #ffffff;
    padding: 12px 0;
    font-size: 18px;
    font-weight: bold;
    font-family: Lato, sans-serif;
}
ul.location-nav li a.active {
    background: #00beff;
	border-bottom: 2px solid #00678a;
}

ul.location-nav li:last-child {
    border-right: none;
}

.branches-map-wrapper {
	position: relative;
	height: 500px;
	width: 100%;
    /* padding: 10px 30px 40px 30px; */
    background: #f5f5f5;
	overflow: auto;
}
.map-box {
	position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 30px 10px 30px 30px;
}
.map-location-list {
    height: 100%;
	overflow: auto;
    float: right;
    width: 301px;
}

.map-location-list ul {
    list-style-type: none;
	box-sizing: 290px;
    padding: 0 10px 0 20px !important;
    margin: 0 !important;
}

.map-location-list ul li {
	
}
.map-location-list ul li {
    border-bottom: 2px dotted #d3d3d3;
    padding: 20px 0;
}

.map-location-list ul li:first-child {
	padding-top: 10px;
}

.map-location-list ul li:last-child {
	border: none;
}

.map-location-list ul li span {
    text-align: center;
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-family: Lato, sans-serif;
    color: #000000;
}

.map-location-list ul li span:first-child {
    font-weight: 600;
    text-decoration: underline;
    font-family: Lato, sans-serif;
    font-size: 20px;
    line-height: 22px;
    padding-bottom: 5px;
}

.map-location-list ul li span:first-child a{
	color: inherit;
}

.branches-box {
	z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: #f5f5f5;
	padding-bottom: 30px;
	position: relative;
    /* height: 100%;
	overflow: auto; */
    /* display: none;
	z-index: -1; */
}

.branches-box .school-branch {
	flex: 0 0 313px;
	box-sizing: border-box;
	padding: 30px 20px;
	text-align: center;
    border-bottom: 2px dotted #d3d3d3;
    width: 313px;
	margin: 0 2px;
	
}

.branches-box .school-branch span {
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-family: Lato, sans-serif;
}

.branches-box .school-branch span:first-child {
    font-weight: 600;
    text-decoration: underline;
    font-family: Lato, sans-serif;
    font-size: 20px;
    line-height: 22px;
    padding-bottom: 5px;
}

.branches-box .school-branch span:first-child a {
    color: inherit;
}

	/* ypd category page */
.sf-container {
    float: left;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 30px;
    border: 4px dotted #c3c3c3;
    border-radius: 20px;
    padding: 15px 10px;
}
h4.sf-header {
    padding: 0;
    margin: 0;
    font-size: 22px;
    line-height: 1;
}
.searchandfilter ul li li {
	float: left;
    clear: left;
    margin-left: 15px;
    padding: 2px 0;
}

.searchandfilter ul li ul {
    float: left;
    overflow: hidden;
    padding-left: 0px !important;
}

.section-title-box.hmpg-highlights.rec-reads::before {
    left: 0;
    width: 35%;
}

.section-title-box.hmpg-highlights.rec-reads::after {
    right: 0;
    width: 35%;
}

div#school-latest-listings {
    overflow: hidden;
	display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: initial;
}

.grid-thumbnail.yp-directory {
    width: 225px;
	border: none;
	margin-bottom: 30px;
	background: none;
}

.grid-thumbnail.yp-directory p {
	padding: 0 10px;
	min-height: auto;
}

.grid-thumbnail.yp-directory div.thumb a img {}

.grid-thumbnail.ypd-search-item .thumb a img.top-picks-flag {
    width: auto;
    position: absolute;
    margin: 5px;
}

#school-latest-listings .grid-thumbnail.yp-directory div.thumb a img.top-picks-flag {
    width: 55px;
    position: absolute;
    margin: 5px;
}

.grid-thumbnail.yp-directory .thumb {
    max-height: 148px;
    overflow: hidden;
	border: 1px solid #cbcbcb;
}

.grid-thumbnail.yp-directory:nth-child(odd) {
    clear: none;
}

.grid-thumbnail.yp-directory:nth-child(even) {
    clear: none;
    float: left;
}

div.grid-thumbnail.yp-directory {
    margin-left: 40px;
}

div.grid-thumbnail.yp-directory:nth-child(4n+1) {
    margin-left: 0px;
}

.category-listings-result {
   /*  float: right;
    max-width: 690px; */
}

.category-listings-search {
    border: 1px solid #00beff;
    padding: 0px 20px 10px;
    overflow: hidden;
}

.listings-cat-content {
    position: relative;
	overflow: hidden;
	min-height: 500px;
	clear: both;
}

.location-filter {
    position: absolute;
    left: 30px;
    top: 15px;
    width: 300px;
    box-sizing: border-box;
}

.location-filter.mobile {
	display: none;
}

.searchandfilter h4 {
    font-size: 20px;
    padding-bottom: 0px;
    font-weight: bold;
    color: #3a3a3a;
    text-transform: uppercase;
    font-family: Lato, sans-serif;
    letter-spacing: 1.5px;
}

.searchandfilter ul li li label {
    font-size: 16px;
    font-family: Lato, sans-serif;
    font-weight: normal;
}

h2.page-title.curve-line.listings-category::after {
    width: 100%;
}

h2.page-title.curve-line.listings-category::before {
    display: none;
}

h2.page-title.curve-line.listings-category span {
    display: inline-block;
    margin: 0 auto;
    background: #ffffff;
    position: relative;
    z-index: 2;
    padding: 0 33px;
}

h2.page-title.curve-line.listings-category {
    margin-bottom: 30px;
}

.grid-thumbnail.ypd-search-item div.thumb {
    border: 1px solid rgb(203, 203, 203);
}

.grid-thumbnail.ypd-search-item div.category-list a {
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #00beff;
    line-height: 1;
}

.grid-thumbnail.ypd-search-item div.category-list {
	margin-top: 10px;
	text-align: center;
}

.grid-thumbnail.ypd-search-item div.category-list a:hover {
    text-decoration: underline;
}
.grid-thumbnail.ypd-search-item p a {
    font-size: 21px;
    font-weight: bold;
}
.grid-thumbnail.ypd-search-item p {
	min-height: 65px;
}
	/**ypd category page */
	
/**school location*/

#school-slider ul {
	padding: 0;
	margin: 0;
}
#school-slider ul li {
	display: none;
}
#school-slider ul li img {
    width: auto !important;
    max-height: 400px !important;
    margin: 0 auto;
}

.school-branches {
}

.map-box #map {
	width: 670px;
	height: 440px;
}

ul.branch {
    list-style-type: none;
    margin: 0 0 30px;
    padding: 0;
    float: left;
    min-width: 320px;
	font-family: "Open Sans";
}

ul.branch li {
    font-size: 14px;
    padding: 2px 0;
}
ul.branch li.location {
    font-size: 16px;
    font-weight: bold;
    color: #ec008a;
}
ul.branch li.branch-name {
    font-size: 16px;
}

.school-links {
    text-align: center;
}

.school-links a {
    display: inline-block;
    margin: 30px 20px;
    color: #ec0089;
    background: none;
    border: 2px solid #ec0089;
    border-radius: 25px;
    font-size: 18px;
    line-height: 25px;
    font-family: Lato, sans-serif;
    font-weight: bolder;
    padding: 10px 25px;
    height: auto;
    width: auto;
    letter-spacing: 0.7px;
}

div.grid-thumbnail.yp-directory div.category-list {
    text-align: center;
    color: #00beff;
	font-family: Lato;
    margin-top: 10px;
    font-size: 12px;
    line-height: 14px;
}
div.grid-thumbnail.yp-directory div.category-list a {
    color: #00beff;
	font-family: Lato;
}
div.grid-thumbnail.yp-directory div.category-list a:hover { 
	text-decoration: underline;
}

div.grid-thumbnail.yp-directory p {
    /* padding: 10px 20px 10px;
	min-height: 65px; */
}

	/* YP Schools Landing Page */
#school-slider ul li p.school-name {
	text-align: center;
    letter-spacing: normal;
    font-family: Lato, sans-serif;
    font-weight: bold;
    font-size: 22px;
    color: #2d2d2d;
}
#school-slider ul li p.school-name a{
    color: #2d2d2d;
}

.school-category-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.school-category-list.preschool-highlighs-list {
    justify-content: space-around;
}

.school-category-list.preschool-highlighs-list .grid-thumbnail:nth-child(odd) {
    margin-right: 25px;
}

.school-cat-grid {
    position: relative;
    width: 320px;
	margin-bottom: 30px;
    border: 1px solid #cbcbcb;
}

.school-cat-grid:nth-child(odd) {
    float: left;
    clear: left;
}

.school-cat-grid:nth-child(even) {
    float: right;
    clear: right;
}

.school-cat-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 22px;
    background: rgba(255, 255, 255, .5);
}

.school-cat-grid a:hover {
    background: none;
}

	/* yp directory masthead */
div#school-masthead {
    max-width: 980px;
    margin: 0 auto;
}
div#recommended-schools-box .anchor-img {
    float: left;    
	max-width: 630px;
    max-height: 419px;
    overflow: hidden;
	display: none;
}

div#recommended-schools-box .anchor-img:first-child {
    display: block;
}

div#recommended-schools-box ul {
	height: 420px;
    overflow: auto;
    margin: 0;
    padding: 0;
    list-style-type: none;
    float: right;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

div#recommended-schools-box {
    overflow: hidden;
    margin-bottom: 30px;
}

div#recommended-schools-box ul li {
    margin: 0;
    box-sizing: border-box;
    position: relative;
    width: 320px;
    overflow: hidden;
    border: 2px solid #fff;
    border-bottom: 3px solid #fff;
}

div#recommended-schools-box ul li.active {
    border: 2px solid #e4e4e4;
    border-bottom: 3px solid #c3c3c3;
}

div#recommended-schools-box ul li img {
    margin: 10px 12px;
    float: left;
}

div#recommended-schools-box ul li .categories {
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #00beff;
    padding: 20px 0 0;
    line-height: 16px;
}
div#recommended-schools-box ul li .categories a:hover{
	text-decoration: underline;
}
div#recommended-schools-box ul li .title {
    font-family: Lato, sans-serif;
    font-size: 17px;
    font-weight: bold;
    line-height: 22px;
}
div#recommended-schools-box ul li .title a {
	color: #000000;
}
div#recommended-schools-box ul li .details {
    float: left;
    max-width: 170px;
}

.anchor-details {
    position: absolute;
    bottom: 0px;
	padding: 10px 30px 20px;
    width: 100%;
    text-align: center;
}

.anchor-img {
    position: relative;
}
.anchor-details::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #ffffff;
    opacity: 0.8;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

.anchor-details .categories {
	margin: 0 auto;
    position: relative;
    z-index: 5;
    color: #00beff;
}

.anchor-details .title {
    position: relative;
    z-index: 5;
    color: #090909;
}

.anchor-details .categories a {
    font-family: Lato, sans-serif;
    font-size: 16px;
    color: #00beff;
}

.anchor-details .categories a:hover {
	text-decoration: underline;
}

.anchor-details .title a {
    font-size: 22px;
    line-height: 22px;
    font-family: Lato, sans-serif;
    font-weight: 800;
    color: #090909;
}
	/**yp directory masthead */

	/* school image gallery */
ul#school-image-gallery {
	margin:0;
	padding:0;
}
div.school-slider-wrapper {
	max-width: 750px;
	margin: 0 auto;
}
div.listing-slider .lSPager.lSGallery {
    display: flex;
    justify-content: center;
}
div.listing-slider .lSPager.lSGallery li {
    width: 115px !important;
    max-height: 77px;
    height: auto;
}

.vid-embed-wrapper {
   position: relative;
   height: 0;
   overflow: hidden;
   padding: 0 0 56.25%;/* aspect ratio */
}

.vid-embed-wrapper iframe, .vid-embed-wrapper object, .vid-embed-wrapper embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
	/**school image gallery */

/**YP Directory  */

/* Featured Video sidebar */

.featured-video-box {
	width: 300px;
    background: #ffffff;
    padding: 0 0 20px;
    margin-bottom: 30px;
    float: right;
    clear: both;
}
.sidebar1-box .featured-video-box {
	float: none;
	padding: 0;
}

.fv-content {
    padding: 0 15px;
}

.fv-title {
    padding: 10px 0;
    text-align: center;
}

.fv-title a {
    font-family: Lato, sans-serif;
    font-weight: bold;
    font-size: 19px;
    line-height: 20px;
    color: #2d2d2d;
}

.fv-title a:hover {
	color: #2d2d2d;
}

.fv-description {
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    font-family: Lato, sans-serif;
}
/**Featured Video sidebar */

@media (min-width: 1025px) {
  .ep-promotion-row .content-list .grid-thumbnail:nth-child(n+2) {
      margin-left: 20px;
  }
  .ep-events-row .content-list {
    -webkit-flex: 0 1 66%;    /* Chrome */
    -ms-flex: 0 1 66%;        /* IE 10 */
    flex: 0 1 66%;
    max-width: 66%;
  }
}

@media only screen and (max-width: 1024px) {
  .ep-promotion-row .content-list .grid-thumbnail:nth-child(2) {
      margin-left: 1.5%;
  }
  .ep-events-row .content-list {
    -webkit-flex: 0 1 67%;    /* Chrome */
    -ms-flex: 0 1 67%;        /* IE 10 */
    flex: 0 1 67%;
    max-width: 67%;
  }

  /* related stories | single page  */
  .latest-post-widget .post-item, .related-post-widget .post-item {
    -webkit-flex: 1 0 188px;
    -ms-flex: 1 0 188px;
    flex: 1 0 188px;
  }
  /**related stories | single page  */
}

@media only screen and (max-width: 959px) {
	  
	/* header */
	.site-section.airkit_row-sticky.airkit_vertical-middle.affix-top {
		height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	header#header {
		/* background-color: #ec008b; */
		padding-bottom: 0;
		margin-bottom: 30px;
	}
	
	div#airkit_logo-shoutoutbox-row {
		background-color: #00beff !important;
	}
	
	span.hamburger-inner, span.hamburger-inner::before, span.hamburger-inner::after {
		background: #ffffff !important;
		height: 4px !important;
	}
		
	div#airkit_header-onscroll {
		background: #00beff !important;
	}
	
	.site-section.airkit_row-sticky.airkit_vertical-middle.affix .row.content-block.main-menu {
		float: right;
	}
	
	div#ts_hamburger-toggle {
		padding-left: 15px !important;
	}
	
	div#ts_logo-onscroll-box {
		margin-top: 14px;
	}
	
	div#airkit_header-onscroll {
		padding: 0 !important;
	}
	
	/**header */
	
	/* hide section title design */
	.section-title-box::before {
		width: 28%;
		display:none;
	}

	.section-title-box::after {
		width: 28%;
		display:none;
	}
	/**hide section title design */
	
}

@media only screen and (min-width: 769px) {
	
/* highlights | home section */
	.highlights-slider-box {
		display: none;
	}

	.section-title-box.hmpg-highlights::before {
		width: 21.2%;
		left: 20%;
	}

	.section-title-box.hmpg-highlights::after {
		width: 21.2%;
		right: 20%;
	}

	.dpe-flexible-posts.hmpg-highlights-widget {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		justify-content:space-around;
	}

	.dpe-flexible-posts.hmpg-highlights-widget .highlights-item {
		background: #ffffff;
	}
	.highlights-item:nth-child(n+2) {
		margin-left: 10px;
	}

	.highlights-item .thumb img {
		width: 170px;
		max-height: 114px;
	}

	.highlights-item .thumb {
		width: 170px;
		float: none;
	}

	.highlights-item p {
		float: none;
		width: 170px;
		padding: 10px 2px;
		min-height: 50px;
		font-size: 13.9px;
		line-height: 1.4;
		font-weight: bold;
		background: #ffffff;
		font-family: Lato, sans-serif;
		text-align: center;
	}

	.highlights-item p a {
		color: #2d2d2d;
	}
/**highlights | home section */
	
  /* hide social links */
  .menu-social-link {
    display: none !important;
  }
  /**hide social links */

  /* hide carousel articles on desktop */
  .related-stories-thumbnail, .latest-stories-thumbnail, .section-title-box.outbrain-stories {
    display: none;
  }

  /* newsletter on-scroll */
  .subscribe-onscroll-wrapper {
    min-height: 80px;
  }
  .subscribe-onscroll-box {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    background: #ffffff;
    z-index: 20;
  }

  .subscribe-onscroll-box section {
    margin: 0 auto;
    max-width: 960px;
    padding-bottom: 10px;
  }

  .subscribe-onscroll-box h3 {
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    margin: 10px 0;
  }

  i.fa.fa-times.nlos-close {
      float: right;
      font-size: 25px;
      cursor: pointer;
  }

  .subscribe-onscroll-box input[type=submit] {
      padding: 0px 10px !important;
      font-size: 15px !important;
  }

  .subscribe-onscroll-box input[type=email] {
    border-radius: 15px;
    padding: 3px 10px !important;
    font-size: 15px;
    border: 2px solid #666;
    color: #2d2d2d;
  }

  /**newsletter on-scroll */

  div#airkit_footer-middle #airkit_middle-2nd{
    height:222px;
  }

  /* main menu */
  .row.content-block.main-menu {
      margin: 0 auto;
	  border-bottom: 2px solid #000000;
  }
	.row.content-block.main-menu > div {
		padding-left: 0;
		padding-right: 0;
	}

  /* search box | main menu */
  .row.content-block.main-menu .searchbox {
      margin-top: -7px;
  }
  
    .airkit_menu .navbar-nav > li.first-appended {
        margin-left: 20px;
		margin-right: 0px;
    }

  /* anchor block */
  /*section.ab_col.middle_hold .slide-caption p {
    height: 43px;
    overflow: hidden;
  }*/

  .ab-thumbnail-box { /* anchor block sides thumbnail */
    display:none;
  }
  /**anchor block */

/*   h2.page-title.curve-line::after {
      display: block;
      content: "";
      height: 20px;
      width: 30.8%;
      position: absolute;
      background: url('images/hmpg-ts-line.png') repeat-x;
      top: 50%;
      right: 0;
  }

  h2.page-title.curve-line::before {
      display: block;
      content: "";
      height: 20px;
      width: 30.9%;
      position: absolute;
      background: url('images/hmpg-ts-line.png') repeat-x;
      top: 50%;
      left: 0;
  } */

}

@media only screen and (max-width: 1024px) {
  .gallery-post-content {
      min-width: 59%;
  }
  .gallery-post-box .siderbar-right {
    width: 36%;
  }
}

/* @media only screen and (max-width: 768px) {

} */
/* masthead */
	/* div#recommended-schools-box .anchor-img {
		max-width: 450px;
	}

	div#recommended-schools-box ul li .details {
		width: 105px;
	}

	div#recommended-schools-box ul li {
		width: 260px;
	} */
	
/* responsive css | tablet and below */
@media only screen and (max-width: 768px) {
	
	.navbar ul li:first-child a {
		padding-left: 20px;
	}

  /* featured video */
  .featured-video-box {
	  float: left;
	  margin: 50px auto 30px;
  }
  /**featured video */
  
  /* related stories | single page  */
  .related-stories-thumbnail, .latest-stories-thumbnail, .section-title-box.outbrain-stories {
      margin-top: 20px;
  }
	div#related-stories-slider > div {
		margin-right: 3px;
	}
	
	div#latest-stories-slider > div {
		margin-right: 3px;
	}
  .latest-post-widget, .related-post-widget {
    display:none;
  }
  .rs-slider-box .bx-pager.bx-default-pager, .ls-slider-box .bx-pager.bx-default-pager {
      display: none;
  }
  /**related stories | single page  */

  .row.page-row {
      padding-top: 20px;
      padding-bottom: 20px;
  }

  /* sidebar | only show MPU, Halfpage, Newsletter and Highlights widgets  */
  .dpe-flexible-posts.events-promos-widget, section#text-90, section#text-91, section#shortcode-widget-3, section#shortcode-widget-4, section#text-55, section#text-52 {
    display: none;
  }
  .sidebar1-box {
    float:none;
    max-width: 300px;
    margin: 50px auto 0;
    text-align: center;
  }
  .sidebar1-box aside#text-36 {
    text-align: center;
  }
  /**sidebar | only show MPU, Halfpage, Newsletter and Highlights widgets  */

  /* navigation burger icon (mobile) */
/*   span.sb-menu-toggle {
    position: absolute;
    top: -92px;
  } */
  /**navigation burger icon (mobile) */

  /* Ads 300x250, Ads 300x250 */
  .widget-ads300x600-box.homets, .widget-ads300x250-box.homets {
    text-align: center;
    margin-top: 50px;
	float: right;
  }
  /* Ads 300x250, Ads 300x250 */
  
  /* OptinMonster */
  div#boston-element-title-content span {
    font-size: 18px !important;
    font-weight: 600;
    line-height: 1 !important;
  }
  /* OptinMonster */

  /* newsletter on-scroll */
  .subscribe-onscroll-box {
    display:none;
  }

  div#airkit_middle-2nd {
      border: none !important;
  }
  div#airkit_footer-middle {
      text-align: center;
  }
  p.about-us-txt {
    flex-direction: column;
    align-items: center;
  }
  p.about-us-txt span {
    float: none;
  }
  p.about-us-txt span {
      margin-top: 20px;
      text-align: center;
      float:none;
      max-width: none;
  }
  /* anchor block */

  .anchor_block_box {
    flex-direction: column;
    width: 100%;
  }

  .featured_box.featured_sales, .featured_box.featured_marketing {
    margin-top: 0px;
    padding-top: 0px;
    border-top: none;
  }

  section.ab_col.left_hold {
    /*display: flex;*/
    display:none;
    justify-content: space-around;
    order: 2;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #d9d9d9;
    padding-top: 30px;
  }

  section.ab_col.rigth_hold {
    /*display: flex;*/
    display: none;
    justify-content: space-around;
    order: 3;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #d9d9d9;
    padding-top: 30px;
  }

  section.ab_col.middle_hold {
      order: 1;
  }

  section.ab_col.middle_hold {
    border: none;
    padding: 0px;
    margin: 0px;
  }

  .ab-thumbnail-box { /**anchor block - sides thumbnail*/
    display: block;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #cbcbcb;
  }
  section.ab_col.left_hold, section.ab_col.rigth_hold {
    display: none;
  }
  #ab-outside-thumbnail-slides .featured_box {
    width: 100%;
    margin: 0px;
  }
  .featured_box p {
      font-size: 15px;
      font-weight: normal;
  }
  .ab-thumbnail-box .bx-pager.bx-default-pager {
    display: none;
  } /*anchor block - sides thumbnail*/

  /**anchor block */

  /* preschool guide | sidebar */
  .sidebar-ads.sidebar-preschool-guide {
    /* text-align: center; */
    display: -ms-flexbox;
display: -webkit-flex;
display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  /**preschool guide | sidebar */

  /* trending bar */

  div#ts_header-trend-bar {
    text-align: center;
    margin: 0px !important;
    padding:0px !important;
  }

  .ts-shortcode-element a img {
    max-width: 50%;
  }

  .site-section.airkit_vertical-middle {
      padding-bottom: 0px !important;
  }

  .site-section.airkit_vertical-middle {
      padding: 10px 0px 0px !important;
  }

  div#ts_header-logo {
    padding: 0px !important;
  }

  /* anchor block */
  section.ab_col.middle_hold {
    margin:0 auto;
  }

  section.ab_col.middle_hold .slide-caption p {
    display: none;
  }

  section.ab_col.middle_hold {
    width:500px;
  }
  section.ab_col.middle_hold .slide-caption p {
    display: none;
  }
  .slide-caption h5 {
    margin-bottom: 0;
    border-bottom: none;
    padding: 0px 10px;
  }
  /**anchor block */

  div#airkit_homepage-top-stories>.container>.row {
    background-size: initial;
  }

  div#homepage-top-stories {
      display: -ms-flexbox;
display: -webkit-flex;
display: flex;
      flex-direction: column;
  }
  div#homepage-top-stories .col-ts {
      order: 2;
      margin-top: 20px;
  }

  .top-stories-box ul {
    flex-direction: row;
    align-items: center;
  }

  div#airkit_homepage-top-stories .sidebar-ads-300x250 {
    text-align: center;
    margin-top: 0;
  }

  .section-title-box.hmpg-lateststories::before {
    width: 20%;
  }

  .section-title-box.hmpg-lateststories::after {
    width: 20%;
  }

  div#airkit_homepage-latest-stories {
    text-align: center;
  }

/*   .latest-stories-widget.grid-thumbnail, .grid-thumbnail {
    margin: 0px auto 20px;
    float:none;
  } */

  .sidebar-ads.sidebar-ads-300x600 {
    text-align: center !important;
  }

  /* .ep-slider-box ul li div.slide-content {
    flex-direction: column;
  }

  .ep-slider-box .epslider-thumbnail {
    width: 100%;
    float: none;
  }

  .ep-slider-box {
    padding-left: 15px;
    padding-right: 15px;
  }

  .ep-slider-box p.epslider-title {
    line-height: 1.5;
    padding: 10px 20px;
    text-align: center;
    height: auto;
    width: auto;
    float: none;
  } */

  div#airkit_homepage-highlights>.container>.row {
    background-size: initial;
  }
  
  /* homepage highlights */
  .dpe-flexible-posts.hmpg-highlights-widget {
    /*display: flex;*/
    display:none;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .dpe-flexible-posts.hmpg-highlights-widget .highlights-item {
    margin-bottom: 20px;
    display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
  }

  .hmpg-highlights-widget .highlights-item:last-child {
    display:none;
  }

  .dpe-flexible-posts.hmpg-highlights-widget p {
    line-height: 1.4;
    font-weight: 600;
    background: #fef2f9;
    min-height: 80px;
    border-bottom: 3px solid #ec008a;
    text-align: center;
    width: 75px;
    font-size: 12px;
    padding: 5px;
  }

  .highlights-item .thumb {
    width: 90px;
  }

	/*homepage highlights mobile view | slider */
	.highlights-slider-box .bx-wrapper .bx-viewport {
		background: none;
	}

	div#highlights-slider .highlights-item p {
		font-weight: bold;
		line-height: 16px;
		font-size: 12px;
		text-align: left;
		background: #fef2f9;
		min-height: 65px;
		border-bottom: 3px solid #c3c3c3;
		padding: 10px 15px;
	}

	div#highlights-slider .highlights-item p a {
		color: #2d2d2d;
	}

	#highlights-slider .thumb {
		width: 100%;
	}
	.highlights-slider-box .bx-pager.bx-default-pager {
		display: none;
	}

	.dpe-flexible-posts.hmpg-highlights-widget p a {
		color: #2d2d2d;
	}
	/**homepage highlights*/

  div.homeblend-box {
    display: none;
  }
  div.homeblend-box.homeblend-slider-box {
    display: block;
    margin-bottom: 20px;
  }

  .homeblend-slider-box .home-blend-widget p {
    min-height: 76px;
    padding: 10px 5px;
  }
  .homeblend-slider-box .bx-pager.bx-default-pager {
    display: none;
  }
  .homeblend-box .home-blend-widget:nth-child(n+6) {
    display: block;
  }


  .yp-awards-box {
    text-align: center;
  }

  .cnwidget.cndesktop.cnvw.cnheader-small {
    margin: 0 auto;
  }

  .top-ads-widget {
    /*display: none;*/
  }


/* side ads 300x250 */
  .sidebar1-box aside#text-41 {
    text-align: center;
  }
/**side ads 300x250 */

  .newsletter-sidebar-widget-box {
      margin: 50px auto 0;
  }

  .sidebar1-box .airkit_widget_latest_posts {
    max-width: 300px;
    margin: 0 auto;
  }
  .dpe-flexible-posts.events-promos-widget {
    max-width: 300px;
    margin: 30px auto;
  }
  aside#text-35 .textwidget {
      text-align: center;
  }

  div#post-slider {
      width: 100%;
  }

  /* gallery-post */
	ul#post-gallery-slider li {
		max-width: 100%;
	}
  .gallery-post-content {
      position: initial;
      top: initial;
      left: initial;
      width: 100%;
      margin: 20px 0;
      height: auto;
      overflow: initial;
      padding-right: 0;
      padding-bottom: 0;
  }
  .gallery-post-content a.readmore-link {
      display: none;
  }
  section.collapsible {
      height: auto;
  }
  section.collapsible::after {
      display: none;
  }

  .gallery-post-box .siderbar-right {
    width: auto;
    width: 300px;
    margin: 30px auto;
    float: none;
  }

  .single-gallery-share-comment {
    float: none;
    width: 100%;
  }
  /** gallery-post */

  /* single post | related/latest posts*/

  .latest-post-widget .post-item:nth-child(n+4), .related-post-widget .post-item:nth-child(n+4) {
      display: none;
  }

  .latest-post-widget, .related-post-widget {
		justify-content: center;
  }

  .latest-post-widget .post-item, .related-post-widget .post-item {
      max-width: 204px;
  }

  .post-section-title {
      -webkit-flex: initial;
      -ms-flex: initial;
      flex: initial;
  }
  /**single post | related/latest posts*/
  /* trending bar | header */
  /* div#airkit_header-trend-bar {
    margin-top: 15px !important;
  } */
  /**trending bar | header */


  h2.page-title::before, h2.page-title::after {
    display:none !important;
  }

  .ep-subscribe-bottom-box {
    flex-wrap: wrap;
  }
  .ep-subscribe-bottom-box>div {
      -webkit-flex: 1 0 40%;
      -ms-flex: 1 0 40%;
      flex: 1 0 40%;
  }
  .eps-btm-col1 {
    -webkit-flex: 0 1 100% !important;
    -ms-flex: 0 1 100% !important;
    flex: 0 1 100% !important;
    margin-bottom: 30px;
  }
  .eps-btm-col2 {
      border: none;
  }

  .ep-events-row {
    flex-wrap: wrap;
  }

  .ep-events-row .content-list {
      -webkit-flex: 0 1 100%;
      -ms-flex: 0 1 100%;
      flex: 0 1 100%;
      max-width: none;
  }

  div#ep-ads-300x600-box {
      -webkit-flex: 1 0 100%;
      -ms-flex: 1 0 100%;
      flex: 1 0 100%;

      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      justify-content: center;
  }

  div#ep-ads-300x600-box .widget {
      width: 300px;
      min-height: 300px;
  }

  .ep-events-row .alm-btn-wrap {
      margin-left: 0;
  }

  .ep-promotion-row .content-list {
    flex-wrap: wrap;
  }

  .ep-promotion-row .content-list .alm-reveal {
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-wrap: wrap;
  }

  .ep-promotion-row .content-list.on-desktop {
    display: none;
  }

  .ep-promotion-row .content-list.on-tablet-mobile {
    display: block;
  }

  .ep-promotion-row .content-list.initial-row .grid-thumbnail:nth-child(3) {
    display:none;
  }

  /* homeblend */
	.homeblend-box .ts-sidebar-element {
		display: block;
	}
  /**homeblend*/
  
  /* yp directory - category */
  .location-filter.desktop {
		display: none;
	}

	.location-filter.mobile {
		display: block;
		width: auto;
		position: relative;
		left: initial;
		top: initial;
		margin: 0 10px 30px;
	}

	.location-filter.mobile .searchandfilter ul li li {
		clear: none;
	}
	
	label.main-menu-btn {
		float: left;
		margin-left: 25px;
	}
	
	div#ypd-nav {
		padding: 5px 0;
	}
	.map-location-list {
		display: none;
	}
  /**yp directory - category */
  
}

/* Iphone X Landscape */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 812px) 
and (-webkit-device-pixel-ratio : 3)
and (orientation : landscape) {

/* header */
	.site-section.airkit_row-sticky.airkit_vertical-middle.affix-top, .site-section.airkit_row-sticky.airkit_vertical-middle.affix {
		height: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	header#header {
		/* background-color: #ec008b; */
		padding-bottom: 0;
		margin-bottom: 30px;
	}
	
	div#airkit_logo-shoutoutbox-row {
		background-color: #ec008b !important;
	}
	
	span.hamburger-inner, span.hamburger-inner::before, span.hamburger-inner::after {
		background: #ffffff !important;
		height: 4px !important;
	}
	
	div#airkit_header-onscroll {
		display: none;
		background: #ec008b !important;
	}
/**header */
}

/* Tablet Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
	  
/* anchor block outside thumbnails */
	ul#ab-outside-thumbnail-slides > li {
		width: 320px !important;
		margin-right: 40px !important;
	}
	
	.ab-thumbnail-box {
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.slide-caption h5 {
		font-size: 25px;
	}

	.slide-caption h6 {
		font-size: 18px;
	}

	.featured_box p {
		font-size: 20px;
		line-height: 1.2;
	}

	.featured_box span {
		font-size: 18px;
	}
/**anchor block outside thumbnails */

	div#highlights-slider .highlights-item {
		width: 320px !important;
		margin-right: 40px !important;
	}
	.highlights-slider-box {
		padding-left: 25px;
		padding-right: 25px;
	}
	div#highlights-slider .highlights-item p {
		font-size: 18px;
		padding: 15px;
		min-height: 80px;
	}
	
/* home page */	  
	div#ts_hamburger-toggle-onscroll {
		padding: 20px 0 !important;
	}
	
	div.logo-box {
		padding: 10px 0;
	}
	
	.ts-shortcode-element section {
		margin: 0 !important;
	}
	
	.site-section.airkit_vertical-middle {
		padding: 10px 0 !important;
	}
	
	ul#menu-sitemap-menu li {
		padding: 0 !important;
	}
	
	section.ab_col.middle_hold {
		width: 700px;
		max-height: none;
	}
	
	#anchor-slider-box .bx-pager.bx-default-pager {
		top: 430px;
	}

	#anchor-slider-box .bx-wrapper .bx-controls-direction a {
		top: 233px;
		margin-top: -35px;
	}
	
	ul#menu-sitemap-menu li a {
		font-size: 12px !important;
		line-height: 14px !important;
	}
	
	.widget-ads300x250-box.homets {	
		margin: 56px auto 0 !important;
		float: none;
	}
	
	div#homepage-top-stories .col-ts {
		margin-top: 0;
	}
	
	.grid-thumbnail:nth-child(odd) {
		margin-left: 20px;
	}

	.grid-thumbnail:nth-child(even) {
		margin-right: 20px;
	}
	
	.featured-video-box {
		margin: 50px 0 0 20px;
		width: 320px;
		background: none;
	}

	.widget-ads300x600-box.homets {
		margin: 90px 30px 0 0;
	}
	
	.ep-slider-box .bx-wrapper .bx-prev {
		left: 0;
	}

	.ep-slider-box .bx-wrapper .bx-next {
		right: 0;
	}
	
	.ep-slider-box p.epslider-title {
		text-align: center;
		display: flex;
		justify-content: center;

	}
	
	div#homepage-top-stories {
		flex-direction: row;
	}
	
	div#homepage-top-stories {
		display: block;
	}
	
	.top-stories-box ul li p {
		font-size: 18px;
		font-weight: normal;
	}
	
	/*show only 1 top story*/
	div#homepage-top-stories .col-ts .top-stories-box ul li:nth-child(n+3) {
		display: none;
	}
	
	.top-stories-box ul li:nth-child(n+2) {
		display: none;
	}

	.top-stories-box ul li {
		width: 320px;
		margin-left: 20px !important;
	}
	
	.top-stories-box ul li .thumb {
		max-height: none;
	}
	
	.footer-social {
		display: none;
	}
/**home page */	 

	/* sidebar */
	.sidebar1-box {
		display: flex;
		flex-wrap: wrap;
		flex-direction: row;
		justify-content: space-evenly;
		width: 100%;
		max-width: none;
	}
	
	section#shortcode-widget-12 {
		order: -1;
	} 

	.sidebar1-box .featured-video-box {
		margin: 0;
	}

	section#shortcode-widget-7 {
		width: 100%;
	}

	.newsletter-sidebar-widget-box {
		max-width: 600px;
		margin: 30px auto 0;
	}

	.newsletter-sidebar-widget-box p {
		font-size: 18px;
	}

	.newsletter-sidebar-widget-box p.pdpa {
		font-size: 15px;
	}

	.newsletter-sidebar-widget-box form input {
		font-size: 18px;
	}
	.sidebar1-box .crowdy-news-box {
		display: none;
	}
	
	.sidebar1-box section#shortcode-widget-8 {
		width: 100%;
	}

	.section-title-box.sidebar-highlights ul {
		display: flex;
	}

	.sidebar-highlights ul {
		display: flex;
		justify-content: space-around;
	}

	.sidebar-highlights ul li {
		border-bottom: none;
		padding: 0;
		max-width: 170px;
	}

	.sidebar-highlights ul li a span.thumb {
		width: 100%;
		float: none;
		display: block;
	}

	.sidebar-highlights ul li a span:last-child {
		float: none;
		display: block;
		padding: 10px 0;
	}

	.sidebar-highlights ul li a {
		display: block;
	}
	/**sidebar */
	
	/* homeblend | native highlight */
	.hb-thumbnail {
		max-width: none;
		max-height: none;
	}
	.homeblend-box .home-blend-widget {
		width: 245px !important;
	}

	.homeblend-slider-box .home-blend-widget p {
		max-width: none;
	}
	/**homeblend | native highlight */
	
	/* article page */
	.post-content > p > img {
		display: block;
		margin: 5px auto 20px;
	}
	
	div#latest-stories-slider .post-item, div#related-stories-slider .post-item {
		width: 245px !important;
	}

	.post-item .lp-thumbnail, .post-item .rp-thumbnail {
		max-height: none;
	}
	/**article page */
	
	/* gallery page */
	#post-slider div.gallery-post-thumbnail {
		background: #ececec !important;
	}
	/**gallery page */
	
	/* header */
	
	/* events & promos | home */
	.ep-slider-box .epslider-thumbnail {
		max-width: 320px;
	}

	.ep-slider-box {
		width: 106%;
		border-right: 0px;
		border-left: 0px;
		margin-left: -20px;
		margin-right: -20px;
		padding: 0 30px 10px;
		min-height: 320px;
	}
	
	.ep-slider-box p.epslider-title {
		padding-right: 40px;
	}
	
	.ep-slider-box p.epslider-title {
		height: auto;
	}
	
	.section-title-box2.hmpg-enp h3.section-title-1{
		margin-bottom: 30px;
	}
	/**events & promos | home */
	
	/* header | logo */
	div#ts_header-logo-tablet > div > div > div {
		text-align: right !important;
	}
}

 
/* responsive css | iphone6plus landscape */
@media only screen and (max-width: 736px) {
	
	/* header */
	div#ts_hamburger-toggle {
		padding: 15px 0 !important;
	}

	div#ts_header-trend-bar {
		padding: 20px 0 0 !important;
	}
	/**header */
  
  .featured-video-box {
	float: none;
	margin: 50px auto 30px;
  }
  
  .widget-ads300x600-box.homets, .widget-ads300x250-box.homets {
	  float: none;
	  margin: 0 auto;
  }
  
	.latest-stories-widget.grid-thumbnail {
		margin: 0px auto 30px;
		float:none;
	}
  
  /* copyright | footer */
  div#airkit_footer-bottom .textwidget span:nth-child(n+2):before {
    content: "\2022";
    padding-left: 5px;
    padding-right: 5px;
  }

  div#airkit_footer-bottom .textwidget span {
    display: inline;
  }

  div#airkit_footer-bottom {
    padding-top: 10px!important;
    padding-bottom: 0px !important;
  }
  /**copyright | footer */

  /* instagram | footer */
  div#sb_instagram::before {
    font-size: 14px;
    width: 215px;
    margin-left: -107px;
    padding:5px;
    top: 55%;
  }
  div.sbi_item:nth-child(n+9) {
      display: none !important;
  }

  #sbi_images .sbi_item {
      width: 25% !important;
  }
  /**instagram | footer */

  /* events & promos page */
  .ep-subscribe-top-box {
    flex-direction: column;
  }
  .events-promos-content>p {
    font-size: 17px;
    color: #000000;
    font-family: Lato, sans-serif;
    font-weight: bold;
  }
  .ep-subscribe-top-box div:first-child {
    border-right: none;
  }
  .ep-subscribe-top-box>div, .ep-subscribe-top-box>div>p {
      padding: 0;
  }
  .ep-subscribe-bottom-box {
    flex-direction: column;
  }
  .eps-btm-col2 {
    border-right: none;
    border-left: none;
    margin-top: 30px;
  }
  .eps-btm-col3 {
    margin-top: 30px;
    min-height: 300px;
  }
  .ep-events-row {
    flex-direction: column;
    align-items: center;
  }
  .ep-events-row .content-list, .ep-promotion-row .content-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    float:none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    -webkit-flex: initial;
    -ms-flex: initial;
    flex: initial;
  }
  .section-title-box.enp-events::before, .section-title-box.enp-events::after {
    width: 25.8%;
  }
  .section-title-box.enp-promotions::before, .section-title-box.enp-promotions::after {
    width: 20%;
  }
  .ep-events-row .alm-btn-wrap {
    margin: 0px;
  }
  .content-list .alm-reveal {
    flex-direction: column;
    align-items: center;
  }
  .events-lm {
    width: 100%;
  }

  h2.page-title.enp {
      margin-top: 20px;
      margin-bottom: 20px;
  }

  .ep-subscribe-top-box>div:last-child {
    margin-top: 20px;
  }

  /**events & promos page */

  h1.post-title-type1 {
    font-size: 32px;
    margin: 0px;
    line-height: 1;
  }

  h2.page-title {
    font-size: 24px;
    margin-top:20px;
  }
  h2.page-title::before, h2.page-title::after {
    display:none !important;
  }
  h2.page-title.development::before, h2.page-title.development::after {
    width: 18.6%;
  }
  h2.page-title.pnb::before, h2.page-title.pnb::after {
    width: 13%;
  }
  h2.page-title.education::before, h2.page-title.education::after {
    width: 26%;
  }
  h2.page-title.family::before, h2.page-title.family::after {
    width: 32.6%;
  }
  h2.page-title.enp::before, h2.page-title.enp::after {
    width: 13.1%;
  }

  h3.section-title-1 {
    font-size: 20px;
  }
  .section-title-box::before, .section-title-box::after {
    display: none !important;
    width: 22%;
  }

  .section-title-box.related-stories::before, .section-title-box.related-stories::after {
    width: 13.3%;
  }
  .section-title-box.latest-stories::before, .section-title-box.latest-stories::after {
      width: 17.6%;
  }
  .single-post-bottom .post-section-title {
    display: none;
  }

  .section-title-box.trending-stories::before {
    left: 8%;
    width: 9.7%
  }

  .section-title-box.trending-stories::after {
    right: 8%;
    width: 9.7%
  }


  /* header */
    span.sb-menu-toggle {
        /*top: -139px;*/
    }

    header#header
    {
        padding-bottom: 10px;
    }
    header.post-header1 h2 {
      font-size:28px;
      margin: 5px 0;
    }
	
	div#ts_header-logo-tablet {
		padding: 0 0 0 14% !important;
	}

	div#ts_header-trend-bar {
		padding: 10px 0 0 !important;
	}
  /**header */


  .simple-ad-widget-area {
      display:none;
  }


  /* top stories | home page */

  .top-stories-box ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
  .top-stories-box ul li:first-child {
    margin-right: 20px;
  }
  .top-stories-box ul li {
    width: 175px;
    margin-bottom: 0px;
  }
  .top-stories-box ul li:last-child {
    display: none;
  }
  .top-stories-box ul li .thumb {
    /*height: 120px;*/
  }
  .top-stories-box ul li p {
    padding: 10px 5px;
  }
  .widget-ads300x250-box.homets {
    text-align: center;
    margin-top: 20px;
  }
  .widget-ads300x250-box.homets .widget {
    margin-bottom: 0px;
  }
  /**top stories | home page */

  /* single post | related/latest posts*/

  .latest-post-widget .post-item:nth-child(n+4), .related-post-widget .post-item:nth-child(n+4) {
      display: block;
  }
  /**single post | related/latest posts*/

  #post-slider .bx-wrapper .bx-controls-direction a {
      top: 230px;
  }

/* home page */
  .ab_col .featured_box {
    width: 100%;
    padding: 0 20px;
    margin-bottom:0;
  }

  /* anchor block */
  section.ab_col.middle_hold {
    width:500px;
  }
  section.ab_col.middle_hold .slide-caption p {
    display: none;
  }
  .slide-caption h5 {
    margin-bottom: 0;
    border-bottom: none;
    padding: 0px 10px;
  }
  #anchor-slider-box .bx-pager.bx-default-pager {
    top: 62%;
  }
  /**anchor block */

  .ep-slider-box {
    width: 350px;
    margin: 0 auto;
  }
/**home page */
/* category page */
  .category-posts-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .category-posts-grid .grid-thumbnail img {
    height: auto;
  }

  .grid-thumbnail p {
    font-size: 17px;
  }

  .related-post-widget.single-post-bottom, .latest-post-widget.single-post-bottom {
    display: none;
  }

  .latest-post-widget .post-item, .related-post-widget .post-item {
    margin-bottom: 0px;
    max-width: 187px;
    -webkit-flex: initial;
    -ms-flex: initial;
    flex: initial;
  }

  .post-item p {
    font-size: 12px;
    min-height: 72px;
  }
/**category page */

	.slide-caption h6 {
		font-size: 18px;
	}
	
	/* footer | hide About Us and Sitemap sections on mobile */
	div#airkit_footer-middle > div > div.row > div:nth-child(1), div#airkit_footer-middle > div > div.row > div:nth-child(2) {
		background: #f00;
		display: none;
	}
	/* footer | hide About Us and Sitemap sections on mobile */

	
	/* yp directory - listing page */
	.map-location-list {
		display: none;
	}

	.map-box {
		padding: 20px;
	}

	.map-box #map {
		width: 100%;
	}
	
	h1.school-name {
		font-size: 26px;
	}
	/**yp directory - listing page */
	
	/* yp directory - landing page */
	
	.grid-thumbnail.yp-directory {
		max-width: 223px;
		margin-left: auto !important;
		margin-right: auto !important;
		float: none !important;
	}

	.anchor-details {
		padding: 10px;
	}
	div#recommended-schools-box ul {
		clear: both;
		width: 100%;
		margin-top: 20px;
	}

	div#recommended-schools-box ul li {
		width: 100%;
		border-bottom: 1px solid #fde5f3;
		display: flex;
	}

	div#recommended-schools-box ul li img {
		margin: 0 12px;
	}

	div#recommended-schools-box ul li .categories {
		padding: 5px 0 0;
	}
	/* yp directory - landing page */
	
	/* events & promos | home */
	.ep-slider-box ul li div.slide-content {
		flex-direction: column;
	}

	.ep-slider-box .epslider-thumbnail {
		width: 100%;
		float: none;
	}

	.ep-slider-box {
		padding-left: 15px;
		padding-right: 15px;
	}

	.ep-slider-box p.epslider-title {
		line-height: 1.5;
		padding: 10px 20px;
		text-align: center;
		height: auto;
		width: auto;
		float: none;
	}
	/**events & promos | home */
}

/* responsive css | iphone6plus portrait */
@media only screen and (max-width: 414px) {
  #post-slider .bx-wrapper .bx-controls-direction a {
      top: 115px;
  }
  #anchor-slider-box .bx-wrapper .bx-controls-direction a {
    top: 127px;
  }
  #anchor-slider-box .bx-pager.bx-default-pager {
      top: 250px;
  }
  
  /* anchor block */
  section.ab_col.middle_hold {
    width:100%;
  }
  /**anchor block */

  .ep-slider-box {
    width: 100%;
    margin: 0;
  }

  .top-stories-box ul li:first-child {
    margin-right: 0px;
  }

  .top-stories-box ul li p {
      font-size: 15px;
      line-height: 1.2;
  }

  div#wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  footer#footer {
    position: inherit;
    left: inherit;
  }

  .events-promos-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
  }

  .ep-subscribe-bottom-box {
      order: 1;
  }

  .events-promos-content>.section-title-2, .events-promos-content>p, .ep-subscribe-top-box, div#ep-events-box, .row.ep-promotion-box {
      order: 2;
  }

  .ep-subscribe-bottom-box {
      border-top: none;
      padding-top: 0px;
      margin-top: 0px;
      overflow: hidden;
  }

  .ep-subscribe-top-box {
      border-top: 3px dotted #ececec;
      padding-top: 30px;
      padding-bottom: 30px;
      margin-top: 30px;
  }
  .eps-btm-col2 div#btn a {
      display: table;
      margin: 0 auto 10px;
  }
  .ep-subscribe-bottom-box>div.eps-btm-col1 {
      width: 100%;
  }
  .ep-subscribe-bottom-box>div.eps-btm-col2 {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    border-right: none !important;
    border-left: none !important;
  }

  .ep-subscribe-bottom-box>div.eps-btm-col3 {
      max-width: none;
      width: 100%;
  }

  .col2-ads-300x600 {
      width: 100%;
      text-align: center;
  }
  .instagram-widget-title {
      font-size: 14px;
  }

  /* .instagram-widget-title strong {
      font-size: 23px;
  } */

  .instagram-widget-title .fa-instagram {
      font-size: 20px;
	  padding-left: 15px;
  }

  .instagram-widget-title {
      width: 268px;
      margin-left: -134px;
      padding: 2px 12px;
      margin-top: -20px;
  }
  
	/* Native Sponsorship Mobile */
	.native_sponsor_container .native_sponsor_img {
		width: auto;
		max-width: 320px;
		height: auto;
		margin: 0 auto;
		float: none;
	}

	.native_sponsor_container .native_sponsor_txt {
		max-width: 320px;
		margin: 0 auto;
	}

	.native_sponsor_container .native_sponsor_title {
		padding-top: 5px;
	}
	/** Native Sponsorship Mobile */
	
}

@media only screen and (max-width: 375px) {
  #post-slider .bx-wrapper .bx-controls-direction a {
      top: 105px;
  }
  #anchor-slider-box .bx-wrapper .bx-controls-direction a {
    top: 117px;
  }
  #anchor-slider-box .bx-pager.bx-default-pager {
      top: 225px;
  }
  
	/* yp listing - landing page */
	div#recommended-schools-box ul li .details {
		max-width: 120px;
	}
	/**yp listing - landing page */
}

/* responsive css | iphone5 portrait */

@media only screen and (max-width: 320px) {
  .dpe-flexible-posts.hmpg-highlights-widget p {
      font-weight: normal;
      font-size: 11px;
      width: 60px;
      line-height: 1.2;
      padding: 5px 0px;
  }

  .highlights-item .thumb {
      width: 80px;
  }

/* article, gallery article grid listing */
  .latest-stories-widget.grid-thumbnail, .grid-thumbnail {
    margin: 0px auto 20px;
    max-width: 320px;
    width: auto;
  }
/**article, gallery article grid listing */

  #post-slider .bx-wrapper .bx-controls-direction a {
      top: 85px;
  }

  #anchor-slider-box .bx-wrapper .bx-controls-direction a {
    top: 97px;
  }

  #anchor-slider-box .bx-pager.bx-default-pager {
      top: 190px;
  }
}
