section {
border-bottom: 1px solid #f0f0f0;
padding-bottom: 100px;
}
.section-1 {
border-top: 0px solid;
}

.message-form-col .form-group, .with-errors {
margin-bottom: 0;
}
.has-error ul li {
color: #FF7777;
font-size: 14px;
}
.with-errors {
height: 30px;
}

.form-control {
height: auto;
font-size: 16px;
width: 100%;
padding: 10px;
border: 1px solid #c8c8c8;
border-radius: 0px;
}

.has-error .form-control, .has-error .form-control:focus, .form-control:focus {
border-color: #c8c8c8;
-webkit-box-shadow: none;
box-shadow: none;
}

.alert-success {
color: #5d9bec;
background-color: #FFFFFF;
border-color: #5d9bec;
}
.alert-dismissable .close, .alert-dismissible .close {
top: -17px;
right: -30px;
color: #5d9bec;
opacity: 1;
}
.alert-dismissable .close:hover {
color: #5d9bec;
}

.message-form-col {
padding: 0;
}
.message-form .name {
margin-right: 10px;
}
.message-form .email {
margin-left: 10px;
}
@media screen and (max-width: 767px){
.message-form .name, .message-form .email {
margin: 0;
}
}
#form_message {
resize: vertical;
}
#form_submit {
float: right;
opacity: 1;
margin: 0 0 0 auto;
width: 150px;
height: 40px;
border-radius: 4px;
background-color: transparent;
font-size: 16px;
border: 1px solid #5d9bec;
color: #5d9bec;
-webkit-transition: color 0.25s, background 0.25s;
-moz-transition: color 0.25s, background 0.25s;
-o-transition: color 0.25s, background 0.25s;
transition: color 0.25s, background 0.25s;
}
@media screen and (max-width: 479px){
#form_submit {
margin: 0 auto;
width: 100%;
}
}
#form_submit:hover {
background-color: #5d9bec;
color: #fff;
}


/*----- contact -----*/
.contact .contact-col {
padding: 10px 0;
}
.contact .contact-col label {
font-size: 18px;
line-height: 30px;
color: #707070;
padding: 4px 0;
}



/*----- achievement uneven grid layout -----*/
.achievement {
-moz-column-width: 25em;
-webkit-column-width: 25em;
-moz-column-gap: 1em;
-webkit-column-gap: 1em; 
padding-bottom: 80px;
}
.achievement .panel {
display: inline-block;
margin-bottom: 10px;
padding: 0; 
width:100%;
border-radius: 0px;
}
.achievement img {
width: 100%;
}
.achievement .panel-default a {
text-decoration: none;
}
.achievement .panel-default a p {
text-align: center;
color: #707070;
background-color: #f5f5f5;
border: 0px solid;
margin: 0;
line-height: normal;
}




/*----- bubble -----*/
.lefty, .righty {
border-spacing: 0px;
line-height: 24px;
padding: 20px 0;
max-width: 640px;
width: 100%;
}
.lefty td, .righty td {
vertical-align: top;
}
.lefty td:nth-child(1), .lefty td:nth-child(3) {
padding-right:15px;
}
.righty td:nth-child(3), .righty td:nth-child(1) {
padding-left:15px;
}


.from-me, .from-them {
position: relative;
border-radius: 25px;
}
.from-me {
background: #5d9bec;
color: white;
float: right;
}
.from-them {
background: #F2F2F2;
color: black;
float: left;
}
.from-me p, .from-them p {
margin: 0px;
padding: 12px 25px;
}
.from-them p {
color: #2E2E2E;
}
.from-me p {
color: #ffffff;
}
.from-me:before {
content: "";
position: absolute;
height: 23px;
top:2px;
right: -7px;
border-right: 20px solid #5d9bec;
border-top-left-radius: 16px 14px;
-webkit-transform: translate(0, -2px);
}
.from-me:after {
content: "";
position: absolute;
top: 2px;
right: -40px;
width: 10px;
height: 23px;
background: #FFFFFF;
border-top-left-radius: 10px;
-webkit-transform: translate(-30px, -2px);
}
.from-them:before {
content: "";
position: absolute;
top:0;
left: -7px;
height: 23px;
border-left: 20px solid #F2F2F2;
border-top-right-radius: 16px 14px;
-webkit-transform: translate(0, 0);
}
.from-them:after {
content: "";
position: absolute;
top: 2px;
left: 20px;
width: 10px;
height: 23px;
background: #FFFFFF;
border-top-right-radius: 10px;
-webkit-transform: translate(-30px, -2px);
}

/*----- firefox -----*/
@-moz-document url-prefix() {
.from-me:before {
top: 0px;
width: 20px;
background: #5d9bec;
border-right: 0px solid #5d9bec;
}
.from-me:after {
top: 0px;
/* right: -10px; */
}
.from-them:before {
top: 0px;
right: -7px;
width: 20px;
background: #F2F2F2;
border-left: 0px solid #F2F2F2;
}
.from-them:after {
/* top: 0px;
left: -10px; */
}
}

/*----- ie -----*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
img {
border: 0px solid;
}
.from-them:before {
top: 0px !important;;
left: -10px !important;
border-right: 20px solid #F2F2F2;
border-left: 0px solid #000 !important;;
}
.from-them:after {
top: 0px !important;;
left: 7px !important;
width: 10px;
background: #ffffff !important;;
}
.from-me:before {
top: 0px !important;;
right: -10px !important;;
border-left: 20px solid #5d9bec;
border-right: 0px solid #000 !important;;
}
.from-me:after {
top: 0px !important;;
right: -10px !important;;
width: 10px;
background: #ffffff !important;;
}
.faq .from-them:before {
border-right: 20px solid #5d9bec;
}
.faq .from-me:before {
border-left: 20px solid #F2F2F2;
}
}



/*----- initialize faq tabs -----*/
.faq .nav > ul > li {
  position: relative;
  display: block;
  cursor: pointer;
}
.faq .nav > ul > li > a {
  position: relative;
  display: block;
  padding: 10px 15px;
}
.faq .nav > ul > li > a:hover,
.faq .nav > li > a:focus {
  text-decoration: none;
  background-color: #eee;
  opacity: 1;
}
.faq .nav > ul > li.disabled > a {
  color: #777;
}
.faq .nav > ul > li.disabled > a:hover,
.faq .nav > ul > li.disabled > a:focus {
  color: #777;
  text-decoration: none;
  cursor: not-allowed;
  background-color: transparent;
}
.faq .nav > ul > li > a > img {
  max-width: none;
}
.faq .nav-tabs {
  border-bottom: 1px solid #ddd;
}
.faq .nav-tabs > ul > li {
  float: left;
  margin-bottom: -1px;
}
.faq .nav-tabs > ul > li > a {
  margin-right: 0px;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
}
.faq .nav-tabs > ul > li > a:hover {
  border-color: #eee #eee #ddd;
}
.faq .nav-tabs > ul > li.active > a,
.faq .nav-tabs > ul > li.active > a:hover,
.faq .nav-tabs > ul > li.active > a:focus {
  color: #555;
  cursor: default;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
}
.faq .nav-tabs a {
text-decoration: none;
}
.faq .nav-tabs li {
width: 120px;
text-align: center;
}
@media (max-width: 479px) {
.faq .nav-tabs li {
width: 33.33333333%;
}
}

.faq-bubble .panel {
margin-bottom: 0px;
background-color: transparent;
border: 0px solid #F2F2F2;
border-radius: 0px;
-webkit-box-shadow: none;
box-shadow: none;
}
/*     faq bubble  */
.faq-bubble  {
margin-top: 60px;
}
.faq-bubble table a {
color:#ffffff;
text-decoration: underline;
}
.faq-bubble .from-me, .faq-bubble .from-them {
max-width: 640px;
}
.faq-bubble .from-them p {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none;   /* Chrome/Safari/Opera */
-khtml-user-select: none;    /* Konqueror */
-moz-user-select: none;      /* Firefox */
-ms-user-select: none;       /* Internet Explorer/Edge */
user-select: none;           /* Non-prefixed version, currently not supported by any browser */
}
.faq-bubble .lefty {
cursor:pointer;
-webkit-transition: all 0.4s;
-moz-transition: all 0.4s;
-o-transition: all 0.4s;
transition: all 0.4s;
}
@media (min-width: 480px) {
.faq-bubble .lefty:hover {
opacity: 0.8;
}
}
.faq-bubble .lefty td:nth-child(3) {
vertical-align: middle;
text-align: right;
}
.faq-bubble .lefty td:nth-child(1), .faq-bubble .lefty td:nth-child(3), .faq-bubble.righty td:nth-child(1), .faq-bubble .righty td:nth-child(3) {
width: 40px;
}

.faq-bubble .faq-avatar-space {
width:40px;
line-height: 0;
}
.faq-bubble .lefty img, .faq-bubble .righty img, .faq-bubble .lefty svg, .faq-bubble .righty svg{
height: 40px;
width: 40px;
}

/*  extend icon   */
.extend-btn {
display: inline-block;
line-height: normal;
border-radius:50px;
background-color:#EEEEEE;
height: 40px;
width: 40px;
position: relative;
}
.horizontal-bar {
position: absolute;
top:0;
bottom:0;
left:0;
right:0;
margin: auto;
background-color: #707070;
width: 40%;
height: 4px;
display: block;
}
.vertical-bar {
position: absolute;
top:0;
bottom:0;
left:0;
right:0;
margin: auto;
background-color: #707070;
width: 4px;
height: 40%;
display: block;
transition: all 0.2s;
-webkit-transition: all 0.2s;
opacity: 1;
}
.extend-btn.extend-open .vertical-bar {
transform: rotate(270deg);
transform-origin: 50% 50%;
}

@media (max-width: 479px) {
.faq .tab-content {
padding: 0 10px;
}
.faq-bubble .lefty td:nth-child(1) {
padding-right: 10px;
}
.faq-bubble .righty td:nth-child(1) {
padding-left: 10px;
}
.faq-bubble .lefty td:nth-child(3) {
padding-right: 0px;
}
.faq-bubble .righty td:nth-child(3) {
padding-left: 0px;
}
.faq-bubble .mailtime-avatar, .faq-bubble .lefty td:nth-child(3) .faq-avatar-space {
display:none;
}
.faq-bubble .lefty td:nth-child(3), .faq-bubble .righty td:nth-child(3){
width: 10px;
}
}