

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Flexible iFrame */

.Flexible-container {
    position: relative;
    padding-bottom: 35%;
    /*padding-bottom: 56.25%;*/
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/******/

a.btn:focus, a.btn:hover {
  color: #ffffff;
  text-decoration: none;
}

body {
	/*padding-top: 50px;*/
	/*padding-bottom: 20px;*/
}

.ec-logo {
	float: left;
	margin-top: -3px;
}

.flag-link img {
	height: 12px;
}

.a-h1 {
	text-decoration: none;
	display: block;
	margin: 0 0 8px 0 !important;
	color: #292b2c;
	-moz-transition: all .2s ease-in;
	-o-transition: all .2s ease-in;
	-webkit-transition: all .2s ease-in;
	transition: all .2s ease-in;
}

.a-h1:hover {
	text-decoration: none;
}

p.lead {
	margin-bottom: 0rem;
}

.licence-h3s {
	padding-top: 25px;
}

.small-h3 {
	font-size: 17px;
}

h2.infographic-h2 {
    font-size: 1rem;
    text-align: center;
}

h2.voeux-title {
	font-size: 22px;
	margin: 0 0 0 0;
}

h3.voeux-title {
	font-size: 18px;
	margin: 5px 0 0 0;
}

.display-5 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.1;
}

.text-small {
	font-size: 9.5px;
}

.map-row {
	margin: 25px 0;
}

.tvajdm-row {
	margin-top: 25px;
	margin-bottom: 25px;
}

.tips-row {
	margin-top: 25px;
	margin-bottom: 25px;
}
.tips-row .btn {
    white-space: normal;
}

#map {
	height: 360px;
	width: 100%;
}

.paddington {
	padding-left: 0;
	padding-right: 0;
}

#feed > .niceMorninge:last-child {
	padding-bottom: 0;
}

.niceMorninge a {
	/*margin-left: 5px;*/
}

.niceMorninge a:hover {
	text-decoration: none;
}

.post-footer {
/*	background-image: url("/img/cabinet-belaieff-bonnes-fetes.jpg");*/
	background-image: url("/img/vue_du_cabinet_expert_comptable_yvan_belaieff.jpg");
/*	background-image: url("/img/eprix_monaco_belaieff.jpg");*/
/*	background-image: url("/img/lewis_hamilton_grand_prix_monaco_belaieff.jpg");*/
/*	background-image: url("/img/monaco_champion_france.jpg");*/
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-position: center center;
	height: 224px;
	margin-top: 10px;
	margin-bottom: 0;
	padding-bottom: 0;
}

.social-links {
	text-align: right;
}

.copyright-p {
	padding-top: 8px;
}

.social-links a {
	font-size: 32px;
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
}

.twitter-link {
	color: #000000;
}
.twitter-link:hover {
	color: #696969;
	text-decoration: none;
}

.facebook-link {
	color: #3b5998;
}
.facebook-link:hover {
	color: #183a82;
}

.linkedin-link {
	color: #007bb5;
}
.linkedin-link:hover {
	color: #0a577b;
}

.viadeo-link {
	color: #f07355;
}
.viadeo-link:hover {
	color: #d0310b;
}

.instagram-link {
	color: #8a3ab9;
}
.instagram-link:hover {
	color: #bc2a8d;
}

.clickable {
	cursor: pointer;
}

.post-date {
    display: block;
    margin-top: -.5rem;
    margin-bottom: 1rem;
    color: #9a9a9a;
}
.blog-post-meta {
    margin-bottom: 1.25rem;
    color: #999;
	font-size: 1.5rem;
}

.card-img-top {
    width: 100%;
}

.summer-div {
	background-image: url("/img/banner-summer.jpg");
	background-size: cover;
    background-position: center center;
	margin-bottom: 2rem;
	margin-top: -2rem;
	padding-top: 2rem;
	padding-bottom: 2rem;
}
.voeux-summer {
	background-color: rgba(255,255,255,0.85);
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.covid-19 {
	background-image: none;
	background-color: #c70004;
}

.albert-div {
	background-image: url("/img/Prince_Albert_II.jpg");
	margin-bottom: 2rem;
	margin-top: -2rem;
	padding-top: 30rem;
	padding-bottom: 3rem;
}

.rainier-div {
	background-image: none;
	background-color: #cf2e2e;
}

.rainier-div img {
	max-height: 156px;
}

.voeux-rainier {
	color: #fff;
}

.rainier-pic {
	position: absolute; top: -20%; right: -75%;
}

@media (max-width: 438px) {
	.voeux-rainier .voeux-title {
		font-size: 15px;
	}
	.rainier-div img {
		max-height: 136px;
	}

	.rainier-pic {
		position: absolute; top: -25%; right: 0%;
	}
}

@media (max-width: 375px) {
	.voeux-rainier .voeux-title {
		font-size: 14px;
	}

	.rainier-pic {
		position: absolute; top: -33%; right: 0%;
	}
}

.gp-div {
	background-image: url("/img/banner-gp.jpg");
}

.overlay-time {
	display: none;
}

/*****************/

/* Fête nationale */
.flag-div {
	margin-top: -2em;
	margin-bottom: 2em;
}
.flag-monaco {
	height: 10px;
}
.flag-monaco-red {
	background-color: #CE1126;
}
.flag-monaco-white {
	background-color: #fff;
}

/*****************/

/* Borders Bootstrap */

.border         { border: 1px solid #696969 !important; }
.border-top     { border-top: 1px solid #696969 !important; }
.border-right   { border-right: 1px solid #696969 !important; }
.border-bottom  { border-bottom: 1px solid #696969 !important; }
.border-left    { border-left: 1px solid #696969 !important; }

.border-0        { border: 0 !important; }
.border-top-0    { border-top: 0 !important; }
.border-right-0  { border-right: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-left-0   { border-left: 0 !important; }

/*****************/

@media (max-width: 1023px) {
	.h1-yb {
		margin-top: 0;
		font-size: 2.5rem;
	}

	.lead {
		font-size: 1.0rem;
		font-weight: 300;
	}

	.small-h3 {
		margin-top: 0;
		margin-bottom: 3px;
		font-size: 14px;
	}

	.licence-h3s {
		padding-top: 14px;
	}
}

@media (min-width: 992px) {
	h2.h2-md {
		margin-top: 10px;
	}

	h3.h3-md {
		margin-top: 12px;
	}

	.row-top {
		margin-top: 5px;
	}

	.hide-hires {
		display: none;
	}

	.flag-link img {
		margin-top: -4px;
	}
}

@media (max-width: 991px) {
	.social-links {
		text-align: center;
	}

	.hide-lowres {
		display: none;
	}

	.navbar-nav {
		margin-top: 5px;
	}

	.flag-link img {
		margin-left: 10px;
	}
}

@media (min-width: 991px) {
	.hide-hires {
		display: none;
	}
}

@media (max-width: 768px) {
	.small-h3 {
		text-align: left !important;
	}
}

@media (max-width: 650px) {
	.navbar-brand {
		font-size: 15px;
	}
}

@media (max-width: 540px) {
	.navbar-brand {
		font-size: 13px;
	}

	.display-5 {
		font-size: 1.8rem;
		font-weight: 300;
		line-height: 1.1;
	}
}

@media (max-width: 490px) {
	.navbar-brand {
		font-size: 11px;
	}
}

@media (max-width: 415px) {
	.navbar-brand {
		font-size: 9px;
	}

	.albert-div {background-position: 33rem center;}
}

@media (max-width: 375px) {
	h2.voeux-title {
		font-size: 18px;
	}

	.albert-div {background-position: 32rem center;}
}

@media (max-width: 360px) {
	.navbar-brand {
		font-size: 8.5px;
	}
}

@media (max-width: 340px) {
	.navbar-brand {
		font-size: 7.5px;
	}
}