body {
    font-family: 'Roboto', Arial, Tahoma;
    font-size: 0.95em;
    border: 0;
    color: #333;
    background-color: #ebeaeb;
    background-image: url('wp-content/uploads/2016/03/background_m4w.png') !important;
    background-repeat: repeat-x !important;
}
strong, b {font-weight:bold;}
#wrapper {
    margin: 0 auto;
}
#header-wrap {
    border-top: none;
}
#header {
    padding: 23px 0 0 25px;
    background: #fff;
}
#header-search .search-form {
    margin: 18px 0 0 0;
}
#header-search .search-form .search-field {
    padding: 5px 45px 5px 0.7em;
   font-size: 0.875em;
}
#header-search .search-form .search-submit {
    padding: 3px 0.7em 0 0;
}
#logo .site-title {
    float: left;
    width: 244px;
    height: 80px;
    font-weight: normal;
    color: transparent;
    font-family: 'Roboto';
    background-image: url('wp-content/uploads/2016/04/logo_m4w.png');
    background-repeat: no-repeat;
}
#logo .site-title a {
    color: transparent !important;
}
#logo a:hover .site-title {
    color: transparent;;
}
#logo .site-description {
    float: right;
    width:0px;
    height:0px;
    margin: 0;
    line-height: 0;
    font-size: 0em;
    color: transparent;
}
#topnav {
    background: #fff;
    border: none;
    height:23px;
}
#topnav-menu {
    float: right;
    list-style-type: none;
    list-style-position: outside;
    position: relative;
}
#topnav-menu a:link, #topnav-menu a:visited {
    color: #666;
    text-decoration: none;
}
#topnav-menu a:hover {
    color: #009abb;
    text-decoration: none;
}
#topnav-menu a {
    display: block;
    padding: 6px 1em 6px 0.5em;
    text-decoration: none;
    font-size: 0.775em;
}
#navi-wrap {
    border-top: none;
    border-bottom: none;
    padding-top: 0px;
    padding-bottom: 2px;
}
#mainnav {
    background: #0081aa;
}
#mainnav-menu {
    background: #0081aa;
}
#mainnav-menu a {
    display: block;
    padding: 5px 29px 5px 29px;
    text-decoration: none;
    font-size: 0.925em;
    font-family: 'Roboto';
    font-weight:400:
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}
#mainnav-menu a:hover {
    background: #009abb;
}
#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {
    background: #009abb;
    text-decoration:none;
}
#mainnav-menu li.specialhide {
    display:none;
}
#content {
    float: left;
    width: 70%;
    min-height: 500px;
    padding: 2em 2em 0 2em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#content .page-title {
    font-size: 1.9em;
    padding: 0.1em 0;
    font-weight: 300;
    font-family: 'Roboto';
    color: #666;
    line-height: 1.4em;
}
#content h1:before {content:"Med4Win | ";color:#0081aa; }
#sidebar {
    margin-left: 70%;
    width: 30%;
    padding: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
}
#footer {
    margin-top: 0px;
    padding: 0;
    color: #fff;
    height: 24px;
    background: #5c636b;
}
#footernav {
    margin-left:auto;
    margin-right:auto;
    width:400px;
   float:none;
}
#footernav-menu {
    padding: 5px 2em 0 2em;
}
#footer #footer-text {
    display:none;
}
a, a:link, a:visited {
    color: #007da5;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
.entry p, .comment p {
    font-family: 'Roboto', Arial, Tahoma;
}
.entry ol, .comment ol {
    list-style: decimal;
    margin: 0 0 1.5em 16px;
}
.entry ol li, .comment ol li {
    padding: 0 0 0 8px;
}
.entry ul, .comment ul {
    list-style: none;
    margin: 0 0 1.5em 0;
}
.entry ul li, .comment ul li {
	padding:0px 0px 0px 12px;
	background:url('wp-content/uploads/2016/03/liste_med4win_e.png') 0px 9px no-repeat;
}
blockquote {
    background: #f5f5f5;
    border-left: 1px solid #0081aa;
    margin: 1.2em 0;
    padding: 1.2em 1.2em;
}
.more-link {
    display: inline-block;
    font-weight: 300;
    margin: 1em 0 0.5em;
    padding: 0.4em 0;
    text-decoration: none;
    color: #007da5;
    background-color: #fff;
}
.widget-category-posts .more-link:link, .widget-category-posts .more-link:visited {
    color: #007da5;
}
.widget-category-posts .more-link:hover {
    color: #666;
    background:none;
}
#sidebar .widget img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
input, textarea, keygen, select, button {
    font: 13.3333px Roboto;
    margin: 15px 0 15px 15px;
}
input[type="submit"] {
    border: none;
    color: #0081aa;
    background-color: #eee;
    margin: 0;
    border: 1px solid #eee;
}
.page-title, .entry-title {
    font-weight: 300;
    font-family: 'Roboto', Arial, Tahoma;
    color: #0081aa;
    line-height: 1.4em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.credit-link, #footer-text a:link {
   color: transparent !important;
   text-decoration: none !important;
   border-bottom: none !important;
}


/*============================ CSS HOME ============================*/

body.home {
    background-image: url('wp-content/uploads/2016/05/background_m4w_start.png') !important;
    background-repeat: repeat-x !important;
    background-color: #fff;
}

@media only screen and (max-width: 1470px) {
    body.home {
       background-image: none !important;
    }
}

.home #content {
    float: none;
    width: 100%;
    padding: 0 2em 0 2em;
    background-image: url('wp-content/uploads/2016/05/content_bg_start.png');
    background-repeat: repeat-x;
}
.home #header, .home #header-wrap {
    position:relative;
}
.home #header {
    padding: 0 0 0 25px;
}
.home #topnav {
    position:absolute;
    top: 0px;
    right: 0px;
}
.home #logo .site-title {
    float: left;
    width: 244px;
    height: 80px;
    font-weight: normal;
    color: transparent;
    font-family: 'Roboto';
    background-image: url('wp-content/uploads/2016/04/logo_m4w.png');
    background-repeat: no-repeat;
    position:absolute;
    top: 23px;
    left: 25px;
    background-size: contain;
}
.home #sidebar {
    width: 0%;
    display:none;
}
.home .single-post img {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.home .single-post {
    margin: 0 2em 2em 0 !important;
    width: 30%;
    float:left;
}
.home #navi-wrap, .home #header-content {
   display:none;
}
.home #frontpage-magazine-widgets .widget {
    margin: 0 0 10px 0;
    padding: 0;
    background: transparent;
    height: 180px;
}
.home #frontpage-magazine-widgets .widget .widgettitle {
    font-family: 'Roboto', Arial, Tahoma;
    font-size: 1.65em;
    font-weight:300;
    padding: 20px 0 20px 0;
    margin: 0;
    background: transparent;
    color: #fff;
    box-shadow: none;
    border: 0;
}
.home #frontpage-magazine-widgets .widget .textwidget {
     font-size: 1.225em;
     font-weight:300;
      color: #fff;
}
.home #frontpage-magazine-widgets .widget .textwidget p {
    margin-bottom: 10px;
}
.home #frontpage-magazine-widget .entry-title a:link, .entry-title a:visited {
    color: #666;
    text-decoration: none;
}
.home #footer {
    margin-top: 20px;
}

/*============================ MEDIA QUERIES ============================*/

@media only screen and (max-width: 78em) {
  .home .single-post {
        width: 46%;
  }
 .home #logo .site-title {
    width: 200px;
 }
}
/* Smaller screens | &lt;1200px */
@media only screen and (max-width: 68em) {
  #mainnav-menu a {
       display: block;
       padding: 5px 18px 5px 18px;
  }
}
/* Tablets (landscape) | &lt;960px */
@media only screen and (max-width: 60em) {
   .home #logo .site-title {
        width: 180px;
        top: 45px;
    }
    .home #frontpage-magazine-widgets .widget .widgettitle {
        font-size: 1.35em;
        padding: 10px 0 20px 0;
    }
    .home #frontpage-magazine-widgets .widget .textwidget {
        font-size: 1.15em;
    }
	#content {
		float: none;
		width: 100%;
	}
	#sidebar {
		clear: both;
		margin: 2em 0 0;
		width: 100%;
	}
	#logo {
		float: left;
		width: 244px;
	}
	#header-content {
		display: none;
	}
    #header-content div {
        float: right;
        margin: 0 0 0 1.5em;
    }
	#header-content #social-icons-menu li {
		float: none;
		display: inline-block;
		margin: 0 1px 2px 0;
		padding: 0;
		background: #222;
	}
  	#header-content #header-search .search-form {
		display: block;
		max-width: 100%;
	}
	#mainnav-toggle {
		display: block;
		width: 100%;
		margin: 0;
		padding: 1em;
		text-align: left;
		text-transform: uppercase;
		text-decoration: none;
		font-size: 1.0em;
        font-weight: 400;
        font-family: Roboto;
		color: #fff;
		background: #0081aa;
		border: none;
		-webkit-transition: all 0.1s ease-out;
		-moz-transition: all 0.1s ease-out;
		-ms-transition: all 0.1s ease-out;
		-o-transition: all 0.1s ease-out;
		transition: all 0.1s ease-out;	
	}
	#mainnav-toggle:hover {
		cursor: pointer;
		background: #009abb;
	}
	#mainnav-menu {
		width: 100%;
		display: none;
		border-top: 1px solid #fff;
		background: #009abb;
	}
	#mainnav-menu a {
		display: block;
		padding: 1.3em;
		text-decoration: none;
		font-size: 1.0em;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		background: #009abb;
		clear: left;
	}
	#mainnav-menu a:hover {
		background: rgba(255,255,255,0.05); 
	}
	#mainnav-menu ul {
		float: left;
		background: #009abb;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
   #mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {
		text-decoration: none;
	}
	#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
		text-decoration: none;
	}
}

/* Tablets (portrait) | &lt;800px */
@media only screen and (max-width: 50em) {
    .home .single-post {
        width:96%;
    }
    .home #topnav {
		display: none;
     }
    .home #custom-header img {
        display:none;
    }
    .home #logo .site-title {
        width: 244px;
        top: 23px;
        left: center;
    }
    .home #header {
        height:100px;
    }
	/* Mobile Top Navigation */
	
	/* Reset */

	#topnav-toggle {
		display: none;
	}
    #mainnav-menu li.specialhide {
        display:inline;
    }
	#header-content div {
        margin: 23px 0 0 1.5em;
    }		
	#footernav-icon:after {
		font: normal 14px/1 Roboto;
	}
	#footernav-menu a:hover {
		text-decoration: none;
	}
    #footernav-menu {
       	display: block;
       	width: 100%;
    	padding: 5px 2em 0 2em;
   }
   #footernav-menu li {
       	position: relative;
       	display: block;
		float: left;
		position: relative;
		padding: 0 1.2em 0 0;
		margin-right: 1.2em;
		border-right: 1px dashed #aaa;
		border-top: none;
}
  #footernav-menu a:hover {
    	text-decoration: underline;
}
  #footernav-icon {
    	display: none;
}
}

/* Phablets (portrait) | &lt;640px */
@media only screen and (max-width: 40em) {
	#content {
		padding: 1em 1em 0;
	}
  	#logo {
		float: none;
		width: 100%;
	}
   .home #frontpage-magazine-widgets .widget .widgettitle {
        font-size: 1.25em;
        padding: 10px 0 10px 0;
    }
    .home #frontpage-magazine-widgets .widget .textwidget {
        font-size: 1.05em;
    }
}

/* Smartphones | &lt;480px */
@media only screen and (max-width: 30em) {
    .home #frontpage-magazine-widgets .widget .widgettitle {
        font-size: 1.15em;
    }
    .home #frontpage-magazine-widgets .widget .textwidget {
        font-size: 0.95em;
    }
}

/* Smartphones | &lt;480px */
@media only screen and (max-width: 20em) {
     .home #frontpage-magazine-widgets .widget .widgettitle {
        font-size: 1.05em;
    }
    .home #frontpage-magazine-widgets .widget .textwidget {
        font-size: 0.85em;
    }
    .widget-category-posts .type-post .entry-title {
        font-size: 1.2em;
    }
    #footernav-menu a {
       font-size: 0.75em;
    }
    #footernav-menu li {
       padding: 0 1.0em 0 0;
       margin-right: 1.0em;
    }
}
