/*
Theme Name: FirmaSite
Description: Бесплатная аддаптивная тема со множеством настроек и слайдером.
Author URI: http://www.wp-book.ru/
Author: wp-book.ru
Version: 1.1.11
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl.txt

*/


/* top navigation running but hide by default */
.nav-top.nav-previous, .nav-top.nav-next { display:none; }

/* Removed home-page breadcrumb */
.home-page #breadcrumbs {display:none;}


/* Fixed Topbar Navigation */
body.admin-bar #masthead { padding-top: 10px; }
body.admin-bar .navbar-fixed-top { top: 28px; }


/* Logo */
.logo-text {
	font-size: 200% !important;
	line-height:100% !important;
	display:inline-block !important;	
}

/* Tinymce Bootstrap Fixes for wp-admin */
body.mceContentBody { margin: 30px !important; padding:10px; }


/* wp-styles */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; }
.alignright { float: right; }
.wp-caption { max-width:100% !important; }
.wp-caption-text {}
.sticky {}
.gallery-caption {}
.bypostauthor {}

iframe, object, embed { max-width:100%;}
.page-links { clear: both; }

/* Assistive text */
.assistive-text,
.site .screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
}

/* input form fix */
input[type="text"] { height:auto; }

/* theme general fixes */
.thumbnail.item img { margin: 0 auto; }
.thumbnail.pull-left, .thumbnail.alignleft { margin-right: 5px; }
.thumbnail.pull-right, .thumbnail.alignright { margin-left: 5px; }
.radio li { list-style: none; }

/* only-content layout 
only-content = .row .span8
*/
.site-only-content .container { max-width: 620px; }
@media (min-width: 1200px) { .site-only-content .container { max-width: 770px; } }
@media (min-width: 768px) and (max-width: 979px) { .site-only-content .container { max-width: 476px; } }

/* only-content-long layout 
only-content-long = .row .span12
*/
.site-only-content-long .container { max-width: 940px; }
@media (min-width: 1200px) { .site-only-content-long .container { max-width: 1170px; } }
@media (min-width: 768px) and (max-width: 979px) { .site-only-content-long .container { max-width: 724px; } }



/* Footer dropup menu fix */
.dropup .nav > li > .dropdown-menu:before {
  top: auto;
  bottom: -7px;
  border-top: 7px solid;
  border-bottom: 0;
}

.dropup .nav > li > .dropdown-menu:after {
  top: auto;
  bottom: -6px;
  border-top: 6px solid;
  border-bottom: 0;
}


/**
* Theme fixes
**/
#page * { font-family:inherit; }
.cosmo-theme .label { min-width:inherit; min-height:inherit; }
.journal-theme .dropdown-submenu>.dropdown-menu { top: 0; }
.journal-theme .dropup.navbar .dropdown-menu { top: auto; bottom: 85%; }
.journal-theme .dropup .dropdown-submenu>.dropdown-menu { bottom: 0; }
.amelia-theme .muted {color: #aaa;}
.amelia-theme .muted.well, .amelia-theme .well .muted {color: #fff;}
.amelia-theme {color: #444;}
.amelia-theme legend, label,.amelia-theme .help-block,.amelia-theme .input-file { color: inherit; }
.spruce-theme .muted {color: #555;}
.spruce-theme .modal, .spruce-theme .modal h1, .spruce-theme .modal h2, .spruce-theme .modal h3, .spruce-theme .modal h4, .spruce-theme .modal h5, .spruce-theme .modal h6{ color: #C4C4C4; }


/* Responsive video */
.flex-video {
  position: relative;
  padding-top: 25px;
  padding-bottom: 67.5%;
  height: 0;
  margin-bottom: 16px;
  overflow: hidden;
}
 
.flex-video iframe,
.flex-video object,
.flex-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
  .flex-video { padding-top: 0; }
}


#wplogo {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: bottom;
	background-repeat: no-repeat;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2BJREFUeNpcU11MU2cYfs5PhRXoD1iko5QWKj+6tjJ/ICqaOOdwms3oxTYniZnLsmQXSyR6tSxm2YUxmTdLlgzmLuayzSyZPxNdNMQwSAe6AaUxUCn9NdaD0Ha0pVDac/Z+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bottom: 0;
  margin-top: 15px;
  _height: 100px;
}

.carousel-mini .thumbnail {
  display: inline-block;
  zoom: 1;
  *display: inline;
}

.carousel-mini .carousel-title {
  margin-top: 0;
  padding-bottom: 10px;
}
.carousel-mini .carousel-inner > .item > .thumbnail {
  text-align: center;
}
.carousel-mini .carousel-control {
  position: absolute;
  left: auto;
  top: -5px;
  right: 20px;
  width: 15px;
  height: 20px;
  margin-top: 0;
  font-size: 30px;
  font-weight: bold;
  line-height: 16px;
  text-align: center;
  -ms-filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=60);
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.carousel-mini .carousel-control.right {
  right: 0;
}
.carousel-mini .carousel-control:hover {
  text-decoration: none;
  -ms-filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=90);
  opacity: 0.9;
  filter: alpha(opacity=90);
}


/* make modals usable */
.firmasite-modal-static {
	position: inherit !important; 
	top: inherit !important; 
	left: inherit !important; 
	right: inherit !important; 
	margin: 0 auto 20px !important; 
	z-index: inherit !important; 
	max-width: 100% !important;
	word-wrap: break-word;
	width:100% !important; 
	display: inline-block;
}

.firmasite-modal-static .modal-footer {
	border-radius: 6px;
	text-align: inherit;
}
.firmasite-modal-static .bbp-reply-author {
	text-align:center;
} 
.firmasite-modal-static .modal-body {
	overflow-y: inherit !important; 
	max-height: inherit;
}
.firmasite-modal-static .modal-body.alert {
	margin-bottom: 0; 
}

/* ie fixes */
.browser_ie #firmasite-promotionbar img.wp-post-image { width: 100%; height:auto; max-width:none; }
.browser_ie .bbp-replies .bbp-author-avatar img { width: 80px; height:auto; max-width:none; }
.browser_ie .bbp-topics .bbp-author-avatar img { width: 14px; height:auto; max-width:none; }
.browser_ie .bbp-forums .bbp-author-avatar img { width: 14px; height:auto; max-width:none; }
.browser_ie .firmasite-modal-static .modal-footer { text-align: left; }
