/*
Theme Name: KC2
Author: Marek Drahovzal
Author URI: 
Description: Téma pro frontend konzultačního centra NPI
Version: 0.1
License: MIT
License URI: http://www.gnu.org/licenses/gpl.html

bootstrapfour WordPress Theme
*/

/* The bootstrap.css file is auto-enqueued in functions.php, also font-awesome */

/* YOU SHOULD BE MAKING A CHILD THEME. Don't make me be the bad guy and erase all your hard work with a theme update. I don't want to destroy your world. A child theme template is in the works, watch the GitHub repo (https://github.com/Hyprtxt/bootstrapfour) to keep up with developments */


/* * * * * * * * * * * * * * *
 * WordPress Content Classes
 * * * * * * * * * * * * * * */


html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    min-height: 100%;
    font-family: 'Roboto Condensed', sans-serif;
    color: #4f5f6f;
   /* overflow-x: hidden;*/
}

.main-wrapper {
    width: 100%;
    /*position: absolute;*/
    /*height: 100%;*/
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
}


.app {
    background-color: #ffffff;
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    left: 0;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 3px #ccc;
    -webkit-transition: left 0.3s ease, padding-left 0.3s ease;
    transition: left 0.3s ease, padding-left 0.3s ease;
    overflow: hidden;
}
.container-small-logo {
    display: block;
    padding: 12px 0;
}
.container-small-logo .small-logo img {
    width: 155px;
    margin-left: 10px;
}
.header:not(#rvpHeader .header) {
    width: 100%;
    min-height: 100px;
    position: relative;
    display: inline-block;
    display: block;
    background-color: #d7dde4;
    left: 230px;
    left: 0;
    right: 0;
    -webkit-transition: left 0.3s ease;
    transition: left 0.3s ease;
    /*z-index: 12;*/
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.ema .header .navbar.navbar-color {
    background-color: #005952;
    color: #fff;
}
.ema .header.sticky-top {
    /*top: 55px!important;*/
    z-index: 9!important;
}
.navbar {
    min-height: 70px;
    width: 100%;
}
.navbar {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.5rem 1rem;
}
#navbarNavDropdownMobile a {
    color: white;
}
#navbarNavDropdownMobile li {
    list-style: none;
    width: 100%;
    text-align: center;
}
header .navbar-brand {
    background: transparent url(img/sprite.png) no-repeat -120px 0px;
    width: 100px;
    height: 86px;
}
#beta {
    background: transparent url(img/sprite.png) no-repeat 0px -147px;
    width: 153px;
    height: 45px;
    margin-left: 15px;
}
.views {
    background-image: url(img/sprite.png);
    background-repeat: no-repeat;
    background-position-x: -235px;
    background-position-y: -150px;
    width: 29px;
    height: 22px;
    display: inline-block;
    cursor: help;
}
.header .header-block-nav a {
    text-decoration: none;
}
a:not(.btn) {
    -webkit-transition: initial;
    transition: initial;
    /*
    text-decoration: underline;
    color: #969696;
    */
}
#rvpHeaderWrap a {
    text-decoration: none;
}
.navbar-brand {
    display: inline-block;
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.header .header-block-search {
    margin-right: auto; 
}
.header .header-block-search {
    right: 106px;
    top: 16px;
    min-height: 40px;
    padding: 0px 5px;
}

.header-block-search .menu-icon {
    height: 40px;
    width: 39px;
    background-position: -295px -87px;
}
.header .menu-icon, .header .chessman-icon {
    display: inline-block;
    background: transparent url('img/sprite.png') no-repeat -390px -90px;
}
.dropdown-toggle.menu .chessman-icon {
    height: 38px;
    width: 27px;
    background-position: -352px -86px;
}
.dropdown-toggle.menu .menu-icon, .navbar-toggler .menu-icon {
    height: 34px;
    width: 42px;
    background-position: -389px -86px;
}
.header .menu-icon, .header .chessman-icon {
    display: inline-block;
    background: transparent url('img/sprite.png') no-repeat -389px -86px;
}

.header-block-search .menu-icon {
    height: 40px;
    width: 39px;
    background-position: -295px -87px;
}
.searchselect {
    text-transform: uppercase;
}
.header .header-block-nav {
    margin-left: auto;
    white-space: nowrap;
    padding-right: 15px;
}
.header .header-block-chessman {
    right: 106px;
    top: 22px;
    position: absolute;
}
.dropdown-toggle::after {
    display: none;
}
h1, h2, h3, h4 {
    color: #005952;
    font-family: 'Roboto Condensed', sans-serif;
}
.archive-title {
    margin-top: 67px;
    margin-bottom: 40px;
}
.archive-title span {
    text-transform: uppercase;
}
.page-title {
    margin-top: 65px;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: left;
    font-size: 1.6rem;
    font-weight: 700;
}
h2.page-title {
    font-size: 2.8rem;
    font-family: 'Amatic SC', cursive;
    text-transform: none;
    text-align: center;
}
h2.page-title.action {
    font-size: 1.85rem;
    margin-top: 35px;
    text-transform: uppercase;
    font-family: inherit;
    margin-bottom: 40px;
}
.bg {
    color: #005952;
    padding-top: 10px;
    background-position-x: 50%;
    background-position-y: 85%;
    background-repeat: no-repeat;
    background-color: #ffca18;
}
.bg-search {
    background-image: url("img/hp_bg.png");
}
.bg-cta {
    background-image: url("img/hp_cta.png");
    background-position-y: 60%;
    color:black;
}
.bg-cta a.cta{
    margin-top: 30px;
}
.bg-cta-with-text h2.page-title.action {
    margin-bottom: 20px;
}
.app .content {
    padding: 95px 20px 75px 20px;
    min-height: 100vh;
}
.app .content {
    padding: 0px;
}
.main-search-form input {
/*    text-transform: uppercase;*/
    font-size: 18px;
}
.main-search-form input:hover {
       
}
.btn-blue {
    background: #005952;
    color: white;
    font-weight: 700;
    padding: 18px 64px 18px 65px;
}
.btn-blue:hover {
    color: white;
}
.input-lg, select.input-lg + .chosen-container-multi .chosen-choices, select.input-lg + .chosen-container.chosen-container-single .chosen-single {
    border-width: 2px;
    line-height: 44px;
    min-height: 64px;
    border-radius: 5px;
}
.input-blue, select.form-control.input-blue + .chosen-container-multi .chosen-choices, select.form-control.input-blue + .chosen-container.chosen-container-single .chosen-single {
    border-color: #005952 !important;
}
/*

input[type="checkbox"] {
    display:none;
}

input[type="checkbox"] + label span {
    display:inline-block;
    width:29px;
    height:29px;
    margin:-2px 10px 0 0;
    vertical-align:middle;
    background:url('img/sprite.png') no-repeat -154px -147px;
    cursor:pointer;
}

input[type="checkbox"]:checked + label span {
    background:transparent url('img/sprite.png') no-repeat -185px -147px;
}
*/
.section {
    display: block;
    margin-bottom: 25px;
}

.tips p {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 500;
}
.tips p strong {
    color: #005952;
}
.tips div.small {
    background-image: url("img/border_horizontal.png");
    background-repeat: repeat-x;
    background-position: 0 0;
    text-align: center;
    padding-top: 10px;
}
.howArrow {
    position: relative;
    left:-10px;
}    
.howArrow2 {
    left:-30px;
}    
.tips .img-fluid {
    max-width: 200px;
}
h2, h3 {
    font-weight: bold;
    text-transform: uppercase;    
}
.title-block {
    margin-top: 45px;
}
a.cta {
    border-radius: 6px;
    background-color: #005952;
    color: white;
    display: inline-block;
    margin: 0.25em;
    margin-bottom: 0.25em;
    overflow: hidden;
    padding: 18px 64px 18px 65px;
    text-decoration: none;
    line-height: 1;
    text-align: center;
    margin-bottom: 45px;
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: bold;
    transition: width 2s;
}
a:hover {
    text-decoration: none;
}  
a.cta:hover, .btn:hover  {
    background-color: #009a53;
}  

section.garanters-section {
    background-color: #c9e6d5;
}
.garanters-section {
    color: black;
}
.garanters-section h4 {
    color: black;
    font-weight: 700;
}
.garanters-section h2 {
    margin: 25px 0;
}
.garanters-section p {
    margin: 10px 0 25px 0;
}
.garanters-section {
    padding-bottom: 40px;
    margin-bottom: 0px;
}
.garanters-section .icon {
    padding-left: 40px;
    background-position-x: 0%;
    background-position-y: 59%;
    background-repeat: no-repeat;
    margin-top: 8px;
}
.garanters-section .icon.email {
    background-image: url("img/envelope.png");
}
.garanters-section .icon.phone {
    background-image: url("img/phone.png");
}
.footer-menu a {
    font-weight: bold;
    text-decoration: none;
    color: #005952;
}
.footer-menu a:hover {
    text-decoration: underline;
}
.footer-menu li {
    list-style: none;
    line-height: 2.4;
}
.footer-menu ul.personalInfo li a {
    font-weight: 300;
}
.footer-menu ul.personalInfo, .footer-menu ul.personalInfo li {
    margin-bottom: 0;
    line-height: 1;
}
.footer-menu .nav-link {
    padding: 0rem;
}
.footer-menu {
    background-image: url("img/border_vertical.png");
    background-repeat: repeat-y;
    background-position: 0 0;
}
footer .eu-ban .ban1 {
    background-position: 0px 2px;
    width: 250px;
}
footer{
  /*background:#E2E2DE;*/
  width: 100%;
  display: inline-block;
  font-size:14px;
  /*padding:45px 0 25px;*/
}

footer .eu-ban{
  width:100%;
}

footer .eu-ban .ban{
  height:46px;
  background: transparent url("img/ban.jpg") no-repeat;
  display: inline-block;
}
footer .eu-ban .ban1{background-position: 0px 2px; width:250px;}
footer .eu-ban .ban2{background-position: 0px -45px; width:65px;}
footer .eu-ban .ban3{background-position: -67px -45px; width:125px;}
footer .eu-ban .ban4{background-position: -196px -45px; width:85px;}

.last-section {
    margin-bottom: 0;
}
.margin-bottom-10 {
    margin-bottom: 10px !important;
}
.margin-bottom-25 {
    margin-bottom: 25px;
}
.margin-bottom-40 {
    margin-bottom: 40px;
}
.margin-top-20 {
    margin-top: 20px;
}

.paddding-bottom-30 {
    padding-bottom: 30px;
}

.row.garanters-section h4 {
    font-size: 1.3rem;
}
a.backlink {
    text-decoration: none;
    color: #005952;
    font-weight: 600;
    background: transparent url("img/backlink.png") no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
    padding-left: 23px;
    background-position-x: 0px;
    background-position-y: 3px;
    margin-top: 20px;
}
a.backlink:hover {
    text-decoration: underline;
}
.bigForm label:not(.nonlabel) {
    font-weight: 600;
    font-size: 1.2rem;
    color: #005952;
    margin: 10px 0 5px 0;
}

.bigForm input, .bigForm select, .bigForm textArea {
    font-weight: 300;
    font-size: 1.2rem;
    color: black;    
    width: 100%;
    border: 2px solid #005952;
    height: 50px;
    padding: 7px;    
    border-radius: 3px;
    margin-left: -15px;
    margin-bottom: 20px;
}
.bigForm textArea {
    height: 250px;
} 
.bigForm i {
    color: #005952;
}


.header .header-block-nav .dropdown-menu {
    padding: 0;
    margin-top: 25px;
    background-color: #005952;
    margin-right: -3px;
}
.header .header-block-nav .profile-dropdown-menu {
    left: auto;
    right: 0;
    min-width: 180px;
    white-space: normal;
}
.header .header-block-nav .dropdown-menu {
    margin-top: 15px;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-menu {
    text-align: center;
}
.dropdown-menu {
    float: left;
    -webkit-box-shadow: 2px 3px 6px rgba(126, 142, 159, 0.1);
    box-shadow: 2px 3px 6px rgba(126, 142, 159, 0.1);
    border: 1px solid rgba(126, 142, 159, 0.1);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.header .header-block-nav .dropdown-menu > a {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}
.ema .header .navbar .dropdown-menu a:hover {
    color: #ffffff;
    background: #037e74;
}
.header .header-block-nav .profile-dropdown-menu a {
    position: relative;
    padding: 20px 15px;
    font-size: 1.2rem;
    min-width: 280px;
}
.header .header-block-nav .profile-dropdown-menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 1px;
    border-bottom: 1px dashed #8e8e8e;
    left: 10px;
    right: 10px;
}
input.button {
    background: #005952;
    border: solid 1px #005952;
    color: white;
    text-transform: uppercase;
    width: auto;
    padding: 11px 50px;
    margin-top: 3rem;
}
.hidden {
    display: none;
}


#queryList h4 {
    font-size: 1rem;
    text-align: left;
    margin-bottom: 15px;
    font-style: italic;
    color:black;
}
#queryList .query {
    background-image: url("img/border_horizontal.png");
    background-repeat: repeat-x;
    background-position: 0 100%;
    margin-bottom: 40px;
    text-align: left;
    font-size: 1rem;
}
#queryList .query .excerpt {
    padding-bottom: 30px;
}
.single #queryList .query {
    background-image: none;
}
#queryList .query .cta {
    font-size: 0.9rem;
    padding: 17px 40px 16px 40px;
    border-radius: 3px;
    margin-top: 30px;    
}   
#queryList .query .cta.mail {
    background-image: url(img/sprite.png);
    background-repeat: no-repeat;
    background-position-x: -266px;
    background-position-y: -142px;
    padding: 17px 25px 17px 74px;
}  
#queryList .query .cat {
    border-radius: 9px;
    padding: 4px 11px;
    margin-right: 15px;
    border: 1px solid #005952;
    text-transform: uppercase;
    font-size: 0.7rem;
}   
#queryList .query a.cat {
    text-decoration: none ;
    color: black;   
}
#queryList .query .cats {
    margin-bottom: 35px;
}
#queryList .query .metas {
    margin-bottom: 35px;
}
#queryList .query .metas .date {
    color:#005952;
}
.justify-content-center {
    -ms-flex-pack: center !important;
    justify-content: center !important;
}
.pagination li {
    list-style: none; 
    word-wrap: break-word;
}    
.pagination li a, .pagination li span {    
    border-color: #0084C0; 
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    border: 1px solid #dee2e6;
    border-top-color: rgb(222, 226, 230);
    border-right-color: rgb(222, 226, 230);
    border-bottom-color: rgb(222, 226, 230);
    border-left-color: rgb(222, 226, 230); 
    text-decoration: none;
}
.pagination li a {    
    color: #005952;
}
.pagination li.active {
    background-color: #005952;
}    
.pagination li.active span {
    color:white;
}    
.questionCount {
    color:black;
    font-size: 0.9rem;
    text-align: center;        
}
.allQ {
    margin-bottom: 40px;
    font-size: 1.3rem;
}
.allQ a {
    text-decoration: none;
    color: #005952;
}
.popupWrap {
    position: absolute;
    background-color: white;
    z-index: 1060;
    display: block;  
    background-color: #fff;
    background-clip: padding-box;
    border: 2px solid #005952;
    border-radius: 0.3rem;    
}
.popup {    

}
.emailForm label {
    line-height: 1;
}
.emailForm h3 {
    margin: 30px 0;
    font-size: 1.25rem;
}
.emailForm small {
    font-style: italic;    
}
.closepopup {
    display: block;
    background: transparent url(img/sprite.png) no-repeat -517px -145px;
    width: 153px;
    height: 40px;
    margin-left: 15px;
    width: 40px;
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    text-decoration: none !important;
    z-index: 100;    
}
.emailForm input.button {
    margin-top: 1rem;
}
.popupWrap {
    display: none;    
}
.emailSuccess  {
    background-image: url(img/emailSent.png);
    background-repeat: no-repeat;
    background-position: center;
}
.emailSuccess h3 {
    margin:5.5rem 0;
}
.searchFrmCta {
    text-align: center;
}
.searchFrmCta input[type="submit"].btn-block {
    display: inline-block;
    width: auto;
    margin: 35px 0 10px 0;
}