/**********************************
Responsive navbar-brand image CSS
- Remove navbar-brand padding for firefox bug workaround
- add 100% height and width auto ... similar to how bootstrap img-responsive class works
***********************************/

.navbar-brand {
  padding: 0px;
}
.navbar-brand>img {
  height: 100%;
  padding: 15px;
  width: auto;
}



/* EXAMPLE 6 - Background Logo*/
.example6 .navbar-brand{ 
  width: 200px;
}




.pagingtab{display:block; width:100%; font-size:12px; color:#A8A8A8; text-align:center;}	




/* EXAMPLE 9 - Center with Flexbox and Text*/
.brand-centered {
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}
.brand-centered .navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-toggle {
    z-index: 1;
}




/* CSS Transform Align Navbar Brand Text ... This could also be achieved with table / table-cells */
.navbar-alignit .navbar-header {
	  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  /* height: 50px; */
}
.navbar-alignit .navbar-brand {
	top: 50%;
	display: block;
	position: relative;
	height: auto;
	-webkit-transform: translate(0,-50%);
	        transform: translate(0,-50%);
	margin-right: 15px;
  margin-left: 15px;
}





.navbar-nav>li>.dropdown-menu {
	z-index: 9999;
}
html {
  height: 100%;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  background:#efefef !important;
  height:100%;
}
.top_navigation{
	background:#ffffff !important;
}
.row.top {
    line-height: 2;
}
img.img-responsive.logo {
    margin: 10px auto;
}
.content{
	/* background:#efefef !important;  */
	  min-height:79.8%;
}
.pagination {
  display: inline-block;
  color:#ff010c;
}

.pagination a {
	color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    margin: 0 4px;
    background: #fff;
    transition: background-color .3s;
    border: 1px solid #ff010c;
	 color:#ff010c;
}

.pagination a.active {
  background-color: #ff010c;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

.pg_num{
	margin:10px auto;
}
.button {
  background-color: #ff010c; /* Green */
  border: none;
  padding:6px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0px;
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
}
.button2 {
  background-color: white; 
  color: #ff010c; 
  border: 1px solid #ff010c;
}

.button2:hover {
  background-color: #ff010c;
  color: white;
}
.left_section{
	height:800px;
	overflow: scroll;
}
.content1{
	margin-top:20px;
}
.img_thumbnail{
	margin-top:10px;
	margin-bottom:10px;
	box-shadow: 0px 0px 2px grey;
	width:95%;
}
.full_img{
	box-shadow: 0px 0px 2px grey;
	/* margin-top:10px; */
	margin-bottom:10px;
}

.footer {
  position: absolute;
  right: 0;
  /* bottom: 0; */
  left: 0;
  padding: 1rem;
  background-color: #3e3e3e;
  text-align: center;
  color:#ffffff;
}
.footer a {
    color: #ffffff;
}
.footer a:hover {
    color: #ff010c;
}
.border_bottom{
	border-bottom:1px dashed #000000;
	padding-bottom:10px;
}
/* #contact { */
  /* width: 100%; */
  /* height: 100vh; */
  /* background-color: #111; */
  /* overflow: hidden; */
  /* padding-bottom: 200px; */
/* } */

.section-header {
  text-align: center;
  margin: 0 auto;
  padding-top: 50px;
  margin-bottom: 50px;
  /* font: 300 60px 'Oswald', sans-serif; */
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 25px;
}

.contact-wrapper {
  margin: 0 auto;
  padding-top: 20px;
  position: relative;
  max-width: 800px;
}

/* Begin Left Contact Page */
.form-horizontal {
 float: left;
    max-width: 400px;
    /* font-family: 'Lato'; */
    font-weight: 400;
}
.form-horizontal1 {
 /*float: left; */
    max-width: 400px;
    /* font-family: 'Lato'; */
    font-weight: 400;
    margin: auto;
}

.form-control, textarea {
  max-width: 400px;
  letter-spacing: 1px;
}

.send-button {
  margin-top: 15px;
  height: 34px;
  width: 400px;
  overflow: hidden;
  transition: all .2s ease-in-out;
  background-color: #970007;
    border-color: #970007;
	color:#ffffff;
	    margin-bottom: 10px;
}
.send-button:hover{
	 background-color: #ff010c;
    border-color: #ff010c;
	color:#ffffff;
}

.button_contact {
  /* width: 400px; */
  height: 34px;
  transition: all .2s ease-in-out;
}

.send-text {
  display: block;
  margin-top: 10px;
  /* font: 300 14px 'Lato', sans-serif; */
  letter-spacing: 2px;
}

.button_contact:hover {
  -webkit-transform: translate3d(0px, -29px, 0px);
          transform: translate3d(0px, -29px, 0px);
}

/* Begin Right Contact Page */
.direct-contact-container {
  max-width: 400px;
  float: right;
  margin-top: 5px;
}

/* Location, Phone, Email Section */
.contact-list {
  list-style-type: none;
  margin-left: -30px;
  padding-right: 20px;
}

.list-item {
  line-height: 4;
  color: #000000;
}

.contact-text {
  /* font: 300 18px 'Lato', sans-serif; */
  letter-spacing: 1.9px;
  color: #000000;
}

.place {
  margin-left: 62px;
}

.phone {
  margin-left: 56px;
}

.gmail {
  margin-left: 53px;
}

.contact-text a {
  color: #000000;
  text-decoration: none;
  transition-duration: 0.2s;
}

.contact-text a:hover {
  color: #000000;
  text-decoration: none;
}


/* Social Media Icons */
.social-media-list {
  position: relative;
  font-size: 2.3rem;
  text-align: center;
  width: 100%;
}

.social-media-list li a {
  color: #fff;
}

.social-media-list li {
  position: relative; 
  top: 0;
  left: -20px;
  display: inline-block;
  height: 70px;
  width: 70px;
  margin: 10px auto;
  line-height: 70px;
  border-radius: 50%;
  color: #fff;
  background-color: #970007;
  cursor: pointer; 
  transition: all .2s ease-in-out;
}

.social-media-list li:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 0 2px #970007;
  transition: all .2s ease-in-out;
}

.social-media-list li:hover {
  background-color: #fff; 
}

.social-media-list li:hover:after {
  opacity: 1;  
  -webkit-transform: scale(1.12);  
          transform: scale(1.12);
  transition-timing-function: cubic-bezier(0.37,0.74,0.15,1.65);
}

.social-media-list li:hover a {
  color: #970007;
}

.copyright {
  font: 200 14px 'Oswald', sans-serif;
  color: #555;
  letter-spacing: 1px;
  text-align: center;
}

hr {
  border-color: rgba(255,255,255,.8); ;
}
.group_img{
	padding:30px 30px 50px 30px;
	margin:30px;
	background: #ffffff;
	box-shadow: 0px 0px 5px #bababa;
}


.img_thumbnail:hover {
    opacity:0.7;
	transition:all 0.4s;
	 -webkit-transition:all 0.4s;
	     box-shadow: 0px 0px 2px #151515;
}
center p{
	font-size:13px;
}
.pagination.pagination2 {
    width: 35%;
    text-align: center;
    margin: auto;
    display: block;
}

.bigscreen{ margin:2%; }

/* Begin Media Queries*/
@media(max-width:991px){
	.date_pick {
    text-align: center;
    margin-top: 10px;
}
	.form-control1{
		width:40%;
	}
	.left_section{
		display:none;
	}
	.pagination.pagination2 {
		
    width: max-content;
	margin-top: 10px !important;
	}
}
@media screen and (max-width: 760px) {
    
  .section-header {
    font-size: 65px;
  }
  .direct-contact-container, .form-horizontal {
    float: none;
    margin: 10px auto;
  }  
  .direct-contact-container {
    margin-top: 60px;
    max-width: 300px;
  }    
  .social-media-list li {
    height: 60px;
    width: 60px;
    line-height: 60px;
  }
  .social-media-list li:after {
    width: 60px;
    height: 60px;
    line-height: 60px;
  }
}

@media screen and (max-width: 569px) {

  .section-header{
    font-size: 50px;
  }
  .direct-contact-container, .form-wrapper {
    float: none;
    margin: 0 auto;
  }  
  .form-control, textarea {
    max-width: 340px;
    margin: 0 auto;
  }
  
  .name, .email, textarea {
    width: 280px;
  } 
  .direct-contact-container {
    margin-top: 60px;
    max-width: 280px;
  }  
  .social-media-list {
    left: 0;
  }
  .social-media-list li {
    height: 55px;
    width: 55px;
    line-height: 55px;
    font-size: 2rem;
  }
  .social-media-list li:after {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
  .pagination2{
	  display:block;
  }
  .pagination1{
	  display:none;
  }
  .form-control1{
	  display:none;
  }
  .form-control2{
	  display:block;;
  }
  .date_pick {
    width: 100%;
    text-align: center;
  }
  .pagination {
    float: none;
  }
  .pagination.pagination2 {
    width: 75%;
    margin-left: 30%;
    margin-top: 10px;
}
.form-control1 {
	    width: 27%;
}
}

@media screen and (max-width: 530px) {
	.pagination.pagination2 {
    width: 82%;
    margin-left: 33%;
	}
	.right_page{
		width:90% !important;
	}
}

@media screen and (max-width: 500px) {
	.pagination.pagination2 {
    width: 88%;
    margin-left: 31%;
}
}

@media screen and (max-width: 475px) {
	.pagination.pagination2 {
    /* width: 93%; */
    margin-left: 30%;
}
}

@media screen and (max-width: 435px) {
	.pagination.pagination2 {
    /* width: 100%; */
    margin-left: 29%;
}
}


@media(max-width:414px){
	.container1{
		margin:0px !important;
		padding:0px !important;
	}
	.button {
		padding:6px 8px;
	}
	.form-control1{
		width:25%;
	}
}

@media screen and (max-width: 410px) {
	.send-button {
	width: 99%;
	}
	.pagination.pagination2 {
	/* margin-left: 23%; */
	}
}
@media screen and (max-width: 380px) {
	.pagination.pagination2 {
	margin-left: 26%;
	}
	.form-control1 {
    width: 26%;
}
}
@media screen and (max-width: 360px) {
	.pagination.pagination2 {
	margin-left: 25%;
	}
}
@media screen and (max-width: 340px) {
	.pagination.pagination2 {
	margin-left: 23%;
	}
}

@media screen and (max-width: 320px) {
	.form-control1 {
		width: 34%;
	}
	.pagination.pagination2 {
	margin-left: 19%;
	}
}

@media(min-width:450px){
	img.img-responsive.logo{
		width:65% !important;
	}
}
@media(min-width:600px){
	img.img-responsive.logo{
		width:55% !important;
	}
}
@media(min-width:700px){
	img.img-responsive.logo{
		width:45% !important;
	}
}
@media(min-width:900px){
	img.img-responsive.logo{
		width:35% !important;
	}
}