* {
   box-sizing: border-box;
}

html {
   overflow-y: scroll;
}

html, body {
   margin: 0;
   padding: 0;
}

body {
   background: url("foto_bg_webmail-c96238d364ea42d48762.jpg") no-repeat fixed;
   background-size: cover;
   color: #333;
   font-family: KPN-Sans, Arial;
   font-size: 14px;
}

a img {
   border: 0;
}

#wrapper {
   margin: 0 auto;
   max-width: 100%;
   padding: 0px 15px 50px;
   width: 1170px;
}

header {
   margin-top: 40px;
}

.row::after {
   clear: both;
   content: " ";
   display: table;
}

.row > * {
   float: left;
   padding: 0 15px;
   position: relative;
}

#logo {
   width: 25%;
}

   #logo a {
      color: #FFF;
      font-size: 48px;
      text-decoration: none;
   }

.kpn-logo {
   background: url("kpn_logo-403862d408cf681d2623.svg") no-repeat scroll;
   height: 66px;
   width: 145px;
}

#title {
   text-shadow: 0 0 5px rgba(255, 255, 255, .5);
   width: 41.6667%;
}

h1, h2, h3, h4, input {
   font-family: KPN-Accent, Arial;
}

h1 {
   font-size: 30px;
   font-weight: 200;
   line-height: 1.1;
   margin: 20px 0 0;
}

#main {
   left: 25%;
   margin-top: 20px;
   width: 41.6667%;
}

   #main > div {
      background: #FFF;
      border: 1px solid #CCC;
      box-shadow: 0 0 5px rgba(0, 0, 0, .1);
      padding: 15px;
      position: relative;
   }

#login.disabled, #login.loading {
   cursor: default;
   opacity: .25;
   pointer-events: none;
}

.spinner {
   animation: spin linear 1s infinite;
   border: 4px solid transparent;
   border-top-color: #090;
   border-radius: 100%;
   display: none;
   height: 40px;
   left: 50%;
   margin-left: -20px;
   position: absolute;
   top: 100px;
   width: 40px;
}

@keyframes spin {
   from {
      transform: rotate(0deg);
   }

   to {
      transform: rotate(360deg);
   }
}

#login.loading ~ .spinner {
   display: block;
}

.form-input {
   position: relative;
}

input:-webkit-autofill::first-line {
   font-family: KPN-Sans, Arial;
   font-size: 14px;
}

input[type="text"], input[type="password"] {
   background: transparent;
   border: 1px solid #B3B3B3;
   box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
   color: inherit;
   font-family: KPN-Sans, Arial;
   font-size: 14px;
   height: 45px;
   margin-bottom: 15px;
   padding: 6px 12px;
   position: relative;
   transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
   width: 100%;
   z-index: 10;
}

input[type="text"]:focus, input[type="password"]:focus {
   border: 1px solid #66AFE9;
   box-shadow: 0 0 4px #66AFE9;
}

noscript {
   color: #F00;
}

.error-message {
   display: none;
   color: #F00;
   padding: 0 15px 15px;
}

   .error-message a {
      color: #F00;
   }

   noscript::before, .error-message::before {
      font-family: "Icomoon";
      font-size: 12px;
      color: #F00;
      content: "\e608";
      padding-right: 10px;
   }

.invalid > input {
   border: 1px solid #F00;
   box-shadow: 0 0 4px #F00;
}

.invalid-required > .error-required,
.invalid-pattern > .error-pattern,
.invalid-credentials > .error-credentials {
   display: block;
}

#emailaddress {
   border: 1px solid transparent;
   box-shadow: none;
   color: #999;
   height: 45px;
   left: 12px;
   line-height: 2rem;
   overflow: hidden;
   padding: 6px 0;
   position: absolute;
   right: 12px;
   top: 0;
   z-index: 5;
}

#emailaddress .usernamepart {
   color: transparent;
}

input[type="text"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color: #999;
   font-family: KPN-Sans, Arial;
}

::placeholder {
   color: #999;
}

input[type="submit"] {
   background-color: #09F;
   border: 0;
   border-radius: 4px;
   color: #FFF;
   cursor: pointer;
   font-size: 16px;
   margin: 30px 0;
   padding: 10px 30px;
   transition: all 0s ease 0s, all 0.2s ease 0s, all 0s ease-in-out 0s;
   width: 100%;
}

   input[type="submit"]:hover {
      background-color: #0d76bc;
   }

#links ul {
   margin: 0;
   padding: 0;
   width: 100%;
}

   #links ul li {
      list-style-type: none;
      margin: 10px 0;
   }

      #links ul li a {
         color: inherit;
         text-decoration: none;
      }

         #links ul li a:hover {
            color: #09F;
         }

         #links ul li a::before {
            content: "\e62d";
            font-family: Icomoon;
            margin-top: 10px;
            padding-right: 5px;
         }

   #links ul.links-right li {
      text-align: right;
   }

#banner a {
   border-top: 1px solid #CCC;
   margin-top: 15px;
   padding: 15px 0 0;
   width: 100%;
}

   #banner a img {
      display: block;
      margin: 0 auto;
      max-width: 100%;
   }

@font-face {
   font-family: 'icomoon';
   src: url("icomoon-e12d52a622885f8cdbb1.eot");
   src: url("icomoon-e12d52a622885f8cdbb1.eot#iefix") format("embedded-opentype"), url("icomoon-577b0f8f5c90ad0e1137.woff") format("woff"), url("icomoon-52ad45f49fef4c4462a5.ttf") format("truetype"), url("icomoon-4a8cf1bf8b154f0a8a4e.svg#icomoon") format("svg");
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'KPN-Accent';
   src: url("KPN-Accent-Bold-2619062c41b8d406e190.eot");
   src: url("KPN-Accent-Bold-2619062c41b8d406e190.eot#iefix") format("embedded-opentype"), url("KPN-Accent-Bold-879167e00c390639f5e8.woff") format("woff"), url("KPN-Accent-Bold-adf94a07b9df4741c44d.ttf") format("truetype"), url("KPN-Accent-Bold-a452277e28ef92c9739e.svg#ea9771cd341fae3bf8dc1fcb3d048989") format("svg");
   font-style: normal;
   font-weight: 700;
}

@font-face {
   font-family: 'KPN-Accent';
   src: url("KPN-Accent-Light-10e48828f1d995bd5a98.eot");
   src: url("KPN-Accent-Light-10e48828f1d995bd5a98.eot#iefix") format("embedded-opentype"), url("KPN-Accent-Light-be58958ca96f2925ede2.woff") format("woff"), url("KPN-Accent-Light-1ffacfda0de06166ff51.ttf") format("truetype"), url("KPN-Accent-Light-957ba7d2e288349e8ad4.svg#1b31c318d956d41420f5cc1b9d996162") format("svg");
   font-style: normal;
   font-weight: 200;
}

@font-face {
   font-family: 'KPN-Accent';
   src: url("KPN-Accent-Normal-bd1f834c23b9cac515de.eot");
   src: url("KPN-Accent-Normal-bd1f834c23b9cac515de.eot#iefix") format("embedded-opentype"), url("KPN-Accent-Normal-dc94bbe64eac40994a0a.woff") format("woff"), url("KPN-Accent-Normal-3d8379b15032b2ce9eda.ttf") format("truetype"), url("KPN-Accent-Normal-f3a684435de361ff999b.svg#5b748be837e0ca1fb7379560f8954dd0") format("svg");
   font-style: normal;
   font-weight: 400;
}

@font-face {
   font-family: 'KPN-Sans';
   src: url("KPN-Sans-Bold-626894ac0c16d3b9c687.eot");
   src: url("KPN-Sans-Bold-626894ac0c16d3b9c687.eot#iefix") format("embedded-opentype"), url("KPN-Sans-Bold-05441bfdf318a8c9b91a.woff") format("woff"), url("KPN-Sans-Bold-4ebc1d7cbbc39b4231b4.ttf") format("truetype"), url("KPN-Sans-Bold-d3c9c8a9a2fe49a2869d.svg#f831c2393882ea0c75b260378c4c9d2b") format("svg");
   font-style: normal;
   font-weight: 700;
}

@font-face {
   font-family: 'KPN-Sans';
   src: url("KPN-Sans-Light-bd7468ddc8b6757bce7d.eot");
   src: url("KPN-Sans-Light-bd7468ddc8b6757bce7d.eot#iefix") format("embedded-opentype"), url("KPN-Sans-Light-bdd51c7d382d1a49b5a2.woff") format("woff"), url("KPN-Sans-Light-8ddb26fb96d59f8ff46b.ttf") format("truetype"), url("KPN-Sans-Light-e4de3d478ef763241040.svg#b6df28015c699f166215fd935180c4fe") format("svg");
   font-style: normal;
   font-weight: 200;
}

@font-face {
   font-family: 'KPN-Sans';
   src: url("KPN-Sans-Normal-1eaf54703f9a13bd64ef.eot");
   src: url("KPN-Sans-Normal-1eaf54703f9a13bd64ef.eot#iefix") format("embedded-opentype"), url("KPN-Sans-Normal-dcae2b660ba37ce9bbcb.woff") format("woff"), url("KPN-Sans-Normal-eca11ffdccaba49efcfd.ttf") format("truetype"), url("KPN-Sans-Normal-6796778156ca012b365f.svg#f50ce58d435f289016bfb0fc8c8cbc09") format("svg");
   font-style: normal;
   font-weight: 400;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
   -webkit-box-shadow: 0 0 0 50px transparent inset !important;
   -webkit-box-shadow: 0 0 0 50px rgba(0, 0, 0, 0) inset !important;
   transition: background-color 6000s ease-in-out 6000s;
}

/* NEW WEBMAIL POPUP */

.notification-message {
   background-color: #C2E1F5;
   display: flex;
   line-height: 1.5em;
   margin-bottom: 1em;
   padding: 1em;
   position: relative;
   text-decoration: none;
   width: 100%;
}

   .notification-message a {
      color: #09f;
      text-decoration: none;
   }

      .notification-message a:hover, .notification-message a:focus {
         color: #07c;
         text-decoration: underline;
      }

.notification-icon {
   background: transparent url("kpn-notifications-19941ad340a9f8341b18.svg");
   background-size: cover;
   background-position: -44px 0;
   height: 22px;
   margin-right: 10px;
   min-width: 22px;
}

.popup-container {
   background-color: rgba(0, 0, 0, .25);
   bottom: 0;
   display: none;
   left: 0;
   padding-top: 100px;
   position: fixed;
   right: 0;
   top: 0;
   z-index: 100;
}

   .popup-container:target {
      display: block;
   }

.popup-window {
   animation: slide-top .5s;
   background-color: #FFF;
   border: 1px solid #CCC;
   box-shadow: 0 0 20px rgba(0, 0, 0, .5);
   margin: 0 auto;
   max-width: 100%;
   padding: 40px;
   position: relative;
   width: 800px;
}

.close-icon {
   color: #000;
   font-size: 1.5em;
   position: absolute;
   right: 40px;
   text-decoration: none;
   top: 40px;
}

   .close-icon:focus, .close-icon:hover {
      color: #09F;
   }

   .close-icon::before {
      content: '\e608';
      font-family: 'Icomoon';
   }

@keyframes slide-top {
   0% {
      top: -420px;
      opacity: 0;
   }

   100% {
      top: 0;
      opacity: 1;
   }
}

/* MAINTENANCE */

.maintenance-message {
   background: url("service-assemble-3a3f6b1b4a2b4d29d52e.svg");
   background-repeat: no-repeat;
   background-position-x: 10px;
   padding: 0 0 0 130px;
}

   .maintenance-message h1, .maintenance-message h4 {
      color: #090;
   }

/* TABLET & MOBILE */

@media (max-width: 991px) {
   body {
      background: url("bg-040689ae24f4775f4017.png") no-repeat fixed;
      background-size: 100% 100%;
   }

   #logo {
      float: right;
      top: 10px;
   }

   .kpn-logo {
      background: none;
      float: right;
      text-align: right;
   }

      .kpn-logo::after {
         content: "\e612";
         font-family: Icomoon;
      }

   #title {
      color: #FFF;
      text-shadow: none;
   }

   #main {
      left: auto;
      width: 100%;
   }

   .maintenance-message {
      background-position-x: 50%;
      padding: 100px 0 0 0;
   }
}
