﻿/* -- import Bootstrap v3 --------------------------- */
/* -- import Bootstrap docs ------------------------- */
/* -- import Roboto Font ---------------------------- */
@import "https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic&subset=latin,cyrillic";
/* -- Body style ------------------------------------ */

/* -- Input styles ---------------------------------- */
.materialize .form-group {
    position: relative;
    margin-top: 25px;
    margin-bottom: 20px;
}

.materialize .input-group {
    position: relative;
}

.materialize .form-control {
    display: block;
    height: 36px;
    width: 100%;
    border: none;
    border-radius: 0 !important;
    font-size: 0.8em;
    font-weight: 300;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid #d2d2d2;
}

.materialize .input-group .form-control {
    position: relative;
    z-index: inherit;
    float: inherit;
    width: 100%;
    margin-bottom: 0;
}

.materialize .form-control:focus {
    border-color: #757575;
    outline: none;
    box-shadow: none;
}

/* -- label styles ---------------------------------- */
.materialize label {
    position: absolute;
    top: -18px;
    color: #c0c7de78;
    font-size: 0.7em;
    font-weight: 300;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.materialize .form-horizontal .control-label {
    position: relative;
    top: 0;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .materialize .form-horizontal .control-label {
        font-size: 0.8em;
    }
}





.materialize .float-label {
    left: 0;
    top: 7px;
    font-size: 0.8em;
    pointer-events: none;
}

/* active state */
.materialize .form-control:focus ~ .float-label, .materialize .form-control:valid ~ .float-label {
    top: -18px;
    font-size: 0.7em;
}
.materialize .form-control:disabled ~ .float-label, .materialize .form-control:valid ~ .float-label {
    top: -18px;
    font-size: 0.7em;
}


/* input colors ---- */
/* input colors ---- */
.materialize .form-control:focus ~ label {
    color: #00BCD4;
}

.materialize .form-control:focus ~ .form-bar:before,
.materialize .form-control:focus ~ .form-bar:after {
    background: #00BCD4;
}





.materialize .form-control:valid ~ .control-label {
}

/* help-block */
.materialize .form-group .help-block {
    position: absolute;
}

.materialize .help-block {
    color: #bdbdbd;
    font-weight: 300;
}

/* input addon ---*/
.materialize .input-group-addon {
    border: none;
    background: transparent;
}

/* ------  inline ----*/
.materialize .input-group-addon, .form-inline .input-group {
    display: table-cell;
}

.materialize .input-group-addon, .materialize .input-group-btn {
    width: inherit;
}

.materialize .input-group {
    width: 100%;
}

@media (min-width: 768px) {
    .materialize .form-inline .form-group {
        margin-top: 16px;
    }

    .materialize .input-group-btn, .materialize .input-group .form-control, .materialize .input-group-addon, .materialize .form-inline .input-group {
        display: inline-block;
    }

    .materialize .input-group {
        width: auto;
    }
}

/* -- bar styles -------------------------------------- */
.materialize .form-bar {
    position: relative;
    display: block;
    width: 100%;
}

    .materialize .form-bar:before, .materialize .form-bar:after {
        content: '';
        height: 2px;
        width: 0;
        bottom: 0;
        position: absolute;
        transition: 0.3s ease all;
        -moz-transition: 0.3s ease all;
        -webkit-transition: 0.3s ease all;
    }

    .materialize .form-bar:before {
        left: 50%;
    }

    .materialize .form-bar:after {
        right: 50%;
    }

/* active state */
.materialize .form-control:focus ~ .form-bar:before, .materialize .form-control:focus ~ .form-bar:after {
    width: 50%;
}

/* -- highlighter styles ------------------------------ */
.materialize .form-highlight {
    position: absolute;
    height: 60%;
    width: 60px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* active state */
.materialize .form-control:focus ~ .form-highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* -- highlighter animation --------------------------- */
@-webkit-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: #5264AE;
    }

    to {
        width: 0;
        background: transparent;
    }
}


/*-- Checkbox --------------------------- 
// fork from https://codepen.io/jasonmayes/pen/wxtFr*/
/* 
 * Core styles required for the checkboxes.
 * @author Jason Mayes 2014, www.jasonmayes.com
*/
.materialize .form-group.checkbox {
    margin-top: 20px;
}

.materialize .checkbox input[type='checkbox'] {
    height: 0;
    width: 0;
    opacity: 0;
    visibility:hidden;
}

.materialize .checkbox label {
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    display: inline-block;
    overflow: hidden;
    position: relative;
    top: 10px;
    padding-left: 0;
    cursor: pointer;
}

.materialize .checkbox .chk-span {
    top: 0;
    border: 1px solid #c0c7de;
    color: #1d1d1d;
    cursor: pointer;
    display: inline-block;
    float: left;
    height: 14px;
    margin: 0 14px 14px 1px;
    outline-color: #eaeaea;
    padding: 0;
    position: relative;
    width: 14px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}

    .materialize .checkbox .chk-span.checked {
        top: -2px;
        border-left: 2px solid #15d4be;
        border-bottom: 4px solid #15d4be;
        border-top: 1px solid rgba(0,0,0,0);
        border-right: 1px solid rgba(0,0,0,0);
        -webkit-transform: rotate(-45deg) scaleY(0.5);
        -moz-transform: rotate(-45deg) scaleY(0.5);
        -ms-transform: rotate(-45deg) scaleY(0.5);
        -o-transform: rotate(-45deg) scaleY(0.5);
        transform: rotate(-45deg) scaleY(0.5);
    }

    /*Checkbox colors*/
    .materialize .checkbox .chk-span.checked {
        border-left-color: #00BCD4;
        border-bottom-color: #00BCD4;
    }

/*focus state*/
.materialize .checkbox input[type='checkbox']:focus ~ label {
    color: #00BCD4;
}

    .materialize .checkbox input[type='checkbox']:focus ~ label .chk-span {
        border-color: #00BCD4;
    }

        .materialize .checkbox input[type='checkbox']:focus ~ label .chk-span.checked {
            border-left-color: #00BCD4;
            border-bottom-color: #00BCD4;
            border-top: 1px solid rgba(0, 0, 0, 0);
            border-right: 1px solid rgba(0, 0, 0, 0);
        }




@media (min-width: 768px) {
    .materialize .form-inline .radio label, .form-inline .checkbox label {
        padding-left: 5px;
    }
}





.materialize .form-control-static {
    font-size: 16px;
}

.materialize .form-control[disabled], .materialize .form-control[readonly], fieldset[disabled] .materialize .form-control {
    background-color: transparent;
    border-bottom-style: dashed;
}


#focusedInput {
    border-color: #ccc;
    border-color: rgba(82,168,236,.8);
    outline: 0;
    box-shadow: none;
}
