custom.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565
  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. padding-bottom: 70px;
  224. }
  225. #calendar
  226. {
  227. display:none;
  228. }
  229. .home .col-sm-5 {
  230. padding-left: 0;
  231. padding-right: 0;
  232. }
  233. .block-wrapper {
  234. margin-top: 0;
  235. }
  236. .blu-box {
  237. margin-bottom: 10px;
  238. }
  239. /* .menu-item.region {
  240. width: 100%;
  241. } */
  242. .single-news .img-responsive {
  243. max-width: 100%;
  244. margin-right: 0;
  245. }
  246. .single-page .img-responsive {
  247. max-width: 100%;
  248. margin-right: 0;
  249. }
  250. .single-news .title-section {
  251. margin-top: 40px;
  252. }
  253. .col-sm-5.layout-6
  254. {
  255. padding-left:20px;
  256. padding-right:20px;
  257. }
  258. .col-sm-7.layout-6
  259. {
  260. margin-top: 20px;
  261. }
  262. .search-top{
  263. display:block;
  264. }
  265. .search-bottom{
  266. display:none;
  267. }
  268. }
  269. /* On screens that are 600px wide or less, make the menu links stack on top of each other instead of next to each other */
  270. @media screen and (max-width: 991px) {
  271. .navbar-nav>li>a {
  272. padding: 10px;
  273. z-index: 2;
  274. }
  275. .nav>li>a {
  276. position: relative;
  277. display: inline-table;
  278. padding: 5px 0 8px 8px;
  279. }
  280. .navbar-nav>li.drop >a.home {
  281. padding: 5px 0 8px 8px;
  282. z-index: 2;
  283. }
  284. }
  285. @media screen and (min-width: 1170px) {
  286. .box-eventi{
  287. width:95%;
  288. }
  289. }
  290. /*iPad Pro 9.7"*/
  291. /* Portrait */
  292. @media only screen
  293. and (min-device-width: 991px)
  294. and (max-device-width: 1024px) {
  295. .navbar-nav>li>a {
  296. padding: 0px;
  297. z-index: 2;
  298. }
  299. .nav>li>a {
  300. position: relative;
  301. display: inline-table;
  302. padding: 6px 12px 6px 0;
  303. }
  304. .navbar-nav>li.drop >a.home {
  305. padding: 6px 12px 6px 0;
  306. z-index: 2;
  307. }
  308. .navbar-nav>li {
  309. float: left;
  310. padding-top: 10px;
  311. }
  312. }
  313. #btTop {
  314. display: none; /* Hidden by default */
  315. position: fixed; /* Fixed/sticky position */
  316. bottom: 20px; /* Place the button at the bottom of the page */
  317. right: 30px; /* Place the button 30px from the right */
  318. z-index: 99; /* Make sure it does not overlap */
  319. border: none; /* Remove borders */
  320. outline: none; /* Remove outline */
  321. background-color: red; /* Set a background color */
  322. color: white; /* Text color */
  323. cursor: pointer; /* Add a mouse pointer on hover */
  324. padding: 15px; /* Some padding */
  325. border-radius: 10px; /* Rounded corners */
  326. font-size: 18px; /* Increase font size */
  327. }
  328. #btTop:hover {
  329. background-color: #555; /* Add a dark-grey background on hover */
  330. }
  331. /*PAGINE WEB aub items*/
  332. .navbar .navbar-collapse.in { max-height: 100vh !important; overflow-y: scroll !important; overflow-x: hidden !important; }
  333. .columns {
  334. height: 350px;
  335. overflow-y: scroll;
  336. width: 100%;
  337. }
  338. .columns::-webkit-scrollbar {
  339. -webkit-appearance: none;
  340. width: 7px;
  341. }
  342. .columns::-webkit-scrollbar-thumb {
  343. border-radius: 4px;
  344. background-color: #ed462f;
  345. box-shadow: 0 0 1px rgba(255, 255, 255, .5);
  346. }
  347. .scrollable-menu {
  348. height: auto;
  349. max-height: 800px;
  350. overflow-x: hidden;
  351. }
  352. .post-content h2 a,
  353. .box-title .inner-hover > h2 > a,
  354. .standard-post .post-content h2 a
  355. {
  356. /*overflow-wrap: break-word;
  357. word-wrap: break-word;
  358. -ms-word-break: break-all;
  359. word-break: break-all;
  360. word-break: break-word;
  361. -ms-hyphens: auto;
  362. -moz-hyphens: auto;
  363. -webkit-hyphens: auto;
  364. hyphens: auto;*/
  365. }
  366. header.second-style .navbar-nav > li > a
  367. {
  368. font-size:12px !important;
  369. }
  370. @media screen and (min-width: 768px) {
  371. .hide-search-on-large {
  372. display: none;
  373. }
  374. }
  375. .top-search-custom {
  376. position: relative;
  377. display: flex;
  378. justify-content: flex-end;
  379. padding-right: 10px;
  380. margin-bottom: 26px;
  381. }
  382. .search-trigger-custom {
  383. cursor: pointer;
  384. padding: 5px;
  385. z-index: 2;
  386. }
  387. .search-trigger-custom a {
  388. color: black;
  389. text-decoration: none;
  390. }
  391. .search-trigger-custom i {
  392. font-size: 18px;
  393. transition: color 0.3s ease;
  394. }
  395. .search-trigger-custom:hover i {
  396. color: #444;
  397. }
  398. .search-dropdown-custom {
  399. position: absolute;
  400. right: calc(25% - 15px);
  401. top: 50%;
  402. transform: translateY(-50%);
  403. background: white;
  404. display: none;
  405. width: 270px;
  406. border-radius: 4px;
  407. box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  408. }
  409. .search-dropdown-custom.active {
  410. display: block;
  411. animation: slideInSearch 0.3s ease;
  412. }
  413. .search-input-wrapper {
  414. display: flex;
  415. align-items: center;
  416. width: 100%;
  417. background: white;
  418. border-radius: 4px;
  419. padding: 4px;
  420. }
  421. #search-field-custom {
  422. flex: 1;
  423. border: none;
  424. padding: 8px 12px;
  425. font-size: 14px;
  426. background: transparent;
  427. width: calc(100% - 40px);
  428. }
  429. #search-field-custom:focus {
  430. outline: none;
  431. }
  432. .search-submit-custom {
  433. background: none;
  434. border: none;
  435. padding: 8px;
  436. cursor: pointer;
  437. color: black;
  438. transition: color 0.3s ease;
  439. }
  440. .search-submit-custom:hover {
  441. color: #444;
  442. }
  443. @keyframes slideInSearch {
  444. from {
  445. opacity: 0;
  446. transform: translateY(-50%) translateX(10px);
  447. }
  448. to {
  449. opacity: 1;
  450. transform: translateY(-50%) translateX(0);
  451. }
  452. }
  453. @media (max-width: 767px) {
  454. .top-search-custom {
  455. display: none;
  456. }
  457. .lg-pagine-web{
  458. display: none;
  459. }
  460. .pagine-web-mobile{
  461. display: block!important;
  462. }
  463. }
  464. .pagine-position > a.home {
  465. border: 2px solid #2040ff;
  466. border-radius: 4px;
  467. padding: 8px 15px !important;
  468. margin-top: -2px;
  469. }
  470. .pagine-position > a.home:hover {
  471. background-color: #007bff;
  472. }
  473. .dropdown-item .dropdown-menu {
  474. display: none;
  475. }
  476. .dropdown-item.open .dropdown-menu {
  477. display: block;
  478. }
  479. @media (min-width: 768px) and (max-width: 1000px) {
  480. .blu-box{
  481. margin-bottom: 0px!important;
  482. }
  483. }