/*
 Theme Name:   Custom Labels - GP Child
 Theme URI:    https://customlabels.com
 Description:  Custom Labels GeneratePress child theme
 Author:       Branislav Pakić
 Author URI:   https://customlabels.com
 Template:     generatepress
 Version:      0.1
 Tags: two-columns, three-columns, one-column, right-sidebar, left-sidebar, fluid-layout, responsive-layout, custom-header, custom-background, custom-menu, custom-colors, sticky-post, threaded-comments, translation-ready, featured-images, theme-options, light, white, dark, black, blue, brown, gray, green, orange, pink, purple, red, silver, tan, yellow
*/

/*===== HEADER =====*/

.header-contact {
    margin-top: 10px;
}

.header-contact .fa {
    background-color: #1188CC;
    color: #fff;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
    float: left;
    margin-right: 10px;
}

.header-contact > div {
    float: left;
    width: calc(100% - 50px);
}

.header-contact > p {
    display: none;
}

.header-contact a.nav {
    font-family: "Play", sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 400;
}

.header-contact::after {
    content: "";
    display: block;
    clear: both;
}

/*===== HOME BANNER =====*/

#home-banner {
    min-height: 500px;
    box-sizing: border-box;
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.home-banner-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home-banner-text {
    position: relative;
    left: 300px;
    z-index: 2;
}

.home-banner-text h1 {
    font-size: 3.5em;
}

.home-banner-text h1 span {
    display: block;
    font-weight: bold;
}

.home-banner-text .button {
    font-size: 2em;
    border: 4px solid #fff;
    border-radius: 20px;
}

.home-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 1920px;
    height: 500px;
    max-width: 1920px;
}

/*===== COMMON =====*/

.center {
    text-align: center;
}

.big-text {
    font-size: 1.5em;
}

.button {
    border-radius: 5px;
}

.button.go::after {
    content: "\f054 \f054";
    display: inline-block;
    margin-left: 10px;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.req {
    color: #ff0000;
}

.highlight {
    color: #1682c3;
}

.separator-t::before,
.separator-b::after {
    content: "";
    display: block;
    clear: both;
    width: 80%;
    margin: auto;
    height: 4px;
    visibility: visible;
    background: -moz-linear-gradient(left, rgba(167,185,193,0) 0%, rgba(167,185,193,1) 20%, rgba(167,185,193,1) 80%, rgba(167,185,193,0) 100%);
    background: -webkit-linear-gradient(left, rgba(167,185,193,0) 0%,rgba(167,185,193,1) 20%,rgba(167,185,193,1) 80%,rgba(167,185,193,0) 100%);
    background: linear-gradient(to right, rgba(167,185,193,0) 0%,rgba(167,185,193,1) 20%,rgba(167,185,193,1) 80%,rgba(167,185,193,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a7b9c1', endColorstr='#00a7b9c1',GradientType=1 ); /* IE6-9 */
}

.important-heading {
    background-color: #1682C3;
    color: #fff;
    line-height: 40px;
    padding-left: 30px;
    position: relative;
}

.important-heading::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #20597D;
}

a .important-heading:hover {
    background-color: #316E97;
}

.image-list {
    list-style: none;
    margin-left: 0;
}

.image-list li {
    font-size: 1.5em;
    line-height: 64px;
}

.image-list li img,
.footer-image-list li img {
    vertical-align: middle;
}

.sticker-block {
    background: #f4f4f4 url('img/sticker-block-corner.png') 100% 100% no-repeat scroll;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.sticker-block h3 span {
    font-size: 1.2em;
    font-weight: bold;
    color: #20597d;
}

.sticker-block p {
    font-size: .8em;
}

.img-catlinks p {
    display: none;
}

.img-catlinks .catlink-img {
    height: 175px;
    overflow: hidden;
}

.img-catlinks .catlink-img img {
    max-width: 100%;
    width: 100%;
    transform: translateX(0) translateY(0);
    transition: .5s;
}

.img-catlinks > div:hover .catlink-img img {
    max-width: 110%;
    width: 110%;
    transform: translateX(-5%) translateY(-5%);
    transition: .5s;
}

.img-catlinks > div:hover h3 {
    color: #20597D;
}

.one-container .site-content,
.generate-sections-inside-container {
    padding-left: 0;
    padding-right: 0;
}

.full-width-inputs input[type="text"],
.full-width-inputs input[type="email"],
.full-width-inputs input[type="url"],
.full-width-inputs input[type="password"],
.full-width-inputs input[type="search"],
.full-width-inputs textarea {
    width: 100%;
}

.darker-bg,
.sidebar .widget.darker-bg {
    background-color: #E7E8E9;
    padding: 20px;
}

/*===== NAVIGATION =====*/

#primary-menu .sub-menu li {
    -webkit-column-break-inside: avoid;
}

/*===== FORMS =====*/

select {
    background: #FAFAFA;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 15px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 100%;
}

.label {
    display: block;
    margin-bottom: .5em;
}

.shape .wpcf7-radio span label:before {
    content: "";
    display: block;
    width: 70px;
    height: 50px;
    background: #c0c0c0;
    border: 2px solid #aaa;
}

.shape .wpcf7-radio span:first-child label:before {
    border-radius: 10px;
}

.shape .wpcf7-radio span:nth-child(3) label:before {
    border-radius: 100%;
}

.shape .wpcf7-radio span:nth-child(4) label:before {
    width: 50px;    
    border-radius: 100%;
}

.shape .wpcf7-radio span:nth-child(5) label:before {
    border-radius: 100% 100% 0 0;
}

/*===== SIDEBAR NAVIGATION =====*/

.sidebar .darker-bg .widget-title {
    color: #1682c3;
}

.sidebar .darker-bg a {
    color: #20597d;
}

.widget_nav_menu ul ul {
    margin-left: 2em;
}

.sidebar .menu-item-has-children,
.sidebar .bellows-menu-item-has-children {
    text-transform: uppercase;
}

.sidebar .menu-item-has-children .sub-menu li,
.sidebar .bellows-menu-item-has-children .bellows-submenu li  {
    text-transform: initial;
}

/*
.sidebar .menu-item-has-children .sub-menu {
    text-transform: none;
    max-height: 0;
    overflow: hidden;
    transition: .5s ease-out;
}

.sidebar .menu-item-has-children:hover .sub-menu {
    max-height: 1000px;
    transition: .5s ease-in;
}

.sidebar .menu-item-has-children::before {
    content: "\f0da";
    color: #3282C2;
    display: inline-block;
    margin-right: 10px;
    transition: .5s;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
*/

/*-----BELLOWS-----*/

.bellows {
    margin-top: 0 !important;
}

.bellows .bellows-nav .bellows-custom-content.bellows-custom-content-padded, .bellows .bellows-nav .bellows-target, .bellows .bellows-nav .bellows-target.bellows-target-w-image>.bellows-image.bellows-image-padded, .bellows .bellows-nav .bellows-target.bellows-target-w-image>.bellows-target-text {
    padding: 10px !important;
}

.bellows-submenu li {
    padding-left: 20px !important;
}

.bellows .bellows-nav .bellows-submenu .bellows-target {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/*===== ELEMENTOR =====*/

figure.wp-caption h3 {
    font-size: 20px;
}

.elementor-widget-image .elementor-image>a,
.elementor-widget-image .elementor-image figure>a {
    overflow: hidden;
}

a.elementor-button {
    border: 4px solid #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.25) !important;
    border-radius: 8px !important;
}

/*===== FLIPPER =====*/

.flip-boxes .grid-container,
.flip-boxes .grid-container > div {
    padding: 0;
}

.flip-container {
	perspective: 1000px;
}

.flip-container:hover .flipper, .flip-container.hover .flipper {
	transform: rotateY(180deg);
}

.flip-container, .front, .back {
    width: 480px;
	height: 240px;
    margin: auto;
}

.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}

.front, .back {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

.front {
	z-index: 2;
	transform: rotateY(0deg);
}

.back {
	transform: rotateY(180deg);
}

.flipper .front, .flipper .back {
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
}

.flipper .front h3 {
    color: #fff;
    font-size: 2em;
}

.flipper .front .inside-box,
.flipper .back .inside-box {
    width: 100%;
    height: 100%;
    padding: 1em;
    box-sizing: border-box;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    border-radius: 3px;
}

.flipper .back .inside-box {
    background-color: #DCDCDC;
}

.flipper .front .inside-box h3,
.flipper .back .inside-box p {
    margin-bottom: 0;
}

.flipper .front.nature .inside-box {
    background-color: #9BCAB7;
}

.flipper .front.sea .inside-box {
    background-color: #6EC0C5;
}

.flipper .front.sky .inside-box {
    background-color: #0096C7;
}

.flipper .front.dusk .inside-box {
    background-color: #316E97;
}

.full-width-content .flip-container,
.full-width-content .front,
.full-width-content .back {
    width: 100%;
    height: 300px;
}

/*===== LEARNING NETWORK =====*/

.learning-network .flipper .front .inside-box {
    background-position: 0 0;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.learning-network .flipper .front.biz-trends .inside-box {
    background-image:  url('https://customlabels.net/wp-content/uploads/2017/09/biz-trends-img.jpg');
}

.learning-network .flipper .front.print-tips .inside-box {
    background-image:  url('https://customlabels.net/wp-content/uploads/2017/09/print-expert-tips-img.jpg');
}

.learning-network .flipper .front.label-templates .inside-box {
    background-image:  url('https://customlabels.net/wp-content/uploads/2017/09/label-templates-img.jpg');
}

.learning-network .flipper .front.design-inspiration .inside-box {
    background-image:  url('https://customlabels.net/wp-content/uploads/2017/09/design-inspiration-img.jpg');
}

.learning-network .flipper {
    position: relative;
}

.learning-network .flipper .front .inside-box h3 {
    position: absolute;
    top: 37px;
    left: 20px;
    font-size: 1.5em;
}

.elementor-widget-wrap .wp-show-posts-entry-title {
    font-weight: 400;
    font-size: 17px;
    font-family: "Ubuntu", sans-serif;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding-bottom: .5em;
}

.elementor-widget-wrap .wp-show-posts:not(.wp-show-posts-columns) .wp-show-posts-single:not(:last-child) {
    margin-bottom: .5em;
}

a.wp-show-posts-read-more, a.wp-show-posts-read-more:visited {
    border: 2px solid #1682c3;
    color: #1682c3;
}

a.wp-show-posts-read-more:hover, a.wp-show-posts-read-more:focus {
    background: #1682c3;
    color: #fff;
}

/*===== FOOTER =====*/

.site-footer .social-icons {
    -webkit-column-count: 2;
	-moz-column-count: 2;
    column-count: 2;
    width: 80px;
}

.site-footer .social-icons li {
    width: 40px;
 }

.social-icons li .fa {
    background-color: #404f57;
    color: #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 200ms;
}

.social-icons li .fa:hover {
    background-color: #fff;
    color: #404f57;
    transition: 200ms;
}

/*===== MOBILE STYLES =====*/

@media (min-width:768px) {

    .selector {
        padding-left: 80px;
        padding-right: 80px;
    }    

    .main-navigation ul li.column-4 ul {
        width: 800px;
		-webkit-column-count: 4;
    	-moz-column-count: 4;
        column-count: 4;
    }

    @-moz-document url-prefix() { 
        .main-navigation ul li.column-4 ul {
           max-height: 325px;
        }
    }

}

@media (max-width:1024px) {

    .home-banner-text {
        width: calc(100vw - 60px);
        text-align: center;
        left: 0;
    }

    .home-banner-img {
        opacity: .25;
    }

}

@media (max-width:767px) {

    .home-banner-text h1 {
        font-size: 2.25em;
    }

    .home-banner-text .button {
        font-size: 1.5em;
    }

    .flip-container, .front, .back {
        width: 100%;
        height: 420px;
    }

    .image-list li {
        font-size: 1em;
    }

    .image-list li img {
        height: 32px;
        width: auto;
    }

}

@media (min-width:944px) {

    .shape .wpcf7-radio .wpcf7-list-item {
        width: 20%;
        margin: 0;
        text-align: center;
    }

    .shape .wpcf7-radio .wpcf7-list-item input[type=radio] {
        display: block;
        margin: 10px auto 0;
    }

    .shape .wpcf7-radio span label:before {
        margin: auto;
    }
}