@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?dfm1yx');
    src:  url('../fonts/icomoon.eot?dfm1yx#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?dfm1yx') format('truetype'),
      url('../fonts/icomoon.woff?dfm1yx') format('woff'),
      url('../fonts/icomoon.svg?dfm1yx#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  
  [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;
    font-size: 17.5px;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .icon-lock-orientation:before {
    content: "\e900";
  }
  
  


* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #cfdce6
}

::-webkit-scrollbar-thumb {
    background: #404b61;
}

::-webkit-scrollbar-thumb:active {
    background: rgb(45, 55, 76);
}

body {
    font-family: "Quicksand";
    min-height: 100vh;
    background-image: url(../images/sign-in.png);
    background-size: contain;
    background-color: rgba(255, 250, 242, 0.95);
    background-blend-mode: saturation;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    width: 100%;
    color: #f9b233;
    margin-top: 0
}

.hidden {
    display: none;
}

section {
    width: 75%;
    margin:30px auto;
    overflow: hidden;
    border-radius: 28px;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    -ms-border-radius: 28px;
    -o-border-radius: 28px;
    -webkit-box-shadow: 0 0 4px rgba( 204, 204, 204, 0.4);
    box-shadow: 0 0 4px rgba( 204, 204, 204, 0.4);
}

.floated {
    position: fixed;
    width: 322px;
    height: 35px;
    background: #ffd7d7;
    top: 50%;
    color: #ff5050;
    z-index: 100;
    left: 50%;
    margin-top: -17.5px;
    margin-left: -161px;
    border: none;
    text-align: center;
    padding: 8px 25px;
    font-weight: bold;
    border-radius: 5px;
    -webkit-box-shadow: 0 3px 11px #0000004a;
    box-shadow: 0 3px 11px #0000004a;
}

.floated.success {
    background: #ecffea;
    color: #52c335;
}

select.error {
    color: #ff5050;
}

.error + i {
    color: #ff5050;
}

.error-msg {
    font-family: "open sans";
    color: #ff5050;
    font-size: 13px;
    display: block;
}

section main,
section header {
    float: left;
    height: 560px;
    overflow: auto
}

section header {
    width: 60%;
    background-image: url(../images/background.jpg);
    background-color: rgba(64, 75, 97, 0.97);
    background-blend-mode: darken;
    background-size: cover;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

section header img {
    width: 85%;
    position: relative;
    z-index: 1;
}

section main {
    width: 40%;
    background: #FFF;
    padding: 6% 30px;
}

form {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
}

form div {
    width: 100%
}

form div:not(:last-of-type) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset;
    position: relative;
}

form input:not([type='submit']):not([type='checkbox']):not([type='radio']),
textarea,
select {
    width: 100%;
    background: #fffaf2;
    border: none;
    padding: 8px;
    padding-left: 30px;
    font: 500 15px "Quicksand";
    resize: none;
    transition: .3s ease-in-out;
    border-radius: 12px;
    margin: 10px 0;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    -webkit-box-shadow:inset 0 0 3px #f9b23348;
    box-shadow:inset 0 0 3px #f9b23348
}

input[type='checkbox'] {
    margin: 10px 5px 10px 0
}

textarea {
    resize: none;
    height: 100px;
}

form input:not([type='submit']):focus,
textarea:focus {
    -webkit-box-shadow: inset 0 0 4px #f9b23348;
    box-shadow: inset 0 0 4px #f9b23348;
}

select {
    -webkit-box-shadow: inset 0 0 4px #f9b23348;
    box-shadow: inset 0 0 4px #f9b23348;
}

i {
    color: #404b61;
    position: absolute;
    top: 19px;
    left: 5px;
}

form input[type='submit'] {
    background: #f9b233;
    padding: 10px 30px;
    border: none;
    font: 500 15px "Quicksand";
    color: #fffaf2;
    border-radius: 28px;
    margin: 33px auto;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-border-radius: 28px;
    -moz-border-radius: 28px;
    -ms-border-radius: 28px;
    -o-border-radius: 28px;
    -webkit-box-shadow: 0 0px 5px rgba(204, 204, 204, 0.48);
    box-shadow: 0 0px 5px rgba(204, 204, 204, 0.48);
}

form a.cancel {
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #212121;
    background: #e5edf3;
    margin-left: 5px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 25px;
}

:focus {
    outline: none;
}

::-webkit-input-placeholder {
    color: #2c2c2c;
    font:400 14px "Quicksand";
}

:-ms-input-placeholder {
    color: #2c2c2c;
    font:400 14px "Quicksand";
}

::placeholder {
    color: #2c2c2c;
    font:400 14px "Quicksand";
}

.error::-webkit-input-placeholder {
    color: #ff5050;
}

.error:-ms-input-placeholder {
    color: #ff5050;
}

.error::placeholder {
    color: #ff5050;
}

@media (max-width: 940px) {
    section main,
    section header {
        float: none;
        height: 380px;
        width: 100%;
    }

    section header {
        height: 100%;
        padding: 80px 0;
        background-position: top;
    }

    section {
        width: 90%;
    }
}
