﻿html,
form {
    margin: 0px;
    padding: 0px;
    min-height: 100%;
    height: auto;
    width: 100%;
}

html {
    background-color: #1376B6;
}

body {
    color: #ffffff;
    font-weight: normal;
    font-size: 14px;
    font-family: 'Segoe UI', 'Open Sans', sans-serif;
    padding: 0px;
    margin: 0px;
    min-height: 100%;
    height: auto;
    width: 100%;
    overflow: auto;
    box-sizing: border-box;
}

@media only screen and (max-width: 320px) {
    body {
        font-size: 1.6em;
    }

    .loginTitle {
        font-size: 34px;
    }

    .loginSubTitle {
        font-size: 2.0em;
    }

    .loginCompanyName {
        font-size: 2.0em;
    }

    .loginProductName {
        font-size: 3.0em;
    }
}

@media only screen and (min-width: 311px) and (max-width: 480px) {
    body {
        font-size: 1.4em;
    }

    .loginTitle {
        font-size: 32px;
    }

    .loginSubTitle {
        font-size: 2.0em;
    }

    .loginCompanyName {
        font-size: 1.8em;
    }

    .loginProductName {
        font-size: 2.8em;
    }
}

@media only screen and (min-width: 481px) and (max-width: 760px) {
    body {
        font-size: 1.2em;
    }

    .loginTitle {
        font-size: 30px;
    }

    .loginSubTitle {
        font-size: 1.8em;
    }

    .loginCompanyName {
        font-size: 1.6em;
    }

    .loginProductName {
        font-size: 2.6em;
    }
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 761px) {
    .body-content {
        padding: 0;
    }

    .loginTitle {
        font-size: 28px;
    }

    .loginSubTitle {
        font-size: 1.6em;
    }

    .loginCompanyName {
        font-size: 1.4em;
    }

    .loginProductName {
        font-size: 2.4em;
    }
}

#wrapper {
    padding: 10px;
}

.loginFormWrapper {
    max-width: 1024px;
    text-align: center;
    margin: 20px auto 20px auto;
    padding: 0px;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
}

.narrowFormWrapper {
    max-width: 500px;
    text-align: center;
    margin: 20px auto 20px auto;
    padding: 0px;
    background-color: rgba(255, 255, 255, 1);
    box-sizing: border-box;
}

.loginForm {
    color: white;
}

.loginTextArea {
    background-color: #66b7f0;
    /*background-color: rgba(79, 178, 245, 0.8);*/
    color: white;
    box-sizing: border-box;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    text-align: left;
    padding: 30px !important;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
}

.loginFormArea {
    padding: 30px !important;
    box-sizing: border-box;
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    color: #222222;
    vertical-align:middle;
}

.loginTitle {
    font-weight: normal;
    color: rgba(64,154,225,.9);
    margin: 0px;
    padding: 0px 0px 20px 0px;
}

.loginCompanyName {
    font-family: 'Open Sans', 'Segoe UI', sans-serif;
    font-weight: normal;
}

.loginProductName {
    font-family: Rajdhani, 'Open Sans', 'Segoe UI', sans-serif;
    font-weight: bold;
}

.loginIcon {
    font-size: 50px;
    margin: 0px;
    color: #a0d6ff;
    padding-bottom:5px;
}

.section-wrap {
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box; /* OLD - Firefox 19- (doesn't work very well) */
    display: -ms-flexbox; /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    width: 100%;
    box-sizing: border-box;
}

.section-wrap .section-col:nth-child(1) {
    margin-left: 0px;
}

.section-col {
    -webkit-box-flex: 1; /* OLD - iOS 6-, Safari 3.1-6 */
    -moz-box-flex: 1; /* OLD - Firefox 19- */
    width: 33%; /* For old syntax, otherwise collapses. */
    -webkit-flex: 1; /* Chrome */
    -ms-flex: 1; /* IE 10 */
    flex: 1; /* NEW, Spec - Opera 12.1, Firefox 20+ */
    background: rgba(64, 150, 216, 0.9);
    margin-left: 4px;
    margin-top: 4px;
    box-sizing: border-box;
    padding: 15px 15px 5px 15px;
}

.center {
    text-align: center;
}

#wrapper .RadComboBox .rcbInner {
    padding: 7px 6px 7px 8px;
}

#wrapper .RadComboBox .rcbActionButton {
    padding: 7px;
}

#wrapper .RadButton.rbRounded,
#wrapper .RadButton.rbSplitPart {
    border-radius: 5px;
}

#wrapper .riTextBox {
    padding: 8px;
}

.bottomMarginCorrection {
    margin-bottom: -35px;
}

.failureMessage {
    color: #f1556c;
    background-color: #fef0f2;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #f9b3bd;
}

.successMessage {
    color: #0acf97;
    background-color: #f3fefb;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #49f6c5;
}

.loginLink {
    padding-top: 40px;
    clear: both;
}

.text-error {
    color: #ff3300;
}
/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"],
input[type="button"] {
    width: 100%;
    padding: 8px;
}


/* Layout */
#wrapper .t-container-fluid {
    max-width: 100%;
}

#wrapper .siteHeader {
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1.0em;
}

#wrapper .siteContent {
    padding: 0px;
    margin: 0px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

#wrapper .siteFooter {
    width: 100%;
    text-align: center;
    color: #a0d6ff;
    font-size: 1.0em;
}

#wrapper .t-col {
    margin: 0px;
    padding: 0px;
}

#wrapper .t-row {
    margin: 0px;
}

#wrapper .t-container {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}


/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}