/*
Author: XpeedStudio
Author URI: http://themeforest.net/user/XpeedStudio/portfolio
*/

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html,
body {
  background-color: #ffffff;
  font-size: 16px;
  color: #6b6b6b;
  width: 100%;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
  /*font-family: 'robotoregular';*/
  font-weight: 300;
}

/*==========================================
PRE LOADER 
==========================================*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fefefe;
  z-index: 99999;
  height: 100%;
  width: 100%;
  overflow: hidden !important;
}

.loaded {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url(../images/preloading.gif);
  background-repeat: no-repeat;
  background-position: center;
  -moz-background-size: cover;
  background-size: cover;
  margin: -20px 0 0 -20px;
}

img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

a,
a:hover,
a:active,
a:focus {
  text-decoration: none;
  outline: none;
}

a,
button,
a span {
  -webkit-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

.btn.extra-width {
  padding: 13px 40px;
}

.btn:focus,
.btn:active {
  outline: inherit;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  /*    direction: rtl;*/
}

p {
  margin: 0 0 30px;
}

.clear {
  clear: both;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

img {
  max-width: 100%;
}

textarea,
input[type='text'],
input[type='password'],
input[type='datetime'],
input[type='datetime-local'],
input[type='date'],
input[type='month'],
input[type='time'],
input[type='week'],
input[type='number'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='tel'],
input[type='color'],
.uneditable-input {
  outline: none;
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 16px;
  height: 45px;
}

.form-control:focus {
  border-color: #fff;
}

h1,
h2,
h3 {
  /*font-family: 'Lane', sans-serif;*/
  font-weight: 300;
  margin: 0;
  color: #525252;
}

h4,
h5 {
  /*font-family: 'roboto', sans-serif;*/
  font-weight: 300;
  margin: 0;
  line-height: 2rem;
  color: #525252;
}

h1 {
  font-size: 3rem;
  line-height: 4rem;
  font-weight: 300;
}

h2 {
  font-size: 2.5rem;
  line-height: 3rem;
  margin-bottom: 0.9rem;
}

h3 {
  font-weight: 300;
  margin-bottom: 0.9rem;
  font-size: 2.1rem;
  line-height: 2.5rem;
}

h4 {
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin-bottom: 1.8rem;
}

h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

p {
  line-height: 2.5rem;
  font-size: 2rem;
}

@media only screen and (min-width: 768px) {
  p {
    line-height: 1.5rem;
    font-size: 1rem;
  }
}

p:last-child {
  margin-bottom: 0px;
}

/*.home-wrap h1,*/

.home-wrap h2,
.home-wrap h3,
.home-wrap h4,
.home-wrap h5,
.home-wrap p {
  color: #ffffff;
  /*font-family: 'roboto', sans-serif;*/
}

.text {
  color: #333333;
}

.colorstext {
  color: #f56363;
}

.coloricon i {
  color: #f56363;
}

.colorsbg {
  background: #f56363;
  color: #ffffff;
}

.lightbg {
  background-color: #dddfeb;
}

.transition {
  -webkit-transition: all 300ms linear;
  -moz-transition: all 300ms linear;
  -o-transition: all 300ms linear;
  -ms-transition: all 300ms linear;
  transition: all 300ms linear;
}

.fa {
  font-size: 60px;
}

.lnr.weblogo {
  max-width: 200px;
  width: 200px;
  height: auto;
}

.lnr.mobileapp {
  max-width: 200px;
  width: 200px;
  height: auto;
  box-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 1px 3px 1px rgb(60 64 67 / 15%);
  border-radius: 20%;
}

.lnr.mobileapp.noBorder {
  box-shadow: none;
  border-radius: 0;
}

.lnr.mobileapp:hover {
  transform: scale(1.2);
}

.lnr.mobileapp.screenshot {
  margin: auto;
  padding-top: 40px;
}

.nav {
  width: 100%;
  float: right;
  padding-top: 70px;
  padding-right: 5px;
}

.nav .navitem a {
  color: #fff;
  float: right;
  padding: 10px 5px;
}

@media only screen and (min-width: 1170px) {
  .nav {
    padding-right: 55px;
  }
}

/*
Section
*/

.sections {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.sections2 {
  padding-top: 350px;
  padding-bottom: 350px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.sections3 {
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.sections4 {
  padding-top: 5px;
  position: relative;
  overflow: hidden;
}

#plugins .content {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  #plugins .content {
    flex-direction: row;
  }
}

#mobileapps .content {
  display: flex;
  justify-content: space-around;
  flex-direction: column;
}

#mobileapps .content a {
  margin: 20px auto;
}

@media only screen and (min-width: 768px) {
  #mobileapps .content {
    flex-direction: row;
    align-items: center;
  }
  #mobileapps .content a {
    margin: auto;
  }
}

.footer {
  padding-top: 50px;
  padding-bottom: 50px;
  color: #fff;
  background: #222222;
}

section .subtitle h5 {
  margin-top: 10px;
  font-size: 1.3rem;
  font-family: 'roboto', sans-serif;
}

.parallax-section {
  max-width: 100%;
  color: #ffffff;
}

section .title-half h2 {
  font-size: 3rem;
  line-height: 4rem;
  font-weight: 300;
  margin-bottom: 1.4rem;
}

section .subtitle-half h5 {
  font-weight: 100;
  font-size: 17px;
}

.heading {
  margin-bottom: 4rem;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.45);
  width: 100%;
  overflow: hidden;
  min-height: 800px;
}

.overlay-fluid-block {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
}

.home-overlay-fluid {
  background-color: rgba(41, 41, 41, 0.68);
  width: 80%;
  margin: auto;
}

.overlay-img {
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  color: #ffffff;
}

.no-padding {
  padding: 0 !important;
}

.fluid-blocks-col {
  padding: 70px 40px 0 80px;
}

.fluid-blocks-col-right {
  padding: 70px 80px 0 40px;
}

.emailToShow {
  display: none;
  position: absolute;
}

/*
Separator
*/

.separator {
  height: 1px;
  width: 150px;
  margin: auto;
  background: #f56363;
}

/*
Button
*/

.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary.disabled,
.btn-primary.disabled:hover {
  color: #ffffff;
  background-color: #f56363;
  border-color: #f56363;
}

/*
Extra height css
*/

.margin-top-20 {
  margin-top: 20px;
}

.margin-bottom-20 {
  margin-bottom: 20px;
}

.margin-top-40 {
  margin-top: 40px;
}

.margin-bottom-40 {
  margin-bottom: 40px;
}

.margin-top-60 {
  margin-top: 60px;
}

.margin-80 {
  margin-top: 80px;
  margin-bottom: 80px;
}

.margin-bottom-60 {
  margin-bottom: 60px;
}

.margin-top-80 {
  margin-top: 80px;
}

.margin-bottom-80 {
  margin-bottom: 80px;
}

.padding-top-20 {
  padding-top: 1.33rem;
}

.padding-bottom-20 {
  padding-bottom: 1.33rem;
}

.padding-top-40 {
  padding-top: 2.66rem;
}

.padding-bottom-40 {
  padding-bottom: 2.66rem;
}

.padding-top-60 {
  padding-top: 5rem;
}

.padding-bottom-60 {
  padding-bottom: 5rem;
}

.padding-bottom-0 {
  padding-bottom: 0;
}

/*padding*/

.padding-twenty {
  padding: 10px 0;
}

.padding-fourty {
  padding: 20px 0;
}

.padding-sixty {
  padding: 30px 0;
}

.padding-eighty {
  padding: 40px 0;
}

h1 span {
  color: #f56363;
  font-weight: 400;
}

/*for placeholder changes*/

.lnr {
  width: 100px;
  height: 100px;
}

input::-webkit-input-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

input::-moz-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

input:-ms-input-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

textarea::-webkit-input-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

textarea::-moz-input-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

textarea::-ms-input-placeholder {
  color: #c3bec2;
  font-size: 12px;
}

/*For Our Global Section*/

.heading-content {
  margin-bottom: 4rem;
}

.heading-content h3 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 3px;
}

.btn-default {
  color: #fff;
  background-color: #ff2b4a;
  border-color: transparent;
  border-radius: 0;
  padding: 10px 60px;
  font-size: 16px;
  transition: 0.3s ease-in-out;
}

.btn-default:active,
.btn-default:hover {
  background: #002453;
  color: #fff;
}

/*For Menu Section*/

/*For Home Section*/

.home {
  /*background: url(../images/header-bg.jpg) no-repeat center top fixed;*/
  background: url(../images/radek-bg_transparent.png) no-repeat left top fixed;
  background-size: auto;
  -moz-background-size: auto;
  -webkit-background-size: auto;
  -o-background-size: auto;
  width: 100%;
  overflow: hidden;
}

.home-wrapper {
  margin-top: 240px;
  color: #fff;
}

.home-content h1 {
  font-size: 65px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 900;
  font-family: 'Raleway Webfont';
  letter-spacing: 12px;
  border-top: 2px solid #ecf0f2;
  border-bottom: 2px solid #ecf0f2;
  padding: 20px 0;
}

.home-content p {
  font-size: 25px;
  margin-top: 20px;
  color: #ecf0f2;
}

/*For About Us Section */

.about-content {
  margin: 70px auto;
}

.about-content h4 {
  font-size: 18px;
  font-family: 'robotobold';
}

.about-content a {
  margin-top: 40px;
}

.about-photo {
  text-align: center;
}

/*For Features Section*/

.features-bg {
  background: #10c6fc;
  color: #fff;
  height: 270px;
  width: 283px;
  margin-bottom: 20px;
}

.features-item {
  padding-top: 84px;
}

.features-item i {
  font-size: 40px;
}

.features-item h6 {
  padding-top: 35px;
}

.features-item h6 a {
  font-size: 18px;
  text-transform: uppercase;
  color: #fff;
}

.features-item h6 a:hover {
  text-shadow: 1px 1px #fff;
}

.features-bg.design {
  background: #10c6fc;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

.features-bg.design:hover {
  background: #10addd;
}

.features-bg.development {
  background: #835aeb;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

.features-bg.development:hover {
  background: #724cd3;
}

.features-bg.testing {
  background: #002453;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

.features-bg.testing:hover {
  background: #023a83;
}

.features-bg.launch {
  background: #eb2845;
  transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
}

.features-bg.launch:hover {
  background: #f83855;
}

/*For Experience Section*/

.experience {
  background: url(../images/city.jpg) no-repeat center top fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  width: 100%;
  overflow: hidden;
}

.experience-wrapper {
  margin-top: 30px;
}

.experience-content {
  background: rgba(79, 50, 68, 0.7);
  padding: 60px 40px;
  color: #fff;
}

.experience-content h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 26px;
  font-family: 'Raleway Webfont';
  font-weight: 600;
  margin-bottom: 50px;
}

.experience-content .content-details h5 {
  color: #fff;
  font-size: 18px;
}

.experience-content .content-details h6 {
  color: #ecf0f2;
  font-size: 16px;
}

.experience-content .content-details p {
  color: #ecf0f2;
}

.experience-content .content-details.content-border {
  border-bottom: 1px solid #dadada;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

/* For Portfolio Section*/

.portfolio-item {
  margin-bottom: 20px;
}

.portfolio-wrapper .fa {
  padding: 30px;
}

.portfolio-wrapper2 {
  margin-top: 25px;
}

.portfolio-wrapper2 .portfolio-item.width-img {
  width: 100%;
  overflow: hidden;
  height: 243px;
}

.portfolio-wrapper2 .portfolio-item.width-img img {
  width: 100%;
}

/* For Testimonial Section*/

.testimonial-content {
  margin-top: 150px;
}

.testimonial-content .testimonial-quote i {
  font-size: 60px;
  margin-bottom: 40px;
  color: #6d809e;
}

.testimonial-content .testimonial-quote p {
  font-size: 16px;
}

.testimonial-content .singnature {
  width: 100%;
  display: block;
  overflow: hidden;
  margin: 50px 0 30px 0;
}

.testimonial-content .regards-by h5 {
  margin-bottom: 5px;
}

.profile-photo {
  height: 650px;
}

/*For Contact Section*/

.contact {
  background: url(../images/contact2.jpg) no-repeat center top fixed;
  background-size: cover;
  -moz-background-size: cover;
  -webkit-background-size: cover;
  -o-background-size: cover;
  width: 100%;
  overflow: hidden;
}

.contact-area {
  background: rgba(79, 50, 68, 0.7);
  padding: 60px 40px 147px 40px;
  color: #fff;
}

.contact-wrapper h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 26px;
  font-family: 'Raleway Webfont';
  font-weight: 600;
  margin-bottom: 50px;
}

.form-control {
  border: 1px solid #c3bec2;
  font-size: 16px;
  height: 50px;
  background: transparent;
  border-radius: 0;
  margin-bottom: 30px;
}

.contact-area form a {
  float: right;
  margin-top: 20px;
}

.contact-details {
  background: rgba(55, 38, 57, 0.64);
  padding: 60px 40px;
  color: #fff;
  margin-bottom: 20px;
}

.contact-details h4 {
  margin-bottom: 25px;
}

.contact-details p {
  margin: 0 0 10px;
  color: #c3bec2;
}

/* For Footer Area */

.main-footer {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .main-footer {
    flex-direction: row;
  }
}

.main-footer ul {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .main-footer ul {
    flex-direction: row;
  }
}

.main-footer li {
  float: left;
  padding: 20px;
}

.main-footer li a {
  color: #fff;
}

.main-footer .social {
  margin-bottom: 10px;
}

.main-footer .social a {
  color: #c3bec2;
  font-size: 15px;
}

.main-footer .social a:hover {
  color: #ff2b4a;
}

.main-footer .social a i {
  border-right: 1px solid #c3bec2;
  padding: 0 10px 0 10px;
}

.main-footer .social a i.dribbble {
  border-right: 0;
}

.main-footer p {
  color: #c3bec2;
  font-size: 12px;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */

.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}

.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

.home-main-content {
  position: relative;
  height: 100%;
  overflow: hidden;
  /* background-color: #3a393f; */
  background-color: #6db3f2;
  /* slightly visible only when we resize this element */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.home-main-content.move-out {
  -webkit-transform: scale(0.6);
  -moz-transform: scale(0.6);
  -ms-transform: scale(0.6);
  -o-transform: scale(0.6);
  transform: scale(0.6);
}

.no-js .home-main-content {
  height: auto;
  overflow-x: auto;
  overflow-y: auto;
}

.cd-header {
  position: absolute;
  top: 10%;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 2;
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}

@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
  }
}

#cd-logo {
  position: absolute;
  left: 10px;
  top: 8px;
  width: 100px;
  height: 32px;
}

#cd-logo img {
  display: block;
}

@media only screen and (min-width: 768px) {
  #cd-logo {
    left: 20px;
    top: 24px;
  }
}

@media only screen and (min-width: 1170px) {
  #cd-logo {
    left: 60px;
  }
}

.cd-menu-trigger {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 0;
  height: 50px;
  width: 50px;
  line-height: 50px;
  padding: 0 0.8em;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem;
  border: 2px solid #ededed;
}

.cd-menu-trigger span {
  /* hamburger icon */
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: white;
  vertical-align: middle;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}

.cd-menu-trigger span::before,
.cd-menu-trigger span::after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.cd-menu-trigger span::before {
  top: -6px;
}

.cd-menu-trigger span::after {
  bottom: -6px;
}

.no-touch .cd-menu-trigger:hover span::before {
  top: -8px;
}

.no-touch .cd-menu-trigger:hover span::after {
  bottom: -8px;
}

@media only screen and (min-width: 768px) {
  .cd-menu-trigger {
    top: 16px;
    right: 10px;
    font-size: 16px;
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-menu-trigger {
    right: 60px;
  }
}

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f9f9f9;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  /* we move this element off the canvas */
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
  z-index: 3;
}

#main-nav ul {
  height: 100%;
  overflow-y: scroll;
}

#main-nav li {
  height: 16.666%;
}

#main-nav li a {
  position: relative;
  display: block;
  padding: 0 10%;
  height: 100%;
  border-bottom: 1px solid #dfdbec;
  color: #3a393f;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: bold;
}

#main-nav li a span {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.no-touch #main-nav li a:hover {
  background-color: #fff;
}

#main-nav li:last-child a {
  border-bottom: none;
}

#main-nav .cd-close-menu {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(51, 48, 48, 0.36);
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

#main-nav .cd-close-menu::before,
#main-nav .cd-close-menu::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 10px;
  width: 20px;
  height: 3px;
  background-color: #fff;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

#main-nav .cd-close-menu::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#main-nav .cd-close-menu::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}

.no-touch #main-nav .cd-close-menu:hover::before {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}

.no-touch #main-nav .cd-close-menu:hover::after {
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  -o-transform: rotate(315deg);
  transform: rotate(315deg);
}

#main-nav.is-visible {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.no-js #main-nav {
  position: static;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.no-js #main-nav .cd-close-menu {
  display: none;
}

.cd-shadow-layer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.5s, opacity 0.5s 0s;
  -moz-transition: visibility 0s 0.5s, opacity 0.5s 0s;
  transition: visibility 0s 0.5s, opacity 0.5s 0s;
}

.cd-shadow-layer.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
}

#return-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background-color: #6b6b6b;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 999;
}

#return-to-top .fa {
  font-size: 40px;
}
