_mobile.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. @media screen and (max-width: 1450px) {
  2. html{
  3. font-size: 13px;
  4. }
  5. }
  6. @media screen and (max-width: 1000px) {
  7. .blog, .home{
  8. #item{
  9. .card:nth-child(5n+1){
  10. width: 100%!important;
  11. }
  12. }
  13. }
  14. .slider{
  15. width: 100%!important;
  16. }
  17. .item{
  18. width: 100%!important;
  19. .item_content{
  20. width: 100%!important;
  21. flex-direction: column;
  22. .side{
  23. padding-left: 0!important;
  24. }
  25. }
  26. }
  27. .default, .event{
  28. #body-wrapper{
  29. .item {
  30. .item_content{
  31. width: 100%!important;
  32. }
  33. }
  34. }
  35. }
  36. .archives, .news{
  37. #body-wrapper{
  38. width: 100%!important;
  39. .card{
  40. width: calc(50% - 1.4rem)!important;
  41. margin: 0!important;
  42. &:nth-child(even){
  43. margin: 0 1.4rem!important;
  44. }
  45. }
  46. }
  47. }
  48. #top{
  49. &.modular{
  50. .visit-us{
  51. #body-wrapper{
  52. width: 100%!important;
  53. }
  54. }
  55. }
  56. }
  57. .form{
  58. section{
  59. &#body-wrapper{
  60. #custom-form{
  61. width: 100%!important;
  62. .form-field{
  63. &:nth-child(1){
  64. grid-column: 1 / 4;
  65. grid-row: 1;
  66. }
  67. &:nth-child(2){
  68. grid-column: 4 / 7;
  69. grid-row: 1;
  70. }
  71. &:nth-child(3){
  72. grid-column: 1 / 4;
  73. grid-row: 2;
  74. }
  75. &:nth-child(4){
  76. grid-column: 4 / 7;
  77. grid-row: 2;
  78. }
  79. &:nth-child(5){
  80. grid-column: 1 / 4;
  81. grid-row: 3;
  82. }
  83. &:nth-child(6){
  84. grid-column: 4 / 7;
  85. grid-row: 3;
  86. }
  87. &:nth-child(7){
  88. grid-column: 1 / 4;
  89. grid-row: 4;
  90. }
  91. &:nth-child(8){
  92. grid-column: 4 / 7;
  93. grid-row: 4;
  94. }
  95. &:nth-child(9){
  96. grid-column: 1 / 7;
  97. grid-row: 5;
  98. }
  99. &:nth-child(10){
  100. grid-column: 1/ 7;
  101. grid-row: 6/8;
  102. }
  103. }
  104. .buttons{
  105. grid-column: 1/ 1;
  106. grid-row: 8;
  107. }
  108. }
  109. }
  110. }
  111. }
  112. }
  113. @media screen and (max-width: 768px) {
  114. h2{
  115. font-size: 3.5rem;
  116. line-height: 3.5rem;
  117. }
  118. .item{
  119. .item_title{
  120. margin-bottom: 2rem!important;
  121. }
  122. }
  123. .blog, .home{
  124. #item{
  125. .card{
  126. width: 100%!important;
  127. &:nth-child(5n+1){
  128. .card-header{
  129. margin-bottom: 2rem;
  130. }
  131. h5{
  132. font-size: 3.5rem;
  133. line-height: 3.7rem;
  134. }
  135. time{
  136. font-size: 3.5rem;
  137. line-height: 3.7rem;
  138. }
  139. }
  140. }
  141. }
  142. }
  143. #top{
  144. &.modular{
  145. .visit-us{
  146. #body-wrapper{
  147. width: 100%!important;
  148. .map_container{
  149. width: 100%!important;
  150. .map_content{
  151. width: 100%!important;
  152. }
  153. }
  154. }
  155. }
  156. .press{
  157. #body-wrapper{
  158. width: 100%!important;
  159. }
  160. }
  161. }
  162. }
  163. .newsletter .mc-field-group input{
  164. min-width: 340px!important;
  165. text-overflow: ellipsis!important;
  166. }
  167. footer{
  168. &>div{
  169. width: 100%!important;
  170. margin-bottom: 20px!important;
  171. }
  172. }
  173. .search-results{
  174. .results{
  175. display: block!important;
  176. .search-row{
  177. width: 100%!important;
  178. padding: 0!important;
  179. margin-bottom: 10px;
  180. }
  181. }
  182. }
  183. }
  184. @media screen and (max-width: 440px) {
  185. header{
  186. .desktop-menu{
  187. ul{
  188. li{
  189. ul{
  190. li{
  191. a{
  192. line-height: 2rem!important;
  193. }
  194. }
  195. }
  196. }
  197. }
  198. }
  199. }
  200. .home, .blog{
  201. #item{
  202. .card{
  203. margin-bottom: 3rem!important;
  204. .card-header{
  205. margin-bottom: 1rem!important;
  206. .card-cat{
  207. margin-bottom: 0rem;
  208. font-size: 1rem!important;
  209. line-height: 1rem!important;
  210. span{
  211. font-size: 1rem!important;
  212. line-height: 1rem!important;
  213. }
  214. }
  215. .card-title{
  216. h5{
  217. font-size: 2rem!important;
  218. line-height: 2rem!important;
  219. }
  220. span{
  221. font-size: 2rem!important;
  222. line-height: 2rem!important;
  223. }
  224. }
  225. }
  226. .card-date{
  227. font-size: 2rem!important;
  228. line-height: 2rem!important;
  229. time{
  230. font-size: 2rem!important;
  231. line-height: 2rem!important;
  232. }
  233. }
  234. }
  235. }
  236. }
  237. p{
  238. font-size: 1rem;
  239. line-height: 1.3rem;
  240. }
  241. h3{
  242. font-size: 1.6rem;
  243. }
  244. .blog{
  245. .current-upcoming, .upcoming{
  246. .card-image{
  247. width: calc(100% + 1.4rem)!important;
  248. margin-left: - 0.7rem!important;
  249. }
  250. }
  251. }
  252. #top{
  253. &.archives, .news{
  254. #body-wrapper {
  255. #item{
  256. .card{
  257. margin: 0 0 3rem 0!important;
  258. .card-cat{
  259. span{
  260. font-size: 1rem;
  261. }
  262. }
  263. }
  264. .card-image{
  265. width: calc(100% + 1.4rem)!important;
  266. margin-left: -0.7rem!important;
  267. }
  268. .card:nth-child(3n+2){
  269. margin: 0 0 3rem 0rem!important;
  270. .card-image{
  271. width: calc(100% + 1.4rem)!important;
  272. }
  273. }
  274. }
  275. }
  276. }
  277. }
  278. .item{
  279. margin-bottom: 3rem!important;
  280. width: 100%!important;
  281. .item_title{
  282. margin-bottom: 1rem!important;
  283. }
  284. .item_img{
  285. margin-bottom: 1rem!important;
  286. }
  287. .item_content{
  288. width: 100%!important;
  289. }
  290. .item_date{
  291. font-size: 1.5rem!important;
  292. }
  293. }
  294. .card-lieux{
  295. font-size: 1rem;
  296. }
  297. .slider{
  298. width: calc(100% + 1.4rem)!important;
  299. margin: 0 0 0 -0.7rem!important;
  300. .slick-list .slick-track .slick-slide div img{
  301. padding-bottom: 3rem!important;
  302. }
  303. }
  304. .caption{
  305. font-size: 1rem!important;
  306. margin-top: -3rem!important;
  307. }
  308. .events{
  309. h2{
  310. font-size: 2rem;
  311. line-height: 2rem;
  312. span{
  313. font-size: 2rem;
  314. line-height: 2rem;
  315. }
  316. }
  317. }
  318. .form section#body-wrapper{
  319. form{
  320. width: 100%!important;
  321. }
  322. width: 100%!important;
  323. #custom-form{
  324. display: block;
  325. .form-field{
  326. margin-bottom: 2rem;
  327. &:nth-child(9){
  328. display: block;
  329. .form-data{
  330. flex-direction: column;
  331. .radio{
  332. margin-top: 10px;
  333. }
  334. }
  335. }
  336. }
  337. .form-field:nth-child(10) textarea{
  338. min-height: 200px;
  339. }
  340. }
  341. }
  342. #top{
  343. &.modular{
  344. .press{
  345. #body-wrapper{
  346. width: 100%!important;
  347. .card{
  348. flex-direction: column;
  349. }
  350. }
  351. }
  352. .visit-us{
  353. section:not(:nth-last-child(1)){
  354. margin-bottom: 3rem;
  355. }
  356. #body-wrapper{
  357. width: 100%!important;
  358. .list_card{
  359. .map_content{
  360. flex-direction: column;
  361. &> div{
  362. width: 100%!important;
  363. .img{
  364. width: 100%!important;
  365. height: auto!important;
  366. img{
  367. width: 100%!important;
  368. height: auto!important;
  369. }
  370. }
  371. }
  372. }
  373. .map_header{
  374. margin-bottom: 1rem!important;
  375. }
  376. }
  377. }
  378. .adress{
  379. span{
  380. font-size: 1rem!important;
  381. }
  382. }
  383. .open{
  384. time{
  385. display: block;
  386. font-size: 1rem!important;
  387. }
  388. }
  389. }
  390. }
  391. }
  392. footer{
  393. font-size: 1.2rem;
  394. line-height: 1.3rem;
  395. margin-top: 3rem!important;
  396. p{
  397. font-size: 1.2rem;
  398. line-height: 1.3rem;
  399. margin: 0;
  400. }
  401. & > div{
  402. width: 100%!important;
  403. min-width: auto!important;
  404. margin: 10px 0;
  405. &.partenair{
  406. .logo{
  407. height: 20px!important;
  408. }
  409. }
  410. }
  411. }
  412. body{
  413. margin: 0 0.7rem!important;
  414. header#header{
  415. position: fixed!important;
  416. z-index: 999;
  417. .logo{
  418. left: 0.7rem!important;
  419. top: 1rem!important;
  420. width: 100%;
  421. transform: translate(0) rotate(0deg)!important;
  422. a{
  423. width: 80%;
  424. display: block;
  425. img{
  426. width: 15rem;
  427. }
  428. }
  429. }
  430. .desktop-menu{
  431. display:none;
  432. .dropmenu{
  433. & > ul {
  434. & > li {
  435. &:hover{
  436. & > ul{
  437. position: relative!important;
  438. }
  439. }
  440. }
  441. }
  442. }
  443. }
  444. }
  445. .mobile-menu{
  446. display: block!important;
  447. z-index: 999;
  448. position: fixed;
  449. right: 0.7rem;
  450. top: 1rem;
  451. .close{
  452. display:none;
  453. }
  454. .open{
  455. display: block;
  456. }
  457. }
  458. &.mobile-nav-open{
  459. header{
  460. .desktop-menu{
  461. display: block!important;
  462. position: fixed;
  463. top: 0;
  464. left: 0;
  465. width: 100%;
  466. height: 100%;
  467. background: white;
  468. .dropmenu{
  469. margin: 6rem auto 0 0.7rem;
  470. }
  471. ul{
  472. display: block!important;
  473. li{
  474. a{
  475. font-size: 2rem;
  476. line-height: 4rem;
  477. }
  478. }
  479. }
  480. }
  481. }
  482. .mobile-menu{
  483. .open{
  484. display:none;
  485. }
  486. .close{
  487. display:block;
  488. }
  489. }
  490. }
  491. }
  492. #start{
  493. #body-wrapper{
  494. margin-top: 2rem;
  495. padding-top: 0rem!important;
  496. #item{
  497. .card{
  498. width: 100%!important;
  499. padding-right: 0!important;
  500. padding-left: 0!important;
  501. .card-header{
  502. .card-title{
  503. h5{
  504. a{
  505. font-size: 2.3rem!important;
  506. line-height: 2.5rem!important;
  507. }
  508. }
  509. }
  510. .card-date{
  511. // font-size: 2.4rem!important;
  512. // line-height: 2.5rem!important;
  513. }
  514. }
  515. }
  516. }
  517. }
  518. }
  519. .events{
  520. #start{
  521. margin-top: 8rem;
  522. }
  523. }
  524. .content-item{
  525. width: 100%!important;
  526. h2{
  527. font-size: 2.3rem;
  528. line-height: 2.5rem;
  529. }
  530. .slider{
  531. margin-left: -0.7rem;
  532. width: 100vw;
  533. .caption{
  534. margin-left: 0.7rem;
  535. }
  536. }
  537. .e-content{
  538. width: 100%!important;
  539. }
  540. }
  541. #start{
  542. &.home{
  543. margin-top: 8rem;
  544. }
  545. margin-top: 4rem;
  546. #body-wrapper{
  547. }
  548. }
  549. .default{
  550. #start{
  551. section{
  552. &#body-wrapper{
  553. margin-top: 6rem;
  554. h2{
  555. font-size: 2.3rem;
  556. line-height: 2.5rem;
  557. }
  558. width: 100%!important;
  559. p{
  560. width: 100%;
  561. }
  562. }
  563. }
  564. }
  565. }
  566. .archives section#body-wrapper, .news section#body-wrapper{
  567. width: 100%!important;
  568. #item{
  569. margin-left: 0!important;
  570. }
  571. }
  572. .modular{
  573. #body-wrapper.blog-listing{
  574. margin-top: 8rem!important;
  575. #item{
  576. flex-direction: column;
  577. .content-warp{
  578. flex-direction: column;
  579. & > div{
  580. width: 100%!important;
  581. padding: 0!important;
  582. margin-bottom: 2rem;
  583. }
  584. }
  585. }
  586. }
  587. h2{
  588. font-size: 2.3rem;
  589. }
  590. #start #body-wrapper .list_press{
  591. width: 100%!important;
  592. flex-direction: column;
  593. .date{
  594. margin-bottom: 0.5rem;
  595. }
  596. }
  597. }
  598. footer{
  599. flex-direction: column;
  600. & > div{
  601. margin-bottom: 1rem;
  602. }
  603. }
  604. }