/*
 Theme Name:   Tuningserver
 Theme URI:    http://www.tuningserver.cz
 Description:  Tuningserver twentyfourteen child-theme 
 Author:       Marek Rabas
 Template:     twentyfourteen
 Version:      1.0
*/

/* Import layout */
@import url(../twentyfourteen/style.css);

/* Centrování webu */
.site {margin: 0 auto;}

/* Menší odsazení odstavce */
p {margin-bottom: 10px;}

/* Odsazení obsahu zprava */
@media screen and (min-width: 1218px) {
	.archive-header,
	.comments-area,
	.image-navigation,
	.page-header,
	.page-content,
	.post-navigation,
	.site-content .entry-header,
	.site-content .entry-content,
	.site-content .entry-summary,
	.site-content footer.entry-meta {
		margin-right: 0px;
	}

	.full-width .archive-header,
	.full-width .comments-area,
	.full-width .image-navigation,
	.full-width .page-header,
	.full-width .page-content,
	.full-width .post-navigation,
	.full-width .site-content .entry-header,
	.full-width .site-content .entry-content,
	.full-width .site-content .entry-summary,
	.full-width .site-content footer.entry-meta {
		margin-right: auto;
	}
}

/* Označení do bloku */
/* Support a widely-adopted but non-standard selector for text selection styles
 * to achieve a better experience. See https://core.trac.wordpress.org/ticket/25898.
 */
::selection {
	background: #d50000;
	color: #fff;
	text-shadow: none;
}

::-moz-selection {
	background: #d50000;
	color: #fff;
	text-shadow: none;
}

.post-thumbnail img {width: 100%;}
.site-content .has-post-thumbnail .entry-header {margin-top: -48px;}
.content-area, .content-sidebar {padding-top: 72px;}

/* barva pozadí a font webu */
body {background:#f5f2eb; font-family: Open Sans, sans-serif;}

/* barva odkazů */
a {color: #d50000; text-decoration: none !important;}
a:active, a:hover {color: #f01a1a; text-decoration: underline !important;}
.content-sidebar .widget a {color: #d50000;}
.site-info a:hover {color: #d50000;}
.entry-title {
	font-size:28px;
}
.entry-title a:hover {
	color: #d50000;
}
.entry-meta a:hover {
	color: #d50000;
}
.cat-links a:hover {
	color: #d50000;
}
.entry-meta .tag-links a:hover {
	background-color: #d50000;
	color: #fff;
}
.entry-meta .tag-links a:hover:before {
	border-right-color: #d50000;
}
.entry-content .edit-link a:hover {
	color: #d50000;
}
.hentry .mejs-controls .mejs-button button:hover {
	color: #d50000;
}
.page-links a:hover {
	background: #d50000;
	border: 1px solid #d50000;
	color: #fff;
}
.post-navigation a:hover,
.image-navigation a:hover {
	color: #d50000;
}
.paging-navigation a:hover {
	border-top: 5px solid #d50000;
	color: #2b2b2b;
}
.comment-author a:hover,
.comment-list .pingback a:hover,
.comment-list .trackback a:hover,
.comment-metadata a:hover {
	color: #d50000;
}
.comment-reply-title small a:hover {
	color: #d50000;
}
.widget a:hover {
	color: #d50000;
}
.widget-title a:hover {
	color: #d50000;
}
.widget_calendar tbody a:hover {
	background-color: #d50000;
}
.widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #d50000;
}
.content-sidebar .widget a:hover {
	color: #d50000;
}
.content-sidebar .widget input[type="button"]:hover,
.content-sidebar .widget input[type="button"]:focus,
.content-sidebar .widget input[type="reset"]:hover,
.content-sidebar .widget input[type="reset"]:focus,
.content-sidebar .widget input[type="submit"]:hover,
.content-sidebar .widget input[type="submit"]:focus {
	background-color: #d50000;
}
.content-sidebar .widget .widget-title a:hover {
	color: #d50000;
}
.content-sidebar .widget_twentyfourteen_ephemera .entry-meta a:hover {
	color: #d50000;
}
.featured-content a:hover {
	color: #d50000;
}
.slider-control-paging a:hover:before {
	background-color: #d50000;
}


/* barva tlačítek */ 
button:hover, button:focus, .button:hover, .button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    background-color: #f20000;
}
button, .button, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #d50000;
}

/* animace odkazů */
a { transition: all .2s ease; }

/* zarovnání nav menu (přizpůsobení hodnot header-main text-align) */
.header-main {text-align: right;}
.primary-navigation {float: none;}
.primary-navigation li {text-align: left;}

/* hlavní lišta a menu */

.search-toggle {background-color: #000;}
.search-toggle:hover, .search-toggle.active {background-color: #d50000;}
.search-toggle:before {color: #fff;content: "\f400";}
.search-box {background-color: #d50000;}

.primary-navigation a {font-size: 14px;font-family: 'Oswald';}
.primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #d50000;
		color: #fff;
		text-decoration: none !important;
	}

.site-navigation .current_page_item > a, .site-navigation .current_page_ancestor > a, .site-navigation .current-menu-item > a, .site-navigation .current-menu-ancestor > a {color: #fff; text-decoration: none !important;}
.site-navigation a:hover {
	color: #d50000;
}

/* Nadpis widgetu */
.content-sidebar .widget .widget-title {
    border-top: 3px solid #d50000;
    color: #d50000;
    font-size: 16px;
    font-weight: 300;
    margin: 0 0 10px;
    padding-top: 5px;
    text-transform: uppercase;
}

/* Mediaelements */
.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #5d0000;
}
.hentry .mejs-overlay:hover .mejs-overlay-button {
	background-color: #5d0000;
	color: #fff;
}


/* Paging Navigation */
.paging-navigation .page-numbers.current {
	border-top: 5px solid #5d0000;
}

/**
 * 7.1 Widgets
 * -----------------------------------------------------------------------------
 */

/* Primary Sidebar, Footer Sidebar */

.widget button,
.widget .button,
.widget input[type="button"],
.widget input[type="reset"],
.widget input[type="submit"] {
	background-color: #5d0000;
}
.widget input[type="button"]:hover,
.widget input[type="button"]:focus,
.widget input[type="reset"]:hover,
.widget input[type="reset"]:focus,
.widget input[type="submit"]:hover,
.widget input[type="submit"]:focus {
	background-color: #f01a1a;
}

.widget_calendar tbody a {
	background-color: #5d0000;
}

/**
 * 7.2 Content Sidebar Widgets
 * -----------------------------------------------------------------------------
 */

.content-sidebar .widget a {
	color: #5d0000;
}
.content-sidebar .widget input[type="button"],
.content-sidebar .widget input[type="reset"],
.content-sidebar .widget input[type="submit"] {
	background-color: #5d0000;
}


/* Slider */
.slider-control-paging .slider-active:before,
.slider-control-paging .slider-active:hover:before {
	background-color: #5d0000;
}
.slider-direction-nav a:hover {
	background-color: #5d0000;
}

/* Primary Navigation */

.primary-navigation ul ul {
		background-color: #5d0000;
	}
/* .primary-navigation li:hover > a,
	.primary-navigation li.focus > a {
		background-color: #5d0000;
	} */

/* Primary Navigation */

.secondary-navigation ul ul {
		background-color: #5d0000;
	}
.secondary-navigation li:hover > a,
	.secondary-navigation li.focus > a {
		background-color: #5d0000;
	}
.primary-navigation ul ul a:hover,
.primary-navigation ul ul li.focus > a {
		background-color: #d50000;
	}
.secondary-navigation ul ul a:hover,
.secondary-navigation ul ul li.focus > a {
		background-color: #d50000;
	}


/*začátek pro odstranění levého postranního panelu*/
@media screen and (min-width: 783px) {
	 .primary-navigation {float: right; margin-left: 20px;}
}

		media screen and (min-width: 1110px) {
	.archive-header,
	.comments-area,
	.image-navigation,
	.page-header,
	.page-content,
	.post-navigation,
	.site-content .entry-header,
	.site-content .entry-content,
	.site-content .entry-summary,
	.site-content footer.entry-meta {padding-left: 55px;}
	            }

	        .site-content .entry-header,
.site-content .entry-content,
.site-content .entry-summary,
.site-content .entry-meta,
.page-content {max-width: 774px;}
        .comments-area {max-width: 774px;}
        .post-navigation, .image-navigation {max-width: 774px;}
        .site:before,
#secondary {width: 0; display: none;}

.featured-content {padding-left: 0;}
        .site-content, .site-main .widecolumn {margin-left: 0;}  
        .hentry {max-width: 850px;}
		
.post-thumbnail img {width: 100%;} 
 		
/*konec pro odstranění levého postranního panelu*/