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