	body {
  margin: 0;
}
.mainhtml { 
  background: url(../images/bg-image.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  clear: both;
  /*overflow: hidden;*/
}
.bgblack{
  background: #000!important;
}
.top_header{
  width: 70%;
  margin: 20px 0px;
  float: left;
}
.top_logo_left{
  width: 30%;
  float: left;
  margin: 20px 0px;
}
.cont {
    display: none;
}
.cont.show {
    display: block;
}

.clear{
  clear: both;
}

.smobitrigger, .mnuclose { display: none; }

header { background: #441B0A; }

.logo { float: left; }

.navigation { float: right; }

.navigation nav ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.navigation nav ul li { display: inline-block; background: linear-gradient(#292929, #242424); }

.navigation nav ul li a {
  border-top: 1px solid rgba(255,255,255,0.1);
border-bottom: 1px solid black;
text-decoration: none;
display: block;
height: 100%;
width: 100%;
line-height: 50px;
color: #bbb;
text-transform: uppercase;
font-weight: bold;
padding-left: 25%;
border-left: 5px solid transparent;
letter-spacing: 1px;
transition: all 0.3s linear;

}

.navigation nav ul li a:hover {
  background: rgb(234, 214, 54);
  color: #441B0A;
}

video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
 /*background: url('//demosthenes.info/assets/images/polina.jpg') no-repeat;*/
  background-size: cover;
  transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}

#polina { 
  font-family: Agenda-Light, Agenda Light, Agenda, Arial Narrow, sans-serif;
  font-weight:100; 
  color: white;
  
  width: 100%;
  margin:2rem;
  float: right;
  font-size: 1.2rem;
  position: absolute;
  z-index: 999;
  right: 0;
}
.project_list{
  margin-bottom: 20px;
}
.top_header{
  margin-right: 0px!important;
}
.clearfix{
  clear: both;
  overflow: hidden;
}
a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: .5rem;
  transition: .6s background; 
}

.top_menu{
  float: right;
  margin: 20px 0px;
}
.top_menu li{
  display: inline-block;
  padding: 5px;
  cursor: pointer;
}
.top_menu li a:hover{
  color:#22cdff;
}
.center_logo{
	position: absolute;
    top: 50%;
    margin-left: -185px;
    left: 50%;
    margin-top: -138px;
    z-index: 9;
}
#video_overlays {
position:absolute;
float:left;
    width:100%;
    min-height:100%;
    background-color:#000;
    z-index:9;
    opacity: 0.5;
}
.ourStudioSlider{
  width: 100%;
  clear: both;
  overflow: hidden;
  /*padding-top: 10%;*/
}
.rslides{
  width: 100%;
  margin: 0px auto!important;
}
.callbacks_nav{
  width: 30px;
}
/*
.component{
  width: 100%;
}
.component-small nav a.prev{
  left: 10%;
}
.component-small nav a.next{
  right: 10%;
}
.itemwrap{
  width: 50%!important;
}
.component li img{
  margin: 0px auto;
}
.component li {
  height: inherit;
}*/
nav a.prev,nav a.next{
  border: 2px solid #22cdff;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  color: #22cdff;
}
nav a.prev::before {
  content: "\2190";
  font-size: 30px;
  opacity: 1;
}
nav a.next::before {
  content: "\2192";
  font-size: 30px;
  opacity: 1;
}
.headof_project{
  margin-right: 0.3%;
  width: 16.3%;
  float: left;
}
.headof_project img{
  width: 100%;
}
.containner{
  width: 90%;
  margin: 0px auto;
}
.active{
    padding: 5px 10px;
    border: 1px solid rgba(204, 204, 204, 0.71);
    border-radius: 5px;
}
.active:hover{
  border: 1px solid;
}
/*contact form*/
.contact_left, .contact_right{
  width: 50%;
  float: left;
  color:#fff;
  /*margin-top: 10%;*/
  margin-bottom: 50px;
}

.form_container {
  width:100%;
}

#contact_form input[type="text"], #contact_form input[type="email"], #contact_form input[type="tel"], #contact_form input[type="url"], #contact_form textarea, #contact_form button[type="submit"],#contact_form input[type="submit"] { font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif; }

#contact_form {
  margin-top: 20px;
}

#contact_form h3, .contact_right h3 {
  margin-bottom: 0px;
  display: block;
  font-size: 30px;
  font-weight: 400;
}
.contact_right h3 {
  margin-top: 2px;
}
.contact_left iframe{
  width: 90%;
  height: 500px;
}
#contact_form h3{ margin-bottom: 20px; }
#contact_form h4 {
  margin:5px 0 15px;
  display:block;
  font-size:13px;
}

fieldset {
  border: medium none !important;
  margin: 0 0 10px;
  min-width: 100%;
  padding: 0;
  width: 100%;
}

#contact_form input[type="text"], #contact_form input[type="email"], #contact_form input[type="tel"], #contact_form input[type="url"], #contact_form textarea {
  width:95%;
  border:1px solid #CCC;
  background:inherit;
  margin:0 0 5px;
  padding:10px;
  color: #fff;
}

#contact_form input[type="text"]:hover, #contact_form input[type="email"]:hover, #contact_form input[type="tel"]:hover, #contact_form input[type="url"]:hover, #contact_form textarea:hover {
  -webkit-transition:border-color 0.3s ease-in-out;
  -moz-transition:border-color 0.3s ease-in-out;
  transition:border-color 0.3s ease-in-out;
  border:1px solid #AAA;
}

#contact_form textarea {
  height:100px;
  max-width:100%;
  resize:none;
}

#contact_form button[type="submit"] {
  cursor:pointer;
  width:100%;
  border:none;
  background:#0CF;
  color:#FFF;
  margin:0 0 5px;
  padding:10px;
  font-size:15px;
}

#contact_form button,#contact_form input[type="submit"]{
    padding: 10px 30px;
    background-color: #1bccff;
    border: 1px solid #1bccff;
    font-weight: bold;
    margin-right: 20px;
    cursor: pointer;
    color: #fff;
}

#contact_form button[type="submit"]:active,#contact_form input[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact_form input:focus, #contact_form textarea:focus {
  outline:0;
  border:1px solid #fff;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}
.nameer,.emailer,.messageer{
  display: none;
  margin: 0px 0px;
  color: #ffff00;
  font-size: smaller;
}
.mailstatus{
    text-align: center;
    min-width: 320px;
    border: 1px solid #fff;
    max-width: 500px;
    margin: 0px auto;
    padding: 5px;
    color: #fff;
    border-radius: 5px;
}
.responsive_menu{
  display: none;
}
.ug-lightbox-overlay{
  opacity: 0.8!important;
}
.ug-thumb-wrapper img{
     width: 100%;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 0.5s ease-out;
    
}
.ug-thumb-wrapper:hover img {
    -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
     transform: scale(1.1); 
     -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 0.5s ease-out;
    
}
.ug-thumb-wrapper:hover .ug-thumb-overlay {
    -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
     transform: scale(1.1); 
     -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 0.5s ease-out;
     
}
/*
.ug-thumb-wrapper{
  overflow: visible;
  z-index: 9999!important;
}*/
.ug-thumb-wrapper:hover{
  overflow: initial!important;
  z-index: 99999!important;
}
/*@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
  html { background: url(https://thenewcode.com/assets/images/polina.jpg) #000 no-repeat center center fixed; }
  #bgvid { display: none; }
}*/
@media (max-width: 1500px) {
    .rslides{
      width: 80%;
    }
    .callbacks img{
      width: 80%;
      margin-left: 10%;
    }
}
@media (max-width: 1200px) {
    .rslides{
      width: 86%;
    }
    .callbacks img{
      width: 90%;
      margin-left: 5%;
    }
}
@media (max-width: 991px) {
   
    .contact_left, .contact_right{
      width: 100%;
    }
    .contact_left iframe{
      width: 100%;
    }
    .contact_left{
      margin-bottom: 0px;
    }
    .contact_right{
      margin-bottom: 100px;
    }
    .headof_project{
      width: 19%;
    }
    .rslides{
      width: 90%;
    }
     .callbacks img{
      width: 100%;
      margin-left:0px;
    }
}
@media (max-width: 767px) {
  .contact_left iframe{
    min-height: 400px;
    height: 0px;
  }
  .headof_project{
      width: 24%;
  }
  .top_header {
    display: none;
  }
  .responsive_menu{
    display: block;
  }
  .rslides{
      width: 100%;
    }
    .responsive_menu .navigation{
    margin-top: 35px!important;
  }
}

@media (max-width: 500px) {
  .headof_project{
      width: 49%;
  }
}


 @media all and (max-width : 768px) {

.smobitrigger, .mnuclose { display: inline-block; }

.smobitrigger {
  color: #fff;
  font-size: 30px;
  line-height: 12px;
  padding: 10px;
}

.mnuclose {
  font-size: 20px;
  padding: 10px 20px;
  width: 100%;
  background: rgba(0, 0, 0, 0.18);
}

.smobitrigger span, .mnuclose span {
  font: 0/0 a;
  text-shadow: none;
  color: transparent;
}

.navigation nav ul {
  padding-bottom: 40px;
  overflow-y: auto;
}

.navigation nav ul li, .navigation nav ul li a { width: 100%; }

.navigation nav ul li a {
  padding-top: 5px;
  padding-bottom: 5px;
}

.navigation nav ul li a:hover { background: rgba(0, 0, 0, 0.29); }

.mobimenu {
  list-style: none;
  padding: 20px;
  margin: 0px;
  width: 210px;
  position: fixed;
  height: 100%;
  top: 0px;
  right: -250px;
}

.mnuopn { right: 0px !important; }

.ovrActv {
  position: fixed;
  background: rgba(0, 0, 0, 0.79);
  width: 100%;
  height: 100%;
  z-index: 9998;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

}
@media (max-width: 380px) {
 .center_logo{
  width: 90%;
    margin-left: 5%;
    left: 0;
  }
}

#rig {
    /*max-width:900px;*/
    margin:0 auto; /*center aligned*/
    padding:0;
    font-size:0; /* Remember to change it back to normal font size if have captions */
    list-style:none;
    background-color:#000;
}
#rig li {
    display: inline-block;
    *display:inline;/*for IE6 - IE7*/
    width:16.6%;
    vertical-align:middle;
    box-sizing:border-box;
    margin:0;
    padding:0;
}
        
/* The wrapper for each item */
.rig-cell {
    /*margin:12px;
    box-shadow:0 0 6px rgba(0,0,0,0.3);*/
    display:block;
    position: relative;
    overflow:hidden;
    padding: 0;
}
.vHidden{
  visibility: hidden;
}

.overflowH{
  overflow:hidden!important;
}


.skitter{ background: transparent!important;
margin: 0px auto; }
        
/* If have the image layer */
.rig-img {
    display:block;
    width: 100%;
    height: auto;
    border:none;
    transform:scale(1);
    transition:all 1s;
}

#rig li:hover .rig-img {
    transform:scale(1.3);
}
        
/* If have the overlay layer */
.rig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #3DC0F1 url(img/link.png) no-repeat center 20%;
    background-size:50px 50px;
    opacity:0;
    filter:alpha(opacity=0);/*For IE6 - IE8*/
    transition:all 0.6s;
}
#rig li:hover .rig-overlay {
    opacity:0.8;
}

/* If have captions */
.rig-text {
    display:block;
    padding:0 30px;
    box-sizing:border-box;
    position:absolute;
    left:0;
    width:100%;
    text-align:center;
    text-transform:capitalize;
    font-size:18px;
    font-weight:bold;
    font-family: 'Oswald', sans-serif;
    font-weight:normal!important;
    top:40%;
    color:white;
    opacity:0;
    filter:alpha(opacity=0);/*For older IE*/
    transform:translateY(-20px);
    transition:all .3s;
}
#rig li:hover .rig-text {
    transform:translateY(0px);
    opacity:0.9;
}

@media (max-width: 9000px) {
    #rig li {
        width:16.6%;
    }
}

@media (max-width: 700px) {
    #rig li {
        width:33.33%;
    }
}

@media (max-width: 550px) {
    #rig li {
        width:50%;
    }
}