.animated {
    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    -o-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.hinges {
    -webkit-animation-duration: 2s;
    -moz-animation-duration: 2s;
    -o-animation-duration: 2s;
    animation-duration: 2s;
}

.animated.slow {
    -webkit-animation-duration: 3s;
    -moz-animation-duration: 3s;
    -o-animation-duration: 3s;
    animation-duration: 3s;
}

.animated.snail {
    -webkit-animation-duration: 4s;
    -moz-animation-duration: 4s;
    -o-animation-duration: 4s;
    animation-duration: 4s;
}

@-webkit-keyframes shake {
    0%, 100% {-webkit-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
    20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
}

@-moz-keyframes shake {
    0%, 100% {-moz-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
    20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
}

@-o-keyframes shake {
    0%, 100% {-o-transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
    20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
}

@keyframes shake {
    0%, 100% {transform: translateX(0);}
    10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
    20%, 40%, 60%, 80% {transform: translateX(10px);}
}

.shake {
    -webkit-animation-name: shake;
    -moz-animation-name: shake;
    -o-animation-name: shake;
    animation-name: shake;
}

.login .modal-dialog{
    width: 500px;
}
@media (max-width:500px){
    .login .modal-dialog{
        width: 100%;
    }
}
.login .modal-footer{
    border-top: 0;
    margin-top: 0px;
    padding: 0px 17px 5px 20px;
}
.login .modal-header {
    border: 0 none;
    padding: 15px 15px 15px;
    /*     padding: 11px 15px; */
}
.modal-title {
    text-align: center;
    margin-bottom: 5px;
    font-size: 30px;

}
.login-remainder {
    margin-top:15px;
}
.login-remainder a, .register-inf a{
   // color: #024b75;
   // text-decoration: underline;
}
.login .modal-body{
    padding-top: 0;
}
.post-code {
    position: relative;
}
.post-code:after{
    position: absolute;
    top: 50%;
    right:-3%;
    content: '';
    width:8px;
    height: 1px;
    background-color: #000000;
}
.forgot-password{
    display: inline-block;
    margin: 15px 0;
    color:#B81940;
}
.login .btn-login, .registerBox .btn-register{
    display: block;
    background-color: #B81940;
    border-color: #B81940;
    color: #ffffff;
    padding: 5px 25px;
    font-size: 1.3em;
    outline: none !important;
    width:100%;
    text-align: center;

}
.registerBox .btn-register {
    margin-top: 30px;
}
.checkbox-register {
    margin:5px !important;
}

.form-group .error {
    color: #B81940;
}




.soc-login {
    cursor:pointer;
    display: inline-block;

    width: 100%;

  //  -webkit-border-radius: 4px;
  //  -moz-border-radius: 4px;
  //  border-radius: 4px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    font-size: 1.3em;
}

.soc-login.fb {
    background-color: #405ca6;

    background-image: -webkit-gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0.15) ), to( rgba(255,255,255,0.01) )), url(../img/noise1.png);
    background-image: gradient(radial, 50% 0, 100, 50% 0, 0, from( rgba(255,255,255,0.15) ), to( rgba(255,255,255,0.01) )), url(../img/noise1.png);
    background-image: -moz-radial-gradient(top, ellipse cover, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.15) 100%), url(../img/noise1.png);
}

.soc-login.google {
    background-color: #d84e40;


    background-image:  url(../img/noise1.png);


}

/*.modal.in .modal-dialog {*/
/*-webkit-transform: translate(0,45%);*/
/*-ms-transform: translate(0, 45%);*/
/*-o-transform: translate(0, 45%);*/
/* transform: translate(0, 0); */
/*}*/

.modal.in .modal-dialog {
    top: 8%;
}

.modal-backdrop.in
{

    opacity: 0.9;
}

.modal-backdrop{

    background-color: #312424;

}

.social-auth-buttons, .social-register-buttons {
    margin-top: 20px;
}

.ok-button-div {
    text-align: center;
    width:100%
}

.btn-ok{
    width: 15%;
    text-align: center;
    background-color: #B81940;
    border-color: #B81940;
    color: #ffffff;
    padding: 5px 5px;
    font-size: 1.3em;

}

.btn-ok:hover {
    background-color: white;
    color: #B81940;
}

.modal-nav-buttons {
    margin-top:20%
}

.button-margin-top{
    margin-top:10px;
}

.button-margin{
    margin-top:5px;
    margin-bottom:5px;
}

.cborder{

    border-color: #12a89d ;
    border-style: solid ;
  //  border-radius: 10px ;
    border-width: 3px ;
}


.rotate {
    width: 68px;
    margin-top: 12px;
    margin-right: 20px;



}

@media only screen and (max-width: 768px) {

    .rotate {
        display: block;
    }
}

a:hover .rotate {

    -webkit-animation: sk-rotateplane 3.2s infinite ease-in-out;
    animation: sk-rotateplane 3.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% { -webkit-transform: perspective(120px) }
    50% { -webkit-transform: perspective(120px) rotateX(-180deg) }
    100% { -webkit-transform: perspective(120px) rotateX(-360deg)}
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    } 50% {
          transform: perspective(120px) rotateX(-180deg) rotateY(0deg);
          -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(0deg);
      } 100% {
            transform: perspective(120px) rotateX(-360deg) rotateY(0deg);
            -webkit-transform: perspective(120px) rotateX(-360deg) rotateY(0deg);
        }
}

.btn-outline1{
    background-color: #024b75;
    color: #fff;

}
.btn-outline1:hover{
    background-color: #00a79d ;
    color: #fff;

}

.adark:hover{
    color: #024b75;

}