
/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

html {
	font-size:100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	margin:0;
	padding:0;
}

.modami-field input[type="text"],
.modami-field input[type="tel"],
.modami-field input[type="email"],
.modami-field input[type="password"],
.modami-field textarea,
button.modami-btn {
    letter-spacing: 1px;
    -webkit-appearance: none;
}

button, input[type="submit"] {
    cursor: pointer;
}

a {
    transition: all 200ms;
}
a:hover {
    transition: all 200ms;
}


body {
	font:300 15px/1.8 'sans-serf', Helvetica, Arial, sans-serif;
	color:#444;
	margin:0;
	padding:0;
	background:#eee;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
.clearboth {
	clear:both;
}
strong {
    font-weight: 600;
}
blockquote {
    background: #eee;
    padding: 5px 20px;
    border-right: 7px solid #3d52a6;
	margin:12px 0;
}
h1,h2,h3,h4,h5,h6 {
	line-height: 1.7;
	color:#111;
	margin:10px 0;
}
h1 {
	font-size:32px;
}
h2 {
	font-size:28px;
}
h3 {
	font-size:24px;
}
h4 {
	font-size:22px;
}
h5 {
	font-size:20px;
}
h6 {
	font-size:18px;
}

label {
    display:block;
}

input, textarea, select {
    background:transparent;
    border:0;
    border-bottom: 1px solid;
    border-color: #ccc;
    border-radius: 0;
    padding:10px 0 3px 0;
    width:100%;
    transition: all 300ms;

}
input[type="checkbox"] {
    width:auto;
    display: inline-block;
}

button, input[type="button"], input[type="submit"] {
    position: relative;
    display: block;
    margin: 30px auto;
    padding: 0;
    overflow: hidden;
    border-width: 0;
    outline: none;
    border-radius: 2px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    background-color: #2ecc71;
    color: #ecf0f1;
    transition: background-color .3s;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #27ae60;
}

.modami-btn:hover, .modami-btn:focus {
    background-color: #27ae60;
}
.modami-btn.btn-light {
    background-color: #d4d4d4;
    color:#000;
}
.modami-btn.btn-light:hover, .modami-btn.btn-light:focus {
    background-color: #b6b6b6;
}

.modami-btn.btn-red {
    background-color: #df4141;
    color:#fff;
}
.modami-btn.btn-red:hover, .modami-btn.btn-red:focus {
    background-color: #b82222;
}

.modami-btn.btn-blue {
    background-color: #418bdf;
    color:#fff;
}
.modami-btn.btn-blue:hover, .modami-btn.btn-blue:focus {
    background-color: #2252b8;
}
.modami-btn > * {
    position: relative;
}
  
.modami-btn span {
    display: block;
    padding: 12px 24px;
}
  
.modami-btn:before {
    content: "";
    
    position: absolute;
    top: 50%;
    left: 50%;
    
    display: block;
    width: 0;
    padding-top: 0;
      
    border-radius: 100%;
    
    background-color: rgba(236, 240, 241, .3);
    
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
  
.modami-btn:active:before {
    width: 120%;
    padding-top: 120%;
    
    transition: width .2s ease-out, padding-top .2s ease-out;
}

.full-btn {
    width:100%;
}

input:focus, textarea:focus {
    outline: 0;
    border-color:#3d52a6;
}

.modami-login-reg {
    max-width:411px;
    margin:0 auto;
    width:100%;
    margin-top:13%;
}

.modami-card {
    background:#fff;
    padding:20px;
    border-radius: 2px;
    box-shadow: 0 0 10px #0000000a;
}

.modami-form-container {
    background:#fff;
    height:100vh;
}  
.modami-auth {
    padding: 30% 44px;
}

.modami-field input[name="userID"] {
    text-align: left;
    font-size:20px;
}

.modami-auth-section {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 420px;
}

.modami-front-bg {
    background-image:url('../img/export-import-bg.jpg');
    background-size: cover !important;
    height: 100vh;
    position: relative;
    z-index: 98;
}
.modami-front-bg::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    background: rgba(0, 0, 0, 0.639);
    z-index: 99;
}

.modami-frontcontent {
    padding:20% 20px 0 440px;
    text-align: center;
    color:#fff;
    z-index: 100;
    position: relative;
    width: 100%;
}
.modami-frontcontent h1,.modami-frontcontent h2, .modami-frontcontent h3 {
    color: #fff;
}

.modami-text-center {
    text-align: center;
}
.modami-field {
    clear: both;
    position: relative;
    margin: 30px 0;
}
.modami-field label {
    top: -14px;
    visibility: visible;
    font-size: 14px;
    position: absolute;
    left: 5px;
    background: #fff;
    height: 20px;
    padding: 0 10px;
    color:#000;
}
.modami-label {
    margin-bottom: 25px;
}

.modami-field input, .modami-field select, .modami-field textarea {
    border: 1px solid #d0d0d0;
    padding: 15px;
}
input, textarea, select {
    background: transparent;
    border: 0;
    border-bottom: 1px solid;
    border-color: #ccc;
    border-radius: 0;
    padding: 10px 0 3px 0;
    width: 100%;
    transition: all 300ms;
}
.modami-field input::placeholder,
.modami-field input::-moz-placeholder,
.modami-field input::-webkit-input-placeholder {
    font-size:14px;
    color:#ccc;
}
.inp-errors input, 
.inp-errors select {
    border-color:rgb(228, 65, 65);
}

input:focus, textarea:focus, select:focus {
    border-color: #2252b8;
}

.modami-alert.alert-error {
    background: #fff3f3;
    padding: 10px;
}
.modami-alert.alert-success {
    background: #f3fff7;
    padding: 10px;
}
.modami-alert.alert-warning {
    background: #fffcd3;
    padding: 10px;
}
.modami-alert ul {
    padding:0;
    margin:0;
}

.modami-alert ul li {
    list-style: none;
    padding:0;
    margin:0;
}
.modami-alert.alert-error li {
    color:rgb(116, 0, 0);
}
.modami-alert.alert-success li {
    color:rgb(0, 116, 62);
}

.modami-app-about {
    display: none;
    text-align: center;
    cursor: pointer;
}

@media screen and (max-width:768px) {
    .modami-auth-section {
        width:100%;
        position: relative;   
    }
    .modami-auth {
        padding: 30% 44px;
        max-width: 380px;
        margin: 0 auto;
    }
    .modami-frontcontent {
        padding:10% 20px;
    }
    .modami-front-bg {
        display: none;
    }
    .modami-app-about {
        display: block;
    }
    .modami-front-bg.active {
        display: block;
    }
}