@import 'https://fonts.googleapis.com/css?family=Amatic+SC:400,700|Open+Sans:300,400,600,700';

@import url('https://fonts.googleapis.com/css?family=Anton|Fjalla+One&subset=latin-ext');


*{
    padding:0;
    margin:0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

body{
    background:white;
    overflow-x:hidden;
}

#header{
    display: block;
    position: relative;
    padding-top:90px;
}

#header #top{
    display: block;
    position: fixed;
    height:110px;
    line-height:110px;
    width:100%;
    background:#d45144;
    z-index:3;
    top:0;
    padding:0 100px;
    box-sizing: border-box;
    transition: all .3s;
}

#header #top.thin{
    height:70px;
    line-height:70px;
}


#header #top #logo{
    display: inline-block;
    position: relative;
    width:auto;
    height:auto;
    border:0;
    font-size:28px;
    font-weight: 700;
    color:white;
    z-index:4;
}


#header #top #logo a{
    color:inherit;
    text-decoration: none;
    font-size:inherit;
    font-weight:inherit;
}

#header #top #mobile_menu{
    z-index:4;
    font: normal normal normal 14px/1 FontAwesome;
    font-size:30px;
    line-height:50px;
    text-align: center;
    border-radius:25px;
    width:50px;
    height:50px;
    overflow:hidden;
    display: none;
    position: relative;
    float:right;
    margin-top:30px;
    transition: all .3s;
    cursor:pointer;
    background:white;
    color:#d45144;
}

#header #top.thin #mobile_menu{
    margin-top:10px;
}

#header #top ul#menu{
    display: inline-block;
    position: relative;
    float:right;
    height:100%;
    list-style-type: none;
    line-height:inherit;
}

#header #top ul#menu li{
    display: inline-block;
    vertical-align: top;
    height:100%;
    position: relative;
    line-height:inherit;
}

#header #top ul#menu li a{
    display: block;
    height:100%;
    width:auto;
    text-align:center;
    line-height:inherit;
    text-decoration: none;
    margin:0 5px;
    padding:0 10px 0 10px;
    font-weight:400;
    font-size:15px;
    transition: background .3s, color .3s, padding .3s;
    cursor:pointer;
    color:white;
    background:#d45144;
}


#header #top ul#menu li a:hover{
    padding-top:15px;
    background:white;
    color:#d45144;
}

#page{
    display: block;
    width:100%;
    height:auto;
    padding:50px;
    box-sizing: border-box;
    position: relative;
    font-size:0;
}

#page.google_maps{
    padding:0;
}

#google_maps{
    display: inline-block;
    position: relative;
    vertical-align: top;
    width:100%;
    height:900px;
    -webkit-transition: margin 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition:         margin 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
/*
    -webkit-transition: margin .7s;
    transition:         margin .7s;
*/
    overflow: hidden;
    z-index:1;
    
}

#google_maps.crop{
    margin-left:-150px;
    margin-right:-350px;
}

#info_window{
    position:absolute;
    vertical-align: top;
    display: inline-block;
    right:0;
    width:0px;
    min-width:0px;
    white-space: nowrap;
    height:900px;
    background:white;
    -webkit-transition: all 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition:         all 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
    
/*
    -webkit-transition: width .7s;
    transition:         width .7s;
*/
    text-align: left;
    box-sizing: border-box;
    z-index:2;
}

#info_window #arrow{
    font: normal normal normal 14px/1 FontAwesome;
    z-index:2;
    background:#d45144;
    color:white;
    font-size:30px;
    line-height:50px;
    text-align: center;
    border-radius:25px;
    width:50px;
    height:50px;
    overflow:hidden;
    display: block;
    transition:all 1s;
    opacity: 1;
    padding:0;
    margin:0;
    position: absolute;
    top:50%;
    cursor:pointer;
    left:0;
}

@-webkit-keyframes jumpy {
   from { left:-25px; }
   80% { left:-25px; }
   90% { left:-35px; }
    to { left:-25px; }
}

#info_window.show{
    min-width:450px;
    width:30%;
}

#info_window.show #arrow{
    opacity: 1;
    left:-25px;
    -webkit-animation-name: jumpy;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    -wekit-animation-timing-function: easeInOutBack;
}

#info_window.show_more{
    min-width:410px;
    width:95%;
}

#info_window.show_more #arrow{
	transform: rotateZ(180deg);
    -webkit-animation-name: none;
}


#info_window #header,
#info_window #middle,
#info_window #footer{
    display: block;
    width:100%;
    height:auto;
    padding:0;
    margin:0;
    background:none;
    overflow: visible;
    font-size:0;
    position: relative;
}

#info_window #header #img_wrapper{
    width:100%;
    height:300px;
    display: block;
    position: relative;
    overflow:hidden;
}

#info_window #header img{
    display: block;
    position: absolute;
    left: 0; 
    right: 0; 
    top:0;
    bottom:0;
    width:100%;
    min-height:300px;
    margin:auto;
}

#info_window #header h1.church_name{
    font-size:32px;
    line-height:32px;
    margin:30px 30px 0px 30px;
    white-space: normal;
}

#info_window #header p.adress{
    font-size:14px;
    line-height:20px;
    color:gray;
    font-style: italic;
    margin:0px 30px 10px 30px;
    white-space: normal;
}

#info_window #middle #block{
    display: inline-block;
    vertical-align: top;
    width:100%;
    height:auto;
    max-height:430px;
    overflow: visible;
    padding:10px 30px 10px 30px;
    box-sizing: border-box;
    width:1000px;
    -webkit-transition: all 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transition:         all 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

#info_window.show_more #middle #block{
    width:33%;
}

#info_window #middle #block h2{
    font-size:18px;
    line-height:18px;
    color:black;
    text-align: left;
    margin-bottom:20px;
}

#info_window #middle #block ul#services,
#info_window #middle #block ul#records,
#info_window #middle #block ul#general_information{
    display: block;
    list-style-type: none;
    height:auto;
    width:100%;
    overflow: visible;
}

#info_window #middle #block ul#services li,
#info_window #middle #block ul#records li,
#info_window #middle #block ul#general_information li,
#page.all_churches ul#services li,
#page.all_churches ul#records li{
    display: block;
    font-size:14px;
    line-height:22px;
    text-align: left;
    position: relative;
}

#page.all_churches ul#records li:not(.spacer):not(.date),
#info_window #middle #block ul#records li:not(.spacer):not(.date){
    cursor:pointer;
}

#page.all_churches ul#records li:not(.spacer):not(.date):before,
#info_window #middle #block ul#records li:not(.spacer):not(.date):before{
    font: normal normal normal 14px/1 FontAwesome;
    content:'\f04b';
    z-index:2;
    margin-right:5px;
    background:white;
    color:#d45144;
    font-size:9px;
    line-height:20px;
    text-align: center;
    width:19px;
    border-radius:12px;
    height:19px;
    overflow: visible;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    border:1px solid #d45144;
}

#page.all_churches ul#records li:not(.spacer):not(.date):hover,
#info_window #middle #block ul#records li:not(.spacer):not(.date):hover,
#page.all_churches ul#records li:not(.spacer):not(.date).active,
#info_window #middle #block ul#records li:not(.spacer):not(.date).active{
    color:#d45144;
}
#page.all_churches ul#records li:not(.spacer):not(.date):hover:before,
#info_window #middle #block ul#records li:not(.spacer):not(.date):hover:before,
#page.all_churches ul#records li:not(.spacer):not(.date).active:before,
#info_window #middle #block ul#records li:not(.spacer):not(.date).active:before{
    color:white;
    background:#d45144;
}

#page.all_churches ul#records li:not(.spacer):not(.date).active:before,
#info_window #middle #block ul#records li:not(.spacer):not(.date).active:before{
    content:'\f04c';
}

#page.all_churches ul#records li:not(.spacer):not(.date).pause:before,
#info_window #middle #block ul#records li:not(.spacer):not(.date).pause:before{
    content:'\f04b';
}

#info_window #middle #block ul#services li.spacer,
#info_window #middle #block ul#records li.spacer,
#info_window #middle #block ul#general_information li.spacer,
#page.all_churches ul#services li.spacer,
#page.all_churches ul#records li.spacer{
    display: block;
    height:20px;
}

#info_window #middle #block ul#services li b,
#info_window #middle #block ul#records li b,
#info_window #middle #block ul#general_information li b,
#page.all_churches ul#services li b,
#page.all_churches ul#records li b{
    font-weight:600;
}

#info_window ul .time,
#info_window ul .title,
#info_window ul .location,
.all_churches ul .time,
.all_churches ul .title,
.all_churches ul .location{
    display: inline-block;
    vertical-align: top;
    overflow: visible;
    width:auto;
    white-space: normal;
}

#info_window ul .time,
.all_churches ul  .time{
    width:50px;
}

#info_window ul .location,
.all_churches ul .location{
    width:150px;
}

.all_churches ul .title{
    width:calc(100% - 240px);
}

#info_window ul .title{
    width:calc(100% - 50px);
    white-space: normal;
}

#info_window #footer a.button{
    display: inline-block !important;
    margin:10px 0px 10px 30px !important;
    font-size:15px !important;
    line-height:20px !important;
    float:none !important;
    clear:none !important;
    cursor:pointer;
}



#info_window #blurred,
#info_window #blurred_wrap{
    display: block;
    width:100%;
    height:100%;
    transition: all .25s;
    overflow: hidden;
}

#page.spacer{
    height:70px;
    padding:0 !important;
}

#page.no_padding{
    padding:0;
}

#page #left,
#page #right{
    display: block;
    float:left;
    width:50%;
    height:600px;
    padding:50px;
    box-sizing: border-box;
}

#page #right{
    float:right;
}

#page.img,
#page #left.img,
#page #right.img{
    background-image: url('OGMT9N0_2.jpg');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#page #clear{
    clear:both;
}

#page.hero{
    background-image: url('images/loenen_02.jpg');
    height:80vh;
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding:200px 0 0 100px;
    position: relative;
}

#page.hero a.copyright{
    position: absolute;
    bottom:2px;
    left:2px;
    font-size:7px;
    color:#414141;
}

#page.colored,
#page #left.colored,
#page #right.colored{
    background: #d45144;
    text-align: center;
}

#page.colored h1,
#page .colored h1,
#page.colored h2,
#page .colored h2,
#page.hero h1,
#page.hero h2{
    color:white;
    position: relative;
    display: inline;
    
}

#page h1{
    font-size:34px;
    font-weight:600;
    color:#d45144;
}

#page h1.title:before,
#page h1.title:after{
    display: inline-block;
    content:'-';
    margin:0 10px;
}

#page h2{
    font-size:26px;
    font-weight:600;
    color:#d45144;
}

#page p{
    font-size:17px;
    font-weight:400;
}

#page.center{
    text-align: center;
}

#page.colored h2,
#page .colored h2{
    font-size:24px;
    line-height:27px;
    font-weight: 400;
}

#page.hero h1,
#page.hero h2{
    display: inline-block;
    background:rgba(0,0,0,.56);
    width:auto;
    float:left;
    clear:both;
    padding:10px;
    margin:5px 0;
}
#page.hero h1{
    font-size:32px;
    line-height:32px;
    font-weight: 600;
}


#page.hero h2{
    font-size:20px;
    line-height:20px;
    font-weight: 300;
}

#page.hero a.button{
    margin-top:50px;
}

#page a.button,
#page.hero a.button,
#page.portfolio #item a{
    background: #d45144;
    padding:5px 15px;
    border-radius:3px;
    color:white;
    line-height:35px;
    font-size:25px;
    cursor: pointer;
    float:left;
    clear:both;
    text-decoration: none;
}



#page a.button:hover,
#page.hero a.button:hover,
#page.portfolio #item a:hover{
    background: #ba3629;
}

#page.colored p,
#page .colored p{
    font-weight:300;
    font-size:16px;
    color:white;
    display: block;
    margin:0 auto;
    text-align: center;
    line-height:26px;
    letter-spacing: .5px;
}


.all_churches ul#services,
.all_churches ul#records{
    display: inline-block;
    text-align: left;
    vertical-align: top;
    width:50%;
    list-style-type: none;
    text-align:center;
    font-size:14px;
    max-width:570px;
    margin:10px 0;
    
}


#footer{
    display: block;
    width:100%;
    height:auto;
    padding:100px 10px;
    background:#d45144;
    position: relative;
    box-sizing: border-box;
}

#footer span{
    display: block;
    width:100%;
    text-align: center;
    color:white;
    font-size:14px;
}

#footer a{
    color:inherit;
}

span.spacer{
    display: block;
    width:100%;
    height:50px;
}

.plyr{
    display: block;
    position:fixed;
    bottom:0;
    width:100%;
    z-index:4;
    height:0;
    transition: height .3s;
}

.plyr.show{
    height:32px;
}

.plyr--audio .plyr__controls {
    padding:0 10px;
}


@media (max-width: 1400px) {
    #info_window.show_more{
        width:calc(100% - 25px)
    }
    
    #info_window.show_more #middle #block{
        width:calc(35vw - 25px);
        min-width:0px;
    }
    
    #info_window.show_more #middle #block:last-child{
        width:calc(30vw - 25px);
        overflow: hidden;
        white-space: normal;
    }
}



@media (max-width: 1000px) {
    #info_window,
    #google_maps{
        height:1200px;
    }
    
    #info_window.show_more #middle #block{
        width:calc(50vw - 25px);
        min-width:0px;
    }
    
    #info_window.show_more #middle #block:last-child{
        display: block;
        width:calc(50vw - 25px);
        left:calc(50vw - 25px);
        position: absolute;
    }
}

@media (max-width: 950px) {
    #header #top{
        padding:0 30px;    
    }
}

@media (max-width: 850px) {
    
    #header #top{
        background:#d45144;
    }
    
    #header #top #logo{
        color:white;
        font-size:25px;
    }
    
    #header #top #mobile_menu{
        display: inline-block;
    }
    
    #header #top ul#menu{
        display: block;
        width:100%;
        height:100%;
        position: fixed;
        float:none;
        top:0;
        left:-100%;
        right:0;
        bottom:0;
        padding-top:100px;
        transition: all .3s;
        overflow: hidden;
        z-index:3;
        background:#d45144;
    }
    
    #header #top ul#menu.show{
        left:0;
    }

    #header #top ul#menu li{
        display: block;
        width:100%;
        height:100px;
        text-align: center;
    }

    #header #top ul#menu li a{
        margin:0;
        padding:0;
        line-height: 100px;
        color:white;
    }
    
    #header #top ul#menu li a:hover{
        padding-top:0;
        color:#d45144;
        background:white;
    }
    
    #page{
        padding:60px 20px;
    }

    
    #page h1{
        font-size:24px;
    }

    
    #page p{
        font-size:14px;
    }

    
    #page h2{
        font-size:20px;
    }
    

    #page.hero{
        padding:70px 50px;
        text-align: center;
    }
    
    #page.hero h1{
        font-size:28px;
        line-height:28px;
        font-weight: 600;
        float:none;
    }


    #page.hero h2{
        font-size:17px;
        line-height:17px;
        font-weight: 300;
        padding:7px;
        float:none;
    }

    #page.hero a.button{
        line-height: 29px;
        font-size: 19px;
        float:none;
        display: block;
        width:200px;
        margin:0 auto;
        margin-top:150px;
    }
    


    .all_churches ul#services,
    .all_churches ul#records{
        display: block;
        width:100%;
        margin:50px 0;

    }
    


    .all_churches ul#services li,
    .all_churches ul#records li{
        margin-bottom:5px;

    }
    
    #google_maps.crop{
        margin:inherit;
    }
    
    #info_window{
        transition: none;
        display: block;  
        position: relative;
        height:0px;
        margin-bottom:0px;
        min-width:0px;
    }
    
    
    #info_window p.adress{
        white-space: normal;
    }
    
    #info_window ul .time,
    #info_window ul .title,
    #info_window ul .location,
    .all_churches ul .time,
    .all_churches ul .title,
    .all_churches ul .location{
        overflow:visible;
    }
    
    #info_window.show{
        width:100%;
        min-width:0px;
        height:auto;
        margin-bottom:50px;
    }
    
    #info_window #arrow,    
    #info_window #footer a.button.more{
        display: none !important;   
    }
    
    #info_window #middle #block,
    #info_window.show_more #middle #block:last-child{
        left:0;
        height:auto;
        display: block;  
        position: relative;
        width:100%;
        overflow: visible;
        min-width:0px;
        margin:20px 0;
    }
}

.emailinverse{
    unicode-bidi: bidi-override;
    direction: rtl;
}