/*  FONTS */

@import url("fonts/styles.css");

.mce-content-body {
    font-family: 'Quicksand-Regular';
    font-weight: 400;
    line-height: 1.7;
}

.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4,
.mce-content-body h5,
.mce-content-body h6,
.mce-content-body a {

}

.mce-content-body h1,
.hp-text-section h1 {
    font-family: 'JustAnotherHand-Regular';
    font-size: 62px !important;
    line-height: 1.2 !important;
    color: #965aa5 !important;
    text-align: center;
    margin-bottom: 10px !important;
    margin-top: 70px !important;
    text-transform: none;
    font-weight: normal;
    padding-bottom: 0px;
}

.mce-content-body h1 + h3,
.hp-text-section h1 + h3 {
    margin-top: 0px !important;
}

p {
    margin: 0 0 31px;
}

.hr_smaller_margin {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

h1:not(#main-page-title) {
    text-transform: uppercase;
    font-size: 62px;
    /* font-weight: bold; */
    padding-bottom: 10px;
}

h2:not(.style_free),
#main-page-title {
    font-family: 'JustAnotherHand-Regular';
    font-size: 62px;
    line-height: 1.1;
    color: #965aa5 !important;
    text-align: center;
    margin-bottom: 50px;
    background: url(images/new/logo-separator.svg) no-repeat;
    background-size: 36px;
    background-position: center 10px;
    position: relative;
    margin-top: 0;
    padding-top: 70px;
}
.ts_36 {
    font-size: 36px !important;
}
h2:not(.style_free):before,
h2:not(.style_free):after,
#main-page-title:before,
#main-page-title:after {
    content: '';
    position: absolute;
    width: 130px;
    height: 1px;
    background: #ccc;
    top: 27px;
}

h2:not(.style_free):before,
#main-page-title:before {
    left: calc(50% - 165px);
}

h2:not(.style_free):after,
#main-page-title:after {
    right: calc(50% - 160px);
}

h3 {
    font-family: 'JustAnotherHand-Regular';
    font-size: 62px !important;
    line-height: 1.2 !important;
    color: #965aa5 !important;
    text-align: center;
    margin-bottom: 50px !important;
    margin-top: 70px !important;
}

h4 {
    font-family: 'JustAnotherHand-Regular';
    font-size: 38px !important;
    color: #000 !important;
    text-align: center;
    margin-bottom: 20px !important;
    margin-top: 70px !important;
}
h3.style_free,
h2.style_free{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}
h3.no_margin{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
@media (max-width: 670px) {
    h2, h3 {
        font-size: 30px !important;
        line-height: 34px !important;
    }
}

.button-blue {
    background: #965aa5;
    color: white;
    text-transform: uppercase;
    font-family: 'JustAnotherHand-Regular';
    font-size: 20px;
    line-height: 1.2;
    padding: 8px 40px 5px;
    display: inline-block;
    border-radius: 25px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.button-blue:hover {
    text-decoration: none;
    background: #d34d8e;
    box-shadow: inset 0 0 15px #965aa5;
    color: white;
}


#page-content .page-title,
.mce-content-body .page-title {
    margin-top: 70px;
}

#page-content .page-title:first-child,
.mce-content-body .page-title:first-child {
    margin-top: 0;
}

.mce-content-body img {
    width: 100%;
    height: auto;
    border: 15px solid #EFEFEF;
}

.mce-content-body .button-blue {
    display: inline-block;
    text-align: center;
    padding: 8px 30px;
    /*margin: 20px auto;*/
}



.mce-content-body {
    text-align: justify;
}


body a {
    color: #965aa5;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

body a:hover {
    color: #1c7ec1;
}

.mce-content-body ul,
#page-content ul {
    list-style: none;
    padding-left: 0px;
    margin-bottom: 31px;
}

.mce-content-body ul li,
#page-content ul li {
    position: relative;
    padding-left: 20px;
}

.mce-content-body ul li:before,
#page-content ul li:before {
    content: '\2022';
    color: #965aa5;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 22px;
    line-height: 9px;
}

ol{
  list-style: decimal;
  padding-left: 20px;
}

#tinymce .editor_ui_right{
  border-right: 1px dashed gray;
}
#tinymce .editor_ui_left{
  border-left: 1px dashed gray;
}
#tinymce .editor_ui_top {
    border-top: 1px dashed gray;
}
#tinymce .editor_clearfix{
  border-bottom: 1px dashed gray;
}

#tinymce .title {
    font-family: 'JustAnotherHand-Regular';
    font-size: 36px;
    color: #965aa5;
    text-align: center;
}

#tinymce .subtitle {
    font-family: 'JustAnotherHand-Regular';
    font-size: 26px;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}


/* FIX FOR ALIGNED IMAGES IN CONTENT */

.wp-caption {
    max-width: 100%;
    height: auto;
}

.wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.alignleft {
    float: left;
    margin:0 1em 1em 0 !important
}

.wp-caption.alignright {
    float: right;
    margin:0 0 1em 1em !important
}

.wp-caption-dd {
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 31px;
}

.wp-caption.alignright .wp-caption-text,
.wp-caption.alignleft .wp-caption-text,
.wp-caption.alignright .wp-caption-dd,
.wp-caption.alignleft .wp-caption-dd {
    margin-bottom: 0 !important;
}

img.alignright {width: auto !important; max-width: 100%; float:right; margin:0 0 1em 1em}
img.alignleft {width: auto !important; max-width: 100%; float:left; margin:0 1em 1em 0}
img.aligncenter {width: auto !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}
a img.alignright {width: auto !important; max-width: 100%; float:right; margin:0 0 1em 1em}
a img.alignleft {width: auto !important; max-width: 100%; float:left; margin:0 1em 1em 0}
a img.aligncenter {width: auto !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}

.remove_margin_top{
  margin-top: 0 !important;
}
.remove_margin_bottom{
  margin-bottom: 0 !important;
}

.img_no_border {
    border: none !important;
}

hr {
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    border: 0 !important;
    border-top: 1px solid #eeeeee !important;
}

.embed-container {
    position: relative;
/*    margin-bottom: 15px;*/
    margin-bottom: 31px;
}

.embed-container > iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
#page-content iframe,
#tinymce iframe{
  width: 100%;
}

.embed-container .oembed-video-scaler {
/*    width: 100% !important;
    height: 100%;*/
    border: none !important;
}



@media (max-width: 992px) {
    .wp-caption.aligncenter {
        margin-left: auto;
        margin-right: auto;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .wp-caption.alignleft {
        max-width: 100% !important;
        float: none;
        margin:0 !important;
    }

    .wp-caption.alignright {
        max-width: 100% !important;
        float: none;
        margin:0 !important;
    }
}

@media (max-width: 768px) {

    .wp-caption.alignleft {
        max-width: 100% !important;
        float: none;
        margin:0 !important;
    }

    .wp-caption.alignright {
        max-width: 100% !important;
        float: none;
        margin:0 !important;
    }
    

    img.alignright {width: 100% !important; max-width: 100%; float:right; margin:0 0 1em 1em}
    img.alignleft {width: 100% !important; max-width: 100%; float:left; margin:0 1em 1em 0}
    img.aligncenter {width: 100% !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}
    a img.alignright {width: 100% !important; max-width: 100%; float:right; margin:0 0 1em 1em}
    a img.alignleft {width: 100% !important; max-width: 100%; float:left; margin:0 1em 1em 0}
    a img.aligncenter {width: 100% !important; max-width: 100%; display: block; margin-left: auto; margin-right: auto}

    .mce-content-body h1, .hp-text-section h1 {
        font-size: 36px !important;
    }
}