body {
    background: #f0f5f9;
    padding: 0;
    margin: 0;
}

.main {
    width: 100%;
    background: #f0f5f9;

}

header.nav {
    padding: 20px;
    max-width:1160px;
    margin-left: auto;
    margin-right: auto;
}

header.nav img{
    max-width: 250px;
}

.nav .controls {
	display: inline-block;
    float: right;
}

.nav .controls .nav_btn{
	color: #7e8085;
	padding: 1.5rem;
}

.nav .controls .nav_btn:hover{
	color: #2c2e30;
}

.nav .controls .nav_btn.nav_btn_primary {
    padding: 1rem;
}

.nav .controls .nav_btn.nav_btn_primary span{
    padding: 0.5rem 1rem;
    background: #47a599;
    color: #fff;
    border-radius: 1.5rem;

    transition: background 0.3s ease;

}

.nav .controls .nav_btn.nav_btn_primary:hover span{
    background: #4bac95
}

.nav .controls i {
    vertical-align: middle;
    font-size: 14px;
}

.nav .controls span {
    vertical-align: middle;
}


.wrap{
	max-width: 1160px;
	margin-left: auto;
    margin-right: auto;
}

.admin_section,
.app_section {
	width: 49%;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}

.app_section img{
	max-width: 80%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.notice {
	background: #47a599;
    background: -moz-linear-gradient(-45deg, #47a599 0%, #5ace7d 100%);
    background: -webkit-linear-gradient(-45deg, #47a599 0%,#5ace7d 100%);
    background: linear-gradient(135deg, #47a599 0%,#5ace7d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#47a599', endColorstr='#5ace7d',GradientType=1 );
    color: #fff;
    border-radius: 3px;
    overflow: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.07) !important;

    padding: 30px 35px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.notice a {
    color: #fff;
    padding: 3px 15px;
    margin-left: 10px;
    border: 2px solid #fff;
    border-radius: 15px;
}

.button_container{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

.button_container h4 {
    margin-bottom: 15px;
    margin-top: 15px;
}


.btn {
	cursor: pointer;
}

.text-center{
	text-align: center;
}

.text-right {
	text-align: right;
}

.text-left {
	text-align: left;
}

.app_section {
    position: relative;
}

.data_elements {
    width: 49%;
    margin-left:26%;
    position: absolute;
    padding-top: 17%;
}

.data_elements .item[data-action="notification"] {
    background: #fff;
    box-shadow: 0 0 10px 1px #33333321;
    padding: 15px;
    border-radius: 5px;
}

.data_elements .item[data-action="notification"] img{
    display: inline-block;
    width: 20%;
    vertical-align: middle;
    margin-right: 1%; 
}

.data_elements .item[data-action="notification"] span{
    display: inline-block;
    width: 75%;
    vertical-align: middle;
}

.data_elements .item[data-action="sermon"],
.data_elements .item[data-action="event"],
.data_elements .item[data-action="news"]{
    background: #fff;
    padding: 10px;
    box-shadow: 0 0 10px 1px #33333321;
    border-radius: 3px;
    overflow: hidden;
}

.data_elements .item[data-action="sermon"] strong{
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.data_elements .item[data-action="sermon"] ul li{
    border-bottom: 1px solid #eee;
    padding: 10px;
    font-size: 14px;
}

.data_elements .item[data-action="sermon"] ul li:first-child{
    border-top: 1px solid #eee;
    font-weight: 700;
    background: #efefef4d;
}

.data_elements .item[data-action="sermon"] ul li:before{
    content: "►";
    margin-right: 10px;
    color: #48a698;
}


.data_elements .item[data-action="sermon"] iframe {
    max-width: 100%;
    height: 170px;
}

.data_elements .item[data-action="news"] strong{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.data_elements .item[data-action="news"] p{
    line-height: 21px;
    font-size: 14px;
    margin-bottom: 10px;
}

.news_actions {
    border-top: 1px solid #ddd;
    padding-top:  15px;
    display: flex;
    padding-bottom: 10px
}

.news_actions .news_button{
    flex: 1;
    text-align: center;
}

.news_actions .news_button i{
    display: inline-block;
    vertical-align: middle;
    font-size: 1em;
    margin-right: 5px;
}

.news_actions .news_button span{
    display: inline-block;
    vertical-align: middle;
    font-size: 0.9em;
    font-weight: 600;
}

.fc-toolbar h2 {
    font-size: 1em !important;
    color: #fff;
    display: block;
    text-align: center;
    width: 100%;
}

.fc-left{
    display: block;
    width: 100%;
}

.fc-right{
    display: none;
}

.fc-toolbar.fc-header-toolbar {
    margin: -10px;
    padding: 10px;
    background: #32756ae6;
    margin-bottom: 15px;
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td{
    border: none !important;
}

.fc-scroller {
  height: 250px !important;
}

.fc-today{
    border: none !important;
    background: #b8dbd6 !important;
}

.fc-event, .fc-event-dot{
  background: #47a397 !important;
  border-color: #47a397 !important;
}



footer {
    border-top: 1px solid #e4e8ec;
    padding: 3rem 6rem;
    background: #f0f5f9;
    margin-top: 35px;
    display: flex;
    line-height: 1.7em;
}

footer .footer_col{
	flex: 1;
}

.app_section .mobile{
	display: none;
}

@media only screen and (max-width: 991px) {

	.controls {
	    width: 100%;
	    text-align: center;
	}

	header.nav {
	    text-align: center;
	}

    .admin_section, .app_section {
        width: 100%;
    }

    .app_section .desktop{
        display: none;
    }

    .app_section .mobile{
    	display: block;
    }

    .app_section .mobile.close_data_elem {
	    position: fixed;
	    margin-top: 30px;
	    background: #fff;
	    padding: 0.5rem 1rem;
	    border-radius: 5px;
	    margin-left: -10px;
	    box-shadow: 0 0 10px 1px #33333321;
	    cursor: pointer;
	}

    .app_section img{
    	max-width: 100%;
    }

    .data_elements {
	    width: 61%;
	    margin-left: 20%;
	    padding-top: 18%;
	}

	.data_elements .item[data-action="notification"]{
		font-size: 0.8em;
	}

	.data_elements .item[data-action="news"] p{
	    max-height: 210px;
	    overflow: hidden;
	    text-overflow: ellipsis;
	    white-space: pre-line;
	}

	.data_elements .item[data-action="sermon"] ul li:last-child{
	    display:none;
	}

	.notice{
	    border-radius: 0;
	}
	.notice a {
	    display: block;
	    width: fit-content;
	    margin-left: 0;
	    margin-top: 15px;
	}
	
	.button_container h4 {
	    display: none;
	}

	.button_container .btn {
	    margin-bottom: 15px;
	}

	footer {
	    flex-direction: column-reverse;
	    padding: 1rem 3rem
	}

	footer .footer_col{
	    text-align: left !important;
	    margin-bottom: 10px;
		font-size: 0.9em;

	}

	footer .footer_col img{
	    display: none;
	}

	footer .footer_col p {
		font-size: 0.9em;
		margin-top: 10px;
	}

}