megamenu.css 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. .megamenu{margin-bottom:0px;padding:0;width:100%;list-style:none;display:inline-block;position:relative;font-size:15px}
  2. .megamenu li{margin-bottom:-5px;display:inline}
  3. .megamenu>li>a{float:left;padding:6px 16px;text-decoration:none;text-transform:capitalize;font-size:1em; -webkit-transition: all 0.3s ease-in-out;
  4. -moz-transition: all 0.3s ease-in-out;
  5. -o-transition: all 0.3s ease-in-out;
  6. transition: all 0.3s ease-in-out;
  7. }
  8. .megamenu>li.active>a{color:#00405d;}
  9. .megamenu>li.right{float:right}
  10. .megamenu .dropdown,.megamenu .dropdown li .dropdown{list-style:none;margin:0;padding:0;display:none;position:absolute;z-index:999;width:160px;border:solid 1px rgba(0,0,0,0.1);background:#fff}
  11. .megamenu .dropdown{top:59px}
  12. .megamenu .dropdown li .dropdown{left:160px;top:inherit}
  13. .megamenu .dropdown li{clear:both;width:100%;border-bottom:solid 1px rgba(0,0,0,0.1)}
  14. .megamenu .dropdown li:last-child{border-bottom:0}
  15. .megamenu .dropdown li a{float:left;width:100%;padding:10px 25px;text-decoration:none;display:block;border:0 none;font-size:14px;color:#444;background:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:color .4s ease-in-out;-moz-transition:color .4s ease-in-out;-webkit-transition:color .4s ease-in-out;-o-transition:color .4s ease-in-out}
  16. .megamenu .dropdown li:hover>a{background:#dbdbdb}
  17. .megamenu>li>.megapanel{position:absolute;display:none;background:#ffffff;box-shadow: 0px 2px 4px #777; width:100.2%;top:33px;left:0px;z-index:99;padding:20px 30px 20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
  18. .megamenu .megapanel ul{margin:0;padding:0}
  19. .megamenu .megapanel img{width:100%;border:solid 1px #dedede;cursor:pointer;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;-o-transition:border .3s linear;transition:border .3s linear}.megamenu .megapanel img:hover{border:solid 1px #777}.megamenu form.contact input,.megamenu form.contact textarea{font-family:Calibri,Arial;font-size:16px;color:#444;outline:0}
  20. .megamenu form.contact input[type="text"],
  21. .megamenu form.contact textarea{resize:none;width:100%;margin:10px 0;padding:5px 10px;border:solid 1px #dedede;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border .3s linear;-moz-transition:border .3s linear;-o-transition:border .3s linear;transition:border .3s linear}
  22. .megamenu form.contact input[type="text"]{height:40px}
  23. .megamenu form.contact input[type="text"]:focus,
  24. .megamenu form.contact textarea:focus{border:solid 1px #999}
  25. .megamenu form.contact input[type="submit"]{width:100px;height:35px;border:0;color:#fff;cursor:pointer;background:#999}
  26. .megapanel .row{width:100%;margin-top:15px}
  27. .megapanel .row:first-child{margin-top:0}
  28. .megapanel .row:before,.megapanel .row:after{display:table;content:"";line-height:0}
  29. .megapanel .row:after{clear:both}
  30. .megapanel .row .col1,.megapanel .row .col2,.megapanel .row .col3,.megapanel .row .col4,.megapanel .row .col5,.megapanel .row .col6{display:block;width:100%;min-height:20px;float:left;margin-left:2.127659574468085%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
  31. .megapanel .row [class*="col"]:first-child{margin-left:0}
  32. .megapanel .row .col1{width:14.893617021276595%}
  33. .megapanel .row .col2{width:31.914893617021278%}
  34. .megapanel .row .col3{width:48.93617021276595%}
  35. .megapanel .row .col4{width:65.95744680851064%}
  36. .megapanel .row .col5{width:82.97872340425532%}
  37. .megapanel .row .col6{width:100%}
  38. .megamenu>li.showhide{display:none;width:100%;height:50px;cursor:pointer;color:#555;background:#eee;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYmRiZGIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);background:-moz-linear-gradient(top,#eee 0,#dbdbdb 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#eee),color-stop(100%,#dbdbdb));background:-webkit-linear-gradient(top,#eee 0,#dbdbdb 100%);background:-o-linear-gradient(top,#eee 0,#dbdbdb 100%);background:-ms-linear-gradient(top,#eee 0,#dbdbdb 100%);background:linear-gradient(to bottom,#eee 0,#dbdbdb 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee',endColorstr='#dbdbdb',GradientType=0)}
  39. .megamenu>li.showhide span.title{margin:15px 0 0 25px;float:left}.megamenu>li.showhide span.icon1:after{position:absolute;content:"";right:25px;top:15px;height:3px;width:25px;font-size:50px;border-top:3px solid #333;border-bottom:3px solid #333;z-index:1}
  40. .megamenu>li.showhide span.icon2:after{position:absolute;content:"";right:25px;top:27px;height:3px;width:25px;font-size:50px;border-top:3px solid #333;border-bottom:3px solid #333;z-index:1}
  41. .skyblue,.skyblue>li.showhide{
  42. }
  43. .skyblue li>a,.skyblue>li.showhide span{color:#555}
  44. .skyblue>li:hover>a,.skyblue .dropdown li:hover>a{color:#555; background:#ffffff;}.
  45. skyblue .megapanel img:hover,.skyblue form.contact input[type="text"]:focus,.skyblue form.contact textarea:focus{}
  46. .skyblue form.contact input[type="submit"]{background:#00405d;text-transform:uppercase;}
  47. @media(max-width:1024px){
  48. .megamenu>li>a {
  49. padding: 8px 16px;
  50. }
  51. }
  52. @media(max-width:800px){
  53. .megamenu>li>a {
  54. padding: 8px 8px;
  55. }
  56. }
  57. @media(max-width:768px){
  58. .megamenu>li{display:block;width:100%;border-bottom:solid 1px rgba(0,0,0,0.1);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
  59. .megamenu>li:hover,.megamenu>li.active{border-top:0}
  60. .megamenu>li>a{padding:15px 25px}
  61. .megamenu>li:hover>a,.megamenu>li.active>a{padding:15px 25px}
  62. .megamenu a{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
  63. .megamenu .dropdown,.megamenu .dropdown li .dropdown{width:100%;display:none;left:0;border-left:0;position:static;border:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}
  64. .megamenu .dropdown li{background:#fff!important;border:0}
  65. .megamenu .dropdown>li>a{padding-left:40px!important}
  66. .megamenu>li>.megapanel{position:static;margin-top:50px}
  67. .megapanel .row [class*="col"]{float:none;display:block;width:100%;margin-left:0;margin-top:15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}
  68. .megapanel .row:first-child [class*="col"]:first-child{margin-top:0}
  69. .megapanel .row{margin-top:0}.black{background:#222}
  70. .megamenu>li.showhide span.title {
  71. margin: 10px 0 0 15px;
  72. }
  73. .megamenu>li.showhide span.icon1:after {
  74. top: 12px;
  75. right:15px;
  76. }
  77. .megamenu>li.showhide span.icon2:after {
  78. top:23px;
  79. right:15px;
  80. }
  81. .megamenu>li.showhide {
  82. height: 40px;
  83. }
  84. }
  85. /* start megamenu colors */
  86. .skyblue li a.color1:hover{
  87. background:#EF5F21;
  88. color: #ffffff;
  89. }
  90. .skyblue li a.color2:hover{
  91. background:#589D3E;
  92. color: #ffffff;
  93. }
  94. .skyblue li a.color3:hover{
  95. background:#00ACED;
  96. color: #ffffff;
  97. }
  98. .skyblue li a.color4:hover{
  99. background:#D61F85;
  100. color: #ffffff;
  101. }
  102. .skyblue li a.color5:hover{
  103. background:#F89F1B;
  104. color: #ffffff;
  105. }
  106. .skyblue li a.color6:hover{
  107. background:#00677C;
  108. color: #ffffff;
  109. }
  110. .skyblue li a.color7:hover{
  111. background:#D5331D;
  112. color: #ffffff;
  113. }
  114. .skyblue li a.color8:hover{
  115. background:#00405d;
  116. color: #ffffff;
  117. }
  118. .skyblue li a.color9:hover{
  119. background:#9CB43A;
  120. color: #ffffff;
  121. }
  122. .skyblue li a.color10:hover{
  123. background:#26BC85;
  124. color: #ffffff;
  125. }
  126. /*-- responsive-design-starts-here --*/
  127. @media screen and (max-width: 1366px) {
  128. .megamenu>li>a {
  129. padding: 6px 15px;
  130. }
  131. .megamenu>li>.megapanel {
  132. top: 30px;
  133. }
  134. }
  135. @media screen and (max-width: 1280px) {
  136. .megamenu>li>a {
  137. padding: 6px 14px;
  138. }
  139. }
  140. @media screen and (max-width: 1024px) {
  141. .megamenu>li>a {
  142. padding: 6px 7px;
  143. }
  144. .megamenu>li>.megapanel {
  145. width: 111.2%;
  146. left: -50px;
  147. }
  148. }
  149. @media screen and (max-width: 800px) {
  150. .megamenu>li>a {
  151. padding: 6px 4px;
  152. }
  153. .megamenu>li>.megapanel {
  154. width: 100%;
  155. left: 3px;
  156. }
  157. }
  158. @media screen and (max-width: 768px) {
  159. .megapanel .row .col1, .megapanel .row .col2, .megapanel .row .col3, .megapanel .row .col4, .megapanel .row .col5, .megapanel .row .col6{
  160. min-height:0;
  161. }
  162. }