@import url(https://fonts.googleapis.com/css?family=Raleway);

*, *:before, *:after{
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

body{
 
}

.main-title{
  color: #2d2d2d;
  text-align: center;
  text-transform: capitalize;
  padding: 0.7em 0;
}

.olcontainer{
  padding: 0;
  float: left;
  width: 50%;
  position: relative;
  border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
}


.olcontainer .title{
	color: #ffffff;
    text-align: center;
    /* margin-bottom: 10px; */
    position: absolute;
    z-index: 1;
    left: 15%;
    bottom: 15%;
    /* background: #0c4195; */
    padding: 3% 12%;
    font-size: 18px !important;
    width: 70%;
    /* margin: 0 auto; */
    font-style: initial;
    font-weight: 500 !important;
    margin: 0px !IMPORTANT;
    line-height: 21px;
    background-image: linear-gradient(357deg, #2674ef00, #042860);
}

.content {
    position: relative;
    width: 100%;
    /* max-width: 400px; */
    margin: auto;
    overflow: hidden;
    padding: 15%;
    margin: 0px;
    text-align: center;
}

.content img {
     width: 100%;
}

.content .content-overlay {
 background: rgb(255 255 255 / 100%);
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
    z-index: 2;
}

.content:hover .content-overlay{
  opacity: 1;
}

.content-image{
  width: 100%;
}

.content-details {
position: absolute;
    text-align: center;
    /* padding-left: 1em; */
    /* padding-right: 1em; */
    width: 100%;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    z-index: 2;
    padding: 15%;
}


.content-details icon {
	position: relative;
    width: 100%;
    /* text-align: center; */
    display: block;
    /* width: 100%; */
}

.content-details icon img{ width:auto !important; height:auto!important;}


.content:hover .content-details{
  top: 50%;
  left: 50%;
  opacity: 1;
}

.content-details h3{
   color: #0c4195;
    font-weight: 500 !important;
    letter-spacing: 0.15em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    margin: 0px !important;
    font-size: 21px !important;
    font-style: initial;
    letter-spacing: 0px;
    text-transform: capitalize;
    padding: 4% 0%;
    margin-top: 10% !important;
    line-height: 24px;
}

.content-details p{
  color: #0c4195 !important;
    text-align: center;
}

.fadeIn-bottom{
  top: 50%;
}

.fadeIn-top{
  top: 20%;
}

.fadeIn-left{
  left: 20%;
}

.fadeIn-right{
  left: 80%;
}




@media only screen and (min-width: 320px) and (max-width: 480px) {

.olcontainer {    border-top: 1px solid #fff;	border-bottom: px solid #fff;	}
   
 }


@media screen and (max-width: 640px){
  .olcontainer{
    display: block;
    width: 100%;
	 border-top: 1px solid #fff;	border-bottom: px solid #fff;
  }
}

@media screen and (min-width: 900px){
  .olcontainer{
    width: 100%;
	position: relative;
  }
}
