/* test */

/*
.teaser-caption {
	outline: thin dotted #ccf;
	outline-offset: -1px;
}
*/

/* bootstrap 4 modifications */

:root {
    --font-family-sans-serif: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

html {
    overflow-y: scroll; 
}

body {
    font-family: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #002244; /* NS=#003080 BS=#212529 */
}
img {
    max-width: 100%;
    height: auto;
}
b, strong {
    font-weight: 700;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.lead, .display-1, .display-2, .display-3, .display-4 {
    font-weight: 400;
}
.col-form-label {
    padding-top: calc(0.25rem - 1px);
}
.form-control {
    padding-top: 0.1rem;
    padding-bottom: 0.6rem;
}
.text-small {
    font-size: 80% !important;
}

.table {
    font-size: 0.85rem;
    width:100%;
}
.pointer {
    cursor: pointer;
}

/* body > wrapper */

.wrapper {
    width: 100%;
    margin: auto;
}

/* header & navbar */

#headerNav {
    background: #e4bd32; // was #fd6
}
#headerNav > .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.navbar {
    padding-right: 0;
    padding-left: 0;
}
@media (min-width: 992px) {
    .navbar {
	padding-top: 4.5rem;
	padding-bottom: 0;
    }
}
.navbar img {
    width: 100%;
    max-width: 140px;
}
@media (min-width: 576px) {
    .navbar img {
	max-width: 280px;
    }
}
@media (min-width: 992px) {
    .navbar img {
	position: absolute;
	top:15px; left:0;
    }
}

/* navbar-nav */

.navbar-nav .nav-link {
    font-weight: 700;
}
.navbar-nav .dropdown-menu,
.navbar-nav .dropdown-item,
.navbar-nav .dropdown-item:focus {
    color: #652;
    background-color: #fc3;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:active {
    color: #321;
    background-color: #fc3;
}
.navbar-nav .dropdown-item.active {
    color: #5060a5;
    font-weight: 700;
}
@media (min-width: 992px) {
    .navbar-nav .nav-link.active {
	border-bottom: 4px solid #5060a5;
    }
}
.navbar-nav  .nav-link .fa {
    font-size: 0.875rem;
}
@media (max-width: 991.9px) {
    .navbar-nav  .nav-link .fa {
	position: absolute;
	top:1rem; right:1.125rem;
    }
}
/* Shaker image movement */
.shaker:hover {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Swipehint */
.swipehint {
      font-style: italic;
}


/* Cookiebar */						
#cb {
    position:fixed;
    bottom: 0;
    width:100%;
    z-index:999;
    background-image: url(/templates/treinenweb_ng/img/cb_bg.png);
    color:#FFF;
}

#cb_description a {
    text-decoration:underline;
    color:#FFF;
}

#cb_wrapper {
    margin-left: auto;
    margin-right: auto;
    text-align:center;
    position: relative;
    width: 100%;
    margin:3px;
}


#cb_description {
    text-align:center;
    font-size:0.9rem;
}

#cb_hide  {
    margin-right:30px;
    float:right;
    text-decoration:none;
}

#cb_hide button{
    border: 1px solid #000;
    width: 70px;
    height: 25px;
    background-color:#FFF;
    color:#000;
    padding: 0px 2px 3px 2px;
    font-size:0.9rem;
}

/* search */

#search,.form-group  {
    width: 100%;
    padding-top: 1rem;
}
@media (min-width: 992px) {
    #search {
	padding-top: 0;
    }
}
#search .form-control {
    width: 100%;
}
    #search .form-control:-webkit-input-placeholder { /* Edge */
	line-height: 2.0em;
    }


    #search .form-control::placeholder {
	  line-height: 2.0em;
    }

/* social */

#social {
    display: none;
}
@media (min-width: 992px) {
    #social {
	position: absolute;
	top:1.375rem; right:1.875rem;
	display: inline-block;
    }
}
#social a {
    margin: 0 0.5rem;
    padding: 0.25rem;
    font-size: 1.5rem;
    color: #444;
}

#social .trainsiding {
    height: 23px;
    width: 23px;
    margin-top: -7px;
}

/* structure (main & aside) */

#main {
    padding-top: 20px;
}
#aside {
    padding-bottom: 20px;
}
@media (min-width: 768px) {
    #main, #aside {
	padding-top: 20px;
	padding-bottom: 20px;
    }
}

/* common style (main & aside) */

#content a, #content a:hover, #content a:active, #content a:focus {
    text-decoration: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}
#main a, #main a:hover, #main a:active, #main a:focus {
    border-bottom: 1px solid #003080;
    color: #003080;
}
#main a.nostyle, #main a.nostyle:hover, #main a.nostyle:active, #main a.nostyle:focus {
    border: 0;
    color: inherit;
}

/* Quote styling*/
blockquote {
    display: block;
    border-width: 2px 0;
    border-style: solid;
    border-color: #eee;
    font-style: Italic;
    padding: 1.5em 0 0.5em;
    margin: 1.5em 0;
    position: relative;
}
blockquote:before {
    content: '\201C';
    position: absolute;
    top: 0em;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 3rem;
    height: 2rem;
    font: 6em/1.08em 'PT Sans', sans-serif;
    color: #666;
    text-align: center;
}
blockquote:after {
    content: "\2013 \2003" attr(cite);
    display: block;
    text-align: right;
    font-size: 0.875em;
    color: black;
}

/* aside styling*/
#aside {
    font-size: 0.80rem;
}
#aside ul.li-margin li {
    margin: 0 0 0.625rem 0;
}
#aside ul.li-margin li:last-child {
    margin-bottom: 0;
}
#aside ul.li-margin li.row div {
    padding-right: 1rem;
    padding-left: 0;
}

/* horizontal line (main) */

.gradient-line {
    width: 100%;
    height: 1px;
    margin: 16px 0;
    background:	-webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 80%);
    background:	   -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 80%);
    background:		-ms-radial-gradient(center, ellipse cover, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 80%);
    background:		 -o-radial-gradient(center, ellipse cover, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 80%);
    background:			radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 80%);
}

/* teaser */

.teaser {
    position: relative;
    margin-bottom: 0.625rem;
}
.teaser a {
    max-width: 100%;
}
.teaser img {
    width: 100%;
    line-height: 1;
}

.teaser-caption {
    position: absolute;
    right:0; bottom:0; left:0;
    padding: 3px 2px 5px 2px;
    font-size: 0.75rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    background: rgba(255,255,255,.8);
    color: #000;
}

@media (max-width: 991.9px) {
    .detail-post .teaser-caption {
	position: relative;
	background: rgba(230, 230, 230, 0.8);
    }
}


.teaser-caption.mx-15px {
    right:15px; bottom:0; left:15px;
}
@media (min-width: 768px) {
    .teaser-caption {
	padding: 2px 2px 5px 2px;
	font-size: 0.875rem;
	line-height: 1.2;
    }
}
@media (min-width: 992px) {
    .teaser-caption {
	padding: 6px 2px 8px 2px;
	line-height: 1.5;
    }
}
@media (min-width: 1200px) {
    .teaser-caption {
	font-size: 1rem;
    }
}

/* yellow header (aside) */

#aside .header-bar {
    padding: 6px 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    background: #e4bd32;
    color: #000;
}

/* tags (aside: tags1. postdetails: tags2.) */

#content .tags a, #content .tags a:hover, #content .tags a:active, #content .tags a:focus {
    display: inline-block;
    padding: 0 3px 2px 3px;
    margin: 0 0.25rem 0.5rem 0.25rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.75rem;
}
#content .tags a:hover, #content .tags a:active {
    background: #eee;
}

/* summary post (homepage) */
.summary-post {
    min-height: 140px;
}

.summary-post .summary-img img {
    width: 100%;
    margin-top: 0.25rem;
}
.summary-post header h2 {
    margin-top: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}
@media (max-width: 767.9px) {
    .summary-post header h2 {
	padding-top: 0.5rem;
    }
}
.summary-post .summary-content p {
    margin-bottom: 0;
}
.summary-post footer {
    padding-top: 0.5rem;
    font-size: 0.75rem;
    text-align: right;
}
.summary-post footer .fa {
    margin-right: 0.5rem;
}
.summary-post:last-child footer .gradient-line {
    margin-bottom: 8px;
    background: transparent;
}

/* detail post */

.detail-post {
    padding-bottom: 1.5rem;
}

    .detail-post .sharebox {
	font-size: 1.5rem;
	color:grey;
}

    .detail-post .sharebox a {
	text-decoration: none;
	color: grey;
    }
    
    .detail-post .sharebox a .fa-facebook-square {
	    color:blue;
    }
    
     .detail-post .sharebox a .fa-gmail {
	    color:red;
    }
    
     .detail-post .sharebox a .fa-whatsapp {
	    color:green;
    }
    
    
    
.detail-post .warning {
		color:#C60707;
		font-weight:bold;
}

.detail-post h2 {
		font-size: 1.5rem;
	    }
	    
.detail-post h3 {
		font-size: 1.45rem;
	    }	    

	@media (min-width: 576px) { 
	    .detail-post h2 {
		font-size: 1.8rem;
	    }
	}

.detail-post > figure {
    margin-bottom: 8px;
}
.detail-post > figure img {
    width: 100%;
}
.detail-post .gradient-line {
    margin: 4px 0 8px 0;
}
.detail-post > footer {
    font-size: 0.75rem;
}
.detail-post > footer .fa {
    margin-right: 0.625rem;
    font-size: 0.875rem;
}

.detail-post .indebuurt {
        font-size: 0.9rem;
}

.detail-post .indebuurt .afstand {
        font-size: 0.6rem;
}

.detail-post .lastupdate{
    color: #939393;
    font-size: 0.75rem;
}


/* footer */

#footer .row {
    padding: 0 15px;
}
@media (max-width: 575.9px) {
    #footer .row {
	background-color: #f0f0f0;
    }
}
#footer .col {
    padding-top: 0.75rem;
    background-color: #f0f0f0;
    text-align: center;
}
#footer p {
    font-size: 0.875rem;
}
#footer a {
    display: inline-block;
    margin: 0 0.25rem;
    padding: 0.25rem;
    font-size: 0.875rem;
}

/* carousel */
.carousel-inner {
    margin-bottom: 35px;
}
/*
.carousel-indicators {
	bottom: -35px;
}
*/
.carousel-indicators li {
    background-color: rgba(32, 32, 32, 0.4);
}
.carousel-indicators .active {
    background-color: rgba(0, 32, 128, 0.8);
}
.carousel-caption {
    right:0; bottom:0; left:0;
    padding: 0.375rem 0 0.25rem 0;
    color: #000;
    background: rgba(255,255,255,.8);
}

.carousel-caption h3 {
    font-size: 0.85rem;
}

.carousel-caption * {
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .carousel-caption * {
	font-size: 1rem;
    }
}
@media (min-width: 992px) {
    .carousel-caption * {
	font-size: 1rem;
    }
}

/* contactform */

#contactform {
    padding-bottom: 1rem;
}

