/*  Free Template by www.templatemo.com  */

/*
Flex Template
http://www.templatemo.com/preview/templatemo_406_flex
*/

@media (max-width: 768px) {
  html, body {
  width: auto !important;
  overflow-x: hidden !important;
  }
}


img {
    width: 100%;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:focus {
  outline: none;
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
img {
  display: block;
}

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

sub {
  bottom: -.25em;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button,
input {
  line-height: normal;
  *overflow: visible;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]:-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: .83em;
  line-height: 1.75;
  color: #666666;
  background-color: white;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

p a:hover,
.main-menu ul li a:hover {
  text-decoration: underline;
}


a.gallery1{
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
a.gallery1:hover {
  color: black;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", Arial, sans-serif;
  color: #444444;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  border: 1px solid #d5d5d5;
  outline: 0;
  padding: 10px 12px;
  color: #666666;
}
button:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: #666666;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.main-btn {
  color: white;
  border: 1px solid white;
  padding: 12px 20px;
  font-weight: 700;
  display: inline-block;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #e2e2e2;
  margin: 40px 0;
}

.site-header ul.social-icons {
  position: relative;
  z-index: 11;
  margin: 30px 0;
}
.site-header ul.social-icons li {
  display: inline-block;
  margin: 0 2px;
}
.site-header ul.social-icons li a {
  width: 36px;
  height: 36px;
  background-color: white;
  color: rgba(0, 82, 155, 0.5);
  text-align: center;
  font-size: 20px;
  line-height: 36px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
}

.site-header ul.social-icons li a:hover {
  color: #00529b;
}

.main-header {
  position: fixed;
  width: 100%;
  margin: 0 auto;
  z-index: 99;
  top: 94px;
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.scrolled {
  position: fixed;
  left: 0;
  top: 0;
  -webkit-transition: all 150ms ease-in-out;
  -moz-transition: all 150ms ease-in-out;
  transition: all 150ms ease-in-out;
}

.scrolled1 {
  border-radius: 0px 0px 10px 10px;
}

#menu-wrapper {
  background-color: white;
  overflow: hidden;
  -moz-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
  -webkit-box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
  box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.07);
  border-radius: 10px 10px 10px 10px
}

.logo-wrapper {
  background: url(../images/logo.png) no-repeat;
  background-size: auto 84px;
  height: 100px;
  /*width: 450px;*/
  background-position: 26px 7px;
  position: relative;
}

@media screen and (min-width: 0px) and (max-width: 427.999px) {
  .logo-wrapper a{
    font-size: 13px;
  }
}

@media screen and (min-width: 428px) {
  .logo-wrapper a{
    font-size: 20px;
  }
}

.logo-wrapper h1 {
  padding-left: 84px;
}

.logo-wrapper a p {
  padding: 17px 0 20px 20px;
  line-height: 22px;
  color: #00529b;
  font-weight: 700;
}

@media screen and (min-width: 0px) and (max-width: 768px) {
  .logo-wrapper a p{
    max-width: 250px;
  }
}

@media screen and (min-width: 1200px),
 screen and (min-width: 768px) and (max-width: 992px){
  .logo-wrapper a p {
    padding-top: 28px;
    max-width: 330px;
  }
}


#logo-separator {
  width: 3px;
  border-radius: 4px;
  background: #00529b;
  height: 76px;
  margin-left: 88px;
  margin-top: 12px;
  position: absolute;
}

.main-menu ul li {
  display: inline-block;
  margin: 0 5px;
}

.main-menu ul li:last-child {
  margin-right: 35px;
}
.main-menu ul li a {
  font-size: 14px;
  color: #444444;
  line-height: 100px;
  padding-top: 35px;
}

.main-menu ul li.active a {
  border-top: 6px solid #00529b;
  color: #00529b;
}

a.toggle-menu {
  width: 36px;
  height: 36px;
  float: right;
  margin-top: 30px;
  margin-right: 30px;
  text-align: center;
  line-height: 36px;
  font-size: 14px;
  background: #d5d5d5;
  display: inline-block;
  color: black;
}

.menu-responsive {
  display: none;
  background-color: rgba(0, 82, 155, 0.88);

  box-shadow: 1px 1px 7px rgba(0,0,0,0.5);
  border-radius: 6px;
  margin-top: 12px;
}
.menu-responsive ul li {
  padding: 5px 0px 5px 25px;
}
.menu-responsive ul li a {
  display: block;
  color: white;
  font-size: 14px;
}
.menu-responsive ul li.active a {
/*  color: #00529b;
*/
  font-weight: bold;
}

.flexslider {
  position: relative;
  top: -96px;
}
.flexslider .overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
}
.flexslider .slider-caption {
  position: absolute;
  z-index: 9;
  width: 100%;
  text-align: center;
  top: 380px;
  left: 0;
  transition: top 0.5s;
}
.flexslider .slider-caption h2 {
  color: white;
  font-size: 36px;
  font-weight: 700;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  display: inline-block;
  transition: font-size 0.5s;
  margin-bottom: 4px;
}
.flexslider .slider-caption p {
  color: white;
  font-size: 18px;
  line-height: 18px;
  margin-top: 8px;
  margin-bottom: 0px;
  display: block;
  transition: font-size 0.5s, margin-bottom 0.5s;
}
.flexslider .slider-caption a.slider-btn {
  color: white;
  background-color: #00529b;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
}

@media screen and (max-width: 352px){
  .flexslider .slider-caption p {
    margin-top: 3px;
    font-size: 13px;
  }
}

@media screen and (max-width: 400px){
  .flexslider .slider-caption {
    top: 38px;
  }
  .flexslider .slider-caption h2 {
    font-size: 28px;
  }
  .flexslider .slider-caption p {
    font-size: 15px;
  }
}

@media screen and (min-width: 400px) and (max-width: 767px){
  .flexslider .slider-caption {
    top: 50px;
  }
}

@media screen and (max-width: 989px){
  .flex-control-paging li a {
    width: 24px;
    height: 24px;
  }
}


@media screen and (min-width: 767px) and (max-width: 989px){
  .flexslider .slider-caption {
    top: 230px;
  }
}

@media screen and (min-width: 989px) {
  .flexslider .slider-caption {
    top: 230px;
  }
}
@media screen and (min-width: 1200px) {
  .flexslider .slider-caption {
    top: 380px;
  }
}

.content-section {
  margin-top: 80px;
  padding-top: 60px;
}

.heading-section {
  margin-bottom: 60px;
}
.heading-section h2 {
  font-size: 28px;
  font-weight: 600;
  display: inline-block;
}



.heading-section h3 {
  font-size: 18px;
  font-weight: 600;
  display: inline-block;
}


.heading-section p {
  color: #444444;
  font-size: 16px;
  font-weight: 300;
  margin-top: 10px;
}

.small-text {
  color: #aaaaaa;
}

.space-fixed {
  width: 100%;
  height: 130px;
  overflow: hidden;
  position: relative;
}

.content-section#services {
  margin-top: 0px;
}

.service-item {
  position: relative;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  background: #00529b;
}

.service-item a {
	color: #fff;
}

.service-item a:hover {
	text-decoration: underline;
}

.service-item .service-icon {
  font-size: 6em;
  padding: 110px 0;
}
.service-item .service-content {
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.service-item .service-content .inner-service {
  padding: 20px;
}
.service-item h3 {
  font-size: 18px;
  color: white;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 1px solid white;
  margin-bottom: 15px;
  font-weight: bold;
}
.service-item:hover .service-icon {
  opacity: 0;
  visibility: hidden;
}
.service-item:hover .service-content {
  opacity: 1;
  visibility: visible;
}

#service-1 {
  background-color: #1abc9c;
}

#service-2 {
  background-color: #e67e22;
}

#service-3 {
  background-color: #3498db;
}

#service-4 {
  background-color: #3498db;
}

.portfolio-item {
  margin-bottom: 30px;
}
.portfolio-item .portfolio-thumb {
  position: relative;
  overflow: hidden;
}
.portfolio-item .portfolio-thumb img {
  width: 100%;
}
.portfolio-item .portfolio-thumb .portfolio-overlay {
  background-color: rgba(0, 82, 155, 0.6);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 25px;
  text-align: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.portfolio-item .portfolio-thumb .portfolio-overlay h3 {
  font-size: 18px;
  color: white;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: inline-block;
  border-bottom: 1px solid white;
}
.portfolio-item .portfolio-thumb .portfolio-overlay a.expand {
  margin-top: 15px;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  background-color: white;
  display: inline-block;
  text-align: center;
  font-size: 20px;
}
.portfolio-item .portfolio-thumb .portfolio-overlay a.expand i {
  line-height: 36px;
}
.portfolio-item .portfolio-thumb:hover .portfolio-overlay {
  opacity: 1;
  visibility: visible;
}

.team-member {
  margin-bottom: 30px;
}
.team-member .member-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
}
.team-member .member-thumb img {
  width: 100%;
}
.team-member .member-thumb .team-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  text-align: center;
  top: 0;
  left: 0;
  color: white;
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.team-member .member-thumb .team-overlay h3 {
  font-size: 28px;
  color: white;
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 1px solid white;
  margin-top: 64px;
  text-shadow: 1px 1px 2px #000000;
}
.team-member .member-thumb .team-overlay span {
  font-weight: 300;
  margin-top: 10px;
  display: block;
}
.team-member .member-thumb .team-overlay ul.social {
  display: block;
  margin-top: 20px;
}
.team-member .member-thumb .team-overlay ul.social li {
  display: inline-block;
}
.team-member .member-thumb .team-overlay ul.social li a {
  width: 36px;
  height: 36px;
  background-color: white;
  line-height: 40px;
  color: #00529b;
  border-radius: 18px;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
}
.team-member .member-thumb:hover .team-overlay {
  opacity: 1;
  background:  rgba(0, 82, 155, 0.4);
  visibility: visible;
}

.skills-heading {
  margin-top: 60px;
  margin-bottom: 50px;
}
.skills-heading h3.skills-title {
  font-style: italic;
  font-size: 18px;
  color: #5e5e5e;
}
.skills-heading .small-text {
  font-style: italic;
}

.progress {
  height: 34px;
  box-shadow: none;
  border-radius: 0;
  background-color: #e7e7e7;
  margin-bottom: 10px;
}

.progress-bar {
  line-height: 34px;
  text-align: left;
  padding-left: 15px;
  font-weight: 700;
  background-color: #00529b;
  box-shadow: none;
}

.googlemap-wrapper {
  height: 380px;
  margin-bottom: 40px;
}

.map-canvas {
  height: 380px;
  border: 10px solid #efefef;
}

.contact-info {
  /*margin-top: 40px;*/
}

.contact-info table td {
  padding: 0 3px;
}

.contact-info table td:nth-child(1) {
  font-weight: bold;
}

.tecnico-logo {
    margin-top: 40px;
}

.tecnico-logo img {
    min-width: 80px;
    width: 170px;
    margin: auto
}

.contact-form input {
  width: 100%;
  margin-bottom: 15px;
}
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  height: 120px;
}
.contact-form .mainBtn {
  margin-top: 15px;
  color: white;
  background-color: #00529b;
  border: 0;
}

#go-top {
  background-color: #00529b;
  color: white;
  padding: 15px 40px;
  font-weight: 700;
  font-size: 30px;
}

#footer {
  margin-top: 130px;
}

/*
body, p, div, h1, h2, h3, h4, h5, h6 {
	font-family: "Open Sans", Arial, Verdana, Geneva, sans-serif;
   	font-style: normal;
}
*/




.board-member {
    padding: 10px;
    margin: 28px 10px;
    box-shadow: 1px 1px 5px #CCC;
    border: 1px solid #EEE;
    border-radius: 3px;
}

.board-member h3 {
    font-size: 15px;
    font-weight: bold;
    padding: 8px 0px;
}

.board-member h4 {
    line-height: 1.5;
}

/* Used on image gallery */
a > .fa-plus-square {
  margin-top: 1em;
  font-size: 2.5em;
}




/** newsletter form stuff **/
.mc-field-group {
  display: block;
  padding: 6px;
}

.my-mc-submit {
  float: right;
}

#mc_embed_signup label,
#mc_embed_signup input {
  display: block;
  clear: both;
  width: 100%;
  margin: 6px 0;
}

#mce-responses {
  text-align: center;
  padding: 6px;
}

#mce-error-response {
  color: #D32F2F;
  font-weight: bold;
}

#mce-success-response {
  color: #689F38;
  font-weight: bold;
}

div.mce_inline_error {
  background-color: #F57C00 !important;
  color: white !important;
}

input.mce_inline_error {
  border-color: #F57C00 !important;
}


.spacer{
  height: 64px;
}



.old_browser {
  background: #B71C1C;
  color: #FFF;
  z-index: 999;
  text-align: center;
}

.old_browser a{
  text-decoration: underline;
  color: #FFF;
  transition: none;
}

.old_browser a:hover{
  cursor: pointer;
  color: #BBB;
}


.link-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}


.featherlight-close-icon {
  background: white !important;
  color: #00529b !important;
  border-radius: 50%;
}
.featherlight-close-icon:hover {
  background: #69a5da !important;
}
.featherlight-content {
  padding: 28px !important;
  background: rgba(255,255,255,0) !important;
  border-radius: 3px;
}

.featherlight-content img {
  border: 8px solid white;
  border-radius: 3px;
}


@media screen and (max-width: 740px){
  .featherlight-content {
    padding: 0 !important;
  }

  .featherlight-close-icon {
    top: 12px !important;
    right: 12px !important;
  }

}

