
@font-face {
    font-family: 'Alegreya Bold';
    src: url('../fonts/alegreya-bold-webfont.eot');
    src: url('../fonts/alegreya-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreya-bold-webfont.woff2') format('woff2'),
         url('../fonts/alegreya-bold-webfont.woff') format('woff'),
         url('../fonts/alegreya-bold-webfont.ttf') format('truetype'),
         url('../fonts/alegreya-bold-webfont.svg#alegreyabold') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Alegreya Italic';
    src: url('../fonts/alegreya-italic-webfont.eot');
    src: url('../fonts/alegreya-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreya-italic-webfont.woff2') format('woff2'),
         url('../fonts/alegreya-italic-webfont.woff') format('woff'),
         url('../fonts/alegreya-italic-webfont.ttf') format('truetype'),
         url('../fonts/alegreya-italic-webfont.svg#alegreyaitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya Regular';
    src: url('../fonts/alegreya-regular-webfont.eot');
    src: url('../fonts/alegreya-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreya-regular-webfont.woff2') format('woff2'),
         url('../fonts/alegreya-regular-webfont.woff') format('woff'),
         url('../fonts/alegreya-regular-webfont.ttf') format('truetype'),
         url('../fonts/alegreya-regular-webfont.svg#alegreyaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya SC Bold';
    src: url('../fonts/alegreyasc-bold-webfont.eot');
    src: url('../fonts/alegreyasc-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreyasc-bold-webfont.woff2') format('woff2'),
         url('../fonts/alegreyasc-bold-webfont.woff') format('woff'),
         url('../fonts/alegreyasc-bold-webfont.ttf') format('truetype'),
         url('../fonts/alegreyasc-bold-webfont.svg#alegreya_scbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya SC Italic';
    src: url('../fonts/alegreyasc-italic-webfont.eot');
    src: url('../fonts/alegreyasc-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreyasc-italic-webfont.woff2') format('woff2'),
         url('../fonts/alegreyasc-italic-webfont.woff') format('woff'),
         url('../fonts/alegreyasc-italic-webfont.ttf') format('truetype'),
         url('../fonts/alegreyasc-italic-webfont.svg#alegreya_scitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya SC Regular';
    src: url('../fonts/alegreyasc-regular-webfont.eot');
    src: url('../fonts/alegreyasc-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/alegreyasc-regular-webfont.woff2') format('woff2'),
         url('../fonts/alegreyasc-regular-webfont.woff') format('woff'),
         url('../fonts/alegreyasc-regular-webfont.ttf') format('truetype'),
         url('../fonts/alegreyasc-regular-webfont.svg#alegreya_scregular') format('svg');
    font-weight: normal;
    font-style: normal; 
}

@font-face {
    font-family: 'Open Sans Regular';
    src: url('../fonts/opensans-regular.eot');
    src: url('../fonts/opensans-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-regular.woff2') format('woff2'),
         url('../fonts/opensans-regular.woff') format('woff'),
         url('../fonts/opensans-regular.ttf') format('truetype'),
         url('../fonts/opensans-regular.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;   
}

@font-face {
    font-family: 'Open Sans Extrabold';
    src: url('../fonts/opensans-extrabold-webfont.eot');
    src: url('../fonts/opensans-extrabold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-extrabold-webfont.woff2') format('woff2'),
         url('../fonts/opensans-extrabold-webfont.woff') format('woff'),
         url('../fonts/opensans-extrabold-webfont.ttf') format('truetype'),
         url('../fonts/opensans-extrabold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: normal;
    font-style: normal;

}


{margin: 0px auto; padding: 0px;}

html, body {                                                    
  background-color: #349800;
  background-image: url('../images/bg.jpg');
  background-repeat: repeat-x;
  background-position: top center;
	margin: 0px;
	padding: 0px;
  color: #555;
  font-family: 'Alegreya Regular';
  font-size: 1em;
  font-weight: normal;
  font-style: normal;
}

h1 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;
  padding-bottom: 3px;
  font-size: 2em;
  line-height: 1.6em;
  color: #232320;
  font-weight: normal;
}
h2 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;        
  padding-bottom: 3px;
  font-size: 1.8em;
  line-height: 1.4em;
  color: #232320;
  font-weight: normal;
}
h3 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;        
  padding-bottom: 3px;
  font-size: 1.6em;  
  line-height: 1.6em;
  color: #232320;     
  font-weight: normal;
}
h4 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;        
  padding-bottom: 3px;
  font-size: 1.4em; 
  line-height: 1.4em;
  color: #232320;
  font-weight: normal;
}
h5 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;        
  padding-bottom: 3px;
  font-size: 1.2em;
  line-height: 1.2em;
  color: #232320;  
  font-weight: normal;
}
h6 {                                      
  font-family: 'Alegreya Regular';
  padding: 0px;
  margin: 0px;        
  padding-bottom: 3px;
  font-size: 1em; 
  line-height: 1em;
  color: #232320;
}

hr {              
  display: block;
  border: 0px;
  height: 30px;
  background: url('../images/hr.png') no-repeat top center;
}

a {
  color: #b3ae83;
  text-decoration: none;       
}

a:hover {    
  color: #a09c75;
}

#outer {
  height: 100%;
  width: 100%;
}

.clear {
	clear: both;
	font-size:0px;
	line-height:0px;
}

header {
  position: relative;
  width: 100%;
  height: 260px; 
  margin: 0 auto;
}

#dogs {
  position: absolute;
  top: 0;
  width: 100%;
  height: 260px;                                           
  background-image: url('../images/header.png');
  background-repeat: no-repeat;
  background-position: center bottom;
}

#header-lang {
  position: absolute;
  top: 15px;                      
  right: -webkit-calc((100% - 820px) / 2);
  right: -moz-calc((100% - 820px) / 2);
  right: calc((100% - 820px) / 2);
  width: 60%; 
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  z-index: 30;
}

#header-lang a img {
  opacity: 0.7;               
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  transition: all 0.3s linear; 
  height: 26px; 
}
#header-lang a:hover img {
  opacity: 1;  
}

nav {
  position: relative;
  width: 100%;
  height: 35px;
  margin: 0 auto;
  text-align: center;
  /*font-family: 'Open Sans Extrabold';*/
  font-family: 'Open Sans';
  font-size: 0.8em;
  /*font-weight: normal;*/                   
  font-weight: bold;
  font-style: normal;
  color: #fff;   
  z-index: 1000;  
}

#menu {     
  width: 60%;
  max-width: 820px; 
  height: 35px;
  margin: 0 auto;
  background-image: url('../images/nav-bg.png');
  background-position: center top;
  background-repeat: repeat-x;    
}

#menu .active {
  color: #3d201e;
}

main {
  width: 60%;
  max-width: 820px;
  margin: 0 auto;
  background-image: url('../images/tlo.png');
}

main .content{
  padding: 15px 15px 0px 15px;  
  font-family: 'Alegreya Regular';
  font-size: 1.1em;
  line-height: 1.75em;
}

.content img {
  border: 1px solid #473222;
}

.content a img {                   
  border: 1px solid #473222;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  transition: all 0.5s linear; 
}

.content a:hover img {
  border: 1px solid #000;
}


.content .noBorder {
  border: none !important;
}


.news-title {
  color: #658e27; 
  font-family: 'Open Sans Regular';
  font-size: 1.0em; 
  line-height: 1.0em;
  font-weight: bold;
  font-style: normal;
  padding: 5px 0px;
}

.news-content {
  color: #232320; 
}

.galleryBox {   
  font-family: 'Open Sans Regular';
  font-size: 0.7em;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin: 10px 5px;
  border: 2px solid rgba(179, 174, 131, 0.5);
}

.galleryBox .galleryBoxTitle {
  min-height: 25px;
  font-weight: bold;
  padding: 3px 5px;
  background: rgba(179, 174, 131, 0.5);          
  line-height: 1.5em;  
  text-align: center;
}

.galleryBox .galleryBoxCover {
  margin: 0 auto;
  padding: 0px;       
  line-height: 0em !important;
  border-bottom: 2px solid rgba(179, 174, 131, 0.5); 
}

.galleryBox .galleryBoxCover img {
  width: 100%;
}
                                             
.galleryBox .galleryBoxCover a img {
  border: none;
}

.galleryBox .galleryBoxInfoDate { 
  padding: 2px 5px;
  float: left;       
  color: #a09c75;          
  line-height: 1.5em;
}

.galleryBox .galleryBoxInfoCounter { 
  padding: 2px 5px;
  float: right;
  padding-right: 20px;
  margin-right: 5px;
  background: url('../images/icon_photo.png') right center no-repeat;
  line-height: 1.5em;
}

.gallery-title {
  color: #658e27; 
  font-family: 'Open Sans Regular';
  font-size: 1.0em; 
  line-height: 1.0em;
  font-weight: bold;
  font-style: normal;
  padding: 5px 0px;
}  

.gallery-data {
  font-family: 'Open Sans Regular';
  font-size: 0.8em; 
  line-height: 1.0em;
}

.galleryBoxPhoto {   
  font-family: 'Open Sans Regular';
  font-size: 0.7em;
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin: 10px 5px;
}

.galleryBoxPhoto .galleryBoxPhotoTitle {
  font-weight: bold;
  padding: 3px 5px;        
  line-height: 1.5em;
  text-align: center;
}

.galleryBoxPhoto .galleryBoxPhotoImage {
  text-align: center;
}
.galleryBoxPhoto .galleryBoxPhotoImage img {
  max-width: 100%;
  max-height: 250px;
}

.paginacja {   
  font-family: 'Open Sans Regular';
  font-size: 0.8em;
  font-weight: normal;
  font-style: normal;
	margin: 3px;
	padding: 0; 
  float: right;
  right: 50%;
  position: relative;
}

.paginacja ul {  
  padding: 0;
  margin: 0;
  float: right;
  right: -50%;
  position: relative;
}

.paginacja li {
	list-style: none; 
	display: block;
  float: left;
}

.paginacja li a {
  color: #473222;
	border: 1px solid #a09c75;
	padding: 2px 10px;
	margin: 2px;
	text-decoration: none;
}

.paginacja li a:hover { 
  background: rgba(179, 174, 131, 0.75);
} 

.paginacja .aktualnaStrona {
  font-weight: bold;
  background: rgba(179, 174, 131, 0.5);
}

.button {
  color: #473222;
	border: 1px solid #a09c75;
	padding: 2px 10px;
	margin: 2px;
	text-decoration: none;
}


footer {
  width: 100%; 
  height: 39px; 
  margin: 0 auto;    
  font-family: 'Open Sans Regular';
  font-size: 0.7em;
  font-weight: normal;
  font-style: normal;
  color: #fff;
}

#footer-info { 
  position: relative; 
  width: 60%;
  max-width: 820px;
  height: 39px;
  margin: 0 auto;
  background-image: url('../images/footerbg.png');
}

#footer-info-text {
  position: absolute;
  top: 15px;
  width: 100%;
  height: 39px;
  margin: 0 auto;
}   

#footer-info-copyright {
  float: left;
  width: -webkit-calc(50% - 20px);
  width: -moz-calc(50% - 20px);
  width: calc(50% - 20px);
  height: 100%;
  padding-left: 15px;
}

#footer-info-design {
  float: right;    
  width: -webkit-calc(50% - 20px);
  width: -moz-calc(50% - 20px);
  width: calc(50% - 20px);
  height: 100%;
  text-align: right; 
  padding-right: 15px;
}

#footer-info-design a {
  color: #fff;   
  font-weight: bold;
}

/*============================================================================*/
@media screen and (max-width: 400px) {
  /*body { background: pink; }*/  
  
  header {
    height: 150px;
  }

  #dogs {
    position: absolute;
    top: 0;
    width: 100%;
    height: 150px;                                              
    background-image: url('../images/header.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100vw auto; 
  }
  
  #header-lang {
    position: absolute;
    top: 10px;
    left: 0px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    z-index: 30;
  } 
  
  #header-lang img {
    margin-right: 10px;
  }   
  
  #menu { 
    width: 100%;
  }
  
  main {
    width: 100%;
  }
  
  #footer-info {  
    width: 100%; 
    font-size: 0.7em;
  }       
}

@media screen and (min-width: 400px)  and (max-width: 600px){
  /*body { background: white; }*/
  
  header {
    height: 170px;
  }
  
  #dogs {
    position: absolute;
    top: 0;
    width: 100%;
    height: 170px;                                             
    background-image: url('../images/header.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100vw auto; 
  }
  
  #header-lang {
    position: absolute;
    top: 10px;
    left: 0px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    z-index: 30;
  } 
  
  #header-lang img {
    margin-right: 10px;
  }   
  
  #menu { 
    width: 100%;
  }
  
  main {
    width: 100%;
  }
  
  #footer-info {  
    width: 100%; 
    font-size: 0.7em;
  }
}

@media screen and (min-width: 600px) and (max-width: 850px) {
  /*body { background: yellow; }*/
    
  header {
    height: 250px;    
  }

  #dogs {
    position: absolute;
    top: 0;
    width: 100%;
    height: 250px;                                            
    background-image: url('../images/header.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 95% auto;
  }
  
  #header-lang {
    position: absolute;
    top: 10px;
    left: 0px;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    z-index: 30;
  } 
  
  #header-lang img {
    margin-right: 10px;
  }
  
  #menu { 
    width: 95%;
  }
  
  main {
    width: 95%;
  }
  
  #footer-info {  
    width: 95%;
    font-size: 0.7em;
  }
}

@media screen and (min-width: 850px) and (max-width: 1400px) {
  /*body { background: orange; }*/
  
  #header-lang {
    position: absolute;
    top: 35px;
    left: 20px;
    width: 70%;
    margin: 0 auto;
    text-align: left;
    z-index: 30;
  }
  
  #menu { 
    width: 95%;
  }
  
  main {
    width: 95%;
  }
  
  #footer-info {  
    width: 95%;
    font-size: 0.7em;
  }
}

@media screen and (min-width: 1400px) {
  /*body { background: red; }*/
}

/* TEMPLATES W PANELU */

.litter {                 
  margin: 0 auto;
  text-align: center;
  width: 100%; 
  font-family: 'Alegreya Regular';
}
        
.litter img {
  width: 160px;
}

.litter small {
  font-size: 0.6em;
}

.litterTitle {  
  font-size: 1.6em;
  font-style: italic;
  font-weight: normal;
  font-family: 'Alegreya Regular';
}

.litterMother{       
  font-size: 1.2em;
  font-style: normal;
  width: 225px;
  text-align: center;
  font-family: 'Alegreya Regular';
}

.litterDescription {
  padding: 0px 5px;
  text-align: center; 
  font-family: 'Alegreya Regular';
}

.litterFather{   
  font-size: 1.2em;
  font-style: normal; 
  width: 225px;
  text-align: center; 
  font-family: 'Alegreya Regular';     
}

.litter ul, .litter ul li {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}

.litter ul li {
	display: inline;
	white-space: nowrap;                           
  font-size: 0.9em;
  padding: 0px 2px;
}

table.pedigree {
  width: 100%; 
	border-width:1px; 
	border-color:#a09c75; 
	border-style:solid; 
	border-collapse:collapse;
  font-family: 'Open Sans Regular';
  font-size: 0.7em;
	font-style: normal;
	font-weight: normal;
}
table.pedigree tr, td {
	text-align: center;
	border-color:#a09c75; 
	padding: 2px;
} 

table.shows {
  width: 100%; 
	border-width:1px; 
	border-color:#a09c75; 
	border-style:solid; 
	border-collapse:collapse;
  font-family: 'Open Sans Regular';
  font-size: 0.7em;
	font-style: normal;
	font-weight: normal;
}
table.shows tr, td {
	text-align: center;
	border-color:#a09c75; 
	padding: 2px;
}

/* PODGLĄD W PANELU */

.contentPanel {
  margin: 0 auto;
  background: none !important;
  background-image: url('../images/tlo.png') !important;
  padding: 10px;  
  font-family: 'Alegreya Regular';
  font-size: 0.9em;
  line-height: 1.75em;
}