@CHARSET "UTF-8";
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;    
}
body {
    /*background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images") no-repeat center center fixed;*/
    background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images");
    background-color: blue;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.login-form {
    margin: 100px auto;
    max-width: 500px;
}

form[role=login] {    
    background: #fff;
    padding: 10px 0 0 0;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
form[role=login] h2 {
    font-size: 26px;
    color: #5d5c5c;
    margin-bottom: 40px;
    text-align: center;
}
form[role=login] input,
form[role=login] button,
form[role=login] a.btn {
    font-size: 16px;
}
form[role=login] > div {
    line-height: 3em;
    margin: 1.5em 0 0 0;
    padding: 0 26px;
    background: #f2f2f2;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomright: 10px;
}
form[role=login] > section {
    padding: 0 26px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #fff;
}
/* General styles for alert */
.alert-info {
    background-color: #3a87ad !important;
}
#content-body {
    background-color: #F7F7F7;
}
.btn{
    padding: 6px 12px !important;
    margin-right: 5px !important;
    border-radius: 5px !important;
}
.table th {
    background-color: #028AB8;
    font-weight: bold;
    color: white;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}
.row_selected {
    background-color: #29C7F2 !important;
}
.table-header-color {
    background-color: #028AB8;
    color:white;
}
.float-right {
    float: right;
}
.float-left {
    float: left;
}
.ui-icon-check {
    background-color: #6D98A6;
}
.ui-widget-header {
    font-weight: normal;
}
.ui-widget { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important; }
.left{
    float: left;
}
.right {
    float: right;
}
.affter-fix:after{
    clear: both;
}
.FontNormal {
    font-weight: normal !important;
}
.FontBold {
    font-weight: bold !important;
}
.text-left {
    text-align: left;
}
.MarTop10{
    margin-top: 10px;
}
.MarTop20{
    margin-top: 20px;
}
.MarTop30{
    margin-top: 30px;
}
.MarTop50 {
    margin-top: 50px;
}
/***** Media queries *****/
/* 
* ===for computer===
*/
@media (min-width: 1201px) {
    body {
        /*background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images") no-repeat center center fixed !important;*/  
        background-color: #5d5c5c;
    }
}
/* 
* ===for ipad===
*/
@media (min-width: 641px) and (max-width: 1200px) {

    body { 
        background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images") no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    /*start an background trang*/
    form[role=login] {    
        background: transparent;
    }
    form[role=login] > section {
        background: transparent;
    }
    form[role=login] > div {
        background: transparent;
    }
    .layout-logo{
        display: block !important;
    }
    /*End an background trang*/
    .container {
        width: 100%; 
    }
    .login-form {
        margin: 500px auto;
        max-width: 100%;
    }

    form[role=login] h2 {
        font-size: 55px;
        color: #078cf9;
        margin-bottom: 40px;
        text-align: center;
    }

    .text-primary{
        width: 100px;
        font-size: 50px !important;
    }

    input{
        border-top-right-radius: 10px !important;
        border-bottom-right-radius: 10px !important;
        height: 100px;
    }
    form[role=login] button {
        border-radius: 10px !important;
    }
    .input-group-addon{
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;        
    }

    form[role=login] input, form[role=login] button, form[role=login] a.btn {
        font-size: 40px;
        height: 120px;
    }
    form[role=login] a.btn {
        margin-top: 50px;
    }
    .form-group {
        margin-bottom: 50px;
    }

    .forgotPass {
        font-size: 40px;
        color: #2296f7;
    }
    .captchaImg{
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .captchaImgReload{
        cursor: pointer;
        width: 100px !important;
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .ui-messages-error-summary,
    .ui-messages-error-detail
    {
        font-size: 40px;
    }
    .ui-messages-error-icon {
        background-position: 0 -52px;
        margin-top: 17px;
    }
}

/* 
* ===for mobile===
*/
@media (max-width: 640px) {

    body { 
        background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images") no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    /*start an background trang*/
    form[role=login] {    
        background: transparent;
    }
    form[role=login] > section {
        background: transparent;
    }
    form[role=login] > div {
        background: transparent;
    }
    .layout-logo{
        display: block !important;
    }
    /*End an background trang*/
    .container {
        width: 100%; 
    }
    .login-form {
        margin: 500px auto;
        max-width: 100%;
    }

    form[role=login] h2 {
        font-size: 55px;
        color: #078cf9;
        margin-bottom: 40px;
        text-align: center;
    }

    .text-primary{
        width: 100px;
        font-size: 50px !important;
    }

    input{
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        height: 100px;
    }

    form[role=login] input, form[role=login] button, form[role=login] a.btn {
        font-size: 40px;
        height: 120px;
    }
    form[role=login] a.btn {
        margin-top: 50px;
    }
    .form-group {
        margin-bottom: 50px;
    }

    .forgotPass {
        font-size: 40px;
        /*color: #2296f7;*/
    }
    .captchaImg{
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .captchaImgReload{
        cursor: pointer;
        width: 100px !important;
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .ui-messages-error-summary,
    .ui-messages-error-detail
    {
        font-size: 40px;
    }
    .ui-messages-error-icon {
        background-position: 0 -52px;
        margin-top: 17px;
    }
}

@media (max-width: 480px) and (min-width: 320px) {

    body { 
        background: url("/javax.faces.resource/layout/bg_img.jpg.xhtml?ln=images") no-repeat center center fixed; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    /*start an background trang*/
    form[role=login] {    
        background: transparent;
    }
    form[role=login] > section {
        background: transparent;
    }
    form[role=login] > div {
        background: transparent;
    }
    .layout-logo{
        display: block !important;
    }
    /*End an background trang*/
    .container {
        width: 100%; 
    }
    .login-form {
        margin: 500px auto;
        max-width: 100%;
    }

    form[role=login] h2 {
        font-size: 55px;
        color: #078cf9;
        margin-bottom: 40px;
        text-align: center;
    }

    .text-primary{
        width: 100px;
        font-size: 50px !important;
    }

    input{
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
        height: 100px;
    }

    form[role=login] input, form[role=login] button, form[role=login] a.btn {
        font-size: 40px;
        height: 120px;
    }
    form[role=login] a.btn {
        margin-top: 50px;
    }
    .form-group {
        margin-bottom: 50px;
    }

    .forgotPass {
        font-size: 40px;
        /*color: #2296f7;*/
    }
    .captchaImg{
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .captchaImgReload{
        cursor: pointer;
        width: 100px !important;
        height: 100px !important;
        margin-left: 5px !important;
        margin-top: 50px !important;
    }
    .ui-messages-error-summary,
    .ui-messages-error-detail
    {
        font-size: 40px;
    }
    .ui-messages-error-icon {
        background-position: 0 -52px;
        margin-top: 17px;
    }
}