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 |
.container { |
31 |
|
32 |
} |
33 |
.navigation-style { |
34 |
position: relative; |
35 |
margin-top: 15px; |
36 |
height: 41px; |
37 |
background: none repeat scroll 0% 0% #000; |
38 |
} |
39 |
.navigation-style > ul > li { |
40 |
font-size:18px; |
41 |
padding:0px 40px; |
42 |
} |
43 |
.navigation-style li { |
44 |
width:auto; |
45 |
color:red; |
46 |
font-size: 16px; |
47 |
line-height: 41px; |
48 |
padding: 0px 30px; |
49 |
text-decoration: none; |
50 |
display: inline-block; |
51 |
font-size:16px; |
52 |
|
53 |
} |
54 |
|
55 |
.navigation-style li a { |
56 |
width:auto; |
57 |
color:white; |
58 |
font-size:18px; |
59 |
} |
60 |
|
61 |
.navigation-style li:hover a{ |
62 |
text-decoration: none; |
63 |
display: inline-block; |
64 |
} |
65 |
hr { |
66 |
color:blue; |
67 |
} |
68 |
.contentblockright { |
69 |
float: right; |
70 |
width: 400px |
71 |
} |
72 |
|
73 |
|
74 |
/* home page content design */ |
75 |
#khmdl-carousel .carousel-inner>.item>img { |
76 |
height: 400px |
77 |
} |
78 |
|
79 |
.content-head1 { |
80 |
color:#000000; |
81 |
border-bottom: 1px dotted #C00000 ; |
82 |
width:80%; |
83 |
/*font-family: sans-serif, roboto;*/ |
84 |
font-size: 24px; |
85 |
padding: 1em 0.1em 0.1em 0em; |
86 |
margin: 0.2em 0.1em 0.8em 0em; |
87 |
} |
88 |
|
89 |
|
90 |
.content-head2 { |
91 |
color:#000000; |
92 |
border-bottom: 1px dotted #C00000 ; |
93 |
width:80%; |
94 |
/*font-family: sans-serif, roboto;*/ |
95 |
font-size: 24px; |
96 |
padding: 1em 0.1em 0.1em 0em; |
97 |
margin: 0.2em 0.1em 0.8em 0em; |
98 |
} |
99 |
.media |
100 |
{ |
101 |
/*box-shadow:0px 0px 4px -2px #000;*/ |
102 |
margin: 20px 0; |
103 |
padding:30px; |
104 |
} |
105 |
.dp |
106 |
{ |
107 |
border:10px solid #eee; |
108 |
transition: all 0.2s ease-in-out; |
109 |
} |
110 |
.dp:hover |
111 |
{ |
112 |
border:2px solid #eee; |
113 |
transform:rotate(360deg); |
114 |
-ms-transform:rotate(360deg); |
115 |
-webkit-transform:rotate(360deg); |
116 |
/*-webkit-font-smoothing:antialiased;*/ |
117 |
} |
118 |
/* content styling for other pages */ |
119 |
|
120 |
.main-head { |
121 |
color:#000000; |
122 |
/*font-family: sans-serif, roboto;*/ |
123 |
font-size: 24px; |
124 |
padding: 5px 1px 2px 0px; |
125 |
margin: 5px 1px 8px 1px; |
126 |
text-align: left; |
127 |
border-bottom: 1px #c00000 dotted; |
128 |
} |
129 |
.subcontent-head { |
130 |
color:#000000; |
131 |
/*font-family: sans-serif, roboto;*/ |
132 |
font-size: 18px; |
133 |
padding: 5px 1px 2px 0px; |
134 |
margin: 5px 1px 8px 1px; |
135 |
text-align: left; |
136 |
} |
137 |
|
138 |
.col-md-6 { |
139 |
width: 58%; |
140 |
margin-left: 0.3em; |
141 |
} |
142 |
|
143 |
.block { |
144 |
line-height: 150%; |
145 |
padding: 10px 0px 5px 2px; |
146 |
margin: 10px 0px 5px 2px; |
147 |
text-align: justify; |
148 |
font-size: 14px; |
149 |
color: #000000; |
150 |
} |
151 |
|
152 |
.underblock { |
153 |
line-height: 125%; |
154 |
font-size: 14px; |
155 |
text-align: justify; |
156 |
} |
157 |
|
158 |
|
159 |
.block em { |
160 |
vertical-align: super; |
161 |
} |
162 |
|
163 |
a:link { |
164 |
color: #c00000; |
165 |
} |
166 |
|
167 |
a:hover { |
168 |
color: #000000; |
169 |
} |
170 |
|
171 |
|
172 |
ul.dropdown-menu li { |
173 |
/* background:!important none repeat scroll 0% 0% rgb(255, 255, 255);*/ |
174 |
/* border-bottom: 1px inset rgb(188, 181, 215);*/ |
175 |
filter: none; |
176 |
font-size: 14px; |
177 |
display: block; |
178 |
border-right:none; |
179 |
line-height: 1px; |
180 |
padding: 6px; |
181 |
margin:0px 0px 0px 0px; |
182 |
color: rgb(0, 0, 0); |
183 |
} |
184 |
ul.dropdown-menu { |
185 |
margin:0; |
186 |
font-size:smaller; |
187 |
background-color:#c00000; |
188 |
} |
189 |
.dropdown-menu li a { |
190 |
padding: 3px 20px; |
191 |
width:100%; |
192 |
} |
193 |
li.maintab:hover { |
194 |
background-color:#c00000; |
195 |
color:yellow; |
196 |
} |
197 |
.navigation-style ul li a:hover { |
198 |
color: white; |
199 |
text-decoration: none; |
200 |
} |
201 |
.dropdown-menu > li > a:hover { |
202 |
background-color:#000; |
203 |
} |
204 |
.dropdown-menu > li > a:focus { |
205 |
background-color:#c00000; |
206 |
} |
207 |
|
208 |
/*testing hover */ |
209 |
body{margin-top:0px; |
210 |
overflow-y:scroll; |
211 |
} |
212 |
.panel-body { padding:0px;} |
213 |
.panel-body table tr td { padding-left: 15px } |
214 |
.panel-body .table {margin-bottom: 0px; } |
215 |
|
216 |
li.a { |
217 |
color:#000; |
218 |
border-right:none; |
219 |
list-style-type:square; |
220 |
} |
221 |
.header-color{ |
222 |
color:red; |
223 |
} |
224 |
|
225 |
.well { |
226 |
background-color:#f7f7f7; |
227 |
border-radius: 0px; |
228 |
} |
229 |
|
230 |
.col-md-4 { |
231 |
padding:0px 10px 0px 0px; |
232 |
} |
233 |
/* Site Map style */ |
234 |
.dropdown-large { |
235 |
position: static !important; |
236 |
} |
237 |
.dropdown-menu-large { |
238 |
margin-left: 16px; |
239 |
margin-right: 16px; |
240 |
padding: 20px 0px; |
241 |
width: auto; |
242 |
|
243 |
} |
244 |
.col-lg-12 { |
245 |
list-style:none; |
246 |
} |
247 |
.dropdown-menu-large > li > ul { |
248 |
padding: 0; |
249 |
margin: 0; |
250 |
} |
251 |
.dropdown-menu-large > li > ul > li { |
252 |
list-style: none; |
253 |
} |
254 |
.dropdown-menu-large > li > ul > li > a { |
255 |
display: block; |
256 |
padding: 3px 20px; |
257 |
clear: both; |
258 |
font-weight: normal; |
259 |
line-height: 1.428571429; |
260 |
// color: white; |
261 |
white-space: normal; |
262 |
} |
263 |
|
264 |
|
265 |
.dropdown-menu-large > li ul > li > a:hover { |
266 |
text-decoration: none; |
267 |
background-color: #C00000; |
268 |
} |
269 |
.dropdown-menu-large > li ul > li > a:focus { |
270 |
text-decoration: none; |
271 |
color: #262626; |
272 |
*/background-color: #f5f5f5;*/ |
273 |
/head} |
274 |
.dropdown-menu-large .disabled > a, |
275 |
.dropdown-menu-large .disabled > a:hover, |
276 |
.dropdown-menu-large .disabled > a:focus { |
277 |
color: #999999; |
278 |
} |
279 |
.dropdown-menu-large .disabled > a:hover, |
280 |
.dropdown-menu-large .disabled > a:focus { |
281 |
text-decoration: none; |
282 |
background-color: transparent; |
283 |
background-image: none; |
284 |
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); |
285 |
cursor: not-allowed; |
286 |
} |
287 |
.dropdown-menu-large .dropdown-header { |
288 |
color: #c00000; |
289 |
font-size: 18px; |
290 |
} |
291 |
@media (max-width: 768px) { |
292 |
.dropdown-menu-large { |
293 |
margin-left: 0 ; |
294 |
margin-right: 0 ; |
295 |
} |
296 |
.dropdown-menu-large > li { |
297 |
margin-bottom: 30px; |
298 |
} |
299 |
.dropdown-menu-large > li:last-child { |
300 |
margin-bottom: 0; |
301 |
} |
302 |
.dropdown-menu-large .dropdown-header { |
303 |
padding: 3px 15px !important; |
304 |
} |
305 |
} |
306 |
/* style map styles end */ |
307 |
/*dropsown sub menu css */ |
308 |
|
309 |
.dropdown-submenu { |
310 |
position: relative; |
311 |
} |
312 |
|
313 |
.dropdown-submenu>.dropdown-menu { |
314 |
top: 0; |
315 |
left: 100%; |
316 |
margin-top: -6px; |
317 |
margin-left: -1px; |
318 |
-webkit-border-radius: 0 6px 6px 6px; |
319 |
-moz-border-radius: 0 6px 6px; |
320 |
border-radius: 0 6px 6px 6px; |
321 |
} |
322 |
|
323 |
.dropdown-submenu:hover>.dropdown-menu { |
324 |
display: block; |
325 |
} |
326 |
|
327 |
.dropdown-submenu>a:after { |
328 |
display: block; |
329 |
content: " "; |
330 |
float: right; |
331 |
width: 0; |
332 |
height: 0; |
333 |
border-color: transparent; |
334 |
border-style: solid; |
335 |
border-width: 5px 0 5px 5px; |
336 |
border-left-color: #ccc; |
337 |
margin-top: 5px; |
338 |
margin-right: -10px; |
339 |
} |
340 |
|
341 |
.dropdown-submenu:hover>a:after { |
342 |
border-left-color: #fff; |
343 |
} |
344 |
|
345 |
.dropdown-submenu.pull-left { |
346 |
float: none; |
347 |
} |
348 |
|
349 |
.dropdown-submenu.pull-left>.dropdown-menu { |
350 |
left: -100%; |
351 |
margin-left: 10px; |
352 |
-webkit-border-radius: 6px 0 6px 6px; |
353 |
-moz-border-radius: 6px 0 6px 6px; |
354 |
border-radius: 6px 0 6px 6px; |
355 |
} |
356 |
/* drop down menu css ends here */ |
357 |
|
358 |
/* footer social icons style*/ |
359 |
#footer-container { |
360 |
margin-bottom:20px; |
361 |
} |
362 |
.social-icons { |
363 |
|
364 |
} |
365 |
|
366 |
.panel-default > .panel-heading { |
367 |
background-color: #000; |
368 |
padding: 5px 0px; |
369 |
} |
370 |
|
371 |
.footer-links { |
372 |
margin-top: 1px; |
373 |
} |
374 |
|
375 |
.footer-links a { |
376 |
osition: relative; |
377 |
color:#fff; |
378 |
font-size: 18px; |
379 |
margin-top: 15px; |
380 |
height: 41px; |
381 |
background: none repeat scroll 0% 0% #000; |
382 |
margin:0px 0px 0px 20px; |
383 |
padding:0px 10px; |
384 |
|
385 |
} |
386 |
.footer-links a:hover{ |
387 |
color:red; |
388 |
text-decoration:none; |
389 |
} |
390 |
#pageview-counter-wrapper { |
391 |
margin-top: 3px; |
392 |
} |
393 |
#collapse-sitemap .panel-body { |
394 |
background-color:#000; |
395 |
} |
396 |
|
397 |
#small-footer { |
398 |
font-size:12px; |
399 |
margin-top:10px; |
400 |
} |
401 |
/* footer style ends here */ |
402 |
|
403 |
/* Search box styles */ |
404 |
|
405 |
.input-group { |
406 |
flaot:right; |
407 |
position: relative; |
408 |
display: table; |
409 |
border-collapse: separate; |
410 |
margin-top: 7.5%; |
411 |
} |
412 |
|
413 |
.footer-style { |
414 |
position: relative; |
415 |
font-size: 16px; |
416 |
color:#fff; |
417 |
height: 35px; |
418 |
background: none repeat scroll 0% 0% #000; |
419 |
padding-top:2px; |
420 |
} |
421 |
|
422 |
.footer-style li { |
423 |
width:auto; |
424 |
color:red; |
425 |
font-size: 16px; |
426 |
line-height: 35px; |
427 |
padding: 0px 20px; |
428 |
text-decoration: none; |
429 |
display: inline-block; |
430 |
border-right: 1px solid rgb(255, 255, 255); |
431 |
|
432 |
} |
433 |
|
434 |
.footer-style li a { |
435 |
width:auto; |
436 |
color:white; |
437 |
} |
438 |
.dropdown-menu-large > li ul > li > a{ |
439 |
color:white; |
440 |
padding-left: 0px; |
441 |
padding-right: 5px; |
442 |
|
443 |
} |
444 |
|
445 |
.dropdown-menu-large > li ul > li > a:hover{ |
446 |
color:white; |
447 |
} |
448 |
|
449 |
/* |
450 |
* Remove text-shadow in selection highlight: h5bp.com/i |
451 |
* These selection rule sets have to be separate. |
452 |
* Customize the background color to match your design. |
453 |
*/ |
454 |
|
455 |
::-moz-selection { |
456 |
background: #b3d4fc; |
457 |
text-shadow: none; |
458 |
} |
459 |
|
460 |
::selection { |
461 |
background: #b3d4fc; |
462 |
text-shadow: none; |
463 |
} |
464 |
|
465 |
|
466 |
@import url('//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css'); |
467 |
@import url('//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css'); |
468 |
|
469 |
.panel-heading { |
470 |
cursor: pointer; |
471 |
} |
472 |
|
473 |
/* CSS Method for adding Font Awesome Chevron Icons */ |
474 |
.accordion-toggle:after { |
475 |
/* symbol for "opening" panels */ |
476 |
font-family:'FontAwesome'; |
477 |
content:"\f077"; |
478 |
float: right; |
479 |
color: inherit; |
480 |
} |
481 |
.panel-heading.collapsed .accordion-toggle:after { |
482 |
/* symbol for "collapsed" panels */ |
483 |
content:"\f078"; |
484 |
|
485 |
/* |
486 |
* A better looking default horizontal rule |
487 |
*/ |
488 |
|
489 |
hr { |
490 |
display: block; |
491 |
height: 1px; |
492 |
border: 0; |
493 |
border-top: 1px solid #ccc; |
494 |
margin: 1em 0; |
495 |
padding: 0; |
496 |
} |
497 |
|
498 |
/* |
499 |
* Remove the gap between images, videos, audio and canvas and the bottom of |
500 |
* their containers: h5bp.com/i/440 |
501 |
*/ |
502 |
|
503 |
audio, |
504 |
canvas, |
505 |
img, |
506 |
video { |
507 |
vertical-align: middle; |
508 |
} |
509 |
|
510 |
/* |
511 |
* Remove default fieldset styles. |
512 |
*/ |
513 |
|
514 |
fieldset { |
515 |
border: 0; |
516 |
margin: 0; |
517 |
padding: 0; |
518 |
} |
519 |
|
520 |
/* |
521 |
* Allow only vertical resizing of textareas. |
522 |
*/ |
523 |
|
524 |
textarea { |
525 |
resize: vertical; |
526 |
} |
527 |
|
528 |
/* ========================================================================== |
529 |
Browse Happy prompt |
530 |
========================================================================== */ |
531 |
|
532 |
.browsehappy { |
533 |
margin: 0.2em 0; |
534 |
background: #ccc; |
535 |
color: #000; |
536 |
padding: 0.2em 0; |
537 |
} |
538 |
|
539 |
/* ========================================================================== |
540 |
Author's custom styles |
541 |
========================================================================== */ |
542 |
|
543 |
|
544 |
/* ========================================================================== |
545 |
Helper classes |
546 |
========================================================================== */ |
547 |
|
548 |
/* |
549 |
* Image replacement |
550 |
*/ |
551 |
|
552 |
.ir { |
553 |
background-color: transparent; |
554 |
border: 0; |
555 |
overflow: hidden; |
556 |
/* IE 6/7 fallback */ |
557 |
*text-indent: -9999px; |
558 |
} |
559 |
|
560 |
.ir:before { |
561 |
content: ""; |
562 |
display: block; |
563 |
width: 0; |
564 |
height: 150%; |
565 |
} |
566 |
|
567 |
/* |
568 |
* Hide from both screenreaders and browsers: h5bp.com/u |
569 |
*/ |
570 |
|
571 |
.hidden { |
572 |
display: none !important; |
573 |
visibility: hidden; |
574 |
} |
575 |
|
576 |
/* |
577 |
* Hide only visually, but have it available for screenreaders: h5bp.com/v |
578 |
*/ |
579 |
|
580 |
.visuallyhidden { |
581 |
border: 0; |
582 |
clip: rect(0 0 0 0); |
583 |
height: 1px; |
584 |
margin: -1px; |
585 |
overflow: hidden; |
586 |
padding: 0; |
587 |
position: absolute; |
588 |
width: 1px; |
589 |
} |
590 |
|
591 |
/* |
592 |
* Extends the .visuallyhidden class to allow the element to be focusable |
593 |
* when navigated to via the keyboard: h5bp.com/p |
594 |
*/ |
595 |
|
596 |
.visuallyhidden.focusable:active, |
597 |
.visuallyhidden.focusable:focus { |
598 |
clip: auto; |
599 |
height: auto; |
600 |
margin: 0; |
601 |
overflow: visible; |
602 |
position: static; |
603 |
width: auto; |
604 |
} |
605 |
|
606 |
/* |
607 |
* Hide visually and from screenreaders, but maintain layout |
608 |
*/ |
609 |
|
610 |
.invisible { |
611 |
visibility: hidden; |
612 |
} |
613 |
|
614 |
/* |
615 |
* Clearfix: contain floats |
616 |
* |
617 |
* For modern browsers |
618 |
* 1. The space content is one way to avoid an Opera bug when the |
619 |
* `contenteditable` attribute is included anywhere else in the document. |
620 |
* Otherwise it causes space to appear at the top and bottom of elements |
621 |
* that receive the `clearfix` class. |
622 |
* 2. The use of `table` rather than `block` is only necessary if using |
623 |
* `:before` to contain the top-margins of child elements. |
624 |
*/ |
625 |
|
626 |
.clearfix:before, |
627 |
.clearfix:after { |
628 |
content: " "; /* 1 */ |
629 |
display: table; /* 2 */ |
630 |
} |
631 |
|
632 |
.clearfix:after { |
633 |
clear: both; |
634 |
} |
635 |
|
636 |
/* |
637 |
* For IE 6/7 only |
638 |
* Include this rule to trigger hasLayout and contain floats. |
639 |
*/ |
640 |
|
641 |
.clearfix { |
642 |
*zoom: 1; |
643 |
} |
644 |
|
645 |
/* ========================================================================== |
646 |
EXAMPLE Media Queries for Responsive Design. |
647 |
These examples override the primary ('mobile first') styles. |
648 |
Modify as content requires. |
649 |
========================================================================== */ |
650 |
|
651 |
@media only screen and (min-width: 35em) { |
652 |
/* Style adjustments for viewports that meet the condition */ |
653 |
} |
654 |
|
655 |
@media print, |
656 |
(-o-min-device-pixel-ratio: 5/4), |
657 |
(-webkit-min-device-pixel-ratio: 1.25), |
658 |
(min-resolution: 120dpi) { |
659 |
/* Style adjustments for high resolution devices */ |
660 |
} |
661 |
|
662 |
/* ========================================================================== |
663 |
Print styles. |
664 |
Inlined to avoid required HTTP connection: h5bp.com/r |
665 |
========================================================================== */ |
666 |
|
667 |
@media print { |
668 |
* { |
669 |
background: transparent !important; |
670 |
color: #000 !important; /* Black prints faster: h5bp.com/s */ |
671 |
box-shadow: none !important; |
672 |
text-shadow: none !important; |
673 |
} |
674 |
|
675 |
a, |
676 |
a:visited { |
677 |
text-decoration: underline; |
678 |
} |
679 |
|
680 |
a[href]:after { |
681 |
content: " (" attr(href) ")"; |
682 |
} |
683 |
|
684 |
abbr[title]:after { |
685 |
content: " (" attr(title) ")"; |
686 |
} |
687 |
|
688 |
/* |
689 |
* Don't show links for images, or javascript/internal links |
690 |
*/ |
691 |
|
692 |
.ir a:after, |
693 |
a[href^="javascript:"]:after, |
694 |
a[href^="#"]:after { |
695 |
content: ""; |
696 |
} |
697 |
|
698 |
pre, |
699 |
blockquote { |
700 |
border: 1px solid #999; |
701 |
page-break-inside: avoid; |
702 |
} |
703 |
|
704 |
thead { |
705 |
display: table-header-group; /* h5bp.com/t */ |
706 |
} |
707 |
|
708 |
tr, |
709 |
img { |
710 |
page-break-inside: avoid; |
711 |
} |
712 |
|
713 |
img { |
714 |
max-width: 100% !important; |
715 |
} |
716 |
|
717 |
@page { |
718 |
margin: 0.5cm; |
719 |
} |
720 |
|
721 |
p, |
722 |
h2, |
723 |
h3 { |
724 |
orphans: 3; |
725 |
widows: 3; |
726 |
} |
727 |
|
728 |
h2, |
729 |
h3 { |
730 |
page-break-after: avoid; |
731 |
} |
732 |
} |