_general-style.less 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. @media screen and (min-width: 1209px) {
  2. .main-button {
  3. &:hover {
  4. background-color: #CDB092;
  5. }
  6. }
  7. .main-button--header {
  8. &:hover {
  9. background-color: #A52841;
  10. }
  11. }
  12. .main-button--white {
  13. &:hover {
  14. background-color: #F7F7F7;
  15. }
  16. }
  17. .general-more {
  18. &:hover {
  19. color: #1C1C1C;
  20. border-color: #CDB092;
  21. .icon-arrow-right {
  22. color: #CDB092;
  23. }
  24. }
  25. }
  26. .general-more--dark {
  27. &:hover {
  28. color: #ffffff;
  29. border-color: #CDB092;
  30. }
  31. }
  32. .breadcrumbs__item {
  33. &:hover {
  34. color: #CDB092;
  35. }
  36. }
  37. }
  38. /* General */
  39. * {
  40. margin: 0;
  41. padding: 0;
  42. box-sizing: border-box;
  43. -webkit-appearance: none;
  44. -moz-appearance: none;
  45. -ms-appearance: none;
  46. -o-appearance: none;
  47. appearance: none;
  48. }
  49. ul[class] {
  50. list-style: none;
  51. }
  52. ol[class] {
  53. list-style: none;
  54. }
  55. ul:not([class]), ol:not([class]) {
  56. padding-left: 17px;
  57. }
  58. img {
  59. max-width: 100%;
  60. max-height: 100%;
  61. vertical-align: top;
  62. }
  63. a {
  64. font: inherit;
  65. color: inherit;
  66. text-decoration: none;
  67. }
  68. textarea {
  69. font: inherit;
  70. color: inherit;
  71. outline: none;
  72. }
  73. input {
  74. font: inherit;
  75. color: inherit;
  76. outline: none;
  77. }
  78. button {
  79. font: inherit;
  80. color: inherit;
  81. text-transform: inherit;
  82. outline: none;
  83. border: none;
  84. background: none;
  85. cursor: pointer;
  86. }
  87. input[type=number]::-webkit-inner-spin-button {
  88. -webkit-appearance: none;
  89. -moz-appearance: none;
  90. -ms-appearance: none;
  91. -o-appearance: none;
  92. appearance: none;
  93. }
  94. input[type=date]::-webkit-inner-spin-button {
  95. -webkit-appearance: none;
  96. -moz-appearance: none;
  97. -ms-appearance: none;
  98. -o-appearance: none;
  99. appearance: none;
  100. }
  101. html {
  102. overflow-x: hidden;
  103. -webkit-overflow-scrolling: touch;
  104. }
  105. html.overflow {
  106. height: auto;
  107. position: relative;
  108. overflow: hidden !important;
  109. margin-right: 17px;
  110. }
  111. body {
  112. display: flex;
  113. flex-direction: column;
  114. overflow: hidden;
  115. min-width: 320px;
  116. min-height: 100vh;
  117. font-family: "Basis Grotesque Pro";
  118. font-weight: 400;
  119. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  120. -webkit-overflow-scrolling: touch;
  121. -webkit-font-smoothing: antialiased;
  122. -moz-osx-font-smoothing: grayscale;
  123. color: #1C1C1C;
  124. background-color: #ffffff;
  125. }
  126. main {
  127. position: relative;
  128. }
  129. .container {
  130. max-width: 1280px;
  131. width: 100%;
  132. padding: 0px 55px;
  133. margin: 0px auto;
  134. }
  135. .main-button {
  136. display: flex;
  137. justify-content: center;
  138. align-items: center;
  139. font-weight: 500;
  140. font-size: 13px;
  141. line-height: 17px;
  142. letter-spacing: 0.05em;
  143. text-transform: uppercase;
  144. color: #ffffff;
  145. max-width: 190px;
  146. width: 100%;
  147. height: 53px;
  148. background-color: #AD957C;
  149. transition: background-color .4s;
  150. }
  151. .main-button--header {
  152. font-size: 10px;
  153. max-width: 142px;
  154. height: 40px;
  155. background-color: #561623;
  156. }
  157. .main-button--white {
  158. color: #1C1C1C;
  159. background-color: transparent;
  160. border: 1px solid #AD957C;
  161. }
  162. .general-header {
  163. display: flex;
  164. flex-direction: column;
  165. align-items: center;
  166. text-align: center;
  167. margin-bottom: 40px;
  168. }
  169. .general-header__icon {
  170. display: block;
  171. width: 37px;
  172. height: 31px;
  173. background-size: contain;
  174. background-position: center;
  175. background-repeat: no-repeat;
  176. margin-bottom: 15px;
  177. }
  178. .main-caption-l {
  179. font-family: "Cochin", serif;
  180. font-weight: bold;
  181. font-size: 36px;
  182. line-height: 42px;
  183. letter-spacing: 0.05em;
  184. text-transform: uppercase;
  185. color: #1C1C1C;
  186. }
  187. .main-caption-s {
  188. font-family: "Cochin", serif;
  189. font-weight: 700;
  190. font-size: 24px;
  191. line-height: 28px;
  192. letter-spacing: 0.05em;
  193. text-transform: uppercase;
  194. }
  195. .main-caption-m {
  196. font-family: "Cochin", serif;
  197. font-weight: 700;
  198. font-size: 28px;
  199. line-height: 33px;
  200. letter-spacing: 0.05em;
  201. text-transform: uppercase;
  202. }
  203. .general-more {
  204. font-weight: 500;
  205. font-size: 12px;
  206. line-height: 15px;
  207. letter-spacing: 0.05em;
  208. text-transform: uppercase;
  209. color: #333333;
  210. padding: 0px 0px 8px 8px;
  211. border-bottom: 1px solid #AD957C;
  212. position: relative;
  213. z-index: 1;
  214. transition: color .4s, border-color .4s;
  215. &::before {
  216. content: "";
  217. position: absolute;
  218. left: 0px;
  219. top: 0px;
  220. width: 12px;
  221. height: 15px;
  222. background-color: #E0E0E0;
  223. z-index: -1;
  224. }
  225. .icon-arrow-right {
  226. font-size: 8px;
  227. color: #AD957C;
  228. transition: color .4s;
  229. margin-left: 7px;
  230. }
  231. }
  232. .general-more--dark {
  233. color: #FFFFFF;
  234. &::before {
  235. background-color: #561623;
  236. }
  237. }
  238. .main-input__wrapper {
  239. display: block;
  240. width: 100%;
  241. margin-bottom: 20px;
  242. position: relative;
  243. &:last-of-type {
  244. margin-bottom: 0px;
  245. }
  246. .error-text {
  247. position: absolute;
  248. left: 0px;
  249. bottom: -18px;
  250. font-size: 12px;
  251. line-height: 120%;
  252. color: #A52841;
  253. visibility: hidden;
  254. }
  255. }
  256. .main-input {
  257. width: 100%;
  258. height: 30px;
  259. font-size: 14px;
  260. line-height: 18px;
  261. padding-bottom: 10px;
  262. border: none;
  263. background: none;
  264. border-bottom: 1px solid #E0E0E0;
  265. transition: border-color .4s;
  266. &::placeholder {
  267. font-size: 14px;
  268. line-height: 18px;
  269. color: #AD957C;
  270. }
  271. &:focus {
  272. border-color: #CDB092;
  273. }
  274. &:disabled::placeholder {
  275. color: #E0E0E0;
  276. }
  277. &.active {
  278. border-color: #AD957C;
  279. }
  280. &.error {
  281. border-color: #A52841;
  282. + .error-text {
  283. visibility: visible;
  284. }
  285. }
  286. }
  287. .icon-phone {
  288. font-size: 15px;
  289. margin-right: 12px;
  290. }
  291. .icon-place {
  292. font-size: 16px;
  293. margin-right: 15px;
  294. }
  295. .icon-email {
  296. font-size: 12px;
  297. margin-right: 12px;
  298. }
  299. /* Breadcrumbs */
  300. .breadcrumbs {
  301. margin: 42px 0px;
  302. }
  303. .breadcrumbs__list {
  304. display: flex;
  305. align-items: center;
  306. font-size: 14px;
  307. line-height: 14px;
  308. }
  309. .breadcrumbs__item {
  310. margin-right: 25px;
  311. position: relative;
  312. transition: color .4s;
  313. &::before {
  314. content: "";
  315. position: absolute;
  316. right: -13px;
  317. top: 50%;
  318. transform: translateY(-50%);
  319. width: 4px;
  320. height: 4px;
  321. background-color: #AD957C;
  322. }
  323. &:last-child {
  324. color: #BDBDBD;
  325. pointer-events: none;
  326. &::before {
  327. display: none;
  328. }
  329. }
  330. }
  331. /* //Breadcrumbs */
  332. /* Seo block */
  333. .seo-block {
  334. margin-bottom: 100px;
  335. }
  336. .seo-block__content {
  337. font-size: 16px;
  338. line-height: 150%;
  339. h5 {
  340. font-size: 16px;
  341. line-height: 150%;
  342. margin-bottom: 10px;
  343. }
  344. p {
  345. margin-bottom: 30px;
  346. &:last-child {
  347. margin-bottom: 0px;
  348. }
  349. }
  350. }
  351. /* //Seo block */
  352. @media screen and (max-width: 1280px) {
  353. .container {
  354. max-width: 1210px;
  355. padding: 0px 20px;
  356. }
  357. }
  358. @media screen and (max-width: 1210px) {
  359. html.overflow {
  360. margin-right: 0px;
  361. }
  362. .container {
  363. max-width: 400px;
  364. padding: 0px 20px;
  365. }
  366. .main-caption-l {
  367. font-size: 24px;
  368. line-height: 28px;
  369. }
  370. .main-caption-s {
  371. font-size: 20px;
  372. line-height: 23px;
  373. }
  374. .general-header {
  375. margin-bottom: 30px;
  376. }
  377. /* Seo block */
  378. .seo-block {
  379. margin-bottom: 50px;
  380. }
  381. }