/* 
  ------------------------------------------------
  Groupe VIGILIS - Pneus Unimax Stylesheet
  PVII Affinity - Boardroom framework
	Last revision - 2018-09-20
  ------------------------------------------------
*/


body {
	background-color: #fff; /* anciennement #FAFAFA; */
	font-family: 'Open Sans', sans-serif;
	margin: 0px 0px 30px 0px;
	font-size: 16px;  /*<-- hack to force Opera to adjust font size */
}

#masthead {
	position: relative;
	z-index: 4000 !important; /* z-index: 9999991;  <== Changed this value to accommodate pop-up campaigns */
	background-color: #333;
	border-bottom: 1px solid #333;
}

img {	
	border: none; 
}

hr {
  border: none;
  height: 1px;
  /* Set the hr color */
  color: #999; 
  background-color: #999;
	margin: 10px 0px;
}

/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 1.2em;
}
.p7DMM03.p7DMM.p7dmm-left {
	padding-left: 20px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right: 20px;
}


/*Baseline Adjustment for images needed with strict DOCTYPE*/
img {vertical-align: bottom;}

/*General content links */
a:link, a:visited {
	color: #004890;
	text-decoration:none; 
}

a:hover {
	text-decoration: underline;
}
/*Limit width Wrapperd */
.contain {
	max-width: 1100px; 
	margin: 0 auto;
}

.contain850 {
	max-width: 850px; 
	margin: 0px auto;
}

/**/

.contain960 {
	max-width: 960px; 
	margin: 0px auto;
	padding: 40px 0px !important;
}

/*Logo, Top menu and Banner*/
#logo {
	max-width: 1100px; margin: 0 auto;
	padding: 0px 24px 0px 24px;
	background-color: #ffffff;
	color: #000;
}

/*Top menu*/
#logo .topmenu {
	margin: 24px 6px 0px 0px; 
	font-size: .85em;
	text-align: right;
	}
#logo .topmenu a:link, .topmenu a:visited, .topmenu .lastlink {
	color: #000;
	text-decoration:none; 
}
#logo .topmenu a:hover {
	color: #C13F45;
}
.nextlink {
	border-right: 2px solid #C13F45; 
	padding: 0px 4px;
}
.lastlink {
	padding: 0px 0px 0px 4px;
}

.phone {
	margin: 0px 6px 8px 0px; 
	color: #004890;
	font-size: 1.6em; 
	text-align:right;
	white-space:nowrap;
} 
/*End topmenu */

#banner {
	padding: 0px;
	margin: 0px;
}

/*Utility Rules for images. Scalable class makes images scale with window size.*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
}
img.banner-scalable {
	height: auto !important;
	width: 100% !important;
	vertical-align: bottom;
}


/*Buttons.*/
a.btn-bleu:link, a.btn-bleu:visited { display:block; background-color: #004890; padding: 8px 10px !important; color: #fff; text-decoration: none; font-size: 1em; border: 1px solid #004890; box-shadow: 5px 5px 10px rgba(0,0,0,.5); }
a.btn-bleu:hover, a.btn-bleu:active { background-color: #fff; color: #004890; border: 1px solid #004890;}

a.btn-blanc:link, a.btn-blanc:visited { display:block; background-color: #fff; padding: 8px 10px !important; color: #004890; text-decoration: none; font-size: 1em; border: 1px solid #004890; box-shadow: 5px 5px 10px rgba(0,0,0,.5); }
a.btn-blanc:hover, a.btn-blanc:active { background-color: #004890; color: #fff; }


/*Classes for colored text boxes */

.whitebox { background-color: #fff; color: #000; }
.bluebox  { background-color: #004890; color: #fff; }
.greybox	{ background-color: transparent; color: #000; }

.squares-comments {
	background-color: #E7E7E7;
	text-decoration: none;
	color: #333;
	padding: 2px 10px; 
	margin: 0px; 
	line-height: 1.7em;
	font-size: .85em;
}

/*Largeurs de champs des formulaires */
.max60 {
	width: 60%;
}
.max80 {
	width: 80%;
}
.max90 {
	width: 90%;
}


/*Clear floats to help view better in DW wysiwyg mode ==> Added NC */
.clearall {
clear:both;
}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
}

/*Clear Fix to Clear Floats*/
.affinity-row:after {
	visibility: hidden;
	display: block;
	content: "\0020";
	clear: both;
	height: 0;
}

/*Strctural wrapper for 2-column row*/
.affinity-row .column-half {
	width: 50%;
	float: left;
}

/*Strctural wrapper for 3-column row
.affinity-row .column-third {
	width: 33.3333333%;
	float: left;
}
*/
/*Strctural wrapper for 4-column row
.affinity-row .column-fourth {
	width: 25%;
	float: left;
}
*/
.column-fourth .column-content {
	padding: 20px 8px !important;
}
/*Strctural wrapper for 5-column row
.affinity-row .column-fifth {
	width: 20%;
	float: left;
}
*/
/*Strctural wrapper for 2-column sidebar-left row
.affinity-row.sidebar-left .column-1 {
	width: 40%;
	float: right;
}
.affinity-row.sidebar-left .column-2 {
	width: 60%;
	float: right;
}
.affinity-row.sidebar-left .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-left .column-2 .column-content {
	font-size: .9em;
}
*/
/*Strctural wrapper for 2-column sidebar-right row*/

.affinity-row.sidebar-right .column-1 {
	width: 73%;
	float: left;
}
.affinity-row.sidebar-right .column-2 {
	width: 27%;
	float: left;
}
.affinity-row.sidebar-right .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-right .column-2 .column-content {
	font-size: .9em;
}
.left-border {
	border-left: 1px solid #CCC;
}
.right-border {
	border-right: 1px solid #CCC;
}
.left-right-border {
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
}
/*Column Content*/
.column-content {
	line-height: 1.5;
	padding: 8px 24px;
}

.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content,
.affinity-row.thirds.full-height .column-content {
	padding: 8px 24px !important;
}

.affinity-row.thirds {
	text-align:right;
}

/*Padding Management for Nested Rows*/
.no-pad-left-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 0px !important;
}
.no-pad-right-top-bottom {
	padding-top: 0px !important;
	padding-right: 0px !important;
	padding-bottom: 0px !important;
}
.no-pad-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

/*Padding top for 1-column row  <== Added NL*/  
.pad-top{
	padding-top: 24px;
}

/*Headings*/
h1, h2, h3, h4 {
	font-family: 'Open Sans', sans-serif;
	line-height: normal;
}
.column-content h1:first-child,
.column-content h2:first-child,
.column-content h3:first-child {
	margin-top: 0px;
}

h1 {
	font-size: 1.4em;
	margin: 0px 0px 14px 0px;
	color: #333;
	font-weight: bold;
}

h2 {
	font-size: 1.2em;
	font-weight: bold;
	color:#333;
}

h3 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 10px 0px;
	color: #004890;
}

h1 a, a:visited {
	color:#333;
}

h2 a, a:visited {
	color:#333;
}

.no-margin-top {
	margin-top: 0px;
}

.no-margin-bottom {
	margin-bottom: 0px;
}

.no-margin-top-bottom {
	margin-top: 0px;
	margin-bottom: 0px;
}

/*Footer and Copyright*/
.footer {
	background-color: #333 !important;
	font-family: 'Open Sans', sans-serif;
	color: #fff;
	font-size: 0.8em;
	padding: 2px 0px;
	line-height: 1.5em;
	text-align:center;
	border-radius: 0px 0px 5px 5px;
}

.footer a {
	color: #fff;
}
.footer a:hover, .footer a:focus {
	color: #999;
}
.copyright {
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	font-size: 0.8em;
	clear: both;
	padding: 5px;
}
.copyright a {
	color: #000;
	text-decoration: underline;
}
.copyright a:hover, .copyright a:focus {
	color: #004890;
}

.small {
	font-size: smaller;
	}


/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 860px) {

/*Conditional line breaks */
.cnd { display:none;}

.column-content {
	padding: 8px 10px !important;
}
.affinity-row.halves {
	padding: 8px 10px !important;
}
.affinity-row.thirds {
	padding: 8px 10px !important;
}

.affinity-row.thirds {
	text-align:center;
}

#logo, #logo .topmenu {
	text-align:center;
}
.phone {
	text-align:center;
} 


}




/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 740px) {
body {
	margin: 0px;
}
.p7DMM03.p7DMM.p7dmm-left, .p7DMM03.p7DMM.p7dmm-right {
	padding: 0px !important;
}
#layout {
	max-width: none;
	padding: 0px;
}
.column, .column-1, .column-2, .column-3,
.column-half, .column-third, .column-fourth,
.column-fifth {
	float: none !important;
	width: auto !important;
}
.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}

/*Top menu*/
#logo .topmenu {
	margin: 0px; 
}

/*.affinity-row .column-content.contain960 .affinity-row.halves .column-half .bluebox { background-color: #004890; margin-left: 0px !important; margin-right: 0px !important; } 
.affinity-row .column-content.contain960 .affinity-row.halves .column-half .bluebox { background-color: #004890; margin-left: 0px !important; margin-right: 0px !important; }*/
.bluebox, .whitebox{
	padding: 10px 20px !important;
}


}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 740px) and (max-width: 1120px) {
#layout {max-width: none;}
}
