/* Useful vars 
--------------
Sky blue: #7fc3e6
Gizmo purple: #534f9c;
Grass green (light): rgba( 142, 182, 63, 1 )
BG green (darker): #7a9c38;
Font gray: #333447;
Font purple: var( --main-color );
*/



/* -------------------------------------------------------------
 * Variables
 * ---------------------------------------------------------- */
 :root {

  /*  --main-color: #147954;*/
  --main-color: hsla( 75, 22%, 82%, 100% );
  --main-color-50-percent: hsla( 75, 22%, 82%, 50% );
  --main-color-bg: hsla( 75, 22%, 82%, 50% );
  --bg-gray: #f5f5f5;
  --color-main-text: hsla( 240, 1%, 30%, 1 );
  --color-orange-light: #FFBD59;
  --color-orange-medium: #FF914D;
  --color-yellow: #FAD551;
  --color-blue: #1E3256;
  --color-gray: #333447;
  --color-green-text: rgba( 121, 123, 84, 1 );
}



/* -------------------------------------------------------------
 * Fonts
 * ---------------------------------------------------------- */

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?erglei');
  src:  url('../fonts/icomoon.eot?erglei#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?erglei') format('truetype'),
    url('../fonts/icomoon.woff?erglei') format('woff'),
    url('../fonts/icomoon.svg?erglei#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'norwester';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/norwester.ttf') format('truetype');
}

@font-face {
  font-family: 'now';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/Now-Regular.ttf') format('truetype');
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.icon-envelop:before {
  content: "\e900";
}
.icon-display:before {
  content: "\e901";
}
.icon-laptop:before {
  content: "\e902";
}
.icon-mobile:before {
  content: "\e903";
}
.icon-mobile2:before {
  content: "\e904";
}
.icon-tablet:before {
  content: "\e905";
}
.icon-star-empty:before {
  content: "\e909";
}
.icon-star-half:before {
  content: "\e90a";
}
.icon-star-full:before {
  content: "\e90b";
}
.icon-heart:before {
  content: "\e90c";
}
.icon-facebook:before {
  content: "\e907";
}
.icon-twitter:before {
  content: "\e908";
}
.icon-apple:before {
  content: "\e90d";
}
.icon-android:before {
  content: "\e90e";
}
.icon-credit-card:before {
  content: "\e93f";
}
.icon-lock:before {
  content: "\e98f";
}
.icon-link:before {
  content: "\e9cb";
}
.icon-eye:before {
  content: "\e9ce";
}
.icon-share:before {
  content: "\ea7d";
}
.icon-user:before {
  content: "\e971";
}
.icon-instagram:before {
  content: "\ea92";
}
.icon-whatsapp:before {
  content: "\ea93";
}
.icon-youtube:before {
  content: "\ea9d";
}
.icon-behance2:before {
  content: "\eaa9";
}
.icon-linkedin:before {
  content: "\eac9";
}
.icon-sphere:before {
  content: "\e9c9";
}

/* Font color modifiers */
.font-gray {
  color: var( --color-gray );
}

.font-green {
  color: var( --color-green-text );
}

.font-blue {
  color: var( --color-blue );
}

/* -------------------------------------------------------------
 * Basics & resets
 * ---------------------------------------------------------- */

* {
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.6em;
}

html, body {
  color: #333447;
  font-size: 100%;
  margin: 0;
  padding: 0;
}

  @media( max-width: 600px ){
    html, body {
      /*font-size: 90%;*/
    }
  }

h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *, h5, h5 *, h6, h6 * {
  font-weight: 500;
  margin: 0.5rem 0;
}

  h1.border-bottom,
  h2.border-bottom {
    border-bottom: 1px solid;
  }

    /*h1.border-bottom.border-purple,
    h2.border-bottom.border-purple {
      border-color: var( --main-color );
    }  */ 

  /*@media( max-width: 600px ){
    h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *, h5, h5 *, h6, h6 * {
      text-align: center;
    }
  }*/

h1 {
  font-family: norwester;
  font-size: 2.0rem;
}


h2 {
  font-family: norwester;
}
  /*@media( max-width: 600px ){
    h1 {
      font-size: 1.8rem;
    }
  }*/

h3 {
  font-size: 1.3rem;
}

p {
  font-size: 1.1rem;
  margin: 1rem 0 1.7rem;
  padding: 0;
}

a {
  color: var( --color-main-text );
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s linear;
}

  a:hover {
    opacity: 70%;
    text-decoration: underline;
  }

  a.light {
    background-color: transparent;
    color: #ffffff;
    opacity: 0.9;
    /*text-decoration: underline;*/
    transition: opacity 0.2s linear;
  }

  a.light:hover {
    opacity: 1;
  }

a.no-underline,
a.no-underline:hover {
  text-decoration: none;
}

strong, strong * {
  font-weight: 500;
}

ul li {
  list-style-type: circle;
  line-height: 1.9rem;
}

abbr {
  border-bottom: 1px dotted rgba( 0, 0, 0, 0.5 );
  text-decoration: none;
  /*background-color: rgba( 255, 255, 255, 1 );*/
}

button {
  background: 0 0;
  border: 2px solid var( --color-main-text );
  border-radius: 3px;
  cursor: pointer;
  color: var( --color-main-text );
  font-size: 1.1rem;
  font-weight: 400;
  margin: auto;
  min-width: 6rem;
  padding: .5rem .8rem;
  outline: none;
  text-align: center;
  text-transform: uppercase;
  transition: all .2s ease;
}

  button.btn-small {
    font-size: 1.0rem;
    min-width: 4rem;
    padding: .25rem .5rem;
  }

  button.btn-xsmall {
    font-size: 0.8rem;
    min-width: 3rem;
    padding: .25rem .5rem;
  }

  button.btn-with-margin-sm {
    margin: 0.25rem;
  }

  button.green {
    border-color: var( --main-color );
    color: var( --main-color );
  }

    button.green:hover {
      background-color: var( --main-color );
      color: white;
    }

  button.green-reverse {
    background-color: var( --main-color );
    border-color: var( --main-color );
    color: #ffffff;
  }

    button.green-reverse:hover {
      background-color: #ffffff;
      color: var( --main-color );
    }

  button.purple {
    background-color: #ffffff;
    border-color: var( --main-color );
    color: var( --main-color );
  }

    button.purple:hover {
      background-color: var( --main-color );
      color: #ffffff;
    }

  button.black {
    background-color: #ffffff;
    border-color: #000000;
    color: #000000;
  }

  button.white {
/*    background-color: #ffffff;*/
    border-color: #ffffff;
    color: #ffffff;
  }

    button.white:hover {
      background-color: white;
      color: var( --main-color );
/*      border-color: var( --main-color );*/
    }

  button.white-reverse {
    background-color: #ffffff;
    border-color: gray;
    color: gray;
  }

    button.white-reverse:hover {
      background-color: gray;
      color: #ffffff;
    }

  button.btn-full-width {
    width: 100%;
  }

  button.btn-label {
    border: none;
  }

    button.btn-label.btn-green,
    button.btn-label.btn-green a {
      color: white;
      background-color: hsla( 120, 81%, 41%, 1 );
    }

      button.btn-label.btn-green:hover {
        background-color: hsla( 120, 91%, 41%, 1 );
      }

    button.btn-label.btn-red,
    button.btn-label.btn-red a {
      color: white;
      /*background-color: hsla( 120, 81%, 41%, 1 );*/
      background-color: red;
    }

    button.btn-label.btn-gray,
    button.btn-label.btn-gray a {
      color: white;
      background-color: hsla( 0, 0%, 50%, 1 );
    }

      button.btn-label.btn-gray:hover {
        background-color: hsla( 0, 0%, 60%, 1 );
      }

    button.btn-label.btn-orange, 
    button.btn-label.btn-orange a {
      color: white;
      /*background-color: hsla( 120, 81%, 41%, 1 ); /* orange */
      background-color: hsla( 39, 100%, 50%, 1 ); 
    }

      button.btn-label.btn-orange:hover {
        background-color: hsla( 42, 100%, 50%, 1 );
      }

/*header, section, footer {
  background-color: #ffffff;
}*/

/* Beautiful table */

.beautiful-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: auto;
}

  .beautiful-table.table-full-width {
    width: 100%;
  }

  .beautiful-table.valign-top td {
    vertical-align: top;
  }

  .beautiful-table thead {
    background-color: #534f9c; 
    background: radial-gradient( circle at 50% 50%, var( --main-color ), #3a3769 400% );
    color: #ffffff;
    font-size: 1.25em;
    font-weight: 500;
    /*margin: 0;*/
  }

    .beautiful-table thead tr th {
      padding: 0.75rem 0.75rem;
    }

    .beautiful-table thead tr th:first-child {
      border-top-left-radius: 3px; 
    }

    .beautiful-table thead tr th:last-child {
      border-top-right-radius: 3px; 
    }

  .beautiful-table tbody {
    /*border: 1px solid var( --main-color );*/
  }

    .beautiful-table tbody tr th:first-child,
    .beautiful-table tbody tr td:first-child {
      border-left: 1px solid var( --main-color );
    }

      .beautiful-table tbody tr th.no-border:first-child,
      .beautiful-table tbody tr td.no-border:first-child {
        border-left: none;
      }

    .beautiful-table tbody tr th:last-child,
    .beautiful-table tbody tr td:last-child {
      border-right: 1px solid var( --main-color );
    }

      .beautiful-table tbody tr th.no-border:last-child,
      .beautiful-table tbody tr td.no-border:last-child {
        border-right: none;
      }

    .beautiful-table tbody tr th {
      border-top: 1px solid var( --main-color );
      font-weight: 500;
      padding: 0.5rem 0.75rem;
    }    

    .beautiful-table tbody tr:hover {
      color: var( --main-color );
    }

      .beautiful-table tbody tr.no-highlight-on-hover:hover {
        color: inherit;
      }

    .beautiful-table tbody tr td {
      padding: 0.25rem;
    }

      .beautiful-table tbody tr td:first-child {
        padding-left: 0.75rem;
      }

      .beautiful-table tbody tr td:last-child {
        padding-right: 0.75rem;
      }

      .beautiful-table tbody tr td a {
        text-decoration: none;
      }

  .beautiful-table tfoot tr th:first-child {
      border-bottom-left-radius: 3px;
    }

    .beautiful-table tfoot tr th:last-child {
      border-bottom-right-radius: 3px; 
    }

  .beautiful-table tfoot tr th {
    border-left: 1px solid var( --main-color );
    border-right: 1px solid var( --main-color );
    border-bottom: 1px solid var( --main-color );
  }

/* End of beautiful table */



/* -------------------------------------------------------------
 * Containers
 * ---------------------------------------------------------- */

.wrapper {
/*  background-color: #ffffff;*/
  background: url( "../img/site/background-pattern.svg" ) var( --main-color );;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

header {
  padding-top: 0.5rem;
  position: fixed;
  width: 100%;
  z-index: 10;
  background-color: var( --main-color-bg );
}

  header.reverse {
    background-color: var( --main-color );
/*    background-color: rgba( 248, 248, 252, 0.9 );*/
    border-bottom: 1px solid #e5e5e5;
  }

  header a.nav__icon, header a.nav__title {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
  }

    /* Title */
    header a.nav__title {
      text-decoration: none;
    }

      header a.nav__title h1 {
        color: var( --color-main-text ); 
        font-size: 1.5rem;
        transition: color 200ms linear;
      }

        header a.nav__title h1:hover {
          opacity: 70%;
        }

      /* Reverse is for dark text on clear BG */
      header.reverse a.nav__title h1 {
        /*color: #ffffff;*/
/*        color: var( --main-color );*/
/*        text-shadow: -2px -2px 0 #ffffff, 2px -2px 0 #ffffff, -2px 2px 0 #ffffff, 2px 2px 0 #ffffff;*/
      }

    /* Logo */
    header a.nav__icon img {
      /*display: inline-block;*/
      height: auto;
      margin-right: 5px;
      vertical-align: middle;
      width: 3rem;
      /*outline: 1px solid red;*/
    }

  /* Navbar */

  header nav {
    transition: left 0.25s, right 0.25s;
  }

    @media( max-width: 600px ){
      header nav {
        background-color: var( --bg-gray );
        color: rgba( 255, 255, 255, 1 );
        left: -100%;
        font-size: 1.35rem;
        height: 100%;
        padding: 2rem;
        position: fixed;
        right: 100%;
        top: 0;
        z-index: 10;
      }

      header nav.visible {
        left: 0;
        right: 0;
      }
    }

    header nav .close-btn {
      color: var( --color-main-text );
      cursor: pointer;
      display: none;
      font-size: 2rem;
      padding: 0rem 1rem;
      position: absolute;
      right: 0;
      top: 0;
    }

      @media( max-width: 600px ){
        header nav .close-btn {
          display: block;
        }
      }

  header .nav-hamburger-container {
  display: none;
  }

    @media( max-width: 600px ){
      header .nav-hamburger-container {
        display: block;
        height: 3rem;
        position: absolute;
        right: 2.5rem;
        top: 0.25rem;
        width: 0;
        height: 0;
        /*outline: 1px solid red;*/
      }
      
        header .nav-hamburger-container .open-btn {
/*          color: rgba( 255, 255, 255, 1 );*/
          cursor: pointer;
          font-size: 1.75rem;
/*          text-shadow: 0 0 3px rgba( 0, 0, 0, 1 );*/
          text-rendering: geometricPrecision;
        }/
  }

  header nav ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    top: 50%;
    transform: translateY( -50% );
    /*background-color: yellow;*/
  }

    @media( max-width: 600px ){
      header nav ul {
        right: auto;
        top: auto;
        transform: none;
        z-index: 10;
      }

    }

    header nav ul li {
      display: inline-block;
      padding: 0 0.75rem;
    }

      @media( max-width: 600px ){
        header nav ul li {
          display: block;
        }
      }

      header nav ul li a {
        color: var( --color-main-text );
        font-size: 1.1rem;
        font-weight: 400;
        text-decoration: none;
        transition: color 200ms;
      }

        header nav ul li a:hover {
          color: var( --color-main-text );
          text-decoration: none;
        }

        header nav ul li a.alt {
          border-radius: 2rem;
          border: 2px solid var( --color-main-text );
          padding: 0.5rem 1rem;
          color: var( --color-main-text );
        }

          @media( max-width: 600px ){
            header nav ul li a.alt {
              border: none;
              padding: 0;
            }
          }

          header.reverse nav ul li a.alt {
            box-shadow: none;
            border-color: var( --color-main-text );
            color: var( --color-main-text );
          }

            @media( max-width: 600px ){
              header.reverse nav ul li a.alt {
                color: var( --color-main-text );
              }
            }

          header nav ul li a.alt:hover {
            background-color: var( --color-main-text );
            color: var( --main-color );
            text-decoration: none;
            text-shadow: none;
            opacity: 100%;
          }

            @media( max-width: 600px ){
              header nav ul li a.alt:hover {
                background-color: transparent;
                color: var( --color-main-text );
                text-decoration: underline;
              }
            }

            header.reverse nav ul li a.alt:hover {
              background-color: #555555;
/*              color: var( --color-main-text );*/
              text-shadow: none;
            }

              @media( max-width: 600px ){
                header.reverse nav ul li a.alt:hover {
                  background-color: transparent;
                }
              }

      header.reverse ul li a {
/*        color: #555555;*/
      }

        @media( max-width: 600px ){
          header.reverse ul li a {
            color: var( --color-main-text );
          }
        }

        header.reverse ul li a:hover {
/*          color: rgba( 0, 0, 0, 1 );*/
          opacity: 70%;
/*          text-decoration: underline;*/
        }

          @media( max-width: 600px ){
            header.reverse ul li a:hover {
              color: inherit;
              text-decoration: underline;
            }
          }

footer {
  /*background-color: lightblue;*/
}

  footer .footer-nav ul {
    display: inline-block;
    padding: 0;
    margin: 0; 
  }

    footer .footer-nav ul li {
      display: inline-block;
      margin: 0 1rem;
    }

      footer ul li a {
        color: #333447;
        font-size: 1.1rem;
        font-weight: 300;
        text-decoration: none;
        transition: color 200ms;
      }

        footer ul li a:hover {
          color: rgba( 0, 0, 0, 1 );
          text-decoration: underline;
        }

  footer .footer-gizmo {
      text-align: right;
      padding: 0 1rem 1rem;
    }

      footer .footer-gizmo img.gizmo {
        background: url('../img/site/gizmo-shadow.png') no-repeat; 
        background-position: center bottom -0rem;  /* Reference: https://css-tricks.com/almanac/properties/b/background-position/ */
        background-size: contain;
        height: 6rem;
      }

/* Global container, manages the width */
.container {
  margin: 0 auto;
  max-width: 60rem;
  position: relative;
  /*outline: 1px solid red;*/
}

  .container.md {
    max-width: 21rem;
  }

.row {
  position: relative;
}

/* The top section of the home page */
section.headline {
  color: white;
}

  section.headline h1 {
    font-size: 3.5rem;
    line-height: 4.5rem;
    margin: 0;
  }

    @media( max-width: 600px ){
      section.headline h1 {
        font-size: 2.5rem;
        line-height: 3.0rem;
      }
    }

  section.headline .headline__image {
    text-align: right;
  }

    @media( max-width: 600px ){
      section.headline .headline__image {
        text-align: center;
        width: 100%;
      }
    }

    section.headline .headline__image img {
      width: 55rem;
      max-width: 100%;
    }

/* Presentation (2-liner) of the app */
section.presentation {
}

/* Three freatures (in as many columns) */
section.three-features {
}

  section.three-features .col-one-third h3, section.three-features .col-one-third p {
    margin: 1rem;
    /*background-color: yellow;*/
  }

/* Highlight */
section.highlight {
/*  background-image: url( ../img/site/background-grass-white-to-transparent.png );*/
  background-position: center bottom;
  background-size: 100%;
  background-repeat: no-repeat;
}

/* Features in 2 columns */
section.features-in-2-columns {
/*  background-image: url( ../img/site/background-grass-gray-to-transparent.png );*/
  background-position: center bottom;
  background-size: 100%;
  background-repeat: no-repeat;
}

/* Stats & figures */
section.stats {
/*  background-image: url( ../img/site/background-grass-green-to-transparent.png );*/
  background-position: center 101%;
  background-size: 100%;
  background-repeat: no-repeat;
}

/* List of features */
section.list-of-features {
/*  background-image: url( ../img/site/background-grass-white-to-transparent.png );*/
  background-position: center bottom;
  background-size: 100%;
  background-repeat: no-repeat;
}

  section.list-of-features .feature-list {
    max-width: 51rem;
    margin: auto;
  }

/*************
 Pricing page 
*************/
section.pricing {}

  section.pricing h2 {
    /*background-color: #534f9c;*/
/*    font-family: Baskerville, serif;*/
    background: radial-gradient( circle at 50% 50%, var( --main-color ), #3a3769 400% ); /* purple */
    /*background: radial-gradient( circle at 50% 50%, rgba( 123, 156, 57, 1 ), rgba( 123, 156, 57, 1 ) 400% );*/ /* green */
    color: #ffffff;
    margin: 0;
    padding: 1rem
  }

    section.pricing h2 .subtitle {
      font-size: 1rem;
      font-weight: 300;
      /*font-style: italic;*/
      margin: 0;
    }

  @media( max-width: 600px ){
    section.pricing .signup-box .qty-container {
      display: block;
      margin: 1rem auto;
    }
  }
  

  section.pricing .quote-container {
    /*display: none;*/
    font-size: 4rem;
  }

  section.pricing .quote-container .extra-info {
    display: block;
    font-size: 0.9rem;
    margin-top: -1rem;
  }

  section.pricing .options {
    margin: auto;
    max-width: 40rem;
  }

  section.pricing .table-prices-container {
    border: 1px solid var( --main-color );  
    /*border: 1px solid rgba( 123, 156, 57, 1 );*/ /* green */
    border-radius: 3px;
    /*padding: 1rem;*/
    margin: auto;
    max-width: 40rem;
  }

    section.pricing .table-prices-container .table-prices {
      border-collapse: collapse;
      margin: 1rem auto;
      width: 90%;
    }

      section.pricing .table-prices-container .table-prices tr.active {
        color: var( --main-color );
      }

      section.pricing .table-prices-container .table-prices td {
        padding: 2px;
      }

      section.pricing .table-prices-container .table-prices .qty-from,
      section.pricing .table-prices-container .table-prices .qty-to {
        font-style: italic;
      }

      section.pricing .table-prices-container .table-prices .price-per-user {
        font-weight: 700;
      }

    @media( max-width: 600px ){
      section.pricing .table-prices-container .quote-make-a-test {
        display: block;
        margin-top: 0.5rem;
      }
    }

/*Subscription form */
section.sub-form-container {}

  section.sub-form-container .sub-form label {
    bottom: 100%;
    position: absolute;
  }

  section.sub-form-container .sub-form-spinner {
    display: inline-block;
    text-align: center;
    width: 6rem;
  }

/* Blog */
section.blog hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  }


/*--------------------------------------------------------------
# Diagonal borders
--------------------------------------------------------------*/

.border-bottom-green-to-white,
.border-bottom-white-to-green {
/*  position: relative;*/
}

.border-bottom-green-to-white::after,
.border-bottom-white-to-green::after,
.border-bottom-white-to-gray::after,
.border-bottom-gray-to-green::after {
  content: "";
  position: absolute;
  border-right: 100vw solid;
  border-top: 5rem solid;
  left: 0;
  right: 0;
}

.border-bottom-green-to-white::after {
  border-top-color: var( --main-color );
  border-right-color: white;
/*  outline: 5px solid orange;*/
}

.border-bottom-white-to-green::after{
  border-top-color: white;
  border-right-color: var( --main-color );
/*  outline: 3px solid blue;*/
}

.border-bottom-white-to-gray::after{
  border-top-color: white;
  border-right-color: var( --bg-gray );
/*  outline: 3px solid blue;*/
}

.border-bottom-gray-to-green::after{
  border-top-color: var( --bg-gray );
  border-right-color: var( --main-color );
/*  outline: 3px solid blue;*/
}




/*--------------------------------------------------------------
# Columns
--------------------------------------------------------------*/

.col-one-third {
  display: inline-block;
  margin: 0 auto;
  min-width: 20rem;
  vertical-align: top;
  width: 33.33%;
  /*outline: 1px solid salmon;*/
}

  @media( max-width: 600px ){
    .col-one-third {
      display: block;
      width: 100%;
    }
  }

.col-50-percent {
  display: inline-block;
  margin: 0 auto;
  position: relative;
  vertical-align: top;
  width: 50%;
  /*outline: 1px solid salmon;*/
}

  @media( max-width: 600px ){
    .col-50-percent {
      display: block;
      width: 100%;
    }
  }

.col-40-percent {
  display: inline-block;
  margin: 0 auto;
  width: 40%;
  /*outline: 1px solid salmon;*/
  vertical-align: middle; /* If we don’t put it here, it does not work! Damn… */
}

  @media( max-width: 600px ){
    .col-40-percent {
      display: block;
      text-align: center;
      width: 100%;
    }
  }

.col-60-percent {
  display: inline-block;
  margin: 0 auto;
  width: 60%;
  /*outline: 1px solid salmon;*/
  vertical-align: middle; /* If we don’t put it here, it does not work! Damn… */
}

  @media( max-width: 600px ){
    .col-60-percent {
      display: block;
      width: 100%;
    }
  }

/*--------------------------------------------------------------
# Modifiers
--------------------------------------------------------------*/

/* Alignments */
.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.top {
  vertical-align: top;
}

.position-absolute {
  position: absolute;
}

/* Text sizes */
.text-sm {
  font-size: 0.8rem;
}

.text-md {
  font-size: 1.0rem;
}

.text-lg {
  font-size: 1.4rem;
}

.text-xl {
  font-size: 1.8rem;
}

  @media( max-width: 600px ){
    .text-xl {
      font-size: 2.0rem;
    }
  }

.text-xxl {
  font-size: 2.5rem;
}

.text-xxxl {
  font-size: 3.0rem;
}

/* Font modifiers */
.font-serif {
  font-family: Baskerville, serif;
}

.font-norwester {
  font-family: norwester, serif;
}

.font-now {
  font-family: now, serif;
}

/* Text modifiers */
.font-italic {
  font-style: italic;
}

.font-light {
  font-weight: 300;
}

.font-heavy {
  font-weight: 700;
}

.text-caps {
  text-transform: uppercase;
}

.text-underline {
  text-decoration: underline;
}

.line-height-sm {
  line-height: 1.75rem;
}

/* Paddings & margins */
.padding-xxxs {
  padding: .25rem !important;
}

.padding-xxs {
  padding: .5rem !important;
}

.padding-xs {
  padding: 1rem !important;
}

.padding-sm {
  padding: 2rem !important;
}
  @media( max-width: 600px ){
    .padding-sm {
      padding: 1rem !important;
    }
  }

.padding-md {
  padding: 4rem !important;
}

.padding-lg {
  padding: 6rem !important;
}

.padding-bottom-sm {
  padding-bottom: 2rem !important;
}

.padding-bottom-md {
  padding-bottom: 4rem !important;
}

.padding-bottom-lg {
  padding-bottom: 6rem !important;
}

  @media( max-width: 600px ){
    .padding-bottom-lg {
      padding-bottom: 4rem !important;
    }
  }

.padding-top-sm {
  padding-top: 2rem !important;
}

.padding-top-md {
  padding-top: 4rem !important;
}

.padding-top-lg {
  padding-top: 6rem !important;
}

  @media( max-width: 600px ){
    .padding-top-lg {
      padding-top: 4rem !important;
    }
  }

.margin-xs {
  margin: 1rem !important;
}

.margin-sm {
  margin: 2rem !important;
}
  @media( max-width: 600px ){
    .margin-sm {
      margin: 1rem !important;
    }
  }

.margin-md {
  margin: 4rem !important;
}

.margin-lg {
  margin: 6rem !important;
}

.margin-bottom-none {
  margin-bottom: 0rem !important;
}

.margin-bottom-xs {
  margin-bottom: 1rem !important;
}

.margin-bottom-sm {
  margin-bottom: 2rem !important;
}

.margin-bottom-md {
  margin-bottom: 4rem !important;
}

  @media( max-width: 600px ){
    .margin-bottom-md {
      margin-bottom: 3rem !important;
    }
  }

.margin-bottom-lg {
  margin-bottom: 6rem !important;
}

.margin-top-none {
  margin-top: 0rem !important;
}

.margin-top-xs {
  margin-top: 1rem !important;
}

.margin-top-sm {
  margin-top: 2rem !important;
}

.margin-top-md {
  margin-top: 4rem !important;
}

  @media( max-width: 600px ){
    .margin-top-md {
      margin-top: 3rem !important;
    }
  }

.margin-top-lg {
  margin-top: 6rem !important;
}

.margin-right-xsm  {
  margin-right: 0.5rem;
}

/* Lateral margin to avoid crammed content on small screens */
.sm-lateral-margin {
  margin-left: 1rem;
  margin-right: 1rem;
}

.sm-lateral-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

.md-lateral-padding {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Section colors */
.light {
  background-color: #ffffff;
}

.dark {
  color: #ffffff;
  /*background: radial-gradient( circle at 50% 50%, #292a26, #1d1e1b 400% );*/ /* Black */
  /*background: radial-gradient( circle at 50% 50%, var( --main-color ), #3a3769 400% ); /* Purple */
  /*background: url( ../img/site/background-grass-white.png ) center bottom / 115% no-repeat, radial-gradient( circle at 50% 50%, rgba( 123, 156, 57, 1 ), rgba( 123, 156, 57, 1 ) 400% ); /* Green */
  /*background: radial-gradient( circle at 50% 50%, rgba( 123, 156, 57, 1 ), rgba( 123, 156, 57, 1 ) 400% ); /* Green */  
  background-color: var( --main-color ); /* Green */
}

.gray {
  background-color: hsla( 247, 24%, 91%, 1.0 );
}

.bg-gray {
  background-color: var( --bg-gray ); /* Trop clair, on ne voit rien ! */
}

.bg-yellow {
  background-color: var( --color-yellow );
}

/* Responsiveness */
.responsive {
  height: auto;
  max-width: 100%;
}

/* Varia */
.inline-block {
  display: inline-block; 
}

/* Prevent line breaks in elements */
.nowrap {
  white-space: nowrap;
}

.cursor-forbidden:hover {
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.sm-visible {
  display: none;
}

  @media( max-width: 600px ){
    .sm-visible {
      display: initial;
    }

    .sm-hidden {
      display: none;
    }
  }

.shadow {
  text-shadow: 0 0 4px rgba( 0, 0, 0, 1 );
}

.title-shadow {
  text-shadow: 3px 3px 0 rgba( 0, 0, 0, 0.35 );
}

.box-shadow-lg {
  box-shadow: 0 0 3rem rgba( 0, 0, 0, 0.25 );
}

.box-shadow-sm {
 box-shadow: 0 0 4px rgba( 0, 0, 0, 0.25 ); 
}

.rounded-corners-md {
  border-radius: 1rem;
}

.rounded-corners-sm {
  border-radius: 0.5rem;
}

/* Div decoration */

p.highlight-gray,
div.highlight-gray,
span.highlight-gray {
  background-color: rgba( 0, 0, 0, 0.1 );
  border-radius: 2rem;
  padding: .0rem .5rem;
}

/* Kudos to https://stackoverflow.com/a/9072467 for solving the stacking order problem */

div.sticky-note {
  position: absolute;
  display: inline-block;
  right: 65%;
  bottom: 25%;
}

  @media( max-width: 600px ){
    div.sticky-note {
      position: relative;
      display: inline-block;
      right: auto;
      bottom: auto;
      max-width: 100%;
    }
  }

  div.sticky-note-content {
    z-index: 1;
    position: relative;
  }

    div.sticky-note-content::before {
      background-color: var( --color-orange-light );
      position: absolute;
      content: " ";
      top: 0px;
      left: -0px;
      right: 0px;
      bottom: 0;
      transform: rotateZ( 0deg );
      z-index: -1;
      border-radius: .5rem;
      box-shadow: 0 0 4px rgba( 0, 0, 0, 0.25 ); 
    }

    div.sticky-note-content::after {
      position: absolute;
      content: " ";
      top: 0px;
      left: -15px;
      right: 15px;
      bottom: 0;
      transform: rotateZ( -10deg );
      background-color: var( --color-orange-medium );
      z-index: -10;
      border-radius: .5rem;
      box-shadow: 0 0 4px rgba( 0, 0, 0, 0.25 ); 
    }


span.paper-clip:after {
    width: 8px;
    height: 15px;
    content: " ";
    display: block;
    position: absolute;
    right: 2px;
    top: 5px;
    border-radius: 10px;
    border: 2px solid;
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
span.paper-clip {
    height: 30px;
    width: 12px;
    border-radius: 10px;
    border: 2px solid;
    display: inline-block;
    position: absolute;
    z-index: 2;
}

  span.paper-clip.green,
  span.paper-clip.green:after {
    border-color: var( --color-green-text );
  }

/* Border */
.div-border-sm {
  border: 1px solid;
}

/* Border color */

.div-border-color-gray {
  border-color: lightgray;
}

/* Lists */
ul.star, ul.thumb, ul.hand, ul.check, ul.fire {
  margin-left: 0;
  padding-left: 2.1rem;
}

  ul.star li, ul.thumb li, ul.hand li, ul.check li, ul.fire li {
    list-style: none; 
    margin-bottom: 5px;
  }

    ul.star li:before {
      /*content: "\2605  ";*/ /* star */
      content: "☆  ";
    }

    ul.hand li:before {
      content: "✌  ";
      font-size: 0.9rem;
      position: absolute;
      left: 10px;
    }

    ul.thumb li:before {
      content: "👍";
      font-size: 0.9rem;
      position: absolute;
      left: 10px;
    }

    ul.fire li:before {
      content: "🔥";
      font-size: 0.9rem;
      position: absolute;
      left: 10px;
    }

    ul.check li:before {
      margin-right: 5px;
      content: "✓";
      border: 1px solid;
      border-radius: 50%;
      height: 14px;
      width: 14px;
      display: inline-block;
      line-height: 1rem;
      padding: 1px 0px 1px 2px;
    }

ul.list-bubbles {
  margin: 0;
  padding: 0;
}

  ul.list-bubbles li {
    background-color: #534f9c;
    background: radial-gradient( circle at 50% 50%, var( --main-color ), #3a3769 400% );
    border: 0;
    border-radius: 3px;
    color: white;
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 400;
    list-style: none;
    /*margin: auto;*/
    margin: 0.25rem;
    min-width: 7rem;
    padding: .5rem .8rem;
    outline: none;
    text-align: center;
    /*text-transform: uppercase;*/
    transition: all .15s ease;
  }

    ul.list-bubbles li:hover {
      box-shadow: 0 0 0.5rem rgba( 0, 0, 0, 0.75 );
      opacity: 0.97;
    }

/* User message */
.user-message {
  background-color: rgba( 248, 248, 252, 0.75 );
  border-radius: 4rem;
  padding: 1rem;
}

  .user-message.good {
  background-color: rgba( 125, 194, 130, 0.25 );
  }

 .user-message.bad {
  background-color: rgba( 255, 85, 0, 0.25 );
  }




/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/

.gallery .gallery-item {
    display: inline-block;
    margin: 0.5rem;
    /*outline: 2px solid green;*/
  }

    .gallery .gallery-item img {
      max-height: 150px;
      width: auto;
    }


/*--------------------------------------------------------------
# Thumbnails
--------------------------------------------------------------*/

.thumbnail {
    border-radius: 50%;
    height: 15rem;
    width: 15rem;
    background-position: center middle;
    background-size: 100%;
    background-repeat: no-repeat;
    margin: auto;
  }

    @media( max-width: 600px ){
      .thumbnail {
        max-width: 100%;
      }
    }

/*--------------------------------------------------------------
# Clearfix (as per Nicolas Gallagher - http://nicolasgallagher.com/micro-clearfix-hack/)
--------------------------------------------------------------*/
.cf {
  height: 0;
}

.cf:before,
.cf:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.cf:after {
  clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
  *zoom: 1;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.form-field-container {
  margin-top: 2rem;
  position: relative;
}

input[type=text], input[type=number], input[type=email], textarea {
  background-color: #fbfbfb;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: inherit;
  font-size: 1.1rem;
  padding: .3rem .5rem;
}

input[type=submit] {
  background-color: transparent;
  border: 1px solid var( --main-color );
  border-radius: 3px;
  color: var( --main-color );
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 400;
  min-width: 6rem;
  padding: .3rem .5rem;
  /*outline: none;*/
  text-align: center;
  transition: all .2s ease;
}

  input[type=submit]:disabled,
  input[type=submit]:disabled:hover,
  input[type=submit]:disabled:active,
  input[type=submit]:disabled:focus {
    background-color: gray;
    color: lightgray;
    cursor: not-allowed;
  }

  input[type=submit]:hover {
    background-color: var( --main-color );
    color: #ffffff;
  }

  input[type=submit]:active {
    background-color: #534f9c;
    color: #ffffff;
  }


  input[type=submit].reverse {
    background-color: var( --main-color );
    color: #ffffff;
  }

    input[type=submit].reverse:hover {
      background-color: #534f9c;
      color: #ffffff;
    }

    input[type=submit].reverse:active {
      color: var( --main-color );
      background-color: #ffffff;
    }

input.sm, textarea.sm {
  width: 5rem;
}

input.lg, textarea.lg {
  width: 20rem;
}

input.xl, textarea.xl {
  max-width: 100%;
  width: 30rem;
}

input.xxl, textarea.xxl {
  max-width: 100%;
  width: 40rem;
}

textarea.lg {
  height: 7rem;
}

input.error, textarea.error {
  background-color: #fff0df;
  border-color: red;
  border-width: 2px;
}

/*--------------------------------------------------------------
# Toggle switch
--------------------------------------------------------------*/

.toggle {
  display: inline-block;
  line-height: 0;
}

.toggle input[type=checkbox]{
  height: 0;
  width: 0;
  visibility: hidden;
}

.toggle label {
  cursor: pointer;
  text-indent: -100%;
  width: 2em;
  height: 1em;
  background: #c5c5c5;
  display: block;
  border-radius: 0.7em;
  position: relative;

  /* Alt: thin switch version (à la Youtube) */
  /*cursor: pointer;
  text-indent: -100%;
  width: 2em;
  height: 0.6em;
  background: #c0c0c6;
  display: block;
  border-radius: 0.7em;
  position: relative;*/
}

  .toggle label:after {
    box-shadow: 1px 1px 2px 0 rgba( 0, 0, 0, 0.25 );
    content: '';
    position: absolute;
    top: 7%;
    left: 1px;
    width: 0.85em;
    height: 0.85em;
    background: #ffffff;
    border-radius: 1em;
    transition: all 0.2s;

    /* Alt: thin switch version (à la Youtube) */
    /*content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 0.9em;
    height: 0.9em;
    background: #5b5c6a;
    border-radius: 1em;
    transition: 0.3s;
    box-shadow: 0px 1px 4px 0px rgba( 0,0, 0, 0.25);*/
  }

  .toggle label .label-left {
    line-height: 100%;
    margin-right: 0.25em;
    position: absolute;
    right: 100%;
    text-indent: 0;
    top: 0;

    /* Alt: thin switch version (à la Youtube) */
    /*line-height: 100%;
    margin-right: 0.25em;
    position: absolute;
    right: 100%;
    text-indent: 0;
    top: -3px;*/
  }

  .toggle label .label-right {
    left: 100%;
    line-height: 100%;
    margin-left: 0.25em;
    position: absolute;
    text-indent: 0;
    top: 0;

    /* Alt: thin switch version (à la Youtube) */
    /*left: 100%;
    line-height: 100%;
    margin-left: 0.25em;
    position: absolute;
    text-indent: 0;
    top: -3px;*/
  }

  .toggle input:checked + label {
    /* Uncomment to add BG color switch */
    /*background: #bada55;*/
  }

    .toggle input:checked + label:after {
      /*left: calc(100% - 5px);*/
      left: 97%;
      transform: translateX(-100%);
    }

  .toggle label:active:after {
    /*width: 130px;*/
    /*width: 98%;*/ /* Uncomment if we want the stretch effect on the switch button */
  }



/*--------------------------------------------------------------
# Checkmark & xmark
--------------------------------------------------------------*/
span.checkmark {
    background-color: transparent;
    border-radius: 50%;
    color: green;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 900;
    height: 18px;
    line-height: 20px;
    margin: 0 5px;
    padding: 2px;
    position: relative;
    width: 18px;
  }

  span.checkmark:after {
    content: '✓';
    left: 4px;
    position: absolute;
  }

  span.checkmark.reverse {
    background-color: green;
    border-radius: 50%;
    color: white;
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    height: 18px;
    line-height: 20px;
    margin: 0 5px;
    padding: 2px;
    width: 18px;
  }

span.xmark {
    background-color: transparent;
    border-radius: 50%;
    color: red;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 900;
    height: 18px;
    line-height: 20px;
    margin: 0 5px;
    padding: 2px;
    position: relative;
    width: 18px;
  }

  span.xmark:after {
    content: '✗';
    left: 7px;
    position: absolute;
  }

  span.xmark.reverse {
    background-color: red;
    border-radius: 50%;
    color: white;
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    height: 18px;
    line-height: 20px;
    margin: 0 5px;
    padding: 2px;
    width: 18px;
  }

/*--------------------------------------------------------------
# Spinner
--------------------------------------------------------------*/
.spinner-container {
  width: 6rem;
}

.spinner > div {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var( --main-color );

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/*--------------------------------------------------------------
# Centered modal
--------------------------------------------------------------*/

/*Frosted background */
.frosted {
  -webkit-filter: blur( 3px );
  filter: blur(3px);
  display: block;
}

.modal {
}

  .black-background {
    position: fixed;
    bottom: 0px;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
    
    opacity: 0.3;
    background-color: #000;
  }

  .modal.modal-container {
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1000;
  }

  .modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate( -50%, -50% );
    transform: translate( -50%, -50% );
    z-index: 1000;

    min-width: 25%;
    max-width: 90%;
    
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 3px;
  }

    @media( max-width: 600px ){

      .modal .modal-content {
        width: 80%;
      }
    }

    .modal .modal-content p {
      margin: 1rem 0;
    }

    .modal .modal-content.with-spinner {
      background-image: url( ../images/site/spinner.gif );
    }


/*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/
  
.cookie-consent-container {
  background-color: rgba( 0, 0, 0, 0.8 );
  bottom: 0;
  color: white;
  /*line-height: 1.25rem;*/
  margin: 0 1rem 1rem 1rem;
  padding: 0.8rem;
  position: fixed;
  right: 0;
  width: 50%;
  z-index: 1000000;
}

  .cookie-consent-container h4 {
    font-size: 1.0rem;
    margin: 0 0 0.5rem 0;
  }

  .cookie-consent-container p {
    font-size: 1.0rem;
    line-height: 1.5rem;
    margin: 0 0 0.5rem 0;
  }

  .cookie-consent-container button {
    background-color: #ffffff;
    border: none; 
    border-radius: 2px;
    cursor: pointer;
    float: right;
    font-weight: bold; 
    line-height: 2.0rem;
    margin: none;
  }

  /*--------------------------------------------------------------
# Cookies
--------------------------------------------------------------*/
  
.debug {
  outline: 3px solid red;
}