body {
background: #fff url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/body-bg.png);
}
.center-box {
width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
#logo {
display: block;
width: 300px;
margin: 25px auto;
}
footer {
background: #ccc;
padding: 10px 0 30px 0;
position: relative;
margin-top: 40px;
}
footer:before {
position: absolute;
content: "";
height: 50px;
width: 100%;
display: block;
left: 0;
top: -45px;
background: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/footer.png);
background-size: auto 100%;
}
#content {
overflow: hidden;
clear: both;
padding-top: 20px;
}
.row {
margin: 0 -15px;
}
main {
float: left;
width: 75%;
padding: 0 15px;
}
aside {
float: left;
width: 25%;
padding: 0 15px;
}
.articles {
display: flex; margin: 0 -15px;
-webkit-flex-flow: row wrap; }
.article-box {
padding: 0 15px;
margin-bottom: 30px;
}
@media only screen and (min-width: 769px) {
.article-box {
width: 33.33%;
}
}
@media only screen and (min-width: 480px) and (max-width: 768px) {
.article-box {
width: 50%;
}
}
@media only screen and (max-width: 479px) {
.article-box {
width: 100%;
}
}
article {
background-color: #fff;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 15px;
height: 100%;
}
.article-box h2 {
margin-top: 15px;
}
.featured-image {
color: inherit;
position: relative;
display: block;
padding: 15px;
background-color: #fff;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}
.image {
position: absolute;
width: 100%;
height: 100%;
display: flex;
text-align: center;
align-items: center;
justify-content: center;
top: 0;
left: 0;
}
.featured-image h1 {
background: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/brush-white.gif);
background-size: 100% 100%;
padding: 20px 40px;
margin: 0 15px;
display: block;
max-width: 500px;
}
.featured-image h3 {
background: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/brush-white.gif);
background-size: 100% 100%;
padding: 20px 40px;
margin: 0 15px;
display: block;
max-width: 500px;
}
.square {
width: 100%;
height: auto;
background-size: cover;
}
time {
display: block;
margin: 10px 0;
font-size: 14px;
}
.article-box article a {
color: inherit;
}
.article-box a.featured-image,
.article-box a.featured-image img {
height: 100%;
}
#go-to-top {
background: #ffd207;
position: fixed;
bottom: 20px;
left: 20px;
width: 40px;
height: 40px;
border-radius: 2px;
cursor: pointer;
}
#go-to-top:before {
position: absolute;
top: 50%;
left: 50%;
margin-top: -6px;
margin-left: -7px;
content: "";
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 10px solid black;
} .sticky {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 5;
background: #ffd207 !important;
}
#carousel {
background-color: #fff;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 15px;
margin-bottom: 30px;
overflow: hidden;
position: relative;
}
#carousel-wrap {
width: 100%;
overflow: hidden;
position: relative;
}
#carousel ul.slides {
display: block;
white-space: nowrap;
font-size: 0;
position: relative;
}
#carousel li.slide {
display: inline-block;
position: relative;
width: 100%;
white-space: initial;
font-size: initial;
}
#carousel li.slide a {
display: block;
color: inherit;
}
.carousel-content {
max-width: 600px;
background: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/brush-white.gif);
background-size: 100% 100%;
padding: 20px 60px;
margin: 0 15px;
display: block;
max-width: 500px;
}
#next-slide,
#prew-slide {
display: block;
position: absolute;
width: 50px;
height: 50px;
top: 50%;
margin-top: -25px;
}
#next-slide,
#prew-slide {
display: block;
position: absolute;
width: 50px;
height: 50px;
top: 50%;
margin-top: -25px;
z-index: 5;
cursor: pointer;
border-radius: 50%;
background: #fff;
}
#next-slide {
right: -25px;
}
#prew-slide {
left: -25px;
}
#next-slide:before {
position: absolute;
top: 50%;
left: 50%;
margin-top: -8px;
margin-left: -12px;
content: "";
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 10px solid #000;
}
#prew-slide:before {
position: absolute;
top: 50%;
left: 50%;
margin-top: -8px;
content: "";
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 10px solid #000;
}
#navigation {
display: block;
position: absolute;
width: 100%;
text-align: center;
height: 30px;
bottom: 0;
z-index: 5;
}
#navigation div {
display: inline-block;
margin-right: 10px;
width: 20px;
height: 20px;
cursor: pointer;
border-radius: 50%;
background: #fff;
}
.nav-active {
border: solid 3px #ffd207;
}
#searchform {
background-color: #fff;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 5px 10px 5px 10px;
position: relative;
width: 100%;
margin-bottom: 30px;
}
#searchform input[type="text"] {
border: none;
height: 30px;
}
#searchform input[type="submit"] {
border: none;
background: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/search-bg.gif) center center no-repeat;
background-size: 20px auto;
height: 30px;
width: 30px;
position: absolute;
right: 10px;
cursor: pointer;
}
.accordion-list {
margin-top: 15px;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png);
background-position: top center;
background-size: auto 3px;
background-repeat: repeat-x;
}
.accordion-list li {
position: relative;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png);
background-position: bottom center;
background-size: auto 3px;
background-repeat: repeat-x;
}
.accordion-list li a {
display: block;
color: inherit;
height: 34px;
line-height: 34px;
padding: 0;
}
.accordion-list li a:hover {
color: #ffd207;
}
.opener {
position: absolute;
right: 0;
top: 0;
width: 34px;
height: 34px;
cursor: pointer;
}
.opener:before {
top: 50%;
margin-top: -3px;
right: 0;
content: "";
display: block;
width: 0;
height: 0;
position: absolute;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 7px solid #000;
}
.children {
position: relative;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png);
background-position: top center;
background-size: auto 3px;
background-repeat: repeat-x;
padding: 5px 15px;
display: none;
}
.children li {
border: none;
background: none;
}
.down:before {
transform: rotate(180deg);
border-top: 7px solid #ffd207 !important;
}
.accordion {
margin: 20px 0;
}
.accordion-title {
background-color: #fff;
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 10px 10px 10px 30px;
position: relative;
cursor: pointer;
}
.accordion-title:before {
top: 50%;
margin-top: -3px;
left: 10px;
content: "";
display: block;
width: 0;
height: 0;
position: absolute;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 7px solid #000;
}
.accordion-content {
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 20px;
overflow: hidden;
margin-bottom: 20px;
display: none;
}
.accordion-image {
float: left;
width: 30%;
}
.accordion-text {
float: left;
width: 70%;
padding-left: 20px;
}
.button {
display: inline-block;
padding: 10px;
color: #000;
background: #ffd207;
margin-top: 15px;
}
.reviews-slider {
background-image: url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-horizontal.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png), url(//myblog.grotwebdesigner.hu/wp-content/themes/myblog_theme/images/border-vertical.png);
background-position: top center, bottom center, top left, top right;
background-size: auto 3px, auto 3px, 3px auto, 3px auto;
background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
padding: 20px 20px 60px 20px;
position: relative;
width: 100%;
margin: 20px 0;
text-align: center;
}
.reviews-title {
text-align: center;
margin-bottom: 10px;
}
.reviews-wrap {
width: 100%;
overflow: hidden;
position: relative;
}
.reviews-slider ul {
display: block;
white-space: nowrap;
font-size: 0;
position: relative;
padding: 0;
margin: 0;
vertical-align: top;
}
.reviews-slider li {
display: inline-block;
position: relative;
width: 100%;
white-space: initial;
font-size: initial;
padding: 0;
margin: 0;
vertical-align: top;
}
.reviews-slider li:before {
content: none;
}
.next-review,
.prew-review {
display: block;
position: absolute;
width: 50px;
height: 50px;
bottom: 15px;
z-index: 5;
cursor: pointer;
border-radius: 50%;
}
.next-review {
right: 50%;
margin-right: -60px;
}
.prew-review {
left: 50%;
margin-left: -60px;
}
.next-review:before {
position: absolute;
top: 50%;
right: 50%;
margin-left: -3px;
margin-top: -8px;
margin-left: -12px;
content: "";
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-left: 10px solid #000;
}
.prew-review:before {
position: absolute;
top: 50%;
left: 50%;
margin-left: -3px;
margin-top: -8px;
content: "";
width: 0;
height: 0;
border-top: 8px solid transparent;
border-bottom: 8px solid transparent;
border-right: 10px solid #000;
}
#contact-box {
position: fixed;
bottom: -350px;
left: 80px;
background: #ffd207;
padding: 0 20px;
width: 300px;
z-index: 2;
height: 400px;
transition: all 0.8s ease-in-out;
}
#contact-box input {
width: 100%;
height: 30px;
background: #fff;
border: none;
margin: 0 0 10px 0;
padding: 0 10px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
#contact-box textarea {
width: 100%;
height: 150px;
background: #fff;
border: none;
margin: 0;
padding: 0 10px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
#contact-box input[type="submit"] {
background: #000;
color: #fff;
border: none;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#contact-box h4 {
padding: 15px 0;
cursor: pointer;
}
.box-open {
bottom: 0!important;
}
@media only screen and (max-width: 480px) {
.accordion-image,
.accordion-text {
float: none;
width: 100%;
padding-left: 0;
}
.accordion-image {
margin-bottom: 20px;
}
}
@media only screen and (max-width: 480px) {
#carousel li.slide img {
height: 350px;
}
}
@media only screen and (max-width: 1200px) {
.center-box {
width: 100%;
}
}
@media only screen and (max-width: 768px) {
main,
aside {
float: none;
width: 100%;
}
}