/*
Theme Name: Poradna Zebra
Theme URI: http://www.poradnazebra.cz
Author: Michal Kliment
Author URI: http://www.michalkliment.cz
Description: Wordpress theme for Poradna Zebra.
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: poradnazebra
Text Domain: poradnazebra
*/

body {
    font-family: Nunito;
    color: #231f20;
    padding-top: 126px;
}

a.underline {
    text-decoration: underline;
}

body.admin-bar .fixed-top {
    top: 32px;
}

@media screen and (max-width: 782px) {
    html {
        font-size: 0.8rem;
    }
    body.admin-bar .fixed-top {
        top: 46px;
    }

    #wpadminbar {
        position: fixed;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Baloo;
    color: #0e201d;
}

h2 {
    font-size: 2.125rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.625rem;
    line-height: 1.153846154;
}

h5 {
    font-size: 1.375rem;
    line-height: 1.75rem;
    font-family: Nunito;
    font-weight: 800;
    color: #808285;
}

@media only screen and (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

.primary-menu {
    background-color: white;
}

.primary-menu .logo {
    margin: 0 15px;
    height: 100px;
    width: auto;
}

.primary-menu .navbar-nav {
    flex-direction: column;
    text-align: center;
    padding: 17px 0;
}

.primary-menu .navbar-nav .menu-item {
    padding: 12px 0;
}

.primary-menu .navbar-nav .menu-item a {
    color: #231f20;
}

.primary-menu .navbar-nav .menu-item.current-menu-item a {
    color: #ed2731;
    font-weight: 700;
}

.primary-menu .navbar-nav .menu-item.current-menu-item a:after {
    font-family: FontAwesome;
    content: " \f0da";
}

.primary-menu li {
    list-style-type: none;
}

.primary-menu li ul {
    padding-left: 0;
}

.primary-menu .social {
    margin: 50px 0;
    padding: 7px 0;
    font-size: 0.8125rem;
    line-height: 1.076923077;
}

.primary-menu .social li {
    margin: 10px 0;
}

.primary-menu .social a {
    color: #231f20;
    text-decoration: none;
}

.facebook:before {
    font-family: "FontAwesome";
    content: "\f09a";
    display: inline-block;
    color: #3b5998;
    border: 1px solid #dfe1e2;
    font-size: 16px;
    padding: 4px 8px;
    margin-right: 8px;
    border-radius: 100%;
}

.instagram:before {
    font-family: "FontAwesome";
    content: "\f16d";
    display: inline-block;
    color: #3b5998;
    border: 1px solid #dfe1e2;
    font-size: 16px;
    padding: 4px 5px;
    margin-right: 8px;
    border-radius: 100%;
}

#top {
    height: 50vw;
    max-height: 400px;
    background-image: url("images/top.png");
    background-position: center bottom;
    background-size: cover;
}

#bottom {
    height: 250px;
    background-image: url("images/bottom.png");
    background-position: center bottom;
    background-size: cover;
}

.homepage .btn {
    background-color: #ed2731;
    font-size: 1rem;
    line-height: 1.75rem;
    color: white;
    font-family: Nunito;
    font-weight: 800;
    padding: 8px 15px;
}

.homepage .btn .icon {
    margin-right: 10px;
    vertical-align: text-bottom;
}

.homepage .block1 {
    padding-top: 40px;
}

.homepage .block1 .text {
}

.homepage .block1 .text h2 {
    margin-bottom: 50px;
}

@media only screen and (min-width: 1200px) {
    .homepage .text p {
        padding-right: 40px !important;
    }
}

.homepage .block1 .text .btn {
    margin-top: 20px;
    margin-bottom: 60px;
}

.homepage .block1 .photos {
    margin-bottom: 60px;
}

.homepage .block1 .photos .photo {
    filter: brightness(140%);
    margin: 15px 0;
    -webkit-box-shadow: 1px 1px 20px 3px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 1px 1px 20px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 1px 1px 20px 3px rgba(0, 0, 0, 0.4);
}

.homepage .facts1 h5 {
    margin-bottom: 25px;
}

.homepage .facts1 .fact {
    display: flex;
    align-items: center;
    margin: 8px -15px;
    text-align: left;
}

.homepage .facts1 .fact .text {
    margin: 0 20px;
    font-weight: 800;
}

.homepage .block2 {
    padding: 60px 0;
    margin: 3.5vw 0;
}

.homepage .block2 .photo {
    margin-bottom: 20px;
}

.homepage .block2 .text {
    margin-top: 30px;
}

@media only screen and (min-width: 1200px) {
    .homepage .block2 .text {
        margin-left: 40px;
    }
}

.homepage .block2 .text h2 {
    margin-bottom: 40px;
}

.homepage .block2 .text p {
    line-height: 1.75rem;
    margin-bottom: 30px;
}

.homepage .facts2 {
    text-align: center;
}

.homepage .facts2 .fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5vw -15px;
}

@media only screen and (min-width: 1200px) {
    .homepage .facts2 .fact {
        border-left: 1px solid #efefef;
    }

    .homepage .facts2 .col-lg-6:first-child .fact {
        border-left: 0px solid #efefef;
    }
}

.homepage .facts2 .fact .text {
    margin: 30px 40px;
    font-weight: 800;
}

.homepage .reference {
    margin: 20px 0;
    padding: 0;
    padding-top: 200px;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.homepage .reference .wrapper {
    height: 450px;
    width: 100%;
    display: flex;
    padding-left: 2.5vw;
    padding-right: 2.5vw;
    justify-content: flex-end;
}

.homepage .reference .wrapper .arrow {
    margin-top: 3vw;
    margin-right: -1px;
    width: 0;
    height: 0;
    border-top: 1vw solid transparent;
    border-bottom: 2.5vw solid transparent;
    border-right: 3vw solid white;
    z-index: 9999;
}

.homepage .reference .carousel {
    max-width: 1050px;
    background-color: white;
    border-radius: 10px 10px 0 0;
    z-index: 999;
    flex: 1 1 auto;
}

.homepage .reference .carousel-indicators li {
    width: 16px;
    height: 16px;
    border-radius: 50% !important;
    cursor: pointer;
    margin: 0 4px;
    border: 1px solid white;
}

.homepage .reference .carousel-indicators li span {
    border-radius: 50% !important;
    display: block;
    width: 10px;
    height: 10px;
    margin: 2px auto;
    background-color: #30c0c4;
    text-indent: -9999px;
}

.homepage .reference .carousel-indicators li.active {
    border: 1px solid #ed2731;
}

.homepage .reference .carousel-indicators li.active span {
    background-color: #ed2731;
    width: 6px;
    height: 6px;
    margin: 4px auto;
}

.homepage .reference .carousel-item {
    padding: 1.5vw 30px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5rem;
    font-style: italic;
}

.homepage .reference .carousel-item .header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.homepage .reference .carousel-item .hr {
    width: 100px;
    height: 1px;
    border-top: 1px solid #e6e6e6;
}

.homepage .reference .carousel-item .header .quote {
    color: #ed2731;
    font-size: 5.625rem;
    line-height: 2.5rem;
    font-weight: bold;
    font-style: normal;
    height: 40px;
    margin: 0 20px -40px 20px;
}

.homepage .reference .background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url("images/reference.png");
    background-size: cover;
}

/* @media only screen and (min-width: 600px) and (max-width: 799px) {
    .homepage .reference {
        padding-top: 370px;
    }
    .homepage .reference .background {
        background-image: url('images/reference600.png');
    }
    .homepage .reference .wrapper {
        margin-left: 31vw;
    }
}

@media only screen and (min-width: 800px) and (max-width: 999px) {
    .homepage .reference .background {
        background-image: url('images/reference800.png');
    }
    .homepage .reference .wrapper {
        margin-left: 21vw;
        height: 450px;
    }
}

@media only screen and (min-width: 1000px) and (max-width: 1199px) {
    .homepage .reference .background {
        background-image: url('images/reference1000.png');
    }
    .homepage .reference .wrapper {
        margin-left: 31vw;
        height: 400px;
    }
}

@media only screen and (min-width: 1200px) {
    .homepage .reference .background {
        background-image: url('images/reference1200.png');
    }
    .homepage .reference .wrapper {
        margin-left: 31vw;
    }
    .homepage .carousel-item {
        padding: 1.5vw 50px;
    }
} */

.homepage .workers {
    text-align: center;
    padding: 50px 0;
}

.homepage .workers .worker {
    margin: 2.5vw -15px;
}

.homepage .workers .worker .photo {
    margin: 20px 0;
}

.homepage .workers .worker .name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.homepage .workers .worker .position {
    font-style: italic;
    margin-bottom: 15px;
}

.homepage .workers .worker a {
    color: #30c0c4;
    text-decoration: underline;
    font-weight: 700;
}

.homepage .support {
    position: relative;
    min-height: 300px;
}

.homepage .support {
    background-image: url("images/support_mobile.png");
    background-size: cover;
    background-position: top center;
}

@media only screen and (min-width: 1400px) {
    .homepage .support {
        background-image: url("images/support.png");
    }
}

.homepage .support .text {
    position: relative;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
    padding: 12vh 16.1vw;
}

.homepage .support h1 {
    color: white;
    font-size: 2.75rem;
}

.homepage .support p {
    font-size: 1.375rem;
    font-weight: 700;
    max-width: 700px;
    margin: 1.9vw 0;
}

.homepage .support .btn {
    margin: 0.7vw 0;
}

.homepage .partners {
    padding: 60px 0;
    text-align: center;
}

.homepage .partners .partner {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.homepage .branches {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 4vw;
}

.homepage .branches h2 {
    margin-bottom: 2.5vw;
}

.homepage .branches .branch {
    position: relative;
    background-color: #2fbfc3;
    background-size: cover;
    background-position: bottom;
    color: white;
    text-align: left;
    margin: 20px 0;
    height: 325px;
}

.homepage .branches .branch .wrapper {
    position: relative;
    z-index: 999;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.homepage .branches .branch .wrapper .top {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 30px 35px;
    justify-content: space-between;
}

.homepage .branches .branch .content {
    position: relative;
}

.homepage .branches .branch .content h1 {
    color: white;
    margin: 0;
    font-family: Nunito;
    font-weight: 800;
}

.homepage .branches .branch .content p {
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

.homepage .branches .branch .circle a {
    color: white;
    background-color: #30c0c4;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 50%;
}

.homepage .branches .branch .capacity {
    padding-left: 35px;
    text-transform: uppercase;
    font-weight: 700;
}

.homepage .branches .branch .capacity h3 {
    color: white;
    display: inline-block;
    padding: 5px;
}

.homepage .branches .branch .capacity span {
    font-size: 13px;
    font-style: italic;
}

.homepage .branches .branch .bottom {
    display: block;
    background-color: #3b5998;
    background-image: url("images/facebook.png");
    background-repeat: no-repeat;
    background-position: 87.5% bottom;
    width: 100%;
    color: white;
    padding: 30px 0 25px 35px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 0.9375rem;
}

.homepage .branches .branch .bottom:hover {
    text-decoration: none;
}

.homepage .branches .branch .bottom .name {
    text-transform: none;
    font-size: 1.25rem;
}

.homepage .branches .branch .black {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.25;
}

.faqs-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 10px 0;
}

#faqs {
    margin: 14px 0;
    padding: 10px 0;
}

#faqs .card {
    border-width: 0 0 1px 0;
    border-radius: 0;
}

#faqs .card:first-child {
    border-top-width: 1px;
}

#faqs .card-header {
    border: 0;
    border-radius: 0;
    background-color: white;
    padding: 20px 0;
}

#faqs .card-header h5 {
    font-family: Nunito;
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0;
}

#faqs .card-header h5 a {
    color: #ed2731;
    text-decoration: none;
}

#faqs .card-header h5 a.collapsed {
    color: #30c0c4;
}

#faqs .card-header h5 a:before {
    font-family: FontAwesome;
    content: "\f106 ";
    padding-right: 0;
    font-size: 1.6rem;
}

#faqs .card-header h5 a.collapsed:before {
    content: "\f107 ";
}

#faqs .card-body {
    line-height: 1.75rem;
    padding: 0;
}

.contacts {
    margin-top: 40px;
}

.contacts .content {
    margin: 25px 0;
}

.contacts .wrapper {
    margin: 25px 0;
    background-color: #eaf8f8;
}

.contacts .contact {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media only screen and (min-width: 1200px) {
    .contacts .contact {
        flex-direction: row;
        align-items: stretch;
        text-align: left;
    }
}

.contacts .contact .photo {
    background-image: url("images/nophoto.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 84px;
    width: 84px;
}

.contacts .contact .text {
    padding: 25px;
    padding-bottom: 10px;
}

.contacts .contact .name {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 800;
}

.contacts .contact .position {
    line-height: 1.5rem;
    font-style: italic;
}

.contacts .contact .phone {
    font-size: 1.125rem;
    line-height: 1.625rem;
    font-weight: 700;
    margin-top: 20px;
}

.contacts .contact .email a {
    font-weight: 700;
    line-height: 1.625rem;
    color: #30c0c4;
    text-decoration: underline;
}

.contacts .container .branches {
    margin: 40px auto;
}

.contacts .container .branch {
    margin-top: 20px;
    line-height: 1.75;
    padding-bottom: 3.5vw;
}

.contacts .container .branch .text {
    padding-bottom: 20px;
}

.contacts .container .branch h4 {
    margin: 0;
}

.contacts .container .branch .address {
    margin: 2px 0;
}

.contacts .container .branch .facebook {
    margin: 18px 0;
}

.contacts .container .branch .facebook .fa-facebook {
    color: white;
    background-color: #3b5998;
    display: inline-block;
    border-radius: 100%;
    padding: 7px 11px;
    font-size: 17px;
}

.contacts .container .branch .facebook a {
    color: #3b5998;
    text-decoration: underline;
    margin-left: 8px;
}

.contacts .container .branch .instagram {
    margin: 18px 0;
}

.contacts .container .branch .instagram .fa-instagram {
    /* color: white; */
    /* background-color: #3b5998; */
    display: inline-block;
    border-radius: 100%;
    border: 1px solid #dfe1e2;
    padding: 7px 8px;
    font-size: 17px;
}

.contacts .container .branch .instagram a {
    color: #3b5998;
    text-decoration: underline;
    margin-left: 8px;
}

.contacts .container .branch .acf-map {
    margin: 35px auto;
    width: 100%;
    height: 180px;
}

.contacts .container .branch b {
    font-weight: 800;
}

.contacts .container .branch .table {
    margin: 0;
}

.contacts .container .branch .table th {
    font-weight: 800;
}

.contacts .container .branch .table th,
.branch .table td {
    border: 0px;
    border-left: 1px solid #e6e6e6;
    padding: 3px 18px;
}

.contacts .container .branch .table th:first-child,
.branch .table td:first-child {
    border: 0px;
}

.contacts .container .branch .table tr.current td {
    background-color: #eaf8f8;
}

.contacts .container .branch .photos {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding-bottom: 30px;
}

.contacts .container .branch .photos .photo {
    width: 100%;
    height: auto;
    margin: 8px 0;
}

@media only screen and (min-width: 1200px) {
    .contacts .container .branch .photos .photo {
        margin: 0;
    }

    .contacts .container .branch .photos .photo.minor {
        height: 33.3%;
        width: 33.3%;
    }
}

@media only screen and (min-width: 768px) {
    .primary-menu {
        height: 100%;
        width: 239px;
        flex-direction: column;
        border-right: 1px solid #e5e5e5;
    }

    .primary-menu .navbar-brand {
        margin: 0;
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .primary-menu .logo {
        height: auto;
    }

    .primary-menu .menu-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .primary-menu .navbar-nav {
        border-top: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
        width: 120px;
    }

    .primary-menu .navbar-nav .menu-item {
        margin-left: -65px;
        width: 250px;
    }

    .primary-menu .navbar-nav .menu-item a {
        font-size: 0.9375rem;
    }

    .primary-menu .navbar-nav .menu-item.current-menu-item a {
        margin-left: 10px;
    }

    body {
        padding-top: 0;
        padding-left: 239px;
    }

    #top {
        /* height: 43vh; */
    }

    /* #bottom {
        height: 48.1vh;
    } */

    #faqs .card-header {
        padding: 20px;
    }

    #faqs .card-header h5 a:before {
        padding-right: 20px;
    }

    #faqs .card-body {
        padding: 0 30px 20px 64px;
    }
}

div.page {
    margin: 40px 0;
}

div.page h2 {
    margin-bottom: 20px;
}

@media only screen and (min-width: 1200px) {
    div.page .text {
        padding-right: 1.25vw;
    }

    div.page .photo {
        padding-left: 1.25vw;
    }
}

.workers-container {
    margin-top: 40px;
}

.workers-container .worker {
    padding: 30px 0;
}

.workers-container .worker .text {
    padding: 20px 0;
}

.workers-container .worker .position {
    margin: 15px 0;
    font-style: italic;
}

.workers-container .worker .photo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.branch .description {
    padding: 20px 0;
}

.branch .type {
    font-style: italic;
}
