/*

1  - Header
2  - Logo
2a - Top menu
2b - Social menu
3  - Widgets
4  - Start your own blog
5  - In article promo
*/

/* 1 - Header */

@media (min-width: 768px) {
	.navbar-header {
		background-color:#fff;
	}
}

/* 2 - Logo */

.navbar-brand {
  float: left;
  padding: 10px;
  font-size: 18px;
  line-height: 20px;
  text-indent:-9999px;
  background:url('../img/assets/logo-white.svg') 0% 50% no-repeat;
  /*background:url('../img/assets/logo-15-white.gif') 0% 50% no-repeat;*/
  width:160px;
  height: 32px;
  margin: 10px;
  border-bottom: 0;
  background-size: contain;
}
@media (min-width: 400px) {
	.navbar-brand {
		width:195px;
	}
}
@media (min-width: 768px) {
	.navbar-brand {
		  width: 240px;
      height: 65px;
    	padding: 0;
    	margin: 15px;
		/*background:url('../img/assets/logo-amp.png') 0% 50% no-repeat;*/
    background:url('../img/assets/logo.svg') 0% 50% no-repeat;
		background-size: contain;
	}
	.shrink .navbar-brand {
		height:30px;
		margin: 5px 15px;
	}
}
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
  color:#fff !important;
}

/* 2a - Top menu */

.navbar-top {
	display: none;
}
@media (min-width:768px) {
	.navbar-top {
		display: block;
		margin:25px 15px 0 0;
	}
	.shrink .navbar-top {
		margin-top:0px;
	}
	.navbar-top li {
		float:left;
	}
	.navbar-top li a {
		padding:10px 5px;
    color:#054F5F;
	}
  .navbar-top li.dropdown li {
    float:none;
  }
	.navbar-top li a:hover,
	.navbar-top li a:focus {
		background-color:#fff;
		color:#05a0aa;
	}
	.navbar-top li.twitter {
		margin-left:10px;
	}
	.navbar-top li.pinterest,
  .navbar-top li.instagram,
  .navbar-top li.facebook {
		margin-left:1px;
	}
	.navbar-top li.twitter a,
	.navbar-top li.pinterest a,
	.navbar-top li.instagram a,
  .navbar-top li.facebook a {
		padding:9px 9px 6px;
		color:#fff;
    border-bottom:0;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
	}
  .navbar-top li.twitter a:hover,
  .navbar-top li.pinterest a:hover,
  .navbar-top li.instagram a:hover,
  .navbar-top li.facebook a:hover {
    border-bottom:3px solid #000;
    padding:6px 9px 9px;
  }
	.navbar-top li.twitter a span,
	.navbar-top li.pinterest a span,
	.navbar-top li.instagram a span,
  .navbar-top li.facebook a span {
		margin-top:2px;
    font-size:20px; 
	}
	.navbar-top li.twitter a {
		background: #1ea1f3;
    border-bottom:3px solid #1ea1f3;
	}
  .navbar-top li.twitter a:hover {
    border-bottom:3px solid #0588DA;
  }
	.navbar-top li.pinterest a {
		background: #bd081c;
    border-bottom:3px solid #bd081c;
	}
  .navbar-top li.pinterest a:hover {
    border-bottom:3px solid #8A0000;
  }
	.navbar-top li.instagram a {
		background: #8a3ab9;
    border-bottom:3px solid #8a3ab9;
	}
  .navbar-top li.instagram a:hover {
    border-bottom:3px solid #570786;
  }
  .navbar-top li.facebook a {
    background: #4267b2;
    border-bottom:3px solid #4267b2;
  }
  .navbar-top li.facebook a:hover {
    border-bottom:3px solid #4267b2;
  }
}

/* 2b - Social menu */

.navbar-social {
	float:right;
	padding:0;
	margin:0 10px 0 0;
}

.navbar-social ul {

}

.navbar-social li {
	display: inline-block;
}

.navbar-social li a {
	color:#fff;
	padding:18px 3px 14px;
	display: block;
}

@media (min-width:768px) {
	.navbar-social {
		display: none;
	}
}


/* 3 - Widgets */

.widget-area aside {
  margin-bottom:15px;
}

.subscribe-form {
  margin-top:10px;
  position: relative;
}

.subscribe-form input,
.subscribe-form button {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555555;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #cccccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.subscribe-form input.mailjet-subscribe {
  display: inline-block;
  width:auto;
  position: absolute;
  right: 0;
  top:0;
  border-radius: 0 4px 4px 0;
}

/* 4 - Start your own blog */

.page-template-page_start_your_own_blog {

}

.page-template-page_start_your_own_blog .col-toc {
  font-size: 16px;
}

@media (min-width: 768px) {
  .page-template-page_start_your_own_blog .col-toc {
    position: sticky;
    top: 0;
  }
}

.page-template-page_start_your_own_blog .col-toc ol {
  padding-left: 20px;
}

@media (min-width: 768px) {
  .page-template-page_start_your_own_blog .col-toc h2:first-of-type {
    margin-top: 45px;
  }
}

.page-template-page_start_your_own_blog .entry-content h2,
.page-template-page_start_your_own_blog .entry-content h3 {
  margin-top: 0;
  padding-top: 20px;
}

@media (min-width: 768px) {
  .page-template-page_start_your_own_blog .navbar-fixed-top.shrink {
    position: static;
  }
}

@media (max-width: 767px) {
  #menu-primary-menu {
    columns: 2;
  }

  #menu-primary-menu li {
    -webkit-column-break-inside: avoid;
    column-break-inside: avoid;
  }
}

/* 5 - In article promo */

.ia-promo {
    margin-top: 15px;
    margin-bottom: 15px;
    background-color: #f4f7f9;
    font-size: 16px;
    line-height: 1.7;
    
    border-top: 1px solid #d7e3ec;
    border-bottom: 1px solid #d7e3ec;
}

.ia-promo h3 {
    margin-top: 0;
    color: #b43c8c;
    font-family: bennet-banner,Sans-serif;
    font-size: 32px;
    line-height: 1.1em;
}

.ia-promo--image img {
  margin-top: 0;
  margin-bottom: 0;
}

.ia-promo--content {
    padding: 30px 20px;
}

.ia-promo--link {
    display: inline-block;
    padding: 8px 12px;
    margin-top: 5px;
    color: #fff;
    background-color: #ef8101;
}

.ia-promo--link:hover {
  background-color: #e17b05;
  color: #fff;
}

.ia-promo--disclaimer {
    margin-top: 20px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .ia-promo {
        border: 1px solid #d7e3ec;
    }

    .ia-promo--content {
        padding: 30px;
    }
}

/* 6 - Article single */

body.single-post:not(.archive) {
  article.hentry {
    header.entry-header {
      @media (max-width: 767px) {
        border-bottom: 0;
        padding-bottom: 0;
      }

      h1.entry-title {
        @media (max-width: 767px) {
          text-align: center;
          padding-bottom: 60px;
          margin-bottom: 0;

          &:after {
            content: '';
            position: absolute;
            width: 30px;
            height: 3px;
            background-color: #ddd;
            bottom: 30px;
            left: calc(50% - 15px);
            right: 50%;
          }
        }
      }
    }

    .single-author-col {
      @media (max-width: 767px) {
        padding-top: 0;
        padding-bottom: 30px;
        text-align: center;
        display: flex;
        align-items: center;
        flex-direction: column;
      }

      .posted-on {
        @media (max-width: 767px) {
          order: 2 ;
          margin-right: 0;

          .screen-reader-text {
            display: inline !important;
          }

          .glyphicon {
            display: none;
          }
        }
      }

      .byline {
        @media (max-width: 767px) {
          order: 1;
          margin-right: 0;
        }

        .glyphicon {
          @media (max-width: 767px) {
            display: none;
          }
        }
      }

      .cat-links {
        @media (max-width: 767px) {
          display: none;
        }
      }
    }

    .entry .row > .col-xs-12 > .entry-content {
      @media (max-width: 767px) {
        padding-top: 30px;
      }

      > p {
        @media (max-width: 767px) {
          margin-left:5px;
          margin-right:5px;
        }
      }

      > h2 {
        line-height: 1.3em;
        /* border-bottom: 2px solid #eee; */
        display: block;
        position: relative;
        padding-bottom: 50px;
        margin-top: 25px;
        margin-bottom: 0;
        text-align: center;

        &:after {
          content: '';
          position: absolute;
          width: 30px;
          height: 3px;
          background-color: #ddd;
          bottom: 30px;
          left: calc(50% - 15px);
        }
      }

      > h3 {
        @media (max-width: 767px) {
          margin-left: 5px;
          margin-right: 5px;
        }
      }

      .wp-caption {
        @media (max-width: 767px) {
          padding-left: 5px;
          padding-right: 5px;
        }

        .wp-caption-text {
          background-color: transparent;
          padding: 7px 0;
          color: #333;
          text-align: right;
          margin-bottom: 10px;
        }
      }

      .wp-caption + .wp-caption {
        margin-top: -15px;
      }
    }
  }
}

/*.mv-ad-box {
  margin-top: 25px !important;
  margin-bottom: 25px !important;
}*/