1 |
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */ |
2 |
|
3 |
/* |
4 |
* What follows is the result of much research on cross-browser styling. |
5 |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, |
6 |
* Kroc Camen, and the H5BP dev community and team. |
7 |
*/ |
8 |
|
9 |
/* ========================================================================== |
10 |
Base styles: opinionated defaults |
11 |
========================================================================== */ |
12 |
|
13 |
html, |
14 |
button, |
15 |
input, |
16 |
select, |
17 |
textarea { |
18 |
color: #222; |
19 |
} |
20 |
|
21 |
html { |
22 |
font-size: 1em; |
23 |
line-height: 1.4; |
24 |
} |
25 |
body { |
26 |
margin: 0; |
27 |
padding: 0; |
28 |
font-family:'Roboto', sans-serif; |
29 |
|
30 |
} |
31 |
.container { |
32 |
margin-right:0; |
33 |
} |
34 |
.navigation-style { |
35 |
position: relative; |
36 |
font-size: 12px; |
37 |
margin-top: 25px; |
38 |
height: 41px; |
39 |
background: none repeat scroll 0% 0% #000; |
40 |
} |
41 |
.navigation-style li { |
42 |
width:auto; |
43 |
color:red; |
44 |
font-size: 16px; |
45 |
line-height: 41px; |
46 |
padding: 0px 30px; |
47 |
text-decoration: none; |
48 |
display: inline-block; |
49 |
|
50 |
} |
51 |
|
52 |
.navigation-style li a { |
53 |
width:auto; |
54 |
color:white; |
55 |
} |
56 |
|
57 |
.navigation-style li:hover a{ |
58 |
padding: 0px 0px; |
59 |
text-decoration: none; |
60 |
display: inline-block; |
61 |
} |
62 |
|
63 |
|
64 |
.contentholder { |
65 |
float: left; |
66 |
width: 964px; |
67 |
padding: 35px 0px 0px; |
68 |
} |
69 |
.first { |
70 |
margin-left: 0px; |
71 |
padding-left: 0px; |
72 |
margin-top:-46px; |
73 |
} |
74 |
.contentblockleft { |
75 |
float: left; |
76 |
width: 400px; |
77 |
margin-right: 40px; |
78 |
} |
79 |
hr { |
80 |
color:blue; |
81 |
} |
82 |
.contentblockright { |
83 |
float: right; |
84 |
width: 400px |
85 |
} |
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
.col-md-4 h3 { |
92 |
color:#c00000; |
93 |
border-bottom: 1px dotted #c00000 ; |
94 |
width:65%; |
95 |
} |
96 |
.col-md-4 p { |
97 |
width: 85% |
98 |
} |
99 |
|
100 |
|
101 |
.col-md-2 h3 { |
102 |
color:#c00000; |
103 |
border-bottom: 1px dotted #c00000 ; |
104 |
width:65%; |
105 |
} |
106 |
|
107 |
|
108 |
|
109 |
|
110 |
|
111 |
ul.dropdown-menu li { |
112 |
/* background:!important none repeat scroll 0% 0% rgb(255, 255, 255);*/ |
113 |
/* border-bottom: 1px inset rgb(188, 181, 215);*/ |
114 |
filter: none; |
115 |
font-size: 14px; |
116 |
display: block; |
117 |
border-right:none; |
118 |
line-height: 1px; |
119 |
padding: 6px; |
120 |
margin:0px 0px 0px 0px; |
121 |
color: rgb(0, 0, 0); |
122 |
} |
123 |
ul.dropdown-menu { |
124 |
margin:0; |
125 |
font-size:smaller; |
126 |
background-color:#c00000; |
127 |
} |
128 |
.dropdown-menu li a { |
129 |
line-height:15px; |
130 |
padding: 3px 20px; |
131 |
} |
132 |
li.maintab:hover { |
133 |
background-color:#c00000; |
134 |
color:yellow; |
135 |
} |
136 |
.navigation-style ul li a:hover { |
137 |
color: white; |
138 |
text-decoration: none; |
139 |
} |
140 |
.dropdown-menu > li > a:hover { |
141 |
color:yellow; |
142 |
background-color:#000; |
143 |
} |
144 |
.dropdown-menu > li > a:focus { |
145 |
background-color:#c00000; |
146 |
} |
147 |
|
148 |
/*testing hover */ |
149 |
body{margin-top:0px; |
150 |
overflow-y:scroll; |
151 |
} |
152 |
.glyphicon { margin-right:10px; } |
153 |
.panel-body { padding:0px; } |
154 |
.panel-body table tr td { padding-left: 15px } |
155 |
.panel-body .table {margin-bottom: 0px; } |
156 |
|
157 |
|
158 |
|
159 |
.col-sm-3 col-md-3{ |
160 |
margin:0px 0px 0px -30px; |
161 |
} |
162 |
.panel panel-default { |
163 |
width:700px; |
164 |
} |
165 |
li.a { |
166 |
color:#000; |
167 |
border-right:none; |
168 |
list-style-type:square; |
169 |
} |
170 |
.header-color{ |
171 |
color:red; |
172 |
} |
173 |
.well { |
174 |
background-color:#fff; |
175 |
} |
176 |
/* Site Map style */ |
177 |
.dropdown-large { |
178 |
position: static !important; |
179 |
} |
180 |
.dropdown-menu-large { |
181 |
margin-left: 16px; |
182 |
margin-right: 16px; |
183 |
padding: 20px 0px; |
184 |
} |
185 |
.dropdown-menu-large > li > ul { |
186 |
padding: 0; |
187 |
margin: 0; |
188 |
} |
189 |
.dropdown-menu-large > li > ul > li { |
190 |
list-style: none; |
191 |
} |
192 |
.dropdown-menu-large > li > ul > li > a { |
193 |
display: block; |
194 |
padding: 3px 20px; |
195 |
clear: both; |
196 |
font-weight: normal; |
197 |
line-height: 1.428571429; |
198 |
color: #333333; |
199 |
white-space: normal; |
200 |
} |
201 |
.dropdown-menu-large > li ul > li > a:hover, |
202 |
.dropdown-menu-large > li ul > li > a:focus { |
203 |
text-decoration: none; |
204 |
color: #262626; |
205 |
background-color: #f5f5f5; |
206 |
} |
207 |
.dropdown-menu-large .disabled > a, |
208 |
.dropdown-menu-large .disabled > a:hover, |
209 |
.dropdown-menu-large .disabled > a:focus { |
210 |
color: #999999; |
211 |
} |
212 |
.dropdown-menu-large .disabled > a:hover, |
213 |
.dropdown-menu-large .disabled > a:focus { |
214 |
text-decoration: none; |
215 |
background-color: transparent; |
216 |
background-image: none; |
217 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
218 |
cursor: not-allowed; |
219 |
} |
220 |
.dropdown-menu-large .dropdown-header { |
221 |
color: #428bca; |
222 |
font-size: 18px; |
223 |
} |
224 |
@media (max-width: 768px) { |
225 |
.dropdown-menu-large { |
226 |
margin-left: 0 ; |
227 |
margin-right: 0 ; |
228 |
} |
229 |
.dropdown-menu-large > li { |
230 |
margin-bottom: 30px; |
231 |
} |
232 |
.dropdown-menu-large > li:last-child { |
233 |
margin-bottom: 0; |
234 |
} |
235 |
.dropdown-menu-large .dropdown-header { |
236 |
padding: 3px 15px !important; |
237 |
} |
238 |
} |
239 |
/* style map styles end */ |
240 |
/*dropsown sub menu css */ |
241 |
|
242 |
.dropdown-submenu { |
243 |
position: relative; |
244 |
} |
245 |
|
246 |
.dropdown-submenu>.dropdown-menu { |
247 |
top: 0; |
248 |
left: 100%; |
249 |
margin-top: -6px; |
250 |
margin-left: -1px; |
251 |
-webkit-border-radius: 0 6px 6px 6px; |
252 |
-moz-border-radius: 0 6px 6px; |
253 |
border-radius: 0 6px 6px 6px; |
254 |
} |
255 |
|
256 |
.dropdown-submenu:hover>.dropdown-menu { |
257 |
display: block; |
258 |
} |
259 |
|
260 |
.dropdown-submenu>a:after { |
261 |
display: block; |
262 |
content: " "; |
263 |
float: right; |
264 |
width: 0; |
265 |
height: 0; |
266 |
border-color: transparent; |
267 |
border-style: solid; |
268 |
border-width: 5px 0 5px 5px; |
269 |
border-left-color: #ccc; |
270 |
margin-top: 5px; |
271 |
margin-right: -10px; |
272 |
} |
273 |
|
274 |
.dropdown-submenu:hover>a:after { |
275 |
border-left-color: #fff; |
276 |
} |
277 |
|
278 |
.dropdown-submenu.pull-left { |
279 |
float: none; |
280 |
} |
281 |
|
282 |
.dropdown-submenu.pull-left>.dropdown-menu { |
283 |
left: -100%; |
284 |
margin-left: 10px; |
285 |
-webkit-border-radius: 6px 0 6px 6px; |
286 |
-moz-border-radius: 6px 0 6px 6px; |
287 |
border-radius: 6px 0 6px 6px; |
288 |
} |
289 |
/* drop down menu css ends here */ |
290 |
|
291 |
|
292 |
/* |
293 |
* Remove text-shadow in selection highlight: h5bp.com/i |
294 |
* These selection rule sets have to be separate. |
295 |
* Customize the background color to match your design. |
296 |
*/ |
297 |
|
298 |
::-moz-selection { |
299 |
background: #b3d4fc; |
300 |
text-shadow: none; |
301 |
} |
302 |
|
303 |
::selection { |
304 |
background: #b3d4fc; |
305 |
text-shadow: none; |
306 |
} |
307 |
|
308 |
/* |
309 |
* A better looking default horizontal rule |
310 |
*/ |
311 |
|
312 |
hr { |
313 |
display: block; |
314 |
height: 1px; |
315 |
border: 0; |
316 |
border-top: 1px solid #ccc; |
317 |
margin: 1em 0; |
318 |
padding: 0; |
319 |
} |
320 |
|
321 |
/* |
322 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
323 |
* their containers: h5bp.com/i/440 |
324 |
*/ |
325 |
|
326 |
audio, |
327 |
canvas, |
328 |
img, |
329 |
video { |
330 |
vertical-align: middle; |
331 |
} |
332 |
|
333 |
/* |
334 |
* Remove default fieldset styles. |
335 |
*/ |
336 |
|
337 |
fieldset { |
338 |
border: 0; |
339 |
margin: 0; |
340 |
padding: 0; |
341 |
} |
342 |
|
343 |
/* |
344 |
* Allow only vertical resizing of textareas. |
345 |
*/ |
346 |
|
347 |
textarea { |
348 |
resize: vertical; |
349 |
} |
350 |
|
351 |
/* ========================================================================== |
352 |
Browse Happy prompt |
353 |
========================================================================== */ |
354 |
|
355 |
.browsehappy { |
356 |
margin: 0.2em 0; |
357 |
background: #ccc; |
358 |
color: #000; |
359 |
padding: 0.2em 0; |
360 |
} |
361 |
|
362 |
/* ========================================================================== |
363 |
Author's custom styles |
364 |
========================================================================== */ |
365 |
|
366 |
|
367 |
/* ========================================================================== |
368 |
Helper classes |
369 |
========================================================================== */ |
370 |
|
371 |
/* |
372 |
* Image replacement |
373 |
*/ |
374 |
|
375 |
.ir { |
376 |
background-color: transparent; |
377 |
border: 0; |
378 |
overflow: hidden; |
379 |
/* IE 6/7 fallback */ |
380 |
*text-indent: -9999px; |
381 |
} |
382 |
|
383 |
.ir:before { |
384 |
content: ""; |
385 |
display: block; |
386 |
width: 0; |
387 |
height: 150%; |
388 |
} |
389 |
|
390 |
/* |
391 |
* Hide from both screenreaders and browsers: h5bp.com/u |
392 |
*/ |
393 |
|
394 |
.hidden { |
395 |
display: none !important; |
396 |
visibility: hidden; |
397 |
} |
398 |
|
399 |
/* |
400 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
401 |
*/ |
402 |
|
403 |
.visuallyhidden { |
404 |
border: 0; |
405 |
clip: rect(0 0 0 0); |
406 |
height: 1px; |
407 |
margin: -1px; |
408 |
overflow: hidden; |
409 |
padding: 0; |
410 |
position: absolute; |
411 |
width: 1px; |
412 |
} |
413 |
|
414 |
/* |
415 |
* Extends the .visuallyhidden class to allow the element to be focusable |
416 |
* when navigated to via the keyboard: h5bp.com/p |
417 |
*/ |
418 |
|
419 |
.visuallyhidden.focusable:active, |
420 |
.visuallyhidden.focusable:focus { |
421 |
clip: auto; |
422 |
height: auto; |
423 |
margin: 0; |
424 |
overflow: visible; |
425 |
position: static; |
426 |
width: auto; |
427 |
} |
428 |
|
429 |
/* |
430 |
* Hide visually and from screenreaders, but maintain layout |
431 |
*/ |
432 |
|
433 |
.invisible { |
434 |
visibility: hidden; |
435 |
} |
436 |
|
437 |
/* |
438 |
* Clearfix: contain floats |
439 |
* |
440 |
* For modern browsers |
441 |
* 1. The space content is one way to avoid an Opera bug when the |
442 |
* `contenteditable` attribute is included anywhere else in the document. |
443 |
* Otherwise it causes space to appear at the top and bottom of elements |
444 |
* that receive the `clearfix` class. |
445 |
* 2. The use of `table` rather than `block` is only necessary if using |
446 |
* `:before` to contain the top-margins of child elements. |
447 |
*/ |
448 |
|
449 |
.clearfix:before, |
450 |
.clearfix:after { |
451 |
content: " "; /* 1 */ |
452 |
display: table; /* 2 */ |
453 |
} |
454 |
|
455 |
.clearfix:after { |
456 |
clear: both; |
457 |
} |
458 |
|
459 |
/* |
460 |
* For IE 6/7 only |
461 |
* Include this rule to trigger hasLayout and contain floats. |
462 |
*/ |
463 |
|
464 |
.clearfix { |
465 |
*zoom: 1; |
466 |
} |
467 |
|
468 |
/* ========================================================================== |
469 |
EXAMPLE Media Queries for Responsive Design. |
470 |
These examples override the primary ('mobile first') styles. |
471 |
Modify as content requires. |
472 |
========================================================================== */ |
473 |
|
474 |
@media only screen and (min-width: 35em) { |
475 |
/* Style adjustments for viewports that meet the condition */ |
476 |
} |
477 |
|
478 |
@media print, |
479 |
(-o-min-device-pixel-ratio: 5/4), |
480 |
(-webkit-min-device-pixel-ratio: 1.25), |
481 |
(min-resolution: 120dpi) { |
482 |
/* Style adjustments for high resolution devices */ |
483 |
} |
484 |
|
485 |
/* ========================================================================== |
486 |
Print styles. |
487 |
Inlined to avoid required HTTP connection: h5bp.com/r |
488 |
========================================================================== */ |
489 |
|
490 |
@media print { |
491 |
* { |
492 |
background: transparent !important; |
493 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
494 |
box-shadow: none !important; |
495 |
text-shadow: none !important; |
496 |
} |
497 |
|
498 |
a, |
499 |
a:visited { |
500 |
text-decoration: underline; |
501 |
} |
502 |
|
503 |
a[href]:after { |
504 |
content: " (" attr(href) ")"; |
505 |
} |
506 |
|
507 |
abbr[title]:after { |
508 |
content: " (" attr(title) ")"; |
509 |
} |
510 |
|
511 |
/* |
512 |
* Don't show links for images, or javascript/internal links |
513 |
*/ |
514 |
|
515 |
.ir a:after, |
516 |
a[href^="javascript:"]:after, |
517 |
a[href^="#"]:after { |
518 |
content: ""; |
519 |
} |
520 |
|
521 |
pre, |
522 |
blockquote { |
523 |
border: 1px solid #999; |
524 |
page-break-inside: avoid; |
525 |
} |
526 |
|
527 |
thead { |
528 |
display: table-header-group; /* h5bp.com/t */ |
529 |
} |
530 |
|
531 |
tr, |
532 |
img { |
533 |
page-break-inside: avoid; |
534 |
} |
535 |
|
536 |
img { |
537 |
max-width: 100% !important; |
538 |
} |
539 |
|
540 |
@page { |
541 |
margin: 0.5cm; |
542 |
} |
543 |
|
544 |
p, |
545 |
h2, |
546 |
h3 { |
547 |
orphans: 3; |
548 |
widows: 3; |
549 |
} |
550 |
|
551 |
h2, |
552 |
h3 { |
553 |
page-break-after: avoid; |
554 |
} |
555 |
} |