@import url("header.css");
@import url("footer.css");

body a, body a:visited {
    color: #272727;
}
a {
    text-decoration: none;
}

body
{
/*	background-color:	#9d9d9d;*/
    font-family: "Gotham";
}

.d-wrapper
{
	text-align:			center;
}

.d-content
{
	margin:				0px auto;
	max-width:			1040px;
	text-align:			left;
        padding:                        60px;
}

.d-padding
{
	padding-bottom:			20px;
}

.d-header.d-wrapper
{
	background-color:	white;
}

.d-body.d-wrapper
{
	background-color:	white;
}

.d-footer.d-wrapper
{
	border-top:			1px solid #888;
}

.d-footer .d-content
{
	font-size:			0.8em;
	color:				#555;
}

.d-footer .d-content a
{
	color:				black;
	text-decoration:	none;
}

.d-footer .d-content a:hover
{
	text-decoration:	underline;
}

ul.pg-menu, .box-default, span.ufd.plain, .ufd.plain input,
 input[type="text"], input[type="password"], textarea, input[type="submit"], input[type="button"], button,
 td.rlist-cell-actions a,
 .paging_full_numbers a.paginate_button, .paging_full_numbers a.paginate_active,
 .action_button {
     
    border-radius: 0px;
}

a, input[type="submit"], input[type="button"], button {
    transition: opacity 0.1s linear 0s;
}

#submit_button {
    float: left;
    width: 49% !important;
}
#reset_button {
    float: right;
    width: 49% !important;
    background-color: #e8e5e1;
    color: dimgray;
}

.zend_form fieldset a {
    background-color: #a71f31;
    border: 0 none;
    color: white;
    cursor: pointer;
    font-size: 1em;
    font-weight: normal;
    padding: 7px 8px;
	display: inline-block;
}
.zend_form fieldset .switch-series span {
    padding: 0px 5px;
}
.zend_form fieldset .add-other-record-controls {
    padding: 15px 0;
}
#other_countries_selector-element.active-fields {
    margin-top: -25px !important;
    padding-right: 105px !important;
}
#other_countries_selector-element span.ufd {
    float: left !important;
}

/* responsible update */
body {
    background-color: #f9f8f4;
}
.d-header img {
    height: 47px;
}

/* form */
.zend_form fieldset dt {
    width: 33% !important;
    box-sizing: border-box;
    padding-right: 10px !important;
}

.zend_form fieldset dd {
    float: left;
    margin: 4px 0 !important;
    padding: 0 15px;
    position: relative;
    width: 66% !important;
    box-sizing: border-box;
}
.zend_form fieldset dd::after {
    clear: both;
    content: " ";
    display: block;
    height: 1px;
    width: 1px;
}

.zend_form fieldset input,
  .zend_form fieldset textarea,
  .zend_form fieldset select,
  .zend_form fieldset span.ufd,
  .rlist-table-filters span.ufd {
    width: 100% !important;
    box-sizing: border-box;
}

.zend_form fieldset input[type="checkbox"],
.zend_form fieldset input[type="radio"]{
    width: 24px !important;
}


span.ufd.plain, span.ufd.plain_focus {
    background-color: #FFFFFF;
}
span.ufd.plain input {
    box-sizing: content-box;
    width: 100% !important;
    background-color: #ffffff;
}
.zend_form .confirmable,
.zend_form fieldset span.ufd.confirmable{
    width: 80% !important;
}
span.ufd.plain button {
    background-size: 85px 30px;
    height: 29px;
    margin-left: -28px;
    width: 20px;
}
span.ufd.plain button.hover {
    background-position: -21px 0px;
}

.zend_form fieldset .errorInput {
    padding-left: 15px !important;
}

.zend_form fieldset .removeCountryWrapper {
    padding-top: 4px;
    text-align: right;
    margin-right: -90px;
    float: right;
}
.zend_form fieldset a.removeCountry {
    margin-top: 0px !important;
    right: 0px;
    left: auto;
    position: relative;
    display: inline-block;
    padding: 4px 8px;
}
.zend_form fieldset .other-country-controls a {
    display: inline-block;
}

.h-rel-wrapper {
    font-family: "Gotham Medium";
    font-size: 14px;
}

.h-rel-wrapper .menu-button {
    position: absolute;
    top: 0px;
    right: 0px;
    padding-top: 5px;
    display: none;
}

.f-rel-wrapper {
    text-align: center;
}
.f-rel-wrapper .f-links {
    padding-bottom: 20px;
}
.f-rel-wrapper .f-copyright {
    color: #a4a3a1;
    font-family: "Gotham SSm A","Gotham SSm B",sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.f-rel-wrapper a {
    border-bottom: 1px solid #d4d4d4;
}

.zend_form fieldset a:hover, input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    opacity: 0.8;
}

.form-divider {
    margin-bottom: 30px;
}

.profile-not-confirmed .list-cell-id {
    background-color: #ffded1;
}

/* JQuery UI tabs */
#view-tabs {
    border-radius: 0px;
    border: none;
    background: none;
}
#view-tabs .ui-tabs-nav {
    border-radius: 0px;
    background: none;
    border-color: #ccc;
}
#view-tabs .ui-tabs-nav li {
    border-radius: 0px;
    border-color: #ccc;
}
#view-tabs .ui-tabs-panel {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
    background-color: white;
}
#view-tabs .ui-tabs-panel:not(#tab-reports) a  {
    text-decoration: underline;
    color: #a71f31;
}
#view-tabs .ui-tabs-panel a:hover {
    opacity: 0.8;
}

#view-tabs #tab-header-production-areas {
    text-decoration: line-through;
}

#view-tabs #tab-production-areas .view-table {
	color: #999999;
}

@media (max-width: 970px) {
    .d-content {
        padding: 20px;
    }
    
    .zend_form fieldset dt {
        width: 100% !important;
        text-align: left;
    }
    .zend_form fieldset dd {
        width: 100% !important;
    }
    .zend_form fieldset .dg-header {
        margin-top: 35px !important;
    }
    .zend_form dd:first-child fieldset .dg-header {
        margin-top: 5px !important;
    }
    
    .h-rel-wrapper .menu-button {
        display: block;
    }
    ul.h-login-box {
        position: relative;
        border-bottom: 1px solid dimgrey;
        text-align: center;
        display: none;
    }
    ul.h-login-box li {
        float: none;
    }
    ul.h-login-box .subnav {
        display: none;
    }
}
#taxation-element input{
    width:auto !important;
}