html body.hidden-overflow-y {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
article {
	display: flex;
	flex-direction: column;
}
#page-article {
	order: 1;
}
.focus-label {
  margin-bottom: 6px;
}
.focuses, .header {
  margin-bottom: 94px;
}
.featured-container, .main-text, .slider-content h1 {
  margin-bottom: 64px;
}
.featured-container:nth-last-child(-n+1) {
  margin-bottom: 0;
}
@media (min-width:992px) {
  .featured-container: nth-last-child(-n+2) {
    margin-bottom: 0;
  }
}
.featured-article {
  margin-top: 8px;
}
.timezone {
  margin-top: 120px;
}
.carousel-subtitle {
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  letter-spacing: .25rem;
  font-weight: 500;
}
.focus-label {
  font-family: 'Kanit', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .2rem;
  font-size: .8rem;
  line-height: 1.5rem;
}
.top-header .list-inline-item:hover span {
  text-decoration: underline;
}
.btn-link {
    font-size: .9rem;
    letter-spacing: .15rem;
    line-height: 2rem;
    display: inline-block;
    text-transform: uppercase;
}
.btn-link .btn-i {
    padding-left: .5rem;
}
.btn-link:hover .btn-i {
    padding-left: 1rem;
}
#header.bg-white-color {
  border-bottom: 1px solid #dadada;
}
.header-mobile .custom-logo, .header-mobile .widget {
  margin-left: 0 !important;
}

/* logo */
.custom-logo {
  width: auto;
  height: auto;
/*
  max-width: 270px;
  max-height: 75px;
*/
  z-index: 999;
  position: relative;
}
.logo-sprites.right {
  background-position: right;
}
.home .logo-sprites .custom-logo-link {
  right: -100%;
}
.custom-logo {
  height: 75px;
}
.page-scrolled .custom-logo {
  height: 65px;
}

.page-title {
  margin-bottom: 0;
}
.page-subtitle {
  display: inline;
  position: relative;
}

.main-page {
  display: flex;
  flex-direction: column;
}
.main-page .page-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

/* slide */
.page-slide {
  position: relative;
  min-height: 240px;
  padding-top: 90px;
}
.page-slide.background {
  background-size: cover;
}
.page-slide .container {
  margin-top: 80px;
}

/* lists */
.icon-list {
  list-style: none;
}
.icon-list li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
}
.icon-list li:before {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'flaticon_mycollection' !important;  
  font-size: 2.25rem;
  width: 32px;
  height: 32px;
  line-height: 32px;  
}

/* margin */
/*
article.page .btn, article.page .row {
  margin-top: 64px;
}
*/
article.page div .row:first-child, article.page .row .row {
  margin-top: 0;
}

/* navigational hierarchy */
.nav-hierarchy {
  height: 29px;
  overflow: hidden;  
}
.nav-hierarchy-parent {
  position: relative;
  padding-right: 26px; 
  font-weight: 400;
}
.nav-hierarchy-parent a{
  position: relative;
  bottom: 0;
  opacity: .6;
  border-bottom: 1px solid #f64e4e;
  padding-bottom: 5px  
}
.nav-hierarchy-parent a:hover {
  opacity: 1;
  bottom: 5px;
}
.nav-hierarchy-parent:before {
  position: absolute;
  top: -4px;
  right: 5px;
  font-family: 'IcoFont' !important; 
  content: '\eaca';
  opacity: .75;
}

.direct-link {
    font-size: .8rem;
    font-weight: 500;
}

.header-text p {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .125rem;
    line-height: 2.4rem;
}
.focus-text {
    font-size: .9rem;
}

.featured-counter {
    color: #e2e2e2;
    border-right: 6px solid #e2e2e2;
    margin: 0;
    min-width: 70px;
    width: 10%;
    text-align: right;
}
.featured-counter.top-post {
    border-right: 6px solid #3153b7;
}

/*
li a {
    color: #f0f0f0;
    padding: 0 .2rem;
}
*/
.header {
    position: relative;
}

.bg-dark-pattern {
    color: #f0f0f0;
}
.bg-dark-color .focus-text, .bg-dark-pattern .focus-text {
    color: #a1a1a1;
}
.bg-dark-pattern:before {
    background: url(../img/pattern-dark.png);
}

#back-to-top:hover:after {
    opacity: 0;
}

.collapsing {
    position: relative;
    height: 0;
    overflow: hidden;
    transition-timing-function: ease;
    transition-duration: .35s;
    transition-property: height;
}
.collapsing.width {
    width: 0;
    height: auto;
    transition-property: width;
}

.block-text {
  position: relative;
}
.block-title:after {
  bottom: 12px;
}


/* Promo Pop Up 
----------------------------------------------- */
.promo-body {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 999; 
	
    justify-content: center;
    display: flex;	
}
.promo {
  width: 1052px;
  height: 620px;
  background: #242f4f;
  color: #fff;
  position: absolute;  
  z-index: 999;
  top: 50%;
/*   left: 50%;
  margin-left: -526px; */
  margin-top: -310px;  
  top: -50%;
  transition: top 1.5s cubic-bezier(0, 0, 0.54, 1.01), opacity 1s cubic-bezier(0, 0, 0.54, 1.01);
}
.promo.out {
  opacity: 0;
}  
.promo.in {
  top: 50%;
}
.promo-wrap {
  display: flex;
	 flex-wrap: wrap;
  width: 100%;
  height: 100%;
}  
.promo-img, .promo-text {
  width: 526px;
  height: auto;
}
.promo-text {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  text-align: center;
  position: relative;
}
.promo-text p {
  font-size: 22px;
  line-height: 31px; 
}
.promo-text .btn {
  margin-top: 24px;
}
.promo-text .btn.wpcf7-submit  {
	margin-top: 0;
}
.promo-text .promo-refuse {
  cursor: pointer;
	position: absolute;
	bottom: -30px;
}
.promo-text h3 {
  margin-bottom: 24px;
}
.promo-text * {
  position: relative;
  z-index: 1;
}
.promo-body:after, .promo-text:after {
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}  
.promo .wpcf7-spinner {
	position: absolute;
	top: 8px;
	background: transparent;
}
.promo-text:after {
  background: #242f4f;  
  opacity: .75;
} 
.promo-body:after {
  background: #161e37;
  opacity: 0;
  transition: all .2s linear;    
}   
.promo-body.in:after {
  opacity: .95;
} 

@media (max-width:1200px) {
  .promo {
    width: 790px;
  }
  .promo-img {
    width: 270px;
  }
  .promo-text {
    width: 520px;
  }	
}
@media (max-width:800px) {
  .promo {
    width: 80%;
	max-width: 526px;
	max-height: 90vh;
  }
  .promo-img {
    display: none;
  }
  .promo-text {
    width: 100%;
	height: 100%;
  }	
}

.promo input:not(.btn), .promo select, .promo textarea {
	color: #fff;
}
.promo form label {
	font-size: 14px;
}


/* clock classes
----------------------------------------------- */
.clock {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 100%;
  margin: 0 auto 12px auto;  
}
.clock:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #FFF;
  border-radius: 100%;
}
.clock .hand {
  height: 2px;
  position: absolute;
  top: 55px;
  background-color: #FFF;
  border-radius: 50% 0% 0% 50%;
  transform-origin: right 1px;
  transition: all 0.05s cubic-bezier(0, 0, 0.52, 2.51) 0s;
}
.clock .hand.seconds {
  width: 45%;
  left: 5%;
  opacity: 0.25;
}
.clock .hand.minutes {
  width: 35%;
  left: 15%;
  opacity: 1;
}
.clock .hand.hours {
  width: 25%;
  left: 25%;
  opacity: 1;
}
.clock .hand-cap {
  width: 4px;
  height: 4px;
  position: absolute;
  top: 49%;
  left: 48%;
  background-color: #FFF;
  border-radius: 100%;
}
.timezone-location, .timezone-time {
  display: block;
  margin: 0;
}


#slider .slideshow-text p {
  font-family: Kanit, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .125rem;
  line-height: 2.4rem;
}



/* FEATURED
----------------------------------------------- */
#featured.style1 {
	padding-top: 0; margin-top: -100px;
}
#featured.style2 {
	padding-top: 0;
}


#picture-boxes {
  margin-top: -180px;
  padding: 0;
}
.home #picture-boxes {
  margin-top: -260px;
}
.picture-box:hover {
  margin-top: -20px;
}

.card {
  overflow: hidden;
}
.card-container {
  margin-bottom: -36px;
}
.card-container, .card-wrap {
  position: relative;  
}
.card-container:before, .card-container:after {
  position: absolute;
  content: '';
  top: -16px;
  width: 50%;
  height: 32px;
  display: block;
}
.card-container:before {
  transform: skewX(45deg);   
  left: 0;
}
.card-container:after {
  transform: skewX(-45deg);   
  right: 0;  
}
.card-wrap {
  padding: 24px;
  bottom: 0;
}
.card-container:before, .card-container:after, .card-wrap {
  background: inherit;
}
.card:hover .card-container {
  margin-top: -60px;
  padding-bottom: 60px;
}
.card .filter-background {
  opacity: .1
}
.card:hover .filter-background {
  opacity: .7
}
.card .btn {
  margin: 0 24px 0 24px;  
}


/* bootstrap rows
----------------------------------------------- */
.row .col-sm-4 {
  margin-bottom: 40px;
}
.row .col-sm-4:nth-last-child(-n+3) {
  margin-bottom: 0;
}
  



.focus-intro {
    font-family: Quicksand, sans-serif;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .25rem;
    line-height: 1rem;
}
.info-num {
    font-family: Quicksand, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 2rem;
    margin: 1rem 0;
}
.big-icons .focus-icon {
    max-width: 60px;
    max-height: 60px;
    margin-bottom: 1rem;
}

.featured-counter svg.icon {
    max-width: 40px;
    max-height: 60px;
    fill: #e2e2e2;
}
.featured-container.top-post svg.icon, .focus-icon {
    fill: #3153b7;
}




#blog .card-text {
    max-height: 200px;
    overflow: hidden;
}
#footer .bg-dark-color .col-lg-4:not(:last-child):before {
    content: '';
    position: absolute;
    opacity: .1;
    right: 0;
    top: 40px;
    width: 1px;
    height: 100%;
    max-height: 240px;
    background: #bbb;
}
#footer .jumbotron {
    min-height: 0;
    margin: 0;
    padding: 2.25rem 0;
}