/*
 Theme Name:   Mailtrack Theme
 Theme URI:    http://mailtrack.io/
 Description:  Mailtrack Blog theme, child theme of Buffer v2 theme.
 Author:       Atico3
 Author URI:   http://atico3.com
 Template:     buffer-v2
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         mailtrack
 Text Domain:  mailtrack-theme
*/

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

a:focus {
  border-bottom: none
}

h1 {
	margin: 0;
}

article {
	padding: 0;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  padding: 8px 20px;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-shadow: none;
  text-transform: uppercase;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

h1, h2, h3, h4, h5, h6 {
 	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

p {
	font-family: 'Montserrat', sans-serif;
}

#nav-wrap {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgi…pZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #2e2f34),color-stop(100%, #363a42));
  background-image: -moz-linear-gradient(#2e2f34,#363a42);
  background-image: -webkit-linear-gradient(#2e2f34,#363a42);
  background-image: linear-gradient(#2e2f34,#363a42);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  height: 65px;
}
/*
.top-nav {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.top-nav a {
  font-family: Lato, Sans-serif;
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.top-nav li {
  border: none;
  margin: 10px 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.top-nav li.back {
  position: absolute;
  top: 0;
  left: 0;
}

.top-nav li:first-child {
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  margin-top: 0;
  margin-left: -20px;
}

.top-nav li:first-child a {
  display: inline-block;
  text-indent: -1000em;
  width: 50px;
  height: 40px;
  margin-top: 14px;

  background: url("https://s3-eu-west-1.amazonaws.com/io.mailtrack.assets/backend/0652c31/bundles/mailtrackfrontend/img/mailtrack-sprite_2x.png") no-repeat;
  background-size: 360px 420px;

  -webkit-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  transition: all 250ms ease;
}
.top-nav li:first-child a:hover {
  /* width: 200px *//*
}

.top-nav li:first-child a:before {
  display: none;
}
.top-nav li:first-child a:after {
  content: "";
}
.top-nav li:first-child a:hover:after {
  display: none
}

.top-nav li:last-child {
  position: absolute;
  right: 0;
  top: 0;
}
.top-nav li a.btn {
  background: #fff;
  color: #333;
}
.top-nav li a.btn:hover {
  background: rgba(255,255,255,.75);
  text-decoration: none;
}

*/
.site-title {
  font-size: 32px;
  font-weight: 600;
  text-transform: capitalize;
}
.site-branding {
  text-align: center
}

.gradient-overlay {
  background: rgba(0,0,0,0.20);
}

/* Entry */
.entry-meta {
  padding-top: 10px;
}
.entry-meta .byline,
.entry-meta .posted-on {
  font-style: normal;
}
.entry-meta .byline a.fn {
  font-weight: bold;
  color: #333;
}
.entry-meta .author-avatar img {
  display: none
}

.entry-content img {
  width: auto !important;
  max-width: 100%;
}

.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry-content .alignleft {
	float: left;
}

.entry-content .alignright {
	float: right;
}


/* Secondary column fix */

#secondary {
  text-align: center;
  border-bottom: 1px solid #e4e4e4
}
#secondary h1 {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(0,0,0,.3);
  margin-bottom: 10px;
}
#secondary a {
  color: #777
}
#secondary ul,
#secondary ol {
  list-style: none;
}
#secondary .widget.widget_search  {
  margin-bottom: 40px;
}
#secondary .widget.widget_search input {
  font-size: 16px;
}

#secondary .screen-reader-text {
  display: none;
}

[for=CybotCookiebotDialogBodyLevelButtonPreferences] {
    display:none!important
}

[for=CybotCookiebotDialogBodyLevelButtonMarketing] {
    display:none!important
}

[for=CybotCookiebotDialogBodyLevelButtonMarketing], #CybotCookiebotDialogDetailBodyContentCookieContainerAdvertising {
    display: none !important
}

[for=CybotCookiebotDialogBodyLevelButtonPreferences], #CybotCookiebotDialogDetailBodyContentCookieContainerPreference {
    display: none !important
}

[for=CybotCookiebotDialogBodyLevelButtonUnclassified], #CybotCookiebotDialogDetailBodyContentCookieContainerUnclassified {
    display: none !important
}


/*** NEW HEADER MENU ***/

.top-nav li {
    line-height: 1em!important;
    padding: 0;
    margin: 0;
}

.top-nav {
    max-width: initial;
    margin: 0;
}

.top-nav li:first-child a {
  display: inline-block;
  text-indent: -1000em;
  width: 50px;
  height: 40px;
  margin-top: 14px;

  background: url("https://s3-eu-west-1.amazonaws.com/io.mailtrack.assets/backend/0652c31/bundles/mailtrackfrontend/img/mailtrack-sprite_2x.png") no-repeat;
  background-size: 360px 420px;

  -webkit-transition: all 250ms ease;
  -o-transition: all 250ms ease;
  transition: all 250ms ease;
}
.top-nav li:first-child a:hover {
  /* width: 200px */
}



.menu-header-wrapper {
    display: flex;
    align-items: center;
    max-width: 1140px;
    margin: auto;
    justify-content: space-between;
}

.menu-header-wrapper .nav {
    display: flex;
    list-style: none;
    flex-flow: wrap row;
    margin: 0 auto;
    justify-content: center;
    padding: 0;
	align-items: center;
}

.menu-header-wrapper .nav li {
    margin: 0;
    color: #fff;
    font-size: 1em
}

.menu-header-wrapper .nav li:after {
    content: "|";
    margin: 0 1em;
}

.menu-header-wrapper .nav li:last-child:after {
    display: none;
}

.menu-header-wrapper .nav li a {
  color: #fff
}

.menu-header-wrapper .btn,
.menu-header-wrapper .nav li.btn-wrapper a{
	background: #fff;
	color: #333;
	display: inline-block;
    margin-bottom: 0;
    font-weight: 700;
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    line-height: 1.42857143;
    border-radius: .25em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .5em 1em;
    font-size: 1em;
    letter-spacing: 0.1em;
    text-shadow: none;
    text-transform: uppercase;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* MOBILE MENU */

#toggle {
    width: 32px;
    height: 30px;
    margin: 24px 0 0;
    float: right;
    position: relative;
	display: none;
}

.visible-mobile {
	display: none!important;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}

#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 1px;
}
#toggle + #menu { display:none;}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}

/** SIDENAV **/

.sidenav {
    height: 100%;
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -300px;
    background-color: #444;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    -webkit-box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.3);
    box-shadow: -3px 0px 10px 0px rgba(0,0,0,0.3);
    z-index: 9999;
}

.sidenav.show {
	left: 0;
}

.sidenav .closebtn {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #4fa0ca;
    width: 28px;
    text-align: center;
    line-height: 28px;
    border-radius: 50%;
    opacity: 1;
    font-size: 36px;
}

.sidenav .closebtn:hover,
.sidenav .closebtn:focus {
    opacity:0.7;
    text-decoration:none;
}

.sidenav .nav {
    display: flex;
    flex-flow: wrap column;
}

.sidenav .nav li:after {
    display: none;
}

.sidenav .nav li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,.15);
}

.sidenav .nav li a {
    width: 100%;
    text-align: center;
    display: block;
    padding: 1em;
}

.sidenav .nav li.btn-wrapper a {
    width: auto;
    display: table;
    margin: 1em auto;
}

.sidenav .nav li a:hover, 
.sidenav .nav li a:focus {
    text-decoration: none;
    background: rgba(0,0,0,.25);
}

.menu-header-wrapper .btn:hover,
.menu-header-wrapper .btn:focus,
.sidenav .nav li.btn-wrapper a:hover,
.sidenav .nav li.btn-wrapper a:focus{
    background: #fff;
    opacity: .75;
}

@media (max-width: 991px) {
  #toggle {
  	display: block;
  }
  .menu-wrapper {
    display: none;
  }
  
  .menu-header-wrapper {
  	margin: auto 15px;
  }
  
  .visible-mobile {
	display: block!important;
  }
 
}

.wp-block-separator {
    border-bottom: 0px;
    border-top-color: #eee;
    margin: 1em 0 1.5em;
}

.wp-block-separator {
    border-bottom: 0px;
    border-top-color: #eee;
    margin: 1em 0 1.5em;
}

.entry-content h2:after {
    display: none;
}

.entry-content h2::before {
    background: #CED7DF;
    content: " ";
    display: block;
    height: 1px;
    margin: 2rem auto;
    width: 25%;
}

@media only screen and (max-width: 500px) {
  .top-nav li:first-child {
      display: block; 
  }
}

main#main .entry-content a:not(.continue-reading):visited,
main#main .entry-content a:not(.continue-reading):active,
main#main .entry-content a:not(.continue-reading):link{
    color: #168eea;
	text-decoration: underline;
}

/* NEW HOME */


body.home,
body.page-template-page-home {
    background: #fff;
}


section.most-recent-post {
    padding: 2em 0;
    background: #f3f5f7;
}

body.archive {
	background: #f3f5f7;
}

section.most-recent-post h2.title-section {
    margin-bottom: 1em;
	font-size: 2em;
}

section.most-recent-post .post-wrapper {
    margin-bottom: 3em;
}

.post-wrapper .image-post {
    width: 100%;
    padding-bottom: 56.25%;
    background-position: center;
    border-radius: 1em;
    height: 0;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 1em;
    position: relative;
	border: 1px solid #eee;
}

.post-wrapper .image-post a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-wrapper span.cat-links.cat-label a {
    color: #5f5f5f;
    text-transform: uppercase;
    font-weight: 600;
}

.post-wrapper .content-post h3 {
    font-size: 1.75em;
    margin: .25em 0 .5em;
}

.post-wrapper .content-post h3:before {
    display: none;
}

.post-wrapper .content-post h3 a {
    color: #323B43;
}

.post-wrapper .content-post .excerpt {
    display: none;
    line-height: 1.75em;
}

.post-wrapper.post-1 .content-post .excerpt {
    display: block;
}

.post-wrapper.post-1 .content-post .excerpt a.continue-reading {
	display: none;
}

.post-wrapper .content-post, 
.post-wrapper .cat-links {
    padding: 0 1em;
}

/** ARCHIVE **/

.archive header.page-header .page-title {
    background: transparent;
    text-transform: capitalize;
    font-size: 2.25em;
    border-bottom: 1px solid #ccc;
    padding: 0.5em 0;
    margin-bottom: 1em;
    letter-spacing: 0;
    color: #333333;
}

.archive header.page-header .page-title:before {
    display: none;
}

.menu-header-wrapper {
	padding: 0 15px;
}

/** RIGHT SIDEBAR **/


div#right-sidebar .widget {
    background: #f3f5f7;
    padding: 30px;
    margin-bottom: 30px;
}

h3.widget-title {
    font-size: 20px;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

h3.widget-title:before {
    display: none;
}

div#right-sidebar .widget ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

div#right-sidebar .widget ul li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.5em 0;
    margin: 0;
    font-size: .95em;
    position: relative;
    padding-left: 1.5em;
}

div#right-sidebar .widget ul li:last-child {
    border: 0;
}

div#right-sidebar .widget ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    margin-right: 0.5em;
    width: auto;
    text-align: center;
    content: "\f061";
    color: #999;
    font-size: .85em;
    position: absolute;
    left: 0;
    top: 1em;
}

.related {
    background: #f3f5f7;
    padding-top: 1em;
    margin-top: 3em;
}

div#right-sidebar .widget.widget_custom_html p {
    margin: 0;
}

.footer-menu a {
  bottom: 1.5rem;
  color: #8B959E;
  font-size: 12px;
  position: relative;
  padding: 10px;
  left: 1.5rem;
}
