/*
Theme Name:   Catalunya Van
Description:  Canvas Child Theme
Author:       Zoo Studio
Author URI:   http://zoo.ad
Template:     canvas
Version:      1.0
*/

@import url("../canvas/style.css");


/* PRESSUPOSTOS */

body.page-template {
	display: none;
}
body.page-template #wrapper {
	padding: 1em;
}
body.page-template #content {
	padding: 0;
}

body.page-template input[type="number"], 
body.page-template input[type="text"], 
body.page-template textarea {
	border-radius: 0;
}

body.page-template .preu {
	position: absolute;
	top: 0;
	right: 0;
}
body.page-template .preu .euros {
	float: right;
    text-align: right;
    min-width: 100px;
}
body.page-template .ref {
	float: left;
    min-width: 100px;
}
body.page-template .print {
    display: none;
    min-width: 40px;
    text-align: right;
}
body.page-template .smallfont {
	font-size: 12px;
	line-height: normal;
}
body.page-template .right {
	text-align: right;
}
body.page-template .divider {
	clear: both;
	height: 50px;
}

body.page-template .acf-fields .acf-field select {
	width: inherit;
	max-width: 90%;
}
body.page-template .acf-field .acf-input {
	position: relative;
}
body.page-template ul.acf-radio-list li {
	padding-right: 160px;
	padding-left: 25px;
} 
body.page-template ul.acf-checkbox-list li {
	padding-right: 260px;
	padding-left: 25px;
}
body.page-template .total .acf-label {
	float: left;
}
body.page-template .total .acf-input {
	font-size: 20px;
	font-weight: bold;
	float: right;
}
body.page-template .acf-form-fields label {
	font-weight: normal;
}
body.page-template .total .acf-label label {
	font-weight: bold;
}
body.page-template .acf-field-message p {
	margin-bottom: .5em;
}
body.page-template .acf-fields > .acf-tab-wrap ul.acf-tab-group {
	border-top: none;
}
body.page-template .acf-field textarea,
body.page-template .acf-field input[type="text"] {
	border: 1px solid #B8B8B8;
}
body.page-template .acf-field .text {
	display: none;
}
body.page-template .acf-fields > .acf-field {
	border-top-color: #CCC;
}
body.page-template div.acf-input-prepend, 
body.page-template div.acf-input-append {
	border: none;
	background: none;
	font-size: 16px;
	padding: 0;
}
body.page-template div.acf-input-prepend {
    margin: 5px 20px 0 0;
}
body.page-template div.acf-input-append {
    margin: 5px 0 0 5px;
}
body.page-template .acf-field.impost input[type="number"],
body.page-template .acf-field.altres input[type="number"] {
	width: 75px;
    float: right;
    padding: 0 5px;
    margin: 0;
    border: 1px solid #B8B8B8;
    text-align: right;
}
body.page-template .acf-field.impost input,
body.page-template .acf-field.altres input {
	border-radius: 0 !important;
}

body.page-template input::-webkit-outer-spin-button,
body.page-template input::-webkit-inner-spin-button {
    display: none;
    -webkit-appearance: none;
    margin: 0;
}
body.page-template ul.acf-radio-list li input[type="number"].descompte, 
body.page-template ul.acf-checkbox-list li input[type="number"].descompte {
	width: 30px;
    padding: 0 5px;
    margin: 0;
    border: 1px solid #B8B8B8;
    text-align: right;
}
body.page-template ul.acf-radio-list li input[type="checkbox"], 
body.page-template ul.acf-checkbox-list li input[type="checkbox"], 
body.page-template ul.acf-radio-list li input[type="radio"], 
body.page-template ul.acf-checkbox-list li input[type="radio"] {
	position: absolute;
    left: 0;
    top: 4px;
}

body.page-template label, 
body.page-template .acf-field .acf-label label {
	font-size: 16px;
}
body.page-template .acf-field .acf-label p {
	font-size: 14px;
}
body.page-template .acf-fields ul.acf-radio-list li, 
body.page-template .acf-fields ul.acf-checkbox-list li {
	font-size: 16px;
	margin-bottom: .5em;
}
body.page-template .acf-fields > .acf-tab-wrap {
	background: transparent;
}
body.page-template .page .title {
	padding-left: 12px;
}

body.page-template .acf-table {
	border: none;
}
body.page-template .acf-table > thead {
	display: none;
}
body.page-template .acf-table > thead > tr > th,
body.page-template .acf-table > tbody > tr > td {
	border: none;
	padding: 0;
}

@media only screen and (max-width: 425px) {
	
	body.page-template #wrapper {
		padding: 1em 0;
	}
	body.page-template #inner-wrapper {
		padding: 0;
	}
	
}

