/*
 Theme Name:   Square Child
 Template:     square
 Text Domain:  square-child
*/


/* ric becker custom elements */


body{
    overflow-x:hidden;
}

/* carousel */

.goa-carousel {
    position:absolute;
    display:none;
}

.goa-carousel.active {
    display:block;
}

.goa-carousel-container {
    position:relative;
}

/* full width */
.fullwidth.outer {
    width:100vw;
    position:relative;
    text-align:center;
}

.fullwidth.inner {
    max-width:1130px;
    margin-left:auto;
    margin-right:auto;
    text-align:left;
    line-height:1.2;

}

.fullimage img{
    width:1000px;
}

.fullwidth.inner p{
    margin-bottom:7px;
}

.fullwidth.inner ul, .fullwidth.inner .wpb_content_element{
    margin-bottom:10px;
    display:table-cell;
    vertical-align:middle;
}


/* homepage */ 
.homepage.goa-carousel-container {
    height:55vw!important;
}
.homepage.goa-carousel {
    position: absolute;
    top:0;
    left:0; 
    width: 100%;
    height: 55vw!important;
    background-position:center center;
    background-repeat:no-repeat;
    background-size:cover;
}


.homepage.slide {
    position: absolute;
    width:100%;
    bottom: 20px;
    background-color:
    rgba(255,255,255,0.8);
    padding:15px;
    margin: 0px auto;
}
.wpb_content_element {
    margin-bottom:10px!important;
}

.homepage.goa-carousel span, .homepage.goa-carousel p {
    font-size: 3vw;
    color: #865ebb;
}

@media screen and (min-width:1100px) {
    .homepage.goa-carousel span, .homepage.goa-carousel p {
        font-size: 35px;
    }
}



/* menu and header theme stuff */

#sq-masthead{
    height:auto;
	min-height: 82px;
}

#sq-masthead.sq-scrolled {
    background: rgba(95, 91, 96, 0.8);
}
#sq-colophon {
    background: rgb(95,91,96);  
    color:white;

}


/*about page */ 

.aboutbutton {
    margin: 0px auto;
    color: black;
    height: 79px;
    font-size: 27px;
    line-height: 1;
    text-align: center;
    padding:0px;
}

.aboutbutton.gray
{
    background-color: #dedede;
    width: 190px;
}

.aboutbutton.gray:hover{
    background-color:#c0c0c0;
}

.aboutbutton.blue {
    background-color: #00c9bb;
    width: 350px;
}
.aboutbutton.blue:hover{
    background-color:#009b8c;
}



#sq-colophon h5.widget-title {
    color:white;
}

#sq-colophon a {
    color:#00c9bb;
}

.sq-menu > ul > li:hover > a:before,
.sq-menu > ul > li.current_page_item > a:before,
.sq-menu > ul > li.current-menu-item > a:before{
    display: none;
}


.sq-menu > ul > li:hover > a{
    color:rgba(255, 255, 255, 0.7);

}

.sq-menu > ul > li:hover > a:after {
    border-top-color:rgba(255, 255, 255, 0.7);
}



#sq-middle-footer .sq-container, #sq-top-footer .sq-container {
    border-bottom:0;
}

@media screen and (max-width:900px) {
    .sq-menu > ul > li:hover > a {
        color: #777;
    }

    .sq-menu > ul > li:hover a:after
    {
        border-top-color:#777
    }
}
@media screen and (max-width: 790px) {
    .smallerize {
        font-size:50px!important;
    }
}


@media screen and (max-width: 768px) {
	#sq-masthead {
		background-color:darkgray!important;
	}

    .smallerize {
        text-align: center!important;
    }
    .smallerize div {
        display: block!important;
        margin: 0 auto;
        text-align:center!important;
        width:100%!important;
    }
}

@media screen and (min-width: 769px){

    .wpb_content_element {
        margin-bottom:0px!important;
    }
    

        /* flipcards / hover box */

        .vc-hoverbox-block.vc-hoverbox-front, .vc-hoverbox-block.vc-hoverbox-back {
            min-height: 350px;
        }

}

    .sq-main-headerx{
        padding: 52px 0 60px;
    }
}

ul {
    font-family:"Didact Gothic";
    font-size:19px;
}

h5 {
    color:#8224e3;
}
