* {
   box-sizing: border-box;
}

html {
   overflow-y: scroll;
}

html, body {
   margin: 0;
   padding: 0;
}

body {
   color: #333;
   font-family: Arial;
   font-size: 14px;
}

a img {
   border: 0;
}

#wrapper {
   margin: 0 auto;
   max-width: 100%;
   width: 1440px;
}


header {
   margin-top: 20px;
   padding: 0px 15px 15px;
}

.row::after {
   clear: both;
   content: " ";
   display: table;
}

.row > * {
   float: left;
   padding: 0 15px;
   position: relative;
}

#logo {
   display: block;
   height: 90px;
   width: 25%;
}

   #logo a {
      color: #FFF;
      font-size: 48px;
      text-decoration: none;
   }

.telfort-logo {
   background: url("telfort_logo.png") no-repeat scroll;
   height: 100px;
   width: 146px;
}

#title {
   text-shadow: 0 0 5px rgba(255, 255, 255, .5);
   text-align: center;
   height: 50px;
   color: #373896;
}

#bg {
   background: url("foto_bg_webmail.png") no-repeat center;
   width: 100%;
   height: 600px;
}

h1 {
   font-family: Telfort-FOUSAN, Arial;
   font-size: 30px;
   font-weight: 700;
   line-height: 1.1;
   margin: 20px 0 0;
}

#main {
   margin-top: 70px;
   left: 35%;
   width: 30%;
}

   #main > div {
      background: #FFF;
      border: 1px solid #CCC;
      border-radius: 5px;
      box-shadow: 0 0 5px rgba(0, 0, 0, .1);
      padding: 15px;
      position: relative;
      text-align: left;
   }

#login.disabled {
   cursor: default;
   opacity: .25;
   pointer-events: none;
}

.form-input {
   position: relative;
}

input {
   font-family: inherit;
   font-size: inherit;
}

   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;
      height: 45px;
      margin-bottom: 15px;
      border-radius: 6px;
      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, input[type="checkbox"]:focus {
         border: 1px solid #2F2F2F;
         box-shadow: 0 0 4px #2F2F2F;
      }

noscript {
   color: #F00;
}

.error-message {
   display: none;
   color: #F00;
   padding: 0 5px 15px;
}

   .error-message a {
      color: #F00;
   }

   noscript::before, .error-message::before {
      font-family: "Icomoon";
      font-size: 12px;
      color: #F00;
      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;
}

@-moz-document url-prefix() {
   /* FIREFOX */
   #email {
      padding-top: 13px;
   }
}

@supports (-ms-accelerator:true) {
   /* EDGE */
   #email {
      padding: 13.5px 13px;
   }
}

input[type="submit"] {
   background-color: #373896;
   border: 0;
   border-radius: 4px;
   color: #FFF;
   cursor: pointer;
   font-size: 16px;
   margin: 10px 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: #373896;
   }


#links ul {
   margin: 0;
   padding: 0;
   width: 100%;
}

   #links ul li {
      text-align: center;
      list-style-type: none;
      margin: 10px 0;
   }

      #links ul li a {
         color: #373896;
         /*font-family: Arial;*/
      }

         #links ul li a:hover {
            color: #373896;
         }

      #links ul li span a {
         margin-top: 10px;
         padding-right: 5px;
         text-decoration: none;
         border-bottom: 1px solid lightgray;
      }

#links .arrow span::before {
   color: #373896;
   font-family: Icomoon;
   content: "\e62d";
}

#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%;
   }

@media (max-width: 991px) {
   #bg {
      background: none;
      width: 100%
   }

   body {
      background-size: 100% 100%;
   }

   #logo {
      /*float: right;*/
      background: url("logo_small.png") no-repeat center;
      top: 10px;
      height: 50px;
      width: 100%
   }

   .telfort-logo {
      background: none;
      /*float: right;*/
      text-align: right;
   }

   #title {
      color: #373896;
      text-shadow: none;
   }

   #main {
      margin-top: 20px;
      left: auto;
      width: 100%;
   }
}

@font-face {
   font-family: 'icomoon';
   src: url("../fonts/telfort/Icomoon/icomoon.eot");
   src: url("../fonts/telfort/Icomoon/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/telfort/Icomoon/icomoon.woff") format("woff"), url("../fonts/telfort/Icomoon/icomoon.ttf") format("truetype"), url("../fonts/telfort/Icomoon/icomoon.svg?#icomoon") format("svg");
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'Telfort-FOUSAN';
   src: url("../fonts/telfort/Foundry/FOUSANBD.otf");
   font-style: normal;
   font-weight: 700;
}

@font-face {
   font-family: 'Telfort-FOUSAN';
   src: url("../fonts/telfort/Foundry/FOUSANLT.otf");
   font-style: normal;
   font-weight: 200;
}

@font-face {
   font-family: 'Telfort-FOUSAN';
   src: url("../fonts/telfort/Foundry/FOUSANNO.otf");
   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;
}

input:-webkit-autofill::first-line {
   font-family: Arial;
   font-size: 14px;
}

/* NEW WEBMAIL POPUP */
#bg {
   height: 638px;
}

.notification-message {
   background-color: #F2FBFD;
   border: 1px solid #00B2DD;
   border-radius: 10px;
   display: flex;
   line-height: 1.5em;
   margin-bottom: 1em;
   padding: 20px;
   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 {
   color: #00b2dd;
   height: 22px;
   margin: 8px 22px 0 0;
   min-width: 22px;
}

   .notification-icon::before {
      content: '';
      font-family: 'telfort-icons', sans-serif;
      font-size: 30px;
   }

.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;
   border-radius: 10px;
   box-shadow: 0 0 20px rgba(0, 0, 0, .5);
   margin: 0 auto;
   max-width: 100%;
   padding: 40px;
   position: relative;
   text-align: center;
   width: 800px;
}

   .popup-window .title {
      color: #373896;
      font-family: Telfort-FOUSAN, Arial;
   }

.close-icon {
   color: #373896;
   font-size: 1.2em;
   position: absolute;
   right: 10px;
   text-decoration: none;
   top: 10px;
}

   .close-icon:after {
      content: "";
      font-family: 'telfort-icons', sans-serif;
      padding-left: 4px;
      position: relative;
      top: .1em;
   }

@keyframes slide-top {
   0% {
      top: -420px;
      opacity: 0;
   }

   100% {
      top: 0;
      opacity: 1;
   }
}

@font-face {
   font-family: 'telfort-icons';
   font-style: normal;
   font-weight: normal;
   src: url('../fonts/telfort/telfort-icons/telfort-icons.woff2') format('woff2'), url('../fonts/telfort/telfort-icons/telfort-icons.woff') format('woff'), url('../fonts/telfort/telfort-icons/telfort-icons.ttf') format('ttf');
}

/* MAINTENANCE */

.maintenance-message {
   background: url(service-assemble.svg);
   background-repeat: no-repeat;
   background-position-x: 50%;
   padding-top: 100px;
   text-align: center;
}

   .maintenance-message h1 {
      color: #373896;
   }
