/*
Theme Name: Divi Child
Description: Child theme for Divi theme
Author:
Author URI:
Template: Divi
Version: 1.0.0
Text Domain:  Divi
blau: #0264AF
*/



/*Logo*/
#logo {max-height: 200px!important;padding: 15px;background-color: #fff;box-shadow:0 0 5px 0px rgba(0,0,0,.4)}
.et-fixed-header #logo {max-height: 100px!important;}
.et-fb #logo {max-height: 100%!important;}

/*Menü*/
#top-menu .buttonleft {margin-left:80px!important;}
.menubutton a{border: 2px solid #0264AF;padding:15px 20px!important;border-radius:5px;}
.menuanfahrt a{background-image:url(../../uploads/2018/06/icon_auto.png);background-size: 26px;background-repeat: no-repeat;background-position: center center;color: rgba(2,100,175,0)!important;}
#top-menu .menubutton {top:-8px;}
#et_mobile_nav_menu .menubutton{margin-bottom:10px;}
#et_mobile_nav_menu .menubutton a{border-bottom: 1px solid #0264AF!important;text-align: center;}
#et-top-navigation nav > ul > li#menu-item-251 >  a{color:rgba(0,0,0,.6)!important;}

/*CUSTOM*/
@media screen and (min-width: 891px){#start_boxueberbild{top: -115px;margin-top: -45px;}}
@media screen and (max-width: 890px){#start_boxueberbild{padding:40px 0}}
.blurb-padding .et_pb_blurb_description p, .blurb-padding .et_pb_blurb_description {padding: 1em 8%!important;}
.mobilmittig, .mobilmittig p, .mobilmittig h2, .mobilmittig h3{text-align:center!important}
.modallink{color: #0264AF}
.modallink::after{font-family: 'ETmodules';content: "\35";}
.modallink:hover, .modallink2:hover{cursor:pointer;}

/*Space for Cookie Notice DIVI*/
@media screen and (min-width: 900px){#footer-bottom{padding-bottom:45px!important;}}
@media screen and (max-width: 899px){#footer-bottom{padding-bottom:80px!important;}}

/*MODAL*/
.page-with-modal .modal{overflow: hidden;animation: fade 1s forwards;animation-delay: 0s;display:none;position: fixed;top: 0;left: 0;width: 100%;height: 100%;z-index: 999999;background-color: rgba(0,0,0,.5);}
.page-with-modal .modal .modalinner {overflow-x: hidden;overflow-y: auto;max-height: 100%;padding: 30px;margin: 100px auto;max-width: 500px!important;background-color: #fff;border-radius: 10px;position: relative;}
.page-with-modal .modalclose{color:#006f43;transition:all.5s;position: absolute;top: -20px;right: -20px;font-size: 24px;border-radius: 50%;border: 1px solid #006f43;width: 30px;height: 30px;text-align: center;line-height: 27px;box-shadow: 0px 0px 4px #979797;font-weight: 600;}
.page-with-modal .modalclose:hover{cursor:pointer;opacity:.8;transform: rotate(90deg);}
.page-with-modal .active_modal{display:inline-block!important;}
.page-with-modal .active_modal_body{overflow:hidden!important;}
@keyframes fade {from {opacity: 0;}	to {opacity: 1;}}
.et-fb #page-container .modal{background-color: rgba(0,0,0,.5);}
.et-fb #page-container .modal::before {content: "MODAL";color: rgba(255,255,255,.1);font-size: 55px;position: absolute;text-align: center;width: 100%;top: 8px;}
.et-fb #page-container .modal .modalinner {background-color: #fff;}
.page-with-modal .modal:hover{cursor:zoom-out;}
.page-with-modal .modal .modalinner:hover{cursor:default!important;}

/*Galerie*/
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item{width: 31.33%;margin: 1%!important;clear:none!important;}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item:nth-child(4){clear:both!important;}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item:nth-child(7){clear:both!important;}

/*CF7*/
.cfdivider{clear:both;padding-top:10px;}
.cfhalfwidth{width:48%; float:left;margin:1%}
@media screen and (max-width: 600px){.cfhalfwidth{width:98%!important;padding-bottom: 10px;}}
.wpcf7-select{color:#000 !important}
.wpcf7 input[type="text"],.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],.wpcf7 input[type="select"],
.wpcf7 input[type="date"],.wpcf7 select,.wpcf7 textarea
{color: #000;border-color: #666 !important;width:100%;padding:5px;font-size:16px;height:45px;}
::-webkit-input-placeholder {color: #888!important;}
:-ms-input-placeholder {color: #888!important;}
::-moz-placeholder {color: #888!important;opacity: 1;}
:-moz-placeholder {color: #888!important;opacity: 1;}
.wpcf7 textarea{height:228px !important;color: #000 !important;}
.wpcf7-quiz{width: 80px!important;}
.wpcf7-submit:hover{opacity:.8;cursor:pointer}
.wpcf7-not-valid-tip{font-size:14px !important;}

select {-moz-appearance: none;-webkit-appearance: none;background-image: url(img/dropdown.png);background-repeat: no-repeat;background-position: 98% center;background-size: 18px;}
select:hover{cursor:pointer}
input[type="checkbox"]{transform:scale(1.4);}

.wpcf7-submit{
color: #ffffff !important;
border-width: 0px !important;
border-color: #ffffff;
font-family: 'Didact Gothic',Helvetica,Arial,Lucida,!sans-serif important;
background-image: linear-gradient(138deg,#0377bc 0%,#059bd6 100%) !important;
padding-top: 5px !important;
padding-right: 7% !important;border-radius: 3px;
padding-bottom: 5px !important;
padding-left: 7% !important;font-size: 20px;
font-weight: 500;
line-height: 1.7em !important;
}

/*Footer*/
#footer-info {float: none !important;text-align: center !important}