.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; }
.spacer-xs{ padding-top: 0; }
.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;
}

/* EMS Forms styles */
.emsform, .ems-font-gilroy, div.emsform .tooltip-inner,
#request-submitted-modal, #order-submitted-modal, #contact-info-modal {
    font-family: 'gilroy-light', Arial, sans-serif;
}

div.emsform .panel-heading a:after {
    font-family:'Glyphicons Halflings';
    content:"\e114";
    float: right;
    color: grey;
    cursor: pointer;
}
div.emsform .panel-heading a.collapsed:after {
    content:"\e080";
}
div.emsform .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.emsform .pretty-checkbox {
    border: 1px solid #cccccc;
    display: block;
    height: 20px !important;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}
div.emsform label.radio-inline {
    height: 30px;
    line-height: 30px;
    position: relative;
}
div.emsform .form-group {
    min-height: 34px;
    margin-bottom: 0;
}
div.emsform .form-group label, div.emsform .form-inline label {
    line-height: 34px;
}
div.emsform .form-group .form-inline .ctrl-inline {
    margin-bottom: 6px;
}
div.emsform .form-group .form-inline .ctrl-sm {
    width: 18%;
}
div.emsform .btn-submit {
    min-width: 160px;
    font-size: 20px !important;
    margin-left: 15px;
    margin-bottom: 10px;
    border-radius: 20px;
}
div.emsform .btn-green {
    background-color: #50d46c;
    border-color: #50d46c;
    font-size: 16px;
    font-weight: bold;
}
.emsform a.btn {
    text-decoration: none;
}


div.emsform .tooltip.in {
    opacity: 1;
    z-index: 100000;
}
div.emsform .tooltip-inner {
    background-color: #f2ce7a;
    color: black;
    width: 320px;
    max-width: 320px;
    font-size: 18px;
}
.white-tooltip + .tooltip > .tooltip-inner {
    background-color: #fff;
}
.small-wide-tooltip + .tooltip > .tooltip-inner {
    padding: 15px;
    max-width: 400px;
    font-size: 13px;
    border: 1px solid silver;
}
div.emsform span.panel-title {
    font-size: 20px;
    cursor: pointer;
}
div.emsform .panel-heading {
    cursor: pointer;
}
div.emsform span.panel-title > a:hover {
    text-decoration: none;
}
div.emsform .form-control {
    height: 36px;
    padding: 5px 12px;
}
.text-right > .checkbox > label {
    text-align: left;
}

div.emsform input.form-control, div.emsform select.form-control, div.emsform textarea.form-control, div.bootstrap-select span.filter-option {
    font-size: 18px;
}

div.emsform div.dropdown-menu ul.dropdown-menu {
    padding: 0 0 8px 0;
}
div.emsform div.dropdown-menu li {
    display: block;
}

div.emsform textarea.ui-resizable {
    min-height: 39px;
}

/* Bootstrap select fixes */
div.emsform .bootstrap-select > .dropdown-menu {
    padding: 0;
    max-height: 100vh !important;
}


/* Multiview dropdown for material and finishes (only for desktop) */
#material-list-desktop,
#material-list-desktop > .container {
    max-width: 800px;
}
div.emsform .multiviewdd > .dropdown-menu > .container,
#main-content .container div.emsform .multiviewdd > .dropdown-menu > .container {
    padding-top: 5px;
}
div.emsform .multiviewdd > button {
    text-align: left;
}
div.emsform .multiviewdd span.multiviewdd-title {
    float: left;
    font-size: 18px;
    width: 93%;
    overflow: hidden;
    text-overflow: ellipsis;
}
div.emsform .multiviewdd span.caret {
    float: right;
    margin-top:10px
}
div.emsform .multiviewdd .multiviewdd-heading {
    color: #555;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}
div.emsform .multiviewdd .multiviewdd-subheading {
    color: black;
    font-weight: bold;
    font-size: 18px;
    text-decoration: underline;
    padding: 0 8px;
}
div.emsform .multiviewdd .multiviewdd-notes {
    color: #777;
    font-weight: bold;
    font-size: 18px;
}
div.emsform .multiviewdd .dd-item {
    font-size: 15px;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 5px;
}
div.emsform .multiviewdd .dd-item:hover {
    background-color: #eee;
    color: black;
    cursor: pointer;
}
div.emsform .multiviewdd .dd-active-item {
    background-color: #337ab7;
    color: #ffffff;
}
div.emsform .multiviewdd .dd-active-item:hover {
    background-color: #40a6f0;
    color: #ffffff;
}
div.emsform .multiviewdd .dd-disabled,
div.emsform .multiviewdd .dd-disabled:hover {
    cursor: not-allowed;
    color: #e6e6e6;
    background-color: transparent;
}


/*Hide placeholder text upon mouse click */
div.emsform input:focus::-webkit-input-placeholder { color:transparent !important; }
div.emsform input:focus:-moz-placeholder { color:transparent !important; } /* FF 4-18 */
div.emsform input:focus::-moz-placeholder { color:transparent !important; } /* FF 19+ */
div.emsform input:focus:-ms-input-placeholder { color:transparent !important; } /* IE 10+ */

div.emsform .table-borderless,
div.emsform .table-borderless > tbody > tr > td,
div.emsform .table-borderless > tbody > tr > th,
div.emsform .table-borderless > tfoot > tr > td,
div.emsform .table-borderless > tfoot > tr > th,
div.emsform .table-borderless > thead > tr > td,
div.emsform .table-borderless > thead > tr > th {
    border: none;
}


#ems-dropzone-modal {
    font-family: 'gilroy-light', Arial, sans-serif;
    background-color: rgba(50,50,50,0.5);
}
#ems-dropzone-modal-content {
    color: gray;
    background-color: #fcfcfb;
}
#ems-dropzone-modal-content > .modal-header {
    border-bottom: 0;
    font-size: 26px;
    padding-bottom: 0;
}
#ems-dropzone-modal-content > .modal-body > div {
    border: 2px dashed gray;
    border-radius: 10px;
    padding: 80px 20px;
    font-size: 23px;
}


.text-left-not-xs, .text-left-not-sm, .text-left-not-md, .text-left-not-lg { text-align: left; }
.text-center-not-xs, .text-center-not-sm, .text-center-not-md, .text-center-not-lg { text-align: center; }
.text-right-not-xs, .text-right-not-sm, .text-right-not-md, .text-right-not-lg { text-align: right; }
.text-justify-not-xs, .text-justify-not-sm, .text-justify-not-md, .text-justify-not-lg { text-align: justify; }
@media (max-width: 767px) {
    .text-left-not-xs, .text-center-not-xs, .text-right-not-xs, .text-justify-not-xs { text-align: inherit; }
    .text-left-xs { text-align: left; }
    .text-center-xs { text-align: center; }
    .text-right-xs { text-align: right; }
    .text-justify-xs { text-align: justify; }
    .pull-right-xs { float: right; }
    .hspacer { margin-left: 0 !important; }
    .row-spacer { padding-top: 0; }
    .spacer-xs { padding-top: 10px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .text-left-not-sm, .text-center-not-sm, .text-right-not-sm, .text-justify-not-sm { text-align: inherit; }
    .text-left-sm { text-align: left; }
    .text-center-sm { text-align: center; }
    .text-right-sm { text-align: right; }
    .text-justify-sm { text-align: justify; }
    .pull-right-sm { float: right; }
    .hspacer { margin-left: 0 !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .text-left-not-md, .text-center-not-md, .text-right-not-md, .text-justify-not-md { text-align: inherit; }
    .text-left-md { text-align: left; }
    .text-center-md { text-align: center; }
    .text-right-md { text-align: right; }
    .text-justify-md { text-align: justify; }
    .pull-right-md { float: right; }
}
@media (min-width: 1200px) {
    .text-left-not-lg, .text-center-not-lg, .text-right-not-lg, .text-justify-not-lg { text-align: inherit; }
    .text-left-lg { text-align: left; }
    .text-center-lg { text-align: center; }
    .text-right-lg { text-align: right; }
    .text-justify-lg { text-align: justify; }
    .pull-right-lg { float: right; }
}

@media screen and (max-width: 768px) {
    div.emsform .form-group .form-inline .ctrl-sm {
        width: 100%;
    }
}

.bootstrap-wrapper .modal-title {
    margin: 0;
    line-height: 1.42857143;
    font-size: 18px;
    font-weight: 700;
}

.bootstrap-wrapper .h2-style,
.bootstrap-wrapper .h3-style {
    line-height: 1.1;
    font-size: 24px;
    font-weight: 700;
}

/* Make modal background (backdrop) transparent gray */
div.bootstrap-wrapper div.modal:not(.ems-floating-modal) {
	background-color: rgba(50,50,50,.5);
    max-width: none;
}
/* Center popup on desktop */
@media only screen and (min-width: 768px) {
    .modal {
        text-align: center;
    }
    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
    .modal-dialog {
        display: inline-block;
        text-align: left;
        vertical-align: middle;
    }
    .modal.fade .modal-dialog {
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 0;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    .modal.fade.in .modal-dialog {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
}