media.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. .navigation__mobileButton {
  2. display: none;
  3. }
  4. @media (max-width: 1300px) {
  5. .search-result-2 {
  6. .personals__title .personals__name {
  7. font-size: 14px;
  8. }
  9. .personals__description, .personals__category {
  10. font-size: 12px;
  11. }
  12. }
  13. }
  14. @media (max-width: 1220px) {
  15. .uslugi {
  16. .specsingle--leftlinks--item {
  17. width: 100%;
  18. }
  19. .search-result-2 {
  20. width: 100%;
  21. display: block;
  22. }
  23. .grid-dis-row {
  24. max-width: 100%;
  25. }
  26. .grid-col-2 {
  27. width: 50%;
  28. }
  29. }
  30. }
  31. @media (min-width: 960px) and (max-width: 1220px) {
  32. .wrapper--content {
  33. display: block;
  34. }
  35. .leftbar {
  36. width: 100%;
  37. max-width: 230px;
  38. vertical-align: top;
  39. display: inline-block;
  40. margin-right: 20px;
  41. }
  42. .centerbar {
  43. width: calc(100% - 260px);
  44. display: inline-block;
  45. vertical-align: top;
  46. }
  47. }
  48. @media screen and (max-width: 960px) {
  49. .navigation__mobileButton {
  50. display: -webkit-flex;
  51. display: -ms-flex;
  52. display: flex;
  53. flex-direction: row;
  54. justify-content: flex-start;
  55. align-items: center;
  56. margin-right: 4%;
  57. }
  58. .navigation__mobileButton img {
  59. height: 32px;
  60. }
  61. .header .floatmenu {
  62. display: none;
  63. position: absolute;
  64. right: 0;
  65. top: 70px;
  66. background: #3b434d;
  67. }
  68. .header.inner .floatmenu {
  69. display: none;
  70. position: absolute;
  71. right: 0;
  72. top: 50px;
  73. background: #3b434d;
  74. }
  75. .header .floatmenu .floatmenu__list {
  76. display: block;
  77. padding: 10px;
  78. }
  79. .header .floatmenu .floatmenu__list .floatmenu__link {
  80. line-height: 30px;
  81. }
  82. .region__selection-box {
  83. width: auto;
  84. right: 0;
  85. top: 50px;
  86. }
  87. .region-selection__box:before {
  88. left: 78%;
  89. }
  90. }
  91. @media (min-width: 641px) and (max-width: 960px) {
  92. .wrapper--content {
  93. display: block;
  94. }
  95. .leftbar {
  96. width: 100%;
  97. max-width: 230px;
  98. display: inline-block;
  99. margin-right: 20px;
  100. }
  101. .centerbar {
  102. width: calc(100% - 260px);
  103. display: inline-block;
  104. vertical-align: top;
  105. }
  106. .grid-dis-col-33:last-child, .grid-dis-col-66:last-child, .grid-dis-col-1:last-child {
  107. width: 100%;
  108. margin-top: 15px !important;
  109. max-width: 100%;
  110. }
  111. .doctors__photo {
  112. margin: 0 auto;
  113. }
  114. .organization-info__vrach-img {
  115. max-width: 270px;
  116. margin: 0 auto;
  117. }
  118. .wrapper--footer {
  119. display: block !important;
  120. }
  121. .footer__logo {
  122. display: inline-block;
  123. margin-left: 10px;
  124. }
  125. .copyright {
  126. display: inline-block;
  127. width: calc(100% - 140px);
  128. margin-right: 0;
  129. }
  130. .copyright span {
  131. display: block;
  132. }
  133. .aferta {
  134. display: block;
  135. width: calc(100% - 20px);
  136. margin:0 10px;
  137. }
  138. .footer__right {
  139. display: block;
  140. width: calc(100% - 20px);
  141. margin:0 10px;
  142. }
  143. .footer__right .mainlinks {
  144. display: block;
  145. }
  146. .footer__right .mainlinks li {
  147. display: inline-block;
  148. }
  149. .category__list {
  150. display: block;
  151. }
  152. .category li, .category__item {
  153. width: 47%;
  154. display: inline-block;
  155. text-align: center;
  156. }
  157. .slogan__text {
  158. font-size: 14px;
  159. }
  160. .region__name {
  161. display: none;
  162. }
  163. }
  164. @media screen and (max-width: 641px) {
  165. .uslugi .leftbar {
  166. display: block !important;
  167. width: 100%;
  168. max-width: 100%;
  169. }
  170. }
  171. @media screen and (max-width: 640px) {
  172. .specialization-selection__container {
  173. column-count: 2;
  174. }
  175. .category li, .category__item {
  176. width: 47%;
  177. display: inline-block;
  178. text-align: center;
  179. }
  180. .category a, .category__link {
  181. line-height: 30px;
  182. display: block;
  183. margin-right: 0px;
  184. font-size: 15px;
  185. }
  186. .grid-dis-row {
  187. max-width: 100%;
  188. margin: 0 auto;
  189. width: 100%;
  190. }
  191. .grid-dis-col-1 {
  192. width: 100%;
  193. max-width: 320px;
  194. }
  195. .calendinfo {
  196. text-align: center;
  197. }
  198. .maintitle {
  199. display: block;
  200. height: auto;
  201. padding: 10px 0;
  202. border-radius: 10px;
  203. }
  204. .trailernews {
  205. display: block;
  206. }
  207. .trailernews__textcase {
  208. display: block;
  209. width: 100%;
  210. }
  211. .trailernews__details {
  212. display: block;
  213. height: auto;
  214. width: 100%;
  215. }
  216. .trailernews__left, .trailernews__right {
  217. display: block;
  218. width: 100%;
  219. height: auto;
  220. line-height: 20px;
  221. }
  222. .trailernews__views {
  223. width: 10%;
  224. display: inline-block;
  225. }
  226. .trailernews__comments {
  227. width: 40%;
  228. display: inline-block;
  229. }
  230. .trailernews__imgc {
  231. width: 100%;
  232. margin: 0 auto;
  233. text-align: center;
  234. max-width: none;
  235. height: auto;
  236. max-height: none;
  237. }
  238. .trailernews__imgcase {
  239. margin: 0 auto;
  240. }
  241. .videorow {
  242. display: block;
  243. }
  244. .videorow__item {
  245. width: 100%;
  246. display: block;
  247. margin: 10px auto;
  248. }
  249. .region__name {
  250. display: none;
  251. }
  252. .slogan__text {
  253. display: none;
  254. }
  255. .category li, .category__item {
  256. width: 47%;
  257. display: inline-block;
  258. }
  259. .category__list {
  260. display: block;
  261. }
  262. .centerbar {
  263. width: 100%;
  264. }
  265. .special-items__item {
  266. width: 320px;
  267. margin: 15px auto;
  268. }
  269. .logo--header {
  270. width: 185px;
  271. }
  272. .logo--header .logo__img {
  273. width: 175px;
  274. }
  275. .region__section-box {
  276. width: 300px;
  277. }
  278. .region__section__items-list {
  279. display: block;
  280. width: calc(100% - 20px);
  281. }
  282. .search-float {
  283. display: none !important;
  284. }
  285. .leftbar {
  286. display: none !important;
  287. }
  288. .doctors__photo {
  289. margin: 0 auto;
  290. }
  291. .organization-info__vrach-img {
  292. max-width: 270px;
  293. margin: 0 auto;
  294. }
  295. .organization-info__container .vrach-info{
  296. margin: 15px 0;
  297. min-height: auto;
  298. }
  299. .grid-dis-col-33:last-child, .grid-dis-col-66:last-child, .grid-dis-col-1:last-child {
  300. width: 100%;
  301. margin-top: 15px !important;
  302. }
  303. .vrachi-border {
  304. border-left: none;
  305. }
  306. .vrach-title-dolznosti {
  307. border-bottom: none;
  308. }
  309. .organization-media {
  310. display: none !important;
  311. }
  312. .wrapper--footer {
  313. display: block !important;
  314. }
  315. .footer__logo {
  316. display: inline-block;
  317. margin-left: 10px;
  318. }
  319. .copyright {
  320. display: inline-block;
  321. width: calc(100% - 140px);
  322. margin-right: 0;
  323. }
  324. .copyright span {
  325. display: block;
  326. }
  327. .aferta {
  328. display: block;
  329. width: calc(100% - 20px);
  330. margin:0 10px;
  331. }
  332. .footer__right {
  333. display: block;
  334. width: calc(100% - 20px);
  335. margin:0 10px;
  336. }
  337. .footer__right .mainlinks {
  338. display: block;
  339. }
  340. .footer__right .mainlinks li {
  341. display: inline-block;
  342. }
  343. .grid-disrb-col-1, .grid-disrb-col-1:nth-child(3n) {
  344. width: 100%;
  345. max-width: 320px;
  346. margin: 10px auto;
  347. }
  348. .shortnews__description {
  349. height: auto;
  350. }
  351. }
  352. @media screen and (max-width: 510px) {
  353. .postbody {
  354. &__imgleft {
  355. margin: 10px auto;
  356. display: block;
  357. }
  358. &__imgright {
  359. margin: 10px auto;
  360. display: block;
  361. }
  362. }
  363. }
  364. @media screen and (max-width: 420px) {
  365. .specialization-selection__container {
  366. column-count: 1;
  367. }
  368. .uslugi {
  369. .search-result {
  370. margin-bottom: 30px;
  371. -moz-column-count: 1; /* Firefox */
  372. -webkit-column-count: 1; /* Safari and Chrome */
  373. column-count: 1;
  374. }
  375. .grid-col-2 {
  376. width: 100%;
  377. }
  378. }
  379. }