/* v 1.02 (15.12.2017) */

@font-face{
    font-family: 'Tonicons';
    src:  url('/modules/md_photobank/fonts/fonts/Tonicons.eot?7oxe9t');
    src:  url('/modules/md_photobank/fonts/fonts/Tonicons.eot?7oxe9t#iefix') format('embedded-opentype'),
        url('/modules/md_photobank/fonts/fonts/Tonicons.ttf?7oxe9t') format('truetype'),
        url('/modules/md_photobank/fonts/fonts/Tonicons.woff?7oxe9t') format('woff'),
        url('/modules/md_photobank/fonts/fonts/Tonicons.svg?7oxe9t#Tonicons') format('svg');
	font-weight: normal;
	font-style: normal;
}

.dm_pb{
    margin: 0px 0px 20px 0px;
    padding: 0px 0px 20px 0px;
    float: left;
    width: 100%;
    font-family: sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.dm_pb,
.dm_pb .pbTtlBlk,
.dm_pb .pbValBlk {
    float: left;
    width: 100%;
}
.dm_pb div{
    float: left;
}
.dm_fon{
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}
.pb_search_key{
    background:#f9f9f9;
    float:left;
    clear: left;
    width:100%;
    padding: 20px 0px;
    margin: 10px 0px;
    text-align: center;
    font-size: 25px;
}
.dm_pb_search{
    clear: left;
    float: left;
    margin: 10px 0px;
    padding: 10px 0px;
}
.dm_uploadf{
    float: right;
    margin: 10px 0px;
    padding: 10px 0px;
}
.dm_uploadf form,
.dm_uploadf input,
.dm_pb_search form,
.dm_pb_search input{
    margin: 0;
    padding: 0px 10px;
}

.dm_pb .pbTtlBlk{
    
}
.dm_pb .pbValBlk{
    border-top: 1px solid #cdcdcd;
    border-bottom: 1px solid #cdcdcd;
    margin: 5px 0px 5px 0px;
    padding: 10px 0px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.dm_pb .pbValBlk .pbValLine{
    position: relative;
    width: 200px;
    min-width: 200px;
    float: left;
    margin: 30px;
    padding: 30px 20px 60px 20px;
    background: #fafafa;
    box-shadow: 0px 0px 10px rgba(0, 0, 0,0.5);
    border-radius: 30px 0px 0px 0px;
}
.dm_pb .pbValBlk .pbValLine:hover{
    /*box-shadow: 0px 0px 15px rgba(0,0,0,0.5);*/
}
.dm_pb .pbValBlk .pbValLine div{
    
}
.dm_pb .pb_sort{
    position: absolute;
    top: -10px;
    left: 20%;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    background: #cc0033;
    border-radius: 50%;
    border: 1px solid #cc0033;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    text-align: center;
    margin: 0px 0px 0px 0px;
    cursor: default;
    
}
.dm_pb .pb_order{
    display: block;
    overflow: hidden;
    float: left;
    position: absolute;
    bottom: 15px;
    margin: 0;
    padding: 0;
    background: #dedede;
    border-radius: 50%;
    border: 1px solid #dedede;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    text-align: center;
}
.dm_pb .pb_left{
    left: -15px;
}
.dm_pb .pb_right{
    right: -15px;
}
.dm_pb .pb_order a{
    display: block;
    width: 100%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #808080;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    border-radius: 50%;
}
.dm_pb .pb_order:hover{
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
.dm_pb .pb_order:hover a{
    color: #8e8e8e;
}
.dm_pb .pb_left a{
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.4), rgba(255,255,255,0.5), rgba(255,255,255,0.7));
}
.dm_pb .pb_right a{
    background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.4), rgba(255,255,255,0.5), rgba(255,255,255,0.7));
}

.dm_pb .pb_name{
    clear: left;
    margin: 0px 0px 10px 0px;
    max-width: 100%;
    overflow: hidden;
    cursor: pointer;
}
.dm_pb .pb_name:hover{
    color: #cc0033;
}
.dm_pb .form {
    position: fixed;
    z-index: 105;
    top: 50%;
    left: 50%;
    margin: -100px 0px 0px -15%;
    padding: 20px 0px 50px 0px;
    width: 30%;
    background: #f9f9f9;
    border: 0px solid gray;
    display: none;
    min-width: 300px;
}
.dm_pb .form .pb_fname{
    margin: 5px 5% 0 5%;
    clear: left;
}
.dm_pb .form form{
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}
.dm_pb .form .text{
    display: block;
    width: 90%;
    border: 0;
    margin: 0% 5% 5% 5%;
    padding: 0;
    background: #fff;
    border: 1px solid #dedede;
}
.dm_pb .form .text textarea{
    display: block;
    height: 100px;
    margin: 0;
    padding: 0;
    width: 100%;
    border: 0;
}
.dm_pb .form .btn,
.dm_pb .form .close{
    display: block;
    position: absolute;
    left: 50%;
    bottom: 15px;
    clear: left;
    text-align: center;
    background: #dedede;
    border-radius: 6px;
    border: 0;
}
.dm_pb .form .btn input,
.dm_pb .form .close div{
    display: block;
    width: 100px;
    color: grey;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    padding: 5px 0px;
    text-decoration: none;
    border-radius: 6px;
    border: 0px solid #dedede;
    border-collapse: separate;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.4), rgba(255,255,255,0.5), rgba(255,255,255,0.7));
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    cursor: pointer;
}
.dm_pb .form .btn{
    margin: 0px 0px 5px -111px;
}
.dm_pb .form .close{
    margin: 0px 0px 5px 10px;
}

.dm_pb .form input:hover,
.dm_pb .form .close div:hover{
    box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}
.dm_pb .pbn_title{
    margin: 0px 0px 10px 0px;
    clear: left;
}
.dm_pb .pbn_title div{
    float: left;
    line-height: 20px;
    font-size: 16px;
    font-weight: normal;
    margin: 0px 5px 5px 0px;
    padding: 0;
}
.dm_pb .pbn_title .text{
    
}
.dm_pb .pbn_title .btn{
    cursor: pointer;
}
.dm_pb .pbn_title .btn:hover{
    color: #cc0033;
}
.dm_pb .pb_link{
    width: 100%;
    overflow: hidden;
    clear: left;
    margin: 0px 0px 10px 0px;
    padding: 0;
    background: #fff;
    border: 0px solid #f9f9f9;
    text-align: center;
}
.dm_pb .pb_link textarea{
    display: block;
    padding: 0;
    width: 100%;
    margin: 0px;
    border: 0;
    background: #fff;
    font-size: 14px;
    line-height: 15px;
    height: 50px;
    overflow: auto;
}
.dm_pb .pb_prev{
    width: 100%;
    clear: left;
    margin: 0px 0px 20px -1px;
    border: 1px solid #f9f9f9;
}
.dm_pb .pb_prev a{
    float: left;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
.dm_pb .pb_prev img{
    float: left;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0px 0px 0px 0px;
    border: 0;
}
.dm_pb .pb_date{
    font-size: 11px;
    font-weight: bold;
    color: #5e5e5e;
    clear: left;
    margin: 0px 0px 5px 0px;
}
.dm_pb .pb_status{
    position: absolute;
    bottom: 15px;
    left: 50%;
    clear: left;
    margin: 0px 0px 5px -61px;
    background: #dedede;
    border-radius: 6px;
}
.dm_pb .pb_status a{
    width: 100px;
    text-align: center;
    display: block;
    color: grey;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    padding: 5px 10px;
    margin: 0;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #dedede;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0.9), rgba(255,255,255,0.7), rgba(255,255,255,0.4), rgba(255,255,255,0.5), rgba(255,255,255,0.7));
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    
}
.dm_pb .pb_status a:hover{
    box-shadow: 0px 0px 2px rgba(0,0,0,0.5);
}
.dm_pb .pb_set{
    margin: 0px 0px 5px 0px;
}
.dm_pb .pb_del{
    position: absolute;
    top: 0px;
    right: 0px;
    width: auto;
}
.dm_pb .pb_del a{
    display: block;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    background: grey;
    border-radius: 0px 0px 0px 6px;
    padding: 2px 10px 2px 10px;
    line-height: 14px;
    margin: 0px;
    text-decoration: none;
}
.dm_pb .pb_del a:hover{
    background: #cc0033;
}
.pb_linkset {
    float: left;
    clear: left;
    height: 30px;
    padding: 10px 0px 20px 0px;
    margin: 0;
}
.pb_linkOn,
.pb_link{
    float: left;
    background: #43a7d8;
    border-radius: 6px;
    margin: 0px 5px 0px 5px;
}
.pb_link a{
    display: block;
    float: left;
    background: #0077b2;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 5px 10px;
    margin: 0;
    box-shadow: 0px 0px 2px rgba(0, 0, 0,0.5);
    text-decoration: none;
    background: linear-gradient(to top, rgba(0,119,178,1), rgba(0,119,178,0.9), rgba(0,119,178,0.7), rgba(0,119,178,0.4), rgba(0,119,178,0.5), rgba(0,119,178,0.7));
    /*background: linear-gradient(to top, rgba(0,119,178,0.7), rgba(0,119,178,0.4), rgba(0,119,178,0.5), rgba(0,119,178,0.7), rgba(0,119,178,0.9), rgba(0,119,178,1));*/
}

.pb_linkOn a,
.pb_link a:hover{
    display: block;
    float: left;
    background: #0077b2;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 5px 10px;
    margin: 0;
    box-shadow: 0px 0px 2px rgba(0, 0, 0,0.5);
    text-decoration: none;
    background: linear-gradient(to top, rgba(23,162,231,1), rgba(23,162,231,0.9), rgba(23,162,231,0.7), rgba(23,162,231,0.4), rgba(23,162,231,0.5), rgba(23,162,231,0.7));
    /*background: linear-gradient(to top, rgba(23,162,231,0.7), rgba(23,162,231,0.4), rgba(23,162,231,0.5), rgba(23,162,231,0.7), rgba(23,162,231,0.9), rgba(23,162,231,1));*/
}
















/*public start*/

.dm_pb_showBlk{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    float: left;
    clear: left;
    width: 100%;
    margin: 0;
    padding: 0px;
    border: 0px solid red;
    overflow: hidden;
    z-index: 2000;
}
.dm_pb_fullon{
    position: fixed;
    background-color: rgba(0, 0, 0, 1);
}

.dm_pb_fulloff{
    position: absolute;
    background-color: rgba(0, 0, 0, 1);
}

.dm_pb_showBlk .pb_infopnl{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0px 0px;
    height: 40px;
}
.dm_pb_showBlk .pb_infopnl div{
    line-height: 40px;
    color: #999;
}
.dm_pb_showBlk .pb_counter{
    float: left;
    padding: 0;
    margin: 0px 0px 0px 20px;
}
/*.dm_pb_fulloff .pb_counter{
    margin: 0px 0px 0px 20px;
}
.dm_pb_fullon .pb_counter{
    margin: 0px 0px 0px 100px;
}*/
.dm_pb_showBlk #pb_counter:after{
    content: '/';
    line-height: 40px;
    margin: 0px 5px;
    padding: 0;
}
.dm_pb_showBlk .pb_zoom{
    float: right;
    margin: 0px 5%;
    margin: 0px 20px 0px 0px;
}
/*.dm_pb_fulloff .pb_zoom{
    margin: 0px 20px 0px 0px;
}
.dm_pb_fullon .pb_zoom{
    margin: 0px 100px 0px 0px;
}*/
.dm_pb_showBlk .pb_zoom div{
    font-family: Tonicons;
    margin: 0px 3px;
    color: #999;
    cursor: pointer;
    font-size: 24px;
    line-height: 40px;
    font-weight: normal;
}
.dm_pb_showBlk .pb_zoom div:hover{
    color: #fff;
}
.dm_pb_showBlk .pb_zoom div:active{
    color: #cdcdcd;
}
.dm_pb_showBlk .pb_zoom_in:after{
    content: "\ea3e";
}
.dm_pb_showBlk .pb_zoom_out:after{
    content: "\ea40";
}
.dm_pb_showBlk .pb_alllist{
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
}
.dm_pb_showBlk .pb_listn{
    position: absolute;
    margin: 0px 0px 0px 0px;
    display: block;
    overflow: hidden;
    float: left;
    padding: 0px;
    text-align: center;
    z-index: 2000;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
}
.dm_pb_fullon .pb_listn{
    width: 20px;
    top: 100px;
    bottom: 120px;
}
.dm_pb_fulloff .pb_listn{
    height: 120px;
    bottom: 0px;
    width: 67px;
}
.dm_pb_showBlk .pb_left{
    left: 0;
    /*box-shadow: 1px 0px 5px rgba(0, 0, 0,0.3);*/
}
.dm_pb_showBlk .pb_right{
    right: 0;
    /*box-shadow: -1px 0px 5px rgba(0, 0, 0,0.3);*/
}
.dm_pb_showBlk .pb_listn div{
    position: absolute;
    top: 50%;
    display: block;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 27px solid #fff;
    border-right: 27px solid #fff;
    margin: -20px 0px 0px 0px;
    padding: 0;
    transition: all 0.5s ease 0s;
}
.dm_pb_showBlk .pb_left div{
    border-left: 0px solid #fff;
}
.dm_pb_showBlk .pb_right div{
    border-right: 0px solid #fff;
}
.dm_pb_fulloff .pb_left div{
    left: 20px;
}
.dm_pb_fulloff .pb_right div{
    right: 20px;
}
.dm_pb_fullon .pb_left div{
    left: 5px;
}
.dm_pb_fullon .pb_right div{
    right: 5px;
}
.dm_pb_showBlk .pb_listn:hover div{
    color: #cc0033;
    border-left-color: #cc0033;
    border-right-color: #cc0033;
    transition: all 0.5s ease 0s;
}


.dm_pb_showBlk .pb_fullbtn{
    display: none;
    float: right;
    cursor: pointer;
    font-family: Tonicons;
    color: #999;
    margin: 0px 20px 0px 0px;
    padding: 0;
    line-height: 40px;
    font-size: 20px;
}
.dm_pb_showBlk .pb_fullbtn:hover{
    color: #fff;
}
.dm_pb_fullon .pb_fulloff{
    display: block;
}
.dm_pb_fullon .pb_fulloff:before{
    content: "\e9f5";
}
.dm_pb_fulloff .pb_fullon{
    display: block;
}
.dm_pb_fulloff .pb_fullon:before{
    content: "\e9f4";
}

.dm_pb_showBlk div{
    float: left;
}
.dm_pb_showBlk .pb_list{
    position: absolute;
    top: 0;
    bottom: 125px;
    left: 0;
    transition: all 0.5s ease 0s;
}
.dm_pb_showBlk .pb_photoBlk{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0px solid #fff;
}
.dm_pb_showBlk .pb_photoBlk .pb_photo{
    position: absolute;
    top: 80px;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0px 0px 0px 0px;
    padding: 0;
    border: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dm_pb_showBlk .pb_photoBlk .pb_photo img{
    /*position: absolute;
    display: block;*/
    margin: 0;
    padding: 0;
    border: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.dm_pb_fulloff .pb_photoBlk .pb_photo img{
   /* position: absolute;
    display: block;*/
}
.dm_pb_fullon .pb_photoBlk .pb_photo img{
    position: absolute;
    display: block;
}

.dm_pb_showBlk .pb_photoBlk .pb_title{
    position: absolute;
    top: 0px;
    min-height: 60px;
    /*bottom: 0;*/
    left: 0;
    right: 0;
    margin: 0;
    padding: 0px 20px;
    border: 0;
    font-weight: normal;
    font-size: 18px;
    text-align: center;
    font-style: italic;
    vertical-align: middle;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.dm_pb_fulloff .pb_photoBlk .pb_title{
    color: #fff;
}
.dm_pb_fullon .pb_photoBlk .pb_title{
    color: #fff;
}



/*prev start*/
.dm_pb_showBlk .pb_prevBlk{
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    margin: 0px 0px;
    padding: 0px 0px;
    height: 120px;
    background-color: rgba(0,0,0,0.5);
}
.dm_pb_showBlk .pb_prevList{
    position: absolute;
    top: 0px;
    left: 50%;
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.5s ease 0s;
    margin: 0px 0px 0px -85px;
    padding: 7px 0px;
}
.dm_pb_showBlk .pb_photnav{
    color: #fff;
    font-size: 12px;
    line-height: 14px;
    text-transform: uppercase;
    text-align: center;
    transition: all 0.5s ease 0s;
    position: relative;
    width: 20px;
    height: 70px;
    vertical-align: middle;
    margin: 0px 5px;
    padding: 10px 0px;
    float: left;
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.dm_pb_showBlk .pb_photnav:hover{
    transition: all 0.2s ease 0s;
    background: #505050;
    
}
.dm_pb_showBlk .pb_navLeft{
    border-radius: 50% 0% 0% 50%;
}
.dm_pb_showBlk .pb_navRight{
    border-radius: 0% 50% 50% 0%;
}
.dm_pb_showBlk .pb_photoprev{
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    margin: 0px 5px 0px 5px;
    padding: 10px;
    float: left;
    background: #111111;
    border-radius: 3px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease 0s;
}
.dm_pb_showBlk .pb_photoprev{
    border: 0px solid #000;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
}
.dm_pb_showBlk .pb_photoprev:hover,
.dm_pb_showBlk .pb_prevSet{
    border: 0px solid #000;
    border-top: 2px solid #cc0033;
    border-bottom: 2px solid #cc0033;
    transition: all 0.2s ease 0s;
    background: #fff;
    color: #000;
}
.dm_pb_showBlk .pb_photoprev img{
    max-width: 100%;
    max-height: 100%;
}

/*prev end*/



/*mini*/
.dm_pb_showBlk .pb_pminiBlk{
    margin: 0px;
    padding: 0;
    border: 0;
}
.dm_pb_showBlk .pb_pminiBlk .pb_photo img{
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    float: left;
    height: 100px;
}
/*public end*/





