/*
   Template: twentytwelve
   Theme Name: VitÃ¡lnÃ­ senior
   Author: MatouÅ¡ SkÃ¡la
   Author URI: http://matousskala.cz/
   Version: 1.0
   Tags:
*/

@import url("base.css");

body {
    font-family: Tahoma, Arial, sans-serif;
    background: #FFF1D7;
    color: #000033;
    font-size: 14px;
}

a, .entry-meta a, .widget-area .widget a {
    color: #96BD0C;
}

a:hover,
.widget-area .widget a:hover,
.comments-link a:hover,
.entry-meta a:hover {
    color: #FF6633;
}

.entry-content p,
.widget-area .widget p,
.widget-area .widget .textwidget {
    line-height: 21px;
}

/* Header */

.site-header {
    background: #000033;
    padding: 0;
}

.site-header hgroup {
    background: url('../images/header_bg_3b3015745a.jpg');
    background-repeat: repeat-x;
}

.site-header hgroup .site-title a {
    background: url('../images/header_72bd122ac7.jpg');
    background-repeat: no-repeat;
    display: block;
    color: transparent;
    font-size: 0px;
    text-indent: -20000px;
    width: 1000px;
    height: 223px;
    margin: auto;
}

.site-header hgroup .site-description {
    display: none;
}

.wp_bannerize.header {
    width: 1000px;
    margin: auto;
    position: relative;
}

.wp_bannerize.header > div {
    position: absolute;
    top: -215px;
    right: -210px;
}

.wp_bannerize.header img {
    max-height: 205px;
    max-width: 205px;
}

.upw-posts .entry-image{
	text-align: center;
}

article {
    clear: both;
}

/* Navigation */

.main-navigation {
    width: 1000px;
    margin: auto;
}

.main-navigation ul {
    border: none !important;
}

.main-navigation li {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
}

.main-navigation li a {
    color: white;
    font-weight: bold;
    font-size: 15px;
    text-transform: none;
    max-width: 100px;
    height: 40px;
    white-space: normal;
    line-height: 19px;
    vertical-align: top;
    border-left: 1px solid #977368;
    padding-left: 10px;
    padding-right: 14px;
}

.main-navigation li:last-child a {
    border-right: 1px solid #977368;
}

.main-navigation li a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current-post-ancestor a {
    color: #FDA955;
}

/* Page */

#page {
    padding: 0;
    margin: 0 auto;
    width: 1000px;
    max-width: 1000px;
    margin-bottom: 30px;
}

#sidebar_left {
    width: 180px;
    float: left;
    margin-left: 10px;
    margin-top: 10px;
    clear: both;
}

#sidebar_right {
    width: 250px;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
}

#main .site-content {
    width: 650px; /*default 475px*/
    float: left;
    margin-left: 40px;
    margin-top: 10px;
}

.entry-title, .entry-title a {
    color: #C44C87;
    font-size: 20px;
    font-weight: normal;
}

.entry-title a:hover {
    text-decoration: underline;
}

/*
#content article:first-of-type .entry-title,
#content article:first-of-type .entry-title a {
    font-size: 25px;
}
*/

#content article:first-of-type .entry-title {
    margin-top: 10px;
}

.sfw-comment-notes {
    line-height: 20px;
}

.archive-header {
    display: none;
}

.page-header {
    margin-bottom: 15px;
}

/* Article */

.entry-content .attachment-post-thumbnail {
    float: left;
    margin-right: 15px;
    margin-top: 5px;
    margin-bottom: 2px;
    max-width: 290px; /* puvodne 200px */
    box-shadow: none;
    border-radius: 0;
}

.entry-header {
    margin-bottom: 10px;
}

.entry-meta {
    color: #999999;
    margin-top: 8px;
    font-size: 12px;
}

.entry-content p {
    margin-bottom: 10px;
}

.site-content article {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.site-content article.not-found {
    border: none;
}

.comments-area article header {
    margin-bottom: 10px;
}

.comments-title {
    margin-bottom: 15px;
}

/* Widgets */

.widget-area .widget .widget-title {
    font-size: 20px;
    background: #FC8814;
    color: white;
    font-weight: normal;
    padding: 0 10px;
    text-transform: none;
    margin-bottom: 10px;
}

.widget-area .widget {
    margin: 0;
    margin-bottom: 10px;
}

.wp_bannerize > div {
    margin-bottom: 10px;
}

.dpe-flexible-posts h4.title  {
    line-height: 21px;
    margin-bottom: 5px;
}

.dpe-flexible-posts h4.title a {
    font-size: 15px;
    color: #FF6633;
    text-decoration: none;
}

.dpe-flexible-posts h4 a:hover {
    text-decoration: underline;
}

.widget-area .dpe-flexible-posts p {
    margin-bottom: 5px;
}

.widget-area .dpe-flexible-posts .hentry {
    margin-bottom: 15px;
}

.widget-area img {
    box-shadow: none;
}

.widget-area .textwidget .btn {
    display: block;
    clear: both;
    background: #eee;
    width: 150px;
    text-align: center;
    border-radius: 4px;
    padding: 3px 0;
    color: #FF6633;
    margin-top: 5px;
    margin-bottom: 5px;
}

.widget-area .textwidget .btn:hover {
    background: #FF6633;
    color: white;
}

#text-6 .widget-title {
    margin-bottom: 5px;
}
#text-6 ul {
    padding: 0;
    margin-bottom: 10px;
}

#text-6 li {
    list-style: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 5px;
}

#text-6 li a {
    font-size: 13px;
    font-weight: bold;
    color: #000033;
    background: #FECFA0;
    padding: 3px 10px;
    border-left: 11px solid #FDA955;
    display: block;
    text-decoration: none;
}

#text-6 li a:hover {
    background: #FDA955;
    border-color: #FF6633;
}

/* Footer */

#colophon {
    background: #FC8814;
    text-align: center;
    padding: 5px 0;
    margin: 10px;
    width: auto;
    max-width: 100%;
}

#colophon a {
    color: white;
    font-size: 15px;
    margin: 0 10px;
}

#colophon a:hover {
    color: #eee;
}

#colophon .press21 {
    background-image: url('../images/press21_logo_blue_6cfbc1a0ed.jpg');
    background-repeat: no-repeat;
    background-position: center;
    padding: 5px 40px;
}

#colophon .press21 span {
    display: none;
}

footer{
	color: white;
	font-size: 14px !important;
	line-height: 30px;
	padding: 20px !important;
	display: flex;
	flex-wrap: wrap;
	text-align: center;
	align-items: center;
}

.footer-left, .footer-center, .footer-right {
	margin: auto;
}


/* Subscription form */
.footer-right form{
	display: flex !important;
}

.footer-right label{
	margin: auto;
}

.tnp-subscription{
	margin: 0 10px !important;
}

.tnp-subscription input[type=text], .tnp-subscription input[type=email], .tnp-subscription input[type=submit], .tnp-subscription select{
	height: auto !important;
}


.tnp-subscription label{
	display: none !important;
}

.tnp-subscription div.tnp-field{
	margin-bottom: 0 !important;
}

/* Latest article */

.latest-article {
    float: left;
    width: 690px;
    margin: 10px 10px 10px 10px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-top: 15px;
    padding-bottom: 5px;
}

.latest-article h1, .latest-article h1 a {
    font-size: 25px;
}

.latest-article .entry-content .attachment-post-thumbnail {
    max-width: 360px;
}

.left-content {
    /*float: left;*/
}

body .sfw-commentlist {
    margin: 0;
    margin-left: 100px;
}

.comment {
    line-height: 20px;
}

.comment p {
    margin-bottom: 10px;
}

.banners-footer {
    margin: 10px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.widget_newsletterwidget {
    padding-bottom: 10px;
}

.widget_newsletterwidget p {
    margin: 0 !important;
}

.widget_newsletterwidget form {
    margin-top: 10px;
}

.ssp-container,
.ssp-container-mobile {
  display: none;
}

.ssp-smrm-container {
    margin-bottom: 10px;
}

.ssp-smr-container {
    margin-bottom: 10px;
}

article > .ssp-container-mobile .ssp-smrm-container{
	margin: 1rem 0;
}

#ssp-wallpaper-324661{
	margin: 1rem auto;
}

#ssp-smrm {
    margin: auto;
}

#ssp-rectangle {
    margin: auto;
}

#ssp-text {
    margin: auto;
}

.ssp-leader-container {
  background: white;
}

#ssp-leader {
  margin: auto;
  max-width: 970px;
  height: 210px;
}

#ssp-rectangle {
  margin: auto;
  max-width: 970px;
}

@media (max-width: 1000px) {
  #page {
    width: 100%;
  }

  .site-header hgroup .site-title a {
    width: 100%;
  }

  .main-navigation {
    width: 100%;
  }

  .wp_bannerize.header {
    display: none;
  }

  #main .site-content {
    width: auto;
    /*margin: 10px 20px;*/
  }

  .entry-content .attachment-post-thumbnail {
    max-width: 200px;
  }

  #sidebar_right {
    width: auto;
    margin: 10px 20px;
  }

  .site-header hgroup .site-title a {
    background: url('http://press21.cz/wp-content/themes/press21/images/logo_vitalnisenior.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 120px;
  }

	article{
    	width: 90vw;
	}
}
