
#dyno-res_header h3 {
    padding-left: 5px;
}

#dyno-res_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background: #fff;
    color: #000;
    border: 1px solid #000;
    font-size: 32px;
    line-height: 27px;
    padding: 0;
}
#dyno-res_close:hover, #dyno-res_close:focus {
    box-shadow: 0 0 0 2px #000;
    color: red;
    outline: none;
}

#dyno-res_section1 {
    padding: 10px 5px;
}

#dyno-res select::-ms-expand {
    display: none;
}
.dr-row {
    margin: 5px 0 10px 0;
    display: flex;
}
.dr-field {
    margin: 1% 2% 1% 0;
    display: inline-block;
}
.dr-field-3 {
    width: 25%;
}
.dr-field-4 {
    width: 33.3%;
}
.dr-field-8 {
    width: 66.6%;
}
.dr-field-12 {
    width: 100%;
}


.room-row-header .checkbox-element {
    float: right;
}
.room-row-header legend {
    float: left;
    font-size: 1rem;
}
.room-row .dr-field {
    width: 17%;
}
.room-row .dr-field.hpcr-only {
    width: 19%;
}
.room-row.no-hpcr .dr-field {
    width: 22%;
}
#dyno-res_rooms .room-row + .room-row {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #ccc;
}
.room-row.no-hpcr .hpcr-only {
    display: none;
}

#dyno-res .form-message {
    color: #E60000;
    font-style: italic;
    height: 20px;
    padding: 2px;
    font-size: 1rem;
    margin-top: -10px;
    margin-bottom: 10px;
}

.select-wrap {
    border:1px solid #ccc;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: white;
}
    
.select-wrap select {
    padding: .5em;
    width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
}
    
.select-wrap:after {
    position: absolute;
    content: "";
    right: 1em;
    top: .6em;
    border: 1px solid #717171;
    border-width: 0 2px 2px 0;
    padding: 5px;
    pointer-events: none;
    transform: rotate(45deg);
}

.select-wrap select.focus {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #ccc;
}

.element-wrapper {
    display: inline-block;
}
    
.element-wrapper .wrapper {
    display: inline-block;
}
    
.element-wrapper label {
    padding: 0;
}
    
.element-wrapper .label-text {
    display: inline-block;
    cursor: pointer;
    padding-left: 28px;
    font-size: 14px;
}
    
.element-wrapper .checkbox-wrapper {
    width: 21px;
    height: 21px;
    position: relative;
    margin: 0px;
    background-color: #717171;
    border-radius: 5px;
    float: left;
}
        
.element-wrapper .checkbox-wrapper .psuedo-checkbox {
    cursor: pointer;
    position: absolute;
    left: 2px;
    top: 2px;
    background-color: white;
    display: block;
    padding: 0;
    border-radius: 5px;
    width: 80%;
    height: 80%;
}
            
.element-wrapper .checkbox-wrapper .psuedo-checkbox:after {
    content: '';
    width: 7px;
    height: 4px;
    position: absolute;
    top: 3px;
    left: 3px;
    border: 3px solid black;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
            
.element-wrapper .checkbox-wrapper .psuedo-checkbox:hover::after {
    opacity: 0.3;
}
        
.element-wrapper .checkbox-wrapper  input[type=checkbox] {
    opacity: 0.1;
    /* in case the below fails */
    opacity: 0.01;
    z-index: -1;
    margin: 0;
    float: none;
}
        
.element-wrapper .checkbox-wrapper input:checked + .psuedo-checkbox:after {
    opacity: 1;
}
        
.element-wrapper .checkbox-wrapper input:focus + .psuedo-checkbox:before {
    content: "";
    position: absolute;
    top: -25%;
    left: -25%;
    width: 125%;
    height: 125%;
    border-radius: 7px;
    border: 2px solid black;
}

/* Style Chrome datepicker a bit, remove open arrow and make it open on click */
input[type="date"] {
    position: relative;
}
/* make the native arrow invisible and stretch it over the whole field so you can click anywhere in the input field to trigger the native datepicker*/
#dyno-res input[type="date"]::-webkit-calendar-picker-indicator {
    background: url('https://misc.hersheypa.com/assets/cdn/images/calendar.png');
    background-size: 20px;
    background-position: contain;
    background-repeat: no-repeat;
    color: transparent;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    width: 12px;
    height: 16px;
    border-color: transparent;
    border-style: solid;
    border-radius: 4px;
    margin-left: 7px;
    margin-right: -4px;
    margin-top: -4px;
}
/* adjust increase/decrease button */
#dyno-res input[type="date"]::-webkit-inner-spin-button {
    z-index: 1;
}
 /* adjust clear button */
 #dyno-res input[type="date"]::-webkit-clear-button {
     z-index: 1;
     margin-right: 5px;
 }