﻿.home-search{
    background:#529fe1;
    position:relative;
    display:block;
}

.home-search-in{
    max-width:1024px;
    margin:0 auto;
}

.base-content-in{
    padding-top:.1px;
}

#home-stories{
    min-height:100px;
}

.stories .loader{
    position:relative;
    left:50%;
    margin-left:-24px;
    top:30px;
}

.stories .table{
        display:table;
        width:100%;
        min-height:300px;
        margin-bottom:15px !important;
    }

.stories .table:nth-child(3){
    margin-bottom:0px !important;
}

    .stories .cell{
        display:table-cell;
        width:50%;
        min-width:50%;
        
        vertical-align:top;
    }

    .stories .cell.spacer{
        width:10px;
        min-width:10px;
        max-width:10px;
    }


    .stories .cell .image{
        width:100%;
        height:177px;
        background-size:cover;
        cursor:pointer;
        background-repeat:no-repeat;
        background-position:center center;
        
    }

    .stories .table:nth-child(1) .cell:nth-child(1){
        background:#078092;
    }

    .stories .table:nth-child(1) .cell:nth-child(3){
        background:#007849;
    }

    .stories .table:nth-child(2) .cell:nth-child(1){
        background:#BB5807;
    }

    .stories .table:nth-child(2) .cell:nth-child(3){
        background:#8C6F18;
    }

    .stories .table:nth-child(3) .cell:nth-child(1){
        background:#B82601;
    }

    .stories .table:nth-child(3) .cell:nth-child(3){
        background:#49274A;
    }




.home-base{
    margin-top:10px;
    margin-bottom:20px;
    
}

a.media-center{
    text-align:center;
    width:calc(100% - 40px);
    padding:10px 20px 10px 20px;
    margin-bottom:15px;
    background:#005696;
    color:white;
    font-weight:700;
    display:block;
    position:relative;
    border-radius:6px;
}

.home-tile{
    
    background:#005696;
    display:block;
    position:relative;
    
    text-align:left;
    vertical-align:top;
    border-style:solid;
    border-width:0px;
    border-color:#cccccc;
    padding:0 !important;

    border-radius:6px;
    overflow:hidden;
    
}


.home-tile .title{
    font-size:22px;
    display:block;
    padding:10px 15px 15px 15px;
    margin-bottom:35px;
    color:#eeeeee;
    line-height:1.2em;
    font-weight:700;
    
}

.home-tile .body{
    font-size:16px;
    padding:5px 15px 5px 15px;
    display:none;
}

.home-tile .readmore{
    position:absolute;
    bottom:10px;
    left:16px;
    color:#eeeeee;
}

.home-tile .readmore a{
    
    color:#eeeeee;
}

.top-left{
    flex:70%;
    max-width:70%;
    padding-left:0;
}

.top-right{
    padding:8px;
    background:#005696;
    flex:30%;
    max-width:30%;
    border-radius:8px;
}

.section-slider{
    border-style:solid;
    border-width:0px;
    border-color:#cccccc;
    background:white;
    padding:0px 0 20px 0;
    overflow-x:hidden;
    margin-top:20px;
    text-align:center;
    margin-bottom:10px;
    
}

.section-slider h2{
    margin-bottom:20px;
}


.slider{
    text-align:center;
}


/*sly*/
/* Example wrapper */
.wrap {
	position: relative;
	margin: 3em 0;
}

/* Frame */
.frame {
    height: 220px;
    line-height: normal;
    overflow:visible !important;
    border-style: solid;
    border-width: 0px;
    border-color: #cccccc;
    margin-bottom: 5px;
}
.frame ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	height: 100%;
	font-size: 11px;
    margin-left:auto !important;
    margin-right:auto !important;

}
.frame ul li {
	float: left;
	width: 132px;
	height: 100%;
	margin: 0 18px 0 0;
	padding: 0;
	
	color: #eee;
	text-align: center;
	cursor: pointer;
}

.frame ul li a{
    width:100%;
    display:block;
    position:relative;
    text-align:center;
    padding:0;
    margin:0;
    line-height:1.5;
}

.frame ul li img{
    width:120px !important;
    height:160px !important;
    margin: 0 auto;
    margin-bottom:6px;
    margin-top:5px;
    display:block;
    border-style:solid;
    border-width:1px;
    border-color:#666666;
    box-shadow:1px 1px 6px rgba(0,0,0,.5);
    
}
.frame ul li.active {
	
}

/* Scrollbar */
.scrollbar {
	margin: 0 0 1em 0;
	height: 2px;
	background: #ccc;
	line-height: 0;
    display:none;
}
.scrollbar .handle {
	width: 100px;
	height: 100%;
	background: #292a33;
	cursor: pointer;
}
.scrollbar .handle .mousearea {
	position: absolute;
	top: -9px;
	left: 0;
	width: 100%;
	height: 20px;
}

/* Pages */
.pages {
	list-style: none;
	margin: 0px 0 0 0 !important;
	padding: 0 !important;
	text-align: center;
    display:inline-block;

}
.pages li {
	display: inline-block;
	width: 18px;
	height: 18px;
	margin: -1px 8px;
	text-indent: -999px;
	border-radius: 18px;
	cursor: pointer;
	overflow: hidden;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.2);
}
.pages li:hover {
	background: #aaa;
}
.pages li.active {
	background: #b82525;
    color:white;
}

.btn .fa{
    font-size:22px !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline:0 !important;
    cursor:pointer;
}
.btn:disabled .fa{
    cursor:default;
}


.base-content-in button.btn{
    background:none !important;
    -webkit-appearance:none !important;
    border-style:none !important;
}

.sidebar-in{
    padding:0;
}

.sidebar-right-bottom, .sidebar-right-top{
    padding:10px 0 0 0;
    text-align:center;
    
    background: #108090;
    color:white;
}

.sidebar-right-top{
    margin-bottom:8px;
    border-radius:6px;
    overflow:hidden;
}

.sidebar-right-bottom{
    margin-top:8px;
    border-radius:6px;
    overflow:hidden;
}

.sidebar-right-bottom h2, .sidebar-right-top h2{
    margin:0 !important;
    padding:0 !important;
    font-weight:600 !important;
    font-size:20px !important;
}


.sidebar-right-bottom a, .sidebar-right-top a, .header-events a{
    color:white;
}

.sidebar-right-bottom .button, .sidebar-right-top .button{
    display:inline-block;
    margin-top:10px;
    margin-bottom:20px;
    font-size:16px;
    padding:5px 10px 5px 10px;
    font-weight:700;
    cursor:pointer;
    background-color:#dddddd;
    color:#333333;
}


.sidebar-right-bottom img,.sidebar-right-top img{
    width:100% !important;
    max-width:100% !important;
    min-width:100% !important;
    vertical-align: middle;
}

/* Controls */
.controls { margin: 25px 0; text-align: center; }

/* One Item Per Frame example*/
.oneperframe { height: 300px; line-height: 300px; }
.oneperframe ul li { width: 1140px; }
.oneperframe ul li.active { background: #333; }

/* Crazy example */
.crazy ul li:nth-child(2n) { width: 100px; margin: 0 4px 0 20px; }
.crazy ul li:nth-child(3n) { width: 300px; margin: 0 10px 0 5px; }
.crazy ul li:nth-child(4n) { width: 400px; margin: 0 30px 0 2px; }


/*event control*/
/*events control*/

#eventsControl{
    width:100%;
    margin:0;
    border-spacing:0px;
    display:table;
    height:302px;
    position:relative;
    margin-top:0px !important;
    text-align:center;
    border-radius:0px !important;

}


#eventsControl p{
    margin:0;
}

#eventsControl .row{
    display:table;
    padding-bottom:10px;
    padding-right:12px;
    max-width:560px;
    text-align:left !important;
    padding-left:4px;
    font-size:13px;
    margin-top:0px;

}

#eventsControl .row:last-child{
    
}

#eventsControl .row:nth-child(odd){
    
}


#eventsControl .row:nth-child(even){
    
}

#eventsControl .row .date{
    width:46px;
    height:60px;
}

#eventsControl .row .date-info{
    width:46px;
    height:60px;
    min-width:46px;
}



#eventsControl .row .info{
    padding-left:0px;
    padding-right:0px;
}

#eventsControl .row .info:hover{
   
}

#eventsControl .row .title{
    margin-bottom:5px !important;
}


#eventsControl .row .title a{
    font-size:16px;
}



#eventsControl #filters{
    display:table-cell;
    vertical-align:top;
    font-size:14px;
    border-color:#ececec;
    border-style:solid;
    border-width:0 0px 0 0;
    color:white;
    background: #108090;
    border-radius:0px;
    padding:7px 15px 15px 15px !important;
}

#eventsControl #data-window{
    vertical-align:top;
    display:table-cell;
    padding:0;
    overflow-y:auto;
    -webkit-overflow-scrolling : touch;
    overflow-x:hidden;
    border-color:#cccccc; 
    border-radius:0px;
    width:100%;
    background:#eeeeee;
    border-style:none !important;
    position:relative;

}

#eventsControl #data{
    font-size:14px;
    display:block;
    padding:0px !important;
    max-height:272px;
    overflow-y:auto;
    -webkit-overflow-scrolling : touch;
    
}

#eventsControl #loader{
    position:relative;
    margin-left:-24px;
    margin-top:20px;
    left:50%;
}

#eventsControl #data p{
    margin:0;
    padding:0;
    
    
}

#eventsControl #data .title{
  
    
}

#eventsControl #data .summary{
    

}

#eventsControl .icon{
    display:inline-block;
    margin-right:10px;
    margin-top:5px;
}



#eventsControl button{

    min-height:32px;
    background-color:#dddddd !important;
    font-size:13px;
    width:150px;
    margin-left:0px !important;
    padding-left:0px !important;
    
}


#eventsControl #filters p{
    
    padding:0 !important;
    margin:0 !important;
    font-size:12px;
}

#eventsControl #filters .input{
    border-style:none !important;
    padding:0px 0px 0px 0px;
    background:white;
    margin-left:0px !important;
    margin-right:0px !important;
    margin-bottom:2px;
    position:relative;
    width: 100% !important;

}

#eventsControl #filters input{
    border-style:none !important;
    background:none;
    color:black;
    font-size:12px !important;
    padding-left:8px;
    padding-right:8px;
    height:32px;
}


#eventsControl #filters input::-ms-clear {
    display: none;
}


#eventsControl #filters .search-icon{
    position:absolute;
    color:black;
    padding-top:2px;
    padding-left:3px;
}

#eventsControl #filters .calendar-icon{
    position:absolute;

    color:black;
    padding-top:4px;
    right:10px;
    pointer-events:none;
    font-size:22px;
}

.button-reset{
    margin-top:0px !important;
    cursor:pointer;
    border-style:none !important;
}

.button-calendar-view{
    display:none;
}

.search-instructions{
    display:none;
}

#tcal{
    position:absolute;
    box-shadow:none !important;
    margin-left:92px !important;
    width:250px !important;
    
}

#eventsControl .row{
    padding:2px !important;
    padding-right:10px !important;
    margin-right:0;
    margin-left:0;
}

#eventsControl #data{
    padding:5px !important;
}

#eventsControl .row .info{
    padding-top:0 !important;
    padding:5px !important;
}

#eventsControl .row .info .title{
    font-size: 18px;
}

#tcal td,th{
    font-size:14px !important;
    width:32px;
    height:32px;
}



#eventsControl #filters select{
    margin-left:0px !important;
    margin-bottom:2px;
    color:black;
    font-size:12px;
    height:32px;
    border-style:none !important;
    padding-left:8px !important;
    padding-right:0px !important;
    width:100% !important;

    /*
    background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+);
    background-repeat:no-repeat;
    background-position-y:50%;
    background-position-x:calc(100% - 5px);
    background-color:white;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none; 
    */
    cursor:pointer;


}

/*
#eventsControl #filters select::-ms-expand{
     display:none;
 }
*/





#eventsControl .search_input .search_icon{
    
}

.info .icons .fa{
    font-size:18px !important;
}



.col.left{
    position:relative;
}

.rss-icon{
    margin-top:2px;
    display:none;
}

#results-message{
    margin-top:20px !important;
    margin-left: 20px !important;
    display:none !important;
}

.no-events {
    margin-top:20px;
    margin-left:20px;
}

.no-events{
    font-size:18px;
}


.rsHeader h2{
        text-transform:initial !important;
}

/*events modified for vertical layout*/

.sidebar-events{
    border-style:solid;
    border-width:0px;
    border-color:#cccccc;
    border-radius:6px;
    overflow:hidden;
}

.sidebar-events h2{
    font-size:20px !important;
    font-weight:600 !important;
    text-align:center;
    margin:0px !important;
    padding:10px;
    background: #108090;
    color:white;
}

#widget-events{
        
}

#eventsControl{
        display:block;
        height:auto;
    }

    #eventsControl #filters{
        display:block;
        width:100% !important;
        padding:0px 0 2px 0 !important;
        background:#108090;
        color:white;
    }

    #eventsControl #filters .input, #eventsControl #filters button {
        width:100%;
        margin-left:10px;
    }

    #eventsControl #data{
        max-height:186px;
    
    }


    #eventsControl #data-window{
        display:block;
        width:100%;
        height:196px;
        border-style:solid;
        border-width:0px 2px 2px 2px;
        border-color: #108090;
        border-radius:0 0 8px 8px;
    }


    .eventcenter #data{
        height:auto !important;
        
    }


    #eventsControl #filters .calendar-icon{
        position:absolute;
        margin-left:222px;
    }


    #tcal{
        margin-left:-5px !important;
    
    }

@media(max-width:991px){


    .top-left {
        padding:0;
        margin-bottom:20px;
        flex:100%;
        max-width:100%;
    }

    .top-right {
        display: block;
        width: 100% !important;
        flex: 100%;
        max-width: 100%;
    }

}

/*media queries*/
@media (max-width: 926px) {

    .base-content-in div[class*="sf_2cols"].top-right{
        
    }

    #eventsControl #data{
        max-height:290px !important;
        height: 290px !important;
    }


    #eventsControl #data-window{
        display:block;
        
        height:300px !important;
        max-height:300px !important;
    }
    
    .home-tile{
        min-height:0;
    }
}

@media (max-width: 600px) {
    .stories .table{
        display:block;
        margin-bottom:0px;
    }

    .stories .cell{
        display:block;
        margin-bottom:15px;
        margin-top:15px;
        width:100%;
    }

    .stories .cell:first-child{
        margin-top:0px;
    }

    .stories .cell.spacer{
        display:none;
    }

}


@media (max-width: 500px) {

    #eventsControl #loader{
        margin-left:-24px !important;
        margin-top:20px;
        left:50% !important;
        width:auto !important;
        text-align:left;
    }

    #eventsControl #data{
        max-height:350px !important;
        height: 350px !important;
    }


    #eventsControl #data-window{
        display:block;
        
        max-height:360px !important;
        height:360px !important;
    }

    #eventsControl #filters .input, #eventsControl #filters select, #eventsControl #filters button{

        

    }

    .prevPage, .nextPage, .pages{
        display:none;
    }

    .home-tile{
        border-radius:0;
    }

    .sliders{
        margin-left:-15px;
        margin-right:-15px;
    }

    .sliders h2{
        padding-left:15px;
        padding-right:15px;
    }

    .top-right {
        border-radius: 0;
    }

}


@media (max-width: 400px) {

    .pages{
        position:relative;
        margin:0 0 0 -6px !important;
        top:-3px !important;
    }

    .home-tile{
        margin-left:0px;
        margin-right:0px;
    }

    .pages li{
        width:12px;
        height:12px;
        border-radius:12px;
        margin-right:2px;
    }
}

/*media queries*/
@media (max-width: 320px) {

    #eventsControl #data{
        max-height:30px;
        height: 300px !important;
    }


    #eventsControl #data-window{
        display:block;
        width:100% !important;
        height:310px !important;
    }
}
