@media only screen and (min-width:0px) and (max-width:5000px) {
	html, body {
		font-family: 'Montserrat', sans-serif;
		width: 100%;
		background-color: #fff;
		color: #222;
		margin: 0 0 0 0;
		padding: 0 0 0 0;
		font-size: 16px;
	}
	html, body {
		width: 100%;
    	height:100%;
	} 
	h1 {
		margin-top: 40px;
	}
	h2 {
		font-size: 22px;
		padding-bottom: 15px;
	}


	h2 {
		color: #45687b;
		font-size: 22px;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	h3 {
		color: #45687b;
		font-size: 18px;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-bottom: 0px;
	}


	nav {
		float: right;
		text-align: right;
	    margin-top: 35px;
	}
	nav ul {
			margin-top: 5px;
			margin-right: 0px;
	}
	nav ul li {
			color: #45687b;
			line-height: 60px;
			margin-left: 50px;
			margin-right: 0px;
			font-size: 16px;
			font-weight: normal;
			float: left;
			list-style: none;		
	}
	nav ul li a{
			color: #45687b;
			font-size: 14px;
			font-weight: 600;
			text-decoration: none;
			text-transform: uppercase;
			-o-transition:.2s;
	  		  -ms-transition:.2s;
	        -moz-transition:.2s;
	        -webkit-transition:.2s;
	        transition:.2s;
	        /*text-shadow: 1px -1px 10px rgba(0,0,0,0.67);*/
	}
	nav ul li a:hover{
			color: #716262;
			text-decoration: none;
	}
	.ordinace_btn {
		background-color: #45687b;
		color: #fff;
		padding: 10px 15px 10px 15px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
	}
	.ordinace_btn:hover {
		background-color: #5b8399;
		color: #fff;
	}
	.hlavicka {
		width: 100%;
		height: 120px;
		background-color: #fff;
	}
	.hlavicka_linka {
		width: 100%;
		height: 20px;
		background-color: #b4d3d8;
	}
	.stred {
		width: 1180px;

		margin-left: auto;
		margin-right: auto;
	}
	.logo{
		float: left;
		margin-top: 30px;
		position: relative;
	}
	.fotoindex {
		width: 100%;
		height: 700px;
		background-size: cover;
		background-position: center;
		background-image: url('../img/1.jpg');
	}
	.aktuality {
		overflow: auto;
		position: absolute;
		top: 580px;
		left: calc(50% + 150px);
		background-color: #fff;
		padding: 20px 35px 10px 25px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
		font-weight: 600;
		color: #404040;
		font-size: 14px;
		line-height: 22px;
	}
	.aktuality h2{
		color: #45687b;
		font-size: 18px;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	.h1index{
		position: absolute;
		top: 300px;
		left: calc(50% - 570px);
	}
	.h1index h1{
		color: #fff;
		font-size: 40px;
		text-shadow: 1px -1px 11px rgba(0,0,0,0.8);
	}
	.h1index_btn {
		padding-top: 50px;
	}
	.h1index_btn .ordinace_btn {
		font-weight: bold;
		text-decoration: none;
		padding: 10px 35px 10px 35px;
		text-shadow: 1px -1px 11px rgba(0,0,0,0.8);
	}
	.h1index_btn .ordinace_btn2 {
		font-weight: bold;
		clear: both;
		text-decoration: none;
		padding: 10px 35px 10px 35px;
		text-shadow: 1px -1px 11px rgba(0,0,0,0.8);
	}
	.diabetologie {
		margin-top: -20px;
		position: absolute;
		font-size: 28px;
		color: #eeeeee;
		font-size: 24px;
		font-weight: bold;
		text-shadow: 1px -1px 11px rgba(0,0,0,0.8);
	}
	.ikony_index {
		padding-top: 50px;
		padding-bottom: 40px;
	}
	.podklad_ikona {
		width: 120px;
		height: 120px;
		position: relative;
		margin-left: auto;
		margin-right: auto;
		background-color: #dde3e3;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		border-radius: 50%;
	}
	.podklad_ikona img {
		margin-top: 25px;
	}
	.ico1 {
		height: 60px !important;
		margin-top: 30px !important;
	}
	.ico2 {
		height: 60px !important;
		margin-top: 33px !important;
	}
	.ico3 {
		height: 60px !important;
		margin-top: 30px !important;
	}
	.ico4 {
		height: 80px !important;
		margin-top: 20px !important;
	}
	.div25 {
		width: calc(25% - 44px);
		height: 350px;
		vertical-align: top;
		margin-left: 20px;
		margin-right: 20px;
		display: inline-block;
		text-align: center;
		padding-bottom: 25px;
	}
	.div50{
		width: calc(50% - 44px);
		margin-left: 20px;
		margin-right: 20px;
		display: inline-block;
		text-align: left;
		padding-top: 40px;
	}
	.div25 h3 {
		margin-top: 20px;
		color: #617b8b;
	}
	.div25 p {
		font-size: 14px;
		color: #617b8b;
		padding-bottom: 20px;
	}
	.detail_btn {
		background-color: #fff;
		color: #45687b;
		font-size: 14px;
		font-weight: bold;
		text-decoration: none;
		margin-top: 20px;
		position: relative;
		border: 2px solid #45687b;
		padding: 10px 15px 10px 15px;
		-webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
	}
	.detail_btn2 {
		background-color: #fff;
		color: #45687b;
		font-size: 12px;
		font-weight: bold;
		text-decoration: none;
		margin-top: 20px;
		position: relative;
		border: 2px solid #45687b;
		padding: 5px 20px 5px 20px;
		-webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
		float: right;
	}
	.patka {
		width: 100%;
		height: 35px;
		margin-top: 760px;
		line-height: 35px;
		background-color: #b4d3d8;
	}
	.patka_left {
		color: #fff;
		font-size: 12px;
		line-height: 30px;
		float: left;
	}
	.patka_right {
		color: #fff;
		font-size: 12px;
		line-height: 30px;
		float: right;
		text-decoration: none;
	}
	.kontakt_table {
		
	}

	.kontakt_table tr td:first-child {
		padding-right: 40px;
	}
	.ordinacediv {
		padding-bottom: 50px;
	}
	.ordinacediv h2 {
		font-size: 22px !important;
	}
	.ordinacediv h2, .ordinacediv h3 {
		color: #45687b;
		font-size: 18px;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	.ordinacediv h3 {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.ordinacediv {
		font-size: 14px;
		line-height: 22px;
	}
	.ordinacediv a {
		color: #45687b;
		font-weight: bold;
		text-decoration: none;
	}
	.imgordinace {
		width: 100%;
		margin-top: 10px;

		-webkit-border-radius: 20px !important;
		-moz-border-radius: 20px !important;
		border-radius: 20px !important;


	}
	.pozor {
		color: red;
		font-weight: bold;
	}
	.cenik {
		padding-top: 50px;
	}
	.cenik table {
		text-align: left;
		margin-top: 30px;
		margin-bottom: 50px;
	}
    .komplikace {
		background-color: #f6f6f6;
	}
	.komplikace_div {
		font-size: 14px;
	}
	.komplikace_div h2{
		font-size: 18px;
	}

	#featured-articles {
    /*max-width: 1000px; may not be needed depending on the width of the container */
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    align-content:space-between;
    
   
	}
	#featured-articles .featured-article {
	    width:calc(50% - 60px);
	    padding:30px 20px 20px 20px;
	    margin-right: 20px;
	    position:relative;
	    background-color: #fff !important;
	    margin-top: 20px;

	    -webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;

	}
	#featured-articles .featured-article h2{
	 font-size: 17px;
	 text-align:center;
	 }
	#featured-articles .featured-article p{
	 font-size: 14px;
	 line-height: 22px;
	}
	#featured-articles .featured-article img {
		margin-top: 15px;
	     -webkit-border-radius: 10px;
		-moz-border-radius: 10px;
		border-radius: 10px;
	    width: 100%;
	}
	#featured-articles .featured-article a {
	    text-transform:uppercase;
	}
	#featured-articles {
    /*max-width: 1000px; may not be needed depending on the width of the container */
            display: flex;
        flex-wrap: wrap;
        align-content: space-between;
        flex-direction: row;
	}

	#featured-articles .featured-article img {
	    padding: 0 0 5px 0;
	}
	#featured-articles .featured-article a {
	    text-transform:uppercase;
	}
	.imgclanek {
		width: 100%;
	}
	.imgclanek img{
		width: 100%;
	}
	.clanek_h1 {
		width: 500px;
		font-weight: bold;
		font-size: 30px;
		line-height: 50px;
		margin-top: 100px;
		text-align: left;
		left: calc(50% - 500px);
		position: absolute;
		color: #f2f2f2;

		text-shadow: 0px 0px 8px rgba(0,0,0,0.6);
	}
	.detailclanku {
		padding-top: 50px;
		padding-bottom: 100px;
	}

	.detailclanku p{
		padding-top: 10px;
		line-height: 24px;
	}
	.leftalign{
		text-align: left !important;
	}

	.featured-article2 {
		width:calc(100% - 60px);
	    padding:30px 20px 20px 20px;
	    margin-right: 20px;
	    position:relative;
	    background-color: #fff !important;
	    margin-top: 20px;

	    -webkit-border-radius: 20px;
		-moz-border-radius: 20px;
		border-radius: 20px;
	}


@media (max-width: 480px) {
    #featured-articles {
        height:auto;
    }
    #featured-articles .featured-article {
        width:100%;
    }
}

}