/*General*/
.container-fluid,
.container{
/*    max-width: 1300px;*/
/*    padding: 0;*/
}
.row { 
    margin-left: -30px;
    margin-right: -30px;
}
.container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}
/*Make col in row even height*/
.three-col-layout {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
  
}

@media only screen 
  and (max-width: 768px) {
    .three-col-layout {
        flex-wrap: wrap;
    }

    .three-col-layout.three-col-layout .column .btn-wrapper {
        position: relative;
        bottom: unset;
    }
}

/*Buttons*/
a:hover,
a:link,
a:active,
a:visited{
    color: #337ab7;
    text-decoration: none;
}

@media only screen 
  and (max-device-width: 768px) {
    a:hover,
    a:link,
    a:active,
    a:visited {
        text-decoration: underline;
    }
  }

  .panel-body li a,
p a {
    text-decoration: none;
    transition: width 250ms ease-out;
    position: relative;
    display: inline-block;
}

.panel-body li a:after,
p a:after {
    content: "";
    width: 0%;
    display: block;
    position: absolute;
    bottom: 4px;
    border-bottom: 1px solid #337ab7;
    transition: width 100ms ease-out;
}

.panel-body li a:hover:after,
p a:hover:after {
    width: 100%;
}

.panel > a {
    text-decoration: none;
    color: unset;
}

.panel-body.collapse li {
    /* display: block; */
}

.btn-default{
    padding : 8px 25px;
    border-radius: 2px;
}
.btn-green{
    background-color: #afbd36 !important;
    color: #fff !important;
    border: 0;
}
.btn-green:hover{
    background-color: #BCCF63 !important;
    color: #fff !important;
    
}

a.btn-transparent-white {
    border: solid 1px #FFF;
    background-color: rgba(0,0,0,0);
    color: #fff;
    transition: background-color ease-in-out 250ms, color ease-in-out 250ms;
}
.carousel-inner a.btn-transparent-white {
    border: solid 1px #fff;
    background-color: rgba(0,0,0,0);
    color: #fff;
    transition: background-color ease-in-out 250ms, color ease-in-out 250ms;
}

@media (max-width: 768px) {
    .carousel-inner a.btn-transparent-white {
        border: solid 1px #61459F;
        background-color: rgba(0,0,0,0);
        color: #61459F;
    }

    a.btn-transparent-white {
        border: solid 1px #FFF;
        color: #FFF;
    }
}

.carousel-inner a.btn-transparent-white:hover{
    background-color: #61459F;
    color: #FFF;
    font-weight: bold;
    border: solid 1px #61459F;
}

a.btn-transparent-white:hover {
    border: 1px solid #FFF;
}

.btn-navigational{
    position: relative;
    padding-right: 30px;
}
.btn-navigational::after{
    content: '›';
    font-size: 35px;
    position: absolute;
    right: 10px;
    top: -10px;
    transition: linear 0.5s all;
}
.btn-navigational:hover::after{
    right: 5px;
    transition: linear 0.5s all;
    
}
.btn-light{
    background-color: rgba(255,255,255,0.2) !important;
    border: 0;
    font-weight: 500;
    color: #fff !important;
}
.btn-light:hover{
    background-color: rgba(255,255,255,0.6) !important;
    color: #61459F !important;
}
a.text-anchor{
    text-decoration: underline;
    text-decoration-color: #9CB137;
    color: #5d4496;
}
a.text-anchor:hover{
    font-weight: bold;

}

.social-wrapper a:hover i.ss-icon{
    color: #fff;
}



/*Text Edits*/
.caps{
    text-transform: uppercase;
}
.bold{
    font-weight: bold;
}
.purple-text{
    color:#583f92 !important;
}

.green-text {
    color:#9cb137 !important;
}

.grey-text{
    color: #929292;
}


/*Backgrounds*/
.light-purple{
    background-color: #8f77c7;
    color: #fff;
}
.medium-purple{
    background-color: #7258af;
    color: #fff;
}
.dark-purple{
    background-color: #61459f;
    color: #fff;
}
h1{ font-size: 48px;}
h2{ font-size: 36px;}
h3{ font-size: 28px;}
h4{ font-size: 21px; font-weight: 600 }

p, center, li, a {
    font-size: 16px;
    line-height: 1.6;
}

p {
    margin: 0 0 1.5em;
}

li {
    margin: 0 0 1em;
}

h1, h2, h3, h4 {
    margin: 20px 0;
}

h1, h2, h3, h3, h4, p, a, li, center, blockquote {
    font-family: 'Raleway', sans-serif;
}

p, a, li, center, blockquote {
    font-family: 'Lato', sans-serif;
}

hr {
    width: 10%;
    height: 5px;
    border-top: 6px solid rgba(156, 177, 55, 0.6);
    margin: 25px auto 25px auto;
    background-color: transparent !important;
}

/* Banner */
.banner{
    height: 300px;
    position: relative; 
}
.banner .col-xs-12{
    margin-top: 100px;
}
.banner h1{
    color: #fff;
}
.banner .banner-content{
    position: absolute;
    top: 100px;
    left: 100px;
    border: solid 1px #fff;
}

/*Content*/
/* Main*/
.main{
    padding: 80px 0 60px;
    max-width: 1200px;
    margin: 2em auto;
    float: none;
}
@media (min-width: 1200px){
     .main{
        max-width: 1200px ;
        margin: 0 auto;
        }
}
@media (max-width: 768px){
    .main{ 
        padding: 50px 0 25px;
    }
}

/*Panels and Accordion*/
    .panel-default .panel-heading{
        background-color: #8f77c7 ;
        color: #fff;
        font-weight: bold;
        border-bottom: 0px solid transparent;
        
    }
    .panel-default .panel-heading h3{
        margin: 0;
    }

    .panel-default .panel-heading .badge{
        font-size: 20px;
        background-color: #61459f;
    }
    .panel-default .panel-body{
        /* padding: 30px 60px 20px; */
        padding: 0;
    }
    .panel-default .panel-body > div {
        padding: 30px 60px 30px;
    }
    .panel-default .panel-body .btn-wrapper{
        margin-top: 50px;
    }

    .panel-default .panel-footer{
        background-color: #7258af ;
        color: #fff;
        font-weight: bold;
        font-size: 14px;
        padding: 5px 15px;
    }

/*Forms*/
    form li{
        list-style: none;
    }
    .gform_heading{
        text-align: center;
    }
    .gfield_label_before_complex{
        /* display: none !important; */
    }
    li.gfield.inline-field {
        display: inline-block !important;
        padding-right: 0 !important;
        width: 50%;
    }
    li.gfield.inline-field input{
        width: 95% !important;
    }
    li.gfield input,
    li.gfield textarea{
        border: 0;
        padding: 8px !important;
        font-size: 18px;
        background-color: #f3f3f3;
/*        background-color: #fff;
        e9e9e9 - > .formsection */
    }
    
    li.gfield textarea:focus,
    li.gfield input:focus{
         outline-width: 0;
        border-bottom: solid 4px #aec042 !important;
    }
    .gform_body span label{
        font-size: 14px !important;
        font-weight: 700;
    }
    .gform_footer{
        text-align: center;
        width: 98% !important;
        margin: 0 !important;
    }
    .gform_footer input{
        background:  #aec042 !important;
        display: block;
        width: 100% !important;
        text-transform: uppercase;
        font-weight: bold;
        color: #fff;
        padding: 10px;
        border-radius: 4px;
        border: 0;
        
    }

/* .pre-footer */
    .pre-footer{
        background-color: #f4f4f5;
        max-height: 230px;
        overflow: hidden;
    }
    .pre-footer .left{
        padding: 30px 60px;
    }
    .pre-footer .btn-wrapper{
        margin-top: 10px;
        color: #fff;
    }
    .pre-footer .right {
        text-align: center;
        
    }
    .pre-footer .right img{
        height: 100%;
    }

#head-banner-carousel .carousel-inner a.btn,
.three-col-layout .column .btn-wrapper a {
    word-wrap: break-word;
    position: relative;
    white-space: pre-line;
    max-width: 75%;
}

/* Search and Category Pages */
.search-page .post-archive {
    position: relative;
    overflow: hidden;
}

.search-page .post-archive:hover::before{
    content: '';
    white-space: pre-wrap;
    position: absolute;
    width: 100%;
    height: calc(100% - 43px);
    padding: 1em 2em;
    display: flex;
    top: 0;
    font-size: 3em;
    text-align: center;
    vertical-align: middle;
    color: white;
    background-color: rgba(114, 85, 177, 0.05);
    transform: translateY(0);
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: none;
}

.search-page .post-archive::before {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: calc(100% - 43px);
    padding: 1em 2em;
    transform: translateY(-100%);
    overflow: hidden;
    content: "";
    transition: border 200ms ease-in-out, background-color 200ms ease-in-out, opacity 400ms ease-out, transform 150ms ease-out;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video {
    max-width: unset;
    width: 100%;
    height: auto;
    vertical-align: middle; 
}