custom.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564
  1. .search-top{
  2. display:none;
  3. }
  4. .search-bottom{
  5. display:block;
  6. }
  7. .ticker-controls
  8. {
  9. display:none !important;
  10. }
  11. .navbar-nav li.drop ul.dropdown
  12. {
  13. z-index:999999;
  14. }
  15. .bg-adv:hover
  16. {
  17. cursor:pointer;
  18. }
  19. .container:hover
  20. {
  21. cursor:default;
  22. }
  23. #calendar
  24. {
  25. display:block;
  26. }
  27. #calendarMobile
  28. {
  29. display:none;
  30. }
  31. @media screen and (max-width: 767px) {
  32. #calendarMobile
  33. {
  34. display:block;
  35. }
  36. #calendar
  37. {
  38. display:none;
  39. }
  40. }
  41. .post-content h2
  42. {
  43. max-height: 200px;
  44. }
  45. h2, .h2
  46. {
  47. font-size:26px;
  48. }
  49. .post-content h2
  50. {
  51. font-size:17px;
  52. }
  53. .block-wrapper {
  54. margin-top: 2em;
  55. }
  56. h1.red {
  57. color: #f44336;
  58. }
  59. .home .primo-piano {
  60. margin-top: 2em;
  61. }
  62. .home .col-sm-7 .news-post.image-post2 {
  63. margin-bottom: 1.2em;
  64. }
  65. /* .home .sidebar {
  66. padding: 30px 0;
  67. } */
  68. .sidebar {
  69. margin-left: -15px;
  70. }
  71. .social-widget {
  72. margin-left: -15px;
  73. }
  74. #serie-a .col-sm-5 h2 {
  75. font-size: 14px;
  76. line-height: 17px;
  77. }
  78. table.calendari {
  79. width: 99%;
  80. }
  81. /*
  82. .home section {
  83. margin-bottom: 2em;
  84. }
  85. */
  86. .archivio-news .col-sm-3 {
  87. min-height: 300px;
  88. }
  89. .box-day {
  90. display: inline-table;
  91. min-width: 50px;
  92. text-align: center;
  93. }
  94. #bs-example-navbar-collapse-1>ul>li>a:hover {
  95. color: #f44336 !important;
  96. }
  97. .title-section>h1>span {
  98. color: #f44336;
  99. font-size: 21px!important
  100. }
  101. .box-title>.inner-hover>h2>a:hover {
  102. color: #f44336;
  103. text-decoration: none !important;
  104. transition: all 0.2s ease-in-out;
  105. -moz-transition: all 0.2s ease-in-out;
  106. -webkit-transition: all 0.2s ease-in-out;
  107. -o-transition: all 0.2s ease-in-out;
  108. }
  109. /* Hover su immagini */
  110. .image-post,
  111. .image-post2 {
  112. overflow: hidden;
  113. }
  114. /* [2] Transition property for smooth transformation of images */
  115. .image-post img,
  116. .image-post2 img {
  117. transition: transform .8s ease;
  118. }
  119. /* [3] Finally, transforming the image when container gets hovered */
  120. .image-post:hover img,
  121. .image-post2:hover img {
  122. transform: scale(1.05);
  123. }
  124. .navbar-nav>li>a {
  125. padding: 20px 7px 20px 7px !important;
  126. z-index: 2;
  127. }
  128. .single-news.col-sm-9 {
  129. border-right: 1px solid #efefef !important;
  130. }
  131. .single-news h1 {
  132. color: #f44336;
  133. padding-top: 0;
  134. margin: 0;
  135. }
  136. .single-news p {
  137. font-size: 16px;
  138. padding-top: 8px;
  139. line-height: 24px;
  140. }
  141. .single-news .col-sm-3 .item .list-posts h2 a {
  142. font-size: 70%;
  143. }
  144. .single-news .img-responsive {
  145. margin-right:30px;
  146. max-width:60%
  147. }
  148. .single-page {
  149. border-right: 1px solid #efefef !important;
  150. }
  151. .single-page .img-responsive {
  152. margin-right:30px;
  153. max-width:60%
  154. }
  155. .single-page h1 {
  156. color: #f44336;
  157. padding-top: 0;
  158. margin: 0;
  159. }
  160. .single-page p {
  161. font-size: 16px;
  162. padding-top: 8px;
  163. line-height: 24px;
  164. }
  165. /* pagine regionali */
  166. .blu-box {
  167. text-decoration: none;
  168. text-align: center !important;
  169. padding: 7px 2px;
  170. background: #2040ff;
  171. -webkit-border-radius: 4px;
  172. -moz-border-radius: 4px;
  173. -o-border-radius: 4px;
  174. border-radius: 4px;
  175. color: #fff;
  176. font-size: 13px;
  177. font-family: 'Lato', sans-serif;
  178. font-weight: 700;
  179. text-transform: uppercase;
  180. margin-bottom: 10px;
  181. }
  182. .no-padding {
  183. padding: 0 !important;
  184. }
  185. .social-widget {
  186. padding-top: 36px;
  187. }
  188. /*
  189. * Media query fixes
  190. */
  191. /* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
  192. @media screen and (max-width: 600px) {
  193. .advertisement
  194. {
  195. margin-top:0 !important;
  196. }
  197. .advertisement.col-sm-3.mobile_adv
  198. {
  199. width:100% !important;
  200. }
  201. div.col-sm-6 > div.col-sm-5, div.col-sm-6 > div.col-sm-6, div.col-sm-6 > div.col-sm-7, .col-sm-4 > div > div.post-content
  202. {
  203. padding-left:0px;
  204. padding-right:0px;
  205. }
  206. .vertical
  207. {
  208. max-height: 400px;
  209. width: auto;
  210. margin: auto;
  211. }
  212. #container
  213. {
  214. background-color: #FFFFFF;
  215. }
  216. .post-content
  217. {
  218. margin-left:0px;
  219. }
  220. #calendarMobile
  221. {
  222. display:block;
  223. }
  224. #calendar
  225. {
  226. display:none;
  227. }
  228. .home .col-sm-5 {
  229. padding-left: 0;
  230. padding-right: 0;
  231. }
  232. .block-wrapper {
  233. margin-top: 0;
  234. }
  235. .blu-box {
  236. margin-bottom: 10px;
  237. }
  238. /* .menu-item.region {
  239. width: 100%;
  240. } */
  241. .single-news .img-responsive {
  242. max-width: 100%;
  243. margin-right: 0;
  244. }
  245. .single-page .img-responsive {
  246. max-width: 100%;
  247. margin-right: 0;
  248. }
  249. .single-news .title-section {
  250. margin-top: 40px;
  251. }
  252. .col-sm-5.layout-6
  253. {
  254. padding-left:20px;
  255. padding-right:20px;
  256. }
  257. .col-sm-7.layout-6
  258. {
  259. margin-top: 20px;
  260. }
  261. .search-top{
  262. display:block;
  263. }
  264. .search-bottom{
  265. display:none;
  266. }
  267. }
  268. /* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
  269. @media screen and (max-width: 991px) {
  270. .navbar-nav>li>a {
  271. padding: 10px;
  272. z-index: 2;
  273. }
  274. .nav>li>a {
  275. position: relative;
  276. display: inline-table;
  277. padding: 5px 0 8px 8px;
  278. }
  279. .navbar-nav>li.drop >a.home {
  280. padding: 5px 0 8px 8px;
  281. z-index: 2;
  282. }
  283. }
  284. @media screen and (min-width: 1170px) {
  285. .box-eventi{
  286. width:95%;
  287. }
  288. }
  289. /*iPad Pro 9.7"*/
  290. /* Portrait */
  291. @media only screen
  292. and (min-device-width: 991px)
  293. and (max-device-width: 1024px) {
  294. .navbar-nav>li>a {
  295. padding: 0px;
  296. z-index: 2;
  297. }
  298. .nav>li>a {
  299. position: relative;
  300. display: inline-table;
  301. padding: 6px 12px 6px 0;
  302. }
  303. .navbar-nav>li.drop >a.home {
  304. padding: 6px 12px 6px 0;
  305. z-index: 2;
  306. }
  307. .navbar-nav>li {
  308. float: left;
  309. padding-top: 10px;
  310. }
  311. }
  312. #btTop {
  313. display: none; /* Hidden by default */
  314. position: fixed; /* Fixed/sticky position */
  315. bottom: 20px; /* Place the button at the bottom of the page */
  316. right: 30px; /* Place the button 30px from the right */
  317. z-index: 99; /* Make sure it does not overlap */
  318. border: none; /* Remove borders */
  319. outline: none; /* Remove outline */
  320. background-color: red; /* Set a background color */
  321. color: white; /* Text color */
  322. cursor: pointer; /* Add a mouse pointer on hover */
  323. padding: 15px; /* Some padding */
  324. border-radius: 10px; /* Rounded corners */
  325. font-size: 18px; /* Increase font size */
  326. }
  327. #btTop:hover {
  328. background-color: #555; /* Add a dark-grey background on hover */
  329. }
  330. /*PAGINE WEB aub items*/
  331. .navbar .navbar-collapse.in { max-height: 100vh !important; overflow-y: scroll !important; overflow-x: hidden !important; }
  332. .columns {
  333. height: 350px;
  334. overflow-y: scroll;
  335. width: 100%;
  336. }
  337. .columns::-webkit-scrollbar {
  338. -webkit-appearance: none;
  339. width: 7px;
  340. }
  341. .columns::-webkit-scrollbar-thumb {
  342. border-radius: 4px;
  343. background-color: #ed462f;
  344. box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  345. }
  346. .scrollable-menu {
  347. height: auto;
  348. max-height: 800px;
  349. overflow-x: hidden;
  350. }
  351. .post-content h2 a,
  352. .box-title .inner-hover > h2 > a,
  353. .standard-post .post-content h2 a
  354. {
  355. /*overflow-wrap: break-word;
  356. word-wrap: break-word;
  357. -ms-word-break: break-all;
  358. word-break: break-all;
  359. word-break: break-word;
  360. -ms-hyphens: auto;
  361. -moz-hyphens: auto;
  362. -webkit-hyphens: auto;
  363. hyphens: auto;*/
  364. }
  365. header.second-style .navbar-nav > li > a
  366. {
  367. font-size:12px !important;
  368. }
  369. @media screen and (min-width: 768px) {
  370. .hide-search-on-large {
  371. display: none;
  372. }
  373. }
  374. .top-search-custom {
  375. position: relative;
  376. display: flex;
  377. justify-content: flex-end;
  378. padding-right: 10px;
  379. margin-bottom: 26px;
  380. }
  381. .search-trigger-custom {
  382. cursor: pointer;
  383. padding: 5px;
  384. z-index: 2;
  385. }
  386. .search-trigger-custom a {
  387. color: black;
  388. text-decoration: none;
  389. }
  390. .search-trigger-custom i {
  391. font-size: 18px;
  392. transition: color 0.3s ease;
  393. }
  394. .search-trigger-custom:hover i {
  395. color: #444;
  396. }
  397. .search-dropdown-custom {
  398. position: absolute;
  399. right: calc(25% - 15px);
  400. top: 50%;
  401. transform: translateY(-50%);
  402. background: white;
  403. display: none;
  404. width: 270px;
  405. border-radius: 4px;
  406. box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  407. }
  408. .search-dropdown-custom.active {
  409. display: block;
  410. animation: slideInSearch 0.3s ease;
  411. }
  412. .search-input-wrapper {
  413. display: flex;
  414. align-items: center;
  415. width: 100%;
  416. background: white;
  417. border-radius: 4px;
  418. padding: 4px;
  419. }
  420. #search-field-custom {
  421. flex: 1;
  422. border: none;
  423. padding: 8px 12px;
  424. font-size: 14px;
  425. background: transparent;
  426. width: calc(100% - 40px);
  427. }
  428. #search-field-custom:focus {
  429. outline: none;
  430. }
  431. .search-submit-custom {
  432. background: none;
  433. border: none;
  434. padding: 8px;
  435. cursor: pointer;
  436. color: black;
  437. transition: color 0.3s ease;
  438. }
  439. .search-submit-custom:hover {
  440. color: #444;
  441. }
  442. @keyframes slideInSearch {
  443. from {
  444. opacity: 0;
  445. transform: translateY(-50%) translateX(10px);
  446. }
  447. to {
  448. opacity: 1;
  449. transform: translateY(-50%) translateX(0);
  450. }
  451. }
  452. @media (max-width: 767px) {
  453. .top-search-custom {
  454. display: none;
  455. }
  456. .lg-pagine-web{
  457. display: none;
  458. }
  459. .pagine-web-mobile{
  460. display: block!important;
  461. }
  462. }
  463. .pagine-position > a.home {
  464. border: 2px solid #2040ff;
  465. border-radius: 4px;
  466. padding: 8px 15px !important;
  467. margin-top: -2px;
  468. }
  469. .pagine-position > a.home:hover {
  470. background-color: #007bff;
  471. }
  472. .dropdown-item .dropdown-menu {
  473. display: none;
  474. }
  475. .dropdown-item.open .dropdown-menu {
  476. display: block;
  477. }
  478. @media (min-width: 768px) and (max-width: 1000px) {
  479. .blu-box{
  480. margin-bottom: 0px!important;
  481. }
  482. }