﻿@import url(https://fonts.googleapis.com/css?family=Raleway:400,500);
html {
	height: 100%;
}

body {font: normal 0.9em Franklin Gothic Demi;margin:0;}
a { color:#1155CC; }
ul li { /*padding: 6px 0;*/ }
header { display:block;padding:60px -1 0px;background-color:#d6d7d9; text-align:center; }
header a {
	font-family: Franklin Gothic Demi;
	font-size: 16px;
	line-height: 30px;
	padding: 8px 13px 7px;
	color: #555;
	text-decoration:none;
	transition: color 0.7s;
}

header a.active {
	font-weight:bold;
	width: 24px;
	height: 24px;
	padding: 4px;
	text-align: center;
	display:inline-block;
	border-radius: 50%;
	background: #4d5256;
	color: #191919;
}	

* {
  box-sizing: border-box;
}

.col-lg-d { flex: 0 0 auto; width: 100%;}

.row {
  display: flex;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create three equal columns that sits next to each other */
.column {
  /*flex: 33.33%;*/
  width: 33.33%;
  padding: 10px;
}

@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}

header ul { padding-left: 0px !important; }

.table {
	display: table;
}

.argan { float: left; }

#imgleft { float: left; margin: 0 15px 0 0; }

#imgright { float: right; margin: 0 15px 0 15px; }

.column b { font-weight: bolder; color: #ba5929; }

.nav-m {
	background-color: white; 
	list-style-type: none;
	text-align: center;
	margin: 0;
	padding: 0;
}

.nav-m li {
	display: inline-block;
	font-size: 20px;
	padding: 20px;
	color: #191919;
}

.gogo {
  position: relative;
    }

.language {
	font-weight: bold;
	text-transform: uppercase;
	font-family: lato, Helvetica, sans-serif;
	font-size: 12px;
	color: white;
	position: absolute;
  	bottom: 8px;
  	right: 8px;
	background-color:#43484d;
	padding: 2px;
    border-radius: 2px;
}

.language a {
	color: white;
	text-decoration: none;
}

.responsive-image {
	background-image: url("http://www.finances.gov.ma/Marrakech2022/images/banniere-marrakech2022-1920-300.jpg");
	background-size: cover; 
	background-position: center; 
	height: 316px;
}

@media screen and (min-width: 320px) {
    .responsive-image {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/logo-resp.jpg");
    }
}

@media screen and (min-width: 640px) {
    .responsive-image {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/logo-resp600.jpg");
    }
}

@media screen and (min-width: 1024px) {
    .responsive-image {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/banniere-marrakech2022-1920-300.jpg");
    }
}

.responsive-image-en {
	background-image: url("http://www.finances.gov.ma/Marrakech2022/images/banner-marrakech2022-1920-300.jpg");
	background-size: cover; 
	background-position: center; 
	height: 316px;
}

@media screen and (min-width: 320px) {
    .responsive-image-en {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/logo-resp.jpg");
    }
}

@media screen and (min-width: 640px) {
    .responsive-image-en {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/logo-resp600-en.jpg");
    }
}

@media screen and (min-width: 1024px) {
    .responsive-image-en {
		background-image: url("http://www.finances.gov.ma/Marrakech2022/images/banner-marrakech2022-1920-300.jpg");
    }
}

.row-img {
  display: flex;
  flex-wrap: wrap;
  margin: 5px; /*-20px;*/
}

.img-res {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%; /* set to 'auto' in IE11 to avoid distortions */
}

.column-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33% - 20px);
  /*height: 300px;*/
  margin: 10px;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column-img {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

.column-img2 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(50% - 20px);
  /*height: 300px;*/
  margin: 10px;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column-img2 {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

.col-row-img {
	flex: 0 0 auto;
	width: 100%;
	order: 2 !important;
}

.snip1143 {
	font-family: 'Franklin Gothic Demi', Arial, sans-serif;
	text-align: center;
	text-transform: uppercase;
	font-weight: 500;
}

.snip1143 * {
	box-sizing: border-box;
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

.snip1143 li {
	display: inline-block;
	list-style: outside none none;
	margin: 0 1.5em;
	overflow: hidden;
}

.snip1143 a {
	padding: 0.3em 0;
	color: #6e6f7b;
	position: relative;
	display: inline-block;
	/*letter-spacing: 1px;*/
	margin: 0;
	text-decoration: none;
}

.snip1143 a:before, .snip1143 a:after {
	position: absolute;
	-webkit-transition: all 0.35s ease;
	transition: all 0.35s ease;
}

.snip1143 a:before {
	top: 100%;
	display: block;
	height: 3px;
	width: 100%;
	content: "";
	background-color: #7d8387;
}

.snip1143 a:after {
	padding: 0.3em 0;
	position: absolute;
	top: 100%;
	left: 0;
	content: attr(data-hover);
	color: #2f343a;
	white-space: nowrap;
}

.snip1143 li:hover a, .snip1143 .current a {
  transform: translateY(-100%);
}

.Title {
    text-align: center;
    font-family: Franklin Gothic;
    font-size: 22pt;
    color: #ba5929;
}