/*-----------FONTS-----------*/

@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300,100&subset=latin,cyrillic,cyrillic-ext);

/*-----------END FONTS-----------*/

/*-----------PAGE-----------*/


html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,  
form, fieldset, input, p, blockquote, table, th, td, embed, object {
  padding: 0;
  margin: 0;  
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset, img, abbr {
  border: 0;
}

caption, th {
  text-align: left;
} 

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.clear {
	clear: both;
}

.pie {
	behavior: url(/templates/rik-studio/css/PIE.htc);
	position: relative;
	zoom: 1;
}

img {
	max-width: 100%;
	height: auto;
}

div {
	height: auto;
}

iframe, embed {
	max-width: 100%;
}

body {
  background: url("images/bg.jpg") repeat;
  color: #272b31;
  font: 10pt "Open Sans", sans-serif;
}

#preloader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fefefe;
  z-index: 99;
  height: 100%;
}

#preloaderwrap {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99999;
}

#status {
  width: 600px;
  height: 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(images/loader.gif);
  background-repeat: no-repeat;
  background-position: center;
  margin: -140px 0 0 -330px;
  padding: 200px 0 0 0;
  text-align: center;
  font: 600 20px "Open Sans";
}

.container {
  width: 940px;
  padding: 0 20px;
}

/*-----------END PAGE-----------*/

/*-----------ANIMATION----------*/

@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }
    to { -ms-transform: rotate(360deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/*-------- END ANIMATION -------*/

/*------------HEADER------------*/

#topnav {
  background-color: #081928;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 999;
  min-height: 58px;
  padding-top: 20px;
}

  #topnav:after {
    background: #da0900; /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RhMDkwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iIzAwODZkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwYTYwNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmM2MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, #da0900 0%, #0086db 33%, #00a605 66%, #ffc600 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#da0900), color-stop(33%,#0086db), color-stop(66%,#00a605), color-stop(100%,#ffc600)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* IE10+ */
    background: linear-gradient(to right, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da0900', endColorstr='#ffc600',GradientType=1 ); /* IE6-8 */
    width: 100%;
    height: 5px;
    display: block;
    content: "";
    bottom: 0px;
    position: absolute;
  }
  
#topnav_logo {
  font: bold 24px "Open Sans";
  text-decoration: none;
  text-shadow: 1px 0px 1px #061420;
  display: block;
  width: 164px;
}  

#topnav_logo img {
   position: relative;
top: -7px;
}

.topnav_list {
  margin-top: 8px;
  list-style: none none;
}

.topnav_item {
  margin-left: 40px;
}

.topnav_link {
  font: bold 13px "Open Sans";
  color: #d1d3d4;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  padding-bottom: 5px;
  -webkit-transition:border-bottom .1s;
  -moz-transition:border-bottom .1s;
  -ms-transition:border-bottom .1s;
  -o-transition:border-bottom .1s;
  transition:border-bottom .1s;
}

.topnav_link.active, .topnav_link:hover {
  border-bottom: 3px solid #e20a00;
  color: #fff;
  -webkit-transition:border-bottom .1s;
  -moz-transition:border-bottom .1s;
  -ms-transition:border-bottom .1s;
  -o-transition:border-bottom .1s;
  transition:border-bottom .1s;  
}

#btmnav {
  background-color: #081928;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);
  min-height: 58px;
  padding-top: 20px;
}

  #btmnav:after {
    background: #da0900; /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RhMDkwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iIzAwODZkYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY2JSIgc3RvcC1jb2xvcj0iIzAwYTYwNSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmM2MDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(left, #da0900 0%, #0086db 33%, #00a605 66%, #ffc600 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#da0900), color-stop(33%,#0086db), color-stop(66%,#00a605), color-stop(100%,#ffc600)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* IE10+ */
    background: linear-gradient(to right, #da0900 0%,#0086db 33%,#00a605 66%,#ffc600 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#da0900', endColorstr='#ffc600',GradientType=1 ); /* IE6-8 */
    width: 100%;
    height: 5px;
    display: block;
    content: "";
    bottom: 0px;
    position: absolute;
  }
  
  #btmnav .container {
    width: 1030px;
    padding: 0;
  }

.btmnav_list {
  margin-top: 8px;
  list-style: none none;
}

.btmnav_item {
  margin-left: 25px;
}

.btmnav_link {
  font: bold 13px "Open Sans";
  color: #d1d3d4;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  padding-bottom: 5px;
  -webkit-transition:border-bottom .1s;
  -moz-transition:border-bottom .1s;
  -ms-transition:border-bottom .1s;
  -o-transition:border-bottom .1s;
  transition:border-bottom .1s;
}

.btmnav_link.active, .btmnav_link:hover {
  border-bottom: 3px solid #e20a00;
  color: #fff;
  -webkit-transition:border-bottom .1s;
  -moz-transition:border-bottom .1s;
  -ms-transition:border-bottom .1s;
  -o-transition:border-bottom .1s;
  transition:border-bottom .1s;  
}
  
.header {
  background: url("images/img_top.png") center -120px no-repeat;
  width: 100%;
  height: 320px;
  background-size: cover;
  position: relative;
  top: 78px;
  margin-bottom: 78px;
}

.header_description {
  top: -50px;
  position: relative;
}

.header_description:after {
  content: "";
  background: url("images/contacts.png") no-repeat;
  width: 160px;
  height: 160px;
  display: block;
  position: absolute;
  right: 0;
  top: 180px;
}

.header_description_icon {
  width: 294px;
  height: 217px;
  -webkit-animation-name: spin;
  -webkit-animation-duration: 2600ms;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 2600ms;
  -moz-animation-iteration-count: 1;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 2600ms;
  -ms-animation-iteration-count: 1;
  -ms-animation-timing-function: linear;
  animation-name: spin;
  animation-duration: 2600ms;
  animation-iteration-count: 1;
  animation-timing-function: linear;
}

.header_description_text {
  font: bold 20px "Open Sans";
  text-align: center;
  margin-top: 10px;
}

.worksmenu_list {
  width: 670px;
  list-style: none none;
}

.worksmenu_item {
  padding: 5px 8px 7px 8px;
  margin-right: 30px;
  cursor: pointer;
}

.worksmenu_item:hover {
  border: 2px solid #e20a00;
  margin: -2px 28px 0 -2px;
  position: relative;
}

  .worksmenu_item:hover:after {
    content: '▼';
    color: #1d2023;
    font: 14px "Open Sans";
    position: absolute;
    text-shadow:0 4px 0 #e20b00;
    width: 20px; height: 10px;
    left: 47%; bottom: -3px;
  }
  
  .worksmenu_item.active {
    background-color: #e20a00;
    display: block;
    -webkit-box-shadow: 4px -4px 0px 0px #ffad00;
    -moz-box-shadow:    4px -4px 0px 0px #ffad00;
    box-shadow:         4px -4px 0px 0px #ffad00;
  }
  
  .worksmenu_item.active .worksmenu_link {
    border-bottom: none;
  }
  
  .worksmenu_item.active:hover {
    border: none;
    margin: 0 30px 0 0;
  }
  
  .worksmenu_item.active:before, .worksmenu_item.active:hover:before {
    content: "";
    width: 0;
    height: 0;
    border-bottom: 4px solid #ffad00; 
    border-left: 5px solid transparent;
    position: absolute;
    top: -4px;
    left: 0px;  
  }

  .worksmenu_item.active:after, .worksmenu_item.active:hover:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid #ffad00; 
    border-right: 4px solid transparent;
    position: absolute;
    bottom: 0;
    left: 100%;  
  }
  
  .worksmenu_item.active .worksmenu_link {
    position: relative;  
  }
  
    .worksmenu_item.active .worksmenu_link:after {
      content: '▼';
      color: #e20a00;
      font: 13px "Open Sans";
      position: absolute;
      left: 47%;
      bottom: -17px;  
    }    

.worksmenu_link {
  font: 14px "Open Sans";
  color: #fff;
  border-bottom: 1px dotted #777c80;
  text-decoration: none;
}

.portfolio {
  border: 1px solid #e20a00;
  padding: 40px;
  width: 900px; 
  position: relative;
  margin-bottom: 30px; 
}

.portfolio .diamondwraptop {
  background-color: #1b1e22;
  width: 60px;
  margin: -43px auto 38px auto;
}

.portfolio .diamondwrapbtm {
  background-color: #1b1e22;
  width: 60px;
  position: relative;
  top: 48px;
  margin: 0 auto;
}

.portfolio .diamond {
  width: 10px;
  height: 10px;
  background: #1b1e22;
  /* Rotate */
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  /* Rotate Origin */
  -webkit-transform-origin: 0 100%;
  -moz-transform-origin: 0 100%;
  -ms-transform-origin: 0 100%;
  -o-transform-origin: 0 100%;
  transform-origin: 0 100%;
  box-shadow: 0px 0px 0px 1px #e20a00;
  -moz-box-shadow: 0px 0px 0px 1px #e20a00;
  -webkit-box-shadow: 0px 0px 0px 1px #e20a00;
  content: "";
  display: block;
  margin-left: 30px;
}

.portfolio_item {
  width: 175px;
  margin: 0 63px 25px 0;
  display: inline-block;
  vertical-align: top;
}

.portfolio_item:nth-child(4n+1) {
  margin-right: 0;
}

.portfolio_item_photo {
  width: 155px;
  height: 155px;
  border: 7px solid #2a2e33;
  box-shadow: 0 0 10px #0c0e10;
  -moz-box-shadow: 0 0 10px #0c0e10;
  -webkit-box-shadow: 0 0 10px #0c0e10;
  overflow: hidden; 
  display: block;
}

.portfolio_item_title {
  font: 14px "Open Sans";
  color: #fff;
  text-align: center;
  margin-top: 15px;
}

.main_about {
  width: 500px;
  margin: 0 auto 15px auto;
}

.main_about_title {
  font: 700 27px "Open Sans";
  color: #f1f2f2;
  text-transform: uppercase;
  text-align: center;
  width: 100px;
  background-color: #1f2226;
  display: block;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 999;
}

.main_about_content {
  border: 7px solid #272b31;
  font: 13px "Open Sans";
  color: #fff;
  margin-top: -20px;
  padding: 30px 0 15px 0;
}

.main_about_content ul {
  width: 230px;
  margin: 0 auto;
}

.main_about_content p {
  width: 90%;
  margin: 0 auto;
  text-align: justify;
}

.page {
  background-color: #ebebeb;
  -webkit-box-shadow: 4px -3px 15px 0px rgba(255, 255, 94, 0.75);
  -moz-box-shadow:    4px -3px 15px 0px rgba(255, 255, 94, 0.75);
  box-shadow:         4px -3px 15px 0px rgba(255, 255, 94, 0.75);
  padding: 40px 100px;
  width: 780px;
}

.page h3:before {
  left: -0.5em;
  margin: 0 0 0 -50%;
}

.page h3:before, .page h3:after {
  background: none repeat scroll 0 0 padding-box content-box #e20a00;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  content: "";
  display: inline-block;
  height: 2px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

.page h3:after {
  left: 0.5em;
  margin: 0 -50% 0 0;
}

.page h3 {
  color: #c20a00;
  overflow: hidden;
  text-align: center;
  text-transform: uppercase;
  font: 600 25px "Open Sans", sans-serif;
  margin-bottom: 20px;
}

.page h4 {
  font-size: 18px;
  line-height: 20px;
  margin: 10px 0;
}

.page ul {
  list-style: inside disc;
}

.page p {
  margin: 0 0 10px;
}

.page table.booklet_table {
  vertical-align: top;
}

.page .booklet_table td {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  width: 235px;
}

.page .booklet_table td h2 {
  line-height: 20px;
  margin-bottom: 50px;
}

.page .booklet_table td h2 img {
  float: left;
  height: auto;
  margin: 0 10px 10px 0;
  width: 60px;
}

.page table.booklet_table td, .page table.booklet_table th {
  padding: 9px 10px;
  text-align: left;
}

.page a {
  color: #0088cc;
  text-decoration: none;
}

.page a:hover {
  text-decoration: underline; 
}

.nothingpage {
  background-color: #1c2023;
  -webkit-box-shadow: inset 0px 0px 30px 0px rgba(255, 255, 255, 0.3);
  -moz-box-shadow:    inset 0px 0px 30px 0px rgba(255, 255, 255, 0.3);
  box-shadow:         inset 0px 0px 30px 0px rgba(255, 255, 255, 0.3);
  padding: 40px;
  text-align: center;
  margin: 20px 0;
}

  .nothingpage h3:before, .nothingpage h3:after {
    border: none;    
  }
  
  .nothingpage .page_content {
    color: #fff;
    font-size: 130%;
  }

.footer {
  background: url("images/img_btm.png") center top no-repeat;
  background-size: cover;
  height: 324px;
  padding-top: 60px;
}

#footer_logo {
  font: 100 20px "Open Sans";
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  height: 100px;
  width: 280px;
  margin-top: 35px;
}

#footer_logo img {
  float: left;
  margin-right: 15px;
  -webkit-animation-name: spin;
  -webkit-animation-duration: 8000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-name: spin;
  -moz-animation-duration: 8000ms;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: linear;
  -ms-animation-name: spin;
  -ms-animation-duration: 8000ms;
  -ms-animation-iteration-count: infinite;
  -ms-animation-timing-function: linear;
  animation-name: spin;
  animation-duration: 8000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
}

.footer_contact {
  width: 355px;
  margin-top: 50px;
}

.footer_contact_item {
  width: 45%;
}

.footer_contact_text {
  font: 100 14px "Open Sans", sans-serif;
  color: #ffc200;
}

  .footer_contact_text .footer_contact_datainfo {
    font: 600 20px "Open Sans", sans-serif;
    color: #fff;
  }
  
  .footer_contact_text a {
    color: #fff;
    display: block;
    padding-top: 6px;
  }

/* BootStrap Contact */
.page .form-group {
  margin: 15px 0;
}

.page label {
  display: inline-block;
  font-weight: 700;
  margin-bottom: 5px;
  max-width: 100%;
  color: #333;
  font: 14px "Open Sans";
}

.page input, .page textarea {
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  color: #555;
  display: block;
  font-size: 14px;
  height: 34px;
  line-height: 1.42857;
  padding: 6px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 755px;
}

.page .YMaps {
  margin-bottom: 15px;
}

.page textarea {
  height: auto;
}

.page .btn {
  margin-bottom: 5px;
  margin-top: 5px;
  -moz-user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857;
  margin-bottom: 0;
  padding: 6px 12px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  cursor: pointer;
  width: 100%;
  display: block;
  background-color: #006dcc;
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}