/*
Theme Name:     rupa paul
Theme URI:      http://spiritnoise.com/
Description:    Custom theme for rupa paul
Author:         Shobhit Verma
Author URI:     http://spiritnoise.com
Template:       twentythirteen
Version:        4.3
*/

/*Reset Start*/
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video{
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    font-family: 'Karla', sans-serif;
}
body{
    line-height:1;
    font-family: 'Karla', sans-serif;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section{ 
    display:block;
}
a{
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
    display:inline-block;
    text-decoration:none;
    font-family: 'Karla', sans-serif;
}
table{
  border-collapse:collapse;
  border-spacing:0;
}
input, select{
    vertical-align:middle;
}
div.wpcf7 img.ajax-loader{
  width: auto;
}
h1,h2,h3,h4,h5,h6{
  font-family: 'Karla', sans-serif;
}
h1,h2,h3{
	font-weight:400;
	text-align:left;
}
h3{
  margin-bottom: 20px;
  color: #333333;
  font-weight: bold;
}
p{
  font-family: 'Karla', sans-serif;
  margin-bottom: 20px;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #333333;
}

/*Reset End*/
*,*:before,*:after{
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
  outline: none;
}
.site-title{
  font-size: 42px;
  color: #333333;
}
#page{
  width: 100%;
  margin: 0px auto;
  overflow: hidden;
}
.container{
  max-width: 1040px;
  width: 100%;
  padding: 0px 20px;
  margin: 0px auto;
}
.container:after{
  content: '';
  clear: both;
  display: block;
}
/*header*/
#masthead{
  padding: 20px 0px;
  border-bottom: 1px solid #d9d9d9;
}
#masthead ul{
  list-style: none;
}
#masthead ul li{
  display: inline-block;
}
#masthead ul li a{
  padding: 10px 20px;
  color: #999999;
  font-weight: 400;
}
a.home-link{
  display: inline-block;
  float: left;
}
#navbar{
  display: inline-block;
  float: right;
}
/*home page*/
.flexslider{
  border: hidden;
}
.home-slider ul{
  list-style: none;
}
.home-slider .caption{
  max-width: 1040px;
  padding: 10px 20px;
  width: 100%;
  margin: 0px auto;
}
.home-slider .caption p{
  margin-bottom: 0px;
}
.home-slider ol.flex-control-nav.flex-control-paging{
  position: absolute;
  bottom: -5px;
  right: 0px;
  text-align: right;
  max-width: 1040px;
  padding: 0px 20px;
  left: 0px;
  margin: auto;
}
.home-slider ol.flex-control-nav.flex-control-paging li a{
  text-indent: 99999px;
}
/*page*/
.two_col_text{
  -webkit-column-count: 2;
  -moz-column-count: 2; 
  column-count: 2;
  text-align: justify;
  -webkit-column-gap: 20px;
  -moz-column-gap: 20px;
  column-gap: 20px;
}
.entry-thumbnail{
  margin-top: 30px;
}
header.entry-header{
  padding: 30px 0px;
}
.entry-header h1{
  color: #808080;
  font-size: 32px;
}
.entry-content img{
  width: 100%;
  height: auto;
}
.entry-content{
  padding-bottom: 30px;
}
/*work*/
.work_col_container:after,
.work_gallery:after{
  content: '';
  clear: both;
  display: block;
}
.work_col_container .work-col,
.work_gallery .gallery_col{
  width: 30%;
  float: left;
  overflow: hidden;
  position: relative;
  margin-right: 5%;
  margin-bottom: 50px;
  text-align: center;
}
.work_col_container .work-col{
  min-height: 350px;
}
.work_gallery .gallery_col {
  min-height: 430px;
  margin-bottom: 10px;
}
.gallery_col a {
  display: block;
  position: relative;
  width: 100%;
  height: 350px;
}
.work_gallery .gallery_col a,
.work_col_container .work-col a{
  display:  block;  
  background-color: #f1f1f1;
}
.work_gallery .gallery_col .img-col,
.work_col_container .work-col .img-col{
  height: 350px;
  background-repeat: no-repeat;  
  background-size: contain;  
  background-position: center; 
}
.work_col_container .work-col .img-col img,
.work_gallery .gallery_col .img-col img{
  display:  none; 
}
.work_col_container .work-col:nth-child(3n+3),
.work_gallery .gallery_col:nth-child(3n+3){
  margin-right: 0%;
}
.col_caption{
  background-color: #ffffff;
  /*position: absolute;
  left: 0px;
  bottom: 0px;*/
  width: 100%;
  padding: 10px 10px;
  color:#fff;
  /*display: none;*/
}
.col_caption h3{
  color: #666666;
  margin-bottom: 3px;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
}
.col_caption p {
  margin-bottom: 0px;
  color: #fff;
  text-align: left;
  display: none;
}

.gallery_col .caption {
    position: absolute;
    bottom: 0px;
    height: 80px;
    overflow: hidden;
    text-align: left;
    padding-top: 5px;
}
.gallery_col .caption p{
  margin-bottom: 2px;
}
.gallery_col .caption span{
  font-size: 13px;
  color:#A4A3A3;
}

.fancybox-title.fancybox-title-float-wrap {
    width: 100%;
    left: 0px;
    text-align: left;
    bottom: 6px;
}
.fancybox-title.fancybox-title-float-wrap span {
    border-radius: 0px;
    margin-top: 0px;
    background-color: transparent;
    padding: 0px;
}
/*about page*/
.about_container:after{
  content: '';
  clear: both;
  display: block;
}
.about_container .about_col{
  width: 65%;
  float: left;
  padding-right: 25px;
}
.about_section{
  margin-bottom: 50px;
}
.about_container .about_col h3{
  color: #333333;
  margin-bottom: 20px;
  font-weight: bold;
} 
.about_container .row{
  margin-bottom: 10px;
}
.about_container .row:after{
  content: '';
  clear: both;
  display: block;
}
.about_container .about_col .row p{
  margin-bottom: 0px;
  float: left;
  width: 80%;
}
.about_container .about_col .row span{
  font-weight: bold;
  float: left;
  padding-right: 20px;
  width:105px;
}
.about_container .right_img{
  width: 35%;
  float: right;
  padding-left: 25px;
}
.about_container .right_img img{
  width: 100%;
  height: auto;
}
/*contact page*/

.contact_container:after{
  content: '';
  clear: both;
  display: block;
}
.contact_container .address_col{
  width: 50%;
  float: left;
  text-align: left;
}
.contact_container .form_col{
  width: 50%;
  float: right;
  text-align: right;
}
.contact_container .form_col input,
.contact_container .form_col textarea{
  width: 100%;
  border: 0px;
  border-bottom: 1px solid #808080;
  margin-bottom: 10px;
  padding: 0px 0px 5px 0px;
  color: #808080;
}
.contact_container .form_col textarea {
  height: 50px;
  font-family: 'Karla', sans-serif;
}
.submit {
    padding-top: 60px;
}
.submit input{
  width: inherit;
  background-color: transparent;
  text-align: left;
  display: inline-block;
  border-bottom: 0px !important;
}

/*responsive*/

@media(max-width: 640px){
  
  .two_col_text{
    -webkit-column-count: 1;
    -moz-column-count: 1; 
    column-count: 1;
    text-align: justify;
    -webkit-column-gap: 0px;
    -moz-column-gap: 0px;
    column-gap: 0px;
  }
  a.home-link,#navbar{
    float: none;
    display: inline-block;
  }
  #navbar{
    display: none;
  }
  #masthead ul{
    text-align: center;
    padding-top: 20px;
  }
  #masthead ul li{
    display: block;
  }
  #masthead .menubutton {
    width: 30px;
    height: 30px;
    cursor: pointer;
    float: right;
    display: inline-block;
    position: absolute;
    top: 30px;
    right: 20px;
  }
  #masthead .menubutton span{
    width: 27px;
    height: 2px;
    background-color: #333333;
    position: absolute;
    left:0px;
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
  }
  #masthead .menubutton span:first-child{
    top: 0px;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
  }
  #masthead .menubutton span:nth-child(2){
    top: 9px;
  }
  #masthead .menubutton span:nth-child(3){
    top:18px;
    -webkit-transform-origin: left bottom;
    -moz-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
    
  }
  .openfirst-child {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .opensecond {
    opacity: 0;
  }
  .openlast-child {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  /*work col*/
  .work_col_container .work-col, .work_gallery .gallery_col{
    width: 47.50%;
  }
  .work_col_container .work-col:nth-child(3n+3), .work_gallery .gallery_col:nth-child(3n+3){
    margin-right:5%;
  }
  .work_col_container .work-col:nth-child(2n+2), .work_gallery .gallery_col:nth-child(2n+2){
    margin-right:0%;
  }
  /*about*/
  .about_container .right_img,
  .about_container .about_col{
    float: none;
    padding: 0px;
  }
  .about_container .right_img{
    width: 50%;
    margin-bottom: 50px;
  }
  .about_container .about_col{
    width: 100%;
  }
  /*contact*/
  .contact_container .address_col,
  .contact_container .form_col{
    float: none;
    width: 100%;
  }
}
@media(max-width: 480px){
  .work_col_container .work-col, .work_gallery .gallery_col{
    width: 100%;
    margin-right: 0% !important;
  }
  .about_container .about_col .row p{
    width: 78%;
  }
}
