/*
TEMPLATE FOR MEDIA QUERIES
@media screen and (min-width:1125px) {}                         --------> full layout
@media screen and (min-width:870px) and (max-width:1124px) {}	--------> content_narrow's width is fixed
@media screen and (max-width:869px) {}	

INDEX
- PG STRUCTURE
- ABOUT PANELTRONICS
- HIGHLIGHTS
- SLIDE SHOW
*/

/*-----------------------------------------------------------  PG STRUCTURE   ------------------*/
@media screen and (min-width:1180px) {
    #home section.has_aside aside { 
        order: 2;
        padding: 40px 0 0 0;
    }

    #home section.has_aside .content {
        margin: 30px auto 0;
        padding: 10px 40px;
    }    
    
    #home .content { order: 1; }
}

@media screen and (max-width: 879px) {
	section {
		margin: 0 1em;
	}
}

#home div.bg_gray div.content { 
    margin: 0;
    padding: 0;
}

.bottom_bar {
	position: absolute;
	width: 100%;
	background-color: var(--gray2);
	height: 35px;
	bottom: 0;
}

.hm_separator { margin-bottom: 45px; }

/*-----------------------------------------------------------  ABOUT PANELTRONICS   ------------*/
@media screen and (min-width: 1180px) {
	#hm_aboutus { max-width: 1000px; margin: 0 auto; }
}

#hm_aboutus {
	/*background-color: var(--gray1);*/
	/*border: 1px solid var(--gray2);*/
	padding: 50px 20px 20px;
	margin-bottom: 24px;
	text-align: center;
}

#hm_aboutus p {
	font-size: 16px;
}

#hm_aboutus .back {
	background: var(--color3000);
	border: none;
	width: 160px;
	text-align: center;
	float: none;
	position: static;
	color: white;
	opacity: 0.8;
	margin: 20px auto;
	font-size: 14px;
	padding: 8px 20px;
}

#hm_aboutus .back:hover { opacity: 1; }

/*-----------------------------------------------------------  HIGHLIGHTS   --------------------*/
#hm_highlights a { background-color: var(--gray1); }

#hm_highlights table th {
	background-color: var(--color3000);
	color: white;
	height: 64px;
	padding: 0 15px;
}

#hm_highlights img { width: 100%; }

#hm_highlights table td { padding: 3px 5px; }



/*-----------------------------------------------------------  HIGHLIGHTS-2   ------------------*/
@media screen and (min-width: 1180px) {
	.industries-serv-lists { max-height: 325px; }
}

@media screen and (max-width: 700px) {
	#hm_highlights-2 .industries-serve-home .flex .fx_2 {
		width: 100%;
	}

	#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2 {
		width: 80% !important;
	}

	#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2:hover {
		width: 80% !important;
	}
}

#hm_highlights-2 .flex h1 {
	text-align: center;
	margin-bottom: 30px;
}

.industries-serv-lists {
	background: var(--gray1);
	padding: 10px;
	border-top: 1px solid var(--color4000);
	border-bottom: 1px solid var(--color4000);
}

#hm_highlights-2 .industries-serve-home img {
	width: 100%;
}

#hm_highlights-2 .industries-serve-home .flex {
	margin-bottom: -17px;
}

#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2 {
	/*width: calc(80%/2);*/
	margin: 0 auto;
	transition: all .2s ease-in-out;
}

#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2:hover {
	width: calc(93%/2);
	transition: all .2s ease-in-out;
}

#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2:hover td {
	opacity: 1;
	transition: all .2s ease-in-out;
}

#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2 img {
	width: 100%;
	transition: all .2s ease-in-out;
}

#hm_highlights-2 .flex  .fx_2 .solutions-home .fx_2 td {
	font-size: 0.9em;
	color: white;
	background: var(--color2000);
	height: 50px;
	padding: 0 5px;
	text-align: center;
	opacity: 0.8;
	position: relative;
	top: -6px;
	transition: all .2s ease-in-out;
}

#hm_highlights-2 .flex .fx_2 .solutions-home .fx_2 a:hover { opacity: 1; }

/*------------------------------------------------------  HIGHLIGHTS | MARINE  --------------------*/
.hm_highlights-marine {
	max-width: 860px;
	margin: 0 auto;
}

.hm_highlights-marine .marine-box {
	max-width: 260px;
	width: 100%;
	background: var(--gray1);
	padding: 15px;
	position: relative;
	border: 1px solid var(--gray2);
	min-height: 390px;
}

.hm_highlights-marine .marine-box img {
	width: 100%;
}

.hm_highlights-marine .marine-box h4 {
	text-align: center;
	text-transform: uppercase;
	font-size: 12px;
	color: var(--color2000);
	margin-top: 10px;
	margin-bottom: 10px;
}

.hm_highlights-marine .marine-box p {
	font-size: 14px;
}

.hm_highlights-marine .marine-box .btn-readmore {
	position: absolute;
	background: var(--color2000);
	padding: 3px 5px;
	font-size: 11px;
	text-transform: uppercase;
	color: white;
	right: 15px;
	bottom: 15px;
}

.hm_highlights-marine .marine-box .btn-readmore:hover {
	background: var(--color4000);
}

.hm_highlights-marine .marine-box .cots-sign {
	position: absolute;
	left: 15px;
	bottom: 15px;
	width: 50px;
}

/*----------------------------------------------------------  ALL PRODUCTS   -------------------*/
#all_products {
	background: #3e5c7c url(../../images/bg-allproducts-blue.jpg) no-repeat top center;
	background-size: auto;
	padding-top: 30px;
}

#all_products a{
	color: var(--gray1);
}

#all_products a:hover{
	color: #9fceff;
}

#all_products h3 {
	color: #A2C2E3;
	text-transform: uppercase;
	font-size: 18px;
}

#all_products .flex .fx_3,
#all_products .flex .fx_4,
#all_products .flexC .fx_3,
#all_products .flexC .fx_4 { margin-bottom: 50px; }

#all_products dl dd {
	line-height: 1.5em;
	font-size: 14px;
	color: white;
}

/*-----------------------------------------------------------  SLIDE SHOW   --------------------*/
.royalSlider > .slide_home { display:none; }

.slide_home {
	background-size: cover;
	height: 100%;
}

@media screen and (min-width:1180px) {
	#slide_industries { height: 435px; }
	
	.content .slide_home > h1 {
		padding-top: 20px; 
		line-height: 45px !important;
		font-size: 40px !important;}
}

@media screen and (min-width: 850px) and (max-width: 1179px) {
	.slide_home > h1 {
		line-height: 30px !important;
		font-size: 28px !important;
		padding: 10px 0 0;
	}

	.slide_home > h3 { font-size: 16px; margin-top: -10px; }
	
	.slide_home img { width: 60%; }

	.slide_home p {
		font-size: 11px !important;
		line-height: 17px !important;
		margin-bottom: 15px !important;
	}

	.slide_home ul {
		margin-bottom: 15px;
	}

	.slide_home ul li {
		font-size: 11px !important;
		line-height: 16px !important;
		margin-bottom: 0 !important;
	}

	
	.rsSlide a { padding: 4px 20px !important; }
}

@media screen and (min-width: 480px) and (max-width: 849px) {
	.slide_home > h1{
		padding-top: 2vw;
		line-height: 30px !important;
	}
	
	.slide_home img {
		width: 60%;
	}

	.content .slide_home > h3,
	.content .slide_home p,
	.content .slide_home ul {
		display: none;
	}

	.content .slide_home p.link-more {
		display: block;
		margin-top: 6px;
	}

	.content .slide_home p.link-more .more {
		padding: 2px 15px !important;
	}
}

.rsSlide {
	height: 100%;
	width: 100%;
}

#slide_industries { overflow: hidden; }

.content .slide_home > h1 {
	color: var(--color2000);
	line-height: 3vw;
	font-size: 3vw ;
}

.slide_home > img { 
	float:right;
}

.slide_home p {
    font-size: 18px;
    line-height: 25px;
}

.rsSlide a.more {
	color: white;
	display: inline-block;
	padding: 8px 20px;
	background-color: var(--color3000);
	text-transform: uppercase;
	font-size: 14px;
}

.rsSlide a.more:hover { 
	background-color: var(--color1000); 
	color: white;
}

.rsSlide a { color: var(--color1000); }

.rsSlide a:hover { color: var(--color2000); }


/***************
*
*  1. Arrows
*
****************/

.rsDefault .rsArrow {
	height: 100%;
	width: 44px;
	position: absolute;
	display: block;
	cursor: pointer;
	z-index: 21;
}
.rsDefault.rsVer .rsArrow {
	width: 100%;
	height: 44px;
	
}
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
.rsDefault.rsVer .rsArrowRight { bottom: 0;  left: 0; }

.rsDefault.rsHor .rsArrowLeft { left: 0; top: 0; }
.rsDefault.rsHor .rsArrowRight { right: 0; top:0; }

.rsDefault .rsArrowIcn {		
	width: 32px;
	height: 32px;
	top: 50%;
	left: 50%;
	margin-top:-16px;	
	margin-left: -16px;

	position: absolute;	
	cursor: pointer;	
	background: url('../../Library/royal_slider/rs-default.png');

	background-color: #000;
	background-color: rgba(0,0,0,0.75);
	*background-color: #000;
	
	border-radius: 2px;
}
.rsDefault .rsArrowIcn:hover {
	background-color: rgba(0,0,0,0.9);
}

.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }

.rsDefault.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
.rsDefault.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }

.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20);  *display: none; }


/***************
*
*  3. Thumbnails
*
****************/
.rsNav.rsThumbs.rsThumbsHor {
	background-color: var(--gray2);
	color: #131313;
    position: absolute;
    bottom: 0;
	height: 35px;
	z-index: 3;
	width: 100%;
}

.rsDefault.rsWithThumbsHor .rsThumbsContainer {
	position: relative;
	height: 100%;
	width: 1150px;
}

.rsDefault .rsThumb {
	float: left;
	overflow: hidden;
	text-transform:uppercase;
}

.rsDefault .rsThumb img {
	width: 100%;
	height: 100%;
}

.rsDefault .rsThumb.rsNavSelected {
	background: #131313;
	color: white;
}

.rsDefault .rsThumb.rsNavSelected img {
	opacity: 0.3;
	filter: alpha(opacity=30);
}

.rsDefault .rsTmb {
	display: block;
	font-size: 14px;
	padding: 10px 20px;
	min-width: 250px;
	/*font-weight: bold;*/
}

/* Thumbnails with text */
.rsDefault .rsTmb h5 {
	font-size: 16px;
	margin: 0;
	padding: 0;
	line-height: 20px;
	color: #FFF;
}
.rsDefault .rsTmb span {
	color: #DDD;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 18px;
}


/* Thumbnails arrow icons */
.rsDefault .rsThumbsArrow {
	height: 100%;
	width: 20px;
	position: absolute;
	display: block;
	cursor: pointer;	
	z-index: 21;	
	background-color: #313131;
}
.rsDefault .rsThumbsArrow:hover {
	background: rgba(175,16,15,0.9);
}
.rsDefault.rsWithThumbsVer .rsThumbsArrow {
	width: 100%;
	height: 20px;
}
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0;  left: 0; }

.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }

.rsDefault .rsThumbsArrowIcn {		
	width: 16px;
	height: 16px;
	top: 50%;
	left: 50%;
	margin-top:-8px;	
	margin-left: -8px;
	position: absolute;	
	cursor: pointer;	
	background: url('../../Library/royal_slider/rs-default.png');
}

.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }

.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }

.rsDefault .rsThumbsArrowDisabled { display: none !important; }



/***************
*
*  4. Tabs
*
****************/

.rsDefault .rsTabs {
	width: 100%;
	height: auto;
	margin: 0 auto;
	text-align:center;
	overflow: hidden; padding-top: 12px; position: relative;
}
.rsDefault .rsTab {
	display: inline-block;
	cursor: pointer;
	text-align: center;
	height: auto;
	width: auto;
	color: #333;
	padding: 5px 13px 6px;
	min-width: 72px;
	border: 1px solid #D9D9DD;
	border-right: 1px solid #f5f5f5;
	text-decoration: none;

	background-color: #FFF;
	background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4); 
	background-image:    -moz-linear-gradient(top, #fefefe, #f4f4f4);
	background-image:         linear-gradient(to bottom, #fefefe, #f4f4f4);

	-webkit-box-shadow: inset 1px 0 0 #fff;
	box-shadow: inset 1px 0 0 #fff;

}
.rsDefault .rsTab:first-child {
	-webkit-border-top-left-radius: 4px;
	border-top-left-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	border-bottom-left-radius: 4px;
}
.rsDefault .rsTab:last-child { 
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	-webkit-border-bottom-right-radius: 4px;
	border-bottom-right-radius: 4px;

	border-right:  1px solid #cfcfcf;
}
.rsDefault .rsTab:active { 
	border: 1px solid #D9D9DD;   
	background-color: #f4f4f4;
	box-shadow:  0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
.rsDefault .rsTab.rsNavSelected { 
	color: #FFF;
	border: 1px solid #999;
	text-shadow: 1px 1px #838383;
	box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
	background: #ACACAC;
	background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
	background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
	background-image: linear-gradient(to bottom, #ACACAC, #BBB);
}



/***************
*
*  7. Preloader
*
****************/

.rsDefault .rsPreloader {
	width:20px;
	height:20px;
	background-image:url(../preloaders/preloader-white.gif);

	left:50%;
	top:50%;
	margin-left:-10px;
	margin-top:-10px;	
}



/*-----------------------------------------------------------  SLIDE SHOW | MARINE  --------------------*/
/*.royalSlider > .slide_home_marine { display:none; }*/

.slide_home_marine {
	background-size: cover;
	height: 100%;
}

@media screen and (min-width:1180px) {
	#slide_marine { height: 400px; }

	.slide_home_marine img { width: 1200px; }
}

@media screen and (min-width: 850px) and (max-width: 1179px) {
	.slide_home_marine img { width: 100%; }
}

@media screen and (max-width: 849px) {	
	.slide_home_marine img {
		width: 100%;
	}
}

#slide_marine { overflow: hidden; }


#slide_marine .rsNav.rsThumbs.rsThumbsHor {
	display: none;
}

/*.content .slide_home_marine > h1 {
	color: var(--color2000);
	line-height: 3vw;
	font-size: 3vw ;
}*/

/*.slide_home_marine > img { 
	float:right;
}