/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#map{
    height: 500px;
}

.dm_wrapper{
    position: relative;
}

form#dm_filters input,
form#dm_filters select,
form#dir_f input{
    float: left;
    clear: left;
    background: #EEEEEE;
    border: 0px;
    border: 1px solid #333333;
    outline: none;
    height: 40px;
    line-height: 30px;
    padding: 5px 15px;
    margin-top: 10px;
    margin-right: 10px;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #333333;
}

form#dm_filters select[name="sub_category"]{
    float: left;
    clear: none;
    display: none;
}
form#dm_filters select[name="sub_category"].sub_cat_avail{
    display: block;
}

form#dm_filters input[type="submit"],
form#dir_f input[type="submit"]{
    background: #003E6A;
    color: #FFFFFF;
    border: 0px;
    font-weight: bold;
}

form#dir_f input[type="text"]{
    width: 225px;
}

#feedback{
    margin-top: 25px;
}

#map_wrapper{
    margin-top: 15px;
    position: relative;
}

#map{
    opacity: 1;
}

#map.prt_loading{
    opacity: 0.3;
}

.port_layer{
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100%;
    background: rgba(20,20,20,0.9);
    z-index: 99;
    display: none;
    color: #FFFFFF;
}

.port_layer_fields{
    padding: 20px;
    padding-right: 350px;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.port_field{
    width: 100%;
    margin-bottom: 5px;
}

.port_title{
    font-size: 120%;
    font-weight: bold;
    font-size: 130%;
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 10px;
}

.port_title:after{
    content: "";
    position: absolute;
    bottom: 0px;
    width: 40%;
    left: 0px;
    height: 2px;
    background: #FFFFFF;
}


.port_website{
    text-decoration: underline;
}

.port_website a:hover{
    text-decoration: none;
    color: #a6ce39;
}

.port_layer_close{
    position: absolute;
    top: 10px;
    right: 15px;
    background: url("../images/close.png");
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.port_layer.opened_map{
    display: block;
}

.prtclearfix::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.port_layer_directions{
    position: absolute;
    width: 250px;
    top: 20px;
    right: 50px;
    padding: 0px 20px;
    border-left: 1px solid #999;
}


.prt_inp_error, .parsley-error{
    border: 2px dashed #9C0F17 !important;
}

.parsley-errors-list.filled{
    padding-left: 20px;
    float: left;
    clear: both;
    list-style: none;
    text-align: left;
    margin: 5px 0px 0px;
    padding-left: 0px;
    color: #9C0F17;
}

.fill_curr{
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    cursor: pointer;
}

.fill_curr:hover{
    color:#003E6A;
}

.prt_inp_curr{
    background: #999 !important;
}

@media (max-width: 769px) {
    .port_layer_fields{
        padding-right: 0px;
    }
    .port_layer_directions{
        position: static;
        padding: 15px 0px;
        margin-top: 15px;
        border: 0px;
        border-top: 1px solid #999;
    }
}