/*******************************************
3ColorResume
Author: office@kamsolutions.pl
*******************************************/

/*******************************************
FONTS
*******************************************/
@import url("http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800");

/*******************************************
BODY
*******************************************/
body{
  font-family: 'Open Sans', Arial, Tahoma;
  font-weight: 400;
  font-size: 1em;
  color: #6085B4;
  background: #ededed;
  background-image: url('../img/bkg.jpg');
}

/*******************************************
CONTAINER
*******************************************/
.container{
  margin-top: 80px;
  margin-bottom: 15px;
  background: rgb(255 255 255 / 50%);
}

/*******************************************
PHOTO (AVATAR)
*******************************************/
#photo-header{
  /* margin-top: -75px; */
}

#photo{
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  padding: 5px;
  background: #ededed;
  display: inline-block;
}

#photo img{
  width: 150px;
  height: 150px;
  border-radius: 50%;
}

#text-header h1{
  margin: 0;
  padding: 0;
  font-size: 2.4em;

  /* text-transform: uppercase; */
font-family: effra,sans-serif;
font-style: normal;
font-weight: 300;
}

#text-header h1::first-line{
  font-size: 1.5em;

  /* letter-spacing: -4px; */

  /* font-weight: 800; */
  color: #6085B4;
  line-height: 1.5em;
}

#text-header h1 span{
  color: #F0563D;
}

#text-header h1 sup{
  opacity: 0.5;
}

#text-header::after{
  width: 100%;
  height: 3px;

  /* background: url(../img/line.png); */
  margin-top: 15px;
  content: '';
  display: block;
}

h1 {
  text-transform: uppercase;
  font-family: effra,sans-serif;
  font-style: normal;
  font-weight: 300;
}

/*******************************************
DEFAULT BOX
*******************************************/
.box{
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px dotted rgb(96 133 180 / 50%);
}

div.no-bottom {
  border-bottom: none;
}

.box h2{
  color: #6085B4;
  font-size: 1.8em;
  text-transform: uppercase;
font-family: effra,sans-serif;
font-style: normal;
font-weight: 300;
opacity: 0.4;
}

.box h2::before{
  /* content: '//'; */
  margin-right: 5px;
}

.box p{
  font-size: 1.3em;
  line-height: 1.5em;
}

/*******************************************
EDUCATION
*******************************************/
#education{
  margin-top: 20px;
  position: relative;
  padding: 1em 0;
  list-style: none;
}

#education::before {
  width: 5px;
  height: 100%;
  position: absolute;
  left: 25px;
  top: 0;
  content: ' ';
  display: block;
  background: #6085B4;
  background: linear-gradient(to bottom, #fff 0%, #6085B4 7%, #6085B4 89%, #fff 100%);
}

#education li{
  width: 100%;
  z-index: 2;
  position: relative;
  float: left;
}

#education .year{
  width: 10%;
  background: #fff;
  padding: 10px;
  font-size: 1.5em;
  font-weight: 700;
  display: inline-block;
}

#education .description{
  width: 80%;
  display: inline-block;
  background: #eee;
  margin-bottom: 10px;
  position: relative;
  padding: 10px 10px 0;
  border-bottom: 1px solid #ddd;
}

#education .description::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 0;
  left: -16px;
  height: 0;
  width: 0;
  border: solid transparent;
  border-right-color: #eee;
  border-width: 8px;
  pointer-events: none;
}

#education .description h3{
  font-size: 1.6em;
  margin: 0;
  padding: 0;
  font-weight: 700;
}

#education .description p{
  font-size: 1.3em;
  margin-top: 5px;
  padding: 0;
}

/*******************************************
EXPERIENCES
*******************************************/
.job{
  margin-bottom: 15px;
  margin-top: 30px;
}

.job .where{
  font-size: 1.4em;
  font-weight: bold;
  margin-left: -15px;
}

.job .year{
  font-size: 1.3em;
  opacity: 0.7;
  margin-left: -15px;
}

.job .profession{
  font-size: 1.6em;
  font-weight: bold;
}

.job .description{
  font-size: 1.2em;
  line-height: 1.5em;
}

.job .clients {
  margin-top: 10px;
}

.job .clients small {
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-right: 10px;
  opacity: 0.4;
}

@media (width <= 800px) {
  body {
    /* background-image: none; */
  }

  .job{
    margin-left: -15px;
    margin-right: -15px;
    border-bottom: 1px dotted whitesmoke;
    padding-bottom: 25px;
  }

  .job .profession {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.4em;
  }

  .job .description {
    padding-bottom: 10px;
  }

  .job .where {
    text-transform: uppercase;
    margin-left: 0;
  }

  .job .year {
    margin-left: 0;
  }
}

/*******************************************
CONTACT
*******************************************/
.contact-item{
  width: 100%;
  float: left;
}

.contact-item .icon{
  color: #6085B4;
  padding: 15px 10px;
  border-right: 1px solid #6085B4;
  border-bottom: 1px solid #6085B4;
  opacity: 0.6;
}

.contact-item:last-child .icon{
  border-bottom: none;
}

.contact-item .fa{
  font-size: 2em;
}

.contact-item .fa-twitter {
  color: #55ACEE;
}

.contact-item .fa-skype {
  color: #00AFF0;
}

.contact-item .fa-linkedin {
  color: #0976B4;
}

.contact-item .title{
  color: #6085B4;
  width: calc(100% - 55px);
  font-size: 1.4em;
  font-weight: 700;
  opacity: 0.9;
}

.contact-item .title a {
  color: #6085B4;
}

.contact-item .title.only{
  margin-top: 15px;
}

.contact-item .description{
  width: 80%;
  width: calc(100% - 55px);
  font-size: 1.2em;
  opacity: 0.7;
}

/*******************************************
SKILLS
*******************************************/
.item-skills{
height: 25px;
background: #6085B4;
color: #FFF;
padding: 3px 10px;
margin-bottom: 8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 1.3em;
font-weight: 600;
}

.skills-legend{
  margin-top: 20px;
  opacity: 0.8;
}

.skills-legend::before{
  width: 100%;
  height: 1px;
  position: relative;
  content: ' ';
  display: block;
  margin-bottom: -13px;
  background: #6085B4;
}

.skills-legend div{
  width: 25%;
  display: inline-block;
  font-size: 1.2em;
  color: #6085B4;
  float: left;
}

.legend::before{
  width: 1px;
  height: 12px;
  position: relative;
  content: ' ';
  display: block;
  margin: auto;
  margin-bottom: 8px;
  background: #6085B4;
}

.legend-left.legend::before{
  margin-left: 0;
}

.legend-right.legend::before{
  margin-right: 0;
}

.legend-left:nth-child(2) span{
  margin-left: -25px;
}

.legend-right:nth-child(3) span{
  margin-right: -20px;
}

.legend-right{
  text-align: right;
}

/*******************************************
LANGUAGES
*******************************************/
#language-skills .skill{
  font-size: 1.3em;
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

#language-skills .skill .icons{
  width: 111px;
  height: 14px;
  background: url("../img/star-grey.png") no-repeat;
}

#language-skills .skill .icons-red{
  background: url("../img/star-red.png") no-repeat;
}

/*******************************************
HOBBIES
*******************************************/
.hobby{
  color: #fff;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 5px 5px 5px 25px;
  background: #6085B4;
  position: relative;
  font-size: 1.2em;
}

.hobby::before{
  content: "\f004";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  position: absolute;
  top: 6px;
  left: 7px;
  opacity: 0.5;
}

.tech{
  color: #fff;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 5px 5px 5px 25px;
  background: #6085B4;
  position: relative;
  font-size: 1.2em;
}

.tech::before{
  content: "\f005";
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  position: absolute;
  top: 6px;
  left: 7px;
  opacity: 0.5;
}

/*******************************************
MEDIA
*******************************************/
@media (width >= 500px) {
  #education .description{
    width: 85%;
  }
}

@media (width >= 768px) {
  #education .description{
    width: 85%;
  }
}

@media (width >= 992px) {
  #education .description{
    width: 87%;
  }
}

@media (width >= 1200px) {
  #education .description{
    width: 90%;
  }
}