/* Theme Name: Custom Theme */ .some_links { padding-top: 18px; } .gallery { display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: flex-start; -moz-justify-content: flex-start; -ms-justify-content: flex-start; -o-justify-content: flex-start; justify-content: flex-start; } .gallery-item { margin-bottom: 20px; } .gallery-item img { display: block; margin-left: auto; margin-right: auto; height: auto; max-width: 100%; -webkit-transition: all 0.15s linear 0s; -moz-transition: all 0.15s linear 0s; transition: all 0.15s linear 0s; } .gallery-item img:hover { opacity: .75; } .gallery-columns-3 .gallery-item { width: calc((100% - 40px) / 3); } .gallery-columns-3 .gallery-item:not(:nth-child(3n)) { margin-right: 20px; } .gallery-columns-4 .gallery-item { width: calc((100% - 60px) / 4); } .gallery-columns-4 .gallery-item:not(:nth-child(4n)) { margin-right: 20px; } .gallery-caption { text-align: center; font-size: 80%; padding: 5px 10px; background: #f5f5f5; } .docs_list { padding: 0; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: -o-flex; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: flex-start; -moz-justify-content: flex-start; -ms-justify-content: flex-start; -o-justify-content: flex-start; justify-content: flex-start; } .docs_list li { width: 25%; padding: 0 15px; margin-bottom: 25px; text-align: center; list-style: none; vertical-align: top; } @media (max-width: 767px) { .gallery-columns-3 .gallery-item { width: calc((100% - 20px) / 2); } .gallery-columns-3 .gallery-item:not(:nth-child(3n)), .gallery-columns-4 .gallery-item:not(:nth-child(4n)) { margin-right: auto; } .gallery-columns-3 .gallery-item:not(:nth-child(2n)), .gallery-columns-4 .gallery-item:not(:nth-child(2n)) { margin-right: 20px; } .gallery-columns-4 .gallery-item { width: calc((100% - 20px) / 2); } .docs_list li { width: 50%; } } @media (max-width: 479px) { .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item { width: 80%; margin-left: auto; margin-right: auto; } .gallery-columns-3 .gallery-item:not(:nth-child(2n)), .gallery-columns-4 .gallery-item:not(:nth-child(2n)) { margin-right: auto; } .docs_list li { width: 100%; } } .fz64{ font-size: 10px; color: white; width:100%; text-align:center; } .fz64 a{ font-weight: bold; color: white; } .price-50{ background-image: url(img/bg-price-50.png); background-position: center; background-repeat: no-repeat; height: 180px; } @media screen and (min-width: 100px) and (max-width: 760px) { .price-50 { background-image: none; background-position: center; background-repeat: no-repeat; height: 190px; background-color: red; margin: 130px 0px; padding: 15px 20px; line-height: 37px; } .price_50 { font-size: 32px; padding: 0px 0px; margin: 0px 3px; font-weight: bold; font-family: 'pf_square_sans_pro_bold'; /* position: relative; */ /* top: 10px; */ line-height: 37px; } .podrob a{ color: white; } } @media screen and (min-width: 761px) and (max-width: 1169px) { .price-50 { background-image: none; background-position: center; background-repeat: no-repeat; height: 180px; background-color: red; float: left; margin-left: 150px; margin-top: 160px; } }