.caption{
  text-align: center;
  margin-top: 1em;
  font-size: 18px;
  font-weight: bold;
}

.blue{
  color: #058;
}

header{
	background: #fff;
}

.center{
  margin: 0 auto;
}

.header-strip{
	background: url(../images/headerstrip.jpg);
	background-size: 100% 100%;
	background-position: top left;
	height: 30px;
}

.header-strip ul{
padding: 0;
margin: 0;
text-align: right;
}

.header-strip ul li{
list-style: none;
display: inline-block;
}

.header-strip ul li a{
display:block;
line-height: 30px;
padding: 0 10px;
color: #fff;
}

.header-strip ul li a:hover{text-decoration: none;}

.header .container{
	padding-top: 1em;
	padding-bottom: 1em;
}

.header figure img{
	margin: 0 auto 5px;
}


.navbar-header img{
	float: left;
}

nav{
	border-top: 2px solid #FFFFFF !important;
	border-bottom: 2px solid #FFFFFF !important;
}

.home{
	padding-top: 1em;
	width: 100%;
	background: #fff;
}

.content p{
  color: #666 !important;
  font-size: 13px;
  line-height: 1.8em;
}

.home{
  text-align: center;
}

.home h3{
  text-transform: uppercase;
  border-bottom: 2px solid #e4322b;
  display: inline-block;
  margin-bottom: 1em;
}

.other h3{
  text-transform: uppercase;
  border-bottom: 1px solid #e5e5e5;
  display:block;
  font-size: 20px;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #2e3192;
  position: relative;
}

.other h3 span{
  display: inline-block;
  border-bottom: 2px solid #e4322b;
}

.quick-links{
	width: 100%;
	background: #fff;
	min-height: 300px;
  padding-top: 2em;
  text-align: center;
}

.quick-links h4{
  display: inline-block;
  margin-bottom: 2em;
  font-size: 24px;
  text-transform: uppercase;
  border-bottom: 1px solid #e4322b;
}

.quick-links h5{
  display: inline-block;
  margin: 1em 0 2em;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px solid #e4322b;
}

figure.mobile{
  background: url(../images/newproduct/01_Scew_Conveyor/01.jpg);
  background-size: 100% 100%;
}

figure.heavyduty{
  background: url(../images/newproduct/02_Pre_cleaner/01.jpg);
  background-size: 100% 100%;
}

figure.longspan{
  background: url(../images/newproduct/03_jet_cooker/01.jpg);
  background-size: 100% 100%;
}

figure.slottedracks{
  background: url(../images/newproduct/04_agitator/01.jpg);
  background-size: 100% 100%;
}

figure.slottedmezzanine{
  background: url(../images/newproduct/05_Elevator/01.jpg);
  background-size: 100% 100%;
}

figure.modular{
  background: url(../images/newproduct/06_milling/01.jpg);
  background-size: 100% 100%;
}

.quick-links figure{
  border-radius: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 0 0 0 rgba(89, 0, 232, 0.51), inset 0 0 0 16px rgba(58, 0, 119, 0.53), 0 1px 2px rgba(46, 0, 123, 0.44);
  transition:all 0.2s ease-in;
}

.quick-links figure:hover{
  box-shadow: inset 0 0 0 150px rgba(86, 0, 255, 0.31), inset 0 0 0 16px rgba(255, 255, 255, 0.62), 0 1px 2px rgba(0, 0, 0, 0.2);
}

.quick-links figure figcaption{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  text-align: center;
  transform:scale(0);
  transform-style:preserve-3d;
  transition:all 0.3s ease-in;
}

.quick-links figure:hover figcaption{
  transform:scale(1);
}

.quick-links figcaption a{
  position: relative;
  top: 50%;
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
  color: #fff;
  background: #e4322b;
  border: 1px solid transparent;
  transition:all 0.2s ease-in;
}

.quick-links figcaption a:hover{
  color: #fff;
  background: transparent;
  border: 1px solid #e4322b;
  text-decoration: none;
}

#enquiry {
	z-index: 100;
  position: fixed;
  top: 20%;
  left: 0;
  background: transparent;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.5s;
}
#enquiry_inner {
  position: fixed;
  top: 20%;
  left: -250px;
  width: 250px;
  height: 300px;
  padding: 20px;
  border: 3px solid #e0e0e0;
	background: rgba(245,245,245,0.9);
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.5s;
}

#enquiry_inner h5{
	color: #2e3192;
	text-transform: uppercase;
	font-size: 18px;
	padding: 5px 0;
}

#enquiry_inner .form-item{
  width: 100%;
  padding: 5px 8px;
  border:0px;
  outline: none;
  background: #f0f0f0;
  color: #2e3192;
  border:2px solid rgba(46,49,146,0.5);
  margin-bottom: 1em;
}

#enquiry_inner input[placeholder]{
  color: #000 !important;
}

#enquiry_inner .form-item:hover,
#enquiry_inner .form-item:focus{
  box-shadow: 0px 0px 5px #e4322b;
  border:2px solid #e4322b;
}

#enquiry_inner .buttons button{
      font-family: 'Trebuchet MS';
      padding: 10px 12px;
      font-size: 14px;
      outline: none;
      width: 30%;
      margin-right: 1em;
}


#enquiry_inner .submit-btn{
  padding: 8px !important;
  background: #e4322b;
  border: none;
  color: #fff;
  opacity: 1;
  transition:background 0.2s ease-in,opacity 0.2s ease-in;
}

#enquiry_inner .submit-btn:hover{
  background: rgb(46,49,146);
}

#enquiry_inner .reset-btn{
  padding: 7px !important;
  background: none;
  border:1px solid #e4322b;
  color: rgb(46,49,146);
  transition:background 0.2s ease-in,opacity 0.2s ease-in,color 0.2s ease-in;
}

#enquiry_inner .reset-btn:hover{
  background: #e4322b;	
  color: #fff;
}

#catalog {
	z-index: 100;
  position: fixed;
  top: 60%;
  left: 0;
  padding: 5px;
  background: linear-gradient(to right,#a00,#f00,#a00);
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#catalog_inner {
  position: fixed;
  top: 60%;
  left: -180px;
  width: 180px;
  height: 180px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#catalog:hover {
  left: 180px;
}
#catalog:hover #catalog_inner {
  left: 0;
}

#facebook {
	z-index: 100;
  position: fixed;
  top: 200px;
  right: 0;
  background: #395897;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#facebook_inner {
  position: fixed;
  top: 200px;
  right: -210px;
  width: 210px;
  background:repeating-linear-gradient(45deg, #111, #111 5%,#444 5%,#444 10%);
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#facebook:hover {
  right: 210px;
}
#facebook:hover #facebook_inner {
  right: 0;
}

#linkedin {
	z-index: 100;
  position: fixed;
  top: 242px;
  right: 0;
  background: #395897;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#linkedin_inner {
  position: fixed;
  top: 242px;
  right: -210px;
  width: 210px;
  background:repeating-linear-gradient(45deg, #111, #111 5%,#444 5%,#444 10%);
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#linkedin:hover {
  right: 210px;
}
#linkedin:hover #linkedin_inner {
  right: 0;
}

#twiter {
	z-index: 100;
  position: fixed;
  top: 284px;
  right: 0;
  background: #395897;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#twiter_inner {
  position: fixed;
  top: 284px;
  right: -210px;
  width: 210px;
  background:repeating-linear-gradient(45deg, #111, #111 5%,#444 5%,#444 10%);
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#twiter:hover {
  right: 210px;
}
#twiter:hover #twiter_inner {
  right: 0;
}

#googleplus {
	z-index: 100;
  position: fixed;
  top: 326px;
  right: 0;
  background: #395897;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#googleplus_inner {
  position: fixed;
  top: 326px;
  right: -210px;
  width: 210px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#googleplus:hover {
  right: 210px;
}
#googleplus:hover #googleplus_inner {
  right: 0;
}

#pintrest {
	z-index: 100;
  position: fixed;
  top: 368px;
  right: 0;
  background: #395897;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  transition-timing-function:ease-in;
}
#pintrest_inner {
  position: fixed;
  top: 368px;
  right: -210px;
  width: 210px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
  transition-timing-function:ease-in;
}
#pintrest:hover {
  right: 210px;
}
#pintrest:hover #pintrest_inner {
  right: 0;
}

footer{
	min-height: 300px;
	width: 100%;
	background: url(../images/222.jpg);
	background-position: center;
}

.footer{
	padding-top: 1em;
	min-height: 300px;
}

footer h5{
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	margin-bottom: 1em;
}

footer p{
	color: #FFFFFF;
	font-size: 12px;
}

#map { 
  padding: 10px;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 10px #888;
  width: 100%;
  height:250px;
  box-sizing:border-box;
}

footer #map { 
  padding: 10px;
  border: 3px solid #FFFFFF;
  box-shadow: 0 0 10px #888;
  width: 100%;
  height:250px;
  box-sizing:border-box;
}

.footer-links ul{
	padding: 0;
	margin: 0;
}

.footer-links ul li{
	
	list-style: none;
}

.footer-links ul li a{
	display: block;
	font-size: 12px;
	padding: 5px 0;
	color: #FFFFFF;
	border-bottom: 1px dotted #FFFFFF;
	transition:padding 0.2s ease-in;
}

.footer-links ul li a:hover{
	padding-left: 5px;
	text-decoration: none;
}

.footer-menu{
  padding: 0.8em 0;
  text-align: center;
  color: #fff;
  background: rgba(0,0,0,0.7);
  margin-top: 1em;
}

.footer-menu a{
  color: #fff;
}

.footer-menu a:hover{
  text-decoration: none;
}

.footer-strip{
  padding: 5px;
  text-align: center;
  color: #FFFFFF;
}

.footer-strip a{
  color: #fff;
}

.footer-strip a:hover{
  text-decoration: none;
}

.about{
  margin-bottom: 1em;
}

.content-header{
  width: 100%;
  padding-right: 2em;
  position: relative;
}

.about-content-header{
  background: url(../images/aboutbg.jpg);
  background-position: center center;
}

.products-content-header{
  background: url(../images/productsbg.jpg);
  background-position: center center;
}

.clients-content-header{
  background: url(../images/clientbg.jpg);
  background-position: center center;
}

.certification-content-header{
  background: url(../images/certificationbg.jpg);
  background-position: center center;
}

.contact-content-header{
  background: url(../images/contactbg.jpg);
  background-position: center center;
}

.enquiry-content-header{
  background: url(../images/enquirybg.jpg);
  background-position: center center;
}

.title h1{
  display: inline-block;
  margin-left: 1em;
  padding: 0 10px;
  color: #fff;
  text-shadow: 3px 3px 5px #000;
  background: rgba(0,0,0,0.5);
  position: absolute;
  left: 0;
}

.subtitle{
  display: table-cell;
  vertical-align: bottom;
  text-align: right;
}

.subtitle p{
  display: inline-block;
  font-size: 16px;
  padding: 0 5px;
  font-weight: bold;
  color: #fff !important;
  background: rgba(0,0,0,0.5);
  position: absolute;
  bottom: 0;
  right: 1em;
}

.overview{
  width: 100%;
  height: 480px;
  position: relative;
}

.overview img{
  position: absolute;
  animation: slide 2s infinite linear;
}

@keyframes slide {
  0%{
    margin-top: 0;
  }
  50%{
    margin-top: 30px;
  }
  100%{
    margin-top: 0;
  }
}

.contact-info{
  width: 100%;
  margin-bottom: 2em;
}

.contact-info th{
  text-transform: uppercase;
  vertical-align: bottom;
}

.contact-info td{
  vertical-align: top;
}

.contact-info th,
.contact-info td{
  padding: 8px 10px;
  border:1px solid #e5e5e5;
  font-size: 13px;
  color: #666;
}

.enquiry-box{
  width: 70%;
  margin: 2em 0;
}

.form-item{
  width: 100%;
  border: 1px solid #e5e5e5;
  margin-bottom: 1em;
  padding: 8px 15px;
  transition: all 0.1s ease-in;
}

.form-item:hover{
  border: 1px solid #c5c5c5;
}

.form-item:focus{
  border: 1px solid #d5d5d5;
  outline: 0;
}

.buttons button{
  width: 25%;
  padding: 8px;
  border-radius: 0;
  border:1px solid #e4322b;
}

.submit-btn{
  background: #e4322b;
  color: #fff;
}

.submit-btn:hover{
  background: #002060;
  border:1px solid #002060;
  color: #fff;
}

.reset-btn{
  background: #e5e5e5;
  color: #e4322b;
}

.reset-btn:hover{
  background: #888;
  color: #fff;
  border:1px solid #888;
}

.contact-box > img{
  margin-bottom: 2em;
}

.contact-box .row img{
  margin-top: 1em;
  margin-bottom: 2em;
}

/*............................

        Products

............................*/

.item-card{
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  margin-bottom: 2em;
  
}

.item-front figcaption{
  text-align: center;
  transition: all 0.3s ease-in;
}

.item-front figcaption h5{
  display: inline-block;
  font-weight: bold;
  border-bottom: 1px solid #f00;
}

.item-front{
  backface-visibility:hidden;
  transition: all 0.5s cubic-bezier(0.645,.045,.355,1);
}

.item-back{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #333;
  transform: rotateY(-180deg);
  backface-visibility:hidden;
  transition: all 0.5s cubic-bezier(0.645,.045,.355,1);
}

.item-card:hover .item-front{
  transform:rotateY(180deg);
}

.item-card:hover .item-back{
  transform:rotateY(0deg);
}

.links a{
  display: inline-block;
  background: #e4322b;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
}

.links a:hover{
  text-decoration: none;
  background: #fff;
  color: #e4322b;
}

/*....................................
    
          Product Items

....................................*/

.gallery-info {
  margin: 3em 0;
  text-align: center;
}
.gallery-info h3 {
  color: #1cd5b5;
  font-family: PoiretOne-Regular;
  margin: 0;
  font-size: 3.5em;
}
.gallery-grid img {
  width: 100%;
  position: relative;
  z-index: 0;
}
.gallery-grid:hover img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  opacity: 8;
  transition: all 300ms!important;
  -webkit-transition: all 300ms!important;
  -moz-transition: all 300ms!important;
}

.gallery-grid:hover a:before {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  color: #fff;
  background: rgba(0,0,0,0.7);
  z-index: 1;
  transform:translate(-50%,-50%);
}

.gallery-grids-middle{
  margin:2em 0;
}
.gallery-grids-top {
  margin-bottom: 4em;
}

/*...............................

        Clients

................................*/

.clients{
  padding-bottom: 2em;
}

.client-box{
  border:1px solid #e5e5e5;
  padding: 10px 0;
}

.client-box:hover{
  background: #e5e5e5;
}

.clients .col-sm-2{
  padding-right: 0 !important;
  padding-left: 0 !important; 
}


@media screen and (max-width: 768px) {
  
  .gallery-grid {
    float: left;
    width: 50%;
    margin-bottom: 2em;
  }
  .gallery-grids-middle {
    margin: 0;
  }
}

@media screen and (max-width: 320px) {
  
  .gallery-info {
    margin: 1em 0;
  }
  .gallery-info h3 {
    font-size: 2.5em;
  }
  .gallery-grid {
    float: none;
    width: 100%;
    margin-bottom: 1em;
    padding: 0;
  }
  .gallery-grids-top {
    margin-bottom: 1em;
  }
}


@media screen and (min-width: 1200px){

  .quick-links figure{
  width: 300px;
  height: 300px;
  }

  #s-links figure img{
    width: 70%;
  }

  .item-front figcaption h5{
  font-size: 16px;
}

.links a{
  padding: 10px 15px;
}

}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .quick-links figure{
  width: 250px;
  height: 250px;
  }

  .quick-links h5{
    font-size: 17px;
  }

  #s-links figure img{
    width: 80%;
  }

  .item-front figcaption h5{
  font-size: 13px;
}

.links a{
  padding: 5px 8px;
}

}

@media screen and (min-width: 769px) and (max-width: 991px) {
  .quick-links figure{
  width: 200px;
  height: 200px;
  }

  .quick-links h5{
    font-size: 15px;
  }

  #s-links figure img{
    width: 90%;
  }

.nav a{
  margin-right: 8px !important;
  font-size: 12px !important;
}

.header figure img{
  width: 50% !important;
}

.item-front figcaption h5{
  font-size: 9px;
}

.links a{
  padding: 5px 8px;
  font-size: 11px !important;
}

}

@media screen and (min-width: 769px){

.toggle-color{
	display: none;
}

	div#navbar{
		float: right !important;
	}

.nav > li{
  padding: 10px 0;
}

.nav a{
	display: block;
	background:transparent !important;
	margin-right: 15px;
	font-size: 13px;
	padding: 8px 2px 3px !important;
	font-weight: 600;
	position: relative;
	z-index: 0;
	color: #000 !important;
	transition:color 0.2s ease-in;
}

.nav a:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-bottom: 3px solid #e4322b;
	z-index: -1;
	transform:scaleX(0);
	transform-origin:left;
	transition:transform 0.2s ease-in;
}
.nav > li:hover > a{
	color: #e4322b !important;
}

.nav > li:hover > a:before{
	transform:scaleX(1);
}

.nav li.active a,
.nav li.active a:hover,
.nav li.active a:focus{
	color: #2e3192 !important;
}

.nav li.active a:before,
.nav li.active a:hover:before,
.nav li.active a:focus:before{
	transform:scaleX(1);
}
.submenu{

}

.submenu ul{
	position: absolute;
	background: rgba(245,245,245,0.9);
  top: 100%;
	width: 280px;
	padding: 0;
	border-top: 3px solid #e4322b;
	border-right: 2px solid rgba(200,200,200,1);
	border-left: 2px solid rgba(200,200,200,1);
	border-bottom: 2px solid rgba(200,200,200,1);
	display: none;
	z-index: 999999;
}

.submenu ul li{
	list-style: none;
}

.submenu ul li:first-child{
	margin-top: 10px;
}

.submenu ul li a{
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	padding: 8px 15px !important;
	font-size: 12px !important;
	border-top: 1px solid #ddd;
	color: #2e3192 !important;
	transition:color 0.2s ease-in,background 0.2s ease-in;
}


.submenu ul li a:hover{
	color: #e4322b !important;
	text-decoration: none;
	background: rgba(200,200,200,1) !important;
}

li.submenu li a:before,
li.submenu li a:hover:before,
li.submenu li a:focus:before{
	border-bottom: none;
}

.content-header{
  height: 250px;
}

.title h1{
  top: 50%;
  transform:translateY(-50%);
}

}

@media screen and (max-width: 768px){

.header figure img{
  width: 50% !important;
}

.navbar-header button{
	margin: 0 auto;
}

	.toggle-color {
		
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  margin-right: 20px;
  padding: 0;
  width: 48px;
  height: 48px;
  font-size: 0;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-color:focus {
  outline: none;
}

.toggle-color span {
  display: block;
  position: absolute;
  top: 22px;
  left: 9px;
  right: 9px;
  height: 4px;
  background: #2e3192;
}

.toggle-color span::before,
.toggle-color span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #2e3192;
  content: "";
}

.toggle-color span::before {
  top: -10px;
}

.toggle-color span::after {
  bottom: -10px;
}

.toggle-menu {
  background-color: transparent;
}

.toggle-menu span {
  transition: background 0s 0.3s;
}

.toggle-menu span::before,
.toggle-menu span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.toggle-menu span::before {
  transition-property: top, transform;
}

.toggle-menu span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.toggle-menu.is-active {
  background-color: transparent;
}

.toggle-menu.is-active span {
  background: none;
}

.toggle-menu.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.toggle-menu.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.toggle-menu.is-active span::before,
.toggle-menu.is-active span::after {
  transition-delay: 0s, 0.3s;
}

.nav{
	background: #ccc;
}

.nav a{
	display: block;
	background:transparent !important;
	font-size: 1.1em;
	padding: 12px 15px !important;
	position: relative;
	z-index: 0;
	color: #000 !important;
	transition:color 0.2s ease-in, background 0.2s ease-in;
}

.nav a:hover{
	color: #fff !important;
	background: #2e3192 !important;
}


.nav li.active a,
.nav li.active a:hover,
.nav li.active a:focus{
	color: #fff !important;
	background: #e4322b !important
}

.submenu{

}

.submenu ul{
	background: rgba(245,245,245,0.9);
	width: 100%;
	padding: 0;
	border-top: 3px solid #e4322b;
	border-right: 2px solid rgba(200,200,200,1);
	border-left: 2px solid rgba(200,200,200,1);
	border-bottom: 2px solid rgba(200,200,200,1);
	display: none;
	z-index: 999999;
}

.submenu ul li{
	list-style: none;
}

.submenu ul li:first-child{
	margin-top: 10px;
}

.submenu ul li a{
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	padding: 8px 15px !important;
	font-size: 12px !important;
	border-top: 1px solid #ddd;
	color: #2e3192 !important;
	transition:color 0.2s ease-in,background 0.2s ease-in;
}

.submenu ul li a:hover{
	color: #e4322b !important;
	text-decoration: none;
	background: rgba(200,200,200,1) !important;
}

li.submenu li a:before,
li.submenu li a:hover:before,
li.submenu li a:focus:before{
	border-bottom: none;
}

.short-links{
	padding-left: 2em;
	padding-right: 2em;
}

.short-links figure{
  position: absolute;
  top: 0;
  width: 100%;
  height:100%;
}

.short-link img{
  width: 70%;
}
.short-links{
	width: 70%;
	margin: 0 auto;
}

.content-header{
  height: 200px;
}

.title h1{
  top: 10%;
}

}
@media screen and (max-width: 768px) and (min-width: 400px){

.quick-links figure{
  width: 300px;
  height: 300px;
  }

  .item-front figcaption h5{
  font-size: 16px;
}

.links a{
  padding: 10px 15px;
}

}


@media screen and (min-width: 601px){
  .title h1{
    font-size: 50px;
  }
}

@media screen and (max-width: 600px){
.short-link img{
  width: 100%;
}
.short-links{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

}

@media screen and (max-width: 399px) and (min-width: 270px){

.quick-links figure{
  width: 240px;
  height: 240px;
  }

  .quick-links h5{
    font-size: 16px;
  }

  .links a{
  padding: 10px 15px;
}

}

@media screen and (max-width: 269px) and (min-width: 176px){

.quick-links figure{
  width: 150px;
  height: 150px;
  }

  .quick-links h5{
    font-size: 14px;
  }

  .links a{
  padding: 5px 8px;
  font-size: 12px !important;
}

.item-front h5{
  font-size: 10px !important;
}

}

@media screen and (max-width: 175px) {

.quick-links figure{
  width: 100px;
  height: 100px;
  }

  .quick-links h5{
    font-size: 12px;
  }
.item-front h5{
  font-size: 10px !important;
}

  .links a{
  font-size: 9px !important;
}

}


 .st-link a{
    color: #f00;
    font-size: 14px;
    text-decoration: none!important;
}



@media screen and (max-height: 600px){
  .submenu ul {
    height: 300px;
    overflow-y: scroll;
  }
}