/*
Veniam color #4194C9
*/


html,
body,
#oauth {
    height: 100%;
    width: 100%;
}
body{
    background: #142830;
    font-family: 'Fira Sans', sans-serif;
}

#oauth{
    display: table;
}

#oauth header {
    display: table-row;
    height: 0;
}

#oauth main {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

#oauth footer {
    height: 0;
    display: table-row;
}

.fix_padding{
    padding: 0;
}
.fix_margin{
    margin: 0;
}

/*
-------------------------------
Background
-------------------------------
*/
 .background_mesh_a{
    background: url(../img/background/mesh_a.png);
    width:  283px;
    height: 306px;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.background_mesh_b{
    background: url(../img/background/mesh_b.png);
    width:  782px;
    height: 312px;
    background-repeat: no-repeat;
   position: fixed;
   bottom: 0;
   right: 0px;
   z-index: 1;
}


/*
-------------------------------
main Body wrapper
-------------------------------
*/

#oauth main .body_wrapper{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    max-width: 700px;
    position: relative;
    z-index: 1000;
}

/*
-------------------------------
BOX BANNER
-------------------------------
*/
#oauth main .body_wrapper .banner_box{
    background: rgb(28, 74, 105); /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(rgb(21, 56, 78), rgb(28, 74, 105)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(rgb(21, 56, 78), rgb(28, 74, 105)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(rgb(21, 56, 78), rgb(28, 74, 105)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(rgb(21, 56, 78), rgb(28, 74, 105)); /* Standard syntax */
}
#oauth main .body_wrapper .banner_box .text{
    padding-top: 80px;
}

.banner_box_token_text{
    color: #fff;
    font-size: 21px;
    font-weight: 200;
    padding: 15px;
    line-height: 30px;
    padding-top: 30px;
}

#oauth main .body_wrapper .banner_box .text p{
    color: #fff;
    font-size: 21px;
    font-weight: 200;
    padding: 15px;
    line-height: 30px;
}
#oauth main .body_wrapper .banner_box .veniam_log{
    width: 160px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 20px;
}

#oauth main .body_wrapper .banner_box  .icon_car{
    position:absolute;
    width: 80px;
    height: 48px;
    bottom: 0;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    background-image: url(/img/veniam_car.svg);
    background-repeat: no-repeat;
}

#oauth main .body_wrapper .banner_box  .icon_car_token{
    width: 80px;
    height: 48px;
    bottom: 0;
    left:0;
    right:0;
    margin-left:auto;
    margin-right:auto;
    background-image: url(/img/veniam_car.svg);
    background-repeat: no-repeat;
}

/*
-------------------------------
BOX LOGIN
-------------------------------
*/


#oauth main .body_wrapper .login_box .title h1{
    color: #333333;
    font-size: 21px;
    font-weight: 200;
    text-align: left;
    margin-top: 100px;
    margin-bottom: 30px;
}
#oauth main .body_wrapper .login_box .title{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}
#oauth main .body_wrapper .login_box form>div{
    padding-bottom: 15px;
    padding-top: 25px;
}

#oauth main .body_wrapper .login_box .token_info{
    margin-top: 100px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 80px !important;
}

#oauth main .body_wrapper .login_box .form_style>div{
    padding-bottom: 15px;
    padding-top: 25px;
}

#oauth main .body_wrapper .login_box form .mdl-button{
    margin-top: 5px;
    width: 300px;
    height: 40px;
}

#oauth main .body_wrapper .login_box .form_style .mdl-button{
    margin-top: 5px;
    width: 300px;
    height: 40px;
}

.mdl-textfield__label{
    font-weight: 400;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label,
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label,
.mdl-textfield--floating-label.has-placeholder .mdl-textfield__label{
    color: #4194C9;
}
.mdl-textfield__label:after{
    background-color: #4194C9;
    bottom: 10px;
}

#oauth main .body_wrapper .login_box form .mdl-button--raised{
    background: #4194C9;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-family: 'Fira Sans', sans-serif;
}

#oauth main .body_wrapper .login_box .form_style .mdl-button--raised{
    background: #4194C9;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-family: 'Fira Sans', sans-serif;
}

#oauth main .body_wrapper .login_box form .mdl-button--raised:active{
    background: rgba(65,148,201,.9);
}

#oauth main .body_wrapper .login_box .form_style .mdl-button--raised:active{
    background: rgba(65,148,201,.9);
}

#oauth main .body_wrapper .login_box form .mdl-button--raised:hover{
    background: rgba(65,148,201,.6);
}

#oauth main .body_wrapper .login_box .form_style .mdl-button--raised:hover{
    background: rgba(65,148,201,.6);
}

@media (min-width: 768px) {
    #oauth main .body_wrapper .no-float {
        display: table-cell;
        float: none;
    }
  }


@media (max-width: 767px) {
  #oauth main .body_wrapper .login_box .title h1{
      text-align: center;
      margin-top: 30px;
      margin-bottom: 15px;

  }
  #oauth main .body_wrapper .hidden-xs-down{
      display: none;
  }
  #oauth main .body_wrapper{
      height: 100%;
  }
}

.token_display {
    position: relative;
    margin: 15px 0 0;
    padding: 39px 19px 14px;
    background-color: #fff;
    z-index: 2;
    text-align: left;
}

#custom-tooltip {
    display: none;
    margin-left: 40px;
    padding: 5px 12px;
    background-color: #000000df;
    border-radius: 4px;
    color: #fff;
}

.input-group-button {
    position: absolute;
}

.token_input {
    border: 1px solid #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn_clip {
    height: 23.5px;
    margin-left: -1px;
    background-image: linear-gradient(#fcfcfc,#eee);
    border-radius: 0 !important;
    border: 1px solid #d5d5d5;
}

.clip {
    margin-top: -12px;
}
/*
-------------------------------
divider
-------------------------------
*/
#oauth main .body_wrapper .divider{
    margin-top: 15px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 30px;
    display: table;
    table-layout: fixed;

}
#oauth main .body_wrapper .divider .text_or{
    line-height: 28px;
    font-size: 14px;
}
#oauth main .body_wrapper .divider .line,
#oauth main .body_wrapper .divider .text_or{
    display: table-cell;
    text-align: center;
    width: 50px;
    height: 10px;
    color: rgba(0,0,0,.12);
}
#oauth main .body_wrapper .divider .draw_line{
    width: 100%;
    height: 4px;
    border-top: 2px solid rgba(0,0,0,.12);
}


/*
-------------------------------
By veniam
-------------------------------
*/

#oauth main .body_wrapper .by_veniam{
    margin-top: 30px;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
}

#oauth main .body_wrapper .by_veniam_token{
    margin-top: 110px;
    width: 300px;
    margin-right: auto;
    margin-left: auto;
}

#oauth main .body_wrapper .by_veniam p{
    font-family: 'Fira Sans', sans-serif;
    text-align: left;
    margin-bottom: 5px;
    color: #808080;
    font-size: 10px;
    font-weight: 200;
}

#oauth main .body_wrapper .by_veniam_token p{
    font-family: 'Fira Sans', sans-serif;
    text-align: left;
    margin-bottom: 5px;
    color: #808080;
    font-size: 10px;
    font-weight: 200;
}

/*
-------------------------------
page error
-------------------------------
*/
.error_page{
    width: 700px;
    height: 500px;
    position: relative;
}

.error_page p{
    color: grey;
    font-size: 18px;
    margin-top: 40px;
    text-transform: initial;


}
.error_page .logo_veniam_login{
    width: 160px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.error_page .icon{
    background-image: url(/img/icon/warning.svg);
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
}
.error_page .button{
    margin-top: 30px;
    text-decoration: none;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}
/*
-------------------------------
Font
-------------------------------
*/

.mdl-textfield__input,
h1{
    font-family: 'Fira Sans', sans-serif;
}

/*
-------------------------------
Google login with
-------------------------------
*/
#oauth main .body_wrapper #google_signin a{
    text-decoration: none;
}
#oauth main .body_wrapper #google_signin{
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    width: 300px;
    height: 40px;
}

.abcRioButton {
    -webkit-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow 0 2px 4px 0px rgba(0, 0, 0, .25);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .25);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    -webkit-user-select: none;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    color: #262626;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: auto
}

.abcRioButton:hover {
    -webkit-box-shadow: 0 0 3px 3px rgba(66, 133, 244, .3);
    box-shadow: 0 0 3px 3px rgba(66, 133, 244, .3)
}

.abcRioButtonBlue {
    background-color: #4285f4;
    border: none;
    color: #fff
}

.abcRioButtonBlue:hover {
    background-color: #4285f4
}

.abcRioButtonBlue:active {
    background-color: #3367d6
}

.abcRioButtonLightBlue {
    background-color: #fff;
    color: #757575
}

.abcRioButtonLightBlue:active {
    background-color: #eee;
    color: #6d6d6d
}

.abcRioButtonIcon {
    float: left
}

.abcRioButtonBlue .abcRioButtonIcon {
    background-color: #fff;
    -webkit-border-radius: 1px;
    border-radius: 1px
}

.abcRioButtonSvg {
    display: block
}

.abcRioButtonContents {
    font-family: Roboto, arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .21px;
    margin-left: 6px;
    margin-right: 6px;
    vertical-align: top
}

.abcRioButtonContentWrapper {
    height: 100%;
    width: 100%
}

.abcRioButtonBlue .abcRioButtonContentWrapper {
    border: 1px solid transparent
}

.abcRioButtonErrorWrapper,
.abcRioButtonWorkingWrapper {
    display: none;
    height: 100%;
    width: 100%
}

.abcRioButtonErrorIcon,
.abcRioButtonWorkingIcon {
    margin-left: auto;
    margin-right: auto
}

.abcRioButtonErrorState,
.abcRioButtonWorkingState {
    border: 1px solid #d5d5d5;
    border: 1px solid rgba(0, 0, 0, .17);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .05);
    color: #262626
}

.abcRioButtonErrorState:hover,
.abcRioButtonWorkingState:hover {
    border: 1px solid #aaa;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .1)
}

.abcRioButtonErrorState:active,
.abcRioButtonWorkingState:active {
    border: 1px solid #aaa;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-box-shadow: inset 0 1px 0 #ddd;
    box-shadow: inset 0 1px 0 #ddd;
    color: #262626
}

.abcRioButtonWorkingState,
.abcRioButtonWorkingState:hover {
    background-color: #f5f5f5
}

.abcRioButtonWorkingState:active {
    background-color: #e5e5e5
}

.abcRioButtonErrorState,
.abcRioButtonErrorState:hover {
    background-color: #fff
}

.abcRioButtonErrorState:active {
    background-color: #e5e5e5
}

.abcRioButtonWorkingState .abcRioButtonWorkingWrapper,
.abcRioButtonErrorState .abcRioButtonErrorWrapper {
    display: block
}

.abcRioButtonErrorState .abcRioButtonContentWrapper,
.abcRioButtonWorkingState .abcRioButtonContentWrapper,
.abcRioButtonErrorState .abcRioButtonWorkingWrapper {
    display: none
}

.-webkit-keyframes abcRioButtonWorkingIconPathSpinKeyframes {
    0% {
        -webkit-transform: rotate(0)
    }
}


/*
-------------------------------
    login page error msg
-------------------------------
*/

#oauth main .body_wrapper .login_box .error_msg {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
}
