/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    /* NON IE HACK TO SHOW INACTIVE SCROLLBAR AVOIDING LEFT SHIFT OF LAYOUT ON LONG PAGES */
    /* http://archivist.incutio.com/viewlist/css-discuss/42371 */
    /* overflow: -moz-scrollbars-vertical; */
    /* http://www.electrictoolbox.com/vertical-scrollbar-firefox-chrome-safari-opera/ */
	overflow-y: scroll;
}

html.overflowHidden{ overflow:hidden;}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */
::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}
::selection {
    background: #b3d4fc;
    text-shadow: none;
}
/*
 * A better looking default horizontal rule
 */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}
/*
 * Remove default fieldset styles.
 */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
/*
 * Allow only vertical resizing of textareas.
 */
textarea {
    resize: vertical;
}
/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */
.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}



/* //////////////////////////////////////////////////////////////////////////   */
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
	margin:0; padding:0;
	font-family: 'Alegreya Sans', sans-serif;
	font-weight:300;
	font-size:17px;
	line-height:normal;
	color:#27384E;
}
.container {
    width: 1004px;
    padding: 0 10px;
    margin: 0 auto;
}

#Header{	
	width:100%;
	min-width:1024px;
	color:white;
	background-color:#bbb;
	height:auto;
	position:relative;
	text-align:center;
	margin-bottom:50px;
    border-top:12px solid #669966;
}

#MainImgHp {
	width: 1024px;
	height: auto;
	margin: 0 auto;
	position: relative;
	z-index: 0;
}
.mainImgHp {
	width:1024px;
	height:auto;
	margin:0 auto;
}


#headerImagePrint { display:none; }

.responsive {
    width: 100%;
    height: auto;
}

.amazonBanner1 {
    position: absolute;
    top: 0;
    left: 30px;
    display: block;
}

.amazonBanner2 {
    display: none;
}

.titleInfo{	
	position:absolute; 
	text-align:left;
	color:#27384E;
	top:218px;
	left:30px;
	padding: 22px 30px;
	background-color:rgba(255,255,255,0.7);
}
.titleInfo h1 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size:58px;
	font-weight:500;
	margin:0;
	color:#28405f;
}
.titleInfo h1 span {
	font-size:29px;
}
.titleInfo .info {
    font-size:28px; 
    font-weight:300; 
    line-height:28px; 
}

/* targeting header low heigth images info*/
img.lowImg + div.titleInfoWrapper .titleInfo{
	top:30px;
	left:30px;
	padding: 22px 30px;
	background-color:rgba(255,255,255,0.7);

}
img.lowImg + div.titleInfoWrapper .titleInfo h1 {
	font-family: 'Alegreya Sans SC', sans-serif;
	font-size:58px;
	font-weight:500;
	margin:0;
	color:#28405f;
}
img.lowImg + div.titleInfoWrapper .titleInfo h1 span {
	font-size:17px;
}
img.lowImg + div.titleInfoWrapper .titleInfo .info {
    font-size:19px; 
    font-weight:300; 
    line-height:21px; 
}

.videoBox {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoBox iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.row .col3 {
    width:33.33%;
    width:calc(1003px / 3); /* 1004px gave a problem with IE on Windows 8 or Edge on Win10*/
    float: left;
    padding: 0 10px;
	-moz-box-sizing:border-box; 
    -webkit-box-sizing: border-box;     
    box-sizing:border-box;
}
#Tools .row .col4 {
    width: 25%;
    width: calc(1003px / 4); /* 1004px gave a problem with IE on Windows 8 or Edge on Win10*/
    float: left;
    padding: 0 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* Spec for HomePage */
.hpBox {
    margin-bottom:16px;
    padding:10px !important;
}

.hpBox a {
	text-decoration:none;
	color:#27384E;
}
.hpBox a:hover {
	text-decoration:none;
	color:#669966;
}

.hpBox:hover{
	background-color:#eee
}

/* /////	MENU RELATED */
nav{ background:url('/images/bluestrip.png') repeat-x bottom; display:block; z-index:100;}
.main-navigation{ width:984px; margin:-16px auto 0 auto;}
.open-nav { display:none;}
.close-nav{ display:none; }

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
}
/* Set the parent <li>’s CSS position property to ‘relative’. */
nav ul li {
  display: block;
  position: relative;
  float: left;
}

nav ul.level1 li {
  margin-left:1px;
}
nav ul.level1 li:first-of-type {
  margin-left:0;
}
nav ul.level2 li{ margin-left:0; }
nav ul.level3{ margin-left:2px;}

/*  hide the sub menus. */
nav li ul {
    display: none;
	-webkit-box-shadow: 1px 1px 2px 1px rgba(204,204,204,1);
	-moz-box-shadow: 1px 1px 2px 1px rgba(204,204,204,1);
	box-shadow: 1px 1px 2px 1px rgba(204,204,204,1);
}
nav ul ul {
	padding-top:8px;
	padding-bottom:8px;
	background-color:#ffffff;
	z-index:100;
}
nav ul ul ul {
    padding-top:8px; padding-bottom:8px;
    left: 100%;
    top: 0;
	background-color:#ffffff
}


nav ul li a.bak {
    display: block;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-size: 19px;
    font-weight: 300;
    text-transform: lowercase;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    width: 245px;
    padding-top: 5px;
    padding-bottom: 2px;
    text-align: center;
    background: #27384E;
    height: 24px;
}


nav ul li a {
  display: block;
  font-family: 'Alegreya Sans SC', sans-serif; 
  font-size:19px;
  font-weight:300;
  text-transform:lowercase;
  color:white;
  text-decoration: none;
  white-space: nowrap;
  /*width:245px;*/
  max-width:300px;
  padding:3px 25px 4px 25px;
  /*padding-top:5px;
  padding-bottom:2px;*/
  text-align:center;
  background: #27384E;
  height:24px;
  overflow:hidden;
}
nav ul li a:hover { color: #669966;}

nav ul li a {
    position: relative;
}
nav ul li a::before {
    /*background-image: linear-gradient( left, 
            rgba( 40, 64, 95, 0 ) 285px, 
            rgba( 40, 64, 95, 1 ) 300px );
        background-image: -moz-linear-gradient( left, 
            rgba( 40, 64, 95, 0 ) 285px, 
            rgba( 40, 64, 95, 1 ) 300px );
        background-image: -ms-linear-gradient( left, 
            rgba( 40, 64, 95, 0 ) 285px, 
            rgba( 40, 64, 95, 1 ) 300px );
        background-image: -o-linear-gradient( left, 
            rgba( 40, 64, 95, 0 ) 285px, 
            rgba( 40, 64, 95, 1 ) 300px );
        background-image: -webkit-linear-gradient( left, 
            rgba( 40, 64, 95, 0 ) 285px, 
            rgba(*/ 40, 64, 95, 1 ) 300px );
    content: "\00a0";
    position: absolute;
    width: 100%;
    margin-left:-25px;
}
nav ul li.hidddenLi {
    display:none;
}
/* Displays the dropdown menu on hover. */
nav li:hover > ul{
  display: block;
  position: absolute;
}
nav li:hover li { float: none; }
nav li:hover a { background: #27384E; }
nav li:hover li a {
	background: white;
	color:#27384E;
	text-align:left;
	padding-right:10px;
	padding-left:10px;
	font-size:18px;
	font-weight:400;
	width:auto;
}
nav a.iconed:after {
	content: '>';
	margin-left:10px;
} 
nav li:hover li a:hover { color:#669966;}
nav .main-navigation li ul li { border-top: 0; }

/* Simple clearfix. */
nav ul:before,
nav ul:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}
nav ul:after { clear: both;}


/* FOOTER RELATED */
footer {
    color: white;
}
footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}
/* Footer Tools */
#Tools {
    background-color: #669966;
    overflow: hidden;
    font: 23px/21px 'Alegreya Sans SC', sans-serif;
    font-weight: 300;
    text-align:center;
}
#Tools img {
    margin: 0 auto 10px auto;
}
#Tools .row .col3,
#Tools .row .col4 {
    padding: 25px 10px;
}  
/* Footer Contacts */
#Contacts {
    background-color: #27384E;
    overflow: hidden;
}
#Contacts .row .col4 {     
    width:25%;  
    width: calc(924px / 4);
    float: left;
    padding: 25px 10px;
    font-size: 17px;
    font-weight: 300;
    line-height: 19px;   
	/*-moz-box-sizing:border-box;*/ 
    /*-webkit-box-sizing: border-box;*/     
    /*box-sizing:border-box;*/
}

br.wrap {
    display:none;
}

.col3 header { overflow:hidden; margin-bottom:30px;}
.col3 header div {
	float:left;
	border-top:1px solid #27384E;
	border-bottom:1px solid #27384E;
	margin-left:15px;
	display: flex;
	justify-content: center;
	justify-content:flex-start;
	height:62px;
	width:calc(100% - 113px);
	text-align:left;
}
.col3 header div h2 {
    align-self: center;
    margin: 0;
    padding: 0;
    font-family: 'Alegreya Sans SC', sans-serif;
    font-weight: 300;
    text-transform: lowercase;
    font-size: 24px;
    line-height: 19px;
}
.imgHpBoxHeader {
    float: left;
    width: 93px;
    height: 62px;
    border: 1px solid #27384E;
}


#Contacts .row .col4 img {
    width: 25px;
    height: 25px;
    float: left;
    padding-bottom: 30px;
    margin-right: 11px;
}
    #Contacts .row .col4 img:last-of-type {
        padding-bottom: 0px;
    }

/* PAGE */
/* breadcrumb */
.breadcrumb{
	margin:0 10px 32px 10px;
	padding:14px 25px 0 25px;
	border-top:1px solid #669966;
	border-right:1px solid #669966;
	border-left:1px solid #669966;
	text-transform:lowercase;
    font: 300 17px/17px 'Alegreya Sans SC', sans-serif;
    color:#669966;
}
.breadcrumb a{
    color:#27384E;
    text-decoration:none;
}
.breadcrumb a:hover{
    text-decoration:underline;
}
span.andGt{padding:0 10px;}

/* ARTICLE */
article
{
	width: 635px;
	margin: 0 10px 20px 10px;
	float: left;
	font: 400 17px/20px 'Alegreya Sans', sans-serif;
}
article h1{
    font: 400 36px/35px 'Alegreya SC', serif;
	margin-bottom:25px;
}
article h2{
    font: 400 23px/23px 'Alegreya Sans SC', sans-serif;
    color:#669966;
    margin-top:46px;
    margin-bottom:8px;
}
article .articleIntro{ 
    color:white;
    background-color:#669966; 
    font: 300 23px/23px 'Alegreya Sans SC', sans-serif;   
    font-size:23px;
    padding:17px 27px;
	margin-bottom:32px;
}
article img{ width:100%; height:auto; margin-bottom:30px;}

big{ color:#669966;
    font: 400 76px/54px 'Alegreya SC', serif;
    float:left; 
    padding-right:6px;
}

article ul { list-style: initial;
    margin: initial;
    padding: 0 0 0 40px;
	list-style-image: url('/images/iconLi.png');
}
article li{  display: list-item;}

article li a{ color:#669966;}
article li a:hover{ text-decoration:none}


/* CATEGORY */
.category{
	margin:17px 10px 53px 10px;
	width:984px;
}
.bigVideo{
	border:1px solid #669966;
	 width:501px;
	 height:auto;
	 float:left;
	 background-color:#669966;
}
.bigVideo img{
	margin-bottom:0;
}
.guarda{
	color: white;
	height:17px;
	padding:20px;
}
.guarda a{
	color: white;
	text-decoration:none;
	font: 400 17px/auto 'Alegreya Sans', sans-serif;
}

.guarda a:before{
	content:url('/images/arrowBlueOnLGreenBig.png')
}

.guarda a:hover{
	text-decoration:underline;
}
.openLightBox:hover{ cursor:pointer}

.catRightCol{ float:right; width:423px; font: 300 15px/auto 'Alegreya Sans SC', sans-serif; }
.catRightCol h1{ font: 300 23px/19px 'Alegreya Sans SC', sans-serif; margin:0 0 13px 0; padding:0; }
.catRightCol a{ font: 500 13px/13px 'Alegreya Sans', sans-serif; display:block; padding:8px 5px 0 0; text-decoration:none;}
.catRightCol a:hover{ text-decoration:underline;}

.mainArticle{ background-color:#27384E; color:white; padding:15px; margin-bottom:20px; }
.mainArticle a{ color:white }
.mainArticle a:before{ content:url('/images/arrowWhiteOnBLue.png'); top:10px; left:-30px;}

.otherArticle{ float:left; background-color:#C7D5C7; color:#27384E; width:170px; padding:15px; margin-right:20px; }
.otherArticle:last-of-type{ margin-right:0; }

.otherArticle a { color:#27384E;}
.otherArticle a:before{ content:url('/images/arrowBlueOnLGreen.png')}

.readAll{ }
.tableLightBox{ width:100%; height:100%; position:absolute; top:0; left:0; background-color:rgba(255,255,255,0.9); display:none;  }
#LightBox{position:absolute; top:50%; left:50%;}

/* aside */
article, aside{
	margin-bottom:70px;
}
aside { 
    float:right;
    width:293px;
	margin-right: 10px;
	margin-top: 84px;
}
aside a{ text-decoration:none; color:#27384E}
aside a:hover, aside a:hover h2{ color:#669966;}
aside h1{
	font: 400 23px/23px 'Alegreya Sans SC', sans-serif; 
	color:#669966; 
	border-top:5px solid #669966; 
	border-bottom:2px solid #669966;
	padding:13px 0 10px 0;
	margin-bottom:24px;
}
aside h2{
	font: 400 23px/23px 'Alegreya SC', serif; 
	color:#27384E; 
	padding:0;
	margin-bottom:11px;
}
aside .videoBox{ border:1px solid #669966; margin-bottom:41px;}
aside .box {
	border-bottom:5px solid #EFEDED;
	padding-bottom:8px;
	line-height:21px;
}
aside .distico{
	font: 300 23px/28px 'Alegreya Sans', sans-serif;
	border-top:10px solid #669966;
	border-bottom:10px solid #669966;
	padding:20px 0;
	margin-top:130px;
	margin-bottom:127px;
}

@media only screen and (max-width: 1004px) {
    #Tools, #Contacts {
        width:1024px;
    }
}	





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */
.hidden {
    display: none !important;
}
/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}
/*
 * Hide visually and from screen readers, but maintain layout
 */
.invisible {
    visibility: hidden;
}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.clearfix:after {
    clear: both;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}
@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

.headerHidden{ display:none; position:absolute; top:0;}
@media print { 
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a,
    a:visited {
        text-decoration: underline;
    }
	/*
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
	*/
    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
	/*
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
	*/
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }

	/* Author's custom styles */
	#Header{
		border-top:1px solid #000;
		border-bottom:1px solid #000;
	}
	nav{
		margin-top:1px;
		padding-top:15px;
		border-top:1px solid #000;
	}
	#headerImage { display:none; }
	#headerImagePrint { display:block; }
	.otherArticle{padding:15px 14px; }
	.otherArticle a:before, .mainArticle a:before{ display:none; }
	.mainArticle, .otherArticle, .articleIntro{border: 1px solid #000;}
	#Tools{
		border-top:1px solid #000;
		border-bottom:1px solid #000;
	}
	#Contacts{
		border-bottom:1px solid #000;
	}
	#Tools img, #Contacts img{
		display:none;
	}
}
