/*
Theme Name: Dimundi Theme
Author: Krzysztof Głośnicki
Description: Basic theme using Bulma css
Version: 1.2.0
*/

/*

	0. Reset
	1. Layout and Typo
	2. Header
	3. Content
	4. Sidebar
	5. Footer
	6. Front-page
	7. Main Menus
	8. Forms
	9. Widgets
	10. Mobile

	20. Overrides

*/


/*===============================

	0. RESET

================================*/
* {
	box-sizing: border-box;
}

body {
	background: #fdfdfd;
}
a {
	/*color: #ad3b75;*/
	color: hsl(326deg 82% 49%);
  /* text-decoration: underline; */
  /* background-color: #e31ee91c; */
  font-weight: 500;
}
a:hover {
	text-decoration: none;
}
input, button, submit {
	outline: none !important;
}

/*===============================

	1. LAYOUT AND TYPO

================================*/
.section-padding {
	padding: 50px 0;
}
.highlight {
	color: #ffd101;
}
.solid-bg {
	background-color: hsl(185, 100%, 31%);
	color: #efefef;
}
.modal-source {
	display: none;
}


/*===============================

	2. HEADER

================================*/
.custom-logo {
	width: 400px;
	max-width: 100%;
}
#masthead {
	position: relative;
	background-color: #000;
	overflow: hidden;
}
#search-link {
	width: 20px;
	height: 20px;
	margin-top: 2px;
  margin-left: 1rem;
}




/*===============================

	3. CONTENT

================================*/
h2.title {
	font-size: 1.6rem;
}
h3.title {
	font-size: 1.2rem;
}

.entry-content ul,
.entry-content ol {
	list-style-position: inside;
	margin-bottom: 0.75rem;
}
#main {
	display: flex;
	padding: 3rem 0;
}
#main > article {
	flex: 1;
}
.entry-content p {
	margin-bottom: 0.75rem;
}
.entry-content ul li {
	background-image: url(images/bullet.png);
	background-repeat: no-repeat;
	background-position: left 9px;
	background-size: 18px;
	padding-left: 26px;
}

.box-link {
	text-align: center;
	color: #fff;
	font-weight: 700;
	font-size: 1.5rem;
	background-color: #0ba9a9;
	height: 100%;
	line-height: 1.15em;
	box-shadow: 0 0 3px 0px #666;
}

.year {
	display: inline-block;
	font-size: 21px;
	font-weight: bold;
	margin-right: 21px;
}


/*===============================

	4. FOOTER

================================*/
#sidebar {
	width: 300px;
  display: inline-block;
  vertical-align: top;
}
@media screen and (max-width: 500px) {
	#sidebar .widget {
		width: 100%;
	}
}


/*===============================

	5. FOOTER

================================*/
footer.solid-bg {
	position: relative;
	box-shadow: 0 -5px 18px 0px #9c9c9c
}
.bottom-bar {
	color: #8dc7cc;
  margin: 0;
	padding: 7px 0;
  width: 100%;
  text-align: center;
  font-size: 12px;
}
#footer-widgets {
	padding: 50px;
	background: #d4e3ea;
}





/*===============================

	6. FRONT PAGE

================================*/
.home #main {
	padding-bottom: 0;
}



/*===============================

	7. MAIN MENUS

================================*/
/*http://tobiasahlin.com/blog/css-trick-animating-link-underlines/*/
.menu li {
	display: inline-block;
	list-style: none;
}
.menu li:not(:last-child) {
	margin-right: 1rem;
}
.menu ul {
	list-style: none;
}

.menu a {
  position: relative;
  color: #0ba9a9;
	font-weight: bold;
  text-decoration: none;
	text-transform: uppercase;
}
.menu  a:hover {
  color: #0ba9a9;
}
.menu  a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ad3b75;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}
.menu  a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}



/*===============================

	8. FORMS

================================*/
#searchform .control:first-child {
	width: 100%;
}

.container-form {
  width: 350px;
  max-width: 100%;
	margin: 0 auto;
}




/*===============================

	9. WIDGETS

================================*/
.widget {
	background: none;
	padding: 15px;
}
.widget:not(:last-child) {
	margin-bottom: 40px;
}
.widget-title {
	font-weight: 700;
  font-size: 1.2rem;
}
li.widget {
	list-style: none;
}




/*===============================

	10. MOBILE

================================*/
.mobile-menu-container {
    display: none;
    cursor: pointer;
}
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: hsl(0deg 0% 9%);
    margin: 6px 0;
    transition: 0.4s;
}
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}
.change .bar2 {
	opacity: 0;
}
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

@media screen and (max-width: 710px) {
	.menu-nav-menu-container {
		display: none;
	}
	.mobile-menu-container {
		display: inline-block;
	}
}
.mobile-menu  {
	display: none;
  background: #f1f1f1;
  position: absolute;
  z-index: 999;
  right: 0;
  top: 198px;
  border: 1px solid #d6d6d6;
}
.mobile-menu.change {
	display: none;
}
.mobile-menu ul {
	flex-direction: column;
	padding: 20px;
}
.mobile-menu li {
	display: block;
}

@media (max-width: 768px) {
	div#n2-ss-2 h1 {
		font-size: 24px !important;
	}
}
@media (max-width: 599px){
	.wp-block-column:not(:last-child) {
	    margin-bottom: 20px;
	}
	.wp-block-spacer {
		height: 30px !important;
	}
	#main {
		padding-top: 20px;
	}
}

@media (max-width: 1007px){
	#main > article {
		padding: 0 10px;
	}
}


/*===============================

	20. OVERRIDES

================================*/
.navbar {
	min-height: unset !important;
}

.ewd-ufaq-faq-title h4 {
	font-size: 24px;
}

th.st-head-row {
    background: #e1e1e1;
}
.tingle-modal__close {
	right: 4.5rem;
}
.logo-wrapper img.custom-logo,
body.pojo-a11y-high-contrast .entry-content img {
	background: none !important;
}

body.pojo-a11y-light-background .box-link:not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) img {
	background: #000 !important;
	filter: invert(1);
}
body.pojo-a11y-light-background .entry-content ul:not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) {
	list-style: disc;
	list-style-position: inside;
}
body.pojo-a11y-light-background .entry-content li:not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) {
	padding-left: 3px;
}
