html {
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Hind Siliguri';
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    -webkit-align-items: center; /* Safari 7.0+ */
    background: #00c6e0; /* Old browsers */
    background: -moz-linear-gradient(45deg, #00c6e0 0%, #3c7ad8  99%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, #00c6e0 0%,#3c7ad8  99%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, #00c6e0 0%,#3c7ad8  99%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

h1 {
    font-size: 2.5rem;
    color: #1E88E5 !important;
    margin: 0 0 2rem 0;
    text-align: center;
}

.form-signin {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    background: white;
    border-radius: 2px;
    padding: 2rem;
    box-shadow: 0px 2px 24px -4px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 2px 24px -4px rgba(0,0,0,0.6);
    -webkit-box-shadow: 0px 2px 24px -4px rgba(0,0,0,0.6);
}

.flex-row {
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    -webkit-align-items: center; /* Safari 7.0+ */
    justify-content: space-between;
}

h1 {
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 2rem 0;
    text-align: center;
}

.form-signin .form-signin-heading {
    color: #1e88e5;
    border-bottom: 1px solid #e9e9e9;
    padding: 1.5rem;
    margin: -2rem -2rem 2rem -2rem;
    font-size: 2.5rem;
    text-align: center;
}

.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
            box-sizing: border-box;
    padding: 1em 1.2em;
    margin-bottom: 2rem;
    background: #F5F5F5;
    border: 0;
    border-radius: 3px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.form-signin .form-control:focus {
  z-index: 2;
}
.form-control-top {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-control-middle {
  margin-bottom: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-control-bottom {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.image-logo {
    height: 100%;
    margin-left: -5px;
}

.btn-login {
    background-color: #1E88E5 !important;
    border-color: #1E88E5 !important;
    padding: 0.7em 2em;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
}

a {
    font-weight: 500;
    text-decoration: none !important;
    padding: 1em;
}

.not-compatible-browser {
    text-align: center;
    width: 100%;
}

.not-compatible-browser img {
    width: 80%;
    max-width: 160px;
}

.not-compatible-browser h1 {
    font-size: 3.5rem;
}

.not-compatible-browser p {
    font-size: 2rem;
}

.not-compatible-browser h1, p {
    color: rgba(255,255,255,0.8);
    margin: 2rem;
}

.not-compatible-browser a {
    display: inline-block;
    color: rgba(0,0,0,0.8);
    background: white;
    padding: 0.7em 2em;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    box-shadow: 0px 6px 16px -4px rgba(0,0,0,0.2);
}

.not-compatible-browser a:hover {
    background: #e9e9e9;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-text-fill-color: #555;
  -webkit-box-shadow: 0 0 0px 1000px #F5F5F5 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.alert a {
    padding: initial !important;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: column;
    background: rgba(0,0,0,0.92);
    color: rgba(255,255,255,0.86);
    z-index: 999;
}

.video-overlay > header {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    flex-shrink: 0;
    font-size: 1.2em;
    padding: 1rem 2rem;
}

.video-overlay > main {
    padding: 5%;
    flex: 1;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-overlay video {
    max-height: 90%;
    max-width: 90%;
}

.close-icon {
    position: relative;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    cursor: pointer;
}

.close-icon::before,
.close-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 1em;
    background: rgba(255,255,255,0.86);
    transform-origin: 50% 50%;
}

.close-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-icon:hover {
    background: rgba(255,255,255,0.05);
}