/*
Theme Name:		 NášWP Kit Atomic
Theme URI:		 https://github.com/NasWP/naswp-kit-atomic
Description:	 Startovací WordPress Kit od NášWP
Author:			 NášWP
Author URI:		 https://naswp.cz
Template:		 atomic-blocks
Version:		 1.0.0
Text Domain:	 naswp-kit-atomic
*/


/*
    Styly z common.css
*/

/*
Styles for the block editor and front end
*/
p + .alignfull,
p + .alignwide {
	margin-top: 2em;
}

.wp-block-columns {
	justify-content: space-between;
}

@media only screen and (max-width: 600px) {
	.wp-block-columns {
		display: block;
	}
}

.wp-block-column {
	width: 48%;
	flex: 0 1 auto;
}

@media only screen and (max-width: 600px) {
	.wp-block-column {
		width: 100%;
	}
}


/*
	Styly pro zobrazení sidebaru
 */

#primary.has-sidebar {
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	/* pro sidebar vlevo: */
	/*flex-direction: row-reverse;*/
}

#primary.has-sidebar main {
	width: 70%;
}

#primary.has-sidebar #sidebar {
	width: 25%;
}


@media (max-width: 600px) {
	#primary.has-sidebar main {
		width: 100%;
	}

	#primary.has-sidebar #sidebar {
		width: 100%;
	}
}

/*
    Naše styly
*/
#masthead {background-color: #eaf2eb;}



.site-header {
        background-color: #ffffff
}

.site-footer {
        background-color: #EAF7FF
}

.site-identity {
        padding: 5px 0;
}

.container {
        padding: 0 30px;
}
@media only screen and (max-width: 600px) {
        .container {
                padding: 0 10px;
        }
}

h1, h2, h3, h4, h5, h6, body, button, input[type='button'], input[type='reset'], input[type='submit'], .button, #page #infinite-handle button {
        font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a {
        color: #00B7FF;
}

button, input[type='button'], input[type='submit'], .button, .page-numbers.current, .page-numbers:hover, #page #infinite-handle button, #page #infinite-handle button:hover, .comment-navigation a, .su-button, .mobile-navigation, .toggle-active {
        background-color: #0459AA;
}

.entry-header .entry-title {
        font-weight: 300;
        text-align: center;
        color: #9eb541;
        margin-bottom: 5px;
}

.header-text a, .header-text a:hover, .post-navigation a:hover .post-title, .entry-header .entry-title a:hover, #page .more-link:hover, .main-navigation a:hover, .main-navigation ul li.current-menu-item a, .main-navigation ul li.current-page-item a {
        color: #9eb541;
}

.site-footer a {
        margin-bottom: 7px;
        font-size: 16px;
}

.entry-content p a, .entry-content .meta-list a, .site-footer a {
        color: #0459AA;
        font-weight: 600;
        box-shadow: none;
}

.site-footer a {
        border-bottom: none !important;
}

.entry-content p a:hover, .entry-content .meta-list a:hover, .site-footer a:hover {
        color: #0459AA;
        box-shadow: inset 0 -2px 0 #0459AA !important;
        border-bottom: none !important;
        text-decoration: none !important;
}


.main-navigation {
        font-weight: 300
}

/* Podtržení odkazů */
.entry-content p a:hover, .header-text a:hover {
    box-shadow: inset 0 -2px 0 #00B7FF;
}

.entry-header .entry-title a:hover {
    box-shadow: inset 0 -4px 0 #00B7FF;
}

/*
 *         Doladění prvků šablony
 *         */

.featured-image {
        width: 160px
}


/* Nadpis H1 v hlavičce stránky */
h1 a {
        font-weight: 300;
        color: #9eb541;
}

h1 a span {
        font-weight: 700;
}

