/*--------------------------------------------------
  Section
--------------------------------------------------*/
.l-section {
  position: relative;
  padding: 20px 10px;
}

.l-section-padding-wide { padding: 50px 10px; }
.l-section-padding-narrow { padding: 10px; }
.l-section-padding-small { padding: 10px; }

.l-section-padding-no { padding: 0 !important; }

.l-section-padding-hor-no {
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.l-section-padding-ver-no {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  .l-section { padding: 30px; }
  .l-section-padding-wide { padding: 100px 30px; }
  .l-section-padding-narrow { padding: 30px; }
  .l-section-padding-small { padding: 10px 30px; }
}

@media print {
  .l-section { page-break-inside: avoid; }
}

/*--------------------------------------------------
  Article
--------------------------------------------------*/
.l-article { padding: 20px 0 0; }
.l-article-padding-no { padding: 0 !important; }
.l-article-padding-wide { padding: 40px 0 0; }
.l-article-padding-narrow { padding: 10px 0 0; }

@media (min-width: 768px) {
  .l-article { padding: 40px 0 0; }
  .l-article-padding-wide { padding: 80px 0 0; }
  .l-article-padding-narrow { padding: 20px 0 0; }
}

/*--------------------------------------------------
  Site-header
--------------------------------------------------*/
.l-site-header {
  position: fixed;
  top: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 320px;
  background-color: #FFF;
  transition: all 300ms ease-in-out 60ms;
  z-index: 9;
}
.l-site-header > div {
  display: inherit;
  flex-wrap: inherit;
  align-items: inherit;
  justify-content: inherit;
}
.l-site-header-active {
  top: -120px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}
.l-site-header-active.l-site-header-show,
.l-site-header-menu-opened {
  top: 0 !important;
}

.l-site-header__menu {
  order: 2;
  max-width: 80px;
}
.l-site-header__branding {
  order: 1;
  width: 100%;
  max-width: calc(100% - 80px);
  height: 75px;
  padding: 10px;
  margin-right: auto;
}
.l-site-header__action {
  order: 3;
  width: 100%;
}
.l-site-header__navigation {
  order: 4;
  width: 100%;
  padding: 0 10px;
  transition: all 300ms ease-in-out 60ms;
  overflow: hidden;
}

@media (min-width: 768px) {
  .l-site-header__menu {
    max-width: 100px;
  }

  .l-site-header__branding {
    max-width: calc(100% - 100px);
  }
}

@media (min-width: 992px) {
  .l-site-header { align-items: flex-end; }
  .l-site-header-active { top: -105px; }
  .l-site-header__menu { display: none; }
  .l-site-header__branding {
    width: auto;
    max-width: 350px;
    height: 105px;
  }
  .l-site-header__action {
    position: absolute;
    top: 20px;
    right: 10px;
    width: auto;
    max-width: calc(100% - 350px);
    padding: 0;
  }
  .l-site-header__navigation {
    width: auto;
    max-width: calc(100% - 350px);
  }
  .l-site-header-active .l-site-header__responsive {
    opacity: 0;
    visibility: hidden;
  }
  .l-site-header__responsive {
    opacity: 1;
    transition: all 300ms ease-in-out 60ms;
  }
}

@media (max-width: 991px) {
  .l-site-header-active .l-site-header__action {
    max-height: 0;
    opacity: 0;
  }
  .l-site-header__action {
    max-height: 100vh;
    opacity: 1;
    overflow: hidden;
    transition: all 300ms ease-in-out 60ms;
  }
  .l-site-header__navigation {
    max-height: 0;
    background-color: #F5F5F5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .l-site-header__navigation--show { max-height: 100vh; }
}

/*--------------------------------------------------
  Site-main
--------------------------------------------------*/
.l-site-main {
  position: relative;
  padding-top: 110px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .l-site-main { padding-top: 105px; }
}

/*--------------------------------------------------
  Site-intro
--------------------------------------------------*/
.l-site-intro {
	padding: 20px 0;
}

/*--------------------------------------------------
  Site-footer
--------------------------------------------------*/
.l-site-footer {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.l-site-footer__ext-footer {
  background-color: #F5F5F5;
}
.l-site-footer__main-footer {
  background-color: #5E7180;
}

/*--------------------------------------------------
  Site-atf
--------------------------------------------------*/
.l-site-atf {
	/*remove grey bg*/
	background-color: #FFF0;
	height: 600px;
  overflow: hidden;
}
.l-site-atf__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 500px;
  padding: 50px 10px 75px;
  z-index: 1;
}
@media (max-width: 640px) {
	.l-site-atf {
		height: 500px;
	}
	.l-site-atf__content img {
		top: 20%;
		position: absolute;
		width: 80% !important;	
	}		
}

@media (min-width: 768px) {
  .l-site-atf__content {
    height: 600px;
    padding: 65px 10px 75px;
  }
}

/*--------------------------------------------------
  Site-headline
--------------------------------------------------*/
.l-site-headline {
  position: relative;
  height: 65px;
  background-color: #FFF;
  border-bottom: 5px solid #F5F5F5;
  z-index: 1;
}
.l-site-headline::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  margin: auto;
  content: "";
  width: 60px;
  height: 5px;
  background-color: #8598B7;
}
.l-site-headline__content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media (min-width: 768px) {
  .l-site-headline { height: 90px; }
  .l-site-headline::after { width: 90px; }
}

/*--------------------------------------------------
  Site-content
--------------------------------------------------*/
.l-site-content {  
	padding: 30px 0;
  position: relative;
  background-color: #FAFAFA;
}

/*--------------------------------------------------
  Paper
--------------------------------------------------*/
.l-paper {
  height: auto;
  background-color: #FFF;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------
  l-with-social-layout
--------------------------------------------------*/
.l-with-social-layout {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.l-with-social-layout__content {
  position: relative;
}
@supports (grid-gap: 30px) {
  .l-with-social-layout {
    grid-gap: 30px;
  }
}
@media (min-width: 1200px) {
  .l-with-social-layout {
    -ms-grid-columns: 1fr 350px;
    grid-template-columns: 1fr 350px;
  }

/*--------------------------------------------------
  with-sidebar-layout
--------------------------------------------------*/
.l-with-sidebar-layout {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.l-with-sidebar-layout__content {
  position: relative;
}
.l-with-sidebar-layout__content:first-child {
  margin-right: 15px;
}
.l-with-sidebar-layout__content:last-child {
  margin-left: 15px;
}

@supports (grid-gap: 30px) {
  .l-with-sidebar-layout {
    grid-gap: 30px;
  }
  .l-with-sidebar-layout__content:first-child,
  .l-with-sidebar-layout__content:last-child {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (min-width: 1200px) {
  .l-with-sidebar-layout {
    -ms-grid-columns: 1fr 280px;
    grid-template-columns: 1fr 280px;
  }
}

/*--------------------------------------------------
  sidebar width
--------------------------------------------------*/
.l-sidebar-width { width: 100%; }

@media (min-width: 1200px) { .l-sidebar-width { max-width: 280px; } }
