/*
Theme Name:     K2-SESF
Description:    SESF Theme
Author:         Michel Weimerskirch
Template:       k2
*/

body {
font-family: Arial, Verdana, sans-serif;
}

.entry-content p, .entry-content ul { text-align: justify; /*font-size: 1.2em;*/ line-height: 1.8em; }

ul.attachments_home { margin-bottom: 0 }
.post {margin: 0 0 10px; padding: 0 0 20px 0; border-bottom: 1px solid #f39819; }
h1.entry-title { font-size: 1.8em !important; }
.four04 .entry-title, body.page .content .entry-title, .page-head h1 { color: #626262; margin-left: 0; margin-right: 0; text-align: left; padding-bottom: 10px; border-bottom: 1px solid #f39819; font-size: 2.4em; font-weight: normal; }
a { color: #f39819 }
.siteadmin {display: none}

#gmap { height: 400px }
#gmap, #gmap div { padding: 0; margin: 0; line-height: 1em }

.searchresult p { margin: 0 }
.searchresult { margin-bottom: 15px }
.highlight { background-color: yellow }

body.home .page-head { display: none }
.post p { overflow: visible }

#widgets-abovecontent { margin-bottom: 15px }

@media screen {
  /*html{height:101%}*/
/*   body { background: #6ad2ab url(img/bg.png) repeat } */

  #header { height: 125px; background-color: #f39819; border-bottom: 8px solid white; margin-bottom: 30px }
  #page { padding-top: 0; border: 2px solid white; margin-top: 5px }

  #logo { position:absolute; top:0; left:20px }
  
  #widgets-sidebar-2 { padding: 0 0 0 20px }
  #widgets-sidebar-2 .widget { background: /*#f9cb8c*/#f39819 url(img/corner_orange_dark.png) no-repeat top right; padding: 10px }
  #widgets-sidebar-2 .widget h4 { color: #444/*#626262*/; font-size: 1.2em; font-weight: bold; background: transparent url(img/bullet_444.png) no-repeat left center; padding-left: 8px }
  #widgets-sidebar-2 .widget a { display: block; color: #444/*#626262*/; font-style: italic; text-align: right; text-decoration: underline; line-height: 1.1em; margin-bottom: 4px}
  #widgets-sidebar-2 .widget a:hover { text-decoration: none }
  #widgets-sidebar-2 .widget p { color: #444 }
  
  #widgets-sidebar-1 { left: -516px !important; padding: 0; margin-left: -199px !important; }
  #widgets-sidebar-1 .widget { background: #a1a1a1 url(img/corner_grey.png) no-repeat top right; padding: 10px }
  #widgets-sidebar-1 .widget h4 { color: #fff; font-size: 1.2em; font-weight: bold; background: transparent url(img/bullet_white.png) no-repeat left center; padding-left: 8px }
  #widgets-sidebar-1 .widget a { display: block; color: #fff; font-style: italic; text-align: right; text-decoration: underline }
  #widgets-sidebar-1 .widget a:hover { text-decoration: none }
  #widgets-sidebar-1 .textwidget { color: white }
  
  .headermenu { font-size: 1.2em; bottom: -30px; background-color: #f39819; margin: 0; border-left: 20px solid #797979; width: 930px }
  .headermenu ul li { background: transparent url(img/bullet_white.png) no-repeat 8px center  }
  .headermenu ul li a { margin-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; -moz-border-radius-topleft: 0; -moz-border-radius-topright: 0; -webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; }
  .headermenu ul li ul li { background-image: none }
  .headermenu ul li ul li:first-child a { border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
  .headermenu ul li:hover,
  .headermenu ul li.current_page_ancestor,
  .headermenu ul li.current_page_item { background: #f9cb8c url(img/bullet_grey.png) no-repeat 8px center  }
  .headermenu ul li:hover a,
  .headermenu ul li.current_page_ancestor a,
  .headermenu ul li.current_page_item a { background: transparent; color: black }
  .headermenu ul li ul { border-radius: 0 !important; -moz-border-radius: 0 !important; -webkit-border-radius: 0 !important; margin-left: 0 }
  .headermenu ul li ul li a { background: #a1a1a1; color: white }
  .headermenu ul li ul li a:hover { color: black }
  .headermenu ul li ul li:last-child a:last-child { border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; }
  .headermenu #menu-item-20 /* =Home */ { border-right: 2px solid white; width: 176px }

  .wrapper { position: relative }
  * html .wrapper { position: static }
  *+html #widgets-top { top: -32px }
  #widgets-top { margin-top: 0; position: absolute; top: -61px; left: 20px; overflow: hidden }
  #widgets-top .widget_search { margin: 0 !important }
  
  .primary {width: 520px;}
  
  .livesearch.columns-three #search-label.overlabel-apply { width: 166px; background-color: #f9f9f9 }
  .livesearch.columns-three #s { width: 152px; line-height: 16px; height: 16px; }
  
  /*.widget { border-radius: 0 20px 0 0; -moz-border-radius: 0 20px 0 0; -webkit-border-radius: 0 20px 0 0 }*/
  
  #rollingarchives, #rollingarchivesbg, body.smartposition #rollingarchives, body.smartposition #rollingarchivesbg { position: absolute; bottom: 0; top: auto }
  body.smartposition .primary { padding-top: 0 !important }
  
/*   #footer, #footer a { color: black } */
  #page { border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0 }
  #footer { width: 950px; margin: 0 auto; padding: 5px 0; background-color: white; border: 2px solid white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
  }
  #tag { width: 950px; margin: 0 auto; padding: 5px 5px 15px 0; text-align: right }
  #tag, #tag a { color: white; }
}

@media print {
  .entry-title, .entry-title a, .entry-title a:hover, .entry-title a:visited, h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, h4, h4 a, h4 a:hover, h4 a:visited { text-decoration: none; }
  body { font-size: .75em; line-height: 1em; font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Helvetica, Arial, Sans-Serif; }
  .widgets, .headermenu, #rollingarchives, #rollingarchivesbg, .entry-edit, #page > hr {display: none}
  #logo img {border:0}
  #footer { font-size: .9em; text-align: center }
}

#site-title { display: none }
#site-description { display: none }

#header {
    background-image: url(http://sesf.lu/files/2016/05/SESF-F.png);
}

.hentry .entry-content img {
    max-width: 100%;
    height: auto;
}

.hentry .entry-content > div { margin: 0 !important; }