.asalah_format_field {
  display: none;
}

.asalah_gallrey_shortcode_field {
  display: none;
}

#titlewrap {
    display: block;
}

#post-body-content #postimagediv .inside p {
  text-align: center;
}

.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


.asalah_format_field {
  margin-bottom: 25px;
}
.asalah_format_field label {
  color: #666;
    display: block;
    margin-bottom: 5px;
    padding-left: 3px;
    text-transform: capitalize;
    font-weight: 700;
}
.asalah_format_field input[type="text"],
.asalah_format_field textarea,
.asalah_format_field select,
.asalah_format_field .cf-elm-container {
  border: 1px #dfdfdf solid;
}
.asalah_format_field input[type="text"],
.asalah_format_field textarea {
  font-size: 18px;
  width: 100%;
}
.asalah_format_field textarea {
  height: 161px;
  padding-left: 8px;
}
.asalah_format_field input[type="text"] {
  padding-left: 8px;
}
.asalah_format_field .description {
  color: #999;
  display: block;
  font-size: 11px;
  line-height: 1.6;
  padding-left: 10px;
}
.asalah_format_field .cf-elm-source {
  height: 96px;
}
.asalah_format_field .cf-elm-container {
  background: #f0f0f0;
  padding: 10px;
}
.asalah_format_field .cf-elm-container p.none {
  text-align: center;
}
.asalah_format_field .cfpf-gallery-options {
  padding-top: 0;
}
.asalah_format_field .cfpf-gallery-options label {
  display: inline;
  padding-left: 2px;
  text-transform: capitalize;
}
#cfpf-format-gallery-shortcode {
  margin-left: 8px;
  min-width: 350px;
  width: 70%;
}
.asalah_format_field .cf-elm-image-gallery {
  margin: 0 0 -5px 0;
  padding: 0;
}
.asalah_format_field .cf-elm-container .gallery {
  margin: 0;
  padding-bottom: 8px;
}
.asalah_format_field .cf-elm-container .gallery li {
  cursor: move;
  display: block;
  float: left;
  margin: 0 8px 8px 0;
  padding: 0;
}
.asalah_format_field .cf-elm-container .gallery li img {
  vertical-align: middle;
}
#asalah_box_for_post-format-gallery .cf-elm-container {
  background: #fff;
}

/* Serpentsoft */
#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery{

}
#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span {
    position: relative;
    display: block;
    width: 84px;
    height: 84px;
    margin: 5px 5px 5px 0;
    float: left;
    border: 3px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #fff;
    -webkit-box-shadow: 0 1px 2px #999;
    -moz-box-shadow: 0 1px 2px #999;
    box-shadow: 0 1px 2px #999;
}
#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span i {
  position: absolute;
  top: -3px;
  right: -3px;
  display: none;
  width: 16px;
  height: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
  color: #f03;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

/* Use WordPress included icons - dashicons */
#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span i:before{
  font: 400 15px/1 dashicons;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f335";
}

#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span:hover i { display: block; }
#asalah_box_for_post-format-gallery .cf-elm-container .srp-gallery > span i:hover {
  background: #f03;
  color: #fff;
}

/* Video Field */
#cfpf-format-video-embed {
  height: 161px;
}

/* Featured Image */
#post-body-content #select-featured-image {
  text-align: center;
}
#post-body-content #select-featured-image img {
  display: block;
  margin: 0 auto 4px;
}
#post-body-content #select-featured-image a {
  float: none;
}
#post-body-content #select-featured-image a.button-secondary {
  margin-right: 10px;
}


/** tab navigation
 -------------------------------------------------- */
.cf-nav {
  border-bottom: 1px solid #e0e0e0;
  margin: 12px 0 11px 0;
  width: 100%;
}
.cf-nav ul {
  list-style-type: none;
  margin: 0 8px;
  padding: 0;
}
.cf-nav ul li,
.cf-nav ul li a {
  float: left;
  margin: 0;
}
.cf-nav ul li a {
  display: block;
  outline: none;
  color: #555;
  background-color: rgba(255, 255, 255, 0);
    border: 1px solid #e0e0e0;
  border-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-right: 8px;
  padding: 8px 10px;
  text-decoration: none;
}
.cf-nav ul li a:hover {
  background-color: #fff;
  color: #464646;
}
.cf-nav ul li a.current {
  background: none;
  border-bottom: 1px solid #f1f1f1;
  color: #000;
  margin-bottom: -1px;
}
.cf-nav ul li a:focus {
  outline: none;
  outline: 2px solid #FFF;
}
.cf-nav ul li a:before {
  color: #888;
  vertical-align: top;
}
.cf-nav ul li a:hover:before,
.cf-nav ul li a.current:before {
  color: #FF4F4F;
}

@media (max-width: 1020px) {
  .cf-nav ul li a span {
    display: none;
    /*color: red;*/
  }
  .cf-nav ul li a:before {
    margin-right: 0;
  }
  .cf-nav ul li a.current:before {
    margin-right: 7px;
  }
  .cf-nav ul li a.current span {
    display: inline;
  }
}

@media (max-width: 850px) {
  .cf-nav ul li a,
  .cf-nav ul li a.current {
    border-bottom: 1px solid #ccc;
    margin-bottom: 7px;
  }
}