html, body {
	margin: 0;
	padding: 0;
	font-family: Open Sans, Tahoma, Verdana, sans-serif;
	font-size: 12px;
	color: #1F1F1F;
	height: 100%;
}
body {
	background-color: #EAEAEA;
}
a {
	text-decoration: none;
}
a.white {
	color: white;
}
a.white:hover {
	opacity: 0.6;
}
h1 a, h1 a:hover, h2 a, h2 a:hover, h3 a, h3 a:hover {
	color: #1F1F1F;
}

a.reset {
	color: #1F1F1F;
}

/**
	new checkboxes
*/
.control-group {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	/* width: 100%; */
	margin: 10px 0px;
}
label.control.control--radio {
	padding-bottom: 0px !important;
}
.control {
	font-size: 1em;
	position: relative;
	display: block;
	margin-bottom: 15px;
	padding-left: 30px;
	cursor: pointer;
}

.control.aaa {
	padding-left: 40px;
	margin-bottom: 0px;		
}
.control input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.control__indicator {
	position: absolute;
	top: 0px;
	left: 0;
	width: 22px;
	height: 22px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 2px;
}

.control-group .control--radio {
	float: left;
	margin-right: 10px;
    padding-top: 2px;
}

.control--radio .control__indicator {
	border-radius: 50%;
}

/* Hover and focus states */
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
	background: #f9f9f9;
}

/* Checked state */
.control input:checked ~ .control__indicator {
	background: rgb(87, 140, 63);
}

/* Hover state whilst checked */
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
	background: rgb(87, 140, 63);
}

/* Disabled state */
.control input:disabled ~ .control__indicator {
	pointer-events: none;
	opacity: .6;
	background: #e6e6e6;
}

/* Check mark */
.control__indicator:after {
	position: absolute;
	display: none;
	content: '';
}

/* Show check mark */
.control input:checked ~ .control__indicator:after {
	display: block;
}

/* Checkbox tick */
.control--checkbox .control__indicator:after {
	top: 4px;
	left: 8px;
	width: 3px;
	height: 8px;
	transform: rotate(45deg);
	border: solid #fff;
	border-width: 0 2px 2px 0;
}

/* Disabled tick colour */
.control--checkbox input:disabled ~ .control__indicator:after {
	border-color: #7b7b7b;
}

/* Radio button inner circle */
.control--radio .control__indicator:after {
	top: 7px;
	left: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
}

/* Disabled circle colour */
.control--radio input:disabled ~ .control__indicator:after {
	background: #7b7b7b;
}
/* new checkboxes end */

.background-orange {
	background: #E0792D;
}
.color-orange {
	color: #E0792D;
}
.background-green {
	background: #578C3F;
}
.color-green {
	color: #578C3F;
}
.ui.blue.button, .ui.blue.buttons .button {
	background-color: #214068;
}
.ui.blue.button:hover, .ui.blue.buttons .button:hover, .ui.blue.button:focus, .ui.blue.buttons .button:focus, .ui.blue.button:active, .ui.blue.buttons .button:active {
	background-color: #265694;
}
.width-100 {
	width: 100%;
}
.positionRelative {
	position: relative;
}
.bold {
	font-weight: bold;
}
.noMargin {
	margin: 0;
}
.noPadding {
	padding: 0;
}

.textAlignRight {
	text-align: right;
}
.textAlignLeft {
	text-align: left;
}
.textAlignCenter {
	text-align: center;
}
div.row.space {
	margin: 5px 0px;
}
.col.space {
	margin: 0px 5px;
}
.col.space-bottom {
	margin-bottom:5px;
}
.col.space-2-bottom {
	margin: 0 0 10px 0;
}
.col.space-2 {
	margin: 0px 10px;
}

.col.space-2-start {
	margin: 0;
}
.textAlignCenter-sm {
	text-align: center;
}
.tabular.menu {
	flex-direction: column;
}
.tabpanel .ui.tabular.menu .item, .tabpanel .ui.tabular.menu .item.active {
	margin: 2px 5px 0 0 !important;
	padding: 15px 25px !important;
}
.tabpanel .ui.tabular.menu .item.active {
	background: #578C3F !important;
}
@media only screen and (min-width:48em){
	.col.space-2-start {
		margin: 0px 0 0 10px;
	}
	.textAlignLeft-xs {
		text-align: left;
	}
	.tabular.menu {
		flex-direction: row;
	}
	.homepage.image {
		height: 500px !important;
	}
}
@media only screen and (min-width:64em){
	.tabular.menu {
		flex-direction: row;
	}
}
.col.space-2-end {
	margin: 0px 10px 0 0;
}
div.row.space-2 {
	margin: 10px 0px;
}
div.col-xs.no-padding {
	padding: 0px;
}
h1.small {
	font-size: .75em;
}
h1.medium {
	font-size: 1.25em;
}
h1.large {
	font-size: 1.50em;
}
h1.big {
	font-size: 1.75em;
}
h1.huge {
	font-size: 2em;
}
h1.massive {
	font-size: 4em;
}
span.label.new {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 10px 20px;
	color: #FFF;
	background: #E0792D;
}
.ui.tabular.menu .item, .ui.tabular.menu .active.item{
	background-color: #191930 !important;
	color: #FFF !important;
	padding: 5px 25px  !important;
	border: none  !important;
	margin: 0 5px 0 0 !important;
	border-radius: 0px !important;
	font-weight: bold;
}
.ui.attached:not(.message)+.ui.attached.segment:not(.top) {
	padding: 20px 0;
	border: 0px;
}
.book.property {
	line-height: 1.6em;
}
.cover {
	height: inherit;
	overflow: hidden;
}
.cover.frame {
	padding: 20px;
	margin: 10px 10px 10px 0;
	text-align: center;
}
.cover.frame.shadow img {
	width: 100%;
	max-width: 149px;
}
.book-grid-list {
	width: 100%;
	height: 100%;
	padding: 5px;
	overflow: hidden;
	position: relative;
}
.book-buy-button {
	font-size: 1.2em;
}
.browse-book-list {
	margin: 10px 0px;
	padding: 15px;
	/* max-height: 200px; */
	/* height: 300px; */
	/* min-height: 200px; */
}
.shadow {
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.30);
}
.shadow-invert {
	-webkit-box-shadow: 0px 0px 3px 0px rgb(255, 255, 255);
	-moz-box-shadow: 0px 0px 3px 0px rgb(255, 255, 255);
	box-shadow: 0px 0px 3px 0px rgb(255, 255, 255);
}

/* HEADER */
.header.wrapper {
	width: 100%;
	min-height: 48px;
	background: #191930;
	color: #FFF;
	font-size:1.2em;
	vertical-align: middle;
}

.header {
	width:  1280px;
	max-width: 100%;
	/* min-height: 48px; */
	/* height: 100%; */
	margin: 0 auto;
}
.admin.header {
	padding: 10px 0px;
}
.logo {
	flex: 0 0 183px;
	height: 48px;
}
.profile {
	flex: 1;
	max-width: 250px;
	min-width: 100px;
}
.profile-image {
	
}
.pensoft-image {
	background: url("/i/logo.svg") no-repeat;
	width: 100%;
	height: 100%;
	display: block;
}

.menu a {
	color: #FFF;
}

.header-bottom.wrapper {
	width: 100%;
	height: 106px;
	padding-top:8px;
	background: #FFF;
	color: #000;
}

.header-bottom {
	width:  1280px;
	max-width: 100%;
	height: 100%;
	margin: 0 auto;
}

.header-bottom-text {
	font-size: 2em;
	font-weight: bold;
	line-height: 1em;
}

.content.wrapper {
	width: 100%;
	/* height: 106px; */
	/* background: #EEEEEE; */
	color: #000;
}

.content {
	width:  calc(1280px - 1rem);
	max-width: 100%;
	height: 100%;
	margin: 0 auto;
}

.ui.button.pensoft {
	padding-left: 23px;
	padding-right: 23px;
}

.ui.menu {
	font-family: inherit;
	
}
.ui.secondary.pointing.menu {
	margin-left: 0;
    margin-right: 0;
	margin-top:10px;
	margin-bottom:10px;
	border:none;
}
.ui.secondary.pointing.menu .active.item {
	border:none;
	background:rgb(87, 140, 63);
	color: #ffffff;
}
.ui.secondary.pointing.menu .active.item:hover {
	background:rgb(87, 140, 63);
	color: #ffffff;
}
.ui.secondary.pointing.menu .item {
	border:none;
	color: rgb(87, 140, 63);
	font-weight: bold;
}

#box label {
	font-weight: bold;
	padding-bottom:10px;
	display: block;
}

.homepage.image {
	background-image: url("/i/fron_page_header.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
	width: 100%;
	height: 200px;
	cursor: pointer;
	transition: height .5s;
}
.shopping-cart{
	position: relative;
}
.shopping.cart{
	position: relative;
	color: #fff;
}
.shopping-cart-icon{
	top: 9px;
	left: 0px;
	color: #fff !important;
}
.shopping.cart.icon{
	color: rgb(87, 140, 63);
}
.shopping.cart.badge {
    top: 0px;
    left: -5px;
    padding-left: 1px;
    padding-right: 1px;
    -webkit-border-radius: 9px;
    -moz-border-radius: 9px;
    border-radius: 9px;
    font-size: 12px;
    background: #E0792D;
    color: #fff;
    padding: 0 5px;
    vertical-align: top;
    margin-left: -8px;
}
.visibility-hidden {
	visibility: hidden;
}
/* ICONS */
._icon {
	display: inline-block;
	position: relative;
	top: 2px;
	left: 0px;
	width: 16px;
	height: 16px;
	font-style: normal;
    font-weight: 400;
	text-decoration: inherit;
    text-align: center;
    speak: none;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
	opacity: 1;
	margin: 0 .25rem 0 0;
}
.arrow-up {
	width: 32px;
	height: 24px;
	background: url('/i/icons_arrow_up.svg') no-repeat;
}
.arrow-down {
	width: 32px;
	height: 24px;
	background: url('/i/icons_arrow_down.svg') no-repeat;
}
.shopping-card-green {
	 background: url('/i/icons_shopping_card_greeen.svg') no-repeat;
 }
.shopping-card-green:hover {
	background: url('/i/icons_shopping_card_greeen_hover.svg') no-repeat;
}
.shopping-download-card-green {
	background: url('/i/icons_download.svg') no-repeat;
}
.shopping-download-card-green:hover {
	background: url('/i/icons_download_hover.svg') no-repeat;
}
.shopping-card {
    top: 0px;
    left: 0px;
    width: 24px;
    height: 42px;
    background: url(/i/icons_shopping_card.svg) no-repeat;
    background-position: center;
}
.shopping-card:hover {
	/* background: url('/i/icons_shopping_card_hover.svg') no-repeat; */
}
.no-cover {
	background: url('/i/icons_no_cover_image .svg') no-repeat;
}

.navbar {
  background:silver;
  position: relative;
  display:flex;
  align-items:center;
  padding-top:0.5rem;
  padding-bottom:0.5rem;
}

.navbar-light {
  color: white;
}
.navbar-bg-dark {
  background-color:#191930;
}

.container-fluid {
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
  flex-wrap:wrap;
}

.navbar-nav {
  display:flex;
  flex-direction:column;
  padding: 0;
  margin:0;
  list-style:none;
  flex-basis:auto;
  width:100%;
  justify-content:space-between;
  align-items: center;
}
.navbar-collapse {
  display:block;
  flex-basis:100%;
  flex-grow:1;
}

.navbar-toggle {
  display:block;
  border:0;
  background:none;
  cursor: pointer;
}

.navbar-toggle-icon {
  display: block;
  padding:1.5rem;
  background-image: url("https://pensoft.net/new_images/menu_mobile.png");
  background-size: contain;
}

.nav-item {
 word-break:break-word;
}

.nav-link {
	color: white;
	display:block;
	padding-left:.5rem;
	padding-right:.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.nav-link:hover {
	color: white;
	opacity: 0.6;
}

.navbar-collapse:not(.show) {
   display:none;
}

.navbar-collapse-shoping-cart {
	display: none;
}

@media (min-width: 767px) {
	.navbar-toggle {
		display:none;
	}

	.navbar-shoping-cart {
		display: none !important;
	}
	.navbar-collapse-shoping-cart {
		display: block !important;
	}

	.navbar-collapse {
		flex-basis:auto;
		display:flex !important;
	}

	.navbar-nav {
		flex-direction:row;
	}

}


.nav-item.profile {
	display: flex;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

