/* Begin modification - updated to work better on desktop and mobile */

.itoris-pm-product-marker {
    float: left;
    margin-left: 20px;
    margin-bottom: 10px;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.itoris-pm-field-half-left {
    width: 48%;
    display: inline-block;
    float: left;
}

.itoris-pm-field-half-right {
    width: 48%;
    display: inline-block;
    float: right;
}

.itoris-pm-modal .modal-inner-wrap .valuelabel {
    height: 30px;
    line-height: 30px;
}

.itoris-pm-modal .modal-inner-wrap {
    max-width: 700px;
}

@media only screen and (max-width: 768px) {
    .itoris-pm-modal .modal-inner-wrap {
        overflow: auto;
        background-color: #FFFFFF !important;
    }
    .itoris-pm-product-marker {
        float: none;
        margin-left: 0px;
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 700px) {
    
    .itoris-pm-modal .modal-inner-wrap .modal-footer {
        padding-top: 0px;
    }
    
    .itoris-pm-modal .modal-inner-wrap .valuelabel {
        height: auto;
        line-height: 20px;
    }
    
    .itoris-pm-field-half-left {
        width: auto;
        display: block;
        float: none;
    }
    
    .itoris-pm-field-half-right {
        width: auto;
        display: block;
        float: none;
    }
}

/* End modification - updated to work better on desktop and mobile */

.itoris-pm-admin-comment{
    margin: 10px 0 20px;
    word-wrap: break-word;
}
.itoris-pm-field{
    letter-spacing: normal;
    margin: 0 0 20px;
}
.itoris-pm-field label{
    font-weight: 600;
}
/*
.itoris-pm-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    width: 100%;
    box-sizing: border-box;
}
.flex div {
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    width: 100%;
}
.flex div.flex-auto {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
}
*/
#itoris-pm-modal .fieldset.create.info{
    margin: 0 0 0;
}

