@import url('https://fonts.googleapis.com/css?family=Caveat');
* {
	font-family: Verdana, Helvetica, Arial;
}
body {
	font-size: 13px;
	line-height: 22px;
}
h1, h2, h3 {
        margin-top: 0px;
	color: #00a2e3;
}
h1 {
        margin-top: 20px;
	font-size: 24px;
	padding-bottom:10px;
}
h2 {
	font-size: 17px;
}
h3 {
	font-size: 14px;
}
td{
	vertical-align:top;
}
a{
	color:#00a2e3;
}
a:hover{
	color:#00a2e3;
	text-decoration: underline;
}
p, form
{
	margin-top: 0px;
	margin-bottom: 0px;
}
td {
	font-size: 12px;
	line-height: 22px;
}
#header {
	width: 100%;
	height: 150px;
	background: #fff;
	position: absolute;
	left: 0;
	top: 0;
}

#headertext{
	position:relative;
	top:230px;
	right: 0px;
	background: url('../images/quote.png');
	padding:20px;
	padding-top: 12px;
	font-size:17px;
	line-height: 28px;
	width:420px;
	height:173px;
	font-family: 'Istok Web', sans-serif;
}
#headertext h1{
	color:#00a2e3;
	padding-bottom: 0px;
}

#headertext .center{
	position: absolute;
        display: block;
}


@media (max-width: 768px) {
        .center {
        	width: 90% !important;
        	margin:0 auto;
        	text-align:right;
        	margin-top: 15px;
        }
        .photoCarousel {
            height: 250px !important;
        }
         #content {
            margin-top: -100px;
        }
        #photoCarouselDots {
             display: none !important;
        }

}
#container img {
                max-width: 304px;
                width: 100%;
}
.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
    max-width: 110% !important;
            padding-top: 5px;
}
@media (max-width: 450px) {
        .carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
            max-width: 80% !important;
            padding-top: 5px;
        }
        #header {
        	height: 80px !important;
        }
        #menu {
  
        }
        #background {
        	height: 310px !important;
        }
        .center {
        	display: none;
        }
        #headertext{
        	font-size:15px;
	        line-height: 20px;
        }
        #container img {
                 width: 80% !imporant;
        }
}
.buttoncontainer{
	margin-top:30px;
}
.buttoncontainer .bigbutton{
	float:right;
}
.pleft{
        padding-left: 5px;
	float: left;
	padding-right: 0px;
}
.ptekst{
        padding-left: 5px;
	float: right;
	padding-right: 0px;
	margin-bottom: 10px;
}
#menu {
	width: 100%;

	position: absolute;
	left: 0;
	top: 150px;
	z-index: 100;
}
#content {
	position: relative;
	padding-bottom: 90px;
}
#content > .container {
	position: relative;
	top: 0px;
	background: white;
	padding-top: 10px;
	z-index: 10;
	min-height:600px;
	padding-bottom:20px;
}
.blocks {
	display: block;
	width: 100%;
	float: left;
	padding-top: 15px;
	padding-bottom: 30px;
}
.block {
	border: 1px solid #00a2e3;
	padding: 5px;
	position: relative;
	display: block;
	margin-top: 15px;
}
.block img {
	width: 100%;
	height: auto;
	padding-bottom: 5px;
}
.block .title {
	height: 28px;
	background: #00a2e3;
	margin-bottom: 5px;
	padding-left: 15px;
	color: white;
	text-transform: uppercase;
	line-height: 28px;
}
.block .text {
	display: block;
	height: 120px;
	padding: 5px;
	font-size: 12px;
}
.block .button {
	display: block;
	width: 120px;
	height: 24px;
	line-height: 24px;
	text-align: center;
	color: white;
	background: #00a2e3;
	position: absolute;
	bottom: 10px;
	right: 10px;
	font-size: 12px;
}
.block .button:hover {
	background: #0e53a4;
	text-decoration: none;
}
.footerblock {
	border-right: 0px dotted white;
	color: white;
	float:right;
	margin-top: 10px;
}
.footerblock a {
	color: white;
	text-decoration: none;
}
#footer .col-md-3:nth-child(4) .footerblock {
	border: 0 !important;
}
#footer {
	background: #00a2e3;
	padding-bottom: 5px;
	position: absolute;
	min-height:40px;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #00a2e3; /* Old browsers */
}
#header .stylish-input-group {
	width: 200px;
	float: right;
	margin-top: 15px;
}
#header .stylish-input-group .input-group-addon {
	background: white !important;
	border-color: #4b9a8d;
	height: 29px;
	padding-top: 0;
	padding-bottom: 0;
	padding-right: 3px;
}
#header .stylish-input-group .form-control {
	border-right: 0;
	box-shadow: 0 0 0;
	border-color: #4b9a8d;
	height: 29px;
}
#header .stylish-input-group button {
	border: 0;
	background: transparent;
}
#header .socialmedia {
	display: block;
	width: auto;
	padding-left: 10px;
	float: right;
	margin-top: 15px;
}
#header form {
	float: right;
}

#header .toptitle {
	font-family: "Caveat";
	font-size: 46px;
	color: #e6332a;
	font-weight: lighter;
	float: right;
	width: 100%;
	text-align: right;
	margin-top: 30px;
}

.margintop{
	margin-top:20px;
}
.nomarginpadding{
	margin:0;
	padding:0;
}

.contactform{
	background:#efefef url('../images/pen.png') top right no-repeat;
	border: 1px solid #cccccc;
	width:100%;
	padding:10px;
	padding-bottom:30px;
	border-radius:8px;
	position:relative;
}
.contactform label{
	color:#666666;
	font-weight: normal;
}
.contactform input, .contactform textarea{
	width:100%;
}
.contactform input[type=submit]{
	position:absolute;
	right:10px;
	bottom:10px;
	background:#9f9f9f;
	border:0;
	color:white;
	width:auto;
	border-radius:4px;
	padding-left:10px;
	padding-right:10px;
}


#custom-search-input {
    border: solid 1px #b0060c;
    border-radius: 10px;
    background-color: #fff;
    width: 220px;

    margin-top: 5px;
}
#custom-search-input input{
    border-radius: 10px;
    border-color: transparent;
    box-shadow: none;
}
#custom-search-input button{
    background: none;
    box-shadow: none;
    border: 0;
    padding: 0 8px 0 10px;
    color: grey;
}
 #search {
	float: right;
}

#search-box {
	float: right;
	position:relative;
	top: 8px;
	padding-right: 25px;
	z-index: 999;
}

#custom-search-input{
	margin-left: 15px;
    border: solid 1px #0e53a4;
    border-radius: 6px;

    height: 28px;
    margin-top: 10px;

}

.form-control {
	height: 26px;
}

#custom-search-input input{
    border: 0;
    box-shadow: none;
    font-size:12px;
}

#custom-search-input input:focus {
	box-shadow: 0px 0px 21px -1px rgba(147,181,250,0.69);
}

#custom-search-input button{
    background: none;
    box-shadow: none;
    border: 0;
    color: #666666;
    padding: 0 8px 0 10px;
    border-left: solid 1px #ccc;
    float: right;
    margin-top: -25px;
}

#custom-search-input button:hover{
    border: 0;
    box-shadow: none;
    border-left: solid 1px #ccc;
}
.glyphicon {
	top: -1px;
	font-size: 15px;
}

@media (max-width: 768px) {
	#content > .container {
		top: 0;
	}
}
@media(max-width:991px)
{
	#footer {
		position: static;
		margin-top: 5px;
	}
	#footer .footerblock {
		border: 0;
		border-bottom: 0px dotted white;
		padding-bottom: 5px;
		margin-bottom: 5px;
	}
	#content {
		padding-bottom: 0;
	}
        #headertext{
	        top:65px;
        }
}
@media(max-width:768px)
{
        #headertext{
        	font-size:15px;
	        line-height: 20px;
		padding: 10px;
		text-align: left;
		width: 100%;
		height: 160px;
		padding-top: 0px;
        }
        #headertext .center{
	        text-align: left;
        }
}