/*
 Theme Name:   Dance Studio Child
 Description:  Dance Studio Child Theme
 Template:     dance-studio
 Version:      1.0.0
*/

/*==========================================*/
/* Header                                   */
/*==========================================*/

.headline_outer{
    background: transparent !important;
}

.header_top_inner .meta_wrap > *{
    margin: 0;
}


/*------------------------------------------*/


/*==========================================*/
/* Instagram Slider                         */
/*==========================================*/
.iscwp-gallery-slider .iscwp-cnt-wrp.slick-slide{
    padding: 0;
}

.cmsmasters_row.cmsmasters_row_top_left_diagonal:before, .cmsmasters_row.cmsmasters_row_bot_left_diagonal:after{
    /*height: 174px !important;*/
}

/*------------------------------------------*/

/*==========================================*/
/* Header Register and Login Btns           */
/*==========================================*/
.header_top_inner .meta_wrap .header-btns > a {
    color: #fff;
    border: 1px solid #A77BC4;
    font-weight: 600;
}

.header_top_inner .meta_wrap .header-btns > a:hover{
    background-color: #fff;
    color: #A77BC4;
}

.header_top_inner .meta_wrap .header-btns {
    margin-right: 0;
}

/*------------------------------------------*/


/*==========================================*/
/* Footer Top Regiser Now                   */
/*==========================================*/
.footer-cta {
    background-color: #ac70d1;
    position: relative;
    padding: 30px 40px;
}

.footer-cta:after {
    content: '';
    background-size: 10px 5px;
    height: 5px;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    bottom: auto;
    z-index: 1;
    transform: rotate(180deg);
    background-image: -webkit-linear-gradient(135deg, #A77BC4 25%, transparent 25%),    -webkit-linear-gradient(45deg, #A77BC4 25%, transparent 25%);
    background-image: -moz-linear-gradient(135deg, #A77BC4 25%, transparent 25%),    -moz-linear-gradient(45deg, #A77BC4 25%, transparent 25%);
    background-image: -ms-linear-gradient(135deg, #A77BC4 25%, transparent 25%),    -ms-linear-gradient(45deg, #A77BC4 25%, transparent 25%);
    background-image: -o-linear-gradient(135deg, #A77BC4 25%, transparent 25%),    -o-linear-gradient(45deg, #A77BC4 25%, transparent 25%);
    background-image: linear-gradient(315deg, #A77BC4 25%, transparent 25%),    linear-gradient(45deg, #A77BC4 25%, transparent 25%);
}

.footer-cta-inner h2 {
    color: #fff;
    font-size: 22px;
    line-height: 40px;
    font-weight: 600;
    font-style: normal;
    margin-bottom: 0;
}

.footer-cta-inner {
    text-align: center;
}

.footer-cta-inner h3 a {
    font-family: 'Lato';
    font-size: 22px;
    line-height: 32px;
    font-weight: normal;
    font-style: italic;
    color: #fff;
}

.footer-cta-inner h3 a:hover {
    color: #fff;
}

.footer-cta-inner > a {
    background-color: #fff;
    font-size: 20px;
    line-height: 40px;
    font-weight: bold;
    font-style: normal;
    padding-right: 30px;
    padding-left: 30px;
    border-style: solid;
    text-transform: uppercase;
    border: 1px solid #fff;
}

.footer-cta-inner > a:hover {
    color: #fff;
    background-color: #1c222f;
}

div#middle + #custom_html-2 {
    padding-bottom: 0;
}

/*------------------------------------------*/


/*==========================================*/
/* Footer                                   */
/*==========================================*/
.footer_inner .logo img {
    width: 150px;
}

/*------------------------------------------*/


/*==========================================*/
/* Testimonials                             */
/*==========================================*/
.testimonial-name, .testimonial-company {
    text-align: center;
}

/*------------------------------------------*/

/*FB Events*/
.fb_iframe_widget{
    display: block !important;
    text-align: center;
}

form#form_4961 {
    max-width: 500px;
    margin: 0 auto;
}

.cmsmasters_profile.horizontal .pl_img img {
    height: 250px;
    object-fit: cover;
    object-position: center center;
    width: 250px!important;
}

@media all and (max-width: 1200px){
    .cmsmasters_profile.horizontal .pl_img img {
        height: 200px;
        object-fit: cover;
        object-position: center center;
        width: 200px!important;
    }
}

@media all and (max-width: 768px){
    .cmsmasters_profile.horizontal .pl_img img {
        height: 160px;
        object-fit: cover;
        object-position: center center;
        width: 160px!important;
    }
}

@media all and (min-width: 768px){
    .cmsmasters_profile.horizontal {
      margin: 0 -2%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
}


.profiles.opened-article .profile .profile_content.with_sidebar {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    float: none;
}

.profile_sidebar {
    display: none;
}

#navigation > li > a {
    font-size: 17px;
}

.portfolio.opened-article .project .project_sidebar {
    display: none;
}

.portfolio.opened-article .project .project_content.with_sidebar {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    float: none;
}

.project_content.with_sidebar .cmsmasters_owl_slider  img {
    /*width: 100%;*/
}

body.page-template-default.page.page-id-261 h1.entry-title {
    color: #a77bc4;
}