/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin: 3% 0% 3% 0%;
  background:#f8f8f8;
  }
/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */


@font-face {
    font-family: 'Source Sans Pro';
    src: url('http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300,600');
    font-weight: normal;
    font-style: normal;
}
.row1, .row2{width:780px;margin:0 auto;height:auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{margin:10px;position:relative;}
.box, .brand{box-shadow:0px 0px 4px #9FA8DA;-webkit-box-shadow:0px 0px 4px #9FA8DA;}
.brand{/*background:#39409A;*/background:#001C70;padding:50px;height:400px;width:500px;float:left;clear:right;}
.brand img{margin:60px 5px 50px -20px;width:430px;}
.gdansk{background-image: url('img/univ_bud.jpg'); background-size:cover;width:239px;height:190px;display:block;float:right;}
.osowa{background-image: url('img/IMG_2526.JPG'); background-size:cover;width:239px;height:190px;display:block;float:right;}
.lublin{background-image: url('img/lublin-bud.jpg'); background-size:cover;width:239px;height:190px;display:block;float:right;}
.swietlica{background-image: url('img/100_2907.JPG'); background-size:cover;background-repeat:no-repeat;background-position:center;width:239px;height:190px;display:block;float:left;}
.hostel{background-image: url('img/IMG_hostel.jpg'); background-size:cover;width:239px;height:190px;display:block;float:left;}
.caption{background:rgba(255, 255, 255, .8);z-index:999;position:absolute;bottom:0px; width:100%; padding:0px;}
h2{color:#39409A; font-family: 'Source Sans Pro', sans-serif;padding:0px 0px 10px 0px;text-align:center;width:100%;font-size:20px;}
.box:hover .caption{background:#001C70; color:#fff;-webkit-transition:all 0.25s ease-in-out;-moz-transition:all 0.25s ease-in-out; transition:all 0.25s ease-in-out;}
.box:hover .caption h2{color:#fff;}
a:hover, a:focus{text-decoration:none!important;outline:none;}
.tooltip-inner{background:#ddd!important; color:#39409A;padding:5px!important;}
.tooltip-arrow{color:#39409A;}
@media all and (max-width:320px){
body{height:auto;padding:10px;margin:0px;}
body > .container {
  padding: 15px 15px 0;
}
.row1, .row2{width:300px;margin:0 auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{width:275px; height:250px;float:none;margin:10px 0px;;}
.brand img{margin:40px 0px 0px -20px;width:200px;}
}

@media all and (min-width:321px) and (max-width:480px){

body > .container {
  padding: 15px 15px 0;
}
body{height:auto;padding:10px;margin:0px;}
.row1, .row2{width:auto;margin:0 auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{width:350px; height:250px;float:none;margin:10px auto;}
.brand img{margin:30px 0px 0px -20px;width:300px;}
}
@media all and (min-width:321px) and (max-width:360px){
body > .container {
  padding: 15px 15px 0;
}
body{height:auto;padding:10px;margin:0px;}
.row1, .row2{width:auto;margin:0 auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{width:290px; height:250px;float:none;margin:10px auto;}
.brand img{margin:30px 0px 0px -20px;width:250px;}
}

@media all and (min-width:361px) and (max-width:640px){
body > .container {
  padding: 15px 15px 0;
}
body{height:auto;padding:10px;margin:0px;}
.row1, .row2{width:auto;margin:0 auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{width:360px; height:250px;float:none;margin:10px auto;}
.brand img{margin:30px 0px 0px -20px;width:300px;}
}
@media all and (min-width:641px) and (max-width:768px){
body > .container {
  padding: 15px 15px 0;
}
body{height:auto;padding:10px;margin:0px;}
.row1, .row2{width:auto;margin:0 auto;}
.brand, .gdansk, .osowa, .lublin, .swietlica, .hostel{width:340px; height:250px;margin:10px;}
.brand img{margin:30px 0px 0px -20px;width:300px;}
}
