/* Simple Gallery */

.sgalallcontent {
    width: 100%;
    height: 100%;
    margin: 0 auto 0 auto;
    position: relative;
    float: left;
    border: 0px dashed #BCBCBC;
}
.sgalcontent {
    width: 94%;
    height: 100%;
    margin: 0 auto 0 auto;
    position: relative;
    border: 0px dashed #BCBCBC;
}
.sgalcontentheader {
    width: 94%;
    height: 100% !important;
    position: relative;
    margin: 0 auto 0 auto;
}
.sgalcontentfooter {
    width: 94%;
    height: 100% !important;
    position: relative;
    margin: 0 auto 0 auto;
}
.sgalnav {
    float: left;
    position: relative;
    width: 97%;
    margin: auto;
    height: auto;
    padding: 1%;
}

/*--- simgal ---*/
.simgal{
	padding: 0.5em 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}
.simgal-head{
	margin-bottom:15px;
}
.simgal-head h3{
	font-weight: 700;
	text-transform: uppercase;
	color: #4d7f88;
	margin: 0;
	padding: 0 0 0.5em 0;
}
.simgal-item{
	position:relative;
	xxbackground-image: url(../img/b.png);
	xxbackground-size: contain;

	xbackground-size: cover;
	xxbackground-size: 100% 100% ;
	xxbackground-repeat: no-repeat ;
	xxwidth:477px;
	xxheight:477px;
}
.simgal-item-pic{
	position:relative;
}
.qsimgal-item-pic1 img{
    height: 220px;
    width: auto;
    margin: 0 auto;
    position:relative;
    max-width: 100%;
}
.simgal-item-pic img{
	width:100%;
    height: 100%;
    margin: 0 auto;
    z-index: 0;
          /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 0px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 0px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 0px; 
}
.qsimgal-item-pic a img{
    height: 220px;
    margin: 0 auto;
    width: auto;
}
.simgal-item-info{
	position:absolute;
	bottom:0px;
    padding: 0.3em;
	width:100%;
    height: 50%;
	background:rgba(247, 214, 0, 0.7);
	text-align:center;
	display:none;
    z-index: 1;
    -o-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.simgal-title-info{
	position:relative;
	width:100%;
    height: 3.2em;
    padding: 0.05em;
	text-align:center;
    background:#9b2124;
	display: block;
}
.simgal-item-info h3{
	margin-top: 0.4em;
	color:#000;
	font-weight:300;
    font-size: 1.2em;
    line-height: 1.3em;
	text-transform:uppercase;
	margin-bottom:0;
	padding:0;
}
.simgal-item-info p{
	color:#fff;
    font-weight:300;
    font-size: 1.0em;
    line-height: 1.1em;
	width:95%;
	margin:0 auto;
}
.simgal-title-info h3{
	margin-top: 0.2em;
	color:#fff;
    font-size: 1.2em;
    line-height: 1.3em;
	font-weight:300;
	text-transform:uppercase;
	margin-bottom:0;
	padding:0;
}
.simgal-title-info p{
	color:#ccc;
    font-size: 1.0em;
    line-height: 1.1em;
	width:95%;
    font-weight:300;
	margin:0 auto;
}
.simgal-grid-b:hover div.simgal-item-info{
	display:block;
}
.simgal-grid-a:hover div.simgal-item-info{
	display:block;
}
.simgal-grids{
	padding:0;
    margin-left: -15px;
    margin-right: -15px;
}
.simgal-grids-caption{
	background:#f2f2f2;
	padding:1.5em 0;
}
.simgal-grids-caption-left{
	float: left;
	width: 77%;
	margin-top: 0.38em;
}
.simgal-grids-caption-right{
	float:right;
	width:20%;
}
.simgal-grids-caption-left h4{
	color:#4d7f88;
	font-weight:700;
	font-size:1.3em;
	margin:0;
	padding:0 0 0.3em 0;
}
.simgal-grids-caption-left p{
	margin:0;
	padding:0;
	color:#777;
}
.simgal-grid-a {
	margin: 0 0 2em 0;
	border: 0px solid #f7d600;
    background: #fff;
      /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 0px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 0px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 0px; 
}
.simgal-grid-b {
	margin: 0 0 2em 0;
	border: 0px solid #f7d600;
    background: #fff;
      /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 0px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 0px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 0px; 
}
.simgal-grid-a:hover div.simgal-item-pic img{
}
.simgal-grid-b:hover div.simgal-item-pic img{
}
a.simgal-btn:hover{
	border-color:#FFF;
	color:#FFF;
}
/* simgal*/

.sgalrequired {
  color: #EE0000;
}
.captcha_table tbody td {width: 300px; padding: 4px; vertical-align: top;   border-bottom: 0px solid #4d7f88;}
.captcha_table {
	padding-top: 5px;
    margin-right: 4px;
    width: 100%;
}

.captcha_table .image_captcha {
	border: 0;
    width: 65%;
}
.captcha_table .captcha_expl{
    width: 20%;
}
.captcha_table .text_captcha{
    padding-left: 4px;
    width: 65%;
}
/*** Dont remove the class nixhier, this is required for ASP ***/
.nixhier {
	display:none;
}

.simgalform * {
	margin:0 auto;
	padding:0;
    width: 100%;
    max-width: 500px;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
.simgalform input[type="text"],
.simgalform input[type="email"],
.simgalform input[type="tel"],
.simgalform input[type="url"],
.simgalform textarea,
.simgalform button[type="submit"] {
	font-family: inherit;
	font-size: inherit;
    width: 60px;
}

.simgalform input[type="radio"],
.simgalform input[type="checkbox"] {
    margin: 0 10px 0 5px;
    vertical-align: middle;
}

.simgalform {
}

.simgalform .grouping { 
	padding:5px 0;
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid transparent;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 5px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 5px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 5px; 
    margin: 0 0 5px;
    width: 100%;
}
.simgalform .full { clear: both;}
.simgalform .half { width: 49.5%; margin-right:0.5%; float: left;}
.simgalform .onethird { width: 32.833%; margin-right:0.5%; float: left;}
.simgalform .twothird { width: 66.167%; margin-right:0.5%; float: left;}

.simgalform .pullright { margin-right:0; float: right;}
.simgalform .half.pullright { width: 50%;}
.simgalform .onethird.pullright { width: 33.333%;}
.simgalform .twothird.pullright { width: 66.667%;}

.simgalform label { display: block; width: 100%; }
.simgalform label label { 	cursor:pointer;}
.simgalform .hidden { display:none; }
.simgalform .error { 
	color: #ff4136; 
	font-weight: bold;
	border:1px solid #ff4136;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 0px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 0px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 0px; 
	padding:5px; 
	margin-bottom: 10px; 
}

@media screen and (max-width: 468px) {
	.simgalform .half { width: 100%; margin-right:0; float: none;}
	.simgalform .onethird { width: 100%; margin-right:0; float: none;}
	.simgalform .twothird { width: 100%; margin-right:0; float: none;}
	.simgalform .half.pullright { width: 100%;}
	.simgalform .onethird.pullright { width: 100%;}
	.simgalform .twothird.pullright { width: 100%;}
	.simgalform .error { width: 100%; }
}

@media screen and (max-width: 768px) {
.simgal-grids{
	padding:0;
    margin-left: 0px;
    margin-right: 0px;
}
}

.simgalform label span {
	cursor:pointer;
	display:block;
	margin:0 5px;
	font-weight:400;
}
.simgalform4 label span span {
	cursor:default;
	color:#ff4136;
	display:block;
	margin:0px;
	font-weight:400;
}

.simgalform input[type="text"],
.simgalform input[type="email"],
.simgalform input[type="tel"],
.simgalform input[type="url"],
.simgalform select,
.simgalform textarea {
	width:100%;
	height: auto;

	border:1px solid #CCC;
	margin:0 0 5px;
	padding:5px;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 0px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 0px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 0px; 
	outline: 0 none;

}
.simgalform input[type="text"]:hover,
.simgalform input[type="email"]:hover,
.simgalform input[type="tel"]:hover,
.simgalform input[type="url"]:hover,
.simgalform select:hover,
.simgalform textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #666;
}
.simgalform input[type="text"]:focus,
.simgalform input[type="email"]:focus,
.simgalform input[type="tel"]:focus,
.simgalform input[type="url"]:focus,
.simgalform select:focus,
.simgalform textarea:focus {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
    border-color: #66AFE9 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 4px rgba(102, 175, 233, 0.6);
    outline: 0 none;
}
.form-control:focus {
}
.simgalform textarea {
	height:100px;
	max-width:100%;
}
.simgalform button[type="submit"] {
	cursor:pointer;
	width: 100px;
	border:none;
	background: #828c95;
	color:#FFF;
	margin:0 0 5px;
	padding:5px;
  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
  -webkit-border-radius: 5px; 

  /* Firefox 1-3.6 */
  -moz-border-radius: 5px; 
  
  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
  border-radius: 5px; 
}
.simgalform button[type="submit"]:hover {
	background: #b5bdc8;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}
.simgalform button[type="submit"]:active {
	box-shadow:inset 0 1px 3px rgba(0,0,0,0.5);
}

.simgalform .missing {
	border: 1px solid #ff4136 !important;
}
::-webkit-input-placeholder {
    color:#888;
}
:-moz-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
:-ms-input-placeholder {
    color:#888;
}

/* Simple Gallery */
