/*
Theme Name: Midcar 2
Theme URI: http://midcar.pl
Author: Grzegorz Chuchrowski
Description: Motyw strony midcar.pl
Version: 2.0
*/

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, a, abbr, acronym, address, big, cite, code, del, dfn, font, ins, kbd, q, s, samp, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, form, label, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 1px dashed #eff;
}
body {
	background: #fff;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
a {
	color: inherit;
	text-decoration: none;
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* =Structure
----------------------------------------------- */
/** Color Palette
 * 
 */
:root {
	--text-color:#0a0f0f;
	--text-color-2:#faffff;
	--bg-color:#FFF;
	--bg-color-2:#000;
	--bg-color-3:#36454f;
	--base-font-size:16px;
}
html {
	height:100%;
}
body {
	background-color: var(--bg-color);
	color: var(--text-color);
	height: 100%;
	font-family: "Open Sans",sans-serif;
	font-size: var(--base-font-size);
}

#page {
	
}

#page > * {
	padding-left: 10vw;
	padding-right: 10vw;
}

/*
 * header
 */

#header-sidebar {
	padding-top:2rem;
	padding-bottom:2rem;
	
	background-color:var(--bg-color-2);
	
	color: var(--text-color-2);
	font-family:'Montserrat';
}

#access {
	background-color: var(--bg-color-3);
	
	color: var(--text-color-2);
	font-family:'Montserrat';
}

/*
 * Site Content
 */
 
#content {
	background-color:var(--bg-color);
	
	padding-top:2rem;
	padding-bottom:2rem;
}


/*
 * Menu
 */
#access ul {
	display:flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	
    text-align: right;
	font-size: 1.1em;
    text-transform: uppercase;
    font-weight: bold;
}
#access ul.menu li {
	padding: 1rem;
}

#access ul.menu li:hover {
}

#access ul.menu li.current-menu-item {
	background-color:color-mix(in srgb, var(--bg-color-2), transparent 50%);
	transition: background-color 0.6s ease-out;
}

#access ul.menu li.current-menu-item:hover {
	background-color:transparent;
}

/*
 * Footer
 */
#footer-sidebar{
	background-color:var(--bg-color-2);
	color: var(--text-color-2);
	font-family:'Montserrat';
	
	padding-top:2rem;
	padding-bottom:2rem;
}

#site-footer {
	background-color:var(--bg-color-3);
	color:var(--text-color-2);
	text-align:center;
	
	padding-top:2rem;
	padding-bottom:2rem;
}


/* =General Styles
----------------------------------------------- */

/* 
 *links 
 */
.entry-content a {
	text-shadow: 0.02em 0.02em 0.06em var(--bg-color-3);
}
.entry-content a:hover,
.entry-content a:focus {
	text-decoration: underline;
}

.edit-link {
	background-color: var(--bg-color);
	cursor: pointer;
	padding: 0.3em 0.5em;
	border-radius: 0.2rem;
	border: 1px solid var(--bg-color-3);
}

/* align elements */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

img.alignleft {
	padding:0 1em 1em 0;
}
img.alignright {
	padding:0 0 1em 1em;
}
blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
	clear: both;
	margin-top: 0.4em;
	margin-bottom: 1.6em;
}
p.aligncenter {
	text-align:center;
}

/* typhography */
.entry-content {
	line-height:1.7;
	font-size:1.15rem;
}

.entry-content > :first-child {
	margin-top:0;
}

blockquote:before {
	content:  '\f106';
	color: var(--bg-color);
	font-size: 2rem;
	position: absolute;
	top: 1rem;
	left: -2.2rem;
}
blockquote {
	padding: 1rem;
	border-left: 2.5rem solid var(--bg-color-3);
	background:var(--bg-color);
	position: relative;
}
blockquote, p {
	quotes: "&bdquo;" "&rdquo;";
}

address {
	font-style: italic;
	margin: 0 0 1.5em;
}

code,
kbd,
tt,
var,
samp,
pre {
	font-family: Inconsolata,"Lucida Console", monospace;
}

pre,code {
	background-color: var(--bg-color);
	border: 1px solid var(--bg-color-3);
	border-left-width:0.7rem;
	font-size: 1.1em;
	line-height: 1.2353;
	margin-bottom: 1.5em;
	max-width: 100%;
	overflow: auto;
	padding: 1rem;
	white-space: pre-wrap;
	word-wrap: break-word;
	display: block;
}

abbr[title] {
	text-decoration-color: var(--bg-color-3);
	cursor: help;
}

mark,
ins {
	background-color: var(--bg-color-3);
    color: var(--bg-color);
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	clear: both;
	margin: 1em 0;
}

.entry-content h1 {
	font-size: 2.2em;
	line-height: 1.2;
	font-weight: bold;
}

.entry-content h2 {
	font-size: 1.9em;
	line-height: 1.2;
	font-weight: bold;
}

.entry-content h3 {
	font-size: 1.7em;
	line-height: 1.3;
}

.entry-content h4 {
	font-size: 1.5em;
	line-height: 1.3;
	font-weight: bold;
}

.entry-content h5 {
	font-size: 1.3em;
	line-height: 1.2;
	font-weight: bold;
}
.entry-content h6 {
	font-size: 1.2em;
	line-height: 1.2;	
	font-weight: bold;
}

/* elements */
hr {
	background-color: var(--bg-color);
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

.wp-block-separator{
	border-top: 1px solid;
    border-bottom: 1px solid;
    border-color: var(--bg-color-3);
	clear:both;
}

.entry-content p {
	
}

.entry-content p:first-child {
	
}

.entry-content ul {
	list-style: disc;
	padding-left: 2em;
}

.entry-content ol {
	list-style: decimal;
	padding-left: 2em;
}

.entry-content li > ul,
.entry-content li > ol {
	margin: 0 0 0 2em;
}

.entry-content dt {
	font-weight: bold;
}

input[type="button"],input[type="submit"] {
	background-color: var(--bg-color);
	cursor: pointer;
	padding: 0.3em 0.5em;
	border-radius: 0.2rem;
	border: 1px solid var(--bg-color-3);
	color: var(--text-color);
	transition: all 0.1s ease-out;
}
input[type="button"]:active,input[type="submit"]:active  {
	background-color: var(--bg-color) !important;
}
input[type="button"]:hover,input[type="button"]:focus,input[type="submit"]:hover,input[type="submit"]:focus {
	background-color: var(--bg-color-3);
	color: var(--text-color);
	border: 1px solid var(--bg-color);
}

/* tables */

.entry-content th,
.entry-content td {
	border: 1px solid var(--bg-color-3);
	color:var(--text-color-2);
}

.entry-content table {
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 1.75em;
	width: 100%;
	color:inherit;
}

.entry-content table th,
.entry-content table caption {
	font-family:'Montserrat';
	font-size: 1.1em;
	text-align: center;
	vertical-align: bottom;
	line-height:1.2;
	background-color: var(--bg-color-3);
}

.entry-content table caption{
	background-color: var(--bg-color);
}

.entry-content table td{
	font-size: 1.1em;
	line-height:1.4;
	vertical-align: middle;
	text-align: center;
	color: var(--text-color);
}
.entry-content table tbody > tr:nth-child(odd){
	background-color: color-mix(in srgb, var(--bg-color-3), transparent 80%);
}

/* general styles for use in editor */
@keyframes shake {
  0%   {transform: rotate(35deg);}
  25%  {transform: rotate(-10deg);}
  50%  {transform: rotate(25deg);}
  100% {transform: rotate(-15deg);}
}

*:hover > .phoneIcon {
	animation: shake 0.3s linear 0.7s 10 alternate;
}

.altGrid > *:nth-child(odd){
	background:linear-gradient(0deg, color-mix(in srgb, var( --bg-color-3), transparent 95%) 0%, transparent 50%);
}

.altGrid > *:nth-child(even){
	background:linear-gradient(180deg, color-mix(in srgb, var( --bg-color-3), transparent 95%) 0%, transparent 50%);
}

.icon128 img {
	max-width:128px;
}

.icon64 img {
	max-width:64px;
}

/* =============== Responsive Design Styles ============= */



/* max width 768px */
@media (max-width: 768px) {
	
#page > * {
	padding-left: 5vw;
	padding-right: 5vw;
}

}
