﻿html, body, form
{
    height: 100%;
    min-height: 100%;
    width: 100%;
    background-color: #ececec;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #454545;
     -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

/*******************************************************INIZIO HEADER*/
#MP_Header
{
    width: 100%;
    height: 64px;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
    color: rgba(49, 53, 52, 0.6);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
}

#MP_Header_Left
{
    margin-left: 20px;
    color: #7a7a7a;
    font-weight: 700;
    font-size: 18px;
    line-height: 64px;
    float: left;
}

    #MP_Header_Left span
    {
        float: left;
        font-family: "Fjalla One";
        font-weight: 400;
        color: #2b323a;
    }

.MP_Header_Btn
{
    display: block;
    float: left;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 14px 10px 0 10px;
    border-radius: 999px !important;
    background-color: transparent;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    line-height: 34px;
}

    .MP_Header_Btn:hover
    {
        background-color: rgba(12, 12, 12, 0.07);
        text-decoration: none;
    }

#MP_Panel
{
    float: right;
}

#MP_Header_Right
{
    float: right;
}

    #MP_Header_Right div
    {
        float: right;
        display: inline-block;
        position: relative;
    }

        #MP_Header_Right div ul
        {
            margin: 0;
            padding: 0;
            list-style-type: none;
        }

#MP_User
{
    margin: 0px 12px;
}

.dropdown
{
    position: relative;
}

    .dropdown.open
    {
        color: #313534;
    }

        .dropdown.open > a
        {
            background-color: #ffffff;
            border-color: rgba(255, 255, 255, 0.9);
            -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
            box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
        }

        .dropdown.open .dropdown-menu
        {
            margin-top: -1px;
            border-top: none;
        }

    .dropdown .dropdown-menu
    {
        top: 65px;
        left: auto;
        right: 0;
    }

.Btn_User
{
    display: block;
    padding: 0 20px;
    height: 64px;
}

    .Btn_User:hover
    {
        background-color: rgba(12, 12, 12, 0.07);
        text-decoration: none;
    }

    .Btn_User:after
    {
        content: "\f107";
        position: absolute;
        right: 10px;
        top: 22px;
        font-family: FontAwesome;
        font-weight: normal;
        font-style: normal;
        text-decoration: inherit;
        -webkit-font-smoothing: antialiased;
    }

#MP_User ul li a img
{
    margin: 12px 0 0 0;
}

.Info_User
{
    display: inline-block;
    padding: 0 20px 0 10px;
    line-height: 18px;
}

    .Info_User small
    {
        display: block;
        opacity: 0.5;
    }

#MP_Messages
{
    margin: 0px 12px;
    height: 64px;
}

    #MP_Messages a
    {
        display: block;
        position: relative;
    }

.Messages_Counter
{
    position: absolute;
    font-size: 10px;
    top: -1px;
    right: 4px;
    background-color: #f44336;
    color: #ffffff;
    border-color: #f44336;
    padding: 3px 7px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    border-radius: 140px;
    z-index: 20;
}

.Messages_List li a
{
    min-width: 250px;
    margin: 10px;
    position: relative;
    padding-left: 20px;
    border-radius: 3px;
    border: 1px solid rgba(83, 88, 88, 0.15);
    display: block;
    clear: both;
}

    .Messages_List li a table
    {
        width: 100%;
        border-collapse: collapse;
    }

        .Messages_List li a table tr td:last-child
        {
            width: 40px;
        }

    .Messages_List li a:before
    {
        content: "";
        position: absolute;
        display: block;
        width: 4px;
        left: -1px;
        top: -1px;
        bottom: -1px;
        background-color: #bababa;
    }

    .Messages_List li a span
    {
        float: left;
    }

.dropdown-menu
{
    position: absolute;
    top: 105%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 204px;
    padding: 5px 0;
    margin: 2px 0 0 0;
    list-style: none;
    font-size: 13px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    -webkit-animation: slide-up 0.3s ease-out;
    -moz-animation: slide-up 0.3s ease-out;
    -ms-animation: slide-up 0.3s ease-out;
    -o-animation: slide-up 0.3s ease-out;
    animation: slide-up 0.3s ease-out;
}

    .dropdown-menu .divider
    {
        height: 1px;
        margin: 11px 0;
        overflow: hidden;
        background-color: #e5e5e5;
    }

    .dropdown-menu li
    {
        margin: 5px 0;
    }

        .dropdown-menu li a
        {
            display: block;
            clear: both;
            font-weight: normal;
            color: #313534;
            padding: 10px 20px;
        }

            .dropdown-menu li a:hover, .dropdown-menu li a:focus
            {
                text-decoration: none;
                color: #252727;
                background-color: #f5f5f5;
            }

.dropdown-header span, .dropdown-header a
{
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.84615;
    color: #969C9C !important;
    padding: 15px 20px 5px 20px;
}

    .dropdown-header a:after
    {
        content: none !important;
    }

.User_Messages_Counter
{
    background-color: #F44336;
    color: #FFF;
    float: right !important;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    border-radius: 10px;
}

.User_Image
{
    width: 40px;
    height: 40px;
    border-radius: 40px;
}
/*******************************************************FINE HEADER*/

/*******************************************************INIZIO CONTAINER*/
#base
{
    overflow: hidden;
    padding-left: 5px;
    width: 100%;
    min-height: 100%;
}

.container
{
    padding: 64px 10px 10px 0;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

@media (min-width: 768px)
{
    .container
    {
        width: 98%;
    }
}

/*******************************************************RESPONSIVE*/
@media (min-width: 375px) and (max-width: 768px)
{
    /*togliere colore bg*/
    html, body, form
    {
        min-width: 375px;
    }

    /*******************************************************INIZIO HEADER*/
    #MP_Header
    {
        height: 128px;
        position: relative;
    }

    #MP_Header_Left
    {
        width: 95%;
        margin: 0;
        padding-left: 5%;
        border-bottom: 1px solid #e0e0e0;
    }

    #MP_Header_Right
    {
        width: 100%;
        margin: 0;
    }

    #MP_Panel
    {
        position: absolute;
        top: 0;
        right: 0;
        height: 65px;
        border-bottom: 1px solid #e0e0e0;
    }

    #MP_User
    {
        margin: 0;
        float: left !important;
    }

    #MP_Messages
    {
        margin: 0;
        float: right !important;
    }

    /*******************************************************FINE HEADER*/
    #base
    {
        padding-left: 0;
    }

    .container
    {
        padding: 10px 10px 0 10px;
        width: 98%;
        margin-right: auto;
        margin-left: auto;
    }

    .Table_Cell [class*="col-sm-"], .Table_Cell [class*="col-md-"]
    {
        float: left;
        display: initial;
        width: 100%;
    }
}
