/* Edits to header - colour & size */
#header {
background: black;
}
#header #logo a img {
max-height: 50px;
}
#header #globalsearchtext {
width: 300px;
font-size: 15px;
}
#navigation {
background: black;
}



/* Extending widget to fit image */
.ig-widget-type-html.image-extend .ig-cpt-body {
height: auto!important;
}




/* Custom logo and search bar */
#search-keyword {
  top: -3px!important;
}
#header-inner {
width: fit-content!important;
}




/* Hiding primary nav if empty */
#navigation.empty {
    height: 0;
    padding: 0;
    margin: 0;
}




/* Creating colour boxes (changes background colour) */
.ig-cpt.colour-box.c1, .ig-cpt.colour-box.c1 .ig-cpt-title, .ig-cpt.colour-box.c1 .ig-cpt-body, .ig-cpt.colour-box.c1 .ig-cpt-footer {
  background: #768336 !important;
  color: #fff !important;
}
.ig-cpt.colour-box.c2, .ig-cpt.colour-box.c2 .ig-cpt-title, .ig-cpt.colour-box.c2 .ig-cpt-body, .ig-cpt.colour-box.c2 .ig-cpt-footer {
  background: #a7b66b !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c3, .ig-cpt.colour-box.c3 .ig-cpt-title, .ig-cpt.colour-box.c3 .ig-cpt-body, .ig-cpt.colour-box.c3 .ig-cpt-footer {
  background: #f9faf4 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c4, .ig-cpt.colour-box.c4 .ig-cpt-title, .ig-cpt.colour-box.c4 .ig-cpt-body, .ig-cpt.colour-box.c4 .ig-cpt-footer {
  background: #1d1c1d !important;
  color: #fff !important;
}
.ig-cpt.colour-box.c5, .ig-cpt.colour-box.c5 .ig-cpt-title, .ig-cpt.colour-box.c5 .ig-cpt-body, .ig-cpt.colour-box.c5 .ig-cpt-footer {
  background: #8f9496 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c6, .ig-cpt.colour-box.c6 .ig-cpt-title, .ig-cpt.colour-box.c6 .ig-cpt-body, .ig-cpt.colour-box.c6 .ig-cpt-footer {
  background: #f9faf4 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c7, .ig-cpt.colour-box.c7 .ig-cpt-title, .ig-cpt.colour-box.c7 .ig-cpt-body, .ig-cpt.colour-box.c7 .ig-cpt-footer {
  background: #45627a !important;
  color: #fff !important;
}
.ig-cpt.colour-box.c8, .ig-cpt.colour-box.c8 .ig-cpt-title, .ig-cpt.colour-box.c8 .ig-cpt-body, .ig-cpt.colour-box.c8 .ig-cpt-footer {
  background: #9eb4c7 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c9, .ig-cpt.colour-box.c9 .ig-cpt-title, .ig-cpt.colour-box.c9 .ig-cpt-body, .ig-cpt.colour-box.c9 .ig-cpt-footer {
  background: #c6d0a6 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c10, .ig-cpt.colour-box.c10 .ig-cpt-title, .ig-cpt.colour-box.c10 .ig-cpt-body, .ig-cpt.colour-box.c10 .ig-cpt-footer {
  background: #969fa6 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c11, .ig-cpt.colour-box.c11 .ig-cpt-title, .ig-cpt.colour-box.c11 .ig-cpt-body, .ig-cpt.colour-box.c11 .ig-cpt-footer {
  background: #94a581 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c12, .ig-cpt.colour-box.c12 .ig-cpt-title, .ig-cpt.colour-box.c12 .ig-cpt-body, .ig-cpt.colour-box.c12 .ig-cpt-footer {
  background: #94a565 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c13, .ig-cpt.colour-box.c13 .ig-cpt-title, .ig-cpt.colour-box.c13 .ig-cpt-body, .ig-cpt.colour-box.c13 .ig-cpt-footer {
  background: #3c443b !important;
  color: #fff !important;
}
.ig-cpt.colour-box.c14, .ig-cpt.colour-box.c14 .ig-cpt-title, .ig-cpt.colour-box.c14 .ig-cpt-body, .ig-cpt.colour-box.c14 .ig-cpt-footer {
  background: #d0d5d3 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c15, .ig-cpt.colour-box.c15 .ig-cpt-title, .ig-cpt.colour-box.c15 .ig-cpt-body, .ig-cpt.colour-box.c15 .ig-cpt-footer {
  background: #8f9496 !important;
  color: #000 !important;
}
.ig-cpt.colour-box.c16, .ig-cpt.colour-box.c16 .ig-cpt-title, .ig-cpt.colour-box.c16 .ig-cpt-body, .ig-cpt.colour-box.c16 .ig-cpt-footer {
  background: #b1aeb6 !important;
  color: #000 !important;
}



/* Changing colours of calendar widget */
.ig-widget-calendar .ig-widget-layout-calendar table tbody td.today, .ig-widget-calendar .ig-widget-layout-calendar table tbody td.today:hover, .ig-widget-calendar .ig-widget-layout-calendar table tbody td .day {
    background-color: #EBECF2;
}
.ig-widget-calendar .ig-widget-layout-calendar table tbody td {
    border-top: 1px solid #5c5c5c !important;
    border-left: 1px solid #5c5c5c !important;
}
.ig-widget-calendar .ig-widget-layout-calendar table tbody td.ig-cell-empty {
background-color: #fff;
}




/* Custom footer */
#footer-custom td {
  border: none;
}
#footer-custom .icons {
  width: 25%!important;
  height: 50px!important;
  display: flex;
  background: none!important;
  margin: auto;
  justify-content: space-between;
  min-width: 280px;
}
#footer-custom .icons img {
  width: auto!important;
  height: 100%!important;
  margin: 0;
}
#footer-custom .icons img.youtube {
  height: calc(100% + 5px)!important;
  margin-top: -3px;
}
#footer-custom .container .row {
  display: flex;
  justify-content: space-evenly;
}
#footer-custom .container .row .footer-col:last-of-type ul {
  margin-left: 0;
  /*
      display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
    */
}
#footer-custom .container .row .footer-col h4 {
  text-align: center;
  font-size: 1.5em;
}



/* Footer social icons */
#footer-custom td.icons a:nth-child(5) img {
    background: white;
    border-radius: 30px;
}
#footer-custom td.icons a:nth-child(2) img {
    background: white;
    border-radius: 5px;
}




/* Tools page CTAs */
body#ig-page-tools .ig-widget-cta-instance {
background-size: contain;
    background-repeat: no-repeat;
}
/* App widget */
.ig-cpt.ig-widget-type-html.apps h2.ig-cpt-title {
  width: -moz-fit-content;
  width: fit-content;
  margin: auto;
}
.ig-cpt.ig-widget-type-html.apps .editable .ig-widget-html-content > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.ig-cpt.ig-widget-type-html.apps .editable .ig-widget-html-content > div a {
  width: 75px;
  height: 75px;
  border: 1px solid #f7f7f7;
  border-radius: 10px;
  box-shadow: 0px 2px 2px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  margin: 5px;
}




/* Demo for microblog design change */
#ig-page-styles .ig-cpt.ig-widget-type-microblog,
#ig-page-styles .ig-cpt.ig-widget-type-microblog .ig-cpt-title,
#ig-page-styles .ig-cpt.ig-widget-type-microblog .ig-cpt-body {
	background: #F1F2F4!important;
}

#ig-page-styles .ig-cpt.ig-widget-type-microblog .ig-user-thumbnail img {
	border-radius: 50px!important;
}

#ig-page-styles .ig-cpt.ig-widget-type-microblog .ig-cpt-body .editable {
	background: white;
	padding: 5px;
	margin: 15px 0 !important;
	box-shadow: 1px 1px 4px 0px rgb(210 211 213);
}