.comment-text-area { float: right; width: calc(100% - 45px); height: auto; background-color: red; } .textinput { float: left; width: 100%; min-height: 80px; /* outline: none; resize: none; border: 1px solid #f0f0f0; */ } *, *:before, *:after { box-sizing: border-box; padding: 0; margin: 0; } body1 { background-color: #f5f7ff; font-family: 'Poppins',sans-serif; color: #2c2c51; display: flex; align-items: center; justify-content: space-around; } .card { height: 415px; width: 160px; position: relative; margin: 5px 0px 5px 0px; } input[type="radio"][name="pricing"] { -webkit-appearance: none; appearance: none; background-color: white; height: 100%; width: 100%; border-radius: 10px; position: absolute; box-shadow: 7px 7px 15px rgba(2,28,53,0.08); cursor: pointer; outline: none; } input[type="radio"][name="pricing"]:before { content: ""; position: absolute; height: 22px; width: 22px; background-color: #f9fafd; border: 1px solid #e2e6f3; border-radius: 50%; top: 35px; right: 20px; } input[type="radio"][name="pricing"]:after { content: ""; position: absolute; height: 13px; width: 13px; background-color: transparent; border-radius: 50%; top: 39.5px; right: 24.5px; } .setcolor { background-color: aquamarine; } label[name="label"] { position: absolute; margin: 20px; cursor: pointer; } h5 { font-weight: 600; font-size: 19px; letter-spacing: 0.5px; /*margin: 15px 0 20px 0;*/ margin: 5px 0 5px 0; } h2 { font-size: 28px; } input[type="radio"][name="pricing"]:hover { transform: scale(1.05); } input[type="radio"][name="pricing"]:checked { border: 3px solid #478bfb; } input[type="radio"][name="pricing"]:checked:after { background-color: #478bfb; } /*--------------------------------------------------------------------*/ .popupdialog { width: 220px; height: 50px; border-radius: 20px; background: #454545; font-size: 16px; font-family: 'Global Monospace'; font-weight: bold; text-align: center; line-height: 50px; position: fixed; left: calc(50% - 110px); top: calc(50% - 25px); color: #fff; } .preload { margin: 0; position: absolute; top: 50%; left: 50%; margin-right: -50%; transform: translate(-50%, -50%); display: none; z-index: 998; } .embedScoll { background-color: lightblue; height: 400px; width: 200px; overflow-x: scroll; overflow-y: scroll; } #loadingImg { display: none; } .card { margin: 0 0.5em; box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18); border: none; } .card .img-wrapper { max-width: 100%; height: 13em; display: flex; justify-content: center; align-items: center; } .card img { max-height: 100%; } @@media (max-width: 767px) { .card .img-wrapper { height: 17em; } } .cc-selector-2 input { position: absolute; z-index: 999; } .visa { /*background-image: url(http://i.imgur.com/lXzJ1eB.png);*/ background-image: url('../images/card_visa_1.png'); } .mastercard { /*background-image: url(http://i.imgur.com/SJbRQF7.png);*/ background-image: url('../images/card_master_1.png'); } .card1 { background-image: url('../images/程式開發.jpg'); } .card2 { background-image: url('../images/視覺設計.jpg'); } .card3 { background-image: url('../images/影像製作.jpg'); } .card4 { background-image: url('../images/居家服務.jpg'); } .card5 { background-image: url('../images/活動娛樂.jpg'); } .card6 { background-image: url('../images/教學文書.jpg'); } .card7 { background-image: url('../images/生活趣味.jpg'); } .card8 { background-image: url('../images/空間設計.jpg'); } .card9 { background-image: url('../images/專業顧問.jpg'); } .card10 { background-image: url('../images/行銷企劃.jpg'); } .cc-selector-2 input:active + .drinkcard-cc, .cc-selector input:active + .drinkcard-cc { opacity: .9; } .cc-selector-2 input:checked + .drinkcard-cc, .cc-selector input:checked + .drinkcard-cc { -webkit-filter: none; -moz-filter: none; filter: none; } .drinkcard-cc { cursor: pointer; background-size: contain; background-repeat: no-repeat; display: inline-block; /*width: 150px;*/ width: 105px; height: 150px; /*width: 150px; height: 105px;*/ -webkit-transition: all 100ms ease-in; -moz-transition: all 100ms ease-in; transition: all 100ms ease-in; -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9); -moz-filter: brightness(1.2) grayscale(.5) opacity(.9); filter: brightness(1.2) grayscale(.5) opacity(.9); /* -webkit-filter: brightness(1.8) grayscale(1) opacity(.7); -moz-filter: brightness(1.8) grayscale(1) opacity(.7); filter: brightness(1.8) grayscale(1) opacity(.7); */ } .drinkcard-cc:hover { -webkit-filter: brightness(1.2) grayscale(.5) opacity(.9); -moz-filter: brightness(1.2) grayscale(.5) opacity(.9); filter: brightness(1.2) grayscale(.5) opacity(.9); } .cc-selector-2 input { margin: 5px 0 0 12px; } .cc-selector-2 label { margin-left: 7px; } span.cc { color: #6d84b4 } #form { text-align: center; position: relative; margin-top: 20px } #form fieldset { background: white; border: 0 none; border-radius: 0.5rem; box-sizing: border-box; width: 100%; margin: 0; padding-bottom: 20px; position: relative } .finish { text-align: center } /*此段控制default只顯示第一個field*/ #form fieldset:not(:first-of-type) { display: none } #form .previous-step, .next-step { width: 100px; font-weight: bold; color: white; border: 0 none; border-radius: 10px; cursor: pointer; padding: 10px 5px; margin: 10px 5px 10px 0px; float: right } .form, .previous-step { background: #616161; } .form, .next-step { background: #2F8D46; } #form .previous-step:hover, #form .previous-step:focus { background-color: #000000 } #form .next-step:hover, #form .next-step:focus { background-color: #2F8D46 } .text { color: #2F8D46; font-weight: normal } #progressbar { margin-bottom: 30px; overflow: hidden; color: lightgrey } #progressbar .active { color: #2F8D46 } #progressbar li { list-style-type: none; font-size: 15px; width: 25%; float: left; position: relative; font-weight: 400 } #progressbar #step1:before { content: "1" } #progressbar #step2:before { content: "2" } #progressbar #step3:before { content: "3" } #progressbar #step4:before { content: "4" } #progressbar li:before { width: 50px; height: 50px; line-height: 45px; display: block; font-size: 20px; color: #ffffff; background: lightgray; border-radius: 50%; margin: 0 auto 10px auto; padding: 2px } #progressbar li:after { content: ''; width: 100%; height: 2px; background: lightgray; position: absolute; left: 0; top: 25px; z-index: -1 } #progressbar li.active:before, #progressbar li.active:after { background: #2F8D46 } .progress { height: 20px } .progress-bar { background-color: #2F8D46 } .label1 { color: white; padding: 8px; font-family: Arial; } .danger1 { background-color: #f44336; }