:root{
    --primary-color: #041E42;
}

.bold{
    font-weight: bold;
}

.red{
    color:red;
}

span.canceledtext{
    display:inline-block;
    font-weight:bold;
    color:red;
    padding: 0 0 0 30px; 
}

.center{
    text-align:center;
}

.noindent{
    text-indent:0;
}

.indent{
    margin-left:20px;
}

.arrow {
    border: solid var(--primary-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
  }
  
.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

hr{
    width:100%;
    max-width:870px;
    margin:auto;
    margin-top:10px;
    margin-bottom:10px;
    height:1px;
    border:none;
    border-top:1px solid var(--primary-color);
}

.housedescription{
    background: url(/images/House_Panorama_bluebw_1920.jpg);
    background-size:contain;
    width:100%;
}

.housedescriptioncontent{
    display: flex;
    flex-direction:column;
    width:100%;
    justify-content: center;
    text-align: center;
}

.imagetext{
    width:80%;
    margin:25px auto 0;
}

.houseboilerplate{
    display: flex;
    flex-direction:row;
    margin: -20px 12% 25px;
}

.seal{
    width:100px;
    margin:auto;
}

.housetext{
    margin: auto;
    color:white;
    text-align: justify;
    padding-left: 5px;
    line-height: 1.3em;
}

.housespeaker{
    display:flex;
    flex-direction:row;
    box-sizing: border-box;
    background-color: white;
    z-index: 2;
    border: 3px solid var(--primary-color);
    /* margin:10px 10px 10px 10px; */
    margin:10px auto;
    padding:5px 0;
}

.speakerphoto{
    width:25%;
    object-fit: contain;
    margin:5px;
}

.housespeakercontent{
    display:flex;
    flex-direction:column;
    justify-content: space-between;
    padding:5px;
    width:80%;
}

.welcomemessage{
    color:darkslategrey;
}

.housespeakerboilerplate{
    display:flex;
    flex-direction:row;
    margin-top:10px;
    justify-content: space-between;
    align-items: flex-end; 
}

.housespeakertitle{
    color:darkgray;
}

.housespeakerwebpage{
    color:darkslategrey;
}

.houseinfo{
    display:flex;
    flex-direction:row;
}

.houselinks{
    width:33%;
    padding:10px;
}

.houselinks h2{
    margin:0;
    margin-bottom:5px;
    width:90%;
    color: var(--primary-color);
    font-size: 1.4em;
    font-family: "Times New Roman", Times, serif;
    border-bottom: 1px solid var(--primary-color);
}

.houselinks ul{
    list-style-type: disc;
    margin-left:10px;
}

.houselinks li{
    list-style-type: disc;
    margin-left:10px;
    line-height: 1.5em;
}

.meetingschedule{
    width:66%;
    /* margin-right:10px; */
    display:flex;
    flex-direction:column;
    background-color: lightgray;
    border-color: gray;
    border-radius: 0.7em;
}

.meetingscheduleheader{
    display:flex;
    flex-direction:column;
    margin: 0 0 10px 0;
    padding: 10px 0;
    color:white;
    text-align:center;
    background-image: url(/images/ms_header_1_blue2.png);
    background-size: 102% 102%;
    background-repeat: no-repeat;
    border-radius: 0.7em;
}

.meetingscheduleheader p{
    margin:0;
    font-size: 3.0em;
    font-family: 'Italianno',cursive;
    text-shadow: 2px 2px 4px #000000;
    text-align:center;
}

.todaytime{
    font-size: 1.0em;
    text-shadow: 2px 2px 4px #000000;
    color: white;
    text-align:center;
}

.meetingschedulelabel{
    display: flex;
    flex-direction:row;
    margin-top:-20px;
}

.meetingschedulelabel p{
    background-color:white;
    border:1px solid black;
    margin-left:10px;
    height: 20px;
    padding: 4px;
    z-index:8;
    font-size:1.1em;
    font-family: 'Open Sans', sans-serif;
    font-weight:800;
    letter-spacing: -.04em;
}

.todaysmeetings{
    margin-top:-30px;
    margin-bottom:10px;
    padding-right:15px;
    max-height:400px;
    overflow-y:auto;
    background-color: lightgray;
    border-color: gray;
    border-radius: 0.7em;
    border-top:3px double gray;
    border-bottom:3px inset black;
    background-image: url('/images/seal_backgrounds_house.png');
    background-position: right center;
    background-size: 50%;
    background-repeat: no-repeat;
}

.upcomingmeetings{
    margin-top:-30px;
    padding-right:15px;
    max-height:400px;
    overflow-y:auto;
    background-color: lightgray;
    border-color: gray;
    border-radius: 0.7em;
    border-top:3px double gray;
    border-bottom:3px inset black;
    background-image: url('/images/seal_backgrounds_house.png');
    background-position: right center;
    background-size: 50%;
    background-repeat: no-repeat;
}

.meetingschedule ul{
    list-style-type: none;
    margin:0;
    display: block;
    line-height:1.2em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

.meetingschedule ul li{
    padding:10px 0 10px 0;
}

.meetingschedule ul li p{
    font-size: 1.0em;
    line-height: 1.2em;
    margin: 0;
    padding-top: 5px;
    padding-left: 10px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-indent: -15px;
}

.meetingschedule ul li a{
    font-size: 1.0em;
    line-height: 1.2em;
}

.meetingschedule ul li a:link{
    font-size: 1.0em;
    line-height: 1.2em;
}

@media(max-width: 700px){
    .houseboilerplate{
        flex-direction:column;
        justify-content: center;
    }

    .seal{
        margin:10px auto;
    }

    .housespeaker{
        flex-direction:column;
        justify-content: center;
    }

    .speakerphoto{
        margin: 5px auto;
        width:50%;
    }
    
    .housespeakercontent{
        padding:10px;
        width:90%;
    }

    .houseinfo{
        flex-direction:column;
        margin:5px auto;
    }
    
    .houselinks{
        margin:5px auto;
        width:70%;
        padding:10px;
    }

    .meetingschedule{
        margin:5px auto;
        width:98%;
    }

    .meetingscheduleheader p{
        font-size: 2.0em;
    }

    .meetingschedule ul{
        line-height:1.0em;
    }

    .meetingschedule ul li p{
        font-size: 0.8em;
        line-height: 1.0em;
    }

    .meetingschedule ul li a{
        font-size: 0.8em;
        line-height: 1.0em;
    }

    .meetingschedule ul li a:link{
        font-size: 0.8em;
        line-height: 1.0em;
    }

    .meetingschedulelabel{
        margin-top:-10px;
    }

    .meetingschedulelabel p{
        padding-top:0;
    }

    .todaysmeetings{
        margin-top:-15px;
    }
    
    .upcomingmeetings{
        margin-top:-15px;
    }
}