/* Grid and Clearing Tools
----------------------------------------------------------------------------------------------------*/

.clearfix:before,
.clearfix:after,
.grid-block:before,
.grid-block:after,
.deepest:before,
.deepest:after {
	content: "";
    display: table;
}
.clearfix:after,
.grid-block:after,
.deepest:after { clear: both; }

.grid-box { float: left; }
.grid-box.deepest {
    padding: 10px;
}

/* Align Boxes */
.float-left { float: left; }
.float-right { float: right; }


/* Layout Defaults
----------------------------------------------------------------------------------------------------*/

/* Center Page */
.wrapper {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Header */
#header { position: relative; min-height: 158px; }
#menubar {
    display: block;
    float: left;
    margin-left: 10px;
}
#toolbar .float-left,
#toolbar .float-left > time {
	margin: 0 15px 0 0;
	float: left;
}

#toolbar .float-right  {
	margin: 0 0 0 15px;
	float: right;
}

#headerbar {
	max-width: 300px;
	margin-right: 0;
	float: left;
}

#logo, #logo > img,
#menu { float: left; }
/* Footer */
#footer {
	position: relative;
	text-align: center;
}
#menu  { margin: 10px 5px; }

#content {  margin: 15px; }

/* Do Ulubionych */


.favourite > li {
    float: left;
    list-style-type: none;
    margin: 0 5px;
}


.icon-star:before,.icon-sitemap:before {
    color: #000000;
    content: "";
    font-size: 20px;
    text-decoration: none !important;
}


.mod-box.social.deepest li {
	list-style-type: none;	
}
#headerbar {
    margin-bottom: 20px;
}
.mod-box {
    background: none repeat scroll 0 0 #0281F4;
    border: 1px solid #DDDDDD;
    color: #FFFFFF;
    margin: 10px 0;
    padding: 15px;
}

.width100 {
    width: 100%;
}

#sitemap ul {
    margin-bottom: 10px;
    margin-left: 15px;
    margin-top: 5px;
}

#content ul {
    margin-left: 15px;
}
#cycle li {
	list-style-type: none !important;	
}


#imageCaption {
    bottom: 151px;
    font-family: 'Open Sans',sans-serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 700;
    line-height: 40px;
    position: absolute;
    right: 0;
    width: 480px;
    z-index: 9999;
}

input {
   
    border: 2px solid #0281F4;
    color: #000;
    font-weight: bold;
    height: 25px;
}

textarea {
    border: 2px solid #0281F4;
	color: #000;
    font-weight: bold;
  
}

.submit {
    background: none repeat scroll 0 0 #0281F4;
    border: 1px solid #CACACA;
    color: #FFFFFF;
}

.formularz {
	margin-bottom: 0;
    margin-top: 0;	
}

input[type="text"] {
    width: 215px;
}

#ajaxmsg {
    display: block;
    margin-top: -40px;
}

@media (max-width: 986.98px) { 

    #header {
        position: relative;
        min-height: 300px;
        display:block;
    }

    #imageCaption {
        max-width: 288px;
        top:0;
        left: 30px;
        font-family: 'Open Sans',sans-serif;
        font-size: 22px;
        font-style: italic;
        font-weight: 700;
        line-height: 40px;
        position: absolute;
        right: 0;
        width: 480px;
        z-index: 9999;
        line-height: 22px;
        font-size: 18px;
    }

    img{
        max-width: 100%;
        height: auto !important;
    }

    #content{
        margin: 0;
    }

}


