/* KOTITALO LOGIN */


/* Text and content styles */


* {
    font-family: 'Lora', serif;
}

body {
    background:#fff;
	font-family: 'Lora', serif;
	font-size:16px;
    font-weight:400;
	color:#222;
    margin:0;
    padding:0;
}

.content p {
    margin:20px 0;
    font-size:16px;
    line-height:22px;
}

    .content .sidebar p, .info-box p {
        margin:10px 0;
    }

    .lead, .content .lead {
        font-size:18px;
        line-height:28px;
        font-weight:400;
        color:#222;
        margin:0;
    }

    .content b, .content strong {
        font-weight:700;
    }

a, a:visited {
    display: inline-block;
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-style: normal;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    color: #25418b;
}

    a:hover {
        text-decoration:none;
        color:#11335A;
    }

h2, h3, h4, h5, h6 {
    font-family: 'Assistant', sans-serif;
    font-weight:700;
    color:#222;
}

h1 {
    font-size:35px;
    margin:30px 0 15px 0;
    font-family: 'Assistant', serif;
    font-weight:800;
    line-height:40px;
    color:#222;
}

h2 {
	font-size:25px;
    margin:0 0 15px 0;
}

h3 {
    text-transform: uppercase;
    margin: 0;
    display: block;
    color: #fff;
    padding: 4px 8px;
    background-color: #222;
    letter-spacing: 2px;
    font-size: 14px;
    font-family: 'Lora', serif;

}

h6 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin:0;
    padding:0 0 15px 0;
    font-size: 14px;
    font-family: 'Lora', serif;
}

hr {
    border:0;
    border-bottom:2px dotted #ccc;
    margin:35px 0;
}

    hr.stroke {
        border:0;
        border-bottom:4px solid #222;
        margin:15px 0;
    }

.center {
    margin:0 auto;
}

.textcenter {
    text-align: center;
}

.marginbottom {
    margin-bottom: 15px;
}

.margintop {
    margin-top: 15px;
}

.login-step {
    color: #fff;
    width:25px;
    margin: 0 5px 0 0;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    line-height:normal;
    font-weight: 700;
    border: 2px solid #222;
    border-radius: 50%;
    text-align: center;
    padding: 1px 7px 5px 7px;
    background-color: #222;
    font-family: 'Assistant', sans-serif;
}



/* Forms and input styles */



/** float container */

.float-container {
    position: relative;
    box-sizing: border-box;
}

.float-container input {
    outline: 0;
    padding: 18px 3px 14px 3px;
    width: 100%;
}

.float-container label {
    font-size: 16px;
    padding:3px;
    position: absolute;
      -webkit-transform-origin: top left;
              transform-origin: top left;
      -webkit-transform: translate(0, 16px) scale(1);
              transform: translate(0, 16px) scale(1);
      transition: all .1s ease-in-out;
}

.float-container.active label {
  -webkit-transform: translate(0, 0) scale(0.75);
          transform: translate(0, 0) scale(0.75);
}


.form {
    display: block;
    padding:0;
    overflow: hidden;
}

input, textarea, select {
	font-family: 'Lora', serif;
	color:#333;
    background-color:transparent;
    margin:0;
    font-size:16px;
    padding:8px;
}

    textarea {
        border:2px solid #999;
    }

    input[type="text"], input[type="email"], input[type="password"], input[type="password"], input[type="number"], textarea {
        outline:none;
        border:0;
        text-align: left;
        border-bottom:2px solid #999;
        -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
        -webkit-transition: background-color .15s ease-in-out,box-shadow .15s ease-in-out;
        transition: background-color .15s ease-in-out,box-shadow .15s ease-in-out;
    }

    input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus,  input[type="password"]:focus, textarea:focus {
        border-color:#222;
        background-color:#f8f8f8;
    }

.text-70 {
    width: 100%;
}


/* Buttons and button links */


.btn {
    text-align:center;
    color:#fff;
    text-decoration:none;
    border:0;
    cursor:pointer;
    margin:10px 0;
    line-height: normal;
    display: inline-block;
    font-family: 'Assistant', sans-serif;
    font-weight:700;
}

    .btn:hover, .content .btn:hover {
        text-decoration:none;
        color:#fff;
    }

.btn-primary {
    background-color:#ed5054;
    padding:11px 18px 13px 18px;
    font-size:18px;
}

.btn-default, .content .btn-default {
    color: #25418b;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 20 20'%3E%3Cg %3E%3Cpolygon fill='%23dfdbea' points='20%2C10 10%2C0 0%2C0 20%2C20'/%3E%3Cpolygon fill='%23dfdbea' points='0%2C10 0%2C20 10%2C20'/%3E%3C/g%3E%3C/svg%3E");
}


    .btn-default:hover span {
        background-color:#25418b;
        color:#fff;
    }

.btn-large {
    font-size:18px;
    padding:15px 20px;
}

.btn-medium {
    font-size:16px;
    padding:8px;
}

    .btn-medium span {
        background-color:#fff;
        padding:10px 15px;
        display: inline-block;
    }

#kc-form-buttons {
    text-align:center;
}



/* Notifications and alerts */

.alert {
    padding: 30px 15px 30px 15px;
    margin-bottom: 40px;
    text-align: center;
    font-size:18px;
    line-height:28px;
    font-weight:700;

}

.alert-success {
    background: #eeecf3;
}

.alert-error {
    background: #f9f0f0;
}

    .success-icon, .error-icon {
        width:30px;
        height:30px;
        margin:0 auto 10px auto;
        display: block;
        padding:5px;
    }

    .alert-success .success-icon {
        background:url(../img/order-active.svg) no-repeat;
        background-size: 95%;

    }

    .alert-error .error-icon {
        background:url(../img/error.svg) no-repeat;
        background-size: 95%;
    }




/* LOGIN TEMPLATE */


/* Logoarea */

.topbar {
    padding:0;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7' viewBox='0 0 20 20'%3E%3Cg fill-opacity='1.0'%3E%3Cpolygon fill='%23fef5c9' points='20 10 10 0 0 0 20 20'/%3E%3Cpolygon fill='%23fef5c9' points='0 10 0 20 10 20'/%3E%3C/g%3E%3C/svg%3E");
}

    #kc-logo {
        max-width: 970px;
        margin: 0 auto;
        text-align: center;
    }

        #kc-logo-wrapper {
            background-image: url(../img/kotitalolehti-logo.png);
            background-position: center;
            background-repeat: no-repeat;
            background-size: 100%;
            width:200px;
            padding:40px 0;
            margin:0 auto;
        }


/* Containers and wrappers */


#kc-header {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

    .header-wrapper {
        padding:20px 30px 0 30px;
    }

        .header-wrapper p, .header-wrapper h1 {
            max-width:600px;
            margin-left:auto;
            margin-right:auto;
        }

.content {
    max-width: 600px;
    margin: 0 auto;
    /*
    border-left: 1px solid #ccc;
    border-right:1px solid #ccc;
    */
}

    .content-wrapper {
        padding:0 30px 20px 30px;
    }

        .column-60 {
            padding-bottom:20px;
        }

.info-box {
    text-align: center;
    max-width:75%;
    margin:0 auto 30px auto;
}

.sidebar {
    margin-top:10px;
}

    .important-box {
        background-color: #f1f1f1;
        padding:15px 30px 15px 30px;
        margin:0 0 20px 0;
    }

.clr {
    clear: both;
}



@media (max-width: 480px) {

    .header-wrapper {
        padding:20px 20px 0 20px;
    }

    .content-wrapper {
        padding:0 20px 20px 20px;
    }


    h1 {
        font-size:25px;
        line-height:30px;
        margin:10px 0 15px 0;
        font-family: 'Assistant', serif;
    }

    h2 {
        font-size:20px;
        margin:0;
    }

    hr {
        margin:20px 0;
    }

    .important-box {
        padding: 10px 20px 10px 20px;
    }

}


@media (min-width: 768px) {

    .column-60 {
        width: 60%;
    }

    .column-40 {
        width: 40%;
    }

    .float-left {
        float: left;
    }

    .form {
        margin: 0;
    }

    .sidebar .column-margin {
        padding-left: 30px;
    }

    .sidebar .important-box {
    }
}