
/* Variables */

:root {
  --head : rgb(65, 185, 162); /* Block BG */
  --head-sec: rgb(109, 187, 184); /* Mid green blue */
  --purple: rgb(95, 77, 133); 
  --light-text: rgb(232, 253, 252); /* Light Blue Text */
  --pink: rgb(255, 250, 255);
  --white: rgb(254, 253, 254);
  --body-bg: rgb(247, 240, 247);
  --button-hover: rgb(73, 52, 117);
}

/* Blocks */
/* .blk1, .blk2, .blk3, .blk4, .blk5, .blk6 {} */

.blk1 {
 background: var(--pink); /* Salmon */
}
.blk1 a:hover {
    color: var(--head-sec);
}
.blk2 {
	background: var(--head );
	color: var(--light-text );
}
.blk3 {
	background: var(--head-sec );
	color: var(--white );
}
.blk4 {
	background: var(--purple );
	color: var(--light-text );
}
.blk4 h2 a{
	color: var(--light-text );
}
.blk5 {
 	background: var(--body-bg); /* For borderless images */
 	padding: 0;
}
.blk6 {
 	background: var(--body-bg); /* For borderless images */
 	color : var(--head);
}

/* 2. Typography
================================================== */


/* Global Font Style  */

html {
    overflow-y: scroll;
    font-size: 120%;
    line-height: 1.450rem;
    scroll-behavior: smooth;
}
body {
    background: var(--body-bg);
    font-family: 'Raleway',sans-serif;
    color: rgb(103, 80, 148);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
}

ul {
  margin: 20px 8px;
  padding-left: 0;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.26em;
    margin: 28px 0 10px;
    letter-spacing: -0.04em;
    font-weight: 700;
    color: var(--head-sec);
}
p {
    font-size: 110%;
    word-spacing: 0.1rem;
    margin: 0 0 18px 0;
    line-height: 1.4em;
    letter-spacing: -0.018em;
}
.uc{
  text-transform: uppercase;
}
h1 {
  font-size: 388%;
  margin-top: 0;
}
h2 {
    font-size: 240%;
}
h3 {
    font-size: 180%;
}
h4 {
    font-size: 145%;
}
h5 {
    font-size: 114%;
}
em, i {
    font-style: italic;
    line-height: inherit;
}
strong, b {
    font-weight: bold;
    line-height: inherit;
}
small {
    font-size: 82%;
    line-height: 0.1em;
    
}
code {
  padding: 14px;
  background: rgb(41, 41, 41);
  display: block;
  color: var(--body-bg);
  margin-bottom: -16px
}
img {
  width: 100%;
  height: auto;
  border: 1px dotted;
  padding: 1px;
}
/* Text Alignment */

.align-r {
    text-align: right;
}
.align-c{
    text-align: center;
}

/* Default Links */

a, a:visited {
    text-decoration: underline;
    outline: 0;
    color: var(--purple);
}
a:hover {
    text-decoration: none;
    color: var(--head-sec);
    outline: 0;
}
a, a i {
    transition: all 0.2s cubic-bezier(.85,.19,.34,1.5);
}

/* Buttons Colours */
a.button{ 
background: var(--head-sec); 
color: var(--white); 
text-decoration: none; 
font-size: 96%;
border-radius: 3px;
}

.button {
  margin-top: 16px;
  padding: 12px;
  border-radius: 2px;
  display: inline-block;
}

/*Hover Colours */

a.button:hover{
    background: var(--button-hover);
}

/* Default Lists */
ol {
    list-style: decimal;
    font-weight: 700;
}
main .c8 li {
  margin: 20px 0px;
  font-size: 120%;
  line-height: 1.3;
  list-style: none;
  border-left: 14px solid var(--head-sec);
  padding-left: 22px;
  letter-spacing: 0.02em;
}

/* 2. Header Section
================================================== */

.head { 
    background: var(--head);
    background: linear-gradient(80deg, rgb(75, 174, 142) 7%, rgb(47, 204, 198) 39%, rgba(63,1,106,0.8) 100%);
    margin-bottom: 48px;
    box-shadow: 0px 1px rgba(255, 255, 255, 0.62);
} 

/* Logo */

.logo{
    font-size: 200%;
    letter-spacing: -0.04em;
    padding: 28px 36px 24px 20px;
}
.logo p a {
  margin-bottom: 0;
}
.logo a, .logo a:visited{
  text-decoration: none;
  color: var(--purple) ;
    display: block;
    margin-bottom:20px;
}
.logo h1 {
  color: rgb(199, 239, 226);
  font-size: 152%;
  font-weight: bold;
}
.logo p {
  color: var(--light-text) ;
  font-size: 96%;
}
.mast-image {
  display: none;
}
.menu  {
  text-align: right;
}
.menu ul li{
  display: inline-block;
}
.menu ul li a, .menu ul li a:hover, .menu ul li a:visited {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

i[class] {
  opacity: 0.75;
  margin-right: 6px;
}
small i[class] {
  margin-right: 1px;
}

/* Services */

.num {
  font-size: 340%;
  font-weight: bold;
}
body.cv .num {
  font-size: 200%;
  font-weight: bold;
}
/* 5. Footer
================================================== */


.footer {
    background: var(--head);
    background: linear-gradient(80deg, rgb(75, 174, 142) 7%, rgb(47, 204, 198) 59%, rgba(63,1,106,0.5) 100%);
    /* color: rgb(196, 196, 196); */
    font-size: 94%;
    padding-bottom: 20px;
    padding-top: 40px;
    margin-top: 30px;
}
.footer p {
    margin: 0;
    padding: 0;
    margin-bottom: 6px;
}
.footer h3 {
  color: var(--white);
}
/* Footer Links */

.footer a, .footer a:visited {
    color: var(--purple);
    text-decoration: none;
    outline: 0;
}
.footer a:hover, .footer a:focus {
    color: var(--body-bg);
    text-decoration: underline;
}
.footer h3.logo a {
    color: var(--purple);
}
.nobr {
  white-space: nowrap;
  font-style: normal;
}


/* 11. Font face
================================================== */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local('Raleway'), local('Raleway-Regular'),
       url('../font/raleway-v12-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: local('Raleway Bold'), local('Raleway-Bold'),
       url('../font/raleway-v12-latin-700.woff') format('woff');
}
/* 12.Media Queries
================================================== */

/* All Mobile Sizes (devices and browser) */

@media only screen and (min-width: 850px) {
  .mast-image {
    display: block;
    background: url(../g/fd-header2019.jpg) no-repeat;
    background-position-y: 74px;
    opacity: 0.84;
  }

}

@media only screen and (max-width: 850px) {
    html, body {
        font-size: 108%;
        line-height: 1.7em
    }
    .grid-parent > * {
      padding: 24px 18px 17px;
  }
    .head {
      margin-bottom: 0;
    }
    .logo {
      font-size: 160%;
      text-align: center;
    }
   .num, img.map {
    display: none;
   }
   .blk5 {
 	margin-bottom: -10px;
}
      .footer {
      padding-top: 0;
      font-size: 100%;
      margin-top: 0;
    }
    .footer > * {
      text-align: center;
      padding-top: 30px;
    }
}
/* GAW */
/* Nav */
.c4.nav ul {
  position: sticky;
  top: 8px;
  list-style: none;
  padding-left: 0;
}
.c4.nav ul li {
  padding: 6px 4px;
  margin: 0;
  font-weight: normal;
}

.c4.nav ul li a {
  text-decoration: none;
  border-bottom: 1px dotted var(--head-sec);
   padding: 8px 0;
  display: block;
}
.c4.nav ul li a:hover, .c4.nav ul li a.active {
  border-bottom: 1px solid;
  color: var(--sec);
  font-weight: 700;
  font-size: 111%;
}
/* Specific Queries for 2019 */
@media only screen and (max-width: 1000px) and (min-width: 889px) {

body {
  font-size: 90%;
  line-height: 1.4em
}

div.c8.blk4 > h2 {
  font-size: 138%;
}
}
@media only screen and (max-width: 1050px) and (min-width: 889px) {

.blk3 > h2 > em {
 font-size: 78%;
 line-height: 0;
}
}