@import url(https://fonts.googleapis.com/css?family=Open+Sans);

/*Page styles*/
html { height: 100%; }

/*Checkboxes styles*/
input[type="checkbox"] { display: none; }

input[type="checkbox"] + label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  /*font: 14px/20px 'Open Sans', Arial, sans-serif;*/
  font-weight: bold;
	font-size: 120%;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
text-align: left;
}

input[type="checkbox"] + label:last-child { margin-bottom: 0; }

input[type="checkbox"] + label:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #6cc0e5;
  border: 1px solid #005bab;
  position: absolute;
  left: 1em;
  top: 0;
  bottom: 0;
  margin: auto;
  /*opacity: .6;*/
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -8px;
  left: 20px;
  bottom: 0px;
  margin: auto;
  padding-bottom:5px; 
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
input[type="checkbox"]:checked +label{
	background-color: #ebeff6;
	color: #444;
}
.limit_box input[type="checkbox"] + label {
	margin-top: 2em;
	margin-bottom: 5px;
	color: #444;
}
.limit_box input[type="checkbox"]:checked +label {
	background-color: transparent;
	padding-left: 2.5em;
}
.loan_box input[type="checkbox"]:checked +label {
	background-color: transparent;
}
.loan_box input[type="checkbox"] + label{
	padding-left:  45px;
}
#selectbox_container {
    width: 100%;
    text-align: center;
}
#privacy #selectbox_container {
	padding-bottom: 2em;
}
#selectbox_container input[type=checkbox] {
    display: none;
}
#selectbox_container input[type="checkbox"] {
    background-color: #ebeff6;
    cursor: default;
    -webkit-appearance: checkbox;
    box-sizing: border-box;
    margin: 0px 3px 3px 4px;
    padding: initial;
    border: initial;
}
#selectbox_container input {
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark-color(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    -webkit-appearance: textfield;
    /*background-color: -internal-light-dark-color(white, black);*/
    -webkit-rtl-ordering: logical;
    cursor: text;
    margin: 0em;
    font: 400 13.3333px Arial;
    padding: 1px 0px;
    border-width: 2px;
    border-style: inset;
    border-color: initial;
    border-image: initial;
}
#selectbox_container label {
	text-align: center;
	display: block;
	width: 100%;
	margin: 0 auto;
	margin-top: 5em;
	margin-bottom: 1rem;
	padding: 0.5em 0;
	padding-left: 1em;
	border:1px solid #3A82C1;
    cursor: pointer;
    transition: opacity .2s;
}
#privacy #selectbox_container label {
	width: 50%;
	padding: 1em 0;
	padding-left: 35px;
	margin-top: 3em;
	margin-bottom: 3em;
}
#selectbox_container.att_notice label {
	margin: 2em auto 4em auto;
	border: 1px solid #DC143C;
}
#selectbox_container.att_notice input[type="checkbox"] + label:before{
	border: 1px solid #DC143C;
}
#selectbox_container.att_notice input[type="checkbox"]:checked + label:before{
	border-top-color: transparent;
	border-left-color: transparent;
}
#selectbox_container.att_notice input[type="checkbox"]:checked +label{
	background-color: #FFF0F5;
}
#selectbox_container.boxes {
	width: 100%;
    max-width: 600px;
	margin: 0 auto;
	padding: 0;
}
#selectbox_container.boxes label{
	text-align: left;
	padding-left: 2.5em;
	padding-left: 3em;
	margin-top:  0.5em;
}
#selectbox_container.check_addbox label{
	width: 80%;
	margin: 0;
	margin-bottom: 1em;
	border: none;
	margin-top: 0;
	text-align: left;
	padding-left: 3em;
	color: crimson;
}
input[type="checkbox"] + label.check_add{
	font-size: 80%;
	background-color: #f1d1d7;
}
input[type="checkbox"] + label.check_add span{
	font-weight: bold;
}
input[type="checkbox"] + label.check_add:before{
	border: 1px solid crimson;
}
input[type="checkbox"]:checked + label.check_add:before {
	border-top-color: transparent;
  border-left-color: transparent;
}
input[type="checkbox"]:checked +label.check_add{
	background-color: #f1d1d7;
}
#selectbox_container label span.sp_indent{
	font-weight: bold;
}
@media screen and (min-width: 767px){
	#privacy #selectbox_container label{
		padding-left: 0;
	}
}
@media screen and (max-width: 414px){
	#selectbox_container label.check_add{
		width: 90%;
	}
	#selectbox_container label.check_add span{
		display: inline-block;
		padding-left: 1em;
		padding-right: 1em;
	}
#selectbox_container label{
	width: 100% !important;
	line-height: 1.2em;
	text-align:  left;
	padding-left: 3.5em !important;
	}
#selectbox_container label span.sp_indent{
		display: block;
	}
}
@media screen and (max-width:320px) and (orientation:portrait){
	#selectbox_container label{
		width: 80%;
		margin-top: 2em;
	}
	#privacy #selectbox_container label{
		width: 80%;
	}

}