/* colors */
/* dark blue: #044d7f */
/* middle blue: #1788c2 */
/* light blue: #1d9ad6 */

html {
	overflow-y: auto;
}

body {
	font-family: 'Roboto', sans-serif;
}

.navbar {
	border-top: 5px solid #1788c2;
	border-bottom: 2px solid #fff;
	background-image: linear-gradient(#ffffff, #e4e4e4);
	align-items: center !important;
	/*height: 120px;*/
}

.navbar.is-light .navbar-end a.navbar-item {
	text-transform: uppercase;
	color: #585858;
}

.header,
.bottom {
	background: #044d7f !important;	
	position: relative;
}

.header .hero-body,
.bottom .hero-body {
	background-image: radial-gradient(circle farthest-side at 50% 30%, #1d9ad6 0%, #044d7f 60%);
	padding-top: 0;
	padding-bottom: 0;
}

.header .hero-body .container, 
.bottom .hero-body .container {
	background: url('../images/logo-sign-lines.png') 100% 50% no-repeat transparent;
	min-height: 200px;
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.bottom .hero-body {
	border-top: 3px solid #044d80;
}

.bottom .hero-body .container {
	background: url('../images/logo-sign-lines.png') 50% 70% no-repeat transparent;
}

.bottom .menu li {
	line-height: 30px;
	font-size: 14px;
}

.bottom .address li {
	font-size: 14px;
}

.bottom .address li small{
	font-size: 12px;
}

.bottom .address li a{
	display: block;
	margin-top: 1rem;
	text-decoration: underline;
}

.bottom .menu li:before {
	content: "+";
	padding-right: 10px;
}


.bottom .social-links {
	border-top: 1px solid rgba(255,255,255,0.3);
}
.panel {
    position: relative;
}

.panel:before {
    content: "";
    width: 50%;
    height: 5px;
    position: absolute;
    top: 0;
    content: "";
    right: 0;   
    border-radius: 0 5px 0 0;
    background: repeating-linear-gradient(
      to right,
      #007db7 0%,
      #007db7 25%,
      #1eb0d5 25%,
      #1eb0d5 50%,
      #00a5d3 50%,
      #00a5d3 75%,
      #0188c0 75%,
      #0188c0 100%
    );  
}

.panel.quater:before {
    width: 25%;
}

section.shadow::after {
    content: "";
    position: absolute;
    display: block;
    height: 20px;
    background: url(./images/shadow.png) 50% 0% no-repeat;
    bottom: -22px;
   	width: 100%;
}

section.quotes {
	border-bottom: 1px solid #e6e6e6;
	position: relative;
	padding: 1.5rem;
}

section.quotes .title.is-5 {
	font-size: 0.85rem;
	font-style: italic;
	font-weight: 300;
}
section.quotes .title.is-5:first-line {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.5;
}

section.quotes blockquote {
	border-left: 5px solid #d9d9d9;
	padding-left: 20px;
	position: relative;
}

section.quotes blockquote:after {
	content: "\0022";
	position: absolute;
	top: 0;
	right: 0;
	font-size: 40px;
}
/* all projects styles */

/* projects */

.page.project .header .hero-body {
/*	background: linear-gradient( 
		rgba(0, 0, 0, 0.5), 
		rgba(0, 0, 0, 0.5)), 
		url(https://unsplash.it/1200/900?random) no-repeat center center fixed;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;*/

    display: flex;
    align-items: center;
}

.page.project .project-slider {
	background: transparent;
}

.page.project .project-slider .btn {
    position: absolute;
    z-index: 10;
    background: rgba(0,0,0,.3);
    border-radius: 0;
    border: none;
    color: #FFF;
    padding: 1rem 2rem;
    opacity: 0;
    transition: all ease-in .3s;
    display: flex;
    align-items: center;
    height: 60px;
}

.page.project .project-slider:hover .btn {
    opacity: 1;
}

.page.project .project-slider:hover .btn:hover {
    background: rgba(0,0,0,.7);
}

.page.project .project-slider .prev-btn {
    left:0;
}

.page.project .project-slider .next-btn {
    right:0;
}

.page.project .project-slider .prev-btn:after,
.page.project .project-slider .next-btn:before {
    max-width: 300px;
    transition: all ease-in .3s;
    display: inline-block;
    opacity: 0;
    width: 0;
    content: "";
    line-height: 1;
    font-size: 95%;
/*    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;   */ 
}

.page.project .project-slider .prev-btn:hover:after,
.page.project .project-slider .next-btn:hover:before {
    width: auto;
    content: attr(title);
    opacity: 1;
}

.page.project .project-slider .prev-btn:hover:after {
    margin-left: 2rem;
}

.page.project .project-slider .next-btn:hover:before {
    margin-right: 2rem;
}

.project .message.transparent {
	background-color: rgba(0,0,0,.3);
	color: #fff;
}

.project .message.transparent .message-body {
	color: #dbdbdb;
}

.project .thumbnail {
	display: inline-block;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}

.project .thumbnail img {
  border: 7px solid #FFF;
  box-shadow: inset 0 2px 7px #bcbcbc;
}

section.projects {}
section.projects .project-card .tag {
	position: absolute;
    z-index: 1;
    top: 14px;
    left: -23px;
    border-bottom: 25px solid #3273dc;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    height: 0;
    width: 100px;
    background: none !important;
    transform: rotate(-45deg);
}

section.projects .project-card .tag:after {
	content: attr(title);
	display: block;
	position: absolute;
	top: 0;
}

.project-card.flip {
	perspective: 800px;
  	transition: all 0.3s ease 0s;
}

.project-card.flip .front,
.project-card.flip .back {
	backface-visibility: hidden;
	box-sizing: border-box;
	display: block;
	height: 100%;
	position: absolute;
	text-align: center;
	width: 100%;	
}

.project-card.flip .card-image {
	/*background: #044d7f;*/
	cursor: default;
	min-height: 250px;
	transform-style: preserve-3d;
	transition: transform 0.4s ease 0s;
	width: 100%;
	-webkit-animation: giro 1s 1;
	animation: giro 1s 1;
}

.project-card.flip:hover .card-image {
  transform: rotateY( 180deg);
}

.project-card.flip .card-image .back {
  transform: rotateY( 180deg);
}

@-webkit-keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}

.has-addons.color .control {
	flex:1;
}


.terminal {
    position: relative;
    padding: 10px;
    border: 1px solid #d8d9da;
    box-shadow: 0 5px 15px rgba(0,0,0,.16);
    border-radius: 6px;
    padding-top: 40px;
    margin: 2rem 0;
    background: #FFF;
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
}

.terminal:before {
    content: "\2022 \2022 \2022";
    position: absolute;
    top: 0;
    left: 0;
    background: #e1e1e1;
    color: #c2c3c4;
    width: 100%;
    font-size: 2.5rem;
    margin: 0;
    line-height: 0;
    padding: 15px 0;
    text-indent: 4px;
    letter-spacing: 5px;
    border-radius: 6px 6px 0 0;
}

.terminal:hover:before {
	color: #c2c3c4;
}

.color_scheme {
    display: flex;
    justify-content: space-between;
    width: 20%;
}

.color_scheme .color {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 0 5px 0 5px;
	border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #e8e8e8;
	background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 75%);
    background-position: 23px -4px;
}

.terminal .thumbnail {
	position: absolute;
    top: -30px;
    left: 0;
    margin: auto;
    right: 0;
    box-shadow: 0 0 15px rgb(0 0 0 / 30%);
    border-radius: 50%;
    border: 5px solid #FFF;
}

.mac {
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
    max-width: 600px;            
    height: 527px;
    margin: auto;
    margin-bottom: -250px;
    position: relative;
    z-index: 10;    
}

.mac .screen {
    border: 20px solid #000;
    height: 87%;
    border-radius: 15px 15px 0 0;
    background: #333;
    overflow: hidden;
    position: relative;
	background-position: 50% 0%;
	background-repeat: no-repeat;
	background-size: cover;             
	box-shadow: inset 0px 0px 10px rgb(0,0,0,1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mac .screen:before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(310deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.3) 50.1%, rgba(255,255,255,0) 100%);        	
}

.mac .screen .overlay {
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    position: absolute;  
    transition: transform 0.35s;
    transform: translate3d(0,100%,0);             
}

.mac .screen:hover .overlay {
    top: 0;
    transform: translate3d(0,0,0);
}

.mac .screen .overlay .icons {
    display: flex;
    width: 60%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.mac .screen .overlay .icons a {
    padding: 1rem;
    background: rgba(255,255,255,0.3);
    color: #FFF;
    width: 33.33333%;
    text-align: center;
}

.mac .footer {
    height: 13%;
    background: #C3C3C3;
    background: radial-gradient(circle, #CECECE 0%, #C3C3C3 75%);
    padding: 0;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mac .holder {
	display: block;
	margin: auto;
	width: 100%;
	height: 18%;
	perspective: 120px;
}

.mac .holder:before {
	content: "";
	display: block;
	height: 35px;
	background: linear-gradient(#999999 0%, #DFDFDF 75%);
	width: 25%;
	margin: auto;
}
.mac .holder:after {
	content: "";
	transform-style: preserve-3d;
	transform: rotateX(35deg);
	display: block;
	height: 50px;
	width: 28%;
	background: linear-gradient(#DFDFDF 0%, #9F9F9F 75%);
	margin: auto;
	margin-top: -6px;
	border-radius: 0 0 10px 10px;
}

.project .tag.is-label {
    width: 75px;
    justify-content: flex-start;
}