﻿@charset "UTF-8";
@-ms-viewport {
  width: device-width;
}

@viewport {
  width: device-width;
}


.non-mobile-hide { display: none !important; }



/*
.close-btn {
  display: block;
  width: 2.625em;
  height: 2.25em;
  padding: 0;
  border: 0;
  outline: none;
  background: #333333 url("../images/icons/close-btn.svg") center center no-repeat;
  background-size: 1.875em 1.875em;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.close-btn:focus, .close-btn:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
} */

/*.nav-btn {
  display: block;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  outline: none;
  background: #333333 url("../images/icons/nav-icon.svg") left center no-repeat;
  background-size: 1.875em 1.5em;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 100%;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
} */


a.target-burger {
	z-index: 100;
	 margin: 1.125em;
	 width: 3.25em;
	 height: 3.25em;
	 position: absolute;
	
	 top: 5px;
	 display: block;
	 -webkit-transition: all 0.5s ease;
	 -moz-transition: all 0.5s ease;
	 -o-transition: all 0.5s ease;
	 transition: all 0.5s ease;
}


a.target-burger:hover {
	 cursor: pointer;
	 -webkit-opacity: 0.45;
	 -moz-opacity: 0.45;
	 opacity: 0.45;
}



a.target-burger.toggled ul.buns li.bun {
	 -webkit-transform: rotate(45deg) translateZ(0);
	 transform: rotate(45deg) translateZ(0);
}
a.target-burger.toggled ul.buns li.bun:last-child {
	 -webkit-transform: rotate(-45deg) translateZ(0);
	 transform: rotate(-45deg) translateZ(0);
}
a.target-burger ul.buns {
	 width: 1.625em;
	 height: 1.625em;
	 list-style: none;
	 margin: -0.8125em 0 0 -0.8125em;
	 padding: 0;
	 position: absolute;
	 top: 50%;
	 left: 50%;
	 -webkit-transition: -webkit-transform 1s cubic-bezier(0.23,1,0.32,1), color 1s cubic-bezier(0.23,1,0.32,1);
	 transition: transform 1s cubic-bezier(0.23,1,0.32,1), color 1s cubic-bezier(0.23,1,0.32,1);
	 -webkit-transform: translateZ(0);
	 transform: translateZ(0);
	 color: var(--main-color);
}
a.target-burger ul.buns li.bun {
	 width: 100%;
	 height: 2px;
	 background-color: var(--main-color);
	 position: absolute;
	 top: 50%;
	 margin-top: -0.75px;
	 -webkit-transform: translateY(-3.75px) translateZ(0);
	 transform: translateY(-3.75px) translateZ(0);
	 -webkit-transition: -webkit-transform 1s cubic-bezier(0.23,1,0.32,1), background-color 1s cubic-bezier(0.23,1,0.32,1);
	 transition: transform 1s cubic-bezier(0.23,1,0.32,1), background-color 1s cubic-bezier(0.23,1,0.32,1);
}
a.target-burger ul.buns li.bun:last-child {
	 -webkit-transform: translateY(3.75px) translateZ(0);
	 transform: translateY(3.75px) translateZ(0);
}



#nav .close-btn {
  display: none;
}





@media screen and (max-width:1149px){

	#container #left, #container #right{padding:3px 3px 3px 0;}
	.side_block{padding-bottom:7px;}
	
	.responsive_img{display:block;margin:auto;max-width:95% !important;height:auto !important;}
	/*div > div.img_container{width:auto !important;display:table;}
	.img_container{width:auto !important;max-width:100% !important;display:block;clear:both;}
	.img_container img.thumb{min-width:75% !important;max-width:100% !important;height:auto !important;margin:0 auto !important;clear:both;}
	*/
	.adjustHeight img.thumb{height:auto !important;}
	#container .column { display: block; float: none; width: 100% !important; }
	#slideviewer .responsive_img { max-width: 100% !important; }

}




/* ######################################################### */
/* #                             880                       # */
/* ######################################################### */
@media screen and (max-width: 55em) { /* 55em = 880px */



#jqueryslidemenu {
	     background: var(--main-color);
	    margin: 0;
		 height:100%;width:270px;position:fixed;z-index:100;top:0;left:-300px;
			overflow-x:hidden;padding-top:45px;transition:0.5s;box-shadow:0 20px 40px -10px rgba(136,136,136,.8);-webkit-overflow-scrolling:touch;padding-bottom:50px;
}

#jqueryslidemenu ul  {
	margin: 0;
	padding: 0;
	width: 100%;
	}
#jqueryslidemenu ul li {
    display: block;
    float: none;
	background: none;
	padding: 0;
	margin: 0; 
	position: relative !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
	}
#jqueryslidemenu ul li a:link, #jqueryslidemenu ul li a:visited{
	color: #fff;
	margin: 0;
	padding: 15px 20px 0 20px;
	font-size : 15px !important;
}


  #jqueryslidemenu ul li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }


#jqueryslidemenu ul li a:hover, #jqueryslidemenu ul li:hover > a, #jqueryslidemenu ul li a#current {
	color: var(--secondary-color) !important;
    background: none !important;
	    border-bottom: 1px solid var(--secondary-color);
}
#jqueryslidemenu ul li ul {
    position: static;
	margin: 0;
	padding: 0;
	top: 0;
	right: 0;

	z-index: 9999;
    border: 0;
	 background: none;
    -webkit-border-radius: 0;
    border-radius: 0;

	text-shadow: none;
  
width: 99.9999% !important;


}
#jqueryslidemenu ul li ul li  {

	margin: 0;
	padding: 0;
}
#jqueryslidemenu ul li ul li a {
	width: auto;
	margin: 0;
	padding: 10px 12px !important;
 font-size: 15px !important;
}

#jqueryslidemenu ul li ul li ul {
    margin: 0;
	padding: 0;
    -webkit-border-radius: 0;
    border-radius: 0;

}
 #jqueryslidemenu ul li ul li:last-child {
    border-bottom: none;
  }

#jqueryslidemenu ul li ul li a:hover{ /*sub menus hover style*/
    background: #444444 !important; /*#1370BF*/
    -webkit-border-radius: 0;
    border-radius: 0;

}



.img_container img.thumb { width:100%; height: auto; } 
.slide, .template_1 { width: auto; display: table; margin: auto; }


table#structure > tbody > tr > td{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;min-width:100% !important;}

#container #left, #container #right { float: none; }


#photo_gallery img, #single_image img { width: 98% !important; }
textarea { width: 95% !important; }
.middle { display: block; }

.video-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	 padding-top: 25px;
	height: 0;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%    !important;
  height: 100%   !important;

}



/*
.img_container .thumb { width: 100% !important; display: block !important; margin: 0 !important;clear: both; margin-bottom: 5px;  }*/
.responsive_img { display: block; margin: auto;  max-width: 95% !important; height: auto !important; }




}



/* ######################################################### */
/* #                       MAX   750                       # */
/* ######################################################### */

@media only screen and (max-width: 750px), only screen and (max-device-width: 750px) {

#copyright {	 padding:12px;	font-size:13px;  display: table;  margin: 0 auto; }
#backtotop { float: none; margin: 10px auto; display: table; }
#credits { width: 200px; float: none; margin: auto; padding: 10px 0;display: block; text-align: center;}

div.pagination * { font-size:20px !important; }

.blocks_pbody { width: auto !important; display: inline-block; background: none; margin: 0 2px; }

td:first-child .home_block { padding-right: 7px; }

div.blocks_pbody div { width: auto !important; max-width: 100%; } /* display:inline-block;  */

/*
div > div.img_container {  width: auto !important;   display: table; overflow: auto; background: #fff; }

.img_container { width: auto !important; max-width: 100% !important;display: block; clear: both; margin:4px 2px; }
.img_container .blocks_pthumb, .img_container .thumb, .img_container .item_thumb, .img_container .ImageWrapper, .img_container .ImageWrapper img.thumb { min-width: 75% !important; max-width: 100% !important; margin: 0 auto !important;  clear: both; } 
*/
ul#tablist, ul.block_tabs{overflow-x:auto;overflow-y:hidden;white-space:nowrap;-webkit-overflow-scrolling:touch;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box; border: 0;}
#tablist li a, ul.block_tabs li div{padding:3px 0.2em 5px .4em;font-size:18px;}

table#content_structure { width: 100% !important; }
table#content_structure > tbody > tr {display:block;}
table#content_structure > tbody > tr > td{display:inline-table;width:49% !important;float:none;vertical-align:top;padding-left:0 !important;padding-right:0 !important;}
form #page_inside table#content_structure > tbody > tr > td{width:100% !important;float:none;}

td:first-child .home_block{padding-right:7px;}


}

/* ######################################################### */
/* #                             440                       # */
/* ######################################################### */
@media only screen and (max-width:440px), only screen and (max-device-width:440px){
#header { padding: 25px 0; }
	html { -webkit-text-size-adjust: none;	}
.flex-grid{display:block;}
.flex-col { width: 100% !important; margin-bottom: 10px; }

#logo_container {  margin: auto;}
#logo_container img {    width: 50%; height: auto;}


TD, P, BODY, DIV { 	font-size: 16px; }
.template_1, .template_2 { margin-bottom: 15px; }
#container #content div#page { padding: 21px 7px !important; }
#container #content div.page_container { padding: 10px 20px; }

#container #content div#page_inside {     padding: 7px; }
#container #left, #container #right { padding: 7px !important; }
#container #content div#content_container { padding: 10px 15px; }

.img_right_float_margin { margin: 0 0 15px 15px; }
.img_left_float_margin { margin: 0 15px 15px 0; }

	/* #related_item { min-width: 95%;  } */
	#photo_gallery img, #single_image img { max-width: 99% !important; height: auto; width: auto\9; /* ie8 */ }
	#item_button { min-width: 40%; padding: 5px; }

	#item_file #item_ext { padding: 7px 10px; width: 25%; }


table#forefront_structure .img_container .blocks_pthumb{width:100% !important;}
table#forefront_structure > tbody > tr > td{display:block;width:100% !important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 !important;}
table#content_structure th, table#content_structure td, #forefront{padding:3px;}
table#content_structure{width:100%;}
table#content_structure > tbody > tr{display:block;}
table#content_structure > tbody > tr > td, table#form_structure > tbody > tr > td { clear: both; display:block;width:100% !important;float:none;vertical-align:top;padding-left:0 !important;padding-right:0 !important; padding: 5px !important; }
#page_inside table#content_structure > tbody > tr > td{width:100% !important;float:none;}


#nav { top:0; position: absolute; !important; ; height: 100%; }
#jqueryslidemenu { height:100%;width:240px;position:fixed;top:0;left:-300px;  color: #fff;transition:0.5s;box-shadow:0 20px 40px -10px rgba(0,0,0,.8);-webkit-overflow-scrolling:touch; }



.mobile-hide{-webkit-animation:fadeout .3s;-moz-animation:fadeout .3s;-ms-animation:fadeout .3s;-o-animation:fadeout .3s;animation:fadeout .3s; display:none !important; }
.non-mobile-hide{ -webkit-animation:fadein .3s;-moz-animation:fadein .3s;-ms-animation:fadein .3s;-o-animation:fadein .3s;animation:fadein .3s;display:inline-block !important;}

textarea, INPUT.editbox, select.editbox {
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
		width: 90%;
		min-width: auto;
}

div.block { width: auto !important; height: auto !important; margin-left: 0 !important; margin-right: 0 !important; }

h1              { font-size: 1.55em; }
h2              { font-size: 1.35em; }
h3              { font-size: 1.15em;  }
h4              { font-size: .83em; }
h5              { font-size: .75em; }
h6              { font-size: .50em;}


	#charity_buttons a { padding: 10px 25px; }
	#charity_required span, #charity_collected span { font-size: 20px; }

	

/*
#nav ul:before, #nav ul:after {
  content: "";
  display: table;
}
#nav ul:after {
  clear: both;
}
#nav li {
  display: block;
}
#nav li a {
  display: block;
  color: #ccc;
  font-size: 0.875em;
  line-height: 1.28571em;
  font-weight: bold;
  outline: none;
}
#nav li a:focus, #nav li a:hover, #nav ul li:hover > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
#nav li a#current {
  color: #fff;
}




  #nav .menu {

  position: relative;
	  padding: 0;
background: none;
	
	margin: 0;
	  }


  #nav:not(:target) {
    z-index: 1;
    height: 0;
  }
  #nav:target .close-btn {
    display: block;
  }
  #nav .close-btn {
    position: absolute;
    top: 1.75em;
    left: 1.875em;
  }
*/


}


/*
@media screen and (min-width: 55em) {

  #header .nav-btn {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }


}
*/