

@import "bootstrap";

@import "fontawesome/font-awesome";
@import "manager";
@import "redactor";
@import "pane_hover";
@import "vendor/select2";

#admin_nav{
border-radius:0px;

}


span.preview{
img{
max-width:125px;
max-height:125px;
cursor:pointer;
}

}
img{

max-width:100%;
}

html {
  height: 100%;
  width: 100%;
  
}

body {
  height: 100%;
  width: 100%;
  

}


#tags .tag_label{
  i{ display:none;}
  
  &.active{
  
    background:rgba(0,136,204,1);
    color:white;
    i{ display:inline;}
  
  }
}

.set_tag{
display:none;
}

.tag_label{
  border-radius:11px;background:rgba(206,220,244,1);border:1px solid rgba(170,196,238,1);padding:2px 9px;display:inline-block;cursor:default;color:black;
  margin-bottom:5px;
}

.map_content_map img { 
  max-width: none;
}

#mapCanvas label { 
  width: auto; display:inline; 
} 

body.admin{

#artworks{
.artwork{
  float:left;width:250px;height:270px;margin:0px 10px 10px 0px;
  }

}




padding:0px;

.right{
float:right;

}

.icon{
border:1px solid #0088cc;
display:inline-block;
padding:6px;
border-radius:50%;

text-align:center;
background:white;

&:hover{
background:#0088cc;
color:white;
text-decoration:none;
}


}
  
    #upload_details{
    display:none;
    .content{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    bottom:0px;
        overflow:auto;
    
    }
    
    height:400px;
    width:800px;
    position:absolute;
    top:-400px;
    right:1em;

    background:white;
    box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);
    //background-color: @dropdownBackground;
    border: 1px solid #ccc; // Fallback for IE7-8
    //border: 1px solid @dropdownBorder;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    //.border-radius(6px);
    //.box-shadow(0 5px 10px rgba(0,0,0,.2));
    
    
    
    }
    #upload_details::before {

    content: '';
    display: inline-block;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;

    position: absolute;

    right: 215px;
    border-top: 7px solid rgba(0, 0, 0, 0.2);

    border-bottom: 0;
    bottom: -7px;

      
      
      
      
    }

    #upload_details::after {
    
    
  
      content: '';
      display: inline-block;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      
      position: absolute;

      right: 216px;
      border-top: 6px solid #ffffff;
      border-bottom: 0;
      bottom: -6px;

    }


  
  
  #toolbar-text{
  position:fixed;
  z-index:2;

  top:52px;
  left:0px;
  right:330px;
  
  
  }
  
  #flashs{
    position:fixed;
    bottom:0px;

    left:1em;
    min-width:600px;
    width:50%;
    z-index:3;

  }
  

  form .clearfix:before, form .clearfix:after {
    display: inline;
  }

  .error{
    color:red;
  
    input{
      border-color:red;
    }
  
    *{
      color:red;
    }
  }

  body.dragging, body.dragging * {
    cursor: move !important;

  }

  .dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
  }

  ol.sortable li.placeholder {
    position: relative;
  }

  ol.sortable li.placeholder:before {
    position: absolute;

  }

  
    

  
  .placeholder{
    background:rgba(143,202,70,0.8);
    height:10px;
  }

  .prevv_folder{

    border-top:1px solid #999999;
    border-bottom:1px solid #999999;
    padding:8px 0px;

    .placeholder{
    height:0px;
    }
  
    &.active{
    background:rgba(143,202,70,0.8);

    }

  }



  #sortable_menu_item{
    .menu_item_row{
      padding:8px 0px;
      background:rgba(240,240,240,1);
      margin:3px 0px;

      .actions{
      text-align:right;

      }
  
    }
  
  
  
    .receptable{
      position:relative;
  
      .placeholder{
      position:absolute;
      top:0px;
      left:0px;
      right:0px;
      bottom:0px;
      height:auto;
      }

    }

  }
  
  #menu_item_informations{
  
  
  form{
  
  .preview{
  
  img{
  height:50px;
  
  }
  }
  }
  
  position:fixed;
  z-index:3;
  overflow:auto;
  box-shadow:rgba(0,0,0,1) 0px 0px 5px;
  margin-bottom:0px;
  top:52px;
  right:0px;
  width:330px;
  bottom:0px;
  background:white;
  .placeholder{
  display:inline-block;
  width:91px;
  height:91px;
  margin:0px;
}
  

  }
  

  
  .block_portlets{
    min-height:50px;
    padding:10px;
    border:1px dotted rgba(227,227,227,1);
  
    
  }

  .block_portlets_sortable{
  border:0px;
  
  }

  
  
  #menu_item_inspector_container{
  .panel{
  border-radius:0px;
  border-left:0px;
  border-right:0px;
  
  }
  .accordion{
    
    height:auto;
    
  }
    
    .accordion-group{
    border:0px;
    border-radius:0px;
    }
    
    
    .accordion-body{
    background:white;
  
    }
    .accordion-heading{
    border-radius:0px;
    border:0px;
    background:-webkit-linear-gradient(top, #222222, #111111);
    padding:0px;
    min-height:0px;
      a{
      padding:10px 20px;
      color:white;
      
      &:hover{
      text-decoration:none;
      }
      }
  
    }
    .inspector_handle{
    height:10px;
    width:100%;
    background:black;
    cursor:pointer;
    
    }
    
    .content_type{
    display:inline-block;
    img{height:50px;cursor:pointer;}
    
    }
  }
  
  .btn-toolbar{
  display:none;
  top:-35px;
  
  }
  
  
  #column_sliders{
  
  position:relative;
  
  .slider{
  position:absolute;
  top:0px;
  left:0px;
  width:100%;
  }
  
  .slider-selection{
  display:none !important;
  }
  
  .slider:not(:first-child){
    
    
    .slider-track{
    background:transparent;
    box-shadow:transparent 0px 0px 0px;
    }
  }
  
  
  .slider-handle{
  z-index:100;
  }
  
  }
  
  .html_content_form{

  
  


    #ace_editor_pre{
      position:relative;
      width:100%;
      height:400px;
      background:white;
      border:1px solid #353535;
  
    }
  


    

      &.large{
        position:fixed;
        top:0px;
        left:0px;
        bottom:0px;
        right:0px;
        background:white;
        z-index:2000 !important;
    
    
        #ace_editor_pre{
          position:absolute;
          top:10px;
          left:10px;
          bottom:50px;
          right:10px;
          width:inherit;
          height:inherit;
      
  
        }
      
        .action{
      
          position:absolute;
    
          bottom:15px;
          right:5px;
        
      
        }
    
    
    
  
      }

  
  }
  
  

  .image_square{
  display:inline-block;
    padding:5px;
    margin:5px;
    position:relative;
    border : 1px solid rgb(230,230,230);

    background:white;
    
    .actions{
    display:none;
    position:absolute;
    top:0px;
    right:0px;
    }
  }

  .image_square .img{
    text-align:center;
    width:150px;
    height:150px;
    margin:0px;
    background-position:center center;
    background-repeat:no-repeat;

    background-size: contain;
  
  
  
  }

  .image_square:hover .actions{
    display:block;
    border:none;
    padding:0px;
    margin:0px;


  
  }

  .image_square:hover .actions:hover{

    opacity:1;
  
  }
  
  
  
}

.event_date_form{
  background:rgba(143,193,46,0.9);
  margin:0px -10px 20px -10px;
  padding:10px;
  
  color:black;
  
  p{
    line-height:35px;
  }
  
  label{
  display:inline;
  }
  
}


.field_with_suppr{
  display:inline-block;
  position:relative;
  
  .suppr{

    display:block;
    position:absolute;
    top:7px;
    right:5px;
    img{
      cursor:pointer;
    }

  }
  
}

.periodes_form .field, .jockers_form .field{
border:1px solid #5b94c7;
margin:0.5em;
}


.table-striped{

  tr:nth-child(odd) {
  td, th{
  background:#f9f9f9 !important;
  }}

}

@media print {
  .visible-print  { display: inherit !important; }
  .hidden-print   { display: none !important; }
  
  
  
  
}

.portlet_placeholder{
background:rgba(80,80,80,0.5);

height:5px;

i{
display:none;
top:-20px;
left:-5px;
font-size:15px;

padding:5px;


}
&:hover{
background:rgba(80,80,80,1);

i{
display:block;
position:absolute;top:-9px;
}
}

}
.portlet{
cursor:pointer;
box-sizing: border-box;
&.active{
border:3px solid rgba(129,155,237,1);
.redactor-editor{
background:rgba(225,237,251,1);

}
}
&.portlet_text_content{
border:0;
}

&.move{
opacity:0.5;
}

}
h1{
margin-top:0;

}

.table-striped tr:nth-child(odd) td, .table-striped tr:nth-child(odd) th{

background:rgba(235,244,250,1) !important;

}

.block_portlets{
.portlet{
min-height:50px;
}

}

#menu_item_informations{
  #collapse3{

  position:relative;
  padding-bottom:50px;
  }


  #element_form_action{

  position:fixed;
  width:330px;
  right:0;
  bottom:0;
  border-top:solid rgba(221,221,221,1) 1px;

  .portlet_handle, .trash, .save{
  border-radius:0;
  border:0;
  margin:0;
  display:block;
  float:left;
  padding:10px 12px;

  }
  
  .portlet_handle{
  width:35%;
  
  .cancel_message{
  display:none;
  }
  }
  .trash{
  width:20%;
  }
  .save{
  width:45%;
  }
  

  }
  
}




.row{

margin:auto;
max-width:1100px;
display:block;


&:after{
content: "";
  display: table;
  clear: both;

}

.columns{

display:block;

box-sizing: border-box;
float:left;
display:inline-block;

&.span_12{
width:100%;

}

&.span_11{
width:100/12*11;

}
&.span_10{
width:percentage(1/12*10);

}
&.span_9{
width:percentage(1/12*9);

}
&.span_8{
width:percentage(1/12*8);

}
&.span_7{
width:percentage(1/12*7);

}

&.span_6{
width:percentage(1/12*6);

}
&.span_5{
width:percentage(1/12*5);

}
&.span_4{
width:percentage(1/12*4);

}
&.span_3{
width:percentage(1/12*3);

}
&.span_2{
width:percentage(1/12*2);

}

&.span_1{
width:percentage(1/12*1);

}


}
}
#menu_item_informations{
h4{
color: #333333;
background-color: whitesmoke;
border:1px solid #dddddd;
padding:10px 15px;
font-size:16px;
cursor:pointer;
border-left:0px;
border-right:0px;
}

.panel{
padding:0 10px;
}
}
#collapse3{
height:auto !important;

}
