
/* Variables */

:root {
  --head : rgb(75, 174, 142); /* Block BG */
  --head-sec: rgb(109, 187, 184); /* Mid green blue */
  --purple: rgb(95, 77, 133); 
  --light-text: rgb(224, 255, 254); /* Light Blue Text */
  --pink: rgb(195, 220, 212);
  --white: rgb(254, 253, 254);
  --body-bg: rgb(205, 232, 223);
  --button-hover: rgb(73, 52, 117);
}

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

.blk1 {
 background: var(--pink); /* Salmon */
 box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.082);
 background-image: linear-gradient(115deg, rgb(229, 241, 237), transparent);
}
.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: 110%;
    line-height: 1.450rem;
}
body {
    background: var(--body-bg);
    font-family: 'Raleway',sans-serif;
    color: rgb(78, 64, 109);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    min-height: 100%;
}

ul, ol, dl, p, table, form, hr {
    margin: 0 0 22px 0;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.26em;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}
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: 200%;
}
h2 {
    font-size: 154%;
}
h3 {
    font-size: 130%;
}
h4 {
    font-size: 115%;
}
h5 {
    font-size: 104%;
}
em, i {
    font-style: italic;
    line-height: inherit;
}
strong, b {
    font-weight: bold;
    line-height: inherit;
}
small {
    font-size: 86%;
    line-height: 0.1em;
    
}
/* 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(--white);
    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 */

ul, ol {
    list-style: none;
    margin-left: 20px;
}
ol {
    list-style: decimal;
}
li {
    margin-bottom: 12px;
    /* font-size: 103%; */
}

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

.head { 
    background: var(--head);
    margin-bottom: 48px;
    box-shadow: 0px 1px rgba(255, 255, 255, 0.62);
} 

/* Logo */

.logo{
    font-size: 200%;
    letter-spacing: -0.04em;
    background: var(--head-sec);
    padding: 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: var(--pink);
  font-size: 152%;
  font-weight: bold;
}
.logo p {
  color: var(--light-text) ;
  font-size: 96%;
}
.mast-image {
  background: url(../g/fd-header2019.png);
}
.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);
    /* 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 Links */

.footer a, .footer a:visited {
    font-size: 120%;
    color: var(--purple);
    text-decoration: none;
    outline: 0;
}
.footer a:hover, .footer a:focus {
    color: var(--white);
    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');
}
@font-face {
  font-family: 'Aleo';
  font-style: normal;
  font-weight: 400;
  src:
       url('../fonts/aleo-v3-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Aleo';
  font-style: italic;
  font-weight: 400;
  src: 
       url('../fonts/aleo-v3-latin-italic.woff2') format('woff2');
}


.aleo2 {
  font-family: 'Aleo', 'Raleway', sans-serif;
  letter-spacing: -0.04rem;
}
p.aleo2 {
  font-size: 128%;
}
/* 12.Media Queries
================================================== */

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

@media only screen and (max-width: 888px) {
    html, body {
        font-size: 108%;
        line-height: 1.7em
    }
    .grid-parent > * {
      padding: 20px 15px 17px;
  }
    .head {
      margin-bottom: 0;
    }
    .logo {
      font-size: 160%;
    }
    .mast-image {
      height: 600px;
   }
   .num, img.map {
    display: none;
   }
   .blk5 {
 	margin-bottom: -10px;
}
      .footer {
      padding-top: 0;
      font-size: 100%;
      margin-top: 0;
    }
    .footer > * {
      text-align: center;
    }
}

/* 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;
}
}