/*
Theme Name: M&G Aduaneira
Theme URI: http://underscores.me/
Author: Q1 Agência Digital
Author URI: http://q1agenciadigital.com.br
Description: Tema desenvolvido sob encomenda
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: meg
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

M&G Aduaneira is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
img { height: auto; max-width: 100%; }

table {    margin: 0 0 1.5em; width: 100%; }

.meg-background .container{ max-width:100%; }
.meg-background.solid{}
.meg-background.image{ background-repeat:no-repeat; background-size:contain; background-position:center; }
.meg-background.pattern{}
.meg-background.parallax{ background-size:cover; background-attachment: fixed; }
.meg-background.video{ position:relative; }
.meg-background.video .video-wrapper{ position:absolute; overflow:hidden; top:0; right:0; bottom:0; left:0; z-index:-999;  }

.meg-background.dark-color-scheme{ color:#fff; }
.meg-background.dark-color-scheme a{ color:#fff; }
.meg-background.dark-color-scheme a:hover{ color:#337ab7; }
.meg-background.dark-color-scheme input{ color:#000; }

.meg-title.default-title{ font-family:'Tw Cen MT Condensed'; color:#666; font-weight:bold; }

.sidebar-children-wrapper .meg-title.default-title,
.page-content-wrapper .meg-title.default-title{ color:#000; text-transform:uppercase; }

.meg-background .meg-title.default-title{ text-align:center; margin-bottom:1em;}
.meg-background.dark-color-scheme .meg-title.default-title{ color:#fff; }

.btn{ font-family:'Tw Cen MT Condensed'; font-weight:bold; font-size:1.2em;}
.btn.btn-default{  background:#666; color:#fff; border-color:#666; }
.btn.btn-default:hover{ background:#000; border-color:#000; }

.nice-columns-row.gray-columns > .nice-columns{ position:relative; z-index:2; padding:15px; }
.nice-columns-row.gray-columns > .nice-columns p img:only-child{ margin:-10px -10px 10px -10px; width:calc( 100% + 20px ); max-width:none; height:auto; }
.nice-columns-row.gray-columns > .nice-columns:before{ content:''; display:block; position: absolute; z-index:-1; top:5px; right:5px; bottom:5px; left:5px; background:#B3B3B3; }

.meg-background .nice-columns-row.gray-columns > .nice-columns:before{ background:rgba(255,255,255,0.6); }
.meg-background.dark-color-scheme .nice-columns-row.gray-columns > .nice-columns:before{ background:rgba(0,0,0,0.6); }

.nice-columns-row.gray-columns > .nice-columns p:last-child{ margin-bottom:0; }
.nice-columns-row.gray-columns > .nice-columns p:last-child .btn.btn-default{border:none; position:absolute; bottom:5px; left:40px; right:40px; border-radius:5px 5px 0 0;}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Contact Form 7
--------------------------------------------------------------*/
.wpcf7 .control-wrapper,
.wpcf7 .form-submit{ padding:2.5px; }
.wpcf7 .btn.btn-submit,
.wpcf7 .form-control{ border-radius:0; border:1px solid #000; background:transparent; transition:all .3s ease-in-out; }
.wpcf7 .btn.btn-submit:hover,
.wpcf7 .btn.btn-submit:focus,
.wpcf7 .form-control:focus{ background:#fff;  }

.wpcf7 .form-control::-webkit-input-placeholder { color: #000; }
.wpcf7 .form-control::-moz-placeholder { color: #000; }
.wpcf7 .form-control:-ms-input-placeholder { color: #000; }
.wpcf7 .form-control:-moz-placeholder { color: #000; }

.dark-color-scheme .wpcf7 .btn.btn-submit,
.dark-color-scheme .wpcf7 .form-control{ border-color:#fff; color:#fff;  }
.dark-color-scheme .wpcf7 .btn.btn-submit:hover,
.dark-color-scheme .wpcf7 .btn.btn-submit:focus,
.dark-color-scheme .wpcf7 .form-control:focus{ color:#000; border-color:#000; }

.dark-color-scheme .wpcf7 .form-control::-webkit-input-placeholder { color: #fff; transition:all .3s ease-in-out; }
.dark-color-scheme .wpcf7 .form-control::-moz-placeholder { color: #fff; transition:all .3s ease-in-out; }
.dark-color-scheme .wpcf7 .form-control:-ms-input-placeholder { color: #fff; transition:all .3s ease-in-out; }
.dark-color-scheme .wpcf7 .form-control:-moz-placeholder { color: #fff; transition:all .3s ease-in-out; }

.dark-color-scheme .wpcf7 .form-control:focus::-webkit-input-placeholder { color: #000; }
.dark-color-scheme .wpcf7 .form-control:focus::-moz-placeholder { color: #000; }
.dark-color-scheme .wpcf7 .form-control:focus:-ms-input-placeholder { color: #000; }
.dark-color-scheme .wpcf7 .form-control:focus:-moz-placeholder { color: #000; }


.iframe-wrapper iframe{ width:100%; height:100vh; border:5px solid #fff; }

/*--------------------------------------------------------------
# Page Children
--------------------------------------------------------------*/
.sidebar-children-wrapper,
.page-content-wrapper{ float:left; padding:0 15px; }
.sidebar-children-wrapper{ width:25%; padding-bottom:15px; }
.page-content-wrapper + .sidebar-children-wrapper{ border-right:none; border-left:2px solid #4D4D4D; }
.page-content-wrapper{ width:75%; min-height: 1px; }

.page-children-links.sidebar-children{ margin:0; padding:0;  }
.page-children-links.sidebar-children li{ list-style:none; padding:2.5px 0; }
.page-children-links.sidebar-children a{ color:#333; padding:0 15px;  }
.page-children-links.sidebar-children a:hover{ color:#000; padding-left:25px; padding-right:5px; }

.page-children-links.thumbs-gallery{ margin:0; padding:0; }
.page-children-links.thumbs-gallery .gallery-item{ padding:25px; }
.page-children-links.thumbs-gallery .thumbs-image{ display:block; overflow:hidden; border-radius:0 3em 0 3em; box-shadow:10px 10px 5px 0 rgba(0,0,0,0.8); transition:all .3s ease-in-out; }
.page-children-links.thumbs-gallery .thumbs-image img{ width:100%; transition:all .3s ease-in-out; border-radius:0 3em 0 3em; }
.page-children-links.thumbs-gallery .thumbs-title{ font-size:1.5em; margin-top:10px; text-transform: uppercase; display:block; }
.page-children-links.thumbs-gallery a:hover .thumbs-image{ background:#00FFFF;}
.page-children-links.thumbs-gallery a:hover .thumbs-image img{opacity:0.6;}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-size: 0.875rem; font-weight: bold; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px; text-decoration: none; top: 5px; width: auto; z-index: 100000; /* Above WP toolbar. */ }

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {    outline: 0; }

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft { display: inline; float: left; margin-right: 1.5em; }
.alignright { display: inline; float: right; margin-left: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after { content: ""; display: table; table-layout: fixed; }

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after { clear: both; }


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header{ background:#000; padding:20px 0; }
.site-header > .container{ display:flex; justify-content:space-between; align-items:center; }
.site-header .main-navigation,
.site-header .site-branding{ flex-grow:1; }

.site-header { top:0; }
.admin-bar .site-header{ top:32px; }
.site-header{ position:fixed; z-index:999; left:0; right:0; }
.home .site-header{ background:rgba(0,0,0,0.77); }
.home .site-header-wrapper{ min-height:0!important;}

.carousel.main-slider .carousel-control,
.carousel.main-slider .carousel-indicators{ opacity:0; transition:all .3s ease-in-out; }
.carousel.main-slider:hover .carousel-control,
.carousel.main-slider:hover .carousel-indicators{ opacity:0.6; }
.carousel.main-slider .carousel-control:hover,
.carousel.main-slider .carousel-indicators:hover{ opacity:1; }

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a{ transition:all .3s ease-in-out; }
a:hover{ text-decoration:none; }

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation ul { display:none; margin:0; padding:0; font-size:0; }

.main-navigation li { list-style:none; display:block; font-size:14px; }

.main-navigation a { display:block; color:#fff; text-transform:uppercase; font-family: 'Tw Cen MT Condensed'; font-size:1.75em; padding:.1em .5em; font-weight: bold; }
.main-navigation a:hover,
.main-navigation li:hover > a{ background:#fff; color:#000; }

.main-navigation ul ul { display:none!important; }

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul { display: block; }

@media screen and (min-width: 992px) {
    .menu-toggle { display: none; }
    .main-navigation ul { display: block; text-align:right; }
    .main-navigation li{ display:inline-block; position:relative; }
    .main-navigation ul ul{ display:block!important; position:absolute; background:#000; text-align:left; left:0; min-width:100%; opacity:0; visibility:hidden; transform:scaleY(0); transform-origin: top center; transition:all .3s ease-in-out;}
    .main-navigation li li{ display:block; }
    .main-navigation li li a{ font-size:1.5em; text-transform:none; font-style:italic; font-weight:normal; white-space: nowrap; }
    .main-navigation li:hover ul{ opacity:1; transform:scaleY(1); visibility:visible; }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation { margin: 0 0 1.5em; overflow: hidden; }

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous { float: left; width: 50%; }

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next { float: right; text-align: right; width: 50%; }

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget { margin: 0 0 1.5em; }

/* Make sure select elements fit in widgets. */
.widget select { max-width: 100%; }

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-content{ background:#E6E6E6; }

.page-template-flex-content .hentry{ margin-bottom:0; }

.blog .hentry{ display:flex; margin-bottom:0; }
.blog .hentry .post-thumbnail,
.blog .hentry .post-info{ width:50%; }
.blog .hentry .post-thumbnail{ background-size:cover; background-position:center center;}
.blog .hentry .post-info{ padding:20px; text-align:left; }
.blog .hentry .post-info .entry-title{ font-family: 'Tw Cen MT Condensed'; font-weight:bold; font-size:2em; }
.blog .hentry .post-info .entry-meta{ font-family: 'Tw Cen MT Condensed';  }
.blog .hentry .post-info a{ color:#000; }
.blog .hentry .post-info a:hover{ color:#555; }
.blog .gallery:nth-child(odd) .hentry{ flex-direction:row-reverse;}
.blog .gallery{ margin-bottom:0; }
.blog .gallery .gallery-item{ padding:0; }


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky { display: block; }

.hentry { margin: 0 0 1.5em; }

.byline,
.updated:not(.published) { display: none; }

.single .byline,
.group-blog .byline { display: inline; }
.single .post .entry-title{ font-family:'Tw Cen MT Condensed'; font-size:3em; font-weight:bold; text-align:center; }
.single .post .entry-meta{ font-family:'Tw Cen MT Condensed'; text-align:center; }

.page-content,
.entry-content,
.entry-summary { margin: 1.5em 0 0; }

.page-links { clear: both; margin: 0 0 1.5em; }

.search-results .page-title{ font-family:'Tw Cen MT Condensed'; font-size:3em; font-weight:bold; }
.search-results .entry-title{ font-family:'Tw Cen MT Condensed'; font-size:2em; font-weight:bold; }

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title { display: none; }

.widget-area{ margin-top:6em; }
.widget-area .widget-title{ background-repeat:no-repeat; background-position:center right; display:flex; align-items:center; padding:10px; font-weight:bold; }

.widget.widget_recent_entries ul{ margin:0; padding:0; }
.widget.widget_recent_entries ul li{ list-style:none; display:flex; flex-direction:column-reverse; }
.widget.widget_recent_entries .post-date{ font-size:0.8em; font-style:italic; padding:5px 0 0 5px; }
.widget.widget_recent_entries a{ color:#000; padding:5px; }
.widget.widget_recent_entries a:hover{ background:#fff;  }

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word; }

.bypostauthor { display: block; }

.comments-area{ padding-top:25px; margin-top:25px; border-top:1px dotted #666;}

ol.comment-list { list-style:none; margin:0 0 1em; padding:0; text-indent:0; }
ol.comment-list li { }
ol.comment-list li.alt { }
ol.comment-list li.bypostauthor {}
ol.comment-list li.byuser {}
ol.comment-list li.comment-author-admin {}
ol.comment-list li.comment { border-bottom:1px dotted #666; padding:1em; }
ol.comment-list li div.comment-author {}
ol.comment-list li div.vcard { font:normal 16px georgia,times,serif; }
ol.comment-list li div.vcard cite.fn { font-style:normal; }
ol.comment-list li div.vcard cite.fn a.url {}
ol.comment-list li div.vcard img.avatar { border:5px solid #ccc; float:right; margin:0 0 1em 1em; }
ol.comment-list li div.vcard img.avatar-32 {}
ol.comment-list li div.vcard img.photo {}
ol.comment-list li div.vcard span.says {}
ol.comment-list li div.commentmetadata {}
ol.comment-list li div.comment-metadata { font-size:11px; }
ol.comment-list li div.comment-metadata a { color:#ccc; }
ol.comment-list li p { font-size:13px; margin:0 0 1em; }
ol.comment-list li ul { font-size:13px; list-style:square; margin:0 0 1em 2em; }
ol.comment-list li div.reply { font-size:11px; }
ol.comment-list li div.reply a { font-weight:bold; }
ol.comment-list li ul.children { list-style:none; margin:1em 0 0; text-indent:0; }
ol.comment-list li ul.children li {}
ol.comment-list li ul.children li.alt {}
ol.comment-list li ul.children li.bypostauthor {}
ol.comment-list li ul.children li.byuser {}
ol.comment-list li ul.children li.comment {}
ol.comment-list li ul.children li.comment-author-admin {}
ol.comment-list li ul.children li.depth-2 { border-left:5px solid #555; margin:0 0 .25em .25em; }
ol.comment-list li ul.children li.depth-3 { border-left:5px solid #999; margin:0 0 .25em .25em; }
ol.comment-list li ul.children li.depth-4 { border-left:5px solid #bbb; margin:0 0 .25em .25em; }
ol.comment-list li ul.children li.depth-5 {}
ol.comment-list li ul.children li.odd {}
ol.comment-list li.even { background:#fff; }
ol.comment-list li.odd { background:#f6f6f6; }
ol.comment-list li.parent { border-left:5px solid #111; }
ol.comment-list li.pingback { border-bottom:1px dotted #666; padding:1em; }
ol.comment-list li.thread-alt { }
ol.comment-list li.thread-even {}
ol.comment-list li.thread-odd {}


.comment-respond{ background:#ececec; padding:15px; }
.comment-respond .comment-reply-title,
.comment-respond .logged-in-as,
.comment-respond .comment-notes{text-align:center;}
.comment-respond p{ margin-bottom:25px;}
.comment-respond p:after{ content:''; display:table; clear:both; }
.comment-respond label{ width:25%; float:left; text-align:right; padding:5px 10px 0 0; box-sizing:border-box; }
.comment-respond input[type=text],
.comment-respond input[type=email],
.comment-respond input[type=url],
.comment-respond textarea{ width:65%; float:left; border-radius:3px; padding:5px; border:1px solid #ddd; transition:all .3s ease-in-out; outline:none; }
.comment-respond input[type=text]:focus,
.comment-respond input[type=email]:focus,
.comment-respond input[type=url]:focus,
.comment-respond textarea:focus{ border-color:#000; transform:translateY(-5px); box-shadow:0 5px 5px rgba(0,0,0,.3);}
.comment-respond .form-submit{ text-align:center; }
.comment-respond .submit{ padding:10px 15px; background:#000; border:none; color:#fff; border-radius:5px; text-transform: uppercase; transition:all .3s ease-in-out;}
.comment-respond .submit:hover{ background:#fff; color:#000 ;}

/*--------------------------------------------------------------
# WP Pagenavi
--------------------------------------------------------------*/
.wp-pagenavi{ text-align:center; margin-bottom:2em;  }
.wp-pagenavi a, .wp-pagenavi span{ display:inline-block; border:none; border-radius:3px; background:transparent; padding:5px 10px; color:#000; }
.wp-pagenavi a:hover,
.wp-pagenavi span.current{ background:#fff; color:#000; }

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none; }

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer { display: block; }

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object { max-width: 100%; }

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto; }
.wp-caption .wp-caption-text { margin: 0.8075em 0; }
.wp-caption-text { text-align: center; }

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery { margin-bottom: 1.5em; display:flex; flex-direction: row; justify-content:center; flex-wrap: wrap;  }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }
.gallery-columns-2 .gallery-item { padding:10px; width: 50%; }
.gallery-columns-3 .gallery-item { padding:10px; width: 33.33%; }
.gallery-columns-4 .gallery-item { padding:10px; width: 25%; }
.gallery-columns-5 .gallery-item { padding:10px; width: 20%; }
.gallery-columns-6 .gallery-item { padding:10px; width: 16.66%; }
.gallery-columns-7 .gallery-item { padding:10px; width: 14.28%; }
.gallery-columns-8 .gallery-item { padding:10px; width: 12.5%; }
.gallery-columns-9 .gallery-item { padding:10px; width: 11.11%; }
.gallery-caption { display: block; }


.page-children-links { display:block; font-size:0; justify-content:center; display:flex; }
.page-children-links li{ list-style:none; display:inline-block; padding:2em; width:33.33%; text-align:center; vertical-align:middle; font-size:14px; }
.page-children-links a{ display:flex; align-items:center; justify-content:center; padding:1em 2em; background:#E6E6E6; border-radius:8px; color:#000!important; font-weight:bold; font-size:1.25em; height:100%; }
.page-children-links a:hover{ background:#000; color:#fff!important; }


/*--------------------------------------------------------------
# Login Form
--------------------------------------------------------------*/
#loginform label{ display:block; text-transform:uppercase; font-weight:normal; margin:15px 0 0 0 }
#loginform .input{ width:100%; padding:.5em; border-radius:8px; border:1px solid #000; outline:none; font-size:1em; }
#loginform .login-submit{ text-align:center; }
#loginform .login-submit .button{ padding:.25em .75em; text-transform:uppercase; background:#000; border-radius:8px; outline:none; border:none; color:#fff; transition:all .3s ease-in-out; }
#loginform .login-submit .button:hover{ background:#fff; color:#000; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer{  background:#000; background-size:cover; background-attachment: fixed; color:#fff; font-size:18px; font-family: 'Tw Cen MT Condensed'; }
.site-footer a{ color:#fff; }
.site-footer a:hover{ color:#aaa }


.site-footer .gallery.footer-columns{ margin-top:1.5em; margin-left:-30px; margin-right:-30px;  }
.site-footer .gallery.footer-columns .gallery-item{ text-align:justify; padding-left:30px; padding-right:30px;  }

.site-footer .gallery-item .widget.widget_sp_image:only-child{ display:flex; align-items:center; height:100%; }

.site-footer .widget-title{ text-transform:uppercase; font-size:2em; }

.site-footer .widget_nav_menu ul{ margin:0; padding:0; }
.site-footer .widget_nav_menu li{ list-style:none; padding:2.5px 0;}

.site-footer .copyright{ text-align:center; margin-bottom:1.5em;}


/*--------------------------------------------------------------
# Hacks
--------------------------------------------------------------*/
/* == HIDDING GAS TECNOLOGIA OBJECT == */
object[type="application/gas-events-uni"]{display:none}

/*--------------------------------------------------------------
# Mobile Adjustments
--------------------------------------------------------------*/
@media screen and (max-width:992px) {
    .gallery .gallery-item{ width: 50%; }
    .gallery .gallery-item:last-child:nth-child(odd){ width:100%; }
    
    .site-footer .gallery.footer-columns{ margin-left:0; margin-right:0; }
    .main-navigation.toggled > .menu-container > ul{ position: absolute; top: 100%; background: #000; left: 0; right: 0; text-align:center; }
    .menu-toggle{ margin-left:auto; border:none; border-radius:5px; color:#000; background:#fff; width:32px; line-height:32px; }
    .site-branding img{ height:60px; width:auto; }
}
@media screen and (max-width: 782px){
    html #wpadminbar{ display:none!important; }
    .admin-bar .site-header{ top:0; }
}

@media screen and (max-width:768px) {
    .gallery .gallery-item{ width: 100%; }
}