/*

Image Survey

https://templatemo.com/tm-523-image-survey

*/

body {
  color: #686868;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  padding-top: 25px;
  overflow-x: hidden;
}

.tm-site-name {
  color: #c97100;
  font-weight: 600;
  font-size: 2rem;
  display: inline-block;
  vertical-align: middle;
  margin-left: 0px;
  margin-bottom: 0;
}

.tm-site-icon {
  display: inline;
  vertical-align: middle;
}

.tm-site-header-right-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  height: 100%;
}

.btn {
  font-size: 1em;
  height: auto;
  text-transform: capitalize;
  font-size: 1em;
}

.btn-primary {
  background-color: #1b6599;
  border-color: #1b6599;
  padding: 10px;
    margin-bottom: 10px;
	font-size: 18px;
}

.btn-yellow {
background-color: #fdad23;
  
    padding: 10px 44px;
    width: 100%;
    font-size: 18px;
    margin-bottom: 10px;
}

.btn-grey {
background-color: #999999;
  
    padding: 10px 44px;
    width: 100%;
    font-size: 18px;
    margin-bottom: 10px;
	color: white;
}


.tm-btn-submit {
  font-size: 1.2em;
  padding: 12px 40px;
  margin-bottom: 1em;
}

.btn-primary:hover,
.btn-primary:active {
  background-color: #2792dd;
  border-color: #2792dd;
}

.tm-highlight {
  background-color: #289a99;
  color: white;
  font-size: 1.6rem;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 0;
  padding-top: 45px;
  padding-bottom: 45px;
}

hr {
  border-top: 5px solid #289a99;
  margin-top: 30px;
  margin-bottom: 0;
}

.tm-parallax {
 margin-top: 0px;
    height: 300px;
    width: 100%;
    max-height: 300px;
    background-image: url(../img/survey.jpg);
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.tm-intro {
  padding-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 2px;
}

.tm-intro-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

p {
  line-height: 1.6;
}

.tm-question-header {
	 
	font-weight: 600;
	color: #333;
	margin-top: 5px;
	margin-bottom: 10px;
}

.tm-question-header-mt {
  margin-top: 25px;
}

.tm-q-choice-container {
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 45px;
}

.tm-q3-choice-container {
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 21px;
}

.tm-q-choice {
	float:left;
  margin: 5px 10px;
}
.qty-choice {
	float:left;
	margin-left: 20px;
}
.qty-choice input {
	float:left;
  width: 50px !important;
  height: 33px !important;
  text-align: center;
  border: 0 !important;
  border-top: 1px solid #aaa !important;
  border-bottom: 1px solid #aaa !important;
}
.qty-choice button {
	float:left;
  width: 35px;
  height: 35px;
  cursor: pointer;
  border: 1px solid #aaa;
  background: #f8f8f8;
}
.qty-choice button:focus,.qty-choice button:active:focus {
  outline:none;
}

.tm-q3-choice {
  margin: 19px;
}

[type="radio"]:not(:checked) + span,
[type="radio"]:checked + span {
  font-size: 18px;
  padding-left: 40px;
}

[type="radio"] + span:before,
[type="radio"] + span:after {
  border-color: #686868;
  width: 25px;
  height: 25px;
  top: -4px;
}

[type="radio"]:checked + span,
[type="checkbox"].filled-in:checked + span {
  color: #39999a;
}

img.darken {
  filter: brightness(50%);
}

[type="checkbox"].filled-in:checked + span:not(.lever):before {
  width: 10px;
  height: 17px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after,
[type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
  width: 25px;
  height: 25px;
}

[type="checkbox"].filled-in:not(:checked) + span:not(.lever):after {
  border-color: #686868;
}

[type="checkbox"] + span:not(.lever) {
  font-size: 18px;
}

label {
  color: #2d2d2d;
  font-size: 16px;
}

select {
  border-color: #2d2d2d;
  border-radius: 0;
  height: 45px;
}

.select-wrapper input.select-dropdown {
border: 1px solid #9e9e9e;
    padding-left: 10px;
    font-size: 16px;
    width: calc(100% - 10px);
    margin: 0px;
}

.select-wrapper input.select-dropdown:focus {
  border-bottom: 1px solid #9e9e9e;
}

.select-wrapper .caret {
  border: 1px solid #9e9e9e;
  width: 30px;
  height: 30px;
}

textarea {
  height: 155px;
  border-color: #9a9a9a;
}

textarea {
  outline-color: rgba(57, 153, 154, 0.3);
}

.dropdown-content li > a,
.dropdown-content li > span {
  color: #343a40;
}

.form-control:focus {
  border-color: #39999a;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(57, 153, 154, 0.3);
  box-shadow: 0 0 0 0.2rem rgba(57, 153, 154, 0.3);
}

.tm-dropdown-container {
  margin-top: 56px;
  height: 45px;
}

.tm-respondent-info {
  margin-top: 40px;
  margin-bottom: 40px;
}

.tm-submit-container {
  margin-bottom: 70px;
}

.tm-choice-ml {
  margin-left: 45px;
}

.tm-choice-mt {
  margin-top: 23px;
}

.form-control {
  border-radius: 0;
  height: 45px;
  border-color: #9a9a9a;
}

.form-group {
  margin-bottom: 5px;
}


.form-group2 {
background-color: #f5f5f5;
    padding: 5px 15px;
    /* border-radius: 10px; */
    margin-bottom: 8px;
}


.tm-footer-text {
  font-size: 0.9em;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 767px) {
  .tm-intro {
    display: block;
  }

  .tm-choice-mt {
    margin-top: -15px;
  }

  .row .col.tm-dropdown-container {
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .tm-site-header-right-col {
    display: block;
  }
}

@media (max-width: 470px) {
  .tm-q3-choice {
    margin: 10px;
    width: 40%;
  }
}

@media (max-width: 424px) {
  .tm-q-choice-2-col {
    width: 60%;
  }

  .tm-q-choice {
    margin: 5px;
	width:100%;
  }
}

@media (max-width: 395px) {
  .tm-site-name {
    display: block;
    margin-left: 0;
    margin-top: 10px;
  }
}



/*RWD DIV表格*/
/*RWD DIVtable*/
.rwd-divtable {
	min-width: 100%;
    background: #f9f9f9;
    overflow: hidden;
    color: #000000;
}
/*th字體加粗*/
.rwd-divtable .tr:first-child>.th {
    font-weight:500;
	background-color: #565656;
    color: white;
}
/*表格偶數行，只要是tr(不管內部包含th/td)的偶數都會加底色*/
.rwd-divtable .tr:nth-of-type(even) {
   background: #dee6e7;
}


.rwd-divtable {
    display: table;
}

.rwd-divtable .thead {
    display: table-header-group;
}

.rwd-divtable .tbody {
    display: table-row-group;
}

.rwd-divtable .tfooter {
    display: table-footer-group;
}

.rwd-divtable .tr {
    display: table-row;
}

.rwd-divtable .th,
.rwd-divtable .td {
    display: table-cell;
    text-align: left;
    padding: 3px 5px;
}
/*表格標題，只能在table標籤下有一個，建議用title取代*/
.rwd-divtable .caption{
	display: table-caption;
    text-align: center;
}
.rwd-divtable .col{
	display: table-column;
}
/*選取幾欄*/
.rwd-divtable .colgroup{
	display: table-column-group;
}
/*會先吃到這個設定讓表頭消失，但尺寸992px以下會再吃到display:block屬性*/
.rwd-divtable .th {
    display: none;
}

.rwd-divtable .td {
    display: block;
}

.rwd-divtable .td:before {
    content: attr(data-th) " : ";
    font-weight: bold;
    width: 5.5em;
    display: inline-block;
}
.rwd-divtable .th,
.rwd-divtable .td:before {
    color: #4A4A4A;
    font-weight: bold;
}

@media (min-width: 992px) {
    .rwd-divtable .td:before {
        display: none;
    }
    .rwd-divtable .th,
    .rwd-divtable .td {
        display: table-cell;
        padding: 5px 5px;
    }
    .rwd-divtable .th:first-child,
    .rwd-divtable .td:first-child {
        padding-left: 10px;
    }
    .rwd-divtable .th:last-child,
    .rwd-divtable .td:last-child {
        padding-right: 10px;
    }
    .rwd-divtable .th,
    .rwd-divtable .td {
        padding: 5px 5px;
        !important;
    }
    .rwd-divtable .th,
    .rwd-divtable .td:before {
        color: #4a4a4a;
        font-weight: normal;
    }
