/*
Theme Name: Basic Theme
Theme URI: http://iflair.com/
Author: the iFlair team
Author URI: http://iflair.com/
Description: Basic Theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/



/* Popup */
#sgcolorbox {
    position: fixed !important;
    margin-left: -50px;
    margin-top: -70px;
    overflow: visible !important;
}
#sgcolorbox #sgcboxWrapper { overflow: visible; }
#sgcolorbox table tr td { border-bottom: 0; }
#sgcolorbox #sgcboxContent {
    border-radius: 30px;
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
}
#sgcboxOverlay { visibility: hidden !important; }

/* Onclick Show hide form style */

.wp-google-name {
	font-size: 14px!important;
}



#wpcf7-f721 .wpcf7-form-control-wrap .wpcf7-email{     width: calc(100% - 50px);
    margin-left: 50px;
    -webkit-appearance: none !important;
    border: 1px solid #1B1B1B;
    color: #1B1B1B;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    height: 40px;
    margin-bottom: 20px;
    padding: 13px 20px;
    border-color: #ccc;
    border-radius: 14px; }

/*wpcf7-form-control-wrap .wpcf7-email:before {
    background: url(images/msg-img.png) no-repeat center center;
    width: 40px;
    height: 40px;
    content: '';
    position: absolute;
    background-size: 100%;
    }*/

    #wpcf7-f721 span.wpcf7-form-control-wrap.your-email,#wpcf7-f721 span.wpcf7-form-control-wrap.your-tel {
        display: inline-block;
        width: calc(100% - 125px);
    }

    #wpcf7-f721-o1 input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email,#wpcf7-f721-o1 input.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel {
        width: calc(100% - 50px);
        margin-left: 50px;
        -webkit-appearance: none !important;
        border: 1px solid #1B1B1B;
        color: #1B1B1B;
        font-family: 'Open Sans', sans-serif;
        font-size: 15px;
        height: 40px;
        margin-bottom: 20px;
        padding: 13px 20px;
        border-color: #ccc;
        border-radius: 14px;
    }

    .wpcf7 h2 {
        font-size: 32px;
        line-height: normal;
    }


    #wpcf7-f721-o1 input[type="submit"] {
        background: #228224;
        border: 0;
        border-radius: 15px;
        letter-spacing: 0;
        margin-right: 0px;
        font-size: 20px;
        float: none;
        display: inline-block;
        vertical-align: top;
        width: 100%;
        height: 40px;
        padding: 0 10px;
        margin-top: 0;
    }

    #wpcf7-f721-o1 table tr td .your-email:before {
        background: url(images/msg-img.png) no-repeat center center;
        width: 40px;
        height: 40px;
        content: '';
        position: absolute;
        background-size: 100%;
    }

    #wpcf7-f721-o1 table tr td .your-tel:before {
        background: url(images/phn-icn.png) no-repeat center center;
        width: 40px;
        height: 40px;
        content: '';
        position: absolute;
        background-size: 100%;
    }

    .wpcf7 p {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 17px;
        text-align: left;
    }

    .form_toggle.toggle_block {
        border: 5px solid #000;
    }

    .form_toggle.toggle_block a#slide
    {
       border-right: 5px solid #000;
   }
   .form_toggle table tr td
   {
       border: none;
   }


   a#slide {
    position: absolute;
    right: 110px;
    background: #f03c18;
    width: 38px;
    z-index: 99999999;
    text-align: center;
    padding: 10px 10px;
    cursor: pointer;
    left: -38px;
    top: -5px;
    height: 234px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}
a#slide:hover{
	background:#34363b;
}
a#slide span {
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    white-space: nowrap;
    display: block;
}
.toggle_block {
    height: auto;
    background: #FFF;
    color: #000;
}
.form_toggle {
    position: fixed;
    right: -558px;
    left: 100%;


    width: 558px;
    z-index: 9999;
    padding: 20px 40px;
    top: 130px;
	/*-webkit-transition: 1s; 
    transition:  1s;*/
}
.form_toggle.visible{
	left: inherit !important;
	/*-webkit-transition: 1s; 
    transition:  1s;*/
}

/* .wpcf7-response-output.wpcf7-validation-errors {
    position: absolute;
    bottom: 0;
    }*/

    .form_toggle p { margin-bottom: 0; }
    .form_toggle input, 
    .form_toggle textarea.wpcf7-textarea {
        max-width: 100%;
        border: 0;
    }
    .form_toggle textarea.wpcf7-textarea {
        max-height: 70px;
    }
    .form_toggle input.wpcf7-form-control.wpcf7-submit {
        padding: 2px 15px;
        margin-top: 5px;
        color: #fff;
    }
    .form_toggle input.wpcf7-form-control.wpcf7-submit:hover {
        background: #34363b;
        border-color: #34363b;
        color: #fff;
    }
    .form_toggle form.wpcf7-form {
        margin-bottom: 0;
    }
    .press_photo .press-conent {
        color: #666666;
        padding: 0 15px;
        line-height: 22px;
    }
    .blurbs.press_photo .col-md-4.item {
        margin-top: 20px;
    }
    .blurbs.press_photo h2 {
        color: #666666;
        text-align: center;
        margin-top: 0;
    }
    .form_toggle.toggle_block input,.form_toggle.toggle_block textarea {
        color: #666666;
        padding-left: 10px;
        padding-right: 10px;
    }
    .wpcf7-response-output.wpcf7-mail-sent-ok {
        display: none;
    }

    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid {
        border: 1px solid red;
        background: #f5e7ea;
    }
    span .wpcf7-not-valid-tip{ color: #c32e2e;}

    .wpcf7-response-output.wpcf7-validation-errors {
        display:  none;
    }

    input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid {
        border: 1px solid red;
        background: #f5e7ea;
    }




    .home .max-description .title.page-block-title span{padding-left:0; padding-right:0;}
    .pos-input{color: #a9a9a9 !important;}





    .fill-form  .max-order {
        max-width: 80%;
    }
    div#wpcf7-f711-p714-o1 {
        position: relative;  
    }
    div#wpcf7-f711-p714-o1 span.wpcf7-form-control-wrap {
        display: inline-block;
        width: calc(100% - 210px);
    }
    #wpcf7-f711-p714-o1 form.wpcf7-form,div#wpcf7-f711-o1 form.wpcf7-form {
        margin: 40px;
        background: #fff;
        padding-left: 50px;
        border: 10px solid #000;
    }
    #wpcf7-f711-p714-o1  table tr td {
        width: auto;
        border:0;
    }
    #wpcf7-f711-p714-o1 table tr td h2 {
        font-size: 60px;
        line-height: 70px;
        font-weight: bold;
        color: #000;
        margin-top: 30px;
    }
    #wpcf7-f711-p714-o1 table tr td .your-email input {
        width: calc(100% - 100px);
        margin-left: 90px;
        border-color: #ccc;
        border-radius: 14px;
    }
    #wpcf7-f711-p714-o1 table tr td .your-email:before {
        background: url(images/msg-img.png) no-repeat center center;
        width: 60px;
        height: 52px;  
        content: '';
        position: absolute;
        background-size: 100%;
    }
    #wpcf7-f711-p714-o1 input[type="submit"] {
        background: #228224;
        border: 0;
        border-radius: 15px;
        letter-spacing: 0;
        margin-right: 0px;
        font-size: 20px;
        float: none;
        display: inline-block;
        vertical-align: top;
    }
    .flip-text {
        transform: rotate(-90deg);
        background: #f03c18;
        color: #fff;
        float: left;
        height: 50px;
        position: absolute;
        font-size: 22px;
        padding-top: 18px;
        padding: 13px 22px;
        top: 99px;
        left: -80px;
        bottom: 0; 
    }
    div#wpcf7-f711-p714-o1 span.wpcf7-not-valid-tip {
        margin-left: 100px;
        margin-top: 0;
    }


    /***/


    #wpcf7-f711-o1 table tr td {
        width: auto;
        border: 0;
    }
    #wpcf7-f711-o1 table tr td h2 {
        font-size: 60px;
        line-height: 70px;
        font-weight: bold;
        color: #000;
        margin-top: 10px;
    }
    #wpcf7-f711-o1 table tr td p {
        font-size: 17px;
        line-height: 26px;
        margin-bottom: 17px;
        text-align: left;
    }
    #wpcf7-f711-o1 span.wpcf7-form-control-wrap.your-email {
        display: inline-block;
        width: calc(100% - 125px);
    }
    #wpcf7-f711-o1 table tr td .your-email:before {
        background: url(images/msg-img.png) no-repeat center center;
        width: 40px;
        height: 40px;
        content: '';
        position: absolute;
        background-size: 100%;
    }
    #wpcf7-f711-o1 input[type="email"] {
        width: calc(100% - 100px);
        margin-left: 90px;
        border-color: #ccc;
        border-radius: 14px;
    }
    #wpcf7-f711-o1 input[type="submit"] {
        background: #228224;
        border: 0;
        border-radius: 15px;
        letter-spacing: 0;
        margin-right: 0px;
        font-size: 20px;
        float: none;
        display: inline-block;
        vertical-align: top;
        width: 100%;
        height: 40px;
        padding: 0 10px;
    }

    div#wpcf7-f711-o1 {
        position: relative;
    }

    .ajax-loader
    {
       display: none;
   }



   .colorbox1 #sgcboxTopCenter,.colorbox1 #sgcboxTopLeft,.colorbox1 #sgcboxTopRight,.colorbox1 #sgcboxMiddleLeft,.colorbox1 #sgcboxMiddleRight,.colorbox1 #sgcboxBottomCenter,.colorbox1 #sgcboxBottomRight,.colorbox1 #sgcboxBottomLeft{
       display:none;
   }
   #wpcf7-f711-p714-o1 form.wpcf7-form, div#wpcf7-f711-o1 form.wpcf7-form{
       margin:0px;
   }
   table tr td{
       padding: 8px 8px;
   }
   #wpcf7-f711-o1 input[type="email"] {
    width: calc(100% - 50px);
    margin-left: 50px; 
    height: 40px;
}
#sgcboxContent {
    width: 100% !important;
    height: auto !important;
}
#wpcf7-f711-o1 table tr td h2{
    font-size: 32px;
    line-height: normal;
}
#sgcboxLoadedContent{
	width:100% !important;
	height: auto !important;
}

.colorbox1 #sgcboxLoadedContent {
    margin-bottom: 0 !important;
}
.colorbox1 #sgcboxClose{
    top: 15px;
    right: 15px !important;
}

/* .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors,.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    position: absolute;
    bottom: 2px;
    left: 75px;
    }*/

    span.wpcf7-not-valid-tip {
        display: none;
    }


    /*10-9-2018*/
    .entry-header h1{position: absolute; left: 0; right: 0; text-align: center; top:20px; }



    @media(max-width:1200px){
        #wpcf7-f711-p714-o1 table tr td h2 {
            font-size: 53px;
        }
        div#wpcf7-f711-p714-o1 span.wpcf7-form-control-wrap {
            width: calc(100% - 130px);
        }

    }



    @media(max-width:991px){
        .fill-form .max-order {
            max-width: 100%;
        }
    }
    @media(max-width:767px){
        #wpcf7-f711-p714-o1 form.wpcf7-form {
            margin: 0;
            padding-left: 0;
        }
        div#wpcf7-f711-p714-o1 form.wpcf7-form.invalid {
            margin: 0;
            padding: 0;
        }
        #wpcf7-f711-p714-o1 table tr td h2 {
            font-size: 24px;
            margin-top: 0;
            line-height: 30px;
        }
        div#wpcf7-f711-p714-o1 span.wpcf7-form-control-wrap {
            width: 100%;
        }
        div#wpcf7-f711-p714-o1 span.wpcf7-not-valid-tip {
            margin-left: 0;
            margin-top: -10px;
            text-align: center;
            margin-bottom: 10px;
            font-size: 16px;
        }
        #wpcf7-f711-p714-o1 table tr td .your-email:before {
            width: 40px;
            height: 42px;
        }
        #wpcf7-f711-p714-o1 table tr td .your-email input {
            width: calc(100% - 50px);
            margin-left: 50px;
            height: auto;
            padding:10px;
        }
        #wpcf7-f711-p714-o1 input[type="submit"] {
            padding: 10px 20px;
            height: auto;
            width: auto;
            font-size: 14px;
            margin: auto;
            display: block;
        }
        #wpcf7-f711-p714-o1 .wpcf7-response-output.wpcf7-display-none.wpcf7-validation-errors {
            margin: 0 5px 10px;
        }
    }

    @media (max-width: 567px){
        #sgcolorbox.colorbox1,.colorbox1 #sgcboxWrapper{width: 98% !important;right: 0;margin: 0 auto;}
        .flip-text {padding: 13px 27px;top: 104px;left: -85px;}        
        #wpcf7-f711-o1 input[type="submit"]{display: block;margin: 0 auto;}
        #wpcf7-f711-o1 span.wpcf7-form-control-wrap.your-email{width: 100%;}
        #wpcf7-f711-o1 table tr td h2{font-size: 20px;}
    }

    @media (max-width: 640px){
        .form_toggle{width: 92%;}
        .wpcf7 h2 {font-size: 24px;}
        #wpcf7-f721-o1 input[type="submit"] {font-size: 16px;max-width: 80px;}
        span.wpcf7-form-control-wrap.your-email{width: calc(100% - 85px);}
        a#slide{height: 214px;padding: 15px 10px;font-size: 18px;}

        /**/

        .form_toggle{width: 89%;}
        .form_toggle{padding: 10px;}
        input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email,input.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel {margin-bottom: 8px;}
        span.wpcf7-form-control-wrap.your-email ,span.wpcf7-form-control-wrap.your-tel{width: 100%;}
        #wpcf7-f721-o1 input[type="submit"]{display: block;margin: 0 auto;}
        /**/


    }

    @media only screen and (max-width: 480px){
        .home .max-description .title.page-block-title span {
            padding-left: 0;
            padding-right: 0;
            display: inline;
            margin: 0;
            padding-bottom: 5px;
            line-height: 30px;
        }
        .form_toggle{width: 89%;}
        .form_toggle{padding: 10px;}
        input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email,input.wpcf7-form-control.wpcf7-text.wpcf7-tel.wpcf7-validates-as-required.wpcf7-validates-as-tel {margin-bottom: 8px;}
        span.wpcf7-form-control-wrap.your-email ,span.wpcf7-form-control-wrap.your-tel{width: 100%;}
        #wpcf7-f721-o1 input[type="submit"]{display: block;margin: 0 auto;}
    }
    .entry-header h1{z-index: 1;font-size: 30px;font-family: 'gisha-bold';}

    /* 22-10-18 aj */
    .fill-kontakt-title {padding: 0;}
    .bestall-page-kontakt-title {background: #1b1b1b;text-align: center;padding: 16px 44px 16px;}
    .bestall-page-kontakt-title h2 {color: #fff;font-family: 'gisha-bold';font-size: 60px;line-height: 65px;}
    @media only screen and (max-width: 1023px) {
        .bestall-page-kontakt-title {padding: 14px 44px 13px;}
        .bestall-page-kontakt-title h2 {font-size: 30px;}
    }

    @media only screen and (max-width: 767px) {
        .bestall-page-kontakt-title h2 {line-height: 38px;}
        .fill-form {padding-top: 82px;}
    }

    @media only screen and (max-width: 641px) {
        .fill-form {padding-top: 58px;}
    }
    /*update 22/11/18*/

    .entry-header p{position: absolute; left: 0; right: 0; text-align: center; top:20px; }
    .entry-header p{z-index: 1;}

/* read more css 5-11-19 */
.read_div + span a.read-more {
font-size: 18px;
color: #f03c18;
margin-top: 10px;
display: inline-block;
}

/* fixes */
.page-template-page-templateshome-php .header.darkhead {
    background: #fff !important;
}

.page-template-page-templateshome-php .header.darkhead .desktop-active {
    display: block !important;
}

.page-template-page-templateshome-php .header {
    padding: 17px 44px 17px;
}


body {
    padding-top: 60px;
}

/* Header */
/* breakpoint: 1120px */

.header {
    background-color: #fff;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    z-index: 955;
    padding: 17px 44px 17px;
}

.header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #fff;
}

.header li {
    float: left;
    position: relative;
}

.header li a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #545454;
    font-size: 16px;
    font-weight: bold;
}

.header li a:hover,
.header .mobile-btn:hover {
    /*background-color: #f4f4f4;*/
    color: #000;
}

.header li:hover>ul {
    margin: 0;
    opacity: 1;
    visibility: visible;
}

/* Desktop sub menu */
@media (min-width: 1120px) {
    .header li>ul {
        position: absolute;
        top: 77px;
        left: -100px;
        z-index: 99;
        width: auto;
        min-width: 230px;
        height: auto;
        margin: 10px 0px 0px 0px;
        padding: 0;
        background-color: #ffffff;
        opacity: 0;
        visibility: hidden;
        transition: all .6s ease 0s;
        background: transparent;
    }

    .header li>ul li {
        float: none;
    }

    .header li>ul li a {
        background: #228224;
        color: #fff;
    }

    .header li>ul li a:hover {
        background: #18691a;
        color: #FFF;
    }
}

.header .logo {
    display: block;
    float: left;
    font-size: 2em;
    padding: 0;
    text-decoration: none;
}

.header .logo img {
    max-width: 211px;
    vertical-align: middle;
}

.header .menu {
    max-height: 0;
    float: right;
    max-height: none;
    transition: opacity .5s ease-out;
}

.header .mobile-icon {
    cursor: pointer;
    display: none;
    float: right;
    padding: 28px 20px;
    position: relative;
    user-select: none;
}

.header .mobile-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.header .mobile-icon .navicon:before,
.header .mobile-icon .navicon:after {
    background: #333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.header .mobile-icon .navicon:before {
    top: 5px;
}

.header .mobile-icon .navicon:after {
    top: -5px;
}

.header .mobile-btn {
    display: none;
}

.header .mobile-btn:checked~.menu {
    max-height: none;
    opacity: 1;
}

.header .mobile-btn:checked~.mobile-icon .navicon {
    background: transparent;
}

.header .mobile-btn:checked~.mobile-icon .navicon:before {
    transform: rotate(-45deg);
}

.header .mobile-btn:checked~.mobile-icon .navicon:after {
    transform: rotate(45deg);
}

.header .mobile-btn:checked~.mobile-icon:not(.steps) .navicon:before,
.header .mobile-btn:checked~.mobile-icon:not(.steps) .navicon:after {
    top: 0;
}

.header li:before {
    display: none;
}

/* breakpoint: 1120px */

@media (max-width: 1120px) {
    body {
        padding-top: 70px;
    }
    .header {
        padding: 5px 0 !important;
    }
    .header .mobile-icon {
        display: inline-block;
    }
    .header ul {
        overflow: hidden;
    }
    .header .menu {
        clear: both;
        float: none;
        max-height: 0;
        opacity: 0;

        /*margin-left: -20px;
        margin-right: -20px;*/
        padding: 0;

        border-top: 1px solid #eee;
        margin-top: 60px;
    }
    .header .logo img {
        max-width: 235px;
        width: 152px;
        margin: 12px;
    }
    .header li {
        float: none;
    }
    .header ul li {
        text-align: left;
    }
    .header ul li a {
        padding: 20px 20px;
        border-bottom: 1px solid #f4f4f4;
        text-decoration: none;
        font-weight: bold;
        color: #368242;
    }
    .header li>ul li a {
        padding: 10px 20px;
        font-weight: 200;
        margin-left: 10px;
    }
    /*.header ul li ul li a:before {
        content: "-";
        display: inline-block;
        padding-right: 10px;
    }*/
    .header ul li a:last-of-type {
        border: 0;
    }

    .banner .black-box h1{
        word-spacing:9999px;
    }

    .banner .black-box h1 p{
        word-spacing:normal;
    }
}

/* Custom fallbacks */
@media (max-width: 1475px) {
    .header li a {
        padding: 20px 10px;
    }
}

@media (min-width: 1120px) and (max-width: 1291px) {
    .header li a {
        font-size: 13px;
    }
}
form.wpcf7-form .contact-input {
    color: #515151 !important;
}
form.wpcf7-form .contact-input:hover {
    color: #30803C !important;
}