/*

MOBILE SIZE
	These are the mobile styles.
*/


@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}
/* Opacity #1 */
.hover11 figure img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	
}
.hover11 figure:hover img {
	opacity: .7;
} 

.wrapper{
	width: 92%; 
	margin: 0 auto;
}
.clear { clear: both; }
.dots { border-bottom: dotted 1px #ccc; }
.round {  display: block;
margin: 0 auto;
padding: 20px;
border-radius: 50%; }

.paddingtop { padding: 30px 0;  }

/*SPACE GRID ELEMENTS VERTICALLY, SINCE THEY ARE ONE UNDER ANOTHER SO FAR*/
.grid_1,
.grid_2,
.grid_3,
.grid_3a,
.grid_3b,
.grid_6a,
.grid_4,
.grid_4a,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
/*For mobile header nav*/
.grid_7a { margin-bottom:-10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px; }

div#ccm-highlighter {z-index:100!important;}

.grid_3a { width: 50%; float: left;	display: block; } /*For footer*/
.grid_3b { display: none; } /*For footer*/
.grid_4a { width: 33.3333%; float: left;	display: block; } /*For footer*/
.grid_6a { width: 50%; float: left;	display: block; } /*For footer*/
.rowa {	 margin-left: 0; margin-right: 0; }

/* Contain floats*/ 
.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.row:after{
  clear: both;
}
}
/*End Responsive Side Nav*/
/*
LARGER MOBILE DEVICES
This is for mobile devices with a bit larger screens.
*/
@media only screen and (min-width: 481px) {

.menu-toggle{/*make menu float right, instead of sitting under the logo*/
	margin-top:10px; /*this depends on the height of the logo*/
	float:right;
}
.nodisplay { display: none; }

} 

/*
TABLET & SMALLER LAPTOPS
The average viewing window and preferred media query for those is 768px.
But I think that some more breathing space is good:)
*/
@media only screen and (min-width: 820px) {


}
@media only screen and (min-width: 991px) {
	
	/*GRID*/
/*
 & Columns : 12 

 */
 .row{
	 margin-left: -15px;
     margin-right: -15px;
}
 
.grid_1 { width: 8.33333333%; }
.grid_2 { width: 16.66666667%; }
.grid_3 { width: 25%; }
.grid_3a { width: 25%; }
.grid_3b { width: 25%; }
.grid_4 { width: 33.33333333%; }
.grid_4a { width: 33.33333333%; }
.grid_5 { width: 41.66666667%; }
.grid_6 { width: 50%; }
.grid_6a { width: 50%; }
.grid_7 { width: 58.33333333%; }
.grid_8 { width: 66.66666667%; }
.grid_9 { width: 75%; }
.grid_10 { width: 83.33333333%; }
.grid_11 { width: 91.66666667%; }
.grid_12 { width: 100%; }

.grid_7a { width: 58.33333333%; }

.grid_1,
.grid_2,
.grid_3,
.grid_3b,
.grid_4,
.grid_4a,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	float: left;
	display: block;
}
	.grid_7a {
	float: left;
	display: block;
}


}
/*
DESKTOP
This is the average viewing window. Desktops, Laptops etc
*/
@media only screen and (min-width: 1200px) {
.nodisplay { display: block; }
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
.wrapper{
	width: 92%; 
	margin: 0 auto;
}
} 

/*
LARGE VIEWING SIZE
This is for the larger monitors and possibly full screen viewers.
*/
@media only screen and (min-width: 1240px) {
.nodisplay { display: block; }
.grid_12a {
	margin-bottom:10px;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}
.wrapper{
	width: 72%; 
	margin: 0 auto;
}

#hero1{
	background: #fff;
	padding:10px 0 20px 0;
	color: #4e5b66;
}

} 

/*
RETINA (2x RESOLUTION DEVICES)
This applies to the retina iPhone (4s) and iPad (2,3) along with
other displays with a 2x resolution.
*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {
.nodisplay { display: none; }

.grid_8 {
	margin-bottom:0;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}
.book { display: none; }
.bookmob { display: inline-block; }
} 

/*
iPHONE 5 MEDIA QUERY
iPhone 5 or iPod Touch 5th generation styles (you can include your own file if you want)
*/
@media (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) { 

  .nodisplay { display: none; }
.grid_8 {
	margin-bottom:0;
	/*positioning and padding*/
	position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}
.book { display: none; }
.bookmob { display: inline-block; }
.buttonmob { display: inline-block; float: right; margin-right: 0; }

@media only screen and (min-device-width: 374px) and (max-device-width: 376px)  and (-webkit-min-device-pixel-ratio: 2) { .buttonmob { display: inline-block; float: right; margin-right: 0; }

}

/*
PRINT STYLESHEET
*/
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}