@media only screen and (max-width: 768px) and (min-width: 300px)
{
   div#slider1 {
    height: 155px !important;
}


}




@media only screen and (max-width: 767px){
    button.mainmenu-toggler {
    display: block;
    position: relative;
    top: -28px;
}
   .header.construct.header-curvy {
    background: #000 url(../img/resources/header-v5-bg.png) no-repeat 0 0;
    -webkit-background-size: cover;
    /* background-size: cover; */
    height: 76px;
}
}

.text-justifiy{
    text-align:justify !important;
}
.mb-5{
    margin-bottom:24px;
}
h2.mb-5.welcome {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 26px;
    color: #000;
}

b, strong {
    font-weight: 700;
    color: #000000;
    /* margin-bottom: 21px; */
    /* padding-block: 14px; */
}

.service-tab-title {
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.footer_img {
    /*background-image: url('../img/mapdark.png') !important;*/
    background-repeat: no-repeat;
   background-position: center;
}

.text-white{
    color:#fff!important;
}

/*whatsapp*/
#whatsapp {
    position: fixed;
    right: 34px;
     left: 50px; 
    top: 50%;
    width: 70px;
    height: 70px;
    cursor: pointer;
    opacity: 1;
    z-index: 99990;
}
#whatsapp #whatsappMain {
    -moz-border-radius: 50% !important;
    -webkit-border-radius: 50% !important;
    border-radius: 50% !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    background-color: rgba(255, 255, 255, 0);
    width: 70px;
    height: 70px;
   color: #40c351;
    z-index: 9;
    -webkit-animation: zcwmini2 1.5s 0s ease-out infinite;
    -moz-animation: zcwmini2 1.5s 0s ease-out infinite;
    animation: zcwmini2 1.5s 0s ease-out infinite;
}
    #whatsapp #whatsappMain:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 9;
       
        background-image: url('../img/whatsapp.png');
        background-repeat: no-repeat;
        background-position: center center;
        -webkit-animation: zcwphone2 1.5s linear infinite;
        -moz-animation: zcwphone2 1.5s linear infinite;
        animation: zcwphone2 1.5s linear infinite;
    }

@-webkit-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-moz-keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@keyframes zcwphone2 {
    0% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    25% {-ms-transform:rotate(30deg);-webkit-transform:rotate(30deg);transform:rotate(30deg);}
    50% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
    75% {-ms-transform:rotate(-30deg);-webkit-transform:rotate(-30deg);transform:rotate(-30deg);}
    100% {-ms-transform:rotate(0deg);-webkit-transform:rotate(0deg);transform:rotate(0deg);}
}
@-webkit-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-webkit-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@-moz-keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}
@keyframes zcwmini2 {
    0% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 0 rgba(0,0,0,0), 0 0 0 0 rgba(207,8,8, 0);}
    10% {box-shadow: 0 0 8px 6px , 0 0 12px 10px rgba(0,0,0,0), 0 0 12px 14px ;}
    100% {box-shadow: 0 0 8px 6px rgba(207,8,8, 0), 0 0 0 40px rgba(0,0,0,0), 0 0 0 40px rgba(207,8,8, 0);}
}


/*end whars aap*/

@media only screen and (max-width: 767px){
    .mainmenu-container ul li.dropdown .fa {
  position: absolute;
    right: 7px;
    top: 5px;
    width: 35px;
    height: 25px;
    display: block;
    color: #133e59;
    line-height: 22px;
    font-size: 18px;
    text-align: center;
    z-index: 5;
    cursor: pointer;
    border: 1px solid #78a03f00;
    border-radius: 5px;

}

}
@media only screen and (max-width: 767px)
{
    header .mainmenu-container ul.mainmenu {
    float: none !important;
    display: none;
    text-align: center;
    clear: both;
    width: 100%;
    margin: auto;
    background: transparent;
    border-radius: 5px;
}
    header.construct.header-curvy .mainmenu-container ul li {
    line-height: 35px;
    z-index: 999;
}
    header.construct.header-curvy .mainmenu-container ul.mainmenu {
    position: relative;
    top: 0px;
}
}



@media screen and (min-width:320px) and (max-width:600px) {
    header.construct.header-curvy .logo:before {
        content: ' ';
        width: 0px;
        position: absolute;
        top: 0;
        right: 0;
        height: 97%;
        background: #fff !important;
        -webkit-background-size: cover;
        background-size: cover;
        z-index: 9999;
        /* transform: skewX(-45deg); */
    }

    header.construct.header-curvy {
        /* background: #000 url(../img/resources/header-v5-bg.png) no-repeat 0 0; */
        -webkit-background-size: cover;
        background-size: cover;
        background-color: #fff;
    }

        header.construct.header-curvy .logo {
            position: relative;
            margin: 0;
            padding: 0px 0;
            height: 100%;
            padding-right: 30px;
            top: 12px;
        }

    button.mainmenu-toggler {
       background: transparent none repeat scroll 0 0;
    border: 1px solid #2f477800;
    border-radius: 5px;
    color: #040200;
    }

        button.mainmenu-toggler:hover {
               /* border-color: #133e59; */
    color: #133e59;
        }

    header.construct.header-curvy .mainmenu-container > ul > li > a {
        color: #0a0000;
    }

    #great-construct-team h2 {
        text-transform: capitalize;
        color: #fff;
        letter-spacing: .03em;
        font-size: 15px !important;
    }

}

/*Right Side Social icons*/
.sticky-container{
    padding:0px;
    margin:0px;
    position:fixed;
    right:-170px;
    top:230px;
    width:210px;
    z-index: 99999999999;
}
.sticky li{
    list-style-type:none;
    background-color:#fff;
    color:#efefef;
    height:43px;
    padding:0px;
    margin:0px 0px 1px 0px;
    -webkit-transition:all 0.25s ease-in-out;
    -moz-transition:all 0.25s ease-in-out;
    -o-transition:all 0.25s ease-in-out;
    transition:all 0.25s ease-in-out;
    cursor:pointer;
}
.sticky li:hover{
    margin-left:-115px;
}
.sticky li img{
    float:left;
    margin:5px 4px;
    margin-right:5px;
}
.sticky li p{
    padding-top:5px;
    margin:0px;
    line-height:16px;
    font-size:11px;
        float: inherit;
}
.sticky li p a{
    text-decoration:none;
    color:#2C3539;
}
.sticky li p a:hover{
    text-decoration:underline;
}
/*End Socil icons*/


/*tabs new*/
.tab-new{
   
    display: inline-block;
    font-size: 13px;
    line-height: 45px;
    color: #787878;
    font-weight: 500;
    /*text-transform: uppercase;*/
    cursor: pointer;
   top: 26px;
    position: relative;
    -webkit-transition: all .3s ease;
    transition: all .3s eas
}
li.nav-item {
    display: inline-block;
    font-size: 13px;
    line-height: 45px;
    color: #787878;
    font-weight: 500;
    /*text-transform: uppercase;*/
    cursor: pointer;
    padding: 0 20px;
    position: relative;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.nav-tabs>li>a:hover {
    border-color: #eee0 #eee0 #ddd0;
}
.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: #eeeeee1a;
}
/*End Tabs new*/

.mt-40 {
    margin-top: 80px;
}

.crad1{
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  /*box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;*/
}

.text-shadow{
    /*background: #0e8dbc;*/
    color: white !important;
    text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2), 0 20px 20px rgba(0,0,0,.15);
}

/*slide contact from*/
.container-box
{
	display:inline-block; 
	position: fixed;
  	top: 55%;
  	left: 0;
          z-index: 999999999;

}
.btn-info {
   color: #fff;
    background-color: #000000;
    border-color: #000000;
}
.btn-info:hover {
    color: #fff;
    background-color: #7c0000;
    border-color: #7c0000;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.modal-content
{
	background: rgba(255, 255, 255, 1);	
}
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 99999;
}

.rotated
{
	-moz-transform:rotate(-90deg);
	-ms-transform:rotate(-90deg);
	-o-transform:rotate(-90deg);
	-webkit-transform:rotate(-90deg);
	transform-origin: top left;
}



/*end slide contact from*/

img.footer-logo {
   position: absolute;
       height: 90px
}

/* Cursor Styling */
.Brixwell {
    background-color:#7c0000;
   /*background: linear-gradient(to right, #89171a 0%, #f47621 51% , #89171a 75%);*/
    width: 100%;
    color: #ffffff;
    padding-top: 45px;
    margin-bottom: 0px;
    /*padding-bottom: 15px;*/
    /*border-top: 4px solid white;*/
     /*border-bottom: 4px solid #005097;*/
    
}
.text-center{
    text-align:center!important;
}



/*End Auto typing*/

@media screen and (min-width:300px) and (max-width:768px){
    .sticky-container{
        display:none;
    }
    #whatsapp {
        position: fixed;
        right: 34px;
        left: 50px;
        top: 80%;

    }
    .Brixwell{
            padding-top: 0px !important;
    }
    .Brixwell h1{
        font-size:20px;
        font-weight:bold;
    }
}

.shadow{
        box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    padding:15px;
}

.border1 {
    border-top: 4px solid #89171a;
    border-bottom: 6px solid #f47621;
    border-left: 4px solid #f47621;
    border-right: 4px solid #89171a;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}



.home-welcome-bg {
    padding: 40px 0 60px;
    position: relative;
    /*text-align: center;*/
    background: url(../img/home-welcome-bg.jpg) no-repeat top center !important;
    background-size: cover;
}

/*why choose us*/
.scale-bg-top, .scale-bg-bottom {
    position: relative;
}
.bg-white {
    background-color: #FFF;
}
.p-b50 {
    padding-bottom: 50px;
}
.p-t80 {
    padding-top: 80px;
}
.scale-bg-top:before {
    background-image: url('../img/scale-top.png');
    background-position: top;
    background-repeat: repeat-x;
    top: 0px;
}
.scale-bg-top:before, .scale-bg-bottom:after {
    content: "";
    position: absolute;
    left: 0px;
    width: 100%;
    height: 50px;
    opacity: 0.4;
}
.section-head {
    margin-bottom: 50px;
}
.section-head h1, .section-head h2, .section-head h3 {
    margin-top: 0;
        font-weight: bold;
}
.text-uppercase {
    text-transform: uppercase;
}
.wt-separator-outer {
    overflow: hidden;
}
.wt-separator.style-square {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-width: 3px;
    border-style: solid;
    border-color: #2d3239;
}
.wt-separator {
    display: inline-block;
    height: 3px;
    width: 50px;
    position: relative;
}
.wt-separator.style-square .separator-left, .wt-separator.style-square .separator-right {
    height: 3px;
}
.wt-separator .separator-left {
    left: -80px;
}
.wt-separator .separator-left, .wt-separator .separator-right {
    position: absolute;
    top: 50%;
    width: 70px;
    height: 2px;
    margin-top: -1px;
}
.text-center.section-head p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-head p:last-child {
    margin-bottom: 0;
}
.section-head p {
    padding-top: 10px;
    font-size: 14px;
}
.bg-gray {
    background-color: #f5f6f6;
}
.bg-no-repeat {
    background-repeat: no-repeat;
}
.bg-left-center {
    background-position: left;
}
.section-full {
    position: relative;
}
.p-b120 {
    padding-bottom: 120px;
}
.p-t80 {
    padding-top: 80px;
}
.animate_line:before {
    right: 0;
    top: 0;
}
animate_line:after, .animate_line:before {
    content: "";
    height: 4px;
    width: 0px;
    position: absolute;
    transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    z-index: -1;
}
.wt-icon-box-wraper.center {
    text-align: center;
}
.card-2 {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%) !important;
}
.wt-icon-box-wraper {
    position: relative;
}
.bg-white {
    background-color: #FFF;
}
.m-a5 {
    margin: 5px;
}
.p-a30 {
    padding: 30px;
}
.icon-lg {
    width: 80px;
}

.icon-xld, .icon-xl, .icon-lg, .icon-md, .icon-sm, .icon-xs {
    display: inline-block;
    text-align: center;
}

.no-col-gap [class*="col-xs-"], .no-col-gap [class*="col-sm-"], .no-col-gap [class*="col-md-"], .no-col-gap [class*="col-lg-"] {
    padding-left: 0;
    padding-right: 0;
}
.bg-primary {
    color: #fff;
    background-color: #7c0000;
        left: 17px;
}

h5.wt-tilte.text-uppercase {
    font-weight: 900;
}
.animate_line{
	position:relative;
	z-index:0;
}
.animate_line:after,
.animate_line:before{
	content: "";
	height: 4px;
	width: 0px;  
	position: absolute; 
	transition: all 0.5s ease 0s; 
	-webkit-transition: all 0.5s ease 0s; 
	z-index: -1; 	
}
.animate_line:after { 
  left: 0; 
  bottom: 0; 
}
.animate_line:before { 
  right: 0; 
  top: 0; 
}
.animate_line:hover:after,
.animate_line:hover:before{ 
	width: 50%; 
	height:50%;
	background: #012c3c; 
}
@media only screen and ( max-width:768px){
.animate_line:after { 
  bottom: -5px; 
}
.animate_line:before { 
  top: -5px; 
}
	
}

/*end why choos us */



.home-welcome-bg {
    padding: 40px 0 60px;
    position: relative;
    /*text-align: center;*/

    background: url(../img/home-welcome-bg.jpg) no-repeat top center;
    background-size: cover;
}

.card-3 {
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
    padding: 14px;
    background-color: #ffffff;
    background-image: url("https://www.transparenttextures.com/patterns/climpek.png");
/* This is mostly intended for prototyping; please download the pattern and re-host for production environments. Thank you! */
}



/*hover css*/
.grid {
	/* position: relative; */
	margin: 0 auto;
	/* padding: 1em 0 4em; */
	/* max-width: 1000px; */
	/* list-style: none; */
	text-align: center;
}

/* Common style */
.grid figure {
	position: relative;
	/* float: left; */
	/* overflow: hidden; */
	margin: 10px 1%;
	min-width: 320px;
	max-width: 480px;
	max-height: 360px;
	width: 50%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
	margin: 18px auto;
}

.grid figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;
	text-indent: 200%;
	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
	word-spacing: -0.15em;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 68.5%;
}
/*---------------*/
/***** Bubba *****/
/*---------------*/

figure.effect-bubba {
	    background: #a4150e;
}

figure.effect-bubba img {
	opacity: 0.7;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-bubba:hover img {
	opacity: 0.4;
}

figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	transform: scale(1,0);
}

figure.effect-bubba h2 {
	padding-top: 30%;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,-20px,0);
	transform: translate3d(0,-20px,0);
}

figure.effect-bubba p {
	padding: 20px 2.5em;
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,20px,0);
	transform: translate3d(0,20px,0);
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-bubba:hover h2,
figure.effect-bubba:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}


@media screen and (max-width: 25em) {
    .codrops-header {
        font-size: 75%;
    }

    .codrops-icon span {
        display: none;
    }

    .grid figure {
        min-width: 100%;
    }
    figure.effect-bubba h2 {
        padding-top: 1%;
    }
    figure.effect-bubba p {
        padding: 17px 0.5em;
    }
}
/*end hover css*/