/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */

#galerie a,
.rl-gallery-container a {
    transition: transform 0.3s;
}

#galerie a:hover,
.rl-gallery-container a:hover {
    transform: scale(0.95);
    z-index: 999;
}

h1 {
    font-size: 24px;
}

h2:not(.section-title):not(.hero-large-text):not(.entry-title) {
    margin-top: 35px;
    font-size: 18px;
}

.entry-content h2:first-child {
    margin-top: 0px !important;
}

h3 {
    font-size: 14px;
}

.section-desc {
    font-size: 16px;
}

.vita h2 {
    font-size: 18px;
    margin-top: 35px;
}

.vita h3 {
    font-size: 14px;
}

.vita table {
    border: 0px;
}

.vita table tr td {
    vertical-align: top;
    border: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.vita table tr td:first-child {
    width: 20%;
    border-right: 1px solid rgb(136, 136, 136);
    padding-right: 20px;
}

.vita table tr td:last-child {
    padding-left: 20px;
}

.gallery {
    -moz-column-count: 4;
    -webkit-column-count: 4;
    column-count: 4;
    -moz-column-gap: 5px;
    -webkit-column-gap: 5px;
    column-gap: 5px;
}

.gallery .gallery-item {
    margin-top: 5px;
}

@media screen and (max-width: 769px) {
    .gallery {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
        -moz-column-gap: 5px;
        -webkit-column-gap: 5px;
        column-gap: 5px;
    }
}

h2.hero-large-text {
    text-shadow: 2px 2px 5px #272727;
}

.hero__content p {
    text-shadow: 2px 2px 3px black;
}

.centered-container {
    margin: auto;
}

.text-centered {
    text-align: center;
}

#links {
    background: #F8F9F9;
}

#links .profile-button {
    margin: 5px;
    display: inline-block;
}

@media screen and (max-width: 550px) {
    .contact-picture {
        display: none !important;
    }

    .address-box {
        padding-left: 0px !important;
    }
}

.address-box .address-contact {
    margin-bottom: 15px;
}

.address-box .address-contact:last-child {
    margin-bottom: 0px;
}

.address-box .address-contact .address-content {
    display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    line-height: 28px;
}

.address-box .address-contact .address-content svg {
    height: 28px;
    max-width: 185px;
}

@media screen and (min-width: 940px) {
    .right-sidebar .content-area {
        padding-right: 39px;
        border-right: 0px;
        width: 100%;
    }
}

@media screen and (max-width: 359px) {
    .site-branding {
        display: none;
    }
}

/* custom footer menu */
.footer-menu-container {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.footer-menu-container ul {
    display: inline;
    padding-left: 0px;
}

.footer-menu-container li {
    list-style-type: none;
    display: inline;
}

.footer-menu-container li:before {
    content: "\007C";
    font-family: FontAwesome;
    margin-left: 6px;
    margin-right: 8px;
}

.footer-menu-container li:first-of-type:before {
    content: none;
    margin-right: 0;
}

.footer-menu-container li:last-of-type {
    margin-right: 0;
}