/*
 * OWNER: skins/app.css
 * Public-site look only (colors / polish that differ from admin).
 * Shared structure → root CSS (layout, forum, forms, …). Keep thin.
 */

body {
  background: #fff;
  color: #414244;
}

/* SIDEBAR */

#sidebar .ui_section.no_title {
  border-top: 1px solid rgba(0,0,0,.1);
  margin-bottom: 10px;
  padding-top: 10px;
}

#sidebar .ui_section .ui_section_box .content { padding: 15px; }

#sidebar .ui_section.no_title .ui_section_box .content,
#sidebar .ui_section.phn .ui_section_box .content { padding: 15px 0; }

#sidebar .ui_section.nopad .ui_section_box .content,
#sidebar .ui_section.promo-section .ui_section_box .content,
#sidebar .ui_section .ui_section_box .content.nopad { padding: 0; }

#leftbar .ui_section .ui_section_box .title,
#sidebar .ui_section .ui_section_box .title {
  background: rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.05);
  border-width: 1px 0;
  color: rgba(0,0,0,.7);
  font-size: 13px;
  line-height: 26px;
  padding: 3px 15px;
  position: relative;
  text-transform: uppercase;
}

#leftbar .ui_section:not(.sidenav) .ui_section_box .content {
  padding: 10px;
}

.list_break {
  background: rgba(0,0,0,.03);
  border-color: rgba(0,0,0,.05);
  color: rgba(0,0,0,.5);
}

.list_wrap .list_break {
  margin-bottom: -1px;
}

.list_wrap.feed_section .list_break,
.list_break.with_break {
  margin-bottom: 15px;
}

.list_break.list_summary {
  background: rgba(255,255,255,.5);
  border-width: 1px 0;
  color: #999;
}

.list_break.list_summary,
.grid .list_break {
  margin-bottom: 10px;
}

.list_break.time_break {
  background: rgba(0,0,0,.03);
  border: 1px solid #ddd;
  border-width: 1px 0 0;
	color: #8c232d;
  font-size: 20px;
	font-weight: normal;
  line-height: 1.222;
  margin-bottom: -1px;
  padding: 10px 0;
  text-align: center;
	text-transform: none;
}

#sidebar .ui_section .ui_section_box .title_link a { color: #6d84b4; }

#sidebar .ui_section:not(.popup_section) .title .title_link,
#sidebar .ui_section .title .title_link a,
#popup .ui_section .title .title_link a,
#popup .ui_section .title .title_actions a,
#sidebar .ui_section .title .title_link a {
  color: #999;
  font-size: 10px;
  text-transform: uppercase;
}

/* LAYOUT */

.full-header .ui_page_header_long { padding: 20px 0; }
.basic-header .ui_page_header_long { padding: 20px 0 0 0; }
.basic-header.has_nav .ui_page_header_long { padding: 20px 0 10px; }
.ui_page_nav_long { border-top: 1px solid #eaeaea; }

.basic-header .ui_page_header.small_header .ui_group img.pic {
  width: 52px;
}

#body .basic-header h2 {
  margin-top: 5px;
}

.basic-header .ui_page_nav_long {
  background: none;
  border: 0;
  margin-top: 10px;
}

.basic-header .ui_page_nav_long #secondary-nav {
  border: 1px solid #ddd;
  border-width: 0 0 1px 0;
}

.basic-header .ui_page_nav_long #secondary-nav li a {
	border-bottom: 2px solid transparent;
	color: #999;
	padding: 10px 15px;
}

.basic-header .ui_page_nav_long #secondary-nav li a:hover {
	border-color: #ddd;
	color: #777;
}

.basic-header .ui_page_nav_long #secondary-nav li a.active {
	border-bottom-color: #333;
	color: #333;
}

.ui_page_header_cover .ui_page_header h1.sm  {
    font-size: 18px;
    line-height: 22px;
}

.ui_page_header h2 {
  font-size: 16px;
  font-weight: normal;
  line-height: 20px;
  margin-top: 5px;
}

body.index .ui_page_header h1 {
  font-weight: normal;
}

/* DASHBOARD */
  
  body.dashboard #mainview .ui_section .ui_section_box,
  body.dashboard #mainview .ui_section.notification_section {
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    padding: 0;
  }
  
  body.dashboard #mainview .ui_section .title {
    background: #fafafa;
    border-top: 0;
    border-bottom: 1px solid rgba(0,0,0,.1);
    margin: 0;
    padding: 10px 15px;
  }
  
  body.dashboard #mainview .ui_section .content {
    padding: 15px;
  }

/* FOOTER */

footer {
  color: #A7A7A7;
  font-size: 11px;
  line-height: 15px;
  padding-bottom: 20px;
}

body.form.body_2_10 footer {
  border-top: 0;
  padding-top: 15px;
}

body.form.body_12 footer {
  border: 0;
  padding: 10px 0;
}

body.form.trans-form footer.custom_footer {
  background: #eaeaea;
  border-top: 1px solid rgba(0,0,0,.05);
}

/* FORMS */

div.form_body.form-inline.form-long input.text,
div.form_body.form-inline.form-long textarea,
div.form_body.form-inline.form-long ul.token-input-list {
    font-size: 18px;
    line-height: 22px;
    width: 870px;
}

div.form_body.form-inline.form-long ul.token-input-list input.text { width: auto; }
div.form_body.form-inline.form-long li.token-input-token img {
    margin-right: 8px;
    width: 30px;
}
div.form_body.form-inline.form-long li.token-input-token p {
    font-size: 18px;
    line-height: 29px;
}
div.form_body.form-inline.form-long li.token-input-token span.token-input-delete-token {
    margin: 7px 7px 0 0;
}

div.form_body.form-inline.form-long input.text.datepicker { width: 100px !important; }

div.form_body.form-inline form span.col1,
div.form_body.form-inline form span.col2,
div.form_body.form-inline form span.col3 {
    display: block;
    float: none;
    width: auto;
}

div.form_body.form-inline.form-long input.button {
    font-size: 16px;
    padding: 10px 20px;
}

div.form_body.form-inline.form-long label,
div.form_body.form-inline.form-long select {
    font-size: 16px;
    line-height: 32px;
}

div.form_body.form-inline.form-long div.form_header {
    background: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    height: auto;
    margin: 20px -20px;
    padding: 20px 20px;
}

div.form_body.form-inline.form-long div.form_header span {
    color: #999;
    font-size: 20px;
    font-weight: normal;
    text-transform: uppercase;
    width: 100%;
}

/* POPUP */

#popup.form {
  background: rgba(255,255,255,.8);
}

#popup .nodetype_chooser div#popup_outer {
  max-width: 300px;
}

#popup div.content .ui_stream_title { background: #f8f8f8; }
#popup .no_edit div.content { background: white; }

/* FORM */

body.admin .ui_body_block {
  padding-bottom: 20px;
}

body.form #secondary-nav {
  border-bottom: 0px;
  margin-bottom: 0px;
}

body.form.with_nav div.form_body { border-top: 1px solid #ccc; }

body.admin #viewsbox {
  background: #fafafa;
  border-top: 1px solid #eee;
  padding: 5px 0;
}

  body.admin .ui_page_header_long {
      background: #f0f0f0;
      border-top: 1px solid #e3e3e3;
      border-bottom: 1px solid #e3e3e3;
      margin-bottom: 15px;
      padding: 20px 0;
  }
  
  .ui_page_header.sm h1 {
    font-size: 24px;
    line-height: 28px;
  }
  
  .ui_page_header.text_title { margin-bottom: 25px; }
  .ui_page_header.note_title { margin-bottom: 10px; }
  
  body.cover_stripe .ui_page_header_inline { margin-top: -120px; }
  
  .ui_page_header.text_title.small_title h1 {
    font-size: 26px;
    line-height: 28px;
  }
  
  .ui_page_header.text_title h2 {
    font-family: 'Helvetica', sans-serif;
    font-size: 15px;
    font-weight: 300;
  }
  
/* CUSTOM UI elements */

.author_pic {
  margin-left: 20px;
  border-radius: 100%;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
}

/* NODE PROPERTIES */

#mainview .ui_section .node_properties li { border-color: #eaeaea; }

/* BADGE ADS */

body #sidebar .ui_section.badge_ad .ui_section_box .title,
body #sidebar .ui_section.badge_ad .ui_section_box .content {
  line-height: 10px;
  padding: 5px;
}

body #sidebar .ui_section.badge_ad .ui_section_box .title .title_text {
  font-family: 'Helvetica', sans-serif;
  font-size: 9px;
  font-weight: normal;
  line-height: 12px;
  text-transform: uppercase;
}

body #sidebar .ui_section.badge_ad .ui_section_box .title_actions a {
  font-size: 10px;
  line-height: 1;
  height: 14px;
  width: 14px;
}
body #sidebar .ui_section.badge_ad .ui_section_box .content { padding: 0; position: relative; }

.ui_section.badge_ad img.badge_ad_img {
  cursor: pointer;
  width: 100%;
}

@media screen and (max-width: 762px) {
	
    .ui_page_header_wrap.full-header,
    .ui_page_header_wrap.basic-header {
        text-align: center;
    }
    
}

@media screen and (min-width: 1200px) {
    
    #body .full-header:not(.container_title) .ui_page_header h1,
    #body .basic-header .ui_page_header h1, #mainview .ui_node_title,
    #mainview .ui_node_title {
        font-size: 26px;
    }
    
}
