/* 
  ------------------------------------------------
  Stylesheet for Éditions Histoire Vivante
  Copyright (c) 2021 - Natmark-Concept inc.
  Last Rev : 2021-09-22
  ------------------------------------------------
*/

body {
	background-color: #FFFFFF;
	font-family: Verdana, Geneva, sans-serif;
	color: #333;
	margin: 20px 0px;
}

/*Baseline Adjustment for images needed with strict DOCTYPE*/
img {vertical-align: bottom;}

/*Clear floats to help view better in DW wysiwyg mode ==> Added NC */
.clearall {clear:both;}

/*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;
}

hr { height:1px; border-width:0px; color: #384E48; background-color:#384E48; margin: 20px 20px 10px 20px;}

/*Layout Wrapper*/
#layout {
	max-width: 900px;
	margin: 0px auto;
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
	border-radius: 7px 7px 7px 7px;
	border: 1px solid #999;
}

#language { text-align: right; color: #384E48; font-size: 10px; padding-top: 6px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px }
#language a:link, #language a:visited { color: #384E48; }
#language a:hover, #language a:active { color: #384E48; text-decoration: overline; }

#masthead {
	color: #999999;
	background-color: #BFCCC3;
	padding: 0px 15px 15px 15px;
	margin-top: 0px;
	text-align: center;
	border-bottom: 1px solid #999;
	border-radius: 5px 5px 0px 0px;
}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
}

/*Strctural wrapper for 2-column row*/
.affinity-row .column-half {
	width: 50%;
	float: left;
}

/*Strctural wrapper for 2-column sidebar-left row*/
.affinity-row.sidebar-left .column-1 {
	width: 25%;
	float: left;
	background-color: #92A29A;
}
.affinity-row.sidebar-left .column-2 {
	width: 75%;
	float: left;
}
.affinity-row.sidebar-left .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-left .column-2 .column-content {
	font-size: .9em;
}

.left-border {
	border-left: 1px solid #000;
}
.right-border {
	border-right: 1px solid #000;
}
.left-right-border {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

/*Column Content*/
.column-content {
	line-height: 1.35;
	padding: 15px 24px;
}
.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content {
	padding: 20px;
}

/*Ordinary Link Styles*/
.column-2 .column-content a { color: #384E48; }
.column-2 .column-content a:hover, .column-2 .column-content a:focus { color: #333; text-decoration:overline; }

/*Margin Management */
.no-margin-top {
	margin-top: 0px !important;
}
.no-margin-bottom {
	margin-bottom: 0px !important;
}
.no-margin-top-bottom {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}


/*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;
}


/*Headings*/
h1, h2, h3, h4 {
	line-height: normal;
	margin: 30px 0px 0px 0px;
}
.column-content h1:first-child,
.column-content h2:first-child,
.column-content h3:first-child,
.column-content h4:first-child {
	margin-top: 10px;
}

h1 { font-size: 1.4em; }
h2 { font-size: 1.2em; }
h3 { font-size: 1em; }

/*Footer and Copyright*/
.footer {
	color: #000;
	font-size: 0.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid #999;
	background-color: #BFCCC3;
	margin-bottom: 0px;	
	text-align: center;
	line-height: 1.5em
}
.footer h3, .footer h4 {
	font-weight: normal;
	text-transform: uppercase;
	margin: 10px 0px 0px 0px;
}
.footer a {
	color: #000;
}
.footer a:hover, .footer a:focus {
	color: #CFC9C7;
}
.copyright {
	font-size: 0.85em;
	text-align:center;
	clear: both;
	padding: 0px 10px 15px 10px;
	margin: 0px;
}

/*1 Column for Narrow Browser Windows and Smartphones in both orientations*/
@media only screen and (min-width: 0px) and (max-width: 700px) {
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 {
	float: none !important;
	width: auto !important;
}

.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}

/* Take away all padding around responsive menu*/
.affinity-row.sidebar-left.left-right-border .column-1 { padding: 0px !important; margin: 0px !important;}
.affinity-row.sidebar-left.left-right-border .column-1 .column-content { padding: 0px !important; margin: 0px !important;}

.cnd-break {display:none;}

}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 900px) {
#layout {max-width: none;}
}
