/*
 Theme Name:   WegrzynCV
 Theme URI:    http://wegrzyn.wiwphoto.com
 Description:  Theme for my CV
 Author:       Krzysztof Wegrzyn
 Author URI:   http://wegrzyn.wiwphoto.com
 Template:     collect
 Version:      0.0.25
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  collect-child
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
  --main-bg-color: #3C486B;
  --main-font-color: #0D0D0D;
  --accent-bg-color: #F45050;
  --content-bg-color: #F0F0F0;
  --accent-font-color: #F0F0F0;
  --aside-font-color: white;
  --tile-main-bg-color: #3c486b40;
  --tile-hover-bg-color: #f450500f;
}

html {
    font-size: 20px;
}
body {
    font-family: 'Montserrat', sans-serif;
}
body,
.site-title a,
h1, h2, h3, h4, h5, h6  {
    color: var(--main-font-color);
}
@media (min-width: 769px) {
    #page {
        padding-left: 350px;
    }
}
#page {
    padding-top: 30px;
    background: var(--content-bg-color);
}
#primary {
    padding: 0 20px;
}
#masthead {
    background: var(--accent-bg-color);
    color: var(--aside-font-color);
    margin-bottom: 70px;
}
#masthead .site-description {
    font-weight: bold;
}
#masthead .site-title a {
    color: var(--aside-font-color);
    text-decoration: none;
}
p{
    text-align: justify;
}
span.more-link {
    backdrop-filter: saturate(180%) blur(10px);
}
.home-container figure .entry-wrapper, .featured-container figure .entry-wrapper{
    background: var(--tile-main-bg-color);
    transition: 0.3s;
}
.home-container figure:hover .entry-wrapper, .featured-container figure:hover .entry-wrapper {
	background: var(--tile-hover-bg-color);
}
.wp-post-image{
	height: 50vh;
    width: inherit;
}
a {
    color: var(--main-font-color);
    text-decoration: underline;
}
a:hover {
    color: var(--accent-font-color);
    filter: brightness(85%);
}
.tag-footer {
    font-weight: 300;
}
.tag-footer a {
    margin-left: 5px;
}
.nav-previous, .nav-next{
	background-image: none !important;
	width: 50%;
	display: inline-block;
}
.nav-previous{
	border-right: 10px solid transparent;
}
.nav-next{
	border-left: 10px solid transparent;
}
.post-navigation .nav-next a:before, .post-navigation .nav-previous a:before {
    background-color: var(--main-bg-color) !important;
}
.post-navigation .nav-next {
    float: right;
}
.post-navigation {
    float: left;
    background-color: transparent;
}
.post-navigation a:before{
	-moz-transition: all 0.15s linear;
    -o-transition: all 0.15s linear;
    -webkit-transition: all 0.15s linear;
    transition: all 0.15s linear;
} 
.post-navigation .nav-previous a, .post-navigation .nav-next a{
	border: none;
    text-decoration: none;
}
.post-navigation .post-title {
    text-overflow: ellipsis;
    white-space: nowrap;
	overflow: hidden;
}
.post-navigation .post-title, .post-navigation .meta-nav {
	color: white;
    padding: 20px 0;
}
.entry-title{
	text-overflow: ellipsis;
    overflow: hidden;
}
.home-container figure .entry-title, .featured-container figure .entry-title {
    font-size: 1.4rem;
}
@media (max-width: 769px) {
   span.nav-open.pull-left {
		left: 20px;
    padding: 20px 0;
	}
}
@media (min-width: 
    padding: 20px 0;x) {
   .entry-title{
        max-height:
    padding: 20px 0;
    }
	.entry-project-
    padding: 20px 0;
		display: none;
	}
}
@media (min-width: 836px) and (max-width: 924px) {
   .entry-title{
        max-height: 74px
    }
}
@media (min-width: 925px) and (max-width: 987px) {
   .entry-title{
        max-height: 124px
    }
}
@media (min-width: 1200px) and (max-width: 1280px) {
   .entry-title{
        max-height: 120px
    }
}
@media (min-width: 1281px) and (max-width: 1327px) {
   .entry-title{
        max-height: 157px
    }
}
.too-short figcaption:before, .too-short .more-link:before{
    background: none !important;
}
.too-short .more-link {
	width: inherit;	
    background: none !important;
}
.wp-post-image {
    height: inherit;
    width: inherit;
	margin-bottom: 40px;
}
/** Sidebar */
#sidebar,
#sidebar ul {
    color: var(--aside-font-color);
}

#sidebar a,
#sidebar ul a {
    color: var(--accent-font-color);
    filter: brightness(150%);
}
.widget-title {
    font-size: 1.7rem;
    color: var(--aside-font-color);
}
.display-author h4 {
    color: var(--aside-font-color);
    font-weight: bold;
    font-size: 2rem;
    text-transform: uppercase;
}

@media (min-width: 769px) {
    #sidebar {
		width: 350px;
	}
}
.display-author img{
    border-radius: 50%;
}
.widget {
    border: none;
}
.widget-edu h4 {
    margin-bottom: 10px;
    color: var(--aside-font-color);
    font-weight: normal;
}
.widget-contact p {
    text-align: left;
}

.widget .widget-skills ul {
    padding: revert;
    list-style: disc;
}
.btn, .comment-reply-link, input[type="submit"] {
    color: var(--accent-font-color);
}
.btn:hover, .comment-reply-link:hover, input[type="submit"]:hover {
    color: var(--accent-font-color);
    filter: brightness(85%);
}
.home-container figure .entry-category:after, .featured-container figure .entry-category:after{
	display: none;	
}
::-webkit-scrollbar {
    width: 7px;
    overflow: auto;
}
::-webkit-scrollbar-thumb {
    background: #3C486B;
}
::-webkit-scrollbar-track {
    background: white;
}
#sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-bg-color);
}
#sidebar::-webkit-scrollbar-track {
    background: var(--main-bg-color);
}
/*** lang ***/
.lang-item {
    display: inline;
    list-style: none;
}
.nav-icons {
    margin-bottom: 0px;
}
#sidebar .nav-icons ul {
    text-align: center;
    padding: 0;
}
.nav-icons ul li img{
    height: 17px;
}
span.nav-open.pull-left {
    position: absolute;
}

/**cv dropdown ***/
.cv-contact{
	margin-top: 25px;
    display: inline-block;
}
.btn-border {
	background-color: rgba(0, 0, 0, 0);
    padding: 7px 10px;
    display: inline-block;
    color: white;
    border: 2px solid #ffffff;
    font-weight: 300;
}
a.btn-border:hover, .dropdown:hover .btn-border {
	background: rgba(255, 255, 255, 0.2);
    color: white;
}
a.btn-border{
    margin-left: -5px;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    backdrop-filter: saturate(180%) blur(10px);
}
.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: 2px solid #ffffff;
}
.dropdown-content a:hover {
    background-color: rgba(241, 241, 241, 0.28);
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a:hover, .dropdown, .dropdown-content, .dropdown-content a {
	-moz-transition: all 0.25s linear;
    -o-transition: all 0.25s linear;
    -webkit-transition: all 0.25s linear;
    transition: all 0.25s linear;
}

/*** cv ****/
.rb-resume-block .rb-experience .rb-section-title {
    color: var(--accent-font-color);
}
.rb-resume-block .rb-experience-item .rb-subtitle {
	color: #6b6b6b;
    font-size: 0.7rem;
}
.rb-resume-block .rb-about-image img {
    width: 70%;
}
.resume  .widget-title {
    color: var(--main-bg-color);
}
.rb-resume-left {
    width: 60%;
}
.rb-resume-right {
    width: 35%;
}
.resume .widget{
	padding-bottom: 0px;	
}
.rb-resume-block .rb-about .rb-about-text .rb-title, .rb-resume-block .rb-about .rb-about-text .rb-subtitle {
	padding-bottom: 10px;
    text-align: center;
}
.rb-resume-block .rb-about .rb-about-text:after {
    content: "";
    width: 60px;
    border-bottom: 5px solid var(--main-bg-color);
    display: block;
	margin: -5px auto 0;
}
.rb_resume-template-default #masthead{
	display: none;
}
.rb_resume-template-default #page{
	padding-left: 0px;
}

#sidebar{
    background-color: var(--main-bg-color);
}
.display-author p {
    font-size: 0.775rem;
    line-height: 1.5;
}
#footer {
    background-color: var(--accent-bg-color);
    color: var(--accent-font-color);
}
#masthead .container:after {
    display: none;
}