.login-box{
    width:33%;max-width:500px;align-self: center;padding:20px 40px;max-height: 100%;
    z-index: 2;
    position: relative;
    background: #fff;
    min-height: 100%;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
}
.wrapper{
    display: flex;
    font-family: "Raleway", sans-serif;
    position: relative;
}
.wrapper *,.wrapper .btn.m-btn--custom{
    font-family: "Raleway", sans-serif;
}
.login-title{
    font-size:36px;font-weight: bold;line-height: 1.2;
}
.login-title span{
    color:#00929e;
}
.login-title p{
    font-size:18px;margin:30px 0 0 0;color:#848484;font-weight: normal;line-height: 1.4;
}
.right-box{
    width:100%;background-size:cover;background-position: center right;min-height: 100vh;background-color:#00929e;display: flex;align-items:center;padding:50px;padding-right: 80px;
}
.login-box img{
    margin-bottom: 20px;flex: 0 0 auto;align-self:flex-start;object-fit: contain;
}
.login-box form{
    padding:20px 0 40px 0;max-width: 320px;width:100%;
}
.login-box form input{
    background:#f6f6f6;font-size:12px;
    padding:20px 20px;border-radius:30px 30px 0 0 ;border-color:#f6f6f6;
}
.login-box form label{
    padding:0px 20px;font-size:12px;font-weight: bold;
}
.form-control.focus, .form-control:focus {
    border-color: #f6f6f6;
    color: #000;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.login-box form .btn.m-btn--custom{
    margin-top:15px;margin-bottom: 15px;
    padding:15px 30px;
    min-width: 50%;
    color:#fff;
    font-weight: bold;
    font-size:14px;
    background:#00929e;
    border:2px solid #00929e;
}
.login-box form .btn.m-btn--custom:hover{
    background:#fff;color:#00929e;
}
.remember-btn{
    display: inline-block;color:#00919e;text-decoration: underline;font-size:14px;margin-top:15px;font-weight: bold;
}
.remember-btn:hover{
    color:#000;
}
.languages-box{
    margin-bottom: 30px;text-align: right;
}
.languages-box a{
    font-weight: bold;font-size:14px;color:#000;
}
.languages-box a:hover,.languages-box a.active{
    color:#00929e;text-decoration: underline;
}
ul.links-page{
    list-style: none;padding:0;text-align: center;
}
ul.links-page li{
    display: inline-block;padding:5px;color:#000;font-weight: bold;font-size:12px;
}
ul.links-page li a{
    color:#000
}
ul.links-page li a:hover{
    color:#00929e
}
.copyright{
    color:#686868;font-size:10px;text-align: center;margin-bottom: 0;
}


div.flyel {
    top:50%;
    left:50%;
    position:absolute;
    z-index: -1;
    transition: all 8.5s ease-out 0s;
    transition-timing-function: cubic-bezier(0, 0, 0.58, 1) !important;
}

.fly-elem div.flyel:nth-child(1){
    animation: scale 6s ease-out 0.5s infinite;
    transition: all 11.5s ease-out 0s;
    z-index: -1;
    top:80%;
    left:70%;
}
.fly-elem  div.flyel:nth-child(2){
    animation: scale 4s ease-out 0.5s infinite;
    transition: all 18.5s ease-out 0s;
    z-index: -1;
        top:20%;
    left:75%;
}
.fly-elem div.flyel:nth-of-type(3){
    animation: scale 6s ease-out 0.5s infinite;
    transition: all 20.5s ease-out 0s;
    z-index: -1;
    top:60%;
    left:20%;
}
.right-box .text-box{
    color:#fff;margin-top:12%;width: 50%;font-size:18px;
}
.right-box .text-box h2{
    font-size:72px;font-weight: bold;position: relative;padding:20px 0;margin-bottom: 40px;line-height: 1.2
}
.right-box .text-box h2:before{
    width:200px;max-width:50%;height: 7px;background:#fff;position: absolute;bottom:0;left:0;content:'';
}
.right-box .text-box .lead{
    font-size:24px;font-weight: bold;
}
.idavi .login-box form .btn.m-btn--custom{
    background: #f4446b;
    border: 2px solid #f4446b;
}
.idavi .login-box form .btn.m-btn--custom:hover{
    color: #f4446b;
    background:#fff;
}
.idavi .remember-btn{
    color:#f4446b
}
.idavi .remember-btn:hover{
    color:#000;
}
.idavi .languages-box a:hover,.idavi .languages-box a.active{
    color:#f4446b
}
.idavi ul.links-page li a:hover {
    color: #f4446b;
}
.idavi .right-box{
    background-color:#f4446b;
}
.idavi .login-title span{
    color: #f4446b;
}

.cms .login-box form .btn.m-btn--custom{
    background: #AFC846;
    border: 2px solid #AFC846;
}
.cms .login-box form .btn.m-btn--custom:hover{
    color: #AFC846;
    background:#fff;
}
.cms .remember-btn{
    color:#AFC846
}
.cms .remember-btn:hover{
    color:#000;
}
.cms .languages-box a:hover,.cms .languages-box a.active{
    color:#AFC846
}
.cms ul.links-page li a:hover {
    color: #AFC846;
}
.cms .right-box{
    background-color:#AFC846;
}
.cms .login-title span{
    color: #AFC846;
}
.right-bar{
    position: fixed;width: 65px;height: 100%;border-left: 1px solid #f2f2f2;right:0;top:0;
}
.right-bar ul li,.right-bar ul{
    padding:0;margin:0;list-style: none;
}
.right-bar .slide-nav-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
}
.right-bar .slide-nav-right li{
    text-align: center;margin:5px 0;
}
.right-bar .slide-nav-right li a{
    color:#fff;width:100%;padding:15px 5px;display: block;
}
.right-bar .slide-nav-right li a:hover{
    color:#f0f0f0;
}
.right-bar .slide-nav-right li a i{
    font-size:20px;
}

.right-bar .right-banner-social {
    position: absolute;
    bottom: 0%;
    width: 100%;
    padding:10px 0;
    background:#fff;
}
.right-bar .right-banner-social a{
    display: block;padding:15px 5px;text-align: center;font-size:20px;color:#b8b8b8;
}
.right-bar .right-banner-social a:hover
{
    color:#00929e;
}
.idavi .right-bar .right-banner-social a:hover
{
    color:#f4446b;
}
.cms .right-bar .right-banner-social a:hover
{
    color:#AFC846;
}
.mds-logo{
    max-width: 100%;padding:7px;margin-top:5px;
}
@media (max-width:1500px){
    .right-bar{
        width: 55px;
    }
    .right-box .text-box h2{
        font-size:4vw;margin-bottom:20px;
    }
    .login-title{
        font-size:24px;
    }
    .right-box .text-box p{
        font-size:16px;
    }
    .login-box img{
        width:35%;margin-bottom: 20px;max-height: 110px;
    }
    .login-box{
        width:40%;
    }
    .login-box form input{
        padding: 15px 20px;
    }
    .login-box form .btn.m-btn--custom{
        font-size:12px;padding:15px 20px;
    }
    .languages-box{
        margin-bottom: 10px;
    }
    .login-box{
        padding:10px 30px;
    }
    .remember-btn{
        margin-top: 5px;
    }
    .right-box .text-box{
        width:60%;padding-top:4%;
    }
}
@media (max-width:767px){
    .wrapper{
        flex-wrap:wrap
    }
    .login-box{
        width: 100%;height: auto;min-height: 1px;margin:0 auto;
    }
    .right-box{
        min-height: 50vh
    }
    .right-box .text-box h2{
        font-size:30px;
    }
    .right-bar{
        position: relative;width:100%;height: auto;border-top:1px solid #f0f0f0;border-left:none;text-align: center;
        display: flex;justify-content: space-between;
        align-items: center;
    }
    .right-bar .mds-logo{
        width:50px;
    }
    .right-box {
        flex-wrap:wrap;padding:40px;
    }

    .right-bar .right-banner-social{
        width:auto;position: relative;top:auto;transform: none;display: inline-block;background:transparent;padding: 0;
    }
    .right-bar .slide-nav-right{
        width:auto;position: relative;top:auto;transform: none;display: inline-block;
    }
    .right-bar .slide-nav-right li{
        display: inline-block;
    }
    .right-bar .right-banner-social a{
        display: inline-block;color:#fff;
    }
    .right-box .text-box{
        margin:30px auto;
    }
    .right-box{
        padding:30px;    
    }

}
@media (max-width:480px){

    .right-box .text-box{
        width:100%;
    }
    .right-box .right-image-anim{
        max-width: 50vw;
    }
    .owl-slider .one-slide-l{
        flex-wrap:wrap;
    }
}
input:-webkit-autofill {
    border: 1px solid #f6f6f6;
    -webkit-box-shadow: inset 0 0 0px 9999px #f6f6f6;
}

input:focus,
input:-webkit-autofill:focus {
    border-color: #f6f6f6;
    -webkit-box-shadow: inset 0 0 0px 9999px #fff, 0 0 8px
        rgba(102, 175, 233, 0.6);
}
input {
    filter: none;
}

.lines{
    z-index: -1;
    top: 0;
    left: 0;
    position: absolute;
    width:100%;height: 100%;
}

.lines .line::before {
    content: "";
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    margin-left: -15px;
    background:url('https://static.moderndigitalsolutions.io/images/cms/smalltriangles/1.png') no-repeat center center;    
    background-size: contain !important;
    -webkit-animation: teardrop-reverse 9s ease-out infinite;
    -moz-animation: teardrop-reverse 9s ease-out infinite;
    -ms-animation: teardrop-reverse 9s ease-out infinite;
    -o-animation: teardrop-reverse 9s ease-out infinite;
    animation: teardrop-reverse 9s ease-out infinite;
}
.lines .line:nth-of-type(3)::before {
    background:url('https://static.moderndigitalsolutions.io/images/cms/smalltriangles/2.png') no-repeat center center;
    -webkit-animation: teardrop 10s ease-out infinite;
    -moz-animation: teardrop 10s ease-out infinite;
    -ms-animation: teardrop 10s ease-out infinite;
    -o-animation: teardrop 10s ease-out infinite;
    animation: teardrop 10s ease-out infinite;
}
.lines .line:first-child::before {
    -webkit-animation: teardrop 10s ease-out infinite;
    -moz-animation: teardrop 8s ease-out infinite;
    -ms-animation: teardrop 8s ease-out infinite;
    -o-animation: teardrop 8s ease-out infinite;
    animation: teardrop 8s ease-out infinite;
    background:url('https://static.moderndigitalsolutions.io/images/cms/smalltriangles/3.png') no-repeat center center;
}
.lines .line:last-child::before {
    bottom: 0;
    -webkit-animation: teardrop-reverse 7s ease-out infinite;
    -moz-animation: teardrop-reverse 7s ease-out infinite;
    -ms-animation: teardrop-reverse 7s ease-out infinite;
    -o-animation: teardrop-reverse 7s ease-out infinite;
    animation: teardrop-reverse 7s ease-out infinite;
    background:url('https://static.moderndigitalsolutions.io/images/cms/smalltriangles/1.png') no-repeat center center;
}

.lines .line{
    height: 100%;width:1px; position:absolute;
}
.lines .line:nth-of-type(1){
    left: 20%
}
.lines .line:nth-of-type(2){
    left: 40%;
}
.lines .line:nth-of-type(3){
    left: 60%;
}
.lines .line:nth-of-type(4){
    left:80%
}


@-webkit-keyframes teardrop {
    0% {
        top: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
    }
}
@-ms-keyframes teardrop {
    0% {
        top: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
    }
}
@keyframes teardrop {
    0% {
        top: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
    }
}

@-webkit-keyframes teardrop-reverse {
    0% {
        bottom: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        height: 35%;
    }
}
@-ms-keyframes teardrop-reverse {
    0% {
        bottom: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
    }
}
@keyframes teardrop-reverse {
    0% {
        bottom: -10%;
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
    }
}


.right-box{
    padding:0;max-width: 75%;min-width:calc(100% - 500px);
}
.owl-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: block;
}
.right-bar{
    z-index: 2;
}
.owl-slider .one-slide-l {
    background-size: cover;
    min-height: 100vh;
    padding: 50px;
    padding-right: 50px;
    padding-right: 80px;
    height: 100%;
    background-position: center right;
    display: flex;
    align-items: center;
}
.right-box .text-box{
    margin:0;padding-top:8%;
}
.count-nav{
    position: absolute;bottom:20px;left: 20px;font-size: 30px;z-index: 3;
}
.owl-carousel,.owl-stage-outer,.owl-carousel .owl-stage,.owl-carousel .owl-item{
    height: 100%;
}

.count-nav i {
    font-size: 24px;
    width: 50px;
    height: 50px;
    color:#fff;
    border: 1px solid #fff;
    text-align: center;
    display: inline-block;
    margin: 0 5px;
    margin-top: 0px;
    line-height: 44px;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -25px;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}
.count-nav i:hover {
    transform: scale(1.2);
}

#counter-item {
    position: absolute;
    right: 90px;
    bottom: 25px;
    color: #fff;
    z-index: 32;
    font-size: 32px;
}
#counter-item span{font-weight: bold;font-size:36px;}
@media (max-width:767px){
    .right-box{
        width:100%;min-width:100%;position: relative;
    }
    .right-bar{
        position: absolute;top:0;left:0;padding:0 15px;
    }
    .owl-slider .one-slide-l{
        min-height: 50vh;padding:80px 20px;
    }
}
.right-box .text-box{
    position: relative;z-index: 2;
}
.right-image-anim{
    position: absolute;
    right: 0;
    padding-right: 5vw;top:45%;
    -webkit-transform: translate(0%, -50%);
    -moz-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    max-width: 35vw;
    z-index: 1;
    opacity:0;
    max-height: 60vh;
    -webkit-transition: all 600ms cubic-bezier(0.600, -0.280, 0.735, 0.045) 0.8s;
    -moz-transition: all 600ms cubic-bezier(0.600, -0.280, 0.735, 0.045) 0.8s;
    -ms-transition: all 600ms cubic-bezier(0.600, -0.280, 0.735, 0.045) 0.8s;
    -o-transition: all 600ms cubic-bezier(0.600, -0.280, 0.735, 0.045) 0.8s;
    transition: all 600ms cubic-bezier(0.600, -0.280, 0.735, 0.045) 0.8s;
}
.right-image-anim img:first-of-type{
    margin-top: 50%;
    -webkit-animation: img-fly 2.5s infinite alternate;
    animation: img-fly 2.5s infinite alternate;
}
.right-image-anim img:last-of-type{
    margin-top: -50%;
}
.right-image-anim img{
    max-height: 60vh;object-fit: contain;object-position: center;    
}


.active .right-image-anim {
    opacity: 1;
    top: 50%;
}
@-webkit-keyframes img-fly {
    0% { transform: translateY(-55%) scale(0.98) }
    100% { transform: translateY(-50%)  scale(1); }
}
@keyframes img-fly {
    0% { transform: translateY(-55%)  scale(0.98); }
    100% { transform: translateY(-50%)  scale(1); }
}