html, body { height: 100%; }
html { 
    -webkit-font-smoothing: antialiased; 
}
body {
    background-repeat: repeat;
}

/*----------------NAV--------------*/
.navbar {
    background-image: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 0;
    z-index: 99999;
}

/* Logo as text if no image uploaded */
.navbar h2 {
    margin-top: 0;
}
.navbar h2 a {
    font-size: 40px;
    line-height: 40px;
    margin: 10px 0;
    padding: 0;
}
.navbar h2 a img {
    margin: -10px 0;
}
.navbar h2 a:hover, .navbar h2 a:active {
    text-decoration: none; 
}

.navbar-fixed-top { top: auto; }

.navbar .nav {
    float: right;
    font-size: 14px;
    line-height: 20px;
    margin-top: 30px;
}
.navbar .nav li {
    margin: 0 25px;
    padding: 0 0 12px;
}
.navbar .nav > li > a {
    border-bottom: 2px solid transparent;
    padding: 0 0 12px;
    text-shadow: none;
    text-transform: uppercase;
}

.navbar .nav > .no-redirect.active > a, .navbar .nav > .no-redirect.current-menu-item > a {
    border-bottom: 2px solid transparent;
}

.navbar .nav > .active > a, .navbar .nav > .active > a:hover, .navbar .nav > .active > a:focus,
.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
    background-color: transparent;
}

.nav > li > a:hover, .nav > li > a:focus {
    background-color: transparent;
    transition: all 400ms ease;
    -ms-transition: all 400ms ease;
    -moz-transition: all 400ms ease;
    -webkit-transition: all 400ms ease;
    -o-transition: all 400s ease;
}

.navbar .nav .dropdown-menu {
    border: medium none;
    font-size: 12px;
}
.navbar .nav .dropdown-menu li {
    box-shadow: 0 1px 0 rgba(200, 200, 200, 0.1);
    padding: 0;
    margin: 1px 25px;
    line-height: 25px;
}

.navbar .nav .dropdown-menu li.dropdown-header {
    font-size: 110%;
    padding: 10px;
}
.navbar .nav .dropdown-menu li.divider {

}

.navbar .nav .dropdown-menu li  a {
    padding: 10px 25px;
    line-height: inherit;
    position: relative;
    left: 0px;
    transition: left 400ms ease;
    -ms-transition: left 400ms ease;
    -moz-transition: left 400ms ease;
    -webkit-transition: left 400ms ease;
    -o-transition: left 400s ease;
}
.navbar .nav .dropdown-menu li a:hover, .dropdown-menu li a:active, .dropdown-menu li a:focus,
.navbar .nav .dropdown-menu > .active > a, 
.navbar .nav .dropdown-menu > .active > a:hover, 
.navbar .nav .dropdown-menu > .active > a:focus {
    left: 20px;
}

.navbar .navbar-right .dropdown-menu {
    left: auto;
    right: 0;
}

.navbar .nav .glyphicon {
    left: -10px;
}

.navbar .nav .dropdown-menu li:last-child { margin-bottom: 32px; }


.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
    background-image: none;
    background-color: transparent;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    background-image: none;
}

.navbar-toggle { 
    border: 1px solid transparent; 
    border-radius: 0;
    margin-right: 0;
} 
.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 5px;
}
.navbar-toggle .icon-bar {
    border-radius: 0;
    display: block;
    height: 4px;
    width: 35px;
}

#top-nav nav {
    clear: both;
}
#lang-selector {
    border-radius: 0 0 5px 5px;
    clear: both;
    float: right;
    margin: 0;
    padding: 5px 10px;
    position: relative;
    right: 15px;
    top: 0;
}
#lang-selector i {
    font-size: 1.2em;
}
#lang-selector li {
    display: inline-block;
    font-size: 0.8em;
    list-style: none outside none;
    padding: 0 5px;
}
#lang-selector li:not(:last-child):after {
    content: " | ";
}
#lang-selector li a { color: inherit; }
#lang-selector li span {
    padding: 0 4px;
}

.jumbotron {
	border-radius: 0;
	padding: 0;
}
.jumbotron .container { max-width: 1080px; } /* same as wrapper */
.jumbotron .wrapper { padding: 64px 70px 74px; }
.down-arrow {
    background-image: url("../images/down-arrow-22x15.png");
    background-position: center 34px;
    background-repeat: no-repeat;
    border-radius: 68px 68px 68px 68px;
    display: block;
    height: 68px;
    margin: -38px auto 0;
    position: relative;
    width: 68px;
}


#content .wrapper {
    clear: both;
    /*overflow: visible;*/
}
#top-nav .wrapper {
    overflow: visible;
}
#content.frontpage > .wrapper section {
    padding-top: 20px;
}
#content.frontpage > .wrapper:first-child { 
    margin-top: -30px !important; 
    padding-top: 10px;
}
#content.frontpage > .wrapper:last-child { 
    padding-bottom: 50px;
}
#content.frontpage .wrapper section:last-child { 
    padding-bottom: 50px;
}

.wrapper {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
	margin: 0 auto;
    max-width: 1080px;
    /*overflow: hidden;*/
    padding: 0 50px;
}
#top-nav .wrapper { padding: 0; }


/*--------------TYPOGRAPHY--------------*/

h1,h2,h3,h4,h5,h6 {
    font-weight: normal;
}

.jumbotron {
    border-radius: 0 0 0 0;
    line-height: normal;
    margin: 0;
}

.entry-header h1 {
    margin: 0;
    padding: 20px 0;
}

.section-header h2,
.comment-reply-title { 
    margin-bottom: 26px;
    margin-top: 25px;
    text-shadow: 0px 1px 1px #FFFFFF;
}
.section-header h2 span,
.comment-reply-title {
    padding: 0 10px;
}
.section-header h3 {
    margin-bottom: 30px;
    text-align: center;
}

h4.title {
    margin: 37px 0 25px;
    text-align: center;
}
h4.title span {
    padding: 0 10px;
}
#page h4.title { background-image: none; }

.dropcap {
    float: left;
    font-size: 80px;
    padding-right: 7px;
    line-height: 72px;
}

button.btn-default { color: inherit; }


/* Responsive images. Fluid images for posts, comments, and widgets */

.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
    max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */

.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
    height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
    height: auto;
    max-width: 100%;
}
/*--------------------------------------*/


#services .row:not(:last-child) { margin-bottom: 20px; }
#services .single .bottom-border { 
    background-color: #e0e0e0; 
    height: 4px;
    transition: background-color 400ms ease;
    -ms-transition: background-color 400ms ease;
    -moz-transition: background-color 400ms ease;
    -webkit-transition: background-color 400ms ease;
    -o-transition: background-color 400s ease;
}

#services .single .featured img {
    height: auto;
    min-height: 160px !important;
    width: 100%;
}
#services .single .inner {
    height: 100%;
}


#services .single .content h4.title {
    background: none repeat scroll 0 0 transparent;
    margin: 0;
    padding: 30px 44px 10px;
    text-align: center;
}
#services .single .content p {
    margin-bottom: 0;
    padding: 0 44px;
    text-align: center;
}
#services .single .content p:last-child {
	padding-bottom: 36px;
}

#our-clients .thumbnail {
    background: none repeat scroll 0 0 #FFFFFF;
    border: medium none;
    color: #646461; /* md */
    font-size: 22px;
    line-height: 140px;
    margin-bottom: 20px;
    min-height: 140px;
    padding: 1px;
    text-align: center;

}
#our-clients .thumbnail.bg-hidden { background: none; }
#our-clients .thumbnail:hover,
#our-clients .thumbnail:active { 

    text-decoration: none; 
}
#our-clients .thumbnail > img {
   display: inline;
}

#our-clients .tooltip.top .tooltip-arrow { 
    border-width: 9px 9px 0;
    bottom: -4px;
    margin-left: -9px;
}
#our-clients .tooltip {
    width: 90%;
}
#our-clients .tooltip-inner {  
    background-color: #FFFFFF;
    border-bottom-width: 3px;
    border-bottom-style: solid;
    border-radius: 0 0 0 0;
    color: #646461; /* md */
    line-height: 16px;
    padding: 30px 20px;
    -webkit-box-shadow: 0 0 6px #E0E0E0;
    -moz-box-shadow:0 0 6px #E0E0E0;
    box-shadow: 0 0 6px #E0E0E0;
    word-wrap: break-word;
    max-width: 100%;
}
#our-clients .tooltip-inner a {  
    clear: both;
    display: block;
    padding: 10px 0 0;
    word-wrap: inherit;
}


#about-us .single {
    /*display: block;
    float: left;*/
    margin-bottom: 20px;
}
#about-us .featured img {
    display: block;
    height: auto;
    margin: 0 auto;
    width: auto;
}
#about-us .thumbnail {
    border: none;
    border-radius: 0 0 0 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    transition: none;
    -ms-transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}
#about-us p {
    font-style: italic;
    letter-spacing: 0.13px;
    text-align: center;
}
#about-us ul.social {
    border-bottom: 1px solid #C8C8C8;
    border-top: 1px solid #C8C8C8;
    font-size: 24px;
    margin: 30px auto 0;
    padding: 5px 0;
    text-align: center;
}

#about-us ul.social li a:hover { text-decoration: none; }

#about-us ul.social li {
    line-height: 30px;
    padding: 0 4px; 
}

#contact-us {
    padding-bottom: 30px;
}
#contact-us .company-info {
    border-top: 4px solid #E0E0E0;
    padding-right: 0;
    transition: border-color 400ms ease 0s;
    -ms-transition: border-color 400ms ease 0s;
    -moz-transition: border-color 400ms ease 0s;
    -webkit-transition: border-color 400ms ease 0s;
    -o-transition: border-color 400ms ease 0s;
}
#contact-us .company-info h4 {
    background: none repeat scroll 0 0 transparent;
    margin: 0;
    padding: 30px 44px 10px;
}
#contact-us .company-info p {
    padding: 10px 44px 10px;
}
#contact-us .company-info p:first-child {
    padding-top: 30px;
}
#contact-us .company-info p:last-child {
    padding-bottom: 36px;
}
#contact-us .company-info .bottom-border {     
    background: none repeat scroll 0 0 #E0E0E0;
    bottom: 0px;
    left: 0px;
    height: 4px;
    position: absolute;
    width: 100%;
    transition: background-color 400ms ease 0s;
    -ms-transition: background-color 400ms ease 0s;
    -moz-transition: background-color 400ms ease 0s;
    -webkit-transition: background-color 400ms ease 0s;
    -o-transition: background-color 400ms ease 0s;
}
#contact-us .google-map { 
    max-height: 400px; 
    padding-left: 0; 
    padding-right: 0; 
}

#mc-newsletter form { margin: 29px 0; }
#mc-newsletter label {
    background-image: url("../images/title-bg-rep-x-50-alpha.png");
    background-position: center center;
    background-repeat: repeat-x;
    margin: 15px 0;
    width: 100%;
    font-weight: inherit;
}
#mc-newsletter label span {
    margin: 0;
    padding-right: 20px;
    width: auto;
}
#mc-newsletter input[type="email"] {
    border: medium none;
    color: inherit;
    font-size: 13px;
    height: 50px;
    padding: 10px 22px;
}
#mc-newsletter input[type="submit"] {
    background-image: none;
    border: medium none;
    color: inherit;
    height: 50px;
    width: 100%;
    transition: none;
    -ms-transition: none;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: none;
}
#mc-newsletter .glyphicon {
    font-size: 30px;
    line-height: 40px;
}
#mc-newsletter .success-text,
#mc-newsletter .error-text {
    font-size: 12px;
    padding: 10px 0 0 10px;
}
#mc-newsletter .error-msg { 
    cursor: pointer; 
    padding: 0;
}

#testimonials {
    margin: 0 -50px; /* negative .wrapper padding */
    overflow: hidden;
}
#content #testimonials .wrapper {
    background-color: transparent;
    margin-top: 0;
    overflow: visible;
}
#testimonials .item {
    color: #F9F9F9;
    text-align: center;
}
#testimonials h3 {
    padding: 70px 0;
}
#testimonials h3 span {
    clear: both;
    display: block;
    padding-top: 35px;
}
#testimonials a.carousel-control {
    background-image: none;
    border: medium none;
    opacity: 1;
    text-shadow: none;
    width: 55px;
}

#footer {
    min-height: 120px;
    padding: 40px 0 20px;
}

#footer #upper {
    padding-bottom: 30px;
    padding-top: 30px;
}
#footer #lower {
    padding-top: 30px;
}
#footer a { text-decoration: none; }
#footer ul.nav-footer {
    display: inline-block;
    margin-left: 0;
    padding-bottom: 30px;
}
#footer ul.nav-footer li {
    float: left;
    list-style: none outside none;
    padding: 0 17px;
}
#footer ul.nav-footer > li:first-child { padding-left: 0; }
#footer ul.nav-footer > li:last-child {  }
#footer ul.nav-footer .sub-menu {
    margin-left: 2px;
    padding-top: 5px;
}
#footer ul.nav-footer .sub-menu li {
    float: none;
    list-style: circle outside none;
    margin-left: 20px;
    padding-left: 0;
}

ul.social li {
    display: inline-block;
}
.widget_rioleme_somewidget ul.social {
    font-size: 24px;
    margin: 0;
}
.widget_rioleme_somewidget ul.social li {
    padding: 2px 8px 3px 0;
}
.widget_rioleme_somewidget ul.social li a {
    float: left;
}
.widget_rioleme_somewidget ul.social li a:hover, .widget_rioleme_somewidget ul.social li a:active { text-decoration: none; }
.widget_rioleme_somewidget ul.social li a i {
    padding-right: 10px;
}
.widget_rioleme_somewidget ul.social li a span {
    font-size: 12px;
    letter-spacing: 1.2px;
    padding: 0;
    position: relative;
    top: -4px;
}

.widget.widget_calendar th,
.widget.widget_calendar td {
    text-align: center;
}

#secondary .widget_rioleme_somewidget ul {
    margin-left: 0;
}
#secondary .widget_rioleme_somewidget ul li {
    width: 100%;
}

/* Sticky footer */
#wrap {
    height: auto;
    margin: 0 auto -120px;
    padding: 0 0 120px;
}


/************ BLOG + SINGLE + ARCHIVE + SEARCH ************/

.entry-content {
    padding: 40px 30px 30px;
    word-wrap: break-word;
}
.search  .entry-header {
    padding: 20px 30px 20px;
}
.post-thumbnail.full-width .wrapper, .post-thumbnail.full-width .wrapper > * {
	padding: 0;
}
.full-width, .full-width img {
    width: 100% !important;
    height: auto !important;
}
.half-width {
    width: 50% !important;
}
.entry-meta .slash {
    color: inherit;
    font-size: 18px;
    padding: 0 2px;
    position: relative;
    top: 2px;
}
.blog a.more-link,
.archive a.more-link {
    
}

#site-header h1 {
    margin: 30px 0;
} 

.blog article,
.archive article,
.search article,
.error404 article {
    margin: 40px 0;
    /*
    -webkit-box-shadow: 0px 0px 5px 0px #dddddd;
    box-shadow: 0px 0px 5px 0px #dddddd; */
}

.single article { margin: 40px 0; }

article .entry-meta a:hover, article .entry-meta a:focus,
article footer a:hover, article footer a:focus {
    text-decoration: none;   
}
.categories span, .tags span {
    position: relative;
    top: 3px;
}

article footer.meta {
    border-bottom: 3px solid #DDDDDD; /* md */
    border-top: 1px solid #DDDDDD;
    padding: 20px 30px;
}

article footer.meta .shares a {
    margin: 0 5px;
}
article footer.meta .shares a span {
    display: none;
}

#post .single-post {
    margin: 10px 0;
}

.home .entry-header,
.blog .entry-header,
.single .entry-header,
.archive .entry-header,
.search .entry-header,
.error404 .entry-header  {
    border-bottom: 1px solid #e8e8e8;
    padding: 10px 30px 30px;
}
.search .entry-header,
.error404 .entry-header  {
    padding: 5px 30px 10px;
}

.home h2.entry-title,
.blog h2.entry-title,
.single h2.entry-title,
.archive h2.entry-title,
.search h2.entry-title {
    text-transform: uppercase;
}
.single h2.entry-title a:hover, 
.single h2.entry-title a:active, 
.single h2.entry-title a:focus {
    cursor: default;
    text-decoration: none;
}
.single.single-format-link h2.entry-title a:hover, 
.single.single-format-link h2.entry-title a:active, 
.single.single-format-link h2.entry-title a:focus { 
    cursor: pointer;
    text-decoration: underline;
}

.blog .format-image img {
    width: 100% !important;
    height: auto !important;
}
.blog .format-image .entry-content img { display: none; }

/* for html5 video. another formats use js solution */
.blog .format-video .video-container video {
    width: 100% !important;
    height: auto !important;
}


.format-link .entry-header {
    padding: 20px 30px;
}
.format-image .entry-header {
    padding-top: 30px;
}
.search .format-image .entry-header {
    padding-top: 5px;
}
.format-link .entry-title {
    margin: 10px 0;
}


.blog #show-more .btn {
    color: #FFFFFF;
    margin-bottom: 50px;
    padding: 16px 12px;
}


/*********** SIDEBAR **********/
#secondary {
    margin-top: 40px;
    margin-bottom: 20px;
}
#secondary aside:first-child {
    padding-top: 0;
}

#secondary aside {
    border-bottom: 3px solid #DDDDDD;
    padding: 20px 0;
}

#secondary h3 { margin-top: 0; }

#secondary ul {
    margin-left: 15px;
    list-style: circle outside none;
}
#secondary ul li {
    padding-top: 2px;
    padding-bottom: 2px;
}
h2.widget-title {
    text-transform: uppercase;
}

.tagcloud a {

}

select#cat {
    border: 2px solid #DDDDDD;
    border-radius: 5px;
    outline: medium none;
    padding: 5px 10px;
    width: 100%;
}

/* Popular posts plugin */
#secondary aside.popular-posts ul { margin-left: 0; }
#secondary aside.popular-posts .post-stats { 
    font-size: 11px;
    font-weight: normal; 
}

/* Search */
#searchform {

}
#searchform label { display: none; }
#searchform #searchsubmit { display: none; }
#searchform #s {
    border: 2px solid #DDDDDD;
    border-radius: 4px;
    padding: 10px 20px 10px 40px;
    width: 100%;
}

/* Language selector */
#secondary #lang_sel,
#secondary #icl_lang_sel_widget {
    
}
#secondary #lang_sel li,
#secondary #icl_lang_sel_widget li {
    float: none; 
    width: 100%;
}
#secondary #lang_sel a.lang_sel_sel,
#secondary #icl_lang_sel_widget a.lang_sel_sel,
#secondary #lang_sel ul ul a,
#secondary #lang_sel_click ul ul a {
    border: 2px solid #DDDDDD;
    border-radius: 4px;
    padding: 10px 20px 10px 10px;
}
#secondary #lang_sel,
#secondary #lang_sel_click {
    height: 100%;
}
#secondary #lang_sel_click img.iclflag, 
#secondary #lang_sel img.iclflag { top: 0; }

#secondary #lang_sel ul ul, #secondary #lang_sel_click ul ul {
    border-top: medium none;
    height: 100%;
    top: 46px;
    width: 100%;
}


/* Social count plugin */
#secondary .social-count-plus {

}
#secondary .social-count-plus ul {
    margin: 0;   
}
#secondary .social-count-plus .vertical .count {
    font-size: 23px;
    font-weight: normal;
    margin-top: 0;
}
#secondary .social-count-plus .vertical .label {
    font-size: 11px;
    padding-top: 3px;
}


/*********** SINGLE **********/
#nav-below  {
    text-align: center;
    border-top: 1px solid #dddddd;
    border-bottom: 3px solid #dddddd;
    margin: 20px 0;
}
#nav-below .meta-nav {
    clear: both;
    display: block;
}
#nav-below .nav-previous {
    border-right: 1px solid #DDDDDD;
    padding: 40px 20px;
}
#nav-below .nav-next { 
    padding: 40px 20px;
}
#nav-below a:hover, #nav-below a:active {
    text-decoration: none;
}

/*********** COMMENTS ***********/
/* hide the default submit btn */
.form-submit {
    display: none;
}

.comments-title,
.comment-list,
.comment-reply-title,
.must-log-in,
.comment-respond .comment-form,
.comment-respond iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.sidebar .comments-title,
.sidebar .comment-list,
.sidebar .must-log-in,
.sidebar .comment-reply-title,
.sidebar .comment-navigation,
.sidebar .comment-respond .comment-form {
    padding-left: 60px;
    padding-right: 376px;
}

.comments-title h2 {
   margin-top: 26px;
}

.comment-list {
    
}
.comment-list,
.comment-list .children {
    list-style-type: none;
    padding: 0;
}

.children #respond .section-header h2 span {
    background-color: #FFFFFF;
}

.comment-list li {
    border-top: 1px solid #DDDDDD;
    padding: 0;
    width: 100%;
    margin: 0;
}
.comment-list li article {
    float: left;
    padding: 20px 0;
    width: 100%;
}

.comment-list .comment-author {
    margin-bottom: 3px;
}

.comment-list li.depth-1 {
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
}

.comment-list .children {
   margin: 0 -40px; /* negative padding */
}

.comment-list .children li {
    background: url("../images/comment-reply-arrow.gif") no-repeat scroll 70px 30px #E2E2E2;
    clear: both;
    display: block;
    margin-top: 0;
    padding-left: 120px;
    padding-right: 40px;
}

.comment-list > li:last-child {
    padding-bottom: 0;
}

.comment-list .comment-info {
    float: left;
    width: 50%;
}
.comment-list .reply {
    display: block;
    float: right;
    position: absolute;
    right: 15px;
}

.comment-list .reply a:before {
    background: none repeat scroll 0 0 #FFFFFF;
    content: "";
    height: 22px;
    left: -11px;
    position: absolute;
    top: 0;
    -webkit-backface-visibility: hidden;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 20px;
}
.comment-list .children .reply a:before {
    background: none repeat scroll 0 0 #E2E2E2;
}
.comment-list .reply a:hover { text-decoration: none; }

#cancel-comment-reply-link  { 
    display: none;
}

.comment-list .comment-text {
    float: left;
    clear: both;
}

.comment-list > li:last-child:after {
    display: none;
}

.comment-author .avatar {
    display: block;
}

.comment-author .fn {
    word-wrap: break-word;
}

a.comment-reply-link, .comment-reply-login {
    color: #FFFFFF;
    font-size: 14px;
    font-style: normal;
    font-weight: normal;
    padding: 5px 20px 5px 30px;
}
a.comment-reply-link:hover { color: #FFFFFF; }

.says {
    display: none;
}

.no-avatars .comment-author {
    margin: 0 0 5px;
    max-width: 100%;
    position: relative;
}

.no-avatars .comment-metadata,
.no-avatars .comment-content {
    width: 100%;
}

.bypostauthor > .comment-body .fn:before {
    content: "\f408";
    vertical-align: text-top;
}

.comment-list .edit-link {
    margin-left: 20px;
}

.comment-metadata,
.comment-awaiting-moderation,
.comment-content {
    float: right;
    width: 79%;
    width: -webkit-calc(100% - 124px);
    width:         calc(100% - 124px);
}

.comment-meta,
.comment-meta a {
    color: #a2a2a2;
    font-size: 13px;
}

.comment-meta a:hover {
    color: #ea9629;
}

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

.ping-meta {
    color: #a2a2a2;
    font-size: 13px;
    line-height: 2;
}

.comment-awaiting-moderation {
    color: #a2a2a2;
}


/* Comment form */
#commentform {
    background-color: #ffffff;
    padding: 30px;
}
#commentform .row div { margin-top: 20px; }
#commentform code { white-space: pre-wrap; }
#commentform .btn-primary, #commentform .btn-primary:hover { border: none; }

.comment-respond {
    padding: 0px 0 20px;
}

.comment .comment-respond {
    margin-bottom: 20px;
    padding: 20px;
}

.comment-reply-title {
}

.comment-reply-title small a {
    color: #131310;
    display: inline-block;
    float: right;
    height: 16px;
    overflow: hidden;
    width: 16px;
}

.comment-reply-title small a:hover {
    color: #ed331c;
    text-decoration: none;
}

.comment-reply-title small a:before {
    content: "\f406";
    vertical-align: top;
}

.sidebar .comment-list .comment-reply-title,
.sidebar .comment-list .comment-respond .comment-form {
    padding: 0;
}

.comment-form .comment-notes {
    margin-bottom: 15px;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
    margin-bottom: 8px;
}

.comment-form [for="author"],
.comment-form [for="email"],
.comment-form [for="url"],
.comment-form [for="comment"] {
    float: left;
    padding: 5px 0;
    width: 120px;
}

.comment-form .required {
    color: #ed331c;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {

}

.comment-form textarea {
    width: 100%;
}

.form-allowed-tags,
.form-allowed-tags code {
    color: #686758;
    font-size: 12px;
}

.form-allowed-tags code {
    font-size: 10px;
    margin-left: 3px;
}

.comment-list .pingback,
.comment-list .trackback {
    padding-top: 24px;
}

.comment-navigation {
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0 auto;
    max-width: 604px;
    padding: 20px 0 30px;
    width: 100%;
}

.no-comments {
    background-color: #f7f5e7;
    font-size: 20px;
    font-style: italic;
    font-weight: 300;
    margin: 0;
    padding: 40px 0;
    text-align: center;
}

.sidebar .no-comments {
    padding-left: 60px;
    padding-right: 376px;
}


/** Related posts **/
.related-posts {

}
.related-posts .single .inner {
    background: none repeat scroll 0 0 #F9F9F9;
    padding: 10px 20px;
    text-align: center;
    word-wrap: break-word;
}
.related-posts .thumb {
    margin: 0 auto 10px; 
    position: relative;
}
.related-posts .thumb a {
    display: inline-block;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}
.related-posts .thumb a:after {
    bottom: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7) inset;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.related-posts .thumb a img {
    height: auto;
    max-width: 100%;
}
.related-posts .title {
    display: inline-block;
    padding: 0 0 5px;
    width: 100%;
}



/********** REQUIRED ************/
.wp-caption {
    max-width: 100%; /* Keep wide captions from overflowing their container. */
    padding: 4px;
}
.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
    color: inherit;
    font-size: 14px;
    font-style: italic;
    line-height: 2;
    padding: 6px 0;
    text-align: center;
}
.sticky {

}
li.bypostauthor cite span {
    color: #fff;
    background-color: #21759b;
    background-image: none;
    border: 1px solid #1f6f93;
    border-radius: 2px;
    box-shadow: none;
    padding: 0;
}
.comments-area li.bypostauthor cite span {
    position: absolute;
    margin-left: 5px;
    margin-left: 0.357142857rem;
    padding: 2px 5px;
    padding: 0.142857143rem 0.357142857rem;
    font-size: 10px;
    font-size: 0.714285714rem;
}

/* Images */
/* Responsive images. Fluid images for posts, comments, and widgets */
.comment-content img,
.entry-content img,
.entry-summary img,
#site-header img,
.widget img,
.wp-caption {
    max-width: 100%;
}

/**
 * Make sure images with WordPress-added height and width attributes are
 * scaled correctly.
 */
.comment-content img[height],
.entry-content img,
.entry-summary img,
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"],
#site-header img {
    height: auto;
}

img.size-full,
img.size-large,
.wp-post-image,
.post-thumbnail img {
    height: auto;
    max-width: 100%;
}

.entry-content iframe {
    max-width: 100%;
}

/* Alignment */
.alignleft {
    float: left;
}
.alignright {
    float: right;
}
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
blockquote.alignleft,
img.alignleft {
    margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
    margin: 7px 14px 7px 0;
}
blockquote.alignright,
img.alignright {
    margin: 7px 0 7px 24px;
}
.wp-caption.alignright {
    margin: 7px 0 7px 14px;
}
blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
    margin-top: 7px;
    margin-bottom: 7px;
}
.site-content blockquote.alignleft,
.site-content blockquote.alignright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 17px;
    width: 50%;
}
.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
    margin-bottom: 17px;
}
.wp-caption {
    margin-bottom: 24px;
}
.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}


/* Fix Google Maps canvas
 *
 * Wrap your Google Maps embed in a `.google-map-canvas` to reset Bootstrap's
 * global `box-sizing` changes. You may optionally need to reset the `max-width`
 * on images in case you've applied that anywhere else. (That shouldn't be as
 * necessary with Bootstrap 3 though as that behavior is relegated to the
 * `.img-responsive` class.)
 */

.google-map-canvas,
.google-map-canvas * { .box-sizing(content-box); }


/* bs-customzations */
span.bs-tooltip { display: inline-block; }



/************ CONTACT FORM 7 ************/
div.wpcf7 {
    padding: 10px 0 20px;
}
.wpcf7 span.wpcf7-form-control-wrap {

}
.wpcf7 span.wpcf7-not-valid-tip {

}
.wpcf7 input.wpcf7-not-valid {
    border-color: #A94442;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}
.wpcf7 input, .wpcf7 textarea {
    border: 1px solid #C8C8C8;
    outline: medium none;
    padding: 10px 15px;
    color: inherit;
}
.wpcf7 input[type="submit"] {
    border: medium none;
    padding: 10px 50px;
}
.wpcf7 input[type="submit"]:hover {
    color: #ffffff;
}

.wpcf7 div.wpcf7-validation-errors {
    color: #D9534F;
    background-color: #FDF7F7;
    border-color: #D9534F;
    margin: 20px 0;
    padding: 20px;
}
.wpcf7 div.wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
}
.wpcf7 div.wpcf7-mail-sent-ok {
    background: #dff0d8;
    border: none;
    margin: 20px 0;
    padding: 20px;
}


/************ RESPONSIVE ************/
@media all and (max-width: 768px) {
    .navbar .nav { float: left; }
    #services .single .content { height: auto !important; }
    #testimonials { height: auto !important; }
    #mc-newsletter input[type="submit"] { width: 100%; }
    #footer .copyright, #footer ul.social { text-align: center; }
    .wrapper { padding: 0 10px; }

    #footer ul.nav-footer > li, 
    #footer ul.nav-footer > li:first-child { 
        float: none; 
        padding: 17px; 
    }
    #testimonials {
        margin: 0;
    }
    #testimonials h3 {
        padding: 30px 10px;
    }
    .carousel-control {
        display: none; 
    }

    .comment-list .children {
        margin: 0 -10px;
    }
    .comment-list li.depth-1 {
        padding: 0;
    }
    .comment-list .children li {
        background-position: 55px 120px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .jumbotron {
        font-size: 16px !important;
        line-height: 24px !important;
    }
    .jumbotron .wrapper {
        padding: 34px 30px 34px;
    }

    .section-header h2 span, .comment-reply-title {
        font-size: 24px !important;
        line-height: 26px !important;
    }

    .section-header h3, #testimonials h3 {
        font-size: 15px !important;
        line-height: 21px !important;
    }

   /* h1, h2, h3, h4, h5, h6 {
        font-size: 100% !important;
    }*/

}


/** Demo content **/ 
#glyphicons, #genericons, #font-awesome {
    padding: 20px 0; 
    overflow: hidden;
}

ul#glyphicons, #font-awesome ul { list-style: none; }
ul#glyphicons li, #genericons .genericon, #font-awesome li { 
    border: 1px solid #DDDDDD;
    float: left;
    font-size: 20px;
    height: 115px;
    margin: 0 -1px -1px 0;
    padding: 20px 0;
    text-align: center;
    width: 25%;
 }

#glyphicons .glyphicon, #font-awesome i, #genericons .genericon {}
span.icon-name {
    padding: 10px 15px; 
    font-size: 12px;
    display: block;
}


