
html, body {
	padding: 0px;
	margin: 0px;
	max-height: 100%;
	height: 100%;
	font-size: 14px;
	font-family: "Open Sans";		
}

body {
	display: flex;
	flex-flow: column;
}

input, select,
input:focus, select:focus {
	outline: none;
}

.special_select {
	height: 21px;
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 0px 0;
	border-bottom: 1px solid #E8EDF0;
}

.special_select:after {
	width: 6px;		
	height: 6px;
	border-left: 2px solid #E8EDF0;
	border-top: 2px solid #E8EDF0;
	position: absolute;
	top: 18%;
	right: 8px;
	content: "";
	z-index: 98;
	transform: rotate(225deg);
}

.special_select select {
	width: calc(100% + 20px);
	padding-right: 45px;
	border: none;
	font-size: 16px;
	position: relative;
	z-index: 99;
	background: none;					
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	height: 22px;		
}

.special_radio {
	width: 14px;
	height: 14px;
	background: white;
	border: 2px solid #E8EDF0;
	border-radius: 50%
}

.special_radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;    
	height: 16px;
	width: 38px;        
	margin-top: -2px;
	margin-left: -2px;
	z-index: 100;
}

.special_radio .radiobtn {
	width: 8px;
	height: 8px;
	display: block;
	position: relative;
	top: -18px;
	border-radius: 50%;
	left: 3px;
}

input:checked ~ .radiobtn {
	background: #2092ED;
}

.radios_container {
	display: flex;
}

.radios_container .special_radio {
	margin-right: 5px;
}

.radios_container .rb-lb {
	position: relative;
	top: -1px;
	font-size: 16px;
}

.header-container {
	flex: 0 0 50px;
	display: inline-flex;
	background: #2092ED;
	color: white;
	padding-left: 10px;
	padding-top: 5px;
}

.header-container .left-part {
	flex: 1 1 70%;
}

.header-container .right-part {
	flex: 1 1 30%;
	display: block;
	/*
	display: flex;
	align-items: center;
	justify-content: flex-end;
	*/
}

.header-container .right-part .right-part-menu {
	display: none;
	position: absolute;
	top: 45px;
	right: 0px;
	background: white;
	color: black;
	font-size: 20px;
	padding: 0px 10px;
	border: 2px solid #E8EDF0;
	width: 160px;
	text-align: center;
	z-index: 100;
}

.header-container .right-part .option {
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #E8EDF0;
	/*position: absolute;*/
	float: right;
}

.header-container .right-part .option select {
	width: 100%;
	position: absolute;
	opacity: 0;
	right: 0px;
}

.header-container .right-part .option:last-child {
	border: none;
}

.header-container .country {
	font-size: 13px;
}

.header-container .app-name {
	font-size: 18px;
}

.header-container .icon {
	width: 25px;
	height: 25px;
	cursor: pointer;
	z-index: 1;
	margin-right: 5px;
    margin-top: 3px;
	padding: 5px 10px;
}

.header-container #options_icon {
    height: 29px;
    width: 30px;
}

.header-container .language-icon {
	z-index: 0;
	margin-left: 5px;;
}

.header-container #language_field {
    max-width: 300px;
    font-size: 16px;
}

.header-container .share-link-container {
	position: absolute;
    margin-top: 50px;
    right: 20px;
    display: none;
    flex-flow: column;
    width: 200px;
	border: 1px solid #E8EDF0;    
	box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.7);
    background: white;
	z-index: 10;
}

.header-container .share-link-container #share_link {
	width: 178px;
    margin: 5px;
    background: transparent;
	border: 1px solid #c0c4c5;
    padding: 5px;
}

.header-container .share-link-container button {
	background: #2092ED;
    color: white;
    border: 1px solid #E8EDF0;
    padding: 6px;
    width: 191px;
    margin: 5px;
    margin-top: 0px;
    cursor: pointer;
}

.body-container {
	flex: 1 1 100%;
	background: #F6F6F6;
	padding: 10px;
	overflow: auto;
}

.body-container .content {
	background: white;
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
	min-height: 100%;
}

.segmented-control {		
	display: inline-flex;
	flex: 0 0 200px;
	height: 30px;
	margin-top: 12px;
	margin-right: 15px;
}

.segmented-control .option {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 1;
	color: #7B8187;
	font-size: 14px;
	border: 1px solid #E8EDF0;
	cursor: pointer;
}

.segmented-control .option.selected {
	background: #2092ED;
	color: white;
}

.factor-group {		
	display: flex;
	flex-flow: row;
	flex-wrap: wrap;
	padding: 7px;
}

.factor {
	flex: 0 0 48%;
	height: 56px;
	display: flex;
	flex-flow: column;
	margin-top: 7px;
	margin-bottom: 7px;
}

.factor-with-params-container {
	display: inline-flex;
	flex-flow: row;
	width: 100%;
}

.factor-header {
	padding-left: 13px;
	padding-top: 10px;
	font-size: 19px;
}

.factor-header.first {
	padding-top: 15px;
}

.factor-header.with-params {
	flex: 1 1 100px;
}

.factor-separator {
	flex: 0 0 4%;
}

.factor .lb {
	flex: 0 0 20px;
	font-size: 13px;
	color: #7B8187;
	display: flex;
	align-items: center;	
	padding-left: 7px;
	padding-right: 0px;	
}

.factor .val {
	display: inline-flex;
	flex-wrap: wrap;
	flex: 1 1 100px;
	font-size: 14px;
	padding-top: 5px;
	padding-left: 7px;
	padding-right: 7px;	
}

.factor .val input[type="number"] {   
	width: 100%;
	font-size: 16px;
	border: 0px;
	border-bottom: 1px solid #E8EDF0;
	height: 21px;
	padding: 0px;
}	
	
.factor .val .rb-option {
	display: inline-flex;
	align-items: center;
	margin-right: 10px;
}

.factor .val .rb-option  input[type="radio"] {	
	margin: 0px 4px;
	position: relative;
	top: -2px;
}

.results-container {
	flex: 0 0 70px; 
	display: inline-flex;
	border-top: 1px solid white;
}

.results-container .result {
	flex: 0 0 50%;
	color: white;
}

.results-container .result:first {
	flex: 0 0 50%;
	color: white;
	border-right: 1px solid white;
}
		
.results-container .result .lb {
	font-size: 13px;
	height: 16px;
	padding: 2px 6px;
}

.results-container .result .val {
	font-size: 20px;
	font-weight: 600;
	text-align: center;
	margin-top: 10px;
}

#total_net_container {
	background: #29CCA5;
}

#total_taxes_container {	
	background: #FF5A5A;
}

.header {
	padding-left: 5px;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 10px;
}
	
.results-details .results-group {
	margin-bottom: 20px;
}

.results-details .factor-header {
	margin-bottom: 8px;
}

.results-details .result {
	display: inline-flex;
	width: 100%;
	margin-top: 4px;
}

.results-details .result .lb {
	flex: 1 1 60%;
	margin-left: 15px;
	color: #7B8187;
}

.results-details .result .val {
	flex: 1 1 40%;
	margin-right: 15px;
}

.footer {
	height: 10px;
}

.division-container {
	display: flex;
	width: 100%;
	height: 2px;
	margin-top: 23px;
	margin-bottom: 10px;
}

.division { 
	flex: 1 1 100%;
	height: 100%;
	background: #E8EDF0;
	margin: 0px 15px;
}

.contextual-menu {
	position: absolute;
	border: 1px solid #E8EDF0;    
	box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.7);
    background: white;
    color: black;
	display: none;
	z-index: 1000;
}

.contextual-menu-option {
	padding: 15px 20px;
    border-top: 1px solid #E8EDF0;
    min-width: 70px;
	text-align: center;
	cursor: pointer;
}

.contextual-menu-option:hover {
	background: #CCCCCC !important;
}

.contextual-menu-option:first-child {
    border-top: 0px;
}

.contextual-sub-menu {
	position: absolute;
	border: 1px solid #E8EDF0;    
	box-shadow: -1px 1px 4px rgba(0, 0, 0, 0.7);
    background: white;
    color: black;
    display: none;
	z-index: 2;
    margin-top: -35px;
	right: 205px;
	
}

#language_menu {
    top: 50px;
    right: 25px;
    width: 140px;
}

#top_options_menu {
    top: 50px;
	right: 25px;
	width: 220px;
}

.factor.disabled .lb,
.factor.disabled select,
.factor.disabled input {
	color: #c3c6ca;
}

.new-feature {
	position: absolute;
	width: 32px;
	height: 32px;
	border: 3px orange solid;
	border-radius: 18px;
	animation-name: new-feature-animation;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	display: none;
}

.new-feature.share-link {
	display: block;
    right: 61px;
    top: 10px;
}

.new-feature.options {
	display: block;
	right: 10px;
    top: 10px;
}

@keyframes new-feature-animation {
	0%   {transform: scale(1, 1)}
	50%   {transform: scale(1.5, 1.5)}
}

#showAdvancedContainer {
    width: 100%;
    text-align: center;
    color: #7B8187;
    font-style: italic;
    margin-bottom: 10px;
    margin-top: 5px;
    font-size: 11px;
    cursor: pointer;
}

#showAdvancedContainer span {
	border: 1px solid #7B8187;
    border-radius: 4px;
    padding: 4px;
}

#advancedContainer {
    width: 100%;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}

#advancedContainer.hide {
	display: none;
}