-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
304 lines (267 loc) · 5.22 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Montserrat', Arial, Helvetica, sans-serif;
overflow-x: hidden;
}
.navigation {
overflow: hidden;
background-color: #6D6563;
min-width: 100%;
}
.navigation a {
display: inline-block;
text-align: center;
padding: 16px 20px;
color: #f2f2f2;
text-decoration: none;
font-size: 20px;
}
.navigation a:hover {
background-color: #DCD9D8;
transition:0.4s;
color: black;
}
.navigation a.active {
background-color: rgb(187, 57, 57);
color: white;
}
.navigation .js {
display: none;
}
.sticky {
position: fixed;
top: 0;
width: 100%;
}
.sticky+.grid-container {
padding-top: 60px;
}
h1 {
text-align: center;
}
figure {
text-align: center;
display: block;
}
figure img {
max-width: 300px;
max-height: 300px;
width: 100%;
display: inline-block;
margin-left: auto;
margin-right: auto;
}
.grid-container {
display: grid;
text-align: center;
grid-template-columns: 30% 30% 30%;
padding: 20px;
margin-left: 4%;
width: 100vw;
}
.grid-item {
background-color: rgba(255, 255, 255, 0.8);
border: 0.5px solid rgba(0, 0, 0, 0.2);
padding: 20px;
font-size: 20px;
text-align: center;
width: 100%;
}
.footer {
background-color: #f0f0f0;
position: relative;
bottom: 0;
width: 100%;
height: 20%;
padding: 20px;
padding-bottom: 0;
font-family: 'Montserrat', sans-serif;
overflow: hidden;
}
.footer h5 {
font-size: 13px;
font-weight: 400;
line-height: 20px;
margin: 8px 0;
}
.footer-nav {
position: relative;
display: flex;
flex-wrap: wrap;
bottom: 50px;
justify-content: flex-end;
align-content: center;
align-items: center;
margin: 8px 0;
list-style: none;
}
.footer-nav li {
font-size: 13px;
line-height: 20px;
padding: 20px;
}
.footer-nav li a {
color: #202020;
text-decoration: none;
}
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
text-align: center;
border: none;
outline: none;
transition: 0.4s;
text-decoration: none;
font-size: 20px;
}
.active, .accordion:hover {
background-color: #ccc;
}
.panel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
text-align: center;
border-left: 1px solid #202020;
border-right: 1px solid #202020;
transition: max-height 0.2s ease-out;
}
input[type=text], input[type=date]{
padding: 0;
height: 30px;
position: relative;
left: 0;
outline: none;
border: 1px solid #cdcdcd;
border-color: rgba(0, 0, 0, .15);
background-color: white;
font-size: 16px;
}
select {
width: 300px;
display: inline-block;
background-color: #fff;
border-radius: 5px;
box-shadow: 0 0 2px rgb(204, 204, 204);
transition: all .5s ease;
position: relative;
font-size: 14px;
color: #474747;
height: 100%;
text-align: left
}
.btn {
display: inline-block;
text-align: center;
text-decoration: none;
margin: 2px 0;
border: solid 1px transparent;
border-radius: 4px;
padding: 0.5em 1em;
color: #ffffff;
background-color: #474747;
}
/*Contact page css formatting*/
#contactForm {
width: 600px;
margin-top: 25px;
text-align: center;
}
#contactForm input, #contactForm textarea {
padding: 5px;
width: 471px;
font-family: Helvetica, sans-serif;
font-size: 1em;
margin: 0px 0px 10px 0px;
border: 2px solid #ccc;
}
#contactForm textarea {
height: 90px;
}
#contactForm input.submit-button {
width: 100px;
float: right;
}
label {
float: left;
text-align: right;
margin-right: 15px;
width: 100px;
font-size: 100%;
font-family: Helvetica, sans-serif;
}
.rate {
float: center;
padding-right: 130px;
}
.rate:not(:checked) > input {
position:absolute;
top:-9999px;
}
.rate:not(:checked) > label {
float:right;
width:1em;
overflow:hidden;
white-space:nowrap;
cursor:pointer;
font-size:30px;
color:#ccc;
}
.rate:not(:checked) > label:before {
content: '★ ';
}
.rate > input:checked ~ label {
color: #ffc700;
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
color: #deb217;
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
color: #c59b08;
}
/*
The following 2 css rule sets help the website
be responsive. I don't fully understand it but
it works
*/
@media screen and (max-width: 600px) {
.navigation a:not(:first-child) {
display: none;
}
.navigation a.js {
float: right;
display: block;
}
}
@media screen and (max-width: 600px) {
.navigation.responsive {
position: relative;
}
.navigation.responsive .js {
position: absolute;
right: 0;
top: 0;
}
.navigation.responsive a {
float: none;
display: block;
text-align: left;
}
}
.hidden-text {
text-align: center;
margin-top: 45%;
margin-bottom: 45%;
}