/*GENERAL STYLE*/
body {
  background-image:url('images/mecv4-bckg.svg');
  background-repeat:repeat-y;
  background-position:center top;
  background-color:#A00;
 font-family: 'Raleway', sans-serif;
  color:#555;
  margin:0;  }

.noback { 
  background-image:none;
  background-color:#FFF;  }

p,ul,ol {color:#311;}
a {color:#933; text-decoration:none;}
a:hover {color:#f88;}

#bodyhead { font-family: 'Poiret One', cursive; }
#bodynav {background:none; margin:0 auto; padding:0; text-align:center; background-image:url('images/mecv4-h.svg'); background-size:contain; background-repeat:repeat-x;}
#bodynav2 {background:none; margin:0 auto; padding:0; text-align:center; background-image:url('images/mecv4-starh.svg'); background-size:contain; background-repeat:no-repeat;}

#sddm {	margin: 0;	padding-top: 15px; z-index: 30; }
#sddm li {	margin: 0;	padding: 0;	list-style: none;	float: left;	font-family: 'Raleway', sans-serif; font-size:11px; }
#sddm li a {	display: block;	margin: 0 1px 0 0; 	padding: 4px 10px;	width: auto; color: #000;	text-align: center;	text-decoration: none}
#sddm li a:hover {	background:#A00; color: #FFF; border-radius:5px; }
#sddm div {	position: absolute;	visibility: hidden;	margin: 0;	padding: 0;	background: #FFF;	border: 1px solid #A00; color:#000; }
#sddm div a {	position: relative;	display: block;	margin: 0;	padding: 5px 10px;	width: auto; white-space: nowrap; text-align: left;	text-decoration: none;	background: #FFF; color: #000; font: 11px arial #A00; }
#sddm div a:hover 	{	background: #A00; color: #FFF}
#sddm img { margin: 0; padding: 0; float:left; max-height:25px;}

#bodymain a {padding-bottom:1px; border-bottom:1px dotted;}

.post-it-note {
   font:italic bold 1.6em "Comic Sans MS", cursive, sans-serif black;
   margin: auto auto;
   width:200px;
   height:200px;
   padding:10px;
   transform: rotate(-5deg);
   -o-transform: rotate(-5deg);
   -moz-transform: rotate(-5deg);
   -webkit-transform: rotate(-5deg);
   background-color: #FFFFAA;
   border: 2px solid #CCCC77;
   border-radius: 3px;
   box-shadow: 5px 5px 5px 3px #666611;
   overflow:hidden;
   }

#gallery { 
  background:#FFF;
  background-image:none;
  padding-bottom: 5%;
}

img.gimg { 
  width:auto;
  height: auto;
  max-width:99%;
  max-height:99%;
  border: 2px solid black;
  display: block;
  margin: auto;
  padding: 0;  
  }

#gallery div.polaroid:active {
  z-index: 9999; position:absolute;
  margin: auto 20%;
  transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transform: rotate(0deg);
  -o-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -webkit-transform: rotate(0deg);
  width:60%;
  height:60%;
  max-height:400px;
  }

.polaroid { 
  font:1.2em arial, sans-serif black;  line-height:1.0em;
  text-align: center;  margin: auto;
  width:400px; position:relative;
  height:auto;  max-height:220px;
  padding:5px;  transform: rotate(-5deg);
  -o-transform: rotate(-5deg);  -moz-transform: rotate(-5deg);
  -webkit-transform: rotate(-5deg);  background-color: #FFFFFF;
  border: 2px solid #CCCCCC;  border-radius: 5px;
  box-shadow: 5px 5px 5px 3px #666666;  overflow:hidden;  }

#conditionalDateRange {visibility: hidden; display:none; height:auto; }
#conditionalDisplay {visibility: hidden; display:none; height:auto;}

#footer {background:none; clear:both; padding-top:15px;}
#footer p {margin:0; padding:10px 0 5px; border-top:1px dotted; border-bottom:1px dotted;}
#footer a {padding-bottom:1px;}
#footer sig {font-size:0.6em; color:#fcc; float:right; text-align:right;}

/*END OF GENERAL STYLE*/

/* BEGIN 0-640 PIXEL WIDTH STYLE*/
 @media only all AND (min-width: 0px ) AND (max-width: 800px ) { 

#bodypage {  background:none;  margin:0 auto;  width:540px;  height:auto;  }
body {  background-size: 590px auto;  }

h1 {  font-size:1.6em;  border-bottom:2px solid;   color:#f66;  }
h2 {  font-size:1.4em;  border-bottom:2px solid;   color:#f44;  }
h3 {  font-size:1.2em;  border-bottom:2px solid;   color:#f22;  }

#bodyhead {  background:none; margin-bottom:0px; font-size:1.2em; color:#000; font-weight:bolder; text-shadow: 2px 2px 1px #A00; }
#bodyhead p,ph {  font-size:0.6em;  text-align:right;  margin-top:0px;  }
#bodyhead img.title-image {  width:auto;  height:40px; float:right; }

img.logo {  width:0px;   height:0px;  }
.hweather {  width:0px;   height:0px; margin-bottom:-30px; bottom-border:none;}
iframe.iweather {  width:0px;   height:0px; }

#bodymain {  background:none;   float:left;    }
iframe.mec_main {  background-image:none;   float:left;     width:100%;   height:100%;  }

iframe.facebook {  width:100%;  height:62px;  margin:0 auto;  }
iframe.external {}
iframe.gcalendar {  width:100%;   height:400px;  }
iframe.proboard {  width:100%;   height:600px;  }
iframe.gallerymain {  width:100%;   height:500px;  background:none;    border-style:none;   }
iframe.twitter-timeline {width:100%; height:35px;} 
iframe.strava-sum {width:100%; height:0px;} 
iframe.strava-status {width:0%; height:0px;} 

#quads, #sides {  background:none;  clear:both;  }
#quads h1, #sides h1 {  font-size:1.3em;  }
#quads h2, #sides h2 {  font-size:1.1em;  }
#quads h3, #sides h3 {  font-size:1em;  }
.q1,.q2,.q3,.q4 ,.q5{  width:100%;  margin:0 3% 0 0;  float:left;  }
.q4 {  margin:0;  }
.q5 {  margin:0;  width: 100%;  }
.s1,.s2{  width:100%;   margin:0 3% 0 0;   float:left;  }
.s2 {  margin:0;  width: 100%;  }

}    /* End 0-800 pixel width style*/

/* BEGIN 800-1280 PIXEL WIDTH STYLE*/
 @media only all AND (min-width: 800px ) AND (max-width: 1280px ) { 

#bodypage {  background:none;  margin:0 auto;  width:760px;  height:auto;  }
body {  background-size: 840px auto;  }

h1 {  font-size:2.2em;  border-bottom:2px solid;   color:#f66;  }
h2 {  font-size:1.8em;  border-bottom:2px solid;   color:#f44;  }
h3 {  font-size:1.4em;  border-bottom:2px solid;   color:#f22;  }

#bodyhead {  background:none;  margin-bottom:0px; font-size:1.8em; color:#000; font-weight:bolder; text-shadow: 4px 4px 2px #A00; }
#bodyhead p,ph {  font-size:1em;  text-align:left;  margin-top:0px;  }
#bodyhead img.title-image {  width:auto;  height:40px; float:right; }

img.logo {  width:151px;   height:129px;  }
.hweather {  width:150px;   height:20px; margin:0px auto; border-bottom:none;}
iframe.iweather {  width:150px;   height:600px; margin: 0px auto;}

#bodymain {  background:none;    height:100%;  }
iframe.mec_main {  background-image:none;   float:left;     width:100%;   height:100%;  }

iframe.facebook {  width:100%;  height:62px;  margin:0 auto;  }
iframe.external {}
iframe.gcalendar {  width:100%;   height:500px;  }
iframe.proboard {  width:100%;   height:800px;  }
iframe.gallerymain {  width:100%;   height:600px;  background:none;    border-style:none;   }
iframe.twitter-timeline {width:100%; height:600px;} 
iframe.strava-sum {width:100%; height:160px;} 
iframe.strava-status {width:0%; height:0px;} 

#quads, #sides {  background:none;  clear:both;  }
#quads h1, #sides h1 {  font-size:1.4em;  }
#quads h2, #sides h2 {  font-size:1.2em;  }
#quads h3, #sides h3 {  font-size:1em;  }
.q1,.q2,.q3,.q4 ,.q5{  width:100%;  margin:0 3% 0 0;  float:left;  }
.q4 {  margin:0;  }
.q5 {  margin:0;  width: 100%;  }
.s1,.s2{  width:64%;   margin:0 3% 0 0;   float:left;  }
.s2 {  margin:0;  width: 30%;  }

}    /* End 800-1280 pixel width style*/

/* BEGIN 1280-1600 PIXEL WIDTH STYLE*/
 @media only all AND (min-width: 1280px ) AND (max-width: 1600px ) { 

#bodypage {  background:none;  margin:0 auto;  width:1230px;  height:auto;  }
body {  background-size: 1330px auto;  }

h1 {  font-size:2.5em;  border-bottom:2px solid;   color:#f66;  }
h2 {  font-size:2em;  border-bottom:2px solid;   color:#f44;  }
h3 {  font-size:1.5em;  border-bottom:2px solid;   color:#f22;  }

#bodyhead {  background:none;  margin-bottom:0px; font-size:2.6em; color:#000; font-weight:bolder; text-shadow: 4px 4px 2px #A00;}
#bodyhead p,ph {  font-size:3em;  text-align:left;  margin-top:0px;}
#bodyhead img.title-image {  width:auto;  height:60px; float:right; }

img.logo {  width:151px;   height:129px;  }
.hweather {  width:150px;   height:20px; margin-bottom:0px; bottom-border:none;}
iframe.iweather {  width:150px;   height:600px; }

#bodymain {  background:none;    height:100%;  }
iframe.mec_main {  background-image:none;   float:left;     width:100%;   height:100%;  }

iframe.facebook {  width:100%;  height:62px;  margin:0 auto;  }
iframe.external {}
iframe.gcalendar {  width:100%;   height:600px;  }
iframe.proboard {  width:100%;   height:900px;  }
iframe.gallerymain {  width:100%;   height:700px;  background:none;    border-style:none;   }
iframe.twitter-timeline {width:100%; height:600px;} 
iframe.strava-sum {width:100%; height:160px;} 
iframe.strava-status {width:0%; height:0px;} 

#quads, #sides {  background:none;  clear:both;  }
#quads h1, #sides h1 {  font-size:1.6em;  }
#quads h2, #sides h2 {  font-size:1.4em;  }
#quads h3, #sides h3 {  font-size:1.2em;  }
.q1,.q2,.q3,.q4 ,.q5{  width:22%;  margin:0 3% 0 0;  float:left;  }
.q4 {  margin:0;  }
.q5 {  margin:0;  width: 47%;  }
.s1,.s2{  width:64%;   margin:0 3% 0 0;   float:left;  }
.s2 {  margin:0;  width: 30%;  }

}    /* End 1280-1600 pixel width style*/

/* BEGIN 1600-10000 PIXEL WIDTH STYLE*/
 @media only all AND (min-width: 1600px ) AND (max-width: 10000px ) { 

#bodypage {  background:none;  margin:0 auto;  width:1540px;  height:auto;  }
body {  background-size: 1660px auto;  }

h1 {  font-size:2.5em;  border-bottom:2px solid;   color:#f66;  }
h2 {  font-size:2em;  border-bottom:2px solid;   color:#f44;  }
h3 {  font-size:1.5em;  border-bottom:2px solid;   color:#f22;  }

#bodyhead {  background:none;  margin-bottom:0px; font-size:4.0em; color:#000; font-weight:bolder; text-shadow: 4px 4px 2px #A00; }
#bodyhead p,ph {  font-size:2em;  text-align:right;  margin-top:0px;  }
#bodyhead img.title-image {  width:auto;  height:80px; float:right;   }

img.logo {  width:151px;   height:129px;  }
.hweather {  width:150px;   height:20px; margin-bottom:0px; bottom-border:none;}
iframe.iweather {  width:150px;   height:600px; }

#bodymain {  background:none;   height:100%;  }
iframe.mec_main {  background-image:none;   float:left;     width:100%;   height:100%;  }

iframe.facebook {  width:100%;  height:62px;  margin:0 auto;  }
iframe.external {}
iframe.gcalendar {  width:100%;   height:700px;  }
iframe.proboard {  width:100%;   height:1000px;  }
iframe.gallerymain {  width:100%;   height:800px;  background:none;    border-style:none;   }
iframe.twitter-timeline {width:100%; height:600px;} 
iframe.strava-sum {width:100%; height:160px;} 
iframe.strava-status {width:0%; height:0px;} 

#quads, #sides {  background:none;  clear:both;  }
#quads h1, #sides h1 {  font-size:1.9em;  }
#quads h2, #sides h2 {  font-size:1.6em;  }
#quads h3, #sides h3 {  font-size:1.3em;  }
.q1,.q2,.q3,.q4 ,.q5{  width:22%;  margin:0 3% 0 0;  float:left;  }
.q4 {  margin:0;  }
.q5 {  margin:0;  width: 47%;  }
.s1,.s2{  width:64%;   margin:0 3% 0 0;   float:left;  }
.s2 {  margin:0;  width: 30%;  }

}    /* End 1400-5000 pixel width style*/

/*OLDER AND SOME MOBILE DEVICE VERSION STYLESHEET*/
 @media only handheld, screen and (max-width: 320px) {

#gallery div.polaroid:hover { /* No Rotation or Growth*/
  z-index: 9999;  transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;  transform: scale(1);
  -o-transform: scale(1);  -moz-transform: scale(1);
  -webkit-transform: scale(1);  }

.polaroid { /* No Growth or overlap*/
  font:1.2em arial, sans-serif black;  line-height:1.2em;
  text-align: center;  margin: 0px 20px 10px 20px;
  width:auto;  max-width:320px;
  height:auto;  max-height:360px;
  padding:5px;  transform: rotate(0);
  -o-transform: rotate(0);  -moz-transform: rotate(0);
  -webkit-transform: rotate(0);  background-color: #FFFFFF;
  border: 2px solid #CCCCCC;  border-radius: 5px;
  box-shadow: 5px 5px 5px 3px #666666;  overflow:hidden;  }

}  /*end old systems*/

