/*
Template Name: KALA - One Page Responsive Theme
Template Version: 1.0
Author: CodeGeek
*/

/* Import fonts */
@import url(http://fonts.googleapis.com/css?family=Alegreya+Sans+SC:300,400,500,700,400italic,500italic,700italic|Lato:100,300,400,700,300italic,400italic,700italic);

body {
    font-family: 'Lato', sans-serif;
    margin: 0px;
    padding: 0px;
    color: #555;
    background: rgba(0, 121, 194,1.0);
}

h1,h2,h3,h4 {
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 400;
}

.btn { /* JRG */
  background: #3498db;
  background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
  background-image: -moz-linear-gradient(top, #3498db, #2980b9);
  background-image: -ms-linear-gradient(top, #3498db, #2980b9);
  background-image: -o-linear-gradient(top, #3498db, #2980b9);
  background-image: linear-gradient(to bottom, #3498db, #2980b9);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 28px;
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  cursor:pointer; 
  margin-bottom:10px;  
}

.btn:hover { /* JRG */
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  text-decoration: none;
}

.main-container {
    float: left;
    display: block;
    width: 100%;
    position: relative;
    -webkit-transition: right 300ms ease; 
    transition: right 300ms ease; 
    right: 0px;
}

a {
    text-decoration: none;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

i {
    font-style: normal;
}

i.close {
    text-indent: -60px;
    font-size: 0.8em;
}

i.reorder {
    font-size: 1.3em;
}

a.item {
    cursor: pointer;
}

img {
    width: 100%;
}

p {
    font-size: 1.6em;
    font-weight: 300;
    line-height: 1.6em;
}

p a {
    color: inherit;
    border-bottom: 1px solid #fff;
}

p.large {
    padding: 20px 10%;
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    max-width: 75%;
    margin: 0 auto;
}

img.me {
    margin: 50px auto 20px;
}

section {
    display: block;
    float: left;
    width: 100%;
    background: rgb(255, 255, 255);
}

h2.secondary {
    text-align: center;
    color: rgba(0, 0, 0, 0.6);
    padding: 15px;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: .2em;
    max-width: 45%;
    margin: 0px auto 0;
    position: relative;
}

h3.secondary, h3.tritary {
    text-align: center;
    color: #FFF;
    padding: 15px;
    font-size: 1.5em;
    top: -105px;
    text-transform: uppercase;
    letter-spacing: .2em;
    max-width: 25%;
    margin: 40px auto 0;
    position: relative;
    border-radius: 2px;
    background: #2D85D3;
}
/*h3.tritary{
    top: -165px;
}*/
.wrapper {
    zoom: 1;
    width: 100%;
    max-width: 1048px;
    margin: auto;
    padding: 0 20px;
    clear: both;
}

.ui.button {
    margin: 0 auto;
    display: block;
    width: 30%;
    padding: 20px 0;
    box-shadow: none;
}

.ui.button.learn {
    margin: 0 auto;
    display: block;
    width: 50%;
    padding: 20px 0;
    box-shadow: none;
}

.ui.button.green {
    background-color: rgba(59, 196, 146, 1.0);
}

.ui.button.green:hover {
    background-color: #25AF7D;
}

header {
    padding: 25px 0;
    width: 100%;
    z-index: 998;
}

.animate {
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    -o-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    -o-animation-fill-mode: both;
    animation-fill-mode: both;
}

#header {
    position: fixed;
     /*background:rgba(0, 121, 194,.9);      */;
	 background-color:white;
}

#header.slideDown {
    /* background: rgba(0, 121, 194,.9);*/
	background-color:white;
}

#header. a.mobile {
    display: block;
}

#header .desktop {
    display: none;
}

header .wrapper {
    max-width: 90%;
    padding: 0 5%;
}

header .logo a {
    font-size: 1.8em;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 300;
    letter-spacing: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5em;
    text-decoration: none;
}

header nav {
    margin-top: 0px;
    float: right;
	padding:15px;
	background-color:#9b9b9b;
}

header nav a {
    font-size: 1.4em;
    font-weight: 300;
    font-family: 'Alegreya Sans SC', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 20px 0;
    padding: 2px 0;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

header nav a:hover {
    color: rgba(255, 255, 255, 1);
}

header nav a.ss-rows {
    color: #ccc;
    border-bottom: 0px;
}

header nav a.ss-rows:hover {
    color: #555;
}

#menu {
    position: fixed;
    top: 0px;
    bottom: 0px;
    width: 15.625em;
    height: 100%;
    -webkit-transition: right 300ms ease;
    transition: right 300ms ease;
    right: -15.625em;
}
/*Sidebar*/
.sidebar {
    background: rgba(0,0,0,1);
    padding-top: 2px;
}

.sidebar a.sidebar-toggle {
    text-indent: 100px;
}

.sidebar a {
    display: block;
    width: 100%;
    font-size: 1.7em;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    padding: 5px 0px;
    line-height: 1.7em;
    text-indent: 49px;
}

.sidebar .link {
    padding: 20px 5% 10px 10%;
    width: 80%;
}

.sidebar .link.ss-icon {
    padding: 20px 0% 10px 20%;
    width: 71%;
}

.sidebar .divider {
    width: 80%;
    padding: 0px 0%;
    border-top: solid 1px rgba(255, 255, 255, 0.2);
    margin: 20px 10% 10px;
}

.sidebar .link.ss-icon a {
    float: left;
    text-indent: 0;
    width: 29%;
}
    
}

.panel {
    position: fixed;
    z-index: 1000;
    left: -15.625em;
    width: 15.625em;
}

.services {
   background: url("../images/cam.jpg") no-repeat fixed right top / 62% auto black;
}
/*
.services {
    background: url(../images/cam.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
*/

.services h2 {
    padding: 15% 0;
    font-size: 6.0em;
    font-weight: 100;
    color: rgba(255,255,255,0.0);
    position: relative;
    left: -50px;
    -webkit-transition: all 0.6s ease-out;
    -moz-transition: all 0.6s ease-out;
    -ms-transition: all 0.6s ease-out;
    -o-transition: all 0.6s ease-out;
    transition: all 0.6s ease-out;
}

.services h2.complete {
    font-size: 1.8em; /* 3.5em; */
    font-family: 'Lato', sans-serif;
    font-weight: 400; /* 300; */
    left: 0px;
    color: rgba(255,255,255,0.9);	    
    width: 35%;		
}

.services h3.secondary {
    top: -33px;
    background: rgba(0, 0, 0, 0.9);
    max-width: 47%;
    border-radius: 2px;
}

.services2 .wrapper {
    min-height: 632px;
    max-height: 864px;
    position: relative;
}

.services.3 {
    background: #000 url('../images/Top_view.jpg') center no-repeat;
}

.services .wrapper {
    min-height: 350px;
    max-height: 400px;
    position: relative;
}

.services h2 small {
    font-size: 0.4em;
    color: rgba(255,255,255,0.5);
}

/*Intro*/
.about {
    padding: 40px 0;
    background: rgb(255, 255, 255);
}

.intro {
    padding: 20px 0;
    background: rgb(255, 255, 255);
    border-bottom: 1px solid #ddd;
}

.intro h1 {
    font-family: 'Lato', sans-serif;
    font-size: 2.0em;
    font-weight: 300;
    line-height: 1.35;
    text-align: center;
}

.intro.about {
}

/*Skills*/
.wrapper .img.mobile {
    display: none;
}

.wrapper .img {
    width: 30%;
    float: right;
    margin: 74px 0 0;
}

.wrapper .img.right {
    width: 30%;
    float: left;
    margin: 74px 0 0;
}

.skill {
    width: 55%;
    float: left;
    margin: 75px 0;
}

.skill.right {
    float: right;
}

.skill.right p, .skill.right h2 {
    text-align: left; /* right; */
}

/*Gallery*/

.gallery {
    background: #ddd;
    padding: 40px 0;
}

.gallery .img {
    width: 32%;
    float: left;
    margin: 10px 5px;
    background: #fff;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    position: relative;
    z-index: 300;
}

.gallery .img:hover {
    background: rgba(0, 121, 194,1.0);
}

.gallery .img img {
    width: 100%;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -ms-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}
    /*.gallery .img:nth-child(even){
        float: right;
    }*/
.gallery img:hover {
    opacity: 0.4;
}

.gallery .img .skill-link {
    position: absolute;
    left: 42%;
    color: #FFF;
    font-size: 1.7em;
    padding: 20px 25px;
    border: 3px solid #FFF;
    border-radius: 1000px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0;
    top: 75%;
}

.gallery .img:hover .skill-link {
    opacity: 1;
    top: 37%;
}

.copyright {
    font-size: 1em;
    padding: 70px 0;
}        


/* contacto mapa */
.contact_mapa {
    background: #fff !important;
    text-align: center;
}

.contact_mapa .skill, .contact_mapa  .desktop {
	width:50%;
}



    /*Contact*/
.intro.contact {
    padding: 40px 0px;
    color: rgba(255,255,255,0.7);
}

.contact {
    background: #353535;
    text-align: center;
}

.contact h4 {
    font-size: 3.0em;
    font-weight: 300;
}

.contact p {
    color: rgba(255,255,255,0.4);
}

.contact .link {
    width: 60%;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.2);
    border: none;
    font-size: 1.6em;
    border-radius: 3px;
    color: rgba(255,255,255,0.5);
}

.contact .link a {
    color: rgba(255,255,255,0.5);
    padding: 0 10px;
}

.contact .link a:hover {
    color: rgba(255,255,255,0.9);
}
    
/* Smartphones (portrait and landscape) ———– */
@media only screen
and (min-width : 320px)
and (max-width : 768px) {
 
.contact .link ul li {
    width: 100% !important;
}

 .desktop {
        display: none;
    }

    .wrapper {
        zoom: 1;
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        padding: 0 5%;
        clear: both;
    }

    .services h2 {
        padding: 40% 0 10%;
        font-size: 2.7em;
        font-weight: 100;
        color: rgba(255, 255, 255, 0.9);
    }

    .services .wrapper {
        min-height: 400px;
        max-height: none;
    }

    .services h2.complete {
        font-size: 2em;
    }

    .intro h1 {
        font-size: 1.2em;
    }

    p {
        font-size: 1.6em;
    }

    .intro {
        padding: 25px 0;
        text-align: left;
    }

    .gallery .img .skill-link {
        position: absolute;
        left: 35%;
        color: #FFF;
        font-size: 1.2em;
        top: 75%;
    }

    .skill, .skill.right h2, .skill.right p {
        width: 100%;
        text-align: center;
    }

    .gallery .img {
        width: 100%;
        float: left;
        margin: 20px 0 0px;
        background: #fff;
        z-index: 300;
    }

    .intro .wrapper .img {
        display: none;
    }

    .wrapper .img.mobile {
        display: block;
        width: 100%;
    }

    h3.secondary, h3.tritary {
        max-width: 50%;
    }

    .copyright {
        font-size: 1em;
        padding: 70px 0;
        text-align: center;
    }

    .contact .link {
        width: 80%;
        text-align: center;
        font-size: 1em;
    }

    .contact h4 {
        font-size: 2em;
        text-align: center;
        font-weight: 300;
    }

    .contact p {
        display: none;
    }
}

/* iPads (portrait and landscape) ———– */
@media only screen
and (min-width : 768px)
and (max-width : 1024px) {
    .desktop {
        display: none;
    }

    .services .wrapper {
        min-height: 100%;
        max-height: 864px;
        position: relative;
    }

    .wrapper {
        zoom: 1;
        width: 100%;
        max-width: 750px;
        margin: auto;
        padding: 0 20px;
        clear: both;
    }

    .services h2 {
        padding: 15% 0 10%;
        font-size: 4.5em;
        font-weight: 100;
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Desktops and laptops ———– */
@media only screen
and (min-width : 1024px)
and (max-width : 1224px) {
    .wrapper {
        zoom: 1;
        width: 100%;
        max-width: 950px;
        margin: auto;
        padding: 0 20px;
        clear: both;
    }

    .services h2 {
        padding: 15% 0 10%;
        font-size: 5.5em;
        font-weight: 100;
        color: rgba(255, 255, 255, 0.9);
    }

    .slideup .mobile {
        display: none;
    }

    .slideup .desktop {
        display: block;
    }
}

/* Everything else  ———– */
@media only screen
and (min-width : 1224px) {
    #header.slideUp .desktop {
        display: none;
    }

    #header.slideDown .desktop {
        display: block;
    }

    #header.slideUp .mobile {
        display: none;
    }

    #header.slideDown .mobile {
        display: none;
    }
}




/* ------ venobox.css --------*/
.vbox-overlay *, .vbox-overlay *:before, .vbox-overlay *:after {
    -webkit-backface-visibility: hidden;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-overflow-scrolling: touch;
}
/* ------- overlay: change here background color and opacity ----- */
.vbox-overlay {
    background: rgba(0,0,0,0.85);
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    overflow: hidden;
    opacity: 0;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.relativo {
    float: left;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
/* ----- preloader ----- */
.vbox-preloader {
    position: fixed;
    width: 36px;
    height: 36px;
    left: 50%;
    top: 50%;
    margin-left: -18px;
    margin-top: -18px;
    background: url(../images/preload.gif) center center no-repeat;
    text-indent: -100px;
    overflow: hidden;
}

/* ----- navigation ----- */
.vbox-close {
    cursor: pointer;
    position: fixed;
    top: -1px;
    right: 0;
    width: 46px;
    height: 40px;
    padding: 10px 20px 10px 0;
    display: block;
    background: url(../images/close.gif) no-repeat #161617;
    background-position: 10px center;
    color: #fff;
    text-indent: -100px;
    overflow: hidden;
}

.vbox-next, .vbox-prev {
    cursor: pointer;
    position: fixed;
    top: 50%;
    color: #fff;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    text-indent: -100px;
    overflow: hidden;
}

.vbox-prev {
    left: 10px;
    background: url(../images/prev.gif) center center no-repeat;
}

.vbox-next {
    right: 10px;
    background: url(../images/next.gif) center center no-repeat;
}

.vbox-title {
    width: 100%;
    height: 40px;
    float: left;
    text-align: center;
    line-height: 28px;
    font-size: 12px;
    color: #fff;
    padding: 6px 40px;
    overflow: hidden;
    background: #161617;
    position: fixed;
    display: none;
    top: -1px;
    left: 0;
}

.vbox-num {
    cursor: pointer;
    position: fixed;
    top: -1px;
    left: 0;
    height: 40px;
    display: block;
    color: #fff;
    overflow: hidden;
    line-height: 28px;
    font-size: 12px;
    padding: 6px 10px;
    background: #161617;
    display: none;
}
/* ------- inline window ------ */
.vbox-inline {
    width: 420px;
    height: 315px;
    padding: 10px;
    background: #fff;
    text-align: left;
    margin: 0 auto;
    overflow: scroll;
}

/* ------- Video & iFrames window ------ */
.venoframe {
    border: none;
    width: 960px;
    height: 720px;
    overflow: scroll;
}

@media (max-width: 992px) {
    .venoframe {
        width: 640px;
        height: 480px;
    }
}

@media (max-width: 767px) {

	.contact_mapa .skill {  /* JRG */
		width:100%;
		margin-top:10px;
	}    	
	.services h2.complete { /* JRG */		
		width: 100%;
	}	
	.services {   /* JRG */
		background: none;
	}	/* JRG */
	.wrapper .img.mobile {
		margin-top: 0; 
	}
	.gallery p { /* JRG */
		width:100% !important;
		margin-top:0px !important;
	}
	
	.venoframe {
        width: 420px;
        height: 315px;
    }
	
}

@media (max-width: 460px) {

	.contact_mapa .skill {  /* JRG */
		width:100%;
		margin-top:10px;
	}
	.services h2.complete { /* JRG */		
		width: 100%;
	}	
	.services {   /* JRG */
		background: none;
	}	
	.wrapper .img.mobile {
		margin-top: 0; 
	}
	.gallery p { /* JRG */
		width:100% !important;
		margin-top:0px !important;
	}	
	
    .vbox-inline {
        width: 100%;
    }

    .venoframe {
        width: 100%;
        height: 260px;
    }
}

/* ------- PLease do NOT edit this! (or do it at your own risk) ------ */
.vbox-container {
    position: relative;
    background: #000;
    width: 98%;
    max-width: 1024px;
    margin: 0 auto;
}

.vbox-content {
    text-align: center;
    float: left;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.vbox-container img {
    max-width: 100%;
    height: auto;
}

.vwrap {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    width: 100%;
    float: left;
    position: relative;
    margin: 0;
    padding: 0;
    left: 0;
    height: auto;
    overflow: hidden;
    z-index: 1;
}


/* JRG */
.contact .link  input {
	width:90%; background:none;font-size:20px;color:white; border:none; font-family:arial;
}

.contact .link  ul li input  {
	/*width:0%;  */
	width:20px;
	background:none;font-size:20px;color:white; border:none; font-family:arial; margin-right:10px;
}

.contact .link  ul  {
	text-align:left; list-style-type: none;
}
.contact .link  ul li {	
	width:30%;
	font-size:20px;
	display:inline-table;
}

.contact .link  textarea {
	width:90%; background:none;font-size:20px;color:white; border:none; font-family:arial;
}
