/*
 Theme Name:     Tru●Cool Divi Child Theme
 Theme URI:      http://tru.cool
 Description:    Divi Child Theme
 Author:         Tru●Cool Press
 Author URI:     http://tru.cool
 Template:       Divi
 Version:        1.0.0
*/

/* 
div #et-info {
float: right;
}
 */
/* Vertical Align */
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center !important;
} 

#bloomwidget-2 {
border: 3px solid #802a90 !important;
}

/*Joy Village slider*/

#jvslider.et_pb_slider, #jvslider.et_pb_slider .et_pb_container {
height: 450px !important;
}
#jvslider.et_pb_slider, #jvslider.et_pb_slider .et_pb_slide {
max-height: 450px;
}


.et-social-pinterest a.icon:before { content: '\e095'; }
.et-social-linkedin a.icon:before { content: '\e09d'; }
.et-social-tumblr a.icon:before { content: '\e097'; }
.et-social-instagram a.icon:before { content: '\e09a'; }
.et-social-skype a.icon:before { content: '\e0a2'; }
.et-social-vimeo a.icon:before { content: '\e09c'; }

span.footer-logo-dot {
color: #C4C416;
}


/*Contact Forms*/

.wpcf7 input,
.wpcf7 textarea{
    padding:10px;
    color:#8e8e8e;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height: 20px;

    border: solid 1px #9f9f9f;

   /*  box-shadow: inset 2px 2px 8px #bababa; */
	box-shadow: none;
    -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
    display:block;
    width:90%;

}

.wpcf7 .wpcf7-list-item{
  padding-left: 0;
  margin-left: 0;
    width:100%;
}

.wpcf7 .wpcf7-list-item input{
  border: none;
  padding-left: 0;
  margin-left: 0;
}

.wpcf7 select{
  outline: none;
  font-size:16px;
  font-family:Arial, Helvetica, sans-serif;
}

.wpcf7 input:hover,
.wpcf7 input:focus,
.wpcf7 input:active,
.wpcf7 textarea:hover,
.wpcf7 textarea:focus,
.wpcf7 textarea:active {
  background: #ebf7f5;
  outline: none;
}
.gform_wrapper .gform_footer {
    padding: 0 !important;
    margin: 0 !important;
}
#gform_submit_button_1, #gform_submit_button_2{
width: 100%;
margin-left: 0px;
margin-top: 0px;
padding: 10px 0px !important;
}
.gform_body input, .gform_body textarea {
border: 1px solid #bcbcbc !important;
background: #fff !important; 
padding: 10px !important;
}

.wpcf7 input.wpcf7-submit, #gform_submit_button_1, #gform_submit_button_2  {

    border-radius: 3px !important;
    background: #802a90;
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #FFF;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    align-items: flex-start;
    text-align: center;
	box-shadow: none;
	margin-top: 10px;
/* 
    -webkit-transition: 0;
  -moz-transition: 0;
  -o-transition: 0;
  transition: 0;

  border: none;
  position: relative;

  color: #fff;


  text-shadow: none;

  text-transform: uppercase;

  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;

  font-size: 14px;

  padding-top: 11px;
  padding-bottom: 10px;
  padding-left: 35px;
  padding-right: 35px;

  Gradient backgroundbackground-color: #000000;
background: -webkit-gradient(linear, left top, left bottom, from(#4d1b5c), to(#000000));
background:  -moz-linear-gradient(top, #4d1b5c, #000000);
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d1b5c', endColorstr='#000000');
-ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d1b5c, endColorstr=#000000)&quot;;

Drop Shadow-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);


    }

/* On hover */
.wpcf7 input.wpcf7-submit:hover{

    cursor: pointer;
    text-decoration: none;

    background-color: #000000;
    background: -webkit-gradient(linear, left top, left bottom, from(#4d1b5c), to(#6d2f80));
    background:  -moz-linear-gradient(top, #4d1b5c, #6d2f80);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d1b5c', endColorstr='#6d2f80');
    -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d1b5c, endColorstr=#6d2f80)&quot;;
}

/* On click */
.wpcf7 input.wpcf7-submit:active{
    top: 1px;

    color: #d8c6e2;

    background-color: #000000;
    background: -webkit-gradient(linear, left top, left bottom, from(#4d1b5c), to(#4d1b5c));
    background:  -moz-linear-gradient(top, #4d1b5c, #4d1b5c);
    filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d1b5c', endColorstr='#4d1b5c');
    -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#4d1b5c, endColorstr=#4d1b5c)&quot;;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

/* CF7 Messages */
.wpcf7 .wpcf7-validation-errors{
    border:none;
    background-color:#f4ae46;
    margin:0;
    padding:20px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.wpcf7 .wpcf7-mail-sent-ok{
    border:none;
    background-color:#7ad33f;
    margin:0;
    padding:20px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.wpcf7 .wpcf7-mail-sent-ng{
    border:none;
    background-color:#cf2d38;
    margin:0;
    padding:20px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;

    color: white;
}

.wpcf7 span.wpcf7-not-valid-tip{
    border:none;
    background-color:#cf2d38;
    padding:10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius:10px;
    width: 180px;
    color: white;

    /* Drop shadow */
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

.wpcf7-form .fleft{
    float: left;
}

.wpcf7-form .mright20{
    margin-right: 20px;
}

.wpcf7-form .mright40{
    margin-right: 40px;
}

.wpcf7-form .clear{
    clear: both;
}

.wpcf7-form{

}

/* Blog Layout */

/*Styling for the left hand posts*/
.ds-letterbox-left .et_pb_post {
    background-color: #fff;
}
/*Styling for the right hand posts*/
.ds-letterbox-right .et_pb_post {
    background-color: #fff;
    min-height: 140px;
    margin-top: 0;
    margin-bottom: 34px;
}
/*Sets the featured imge size for the left hand posts*/
.ds-letterbox-left .et_pb_post a img {
    width: 100%;
    height: 630px;
    object-fit: cover;
}
/*Sets the image size for the right hand posts and moves it to the left of the text*/
.ds-letterbox-right .et_pb_post a img {
    float: left;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 20px 20px 0;
}
/*This hides the excerpt for the right hand posts*/
.ds-letterbox-right .post-content {
    /* display: none; */
}
/*This brings back just the meta data which was hidden as part of the paragraph text in the above section of CSS*/
.ds-letterbox-left .post-meta,
.ds-letterbox-right .post-meta {
    padding-bottom: 10px !important;
}
/*This adds the box shadow to the posts*/
.ds-letterbox-left .et_pb_post,
.ds-letterbox-right .et_pb_post {
    padding: 20px;
    /* 
-webkit-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
 */
}
/*Add a little top margin to the right hand post titles*/
.ds-letterbox-right h2 {
    margin-top: 20px;
}
/*This styles the read more link on the left hand posts*/
.ds-letterbox-left a.more-link {
    border: 1px solid #000;
    padding: 10px !important;
    margin-top: 20px !important;
    color: #000;
    max-width: 110px;
}
/*This styles the read more link on hover*/
.ds-letterbox-left a.more-link:hover {
    border: 1px solid #fff;
    color: #fff;
    background: #000;
}
/*This adds the double arrow icon to the read more link*/
.ds-letterbox-left a.more-link:after {
    font-family: 'ETmodules';
    content: "\39";
    color: #000;
    margin-left: 5px;
    vertical-align: middle;
}
/*This styles the double arrow on hover*/
.ds-letterbox-left a.more-link:hover:after {
    color: #fff;
}
/*This styles the post pagination links*/
.pagination a {
    background: #fff;
    color: #000;
    padding: 10px;
    margin-top: 30px !important;
    /* 
-webkit-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
    box-shadow: 6px 7px 5px -6px rgba(0, 0, 0, 0.75);
 */
}
/*This styles the post pagination links on hover*/
.pagination a:hover {
    background: #000;
    color: #fff;
}
/*----------------------*/
/*Not needed for tute*/
hr.ds-blog-line {
    display: none;
}
span.published:before {
    display: none;
}
span.published {
    margin-left: 0px;
}
.ds-author-image-excerpt {
    display: none;
}
.ds-author-excerpt {
    display: none;
}
.ds-letterbox-left.et_pb_bg_layout_light .et_pb_post p {
    padding-bottom: 0;
}

/*--------------------------------------------------------------------*/
/*-----Two, Three and Four Column Square Blog Layout by Divi Soup-----*/
/*--------------------------------------------------------------------*/
/***Global styles required for all layouts***/
/*This scales the images keeping the aspect ratio. NOTE: Object-fit is not supported in IE and Edge so if you want to use the standard image size remove this section*/
.ds-blog-square a img {
    width: 100%;
    object-fit: cover;
}
/*This section hides the excerpt*/
.ds-blog-square .post-content {
    display: none;
}
/*This section corrects some margin and padding issues*/
.ds-blog-square .et_pb_image_container {
    margin: -19px -19px 0;
}
.ds-blog-square h2 {
    margin: 0;
    padding: 0;
}
/*This section removes the bottom padding from the post and sets the position so we can move the title on top of the image*/
.ds-blog-square .et_pb_post {
    position: relative;
    padding-bottom: 0;
    border: none;
}
/*This section adds the semi transparent overlay and border on the image. It also sets the post title to absolute center*/
.ds-blog-square h2 a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 40px;
    margin: 0;
    /* background: rgba(0, 0, 0, .3); */
    color: transparent;
    text-align: center;
    /* outline: 2px solid #fff; */
    outline-offset: -20px;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;

}
/*This section changes the border and overlay colour and border position on hover*/
.ds-blog-square h2 a:hover {
    background: rgba(255, 255, 255, .8);
    color: #000;
    outline: 2px solid #000;
    outline-offset: 0;
}

/***4 Column Styles***/
/*This section changes the layout to 4 columns*/
@media only screen and ( min-width: 981px) {
    .ds-blog-four-column.et_pb_column_4_4 .et_pb_blog_grid[data-columns]::before {
        content: '4 .column.size-1of4' !important;
    }
    /*This section divides the width of the posts equally in the available space*/
    .ds-blog-four-column.et_pb_column_4_4 .column.size-1of4 {
        width: 25% !important;
        margin-right: 0%;
    }
    /*This removes the right margin from the last post on each row*/
    .ds-blog-four-column.et_pb_column_4_4 .column.size-1of4:nth-child(4n) {
        margin-right: 0;
    }
}
/*This sets the spacing between post rows*/
.ds-blog-four-column .et_pb_post {
    margin-bottom: 25%;
}
/*This section sets the height of the images on different screen sizes to keep it relatively square. If you are not using object-fit because it isn't supported in IE and Edge then you should remove this entire section or the images will be distorted*/
.ds-blog-four-column .ds-blog-square a img {
    height: 33vh !important; /*Adjust this value if you want the images taller or shorter*/
}
@media only screen and (max-width: 1440px) {
    .ds-blog-four-column .ds-blog-square a img {
        height: 28vh !important; /*Adjust this value if you want the images taller or shorter*/
    }
}
@media only screen and (max-width: 1280px) {
    .ds-blog-four-column .ds-blog-square a img {
        height: 25vh !important; /*Adjust this value if you want the images taller or shorter*/
    }
}
@media only screen and (max-width: 768px) {
    .ds-blog-four-column .ds-blog-square a img {
        height: 28vh !important; /*Adjust this value if you want the images taller or shorter*/
    }
}
@media only screen and (max-width: 480px) {
    .ds-blog-four-column .ds-blog-square a img {
        height: 40vh !important; /*Adjust this value if you want the images taller or shorter*/
    }
}



/*mobile logo size*/
@media only screen and (max-width: 980px) {
div #et-info {
float: none;
}

#main-header .container {
width: 95%;
}
#logo {
    height: 80% !important;
    max-height: 80% !important;
    width: auto;
    max-width: 80% !important;
    }
}


/* Main Menu */

#top-menu li li {
    padding: 0 10px !important;
}
#top-menu li .menu-item-has-children > a:first-child {
    padding-right: 20px !important;
}
#top-menu li li a {
    width: 220px !important; 
    padding: 6px 5px !important;
}

/* mobile section padding */
@media (max-width: 980px) {
.et_pb_section {
    padding: 0px 0px;
}
}