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