/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Dec 12, 2016, 9:48:59 AM
    Author     : nontachai
*/
.error_form {
    color: red;
    margin-top: 10px;
}
.error {
    color: red;
}
.success {
    color: green;
}

.custom-checkbox {
  display: inline-block;
  font-family: sans-serif;
  font-size: 16px;
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.custom-checkbox .styled-box {
  width: 18px;
  height: 18px;
  background-color: #fefefe;
  border: 1px solid #aaa;                  /* Light gray outer border */
  border-radius: 2px;
  box-shadow: inset -2px -2px 0 #e0e0e0;   /* Softer light gray inner border */
  margin-right: 10px;
  position: relative;
  top: 0.30em; /* fine-tune manually */
  transition: all 0.2s ease;
}

/* Checkmark when checked */
.custom-checkbox input[type="checkbox"]:checked + .styled-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid green;                    /* Medium-light gray checkmark */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
