* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    position : relative;
    width: 100%;
    height: 100%;
    font-family: 'lucida grande',tahoma,verdana,arial,sans-serif;
    font-size: 12px;
}

.loc_page_wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.loc_main {
    display: table-cell;
    vertical-align: middle;
    padding-top: 50px;
    /* padding-bottom: 15px; */
}

.loc_form {
    display: block;
    margin: 0 auto;
    max-width: 680px;
}

.form_logo {
    text-align: center;
    margin-bottom: 0!important;
    position: relative;
    max-width: 100%;
}

.form_logo > img {
    max-width: 100%;
}

.form_close {
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 999;
}

/* form title */

.form_title {
    font-size: 24px;
    line-height: 115%;
    margin-top: 10px!important;
    margin-bottom: 10px!important;
    text-align: center;
    color: #76777a;
}

.form_title.form_success {
    color: #008500;
}

.form_title.form_error {
    color: #ff0000;
}

/* form description */

.form_description {
    margin-top: 10px;
    margin-bottom: 10px;
}
.form_description > p:first-child {
    padding: 10px;
    background-color: #fafbfc;
    font-size: 14px;
}

.form_description.form_success {
    padding: 10px;
    color: #00611B;
    background-color: #fafbfc;
    font-size: 14px;
}

.form_description.form_error {
    padding: 10px;
    color: #A80000;
    background-color: #fafbfc;
    font-size: 14px;
    font-weight: bold;
}

.form_help {
    text-align: center;
}

.loc_form_group {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 10px;
    float: left;
    width: 100%;
}

.loc_form_group .loc_form_label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.loc_form_group .loc_form_control {
    width: 100%;
    display: block;
    float: left;
    padding: 2px 4px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    resize: none;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.42857143;    
}

textarea.loc_form_control {
    height: auto;
}

.loc_form_group .loc_form_control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.loc_form_group_action .loc_button {
    float:right;
}

/*  buttons */

.loc_button {
    margin: 0;
    font: inherit;
    overflow: visible;
    text-transform: none;
    -webkit-appearance: button;
    font-family: inherit;
    border: 1px solid transparent;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-decoration: none;
    background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}

.loc_button:active {
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    background-image: none;
    outline-offset: -2px;
}

.loc_button:hover, .loc_button:active, .loc_button:focus {
    background-position: 0 -15px;
    outline: 0;
    text-decoration: none;
}

/* button blue */

.loc_button_blue {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #428bca), color-stop(100%, #3071a9));
    background-image: -webkit-linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
    background-image: -moz-linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
    background-image: -o-linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
    background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FF428BCA', endColorstr='#FF3071A9');
}

.loc_button_blue:active {
    background-color: #3071a9;
    border-color: #204d74;
}

.loc_button_blue:hover {
    background-color: #3071a9;
    border-color: #204d74;
}

.loc_button_blue:focus {
    background-color: #3071a9;
    border-color: #122b40;
}

/* button gray */

.loc_button_gray {
    color: #333;
    background-color: #e6e6e6;
    border-color: #cccccc;
    text-shadow: 0 1px 0 white;
    background-image: -webkit-gradient(linear, to bottom, to top, color-stop(0%, #ffffff), color-stop(100%, #e6e6e6));
    background-image: -webkit-linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    background-image: -moz-linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    background-image: -o-linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFFFFFFF', endColorstr='#FFE6E6E6');
}

.loc_button_gray:active {
    background-color: #e6e6e6;
    border-color: #adadad;
}

.loc_button_gray:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

.loc_button_gray:focus {
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

/* Custom */
@media only screen and (min-width : 289px) {
    .loc_form_group {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Extra Small Devices, Phones and + */
@media only screen and (min-width : 480px) {
    .loc_form_group .loc_form_label {
        padding-right:5px;
        float:left;
        width: 33.333333%; /* 4 columns */
    }
    .loc_form_group .loc_form_control {
        float:left;
        width: 66.666667%; /* 8 columns */
    }
}
