/*!
Theme Name: revolt
Theme URI: http://
Author: Me
Author URI: http://
Description: Description
Version: 1.0.0
Text Domain: revolt
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,700');

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	margin: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}
audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #333333;

	/* Fallback for when there is no custom background color defined. */
}

body.loading #content{
    display: none;
    opacity:0;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}

#loader{
    position: fixed;
    width: 100%;
    height: 0%;
    top:0;
    left:0;
    background: #fff;
    z-index: 99999;
    -webkit-transition: 400ms;
    transition: 400ms;
}
#l1{
    position: fixed;
    width: 100%;
    height: 0%;
    top:0;
    left:0;
    background: #ddd;
    z-index: 100001;
    -webkit-transition: 800ms;
    transition: 800ms;
}
#l2{
    position: fixed;
    width: 100%;
    height: 0%;
    top:0;
    left:0;
    background: #eee;
    z-index: 100002;
    -webkit-transition:400ms;
    transition: 400ms;
}
#l3{
    position: fixed;
    width: 100%;
    height: 0%;
    top:0;
    left:0;
    background: #fff;
    z-index: 100003;
    -webkit-transition: 200ms;
    transition: 200ms;
}
#l3 img{
    margin: 0 auto;
    display: block;
    margin-top: 300px;
    -webkit-transition: 100ms;
    transition: 100ms;
    opacity: 0;
}
body.loading #loader, body.loading #l1,body.loading #l2,body.loading #l3{
    position: fixed;
    width: 100%;
    height: 100%;
}
body.loading #l3 img{
    opacity: 1;
}
#page{
    background: #fff;
}

blockquote, q {
	quotes: "" "";
}

blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #a3a3a3;
    text-decoration: none;
}
h2 a, h2 a:visited{
    color: #333333;
}

a:visited {
	color: #a3a3a3;
}

a:hover, a:focus, a:active {
	color: #2b92d5;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.menu-toggle{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 64px;
    background: #666;
    height: 64px;
    text-indent: -9999px;
    border: none;
}
#nav.active{
    right: 0;
    width: 240px;
    height: 100%;
     z-index: 999;
    /*min-width: 360px;*/
    -webkit-transition: 0.3s;
    transition: 0.3s;
    opacity: 1;
}

.navbar-main{
    display: block;
}
#nav.active .navbar-main{
    display: block;
}
#nav ul{
    margin-top: 48px;
    border-top: 1px solid #ddd;
}

nav li a{
    color: #212121;
    display: block;
    width: 100%;
    text-decoration: none;
    letter-spacing: 1px;
    vertical-align: middle;
    text-transform: uppercase;
    -webkit-transition: 0.3s;
          transition: 0.3s;
    z-index: 10;
    height: auto;
    border-bottom: 1px solid #ddd;
}

/*jkfdsf*/
.cmn-toggle-switch span {
  display: block;
  position: absolute;
  top: 28px;
  left: 8px;
  right: 8px;
  height: 6px;
  background: white;
}

.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #fff;
  content: "";
}


.cmn-toggle-switch span::before {
  top: -16px;
}

.cmn-toggle-switch span::after {
  bottom: -16px;
}

.cmn-toggle-switch__htra {
  background-color: #212121;
}

.cmn-toggle-switch__htra span {
  -webkit-transition: -webkit-transform 0.3s;
          transition: transform 0.3s;
}

.cmn-toggle-switch__htra span::before {
  -webkit-transform-origin: top left;
      -ms-transform-origin: top left;
          transform-origin: top left;
  -webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s;
          transition: transform 0.3s, width 0.3s, top 0.3s;
}

.cmn-toggle-switch__htra span::after {
  -webkit-transform-origin: bottom left;
      -ms-transform-origin: bottom left;
          transform-origin: bottom left;
  -webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s;
          transition: transform 0.3s, width 0.3s, bottom 0.3s;
}

/* active state, i.e. menu open */
.cmn-toggle-switch__htra.active {
  background-color: #a3a3a3;
}

.cmn-toggle-switch__htra.active span {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
    background-color: #a3a3a3;
}

.cmn-toggle-switch__htra.active span::before,
.cmn-toggle-switch__htra.active span::after {
  width: 114%;
}

.cmn-toggle-switch__htra.active span::before {
  top: 0;
  -webkit-transform: translateX(0px) translateY(18px) rotate(-45deg);
      -ms-transform: translateX(0px) translateY(18px) rotate(-45deg);
          transform: translateX(0px) translateY(18px) rotate(-45deg);
}

.cmn-toggle-switch__htra.active span::after {
  bottom: 0;
  -webkit-transform: translateX(0px) translateY(-22px) rotate(45deg);
      -ms-transform: translateX(0px) translateY(-22px) rotate(45deg);
          transform: translateX(0px) translateY(-22px) rotate(45deg);
}
/*gfdgxfg*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
    display: block;
}

.main-navigation a {
	display: block;
	text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    font-size: 14px;
    padding: 12px 20px;
    font-weight: 700;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: inline-block;
    float: right;
    background: #333;
}



.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.container{
    max-width: 1240px;
    margin: 0 auto;
}
#content{
    margin-top: 64px;
    opacity: 1;
    display: block;
}
#content .container{
    margin-top: 0;
}
#masthead{
    background: #333333;
    color: #fff;
    height: 64px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9999;
}


/* Make sure logo link wraps around logo image. */
.logo {
	display: inline-block;
}
.logo a{
	display: block;
    padding: 14px;
}
.logo a img{
    vertical-align: middle;
    max-height: 36px;
}
nav .menu-frontpage-container{
    /*margin-top: 50px;*/
}
#primary{
    padding: 40px 20px;
}
#secondary{
    padding: 40px 20px;
}
/*slider*/
#slide{
    box-shadow: 0 0 0 8px #333333;
}
#slide_bg{
   background: #0792d5;
    display: block;
    position: relative;
    max-height: 100%;
    width: 100%;
    z-index: 100;
}
#slide_bg img.bgimg{
    display: block;
    max-height: 550px;
    margin: 0 auto;
}
#sld_cont{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    z-index: 200;
}
#sld_cont .container{
    display: block;
    height: 100%;
    position: relative;
    padding: 0 20px;
}
#sld_cont img.arrow{
    position: absolute;
    bottom: 0px;
    display: block;
    max-height: 550px;
    margin: 0 auto;
    left: 55%;
    height: 50%;
    transition: 0.3s;
    opacity: 0;
}
#sld_cont.animate img.arrow{
    bottom: 20px;
    opacity: 1;
}
#sld_cont img.binary{
    position: absolute;
    top: 0;
    right: -50px;
    display: block;
    max-height: 550px;
    margin: 0 auto;
    height: 100%;
    transition: 0.3s;
    opacity: 0;
}
#sld_cont.animate img.binary{
    opacity: 1;
    right: 0;
}
#sld_cont div.sld_text{
    position: absolute;
    z-index: 500;
}
#sld_cont div.sld_text h2{
    color: #fff;
    font-size: 1em;
    line-height: 1em;
    text-transform: uppercase;
    width: 50%;
    margin-top: 10%;
    margin-left: -50px;
    transition: 0.3s;
    opacity: 0;
}
#sld_cont.animate div.sld_text h2{
    margin-left: 0px;
    opacity: 1;
}
#sld_cont .sld_button{
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #0792d5;
    background: #fff;
    border: 0;
    border-radius: 10px;
    line-height: 14px;
    padding: 4px 8px;
    margin-left: -50px;
    transition: 0.4s;
    opacity: 0;
}
#sld_cont.animate .sld_button{
    margin-left: 0px;
    opacity: 1;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#front-main{
    position: relative;
}
h1.page-title, h1.entry-title{
    color: #a3a3a3;
    text-transform: uppercase;
    font-size: 3em;
}
h2.entry-title a{
    font-size: 1.5em;
}
.fr_sec h1{
    color: #a3a3a3;
    text-transform: uppercase;
    font-size: 3em;
    letter-spacing: 1px;
}
.fr_sec article{
    text-align: right;
    color: #585858;
}
#home_content{
    padding: 10px;
    position: relative;
}
#block_bg{    
    position: absolute;
    display: block;
    background: url(images/blockchain.png) left bottom no-repeat;
    left: 0;
    margin-top: 60px;
    width: 40%;
    height: 520px;
    max-width: 340px;
    -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
#home_content::before{
    content: "";
    position: absolute;
    right: -75px;
    top: -53px;
    width: 250px;
    height: 30px;
    background-image: url(images/line.png);
    /* background-image: linear-gradient(#333333 44%, rgba(255,255,255,0) 0%); */
    background-position: right;
    background-size: 25px 25px;
    background-repeat: repeat-x;
    z-index: 999;
    margin: 0px 0;
    margin-right: -19px;
    overflow: hidden;
    display: none;
}
#home_content::after{
    content: "";
    position: absolute;
    right: 0;
    top: 0px;
    width: 25px;
    height: 112%;
    background-image: url(images/line.png);
    /* background-image: linear-gradient(#333333 44%, rgba(255,255,255,0) 0%); */
    background-position: top right;
    background-size: 25px 25px;
    background-repeat: repeat-y;
    z-index: 999;
    margin: -175px 0 0 0;
    margin-right: 6px;
    overflow: hidden;
    display: none;
}
.fr_sec{
    position: relative;
    padding-top: 40px;
}
.fr_sec h1{
    margin: 0;
    line-height: 1;
}
.fr_sec article{
    font-weight: 400;
    color: #535353;
    padding: 20px 0 0 0;
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.5;
}
#home-side-menu{
    position: absolute;
    top: 148px;
    right: -20%;
    z-index: 500;
    /* background: #ccc; 
    width: 20%;*/
    display: none;
}
#home-side-menu li{
    list-style: none;
}
#home-side-menu li a{
    text-decoration: none;
    font-size: 14px;
    color:#a3a3a3;
    text-transform: uppercase;
    line-height: 2;
    font-weight: 400;
    letter-spacing: 1px;
}
#home-side-menu li a.active{
    color:#333333;
}

#whatwedo article{
    width: 90%;
    margin-left: 9%;    
}
#cont_map{
    width: 100%;
    height: 320px;
    border: 2px solid #2b92d5;
}
#cont_map iframe.map{
   -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
         -o-filter: grayscale(100%);
            filter: grayscale(100%);
}
#cont_add{
    text-align: left;    
}
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.entry-meta, .entry-footer{
    font-size: 0.8em;
}
.comments-link{
    padding: 0 10px;/
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
#colophon{
        background: #333333;
    color: #fff;
    padding: 8px 20px;
    font-size: 0.8em;
    border-bottom: 4px solid #2b92d5;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/***************RESPONSIVE************************/
@media only screen and (min-width: 480px) {
    #sld_cont div.sld_text h2 {
        font-size: 1.2em;
        line-height: 1em;
        width: 40%;
        margin-top: 40px;
    }
    #sld_cont .sld_button {
        font-size: 12px;
        border-radius: 30px;
        line-height: 20px;
        padding: 6px 10px;
    }
    .fr_sec h1{
        font-size: 3.5em;
        letter-spacing: 4px;
    }
}
@media only screen and (min-width: 640px) {
    #sld_cont div.sld_text h2 {
        font-size: 1.5em;
        line-height: 1em;
        width: 40%;
        margin-top: 60px;
    }
    #sld_cont .sld_button {
        font-size: 16px;
        border-radius: 30px;
        line-height: 20px;
        padding: 10px 15px;
    }
    .fr_sec h1{
        font-size: 4em;
        letter-spacing: 4px;
    }
}
@media only screen and (min-width: 720px) {
    #sld_cont div.sld_text h2 {
        font-size: 2em;
        line-height: 1em;
        width: 45%;
        margin-top: 60px;
    }
    #sld_cont .sld_button {
        font-size: 16px;
        border-radius: 30px;
        line-height: 20px;
        padding: 10px 15px;
    }
    .fr_sec h1{
        font-size: 5em;
        letter-spacing: 4px;
    }
}
@media only screen and (min-width: 768px) {
    
    #sld_cont div.sld_text h2 {
        font-size: 2em;
        line-height: 1em;
        width: 40%;
        margin-top: 80px;
    }
    #sld_cont .sld_button {
        font-size: 18px;
        border-radius: 30px;
        line-height: 20px;
        padding: 10px 15px;
    }
    .menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
    
    .main-navigation {
        clear:none;
        display: inline-block;
        float: right;
        width: auto;
    }

    .main-navigation ul {
        display: inline-block;
        list-style: none;
        margin: 0;
        padding-left: 0;
    }

    .main-navigation ul ul {
        box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
        float: left;
        position: absolute;
        top: 100%;
        left: -999em;
        z-index: 99999;
    }

    .main-navigation ul ul ul {
        left: -999em;
        top: 0;
    }

    .main-navigation ul ul li:hover > ul,
    .main-navigation ul ul li.focus > ul {
        left: 100%;
    }

    .main-navigation ul ul a {
        width: 200px;
    }

    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        left: auto;
    }

    .main-navigation li {
        float: left;
        position: relative;
    }

    .main-navigation a {
        display: block;
        color: #fff;
        text-decoration: none;
        text-transform: uppercase;
        line-height: 64px;
        font-size: 14px;
        padding: 0px 20px;
        font-weight: 700;
        border: none;
    }
    #home_content {
        width: 100%;
        padding-right: 40px;
        position: relative;
    }
    .fr_sec {
        padding-top: 140px;
    }
    .fr_sec h1{
        font-size: 6em;
        letter-spacing: 4px;
    }
    .fr_sec article{
        padding: 60px 20px 0 0;
        font-size: 18px;
    }
    #whatwedo article {
        width: 60%;
        margin-left: 40%;
    }
    #block_bg{
        margin-top: 240px;
    }
    #cont_map{
        display: inline-block;
        width: 60%;
        height: 320px;
    }
    #cont_add{
        display: inline-block;
        width: 35%;
        margin-left: 4%;
        vertical-align: top;
    }
}

@media only screen and (min-width: 1024px) {
        
    #primary{
        width: 70%;
        display: inline-block;
        background-image: url(images/line.png);
        /* background-image: linear-gradient(#333333 44%, rgba(255,255,255,0) 0%); */
        background-position: top right;
        background-size: 25px 25px;
        background-repeat: repeat-y;
        padding-right: 50px;
    }
    #secondary{
        width: 29.5%;
        display: inline-block;
        vertical-align: top;    
    }
    #sld_cont div.sld_text h2 {
        font-size: 2.2em;
        line-height: 1em;
        width: 40%;
        margin-top: 120px;
    }
    #sld_cont .sld_button {
        font-size: 20px;
        border-radius: 30px;
        line-height: 20px;
        padding: 16px 20px;
    }
     #home_content {
        width: 80%;
    }
    #home-side-menu,#home_content::before, #home_content::after{
        display: block;
    }
    #masthead{
        height: 128px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
    #page.mastfix #masthead{
        height: 64px;     
    }
    .logo a{
        padding: 38px 10px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
    .logo a img{
        max-height: 52px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }
    .main-navigation a{
        line-height: 128px;
    }
    #page.mastfix .logo a{
        padding: 14px 10px;
    }
    #page.mastfix .logo a img{
        max-height: 36px;
    }
    #page.mastfix .main-navigation a{
        line-height: 64px;
    }
    #content {
        margin-top: 128px;
    }
    
}
@media only screen and (min-width: 1140px) {
        

    #sld_cont div.sld_text h2 {
        font-size: 2.5em;
        line-height: 1em;
        width: 40%;
        margin-top: 150px;
    }
    #sld_cont .sld_button {
        font-size: 24px;
        border-radius: 30px;
        line-height: 20px;
        padding: 16px 20px;
    }
    #block_bg{
        margin-top: 310px;
    }
        
}