.spacer5  { padding-top: 5px; }
.spacer10 { padding-top: 10px; }
.spacer15 { padding-top: 15px; }
.spacer20 { padding-top: 20px; }
.spacer30 { padding-top: 30px; }
.spacer40 { padding-top: 40px; }
.spacer50 { padding-top: 50px; }
.hspacer  { margin-left: 12px !important; }
.nomargin { margin: 0 !important; }
.noborder { border: none !important; }
.valign   { vertical-align: middle !important; }
.nowrap   { white-space: nowrap; }
.nopadding  { padding: 0 !important; }
.norpadding { padding-right: 0 !important; }
.fullwidth  { width: 100% !important; }
.row-spacer { padding-top: 15px; }
.nounderline { text-decoration: none !important; }
.displaynone { display: none}

.make-invisible {
    position: absolute;
    top: -5000px;
}

input.nospin::-webkit-outer-spin-button,
input.nospin::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
/*FF Fix*/
input[type=number] {
    -moz-appearance:textfield;
}

div.am-custom-tooltip {
	z-index: 99999;
	opacity: 1 !important;
}
.tooltip.am-custom-tooltip .tooltip-inner {
	max-width: 425px;
    font-family: 'Poppins', 'gilroy', 'gilroy-light', Arial, sans-serif;
    font-weight: lighter;
    background-color: #fff;
    color: #000;
    text-align: left;
    border: 1px solid #ccc;
    padding: 1rem;
    font-size: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
	z-index: 999999;
}

.tooltip.am-custom-tooltip .tooltip-arrow::before {
    border-top-color: #fff !important;
}

div.amform .panel-heading a:after {
    font-family:'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: grey;
    cursor: pointer;
}
div.amform .panel-heading a.collapsed:after {
    content:"\e080";
}

.amform input:not([type=button]):not([type=submit]):not([type=reset]),
.amform select,
.amform textarea {
    background-color: #fff;
    border: 1px solid #bbb;
	border-radius: 4px;
    color: #0a0a0a;
	font-size: 16px;
}
.amform input:not([type=button]):not([type=submit]):not([type=reset]):disabled,
.amform select:disabled,
.amform textarea:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    color: #6c757d;
}
/*Set placeholder text color */
.amform input::placeholder,
.amform select::placeholder,
.amform textarea::placeholder {
    font-size: 17px;
	color: #aaa;
	font-weight: 100;
	
}

.amform input:disabled::placeholder,
.amform select:disabled::placeholder,
.amform textarea:disabled::placeholder {
    color: #6c757d;
}

/*Hide placeholder text upon mouse click */
div.amform input:focus::-webkit-input-placeholder { color:transparent !important; }
div.amform input:focus:-moz-placeholder { color:transparent !important; } /* FF 4-18 */
div.amform input:focus::-moz-placeholder { color:transparent !important; } /* FF 19+ */
div.amform input:focus:-ms-input-placeholder { color:transparent !important; } /* IE 10+ */

#amform-inputs input, #amform-inputs select, #amform-inputs textarea {
    font-size: 16px;
}
#amform-inputs select {
    padding: 5px 8px;
	height: 36px;
}

div.amform .pretty-radio {
    border: 1px solid #cccccc;
    border-radius: 15px;
    display: block;
    height: 22px !important;
    line-height: 20px;
    text-align: center;
    width: 22px !important;
    cursor: pointer;
}
div.amform .pretty-checkbox {
    border: 1px solid #cccccc;
    display: block;
	font-size: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    cursor: pointer;
}
div.amform .form-check .form-check-label {
	cursor: pointer;
}
div.amform label.radio-inline {
    height: 30px;
    line-height: 30px;
    position: relative;
}
div.amform .form-group {
    min-height: 34px;
    margin-bottom: 0;
}
div.amform .form-group label, div.amform .form-inline label {
    line-height: 34px;
}
div.amform .form-group .form-inline .ctrl-inline {
    margin-bottom: 6px;
}
div.amform .form-group .form-inline .ctrl-sm {
    width: 18%;
}
div.amform .btn-submit {
    min-width: 160px;
    font-size: 22px !important;
    margin-left: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
}
div.amform .btn-green {
    background-color: #50d46c;
    border-color: #50d46c;
    font-size: 18px;
    font-weight: normal;
}
div.amform .btn-green:hover,
div.amform .btn-green:active,div.amform .btn-green.active,div.amform .btn-green:focus,div.amform .btn-green:focus-visible,
div.amform .btn-green:visited,div.amform .btn-green:checked,div.amform .btn-green.show,div.amform .btn-green:active:focus,
div.amform .btn-green:focus:active {
    /*background-color: #6ee58a;
    border-color: #6ee58a;*/
    color: white;
    box-shadow: none;
    outline: none;
}
.amform a.btn {
    text-decoration: none;
}

div.amform span.panel-title {
    font-size: 20px;
    cursor: pointer;
}
div.amform .panel-heading {
    cursor: pointer;
}
div.amform span.panel-title > a:hover {
    text-decoration: none;
}
div.amform .form-control {
    height: 36px;
    padding: 5px 12px;
}
.text-right > .checkbox > label {
    text-align: left;
}

div.amform input.form-control, div.amform select.form-control, div.amform textarea.form-control, div.bootstrap-select span.filter-option {
    font-size: 18px;
}

div.amform div.dropdown-menu ul.dropdown-menu {
    padding: 0 0 8px 0;
}
div.amform div.dropdown-menu li {
    display: block;
}

div.amform textarea.ui-resizable {
    min-height: 39px;
}

/* Multiview dropdown for material and finishes (only for desktop) */
#material-list-desktop,
#material-list-desktop > .container {
    max-width: 800px;
}
div.amform .multiviewdd > .dropdown-menu > .container {
    padding-top: 5px;
}
div.amform .multiviewdd > button {
    text-align: left;
}
div.amform .multiviewdd span.multiviewdd-title {
    float: left;
    font-size: 17px;
    width: 97%;
    overflow: hidden;
    text-overflow: ellipsis;
}
div.amform .multiviewdd span.caret {
    float: right;
    margin-top:10px
}
div.amform .multiviewdd .multiviewdd-heading {
    color: #555;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
}
div.amform .multiviewdd .multiviewdd-subheading {
    color: black;
    font-weight: 500;
    font-size: 17px;
    text-decoration: underline;
    padding: 0 8px;
}
div.amform .multiviewdd .multiviewdd-notes {
    color: #777;
    font-weight: 500;
    font-size: 16px;
}
div.amform .multiviewdd .dd-item {
    font-size: 15px;
	font-weight: lighter;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 5px;
}
div.amform .multiviewdd .dd-item:hover {
    background-color: #eee;
    color: black;
    cursor: pointer;
}
div.amform .multiviewdd .dd-active-item {
    background-color: #337ab7;
    color: #ffffff;
}
div.amform .multiviewdd .dd-active-item:hover {
    background-color: #40a6f0;
    color: #ffffff;
}
div.amform .multiviewdd .dd-disabled,
div.amform .multiviewdd .dd-disabled:hover {
    cursor: not-allowed;
    color: #e6e6e6;
    background-color: transparent;
}


div.amform .table-borderless,
div.amform .table-borderless > tbody > tr > td,
div.amform .table-borderless > tbody > tr > th,
div.amform .table-borderless > tfoot > tr > td,
div.amform .table-borderless > tfoot > tr > th,
div.amform .table-borderless > thead > tr > td,
div.amform .table-borderless > thead > tr > th {
    border: none;
}

#am-dropzone-modal {
    background-color: rgba(50,50,50,0.5);
}
#am-dropzone-modal-content {
    color: gray;
    background-color: #fcfcfb;
}
#am-dropzone-modal-content > .modal-header h3,
#am-dropzone-modal-content > .modal-body h3 {
	font-weight: lighter;
}
#am-dropzone-modal-content > .modal-header {
    border-bottom: 0;
    font-size: 26px;
    padding-bottom: 0;
}
#am-dropzone-modal-content > .modal-body > div {
    border: 2px dashed gray;
    border-radius: 10px;
    padding: 80px 20px;
    font-size: 23px;
}

@media screen and (max-width: 768px) {
    div.amform .form-group .form-inline .ctrl-sm {
        width: 100%;
    }
}