@import './fontello/css/fontello.css';

a,b,body,div,h1,h2,h3,h4,h5,h6,hr,html,i,img,li,ol,p,span,table,tbody,td,tfoot,th,thead,tr,u,ul{border: 0;margin: 0;padding: 0;}
html,body{ height:100%;}
body{
  color: #000;
  font-family: "Helvetica Neue", "Helvetica", Arial, Sans-Serif;
  font-size: 16px;
  width: 100%;
}

/* BIZANGO TEXT - NEW DEFAULTS - DON'T HAVE A TOP MARGIN THAT IS NOT ZERO ON A CORE TEXT ELEMENT */
p, li, figcaption {
	font-size:1rem;
  line-height:1.4;
  margin-top:0;
  margin-bottom:0.7em;
}
figure {
  margin: 1em 0;
}
img,
iframe:not(.playerBox) {
	max-width: 100%;
}
ul{margin-left: 50px;}
h1, h2, h3, h4, h5, h6{margin-bottom:0.5em;line-height:1.2;font-weight:normal;margin-top:0;}

h1{font-size:2em;}
h2{font-size:1.5em;}
h3{font-size:1.2em;}
h4{font-size:1.1em;}
h5{font-size:1em;}
h6{font-size:0.8em;}
@media only screen and (min-width: 640px) {
  .big-font-size,
  .bizango_cms_content .big-font-size {
    font-size: 4rem;
  }
}

/* Please override this with a sitewide default link color! This should be the color for all body text links. Then override for nav, etc, as needed. */
a{color:#ff0000;text-decoration:none;}
a:hover{
    text-decoration:underline;color:#ff0000
}

/* BIZANGO DEFAULT COLORS - REPLACE AND DELETE! */
body {
  background:#fff;
}
	
/* BIZANGO PAGE LAYOUT STRUCTURE */
.page_frame{
  box-sizing: border-box;
  margin: 0 auto;
  max-width:1262px;
  padding-left: 20px;
  padding-right: 20px;
  position:relative;
}

/* NAV */
.nav {
  list-style: none;
	margin: 0;
  padding: 0;
}
.nav a {
	display: block;
	padding: 10px 20px;
	text-decoration: none;
}
.nav li {
  line-height: 1;
  margin: 0;
}
.nav > li {
  position: relative;
}
.nav .subnav li {
  display: block;
}
.subnav {
  display: block;
  left: -9999px;
  margin: 0;
  min-width: 100%;
  position: absolute;
  top: 100%;
  white-space: nowrap;
  z-index: 1;
}  
@media only screen and (min-width: 768px){

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

.logo a,
.logo a:hover,
.logo a:active,
.logo a:focus {
  text-decoration: none;
}
.logo a {
  display: block;
  padding: 10px 0;
}

/* header */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 9;
}
.header__frame {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.header__nav-toggle {
  cursor: pointer;
  display: inline-block;
  border: 1px solid #000;
  line-height: 1;
  padding: 6px;
}
.header .nav > li:hover .subnav {
  left: 0;
}
@media only screen and (max-width: 767px){

  .header__nav {
    padding-bottom: 10px;
    padding-top: 10px;    
    text-align: right;
  }
  .header__nav-wrapper {
    background-color: white;
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    text-align: left;
    top: 100%;    
    z-index: 9;
  }
  .header__nav--utility {
    display: none;
  }
  .header__nav-wrapper.toggle-show {
    display: initial;
  }
  .header .subnav {
    padding-left: 20px;
  }
  .header .nav > li:hover .subnav {
    position: relative;
  }
}
@media only screen and (min-width: 768px){

  .header {
    padding-bottom: 1rem;
    padding-top: 1rem;
  }
  .header__frame {
    align-items: flex-end;
  }
  .header__nav-toggle,
  .header__nav-wrapper .nav--utility {
    display: none;
  }
}

/* footer */
.footer {
  padding-bottom: 3rem;
  padding-top: 3rem;
}
.footer .subnav {
  display: none;
}
@media only screen and (min-width: 768px){

  .footer__frame {
    align-items: flex-end;
    display: flex;
    justify-content: space-between;
  }
}
.deep-footer {
  background-color: #000;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
.deep-footer__content {
  color: #888;
  text-align: center;
}
.deep-footer .copyright {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#bizango{
    width:220px;height:12px;padding-bottom:20px;font-size:10px;color:#888;display:block;margin:40px auto 25px;
    background-image:url("/images/bizango-white.png");background-repeat:no-repeat;background-position:center bottom;
}

/* REQUIRED FOR CMS */
.help {
  background: #ddd;
  border-radius: 8px;
  color: #666;
  font-size: 13px;
  line-height: 1;
  margin: 0;
  padding: 10px;
}
.help p a {
  color: #ddd;
  text-decoration: underline;
}
.block__admin-view {
  padding-left: 42px;
}
@media only screen and (max-width: 767px){

  .bizango_cms_content [style*='text-align: right'] {
    text-align: left !important;
  }
}

/* OPTIONAL */
img.illustration{
  display:block;
  margin:0;
  margin-bottom:20px;
}

/* helpers-> clearfix */
.group:before,
.group:after {
    content: "";
    display: table;
} 
.group:after {
    clear: both;
}
.group {
    zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
.clear{clear:both;}

/* BOXES MODIFICATION */
.block_type__boxes.center-columns__text,
.block_type__boxes.center-columns__text-columns {
  text-align: center !important;
}
.block_type__boxes.center-columns__text-columns .boxes-frame {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media only screen and (min-width: 640px) {
  .block_type__boxes.boxes-per-row__5 .box__outer-frame,
  .block_type__boxes.boxes-per-row__5 .admin-frame {
    flex-basis: 33.333%;
    width: 33.333%;
  }
}
@media only screen and (min-width: 1000px) {
  .block_type__boxes.boxes-per-row__5 .box__outer-frame,
  .block_type__boxes.boxes-per-row__5 .admin-frame {
    flex-basis: 25%;
    width: 25%;
  }
}
@media only screen and (min-width: 1200px) {
  .block_type__boxes.boxes-per-row__5 .box__outer-frame,
  .block_type__boxes.boxes-per-row__5 .admin-frame {
    flex-basis: 20%;
    width: 20%;
  }
  .block_type__boxes.boxes-per-row__5 .box-content {
    padding: 20px;
  }
}
