/* Put your custom styles here */

header .main-nav,
.bg-deepocean {
    background-color: #000 !important;
}

.content-1-5 h1,
.underlined-title h1 {
    color: #222;
}


.underlined-title hr {
    border-color: #F06E68;
}

#header-1 .main-nav .navbar-nav > li.active a {
    color: #999;
}

.content-2-7 .counter, .content-2-7 .counter-text {
    color: #fff;
}

.content-2-7 .counter-icon {
    color: #F8C07E;
}

/* Video home */

video#background { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover; 
}


.internal ul li {
    list-style-type: disc;
}

.internal p, ul, ol, dl, table, blockquote {
    margin-bottom: 30px;
}

.overlay-orange h2,
.overlay-orange h1,
.overlay-orange a {
   /* text-shadow: 1px 1px 2px rgba(51, 51, 51, 0.53);*/
}


.internal ul li,
.internal ol li,
.internal dl dt,
.internal dl dd {
    line-height: 30px;
}

.panel-title > a, .panel-title > a:hover {
    background: #f5f5f5;
    color: #111; 
}

#contact label {
    clear: both;
    display: block;
    margin-bottom: 5px;
}

#contact input,
#contact textarea {
    border: 1px solid #f4f4f4;
    border-radius: 4px;
    padding: 2px;
    margin-bottom: 20px;
    width: 100%;
    padding: 6px 10px;
}

#contact .code,
#contact .ddd,
#contact .number {
    float: left;
    margin-right: 5px;
}

#contact br {
    display: none;
}

#contact p {
    margin-bottom: 0;
}

#contact .code,
#contact .ddd {
    width: 53px;
}

#contact .number {
    width: 140px;
}

header .lang-nav {
    /*float: right;*/
    position: absolute;
    right: 0;
    top: 80px;
    background: #fff;
    padding: 10px 10px 3px 8px; 
    width: 40px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
}

header .lang-nav a {
    color: #839218;
    width: 24px;
    height: 18px;
    display: inline-block;
    text-indent: -5000px;
    overflow: hidden;
    margin-left: 2px;
}

header .lang-nav span {
	display: none;
}


header .lang-nav a.pt {
    background: url(../images/flag-pt.png) no-repeat;
}

header .lang-nav a.en {
    background: url(../images/flag-en.png) no-repeat;
}


header #search {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
    -moz-transform: translate(0px, -100%) scale(0, 0);
    -o-transform: translate(0px, -100%) scale(0, 0);
    -ms-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);
    opacity: 0;
    z-index: 9000;
}

header .search-btn {
    font-size: 17px;
}

header #search.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
}

header #search input[type="search"],
header #search input[type="text"] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
    line-height: 75px;
}

header #search .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -45px;
    font-size: 20px;
    padding: 10px 20px;
    background: #333;
}

header #search .close {
    position: fixed;
    top: 15px;
    right: 15px;
    color: #fff;
    opacity: 1;
    padding: 10px 17px;
    font-size: 27px;
    outline: none;
}

.hack-content form div {
    text-align: left !important;
}


.page-header {
	background: #FAF3DA;
	margin-top: 0;
	padding: 60px 0;
    border-bottom: 1px solid #F8EFCB;
}

.page-header h1 {
	font-size: 60px;
	padding-left: 0;
}

.page-header small {
	display: block;
	font-size: 24px;
	color: #999;
}

.overlay-orange {
    background-color: rgba(102, 102, 102, 0);
}

.overlay-orange .btn {
    color: #111;
    border: 2px solid #111;
}

.btn-monitoramento {
    margin-top: 0;
}

.white,
.white p {
    color: #fff;
}



.bg-block {
    background: #f4f4f4;
}

.block-content {
    margin-bottom: 50px;
}

/*.lead p
{
    margin-bottom: 30px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 300;
}*/

.lead p {
    font-size: 16px;
}


footer .address p {
	color: #fff;
}

footer .footer-text {
	border-top: 1px solid #222;
	text-align: center;
	margin-top: 30px;
}

footer a {
    color: #fff;
}

footer .footer-text p {
	color: #fff;
	font-size: 13px;
}

footer .copy {
    font-size: 11px;
}



/* Ir para o Topo */

.cd-top {
  display: inline-block;
  height: 38px;
  width: 38px;
  position: fixed;
  bottom: 40px;
  right: 0;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: #333 url(../images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  z-index: 90000;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .5s 0s, visibility 0s 0s;
  -moz-transition: opacity .5s 0s, visibility 0s 0s;
  transition: opacity .5s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 5;
}

.no-touch .cd-top:hover {
      opacity: 1;
}

/* End Ir para o Topo */






/* ==========================================================================
   Formatação das imagens via editor de texto
   ========================================================================== */ 

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto, img.size-full, img.size-large, img.size-medium, .attachment img {
    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft, img.alignleft {
    display: inline;
    float: left;
    margin-right: 24px;
    margin-top: 4px;

}
.alignright, img.alignright {
    display: inline;
    float: right;
    margin-left: 24px;
    margin-top: 4px;
}
.aligncenter, img.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
img.alignleft, img.alignright, img.aligncenter {
    margin-bottom: 12px;
}

.wp-caption {
    background: #ddd;
    line-height: 18px;
    margin-bottom: 20px;
    max-width: 632px !important; /* prevent too-wide images from breaking layout */
    padding: 4px;
    text-align: center;
}
.wp-caption img {
    margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
    color: #888;
    font-size: 12px;
    margin: 5px;
}
.wp-smiley {
    margin: 0;
}
.gallery {
    margin: 0 auto 18px;
}
.gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}
.gallery img {
    border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
}
.gallery .gallery-caption {
    color: #888;
    font-size: 12px;
    margin: 0 0 12px;
}
.gallery dl {
    margin: 0;
}
.gallery img {
    border: 10px solid #f1f1f1;
}
.gallery br+br {
    display: none;
}
#content .attachment img {/* single attachment images should be centered */
    display: block;
    margin: 0 auto;
}   




@media screen and (max-width: 1000px) {

    header #search input[type="search"], header #search input[type="text"] {
        font-size: 48px;
    }
}   


@media screen and (max-width: 768px) { 

    header #search input[type="search"], header #search input[type="text"] {
        left: 0;
    }

    header .lang-nav {
	    position: relative;
	    right: auto;
	    top: auto;
	    width: auto;
	    background: none;
	    box-shadow: none;
	    margin-top: 0;
	}


}


@media screen and (max-width: 620px) {

    header #search input[type="search"], 
    header #search input[type="text"] {
        font-size: 28px;
    }
}


@media screen and (max-width: 480px) { 

    header #search input[type="search"], 
    header #search input[type="text"] {
        font-size: 22px;
    }
}