/* ----------------------------------------------------------
CityShop Post Manager 
Stile integrativo per il tema: 
Shopme Child di CityShop
Webdesigner: Nisar Abed
*/

/* ----------------------------------------------------------
Generale */

body.cspm_dashboard {}

/* Bootstrap */
body.cspm_dashboard .page_wrapper {
    padding: 10px 0px 10px 0px;}

body.cspm_dashboard .page_wrapper .container {width: 100%;}

body.cspm_dashboard .page_wrapper .container .col-sm-12 {
    padding-left:0px;
    padding-right: 0px;}

/* Section Title */
body.cspm_dashboard .section_title .logo {
    position: relative;
    max-width: 85%;
    width: 400px;
    height: 100px;
    padding: 5px 5px 5px 5px;
    margin: 0px auto 0px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 95% auto;}

body.cspm_dashboard .section_title .logo a {
    position: absolute;
    width: auto;
    height: auto;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
    z-index: 1;}

body.cspm_dashboard .section_title .logo.bglogo_socialtheca {
    background-image: url(../images/logo/socialtheca_logo_big.png);}

body.cspm_dashboard .section_title .logo.bglogo_citywall {
    background-image: url(../images/logo/citywall_logo_big.png);}

body.cspm_dashboard .section_title,
body.cspm_dashboard .section_title .subtitle {
    position: relative;
    width: 100%;
    height: auto;
    display: block;}

body.cspm_dashboard .section_title {
    margin: 15px 0px 5px 0px;
    padding: 20px 10px 5px 10px;
    line-height: 20px;
    font-size: 20px;}

body.cspm_dashboard .section_title .subtitle {
    color:#333;
    font-size: 14px;
    line-height: 15px;
    margin: 5px 0px 5px 0px;
    padding: 5px 10px 10px 10px;}

/* Content */
body.cspm_dashboard .cspm_content {
    position: relative !important;
    width: 100%;
    height: auto;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
    margin: 5px auto 5px auto;
    padding: 15px 15px 15px 15px;
    /* Stile Cityshop Dashboard */
    overflow: visible;
    background-color: #f0f0f0;
    border: 1px solid #dddddd;}

body.cspm_dashboard .cspm_content .row {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    margin: 0px 0px 0px 0px;
    padding: 5px 0px 10px 0px;}

body.cspm_dashboard .cspm_content .row:last-child {padding: 5px 0px 5px 0px;}

body.cspm_dashboard .noselect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;}

/* ----------------------------------------------------------
Comandi */

body.cspm_dashboard .cspm_content .row.command {}

body.cspm_dashboard .row.command {}

body.cspm_dashboard .row.command .select_item {display: inline-block;}

body.cspm_dashboard .row.command .select_item select {outline: none;}

body.cspm_dashboard .row.command .date_period_item,
body.cspm_dashboard .row.command .date_period_item .date_item,
body.cspm_dashboard .row.command .date_period_item .date_label,
body.cspm_dashboard .row.command .date_period_item .date_title, 
body.cspm_dashboard .row.command .date_period_item input[type="date"],
body.cspm_dashboard .row.command .date_period_item input[type="text"].date_picker_js {display: inline-block;}

body.cspm_dashboard .row.command .date_period_item input[type="text"].date_picker_js {max-width: 160px;}

body.cspm_dashboard .row.command .date_period_item .date_title {
    font-size: 15px;
    line-height: 35px;}

body.cspm_dashboard .row.command .date_period_item .date_label {
    padding: 0px 2px 0px 2px;}

body.cspm_dashboard .row.command .date_period_item {padding: 0px 10px 0px 10px;}

/* ----------------------------------------------------------
Post */

body.cspm_dashboard .cspm_content .row.posts {}

body.cspm_dashboard .row.posts {}

body.cspm_dashboard .row.posts .new_post {display: none;}

body.cspm_dashboard .row.posts .cspm_post {
    position: relative;
    display: inline-block;
    width: 25%;
    max-width: 1080px;
    height: auto;
    max-width: 100%;
    max-height: none;
    padding: 10px 10px 10px 10px;
    margin: 0px 0px 0px 0px;
    background-color: transparent;}

body.cspm_dashboard .row.posts .post_content {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100px;
    border-radius: 2px;
    border:1px solid #ccc;
    padding: 0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
    background-color: #fff;}

body.cspm_dashboard .row.posts .text {
    padding: 5px 15px 5px 15px;
    margin: 0px 0px 0px 0px;}

body.cspm_dashboard .row.posts .text:first-child {padding: 15px 15px 5px 15px;}

body.cspm_dashboard .row.posts .text:last-child {padding: 5px 15px 15px 15px;}

body.cspm_dashboard .row.posts .text label {
    position: relative;
    width: 100%;
    height: auto;
    display: inline-block;}

body.cspm_dashboard .row.posts .text label input[type="date"],
body.cspm_dashboard .row.posts .text label input[type="text"],
body.cspm_dashboard .row.posts .text label input[type="text"].js_date_picker {
    width: 100%;
    height: auto;
    padding: 8px 10px 8px 40px;
    z-index: 1;}

body.cspm_dashboard .row.posts .text label .icon {
    position: absolute;
    width: 38px;
    height: 38px;
    font-size: 16px;
    text-align: center;
    top:0px;
    left:0px;
    right: auto;
    bottom:auto;
    z-index: 2;}

body.cspm_dashboard .row.posts .text label .icon,
body.cspm_dashboard .row.posts .text label .icon i.fa, 
body.cspm_dashboard .row.posts .text label .icon i.fab, 
body.cspm_dashboard .row.posts .text label .icon i.fad, 
body.cspm_dashboard .row.posts .text label .icon i.fal, 
body.cspm_dashboard .row.posts .text label .icon i.far, 
body.cspm_dashboard .row.posts .text label .icon i.fas {line-height: 38px;}

body.cspm_dashboard .row.posts .media {
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;}

body.cspm_dashboard .row.posts .media.image .image {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 50px;
    border: 1px solid #ccc;
    border-left: 0px;
    border-right: 0px;
    border-radius: 0px;
    text-align: center;
    margin:0px auto 0px auto;
    padding: 0px 0px 0px 0px;
    background-color: #ededed; /* #f8f8f8 */
    background-position: center;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-image: url(../images/loading/loading.gif);
    overflow: hidden;}

body.cspm_dashboard .row.posts .media.image .image .img {
    position: relative;
    width: 100%;
    height: auto;
    margin:0px auto 0px auto;
    padding: 0px 0px 0px 0px;
    z-index: 1;}

/* Buttons > Btn.light */
body.cspm_dashboard .cspm_content .btn_light i.fa {margin: 3px 0px 0px 0px;}

body.cspm_dashboard .cspm_content .row.posts .btn_light.btn_big,
body.cspm_dashboard .cspm_content .row.posts .btn_light.btn_icon {
    margin:5px 0px 5px 0px;}

body.cspm_dashboard .cspm_content .row.posts .btn_light.btn_big {
    border-radius: 2px;
    width: calc(100% - 25px);
    text-align: center;}

/* Buttons > Hover Image */
body.cspm_dashboard .row.posts .media.image .image .btn_img {
    position: absolute;
    top:0px;
    right:0px;
    left:auto;
    bottom:auto;
    width: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 35px;
    color:rgba(255, 255, 255, 0.7);
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    transition: 0.2s ease all;
    z-index: 2;}

body.cspm_dashboard .row.posts .media.image .image .btn_img,
body.cspm_dashboard .row.posts .media.image .image .btn_img i.fa {line-height: 45px;}

body.cspm_dashboard .row.posts .media.image .image .btn_img:hover {
    color:rgba(255, 255, 255, 1.0);
    transition: 0.2s ease all;}

/* BTN > Post Actions */
body.cspm_dashboard .cspm_content .row.posts .text.action .btn_light.btn_big { 
    width: calc(100% - 70px);}

body.cspm_dashboard .cspm_content .row.posts .text.action .btn_light.btn_icon {
    border-radius: 2px;
    text-align: center;
    width: auto;
    height: auto;}

body.cspm_dashboard .cspm_content .row.posts .text.safe_post_delete {
    display: none;
    border-top:1px solid #ddd;}

body.cspm_dashboard .cspm_content .row.posts .text.safe_post_delete .info {
    font-size: 12px;
    line-height: 35px;
    transition: 0.2s ease all;
    transform: scale(1.0);}

body.cspm_dashboard .cspm_content .row.posts .text.safe_post_delete .info:hover {
    transform: scale(1.1);
    transition: 0.2s ease all;}

/* ----------------------------------------------------------
Overlay */

/* Post */
body.cspm_dashboard .cspm_loading_overlay,
body.cspm_dashboard .cspm_page_loading_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.6);
    background-position: center;
    background-image: url(../images/loading/loading.gif);
    background-repeat: no-repeat;
    background-size: 80px 80px;
    display: none;}

/* Page */
body.cspm_dashboard .cspm_page_loading_overlay {
    position: fixed;
    z-index: 650;}

/* ----------------------------------------------------------
Buttons */

body.cspm_dashboard .btn_light.btn_verde,
body.cspm_dashboard .btn_light.cpm-success {
    color:#ffffff;
    border:1px solid #8bbd48;
    background-color: #8bbd48;}

body.cspm_dashboard .btn_light.btn_verde:focus,
body.cspm_dashboard .btn_light.btn_verde:hover,
body.cspm_dashboard .btn_light.cpm-success:focus,
body.cspm_dashboard .btn_light.cpm-success:hover {
    color: #ffffff;
    border:1px solid #70bd48;
    background-color: #70bd48;}

body.cspm_dashboard .btn_light.btn_rosso,
body.cspm_dashboard .btn_light.cpm-error {
    color:#ffffff;
    border:1px solid #d33c3c;
    background-color: #d33c3c;}

body.cspm_dashboard .btn_light.btn_rosso:focus,
body.cspm_dashboard .btn_light.btn_rosso:hover,
body.cspm_dashboard .btn_light.cpm-error:focus,
body.cspm_dashboard .btn_light.cpm-error:hover {
    color:#ffffff;
    border:1px solid #e33e3e;
    background-color: #e33e3e;}

/* -------------------------------------------
Errors */

body.cspm_dashboard .cpm-error[tooltip]::after,
body.cspm_dashboard .cpm-error[tooltip]::before {
    box-shadow: 2px 4px 4px rgba(255, 27, 27, 0.1);
    opacity: 1;}

body.cspm_dashboard .cpm-error[tooltip]::after {
    background: rgba(255, 27, 27, 0.9);}

body.cspm_dashboard .cpm-error[tooltip]::before {
    border-color: rgba(255, 27, 27, 0.9) transparent transparent transparent;}

body.cspm_dashboard .cpm-error.nocss[tooltip]::after,
body.cspm_dashboard .cpm-error.nocss[tooltip]::before {display: block !important;}

/* -------------------------------------------
Success */

body.cspm_dashboard .cpm-success[tooltip]::after,
body.cspm_dashboard .cpm-success[tooltip]::before {
    box-shadow: 2px 4px 4px rgba(107, 222, 133, 0.1);
    opacity: 1;}

body.cspm_dashboard .cpm-success[tooltip]::after {
    background: rgba(107, 222, 133, 0.9);}

body.cspm_dashboard .cpm-success[tooltip]::before {
    border-color: rgba(107, 222, 133, 0.9) transparent transparent transparent;}

body.cspm_dashboard .cpm-success.nocss[tooltip]::after,
body.cspm_dashboard .cpm-success.nocss[tooltip]::before {display: block !important;}

/* -------------------------------------------------------------------
Responsive Media Query */

@media (max-width: 2560px) {}

@media (max-width: 1920px) {
    
    /* Post */
    body.cspm_dashboard .row.posts .cspm_post {
        /* width: 33.33333%; */ }

}

@media (max-width: 1680px) {}

@media (max-width: 1380px) {}

@media (max-width: 1344px) {}

@media (max-width: 1280px) {}

@media (max-width: 1200px) {
    
    /* Post */
    body.cspm_dashboard .row.posts .cspm_post { 
        width: 50%;}
    
}

@media (max-width: 1164px) {}

@media (max-width: 1080px) {}

@media (max-width: 1024px) {}

@media (max-width: 999px) {}

@media (max-width: 970px) {}

@media (max-width: 992px) {}

@media (max-width: 910px) {
    
    /* Post */
    body.cspm_dashboard .row.posts .cspm_post { 
        width: 100%;}
    
}

@media (max-width: 890px) {}

@media (max-width: 810px) {}

@media (max-width: 800px) {}

@media (max-width: 768px) {
    
    /* Contenitore Post + Post */
    body.cspm_dashboard .cspm_content,
    body.cspm_dashboard .row.posts .cspm_post {
        padding: 15px 0px 15px 0px;}
    
    /* Post */
    body.cspm_dashboard .row.posts .post_content {
        border-radius: 0px;
        border-left:0px;
        border-right: 0px;}
    
}

@media (max-width: 765px) {}
    
@media (max-width: 680px) {}
    
@media (max-width: 568px) {}

@media (max-width: 480px) {}

@media (max-width:450px) {}

@media (max-width: 359px) {}

@media (max-width: 320px) {}

/* -------------------------------------------------------------------
/* Responsive - Media Queries Max Height */

@media (max-height:965px) {}

@media (max-height:720px) {}

@media (max-height:600px) {}

@media (max-height:480px) {}
