adaptation.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. header ul .link_active {
  2. padding-top: 2px;
  3. display: flex;
  4. flex-direction: column;
  5. justify-content: space-between;
  6. }
  7. header ul .link_active img {
  8. position: relative;
  9. top: 14px;
  10. }
  11. header ul .link_active a{
  12. font-weight: 600;
  13. color: #11344C;
  14. }
  15. /* адаптация */
  16. @media all and (max-width: 1460px){
  17. /* (((((((((((((((((( */
  18. .container {
  19. width: 1146px;
  20. }
  21. .header__container {
  22. width: 1146px;
  23. }
  24. .contact-form-container {
  25. margin-left: 30px;
  26. }
  27. }
  28. @media all and (max-width: 1240px) {
  29. .header__container {
  30. position: relative;
  31. top: 6px;
  32. max-width: 98%;
  33. }
  34. .user_image {
  35. display: none;
  36. }
  37. .logo_hidden, .menu-burger__header {
  38. display: flex;
  39. }
  40. .link_active img {
  41. display: none;
  42. }
  43. .header__nav {
  44. font-size: 14px;
  45. }
  46. ul.menu {
  47. margin: 0;
  48. margin-left: 20px;
  49. }
  50. ul.menu li {
  51. margin: 0;
  52. margin-bottom: 16px;
  53. padding: 0;
  54. }
  55. header ul .link_active a{
  56. font-weight:lighter;
  57. color: #000;
  58. }
  59. .line_hidden {
  60. display: block;
  61. }
  62. .user {
  63. display: flex;
  64. justify-content: center;
  65. margin-left: 20px;
  66. margin-top: 19px;
  67. margin-bottom: 15px;
  68. }
  69. .user img {
  70. margin-right: 10px;
  71. }
  72. .header__nav {
  73. display: block;
  74. position: absolute;
  75. top: 45px;
  76. right: 0;
  77. background: #fff;
  78. width: 177px;
  79. transition: all 0.4s ease;
  80. right:-100%;
  81. border: 1px solid #C4C4C4;
  82. border-radius: 6px;
  83. padding-right: 10px;
  84. }
  85. .header__menu {
  86. display: block;
  87. }
  88. .header__nav.open-menu{
  89. right:0;
  90. }
  91. .header__menu li {
  92. margin: 40px 0px 40px 33px;
  93. font-size: 14px;
  94. }
  95. .menu-burger__header {
  96. position: relative;
  97. width: 40px;
  98. height: 35px;
  99. display: block;
  100. margin-left: 10px;
  101. }
  102. .menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
  103. height: 3px;
  104. width: 100%;
  105. position: absolute;
  106. background: #11344C;
  107. margin: 0 auto;
  108. border-radius: 10px;
  109. }
  110. .menu-burger__header span{
  111. top: 16px;
  112. }
  113. .menu-burger__header:after, .menu-burger__header:before{
  114. content: '';
  115. }
  116. .menu-burger__header:after{
  117. bottom: 5px;
  118. }
  119. .menu-burger__header:before{
  120. top: 5px;
  121. }
  122. .menu-burger__header.open-menu span {
  123. opacity:0;
  124. transition: 0.5s;
  125. }
  126. .menu-burger__header.open-menu:before {
  127. transform: rotate(38deg);
  128. top: 16px;
  129. transition: 0.4s;
  130. }
  131. .menu-burger__header.open-menu:after {
  132. transform: rotate(-38deg);
  133. bottom: 16px;
  134. transition: 0.4s;
  135. }
  136. header {
  137. height: 60px;
  138. }
  139. .content-wrapper {
  140. margin-top: 48px;
  141. }
  142. .fixed-pade {
  143. overflow: hidden;
  144. }
  145. .link_active {
  146. display: none;
  147. }
  148. .container {
  149. /* margin-left: 40px; */
  150. margin-right: auto;
  151. max-width: 87%;
  152. }
  153. .header__container {
  154. margin-right: auto;
  155. margin-left: auto;
  156. max-width: 96%;
  157. }
  158. .filters-container {
  159. width: 535px;
  160. }
  161. .filters-container .filter {
  162. margin-bottom: 40px;
  163. }
  164. .form-container {
  165. display: flex;
  166. justify-content: center;
  167. flex-wrap: wrap;
  168. margin-top: 40px;
  169. }
  170. .wrapper {
  171. display: grid;
  172. grid-template-columns: 454px;
  173. font-size: 14px;
  174. }
  175. .btn, .contact-btn, .form-btn, .contact-form-btn {
  176. margin-left: auto;
  177. margin-right: auto;
  178. }
  179. }
  180. @media all and (max-width: 960px) {
  181. .form-container {
  182. display: flex;
  183. justify-content: center;
  184. flex-wrap: wrap;
  185. margin-top: 40px;
  186. }
  187. .wrapper {
  188. display: grid;
  189. grid-template-columns: 454px;
  190. font-size: 14px;
  191. }
  192. .wrapper-active {
  193. grid-template-columns: 454px;
  194. font-size: 14px;
  195. }
  196. .form-input{
  197. margin-top: 10px;
  198. margin-bottom: 15px;
  199. }
  200. .wrapper div.select, .wrapper-active div.select {
  201. margin: 0;
  202. margin-top: 10px;
  203. margin-bottom: 15px;
  204. font-weight: 600;
  205. }
  206. div.lable {
  207. text-align: start;
  208. margin-top: 0px;
  209. margin-bottom: 0px;
  210. }
  211. .lable p {
  212. padding: 0px;
  213. }
  214. .contact-form-container {
  215. margin-left: 0px;
  216. }
  217. .contact-form {
  218. display: grid;
  219. grid-template-columns: 1px 454px;
  220. font-size: 14px;
  221. grid-template-rows: 49px 49px 49px 150px 0px 0px 0px 0px;
  222. }
  223. .contact-form-active {
  224. display: none;
  225. grid-template-columns: 281px;
  226. font-size: 14px;
  227. grid-template-rows: 0px 49px 19px 59px 19px 36px 0px 115px;
  228. }
  229. .btn, .contact-btn, .form-btn, .contact-form-btn {
  230. margin-left: auto;
  231. margin-right: auto;
  232. }
  233. }
  234. /* ipad mini 8.3 */
  235. @media all and (max-width: 744px) and (min-width: 565px) {
  236. /* .container {
  237. width: fit-content;
  238. } */
  239. .filters-container {
  240. width: 535px;
  241. }
  242. .filters-container .filter {
  243. margin-bottom: 40px;
  244. }
  245. footer .container{
  246. display: block;
  247. }
  248. footer ul {
  249. display: block;
  250. margin-top: 32px;
  251. margin-bottom: 16px;
  252. }
  253. footer ul li{
  254. display: flex;
  255. margin: 0;
  256. margin-bottom: 16px;
  257. }
  258. footer {
  259. height: 190px;
  260. }
  261. .form-container {
  262. display: flex;
  263. justify-content: center;
  264. flex-wrap: wrap;
  265. margin-top: 40px;
  266. }
  267. .wrapper {
  268. display: grid;
  269. grid-template-columns: 454px;
  270. font-size: 14px;
  271. }
  272. .wrapper-active {
  273. grid-template-columns: 454px;
  274. font-size: 14px;
  275. }
  276. .form-input{
  277. margin-top: 10px;
  278. margin-bottom: 15px;
  279. }
  280. .wrapper div.select, .wrapper-active div.select {
  281. margin: 0;
  282. margin-top: 10px;
  283. margin-bottom: 15px;
  284. font-weight: 600;
  285. }
  286. div.lable {
  287. text-align: start;
  288. margin-top: 0px;
  289. margin-bottom: 0px;
  290. }
  291. .lable p {
  292. padding: 0px;
  293. }
  294. .contact-form-container {
  295. margin-left: 0px;
  296. }
  297. .contact-form {
  298. display: grid;
  299. grid-template-columns: 1px 454px;
  300. font-size: 14px;
  301. grid-template-rows: 49px 49px 49px 150px 0px 0px 0px 0px;
  302. }
  303. .contact-form-active {
  304. display: none;
  305. grid-template-columns: 281px;
  306. font-size: 14px;
  307. grid-template-rows: 0px 49px 19px 59px 19px 36px 0px 115px;
  308. }
  309. .btn, .contact-btn, .form-btn, .contact-form-btn {
  310. margin-left: auto;
  311. margin-right: auto;
  312. }
  313. }
  314. @media all and (max-width: 565px) {
  315. .container {
  316. margin-left: auto;
  317. margin-right: auto;
  318. width: 575px;
  319. }
  320. .filters-container {
  321. width: 247px;
  322. margin-right: auto;
  323. margin-left: auto;
  324. margin-top: 95px;
  325. }
  326. .filters-container .filter {
  327. margin-bottom: 19px;
  328. }
  329. div.scrollmenu {
  330. overflow: auto;
  331. white-space: nowrap;
  332. }
  333. footer .container{
  334. display: block;
  335. }
  336. footer ul {
  337. display: block;
  338. margin-top: 32px;
  339. margin-bottom: 16px;
  340. }
  341. footer ul li{
  342. display: flex;
  343. margin: 0;
  344. margin-bottom: 16px;
  345. }
  346. footer {
  347. height: 190px;
  348. }
  349. }