/*--------------------------------------------------------------
    Main
--------------------------------------------------------------*/
body{
    font-family: 'Open Sans', sans-serif;
    background: url(../img/bg.jpg) top no-repeat;
    color: white;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
div[title='wstecz'] { display: none !important; }
select[name='pagesclera_length']{width:70px;}
.lb-image{
    min-width:120px;
    height:auto !important;
}
.miniaturka_multimedia{
    width: 120px;
    height:120px;
    background-size: contain;
    background-position: center;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat;
    margin-bottom: 8px;
    margin-left: 10px;
}

.smallwidth2{
  margin-left: 45%;
  margin-right: 45%;
  width: 10%;

}

.smallwidth4{
  margin-left: 45%;
  margin-right: 45%;
  width: 10%;
}

.c2018{
    font-size: 12px;
}
.white{
    color: #fff;
}
.white:hover{
    color: #89ab00;
}
.icon-start{
    height: 160px;
    border-bottom: #89ab00 8px solid;
    margin-top: 30px;
}
icon-start-smal{
    height: 60px;
    border-bottom: #89ab00 8px solid;
    margin-top: 30px;
}
.opis_rocznica{
    font-style: italic;
    font-size: 12px;
    color: #b2b2b2;
}
.tryb_edytorski{
    position: fixed;
    overflow: auto;
    width: 94px;
    height: 357px;
    bottom: 98px;
    right: 0px;
    background-image: url('../img/raport1.png');
    background-position: center;
    cursor: pointer;
    background-repeat: no-repeat;
}
.zamknij{
    position: absolute;
    top: 5px;
    right: 5px;
    font-weight: bold;
    background-color: #ab0000;
    color: #fff;
    padding: 3px;
    z-index: 9;
    border: 0;
}
.formularz_bledu{
    display: none;
}
.krok2{
    display: none;
}
.pop{
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}
.tryb_edytorski_open{
    position: fixed;
    overflow: auto;
    width: 100%;
    height: auto;
    bottom: 0px;
    background-color: #3e8100;
    z-index: 5;
    text-align: center;
    font-size: 17px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: none;
}
.te_activ{
    background-color: #14ab00;
    cursor: pointer;
}
.bladna{
    color: #fff;
    background-color: #ab0000;
    border: 0;
    width: 300px
}
.poprawna{
    color: #fff;
    background-color: #00ab17;
    border: 0;
    width: 300px;
}
.red{
    color: rgb(170, 26, 26);
    border: 1px solid rgb(170, 26, 26);
    border-bottom: 1px solid rgb(170, 26, 26) !important;
}
.dzien{
    font-size: 35px;
    font-style: italic;
}
.dni_tr td{
    width: 14.2%;
}
.calendar_table tbody tr td{
    border: 1px dotted #fff !important;
}
.calendar_table{
    margin-bottom: 50px;
    margin-top: 50px;
}
.slideDown{
    display: none;
}
.bgwhite{
    background-color: #fff;
}
.hall{
    overflow: auto;
    position: relative;
    display: block;
}
.miniaturka_multimedia_osoba{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height:120px;
    background-size: contain;
    background-position: center;
    position: relative;
    overflow: auto;
    border: 1px solid #89AB00;
    background-repeat: no-repeat;
    display: block
}
.mceLayout td{
    padding: 0px !important;
}
.bt_wyszukaj_user_i{
	margin-top: 0px !important;
}
p{
    font-size: 16px;
}
select[name='pages_length'], .search-bar_input{
    margin-top: 0px !important;
}
.dataTables_filter{
   /* display: none !important;*/
}
button{
    border: none;
}
.hovwhite:hover{
    color:#cdfe06 !important;
}
.border{
    border: 2px solid #14ab00;
}
.white_con{
    background-color: #fff;
    border: 1px  solid #89AB00;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #000;
    padding: 10px;
}
.white_con_np{
    background-color: #fff;
    border: 1px  solid #89AB00;
    margin-bottom: 20px;
    color: #000;
    padding: 10px;
}
.white_con_np2{
    
    border: 1px  solid #89AB00;
    margin-bottom: 20px;
    color: #000;
    padding: 10px;
}

.flagi{
    float: right;
    right:15px;
    top: 2px;
    margin-left: 10px;
}
.edit{
    cursor: pointer;
}
.edit_open{
    display: none;
}
a{
  color: #89ab00;
}

a:hover{
    color: #cdfe06;
    text-decoration: none;
    text-shadow: 0px 1px 6px black;
}

table{
    font-size: 16px;
    margin-top: 20px;
}

table th, table td{
    border: none !important;
    padding: 11px !important;
}

table tr{
    border-bottom: 2px dotted #fff !important;
}

table th{
    color: #aeaeae;
    font-size: 14px;
    font-style: italic;
}

table td{
    vertical-align: top !important;
}

table td a{
    color: #89ab00;
}
table td a:hover{
    color: #cdfe06;
}

.table-hover>tbody>tr:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

.table-date{
    font-size: 14px;
}

.form-bar-container{
    margin: 20px 0 10px;
}

form label{
    font-size: 16px;
}

form input, form select{
    height: 40px !important;
    font-size: 16px !important;
    color: #000;
}

.iv-form_stats{
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
.news{
    padding:10px;
    border-bottom: 1px  solid #89AB00;
    
}
.form_stats{
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

button.form-btn{
    background-color: #89ab00;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 16px;
    padding: 10px 36px;
    height: 42px;
    border-radius: 5px;
    color: white !important;
    border: none;
}

button.form-btn:hover{
    background-color: #94b900;
}

.pagination{
    margin: 10px 0;
}

.pagination-container span{
    color: #aeaeae;    
}

.pagination-container .pag-person-number span{
    font-size: 15px;
    color: #89ab00
}

.pagination-container{
    margin-top: 20px;
}

.pagination-container ul li a{
    background: none;
    color: #fff;
    border: none;
}

.pagination-container ul li a:hover{
    color: #fff !important;
    border: 1px solid #89ab00 !important;
    padding: 5px 11px !important;
}
.hov{
    font-weight: bold;
}
.pagination-container ul li a.page-link{
    background: none;
    color: #aeaeae;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover{
    background-color: #89ab00;
}

.pagination>.active>a{
    background-color: #89ab00 !important;
    color: #fff !important;
    cursor: initial !important;
}

.pagination>.disabled>a, .pagination>.disabled>a:focus, .pagination>.disabled>a:hover, .pagination>.disabled>span, .pagination>.disabled>span:focus, .pagination>.disabled>span:hover{
    background: none;
    cursor: initial;
}
.iv-r{float:right;width:auto}
.iv-r i{margin-right: 8px;} 
.iv-r span{padding: 0px 8px;}
.iv-r a{
      -webkit-transition: 0.1s;
	transition: 0.1s;
}
.iv-r a:hover{
    color:#fff;
    background-color: #94B900;
      -webkit-transition: 0.1s;
	transition: 0.1s;
}
.iv-ch{width:auto !important;}
.iv-zdjecie{
        width:80px;
        height:80px;
        background-position: center;
        background-size: contain;
        border:1px solid #729531;
        background-repeat: no-repeat;
}
.g-recaptcha{margin-left:26%;margin-right:auto;width:310px;}
/* Main menu */

.main-menu{
    height: 120px;
    background-color: #fff;
    text-transform: uppercase;
    margin-bottom: 0;
    border: 0;
}

.main-menu ul li{
    height: 120px;
    border-bottom: #fff solid 6px;
}

.main-menu ul li.active{
    border-bottom: #3e8100 solid 6px;
    color: #3e8100;
}

.main-menu ul li a{
    background: none !important;
    color: #3e8100 !important;
    padding-top: 86px;
}

.main-menu ul li:hover{
    color: #285201 !important;
    border-bottom: #264e00 solid 6px;
}

.main-menu ul li:hover a{
    color: #285201 !important;
    text-shadow: none !important;
}

.main-menu ul li.active a{
    color: #3e8100 !important;
    text-shadow: none !important;
}

a.logo{
    height: 120px;    
}
.zmarltd{
    min-width: 100px;
}
button.dotted-arrow{
    padding: 20px 10px;
    background: none;
    border: 0;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Search Bar */
.search-bg{
    background: rgba(255,255,255,0.2); 
    padding: 15px !important; 
/*    box-shadow: 0 0 10px #666 inset; */
    border-radius: 10px;
}
.padding-20{
    margin-top: 15px;
}

.search-bar input{
    border-radius: 5px;
    height: 58px;
    font-size: 24px;
    border: 0px !important;
    background: url(../img/search-arr.png) center right no-repeat #fff;
}

.search-bar input::placeholder{
    color: #b2b2b2;
    font-style: italic;
}

.search-bar input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #b2b2b2;
    font-style: italic;
}
.search-bar input::-moz-placeholder { /* Firefox 19+ */
    color: #b2b2b2;
    font-style: italic;
}
.search-bar input:-ms-input-placeholder { /* IE 10+ */
    color: #b2b2b2;
    font-style: italic;
}
.search-bar input:-moz-placeholder { /* Firefox 18- */
    color: #b2b2b2;
    font-style: italic;
}

.search-bar-btn{
    background-color: #89ab00;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 20px;
    padding: 12px 40px;
    height: 58px;
    border-radius: 5px;
}

.search-bar-btn:hover{
    color: #fff;
}

/* Footer */
.footer-banner{
    background: url(../img/footer-banner.jpg) top no-repeat;
    height: 415px;
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
    margin-top: 50px;
}

.footer-banner h2{
    font-size: 60px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 170px;
    letter-spacing: 6px;
}

footer{
    background: black;
    padding-bottom: 10px;
    text-transform: uppercase;
}

ul#footer-menu{
    margin: 22px 0;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
}

ul#footer-menu li:first-child{
    list-style: none;
}

ul#footer-menu li{
    float: left;
    margin-right: 30px;
}

ul#footer-menu li a{
    color: white;
    text-decoration: none;    
}

ul#footer-menu li a:hover{
    color: #89ab00;
}

.copyrights{
    padding-top: 10px;
}

.copyrights span{
    padding-left: 10px;
}

/*--------------------------------------------------------------
Home
--------------------------------------------------------------*/
.content-start{
    padding-bottom: 20px;
}

/* Home Slogan */
.slogan h1{
    color: #89ab00;
    font-weight: bold;
    font-size: 150px;
    text-transform: uppercase;
    line-height: 60px;
    margin-top: 80px;
}

.slogan h1 span{
    color: #fff;
    font-size: 70px;
    padding-left: 350px;
}

.slogan-text h2{
    color: #89ab00;
    margin-right: 100px;
    margin-bottom: 30px;
}

.slogan-text p{
    clear: both;
}

/* Tiles */
.tiles{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.iv-btn-xs{width:45px;}
.tiles-smal{
    margin-top: 40px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.iv-tr-boxes{
    height:auto;
}
.iv-td-box{
    text-align: center;
    height:230px !important;
}
.iv-td-box p{
    font-size:20px;
    line-height: 32px;
}
.iv-td-box p:first-child{
    font-size:29px;
    font-weight: bold;
}
.iv-td-box p:first-child span{
    font-size:34px;
}
.tiles tr td{
    display: inline-block;
    width: 33%;
    height: 300px;
    background-color: rgba(137,171,0, 0.4);
    padding-top: 40px;
    padding-bottom: 30px;
    color: #fff;
    text-decoration: none;
    transition-duration: 0.6s;
    margin-left: 0;
    margin-right: 0;
}
.tiles-smal tr td{;
    height: auto;

}


.tiles tr{
    border-bottom: none !important;
}
.tiles tr td img{
    padding-top: 20px;
    padding-bottom: 20px;
}
.tiles-smal tr td img{
    padding-top: 0px;
    padding-bottom: 0px;
    height: 55px;
}

.tiles tr td:hover{
    background-color: rgba(137,171,0, 0.6);
}

.h-tile1{
    margin-left: 20px !important;
}

.h-tile3{
    margin-right: 0 !important;
}

.h-tile1 .tile-ico img{
    padding-top: 10px;
}

.h-tile3 .tile-ico img{
    padding-top: 35px;
}

.tile-ico{
    padding-bottom: 30px;
}

.tile-txt{
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 40px;
    line-height: 1.4;
}
.tile-txt-smal{
    font-size: 20px;
    margin-top:13px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.4;
}

/*--------------------------------------------------------------
Menu
--------------------------------------------------------------*/

.dropdown-menu li a{
    padding-top: 17px !important;
}
.dropdown-menu li{
    height: 50px !important;
    color: #89ab00;
}
.navbar-nav > li > .dropdown-menu{
    background-color: #89ab00;
    color: #fff;
}
.main-menu ul li a{
    color: #000;
}
.h1, h1 {
    font-size: 36px;
}
.h2, h2 {
    font-size: 30px;
}
.h1, .h2, .h3, h1, h2, h3{
    margin-top: 20px;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}
/*--------------------------------------------------------------
Single Page
--------------------------------------------------------------*/
.single-page-container{
    width: 1470px;
    margin: 0 auto;
}

.single-page-header .logo{
    padding-left: 0;
    padding-top: 50px;
}

/* Page Nav */
.page-nav{
    float: left;
/*    height: 56px;*/
    height: auto;
}

.page-nav .container-fluid{
    padding: 0;
}

.page-nav ul li{
    height: 56px;
}

.page-nav ul li.active{
/*    background-color: #89ab00;*/
}

.page-nav ul li a{
    color: black !important;
    padding-top: 20px;
}

.page-nav ul li:hover{
    color: #fff !important;
    background-color: #89ab00 !important;
    text-shadow: none !important;
}

.single-page-header{
    background-color: #fff;
}

.h-padding{
    padding-left: 15.7%;
}

.page-h-top{
    border-bottom: 1px solid #89ab00;    
}

.single-page-header .slogan h1{
    font-size: 68px;
    line-height: 26px;
    margin-top: 64px;
    margin-bottom: 0;
}

.single-page-header .slogan h1 span{
    color: #818181;
    font-size: 32px;
    padding-left: 150px;
}

.single-page-header .slogan-text h2{
    margin-top: 0;
    margin-left: 410px;
    margin-bottom: 30px;
    float: left !important;
    font-size: 14px;
}

.family-name-bar{
    padding: 20px 0;
    background-color: #89ab00;
}

.family-name-bar h3{
    margin: 0;
    text-transform: uppercase;
    font-weight: bold;
}

/* Page content */
.page-content{
    padding: 40px 40px 20px 40px;
}

.boxes{
    padding-top: 30px;
}

.boxes div{
    padding: 0;
}

.boxes-wrapper{
    padding: 0 20px !important;
}

.box{
    background-color: #dbe4aa;
}

.box-grands{
    background: url(../img/grands-ico.png) center no-repeat #dbe4aa;
    background-size: 10%;
}

.box-parents{
    background: url(../img/parents-ico.png) center no-repeat #dbe4aa;
    background-size: 10%;
}

.box-relationship{
    /*background: url(../img/relationship-ico.png) center no-repeat #ffffff;*/
    background-color: #fff;
    border:4px solid  #89ab00;
}
.iv-rel-os{width:45% !important;}
.iv-ico-rel{float:left; padding-top:180px !important;text-align:center;}
.box-border{
    border-right: 3px solid #ebf5c9;
}

.box-header{
    background: #89ab00;
    padding: 10px 0 !important;
}

.form-control{
    margin-top: 8px;
}

.box-header h3{
    margin: 0 !important;
    text-transform: uppercase;
    font-weight: bold;
}
.material-switch > input[type="checkbox"] {
    display: none;   
}

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative; 
    width: 40px;  
}

.material-switch > label::before {
    background: rgb(255, 255, 255);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}
.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}
.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}
.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}
.box-col{
/*    background: #dfebc2;*/
    color: black;
}

.text-img{
    margin-top: 40px;
}

.text-img img{
    margin-bottom: 20px;
}

.box-col h4{
    font-weight: bold;
}

.person-dates{
    color: #565656;
    font-style: italic;
    /*margin-bottom: 26px;*/
    min-height: 40px;
}

.iv-ico-rels{
    min-height: 52px;
    margin-top: -122px;
    
}
.box-grands{
    padding-bottom:10px !important;
}
.box-edit-ico{
    margin-bottom: 20px !important;
}

.box-edit-ico a{
    font-size: 40px;
    color: #89ab00
}

/* Connector*/
.con-1-lvl{
    border: 5px solid #89ab00;
    height: 20px; 
    border-top: 0;
}

.con-2-lvl-left{
    border: 5px solid #89ab00; 
    height: 20px; 
    border-top: 0; 
    border-right: 0;
}

.con-2-lvl-right{
    border: 5px solid #89ab00; 
    height: 20px; 
    border-top: 0; 
    border-left: 0;
}

.con-3-lvl{
    height: 20px; 
    border-right: 5px solid #89ab00;
}

.marker{
    width: 30px;
    height: 30px;
    position: absolute;
    cursor: pointer;
}
.miniaturka_multimedia:hover .marker{
    border: 2px solid #14ab00 !important; 

}

/* Transparent boxes */
.transparent-boxes{
    margin-top: 30px;
}

.transparent-box .box-header h3{
   color: #fff;
}
.transparent-box{
    background-color: #dfebc2;;
    color: #000000;
    font-weight: bold;
    border: 1px solid #89AB00;
}
.padding10{
    padding: 10px !important;
}
.padding10t{
    padding: 15px !important;
    padding-top:20px;
}

.tr-box-list{
    padding-left: 0 !important;
    padding-right: 0px !important;
}

.transparent-box ol li{
    margin-bottom: 10px;
    font-size: 16px;
}

.transparent-box ol li a{
    color: white;
    font-size: 20px;
}

.tr-box-ico{
    margin-bottom: 30px;
}

.modal-title{
    color: #000;
}

.brak-danych{
    min-height: 100px;
    background-color: rgba(235, 245, 201, 0.1);
    padding: 50px 0 !important;
    border: 1px solid #89AB00;
}

.brak-danych .brak-img-txt{
    text-transform: uppercase;
    font-weight: normal;
    color: black;
}

.brak-danych img{
    margin-bottom: 14px;
}
.form-control{
    margin-top: -8px;
}
.form-horizontal .control-label{
    padding-top: 0px;
}

/*--------------------------------------------------------------
Page Person
--------------------------------------------------------------*/
.person-container span, .person-container ul, .person-container ol{
    font-size: 18px !important;
}

.dates-container{
    margin-bottom: 20px;
    padding-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid gray;
}

.dates-container .date-block{
    padding-bottom: 20px;
}

.person-name{
    
    margin-bottom: 10px;
    min-height: 81px;
}

.label-gray{
    color: #aeaeae;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
}

.text-img2 img{
    border: 1px solid #aeaeae;
    padding: 5px;
}

.ico{
    padding: 8px;
}

.block-ico{
    margin-top: 30px;
}

.links-container{
    color: #89ab00;
    font-size: 16px;
}
.opublikowany a{
    color: #14ab00 !important;
}
.opublikowany a:hover{color:#cdfe06 !important;}
.nieopublikowany a{
    color: #ab0000 !important;
}
.usun{
    right:10px;
    margin: 15px;
    position: absolute;
}
.iv-box-right{
    float:right;
    margin-right:8.33333%;
}
.iv-right{
    text-align: right;
}
.box-col-right{
        float:right;
    }
.iv-mob{display:none !important;}
.iv-ico-rels{text-align:center;}
#mobile-ver{display:none; }

a .fa:hover{color:#cdfe06;}
a .rel-ico:hover{-webkit-filter: contrast(600%);filter: contrast(600%);}

.white_con img,.white_con table{max-width: 100% !important;height:auto;}
/*=====================================
MQ
=======================================*/


@media(max-width: 1600px){
    .h-padding{
        padding: 0;
    }
    
    .page-menu-container{
        width: 82%;        
    }
    
    .single-page-header .slogan{
        width: 84%;
        margin: 0 auto;
    }
    
    .box-grands{
        background-size: 55px;
    }
    
    .box-col-left{
        padding-left: 10px !important;
        padding-right: 30px !important;
    }
    
    .box-col-right{
        padding-left: 30px !important;
        padding-right: 10px !important;
        float:right;
    }
    
    .box-grands .text-img img{
        margin-bottom: 10px;
    }
}

@media(max-width: 1366px){
    .single-page-header .slogan{
        width: 100%;
    }
    
    .page-menu-container{
        width: 98%;
    }
    
    .boxes-wrapper{
        padding: 0 10px !important;
    }
    
    .box-parents{
        background-size: 55px;
    }
    
    .tr-box-block{
       /* width: 30%;*/
    }
    
    .tr-box-no-ico, .tr-box-container{
        /*margin-left: 40px !important;*/
    }
    
    .tr-box-list{
        /*margin-left: 20px !important;*/
    }    
     .iv-rel-os{width:43% !important;}
}

@media(max-width: 1199px){
     .iv-rel-os{width:42% !important;}
   
    .h-container-fluid{
        padding-left: 0 !important;
    }
    
    .slogan h1{
        font-size: 134px;
        line-height: 50px;
    }
    
    .slogan h1 span{
        font-size: 60px;
        padding-left: 38.3%; /*320px;*/
    }
    
    .slogan-text h2{
        margin-right: 0;
        font-size: 26px;
        margin-top: 10px; 
    }
    
    .page-menu-container{
        width: 100%;
    }
    
    .tiles{
        margin-top: 60px;
        margin-bottom: 60px;
    }
    
    .box-grands{
        background-position: center 99%;
    }
    
    .box-col-left{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .box-col-right{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .tiles a.tile{
        padding-top: 20px;
        height: 280px;
    }
    
    .box-grands{
        padding-bottom: 60px !important;
    }
    
    .box-grands .text-img{
        margin-top: 30px;
    }
    
    .box-grands .text-img. img{
        width: 140% !important;
    }
    
    .box-grands .person-dates{
        margin-bottom: 0;
    }
    
    .tile-txt{
        font-size: 28px
    }
    
    .footer-menu-container{
        padding: 0;
        padding-left: 9%;
    }
    
    .footer-menu{
        text-align: center;
    }
    
    .copyrights{
        text-align: center;
    }
    
    .tr-box-list ol{
        padding-left: 40px;
    }

    .transparent-box ol li{
        font-size: 14px;
    }
}

@media (max-width: 1100px){
    .tr-box-list ol{
        padding-left: 30px !important;
    }
    
    .tr-box-block{
        /*margin-left: 3% !important;*/
    }
     .iv-offset-col{
        margin-left:0px !important;
    }
    /*.tr-box-block{
        width:46% !important;
    }*/
    .box-relationship{
        margin-top:20px;
    }
    .iv-box-right{
        /*float:left;*/
        margin-right:0px;
    }
    .iv-box-rel {width:50% !important;}
}

@media (max-width: 991px){
     .iv-rel-os{width:41% !important;}
    
    .iv-box-rel {width:100% !important;}
    .box-grands, .box-grands h4{font-size:14px;}
    .box-grands span{font-size:12px;}
    
    .iv-lg{display:none !important;}
    .tiles tr td {
    display: inline-block;
    width: 31%;
    }
    .iv-col-filtr{
        width:40%;
        float:right;
    }
     .iv-top-bar{
        position: relative;
        overflow: auto;
    }
    .container{
        width: 85%;    
    }
    
    .slogan-text h2{
        font-size: 22px;
    }
    
    .tiles a.tile{
        height: 240px;
        padding-top: 16px;
    }
    
    .tile-ico{
        padding-bottom: 20px;
    }
    
    .tile-txt{
        padding: 0 10px;
        line-height: 34px;
    }
    
    .h-tile2 img{
        padding-top: 12px;
    }
    
    .footer-banner > div{
        width: 95%;
    }
    
    .footer-banner h2{
        font-size: 50px;
    }
    
    footer{
        padding: 0 !important;
    }
    
    .footer-menu-container{
        padding-left: 2%;
    }
    
    .copyrights{
        font-size: 12px;
    }
    
    .single-page-header .logo{
        padding-top: 0;
    }
    
    .single-page-header .slogan-text h2{
        margin-left: 300px;
    }
    
    .tr-box-block{
        /*width: 30%;*/
    }
    
    .tr-box-no-ico, .tr-box-container{
        margin-left: 20px !important;
    }
    
    .parents-container .boxes-wrapper{
        padding: 0 40px !important;
    }
    
    .box-parents{
        /*background-position: center 99%;*/
        background-size: 46px;
    }
     .iv-td-box {
    height: 280px !important;
    }
   .iv-mob{display:block !important; margin-top:15px;margin-left:10px !important;width:40% !important}
    .iv-mob.iv-box-right { margin-right: 10px;}
}

@media (max-width: 940px){
    .box-grands .miniaturka_multimedia_osoba {
        height: 100px;
    }
    .box-parents .person-dates{margin-bottom:0px;}
   
}
@media (max-width: 815px){
    .tiles-smal tr td {
        height: 147px;
    }
   
}

@media (max-width: 767px){
    .box-grands .miniaturka_multimedia_osoba {
        height: 85px;
    }
    #mobile-ver{display:block; }
    .flagi a{
        margin-left:10px;
    }
    .single-page-header .slogan h1{
        margin-top:0px;
        font-size:60px;
    }
    .start-table{
        width: 100%;
        position: relative;
        overflow: scroll;
    }
    .single-page-header .slogan h1 span{
        font-size:28px;
    }
    .iv-r, .flagi{
        margin-top:3px;
        margin-bottom:8px;
    }
    .iv-top-bar{
        position: relative;
        overflow: auto;
        margin-bottom:12px;
    }
    .container{
        width: 90%;
    }
    
    .page-content{
        padding: 0 20px 20px 20px; 
    }
    .content-schemat {
        padding: 0px 0px 20px 0px;
    }
    .start-header .navbar-header{
        padding: 0 4%;
    }
    
    .start-header .main-menu .container{
        margin: 0 !important;
        width: 100%;
    }
    
    .start-header .main-menu ul li{
        height: 56px;
    }
    
    .start-header .main-menu ul li a{
        padding-top: 20px;
    }
    
    #navbar{
        background-color: #fff !important;
        border-bottom: 2px solid #89ab00;
    }
    
    .main-menu ul li{
        text-align: center;
    }
    
    .main-menu ul li a{
        font-size: 18px;
    }
    
    .navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover{
        background: none;
    }
    
    .main-menu .navbar-toggle{
        border: 0;
        margin-top: 36px;
    }
    
    .main-menu .navbar-toggle .icon-bar{
        color: #89ab00;
        height: 5px;
        width: 46px;
    }
    
    .navbar-toggle .icon-bar+.icon-bar{
        margin-top: 7px;
    }
    
    .slogan h1{
        font-size: 120px;
        line-height: 52px;
    }
    
    .slogan-text h2{
        font-size: 20px;
        padding-left: 
    }
    
    .slogan h1 span{
        padding-left: 31%; /*190px;*/
    }
    
    .tiles a.tile{
        padding-top: 10px;
        height: 210px;
    }
    
    .tile-ico{
        padding-bottom: 20px;
    }
    
    .tile-txt{
        font-size: 24px;
        line-height: 30px;
    }
    
    .footer-banner h2{
        font-size: 40px;
    }
    
    .footer-menu-container{
        padding: 0;
    }
    
    ul#footer-menu{
        text-align: center;
        list-style: none;
        line-height: 36px;
        padding: 0;
    }
    
    ul#footer-menu li{
        width: 100%;
        font-size: 20px;
    }
    
    .copyrights{
        padding: 0 20px;
    }  
    
    .copyrights img{
        margin: 20px 0;
    }
    
    .single-page-header .page-nav{
        width: 100%;
    }
    
    .single-page-header .navbar-toggle{
        margin-top: 4px;
    }
    
    .box-parents{
        padding-bottom: 20px !important;
    }
    
    .box-parents .text-img{
        margin-top: 30px;
    }
    
    .box-parents .text-img img{
        margin-bottom: 10px;
    }
    
    .parents-container .boxes-wrapper {
        padding: 0 20px !important;
    }
    
    .tr-box-block{
        width: 46% !important;
        /*margin-bottom: 40px;
        margin-left: 10% !important;*/
    }
}

@media (max-width: 730px){
    .box-header h3{
        font-size: 17px;
        color:#fff;
    }
    
    .box-grands .text-img img, .box-parents .text-img img{
        width: 90%;
    }
    
    .single-page-header .slogan-text{
        padding: 0;
    }
    
    .single-page-header .slogan-text h2{
        float: right !important;
        margin-top: 10px;
        margin-left: 28%;/*160px;*/
        width: 50%;
    }
}

@media (max-width: 680px){
    .iv-mob{width:40% !important;}
     .iv-td-box {
    width:98% !important;
         margin-bottom:10px;
    }
     .iv-td-box {
    height: 250px !important;
    }
    .tiles .tile{
        width: 92% !important;
        margin: 0 !important;
        margin-left: 4% !important;
        margin-bottom: 20px !important;
        height: 240px !important;
        padding-top: 20px !important;
    }

    .tiles .tile-ico{
        margin: 0 auto;
        width: 100%;
    }

    .tile-txt{
        font-size: 30px;
    }  
    .iv-col-filtr{
        margin-bottom:0px !important;
        padding-right:2% !important;
        width:100%;
    }
    .iv-mob{width:40% !important;}
}

@media (max-width: 575px){  
    
    .slogan h1 span{
        padding-left: 25%; /*120px;*/
    }
    
    .footer-banner h2{
        font-size: 46px;
        margin-top: 140px;
        line-height: 56px;
    } 
    .iv-mob{width:40% !important;}
}

@media (max-width: 550px){
    
    .slogan h1{
        font-size: 110px;        
        line-height: 44px;
    }
    
    .slogan h1 span{
        font-size: 48px;
    }
    .tr-box-block{
        width: 80% !important;
        margin-bottom: 40px;
        margin-left: 10% !important;
    }
    .iv-mob{width:40% !important;margin:10px !important}
}

