/*-  LAYOUT
----------------------------------------------------------------------*/
#bodydiv {
    margin: 50px auto 30px auto !important;
    padding: 0 78px;
    max-width: 1104px;
    border: 7px solid #FFF;
    box-sizing: border-box;
    -moz-box-sizing:border-box;
}

.hasTopbanner.hasBottombanner #contentdiv{
    width:94%;
}

.hasTopbanner.hasBottombanner.hasLeftbanner #contentdiv{
    width:71%;
}

.hasTopbanner.hasBottombanner.hasRightbanner #contentdiv{
    width:71%;
}

.hasTopbanner.hasBottombanner.hasRightbanner.hasLeftbanner #contentdiv{
    width:48%;
}


#mainmiddle{    
    margin:0 auto;
    max-width:958px;
    padding-bottom: 12px;
    width: 100%;
}


img {
    max-width: 100%;
    height:auto;
    max-height:100%;
}

td > img { 
    max-height: initial; 
    max-width: initial; 
} 

object {
    width:100%;
}

.embedded-fsplayer div:first-child {
    width:100% !important;
    height:auto;
}

/*-  TOP BANNER
----------------------------------------------------------------------*/
#topbanner{
    margin:0 auto;
    display:block;
    max-width:958px !important;
    padding:0;
}


/*-  HOMEPAGE STYLES
------------------------------------------------
------------------------------------------------*/
.page_1.hasTopbanner.hasBottombanner #contentdiv{
    width:96%;
    margin-left: 0;
}

.page_1.hasTopbanner.hasBottombanner.hasLeftbanner #contentdiv{
    width:54%;
    margin-left: 3%;
}

.page_1.hasTopbanner.hasBottombanner.hasRightbanner #contentdiv{
    width:54%;
    margin-left: 0;
}

.page_1.hasTopbanner.hasBottombanner.hasRightbanner.hasLeftbanner #contentdiv{
    width:54%;
    margin-left: 3%;
}

.page_1 #contentdiv{
    padding: 2%;
    margin-left: 3%;
    float:left;
}

.page_1 #leftbanner {
    width: 39%;
}


/* 
   LEFT BANNER
----------------------------------------------------------------------*/
#leftbanner{
    clear: both;
    float: left;
    width: 23%;
    margin:0;
}


/* 
   RIGHT BANNER
----------------------------------------------------------------------*/
#rightbanner {
    float: left;
    width: 23%;
    margin: 0;
    padding:0 8px;
    box-sizing: border-box;
    -moz-box-sizing:border-box;
}

/*-  BOTTOM BANNER
----------------------------------------------------------------------*/
#bottombanner{
    margin:0 auto;
    display:block;
    max-width:958px;
}



/*-  MEDIA QUERIES
----------------------------------------------------------------------
---------------------------------------------------------------------- */

/* Disable iOS/WinMobile font size changes */
@media screen and (max-width: 600px),
screen and (max-device-width: 480px) {
    html {
        -ms-text-size-adjust: none;
        -webkit-text-size-adjust: none;
    }
}

/*-  IPAD  //  TABLET  (Portrait)
----------------------------------------------------------------------
----------------------------------------------------------------------*/

@media only screen
and (max-width : 850px), (max-device-width : 768px) and (max-device-width : 1024px) {

#bodydiv {
    padding: 0;
    border-left: 0 none;
    border-right: 0 none;
    margin-bottom: 0 !important;
}

#mainmiddle {
    padding-left: 1%;
    padding-right: 1%;
    padding-bottom: 0px;
    width: 98%;
    background: transparent;
}

#bottomcontainer {
    background-color: #fff;
    margin-top: 15px !important;
}

#poweredby {background-color: #fff;}

.centerContent {text-align: center;}

/*-  LAYOUT
-----------------------------------------*/
.hasTopbanner.hasBottombanner #contentdiv{
    width:95%;
}

.hasTopbanner.hasBottombanner.hasLeftbanner #contentdiv{
    width:73%;
}

.hasTopbanner.hasBottombanner.hasRightbanner #contentdiv{
    width:73%;
}

.hasTopbanner.hasBottombanner.hasRightbanner.hasLeftbanner #contentdiv{
    width:73%;
}

#contentdiv{
    padding: 3% 2% 3% 3%;
    background-color: #fff;
    float:left;
}


/*-  LAYOUT - Homepage
-----------------------------------------*/
.page_1 #bodydiv {margin-bottom: 35px !important;}

.page_1 .statement {margin: 0 1% !important;}

.page_1 #leftbanner {width: 53% !important;}

.page_1 #bottomcontainer, .page_1 #poweredby {background: transparent;}

.page_1 #contentdiv {width: 40% !important;}
.page_1 #contentdiv #text2 {
    width: 98.7%;
    float: none;
    padding: 2px;
}
#contentdiv #text2 > div {
    margin: 0;
    min-height: 210px;
}

.page_1 #bottombanner > #text1 {
    max-width: 525px;
    float: none;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}
.page_1 #bottombanner > #text1 a {
    float: left;
    margin-left: 3%;
}
.page_1 #bottombanner > #text1 a.mediaBtn {margin-left: 0;}



/*-  TOP BANNER
-----------------------------------------*/
.topContain {
    margin-top: -107px;
    padding: 0 1%;
    width: 98%;
}
.topNav ul li a {box-shadow: none;}

.mainNav {margin-top: 20px !important;}

.photoOverlay {
    padding-top: 10px;
    height: 40px;
}
.tools {
    padding-top: 0;
    margin-top: 10px !important;
}

/*- LEFT BANNER
-----------------------------------------*/
#leftbanner{
    clear: both;
    float: left;
    width: 22%;
    margin:0;
}

/*- RIGHT BANNER
-----------------------------------------*/
#rightbanner {
    width:100% !important;
    clear:both;
    padding:12px 1%;
    margin:15px 0 0 0;
    border: 0 none;
    background-color: #fff;
}

#rightbanner > div {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin-top: 15px !important;
}

#rightbanner .evenDiv {margin-left: 3%;}

.blueNav .bannermodtitle {display: none;}

/*- BOTTOM BANNER
-----------------------------------------*/
.info {
    width: 74%;
    margin: 0 auto !important;
    line-height: 1.5;
}

.ipadSpan {display: none;}

.ipadBreak {display: block !important;}


}

@media only screen
and (max-device-width : 768px) and (max-device-width : 1024px) {

    .blogBtn span {
        min-height: 30px;
        padding-top: 18px;
    }

}


/*-  IPHONE  //  MOBILE (Portrait + Landscape)
----------------------------------------------------------------------
---------------------------------------------------------------------- */

@media only screen
and (max-width : 670px), (min-device-width : 320px) and (max-device-width : 480px) {

#bodydiv {
    margin-top: 56px !important;
    margin-bottom: 56px !important;
}

.pagetype_directory table[cellspacing="0"] tr {
    text-align: center;
    width: auto;
    display: table;
    margin: 0 auto;
    border: 0 none;
}
.pagetype_directory table[cellspacing="0"] td {
    display:block;
    width: 100%;
    text-align: center;
}
.pagetype_directory table[cellspacing="0"] td img {display: none;}
.fsDirEntry {border: 0 none !important;}
.fsDirEntryName {float: none !important;}

.pagetype_directory table[cellspacing="0"] td:nth-child(even) {margin-bottom: 20px;}


/*-  LAYOUT
-----------------------------------------*/
#contentdiv{
    width:94% !important;
    padding: 3%;
}

#contentdiv form{
     width:auto;
}

 /*-  LAYOUT - Homepage
-----------------------------------------*/
.page_1 #mainmiddle {margin-top: 11px !important;}

.page_1 .contentElementDesc {display: none !important;}

.page_1 .statement {background: transparent !important;}
.page_1 .statement .bannermodcontent {margin-left: 0;}

.page_1 #contentdiv {
    padding: 0 !important;
    margin: 15px auto 0 auto !important;
    max-width: 320px;
    width: 100% !important;
    background: transparent !important;
    float: none !important;
}

.page_1 #leftbanner {width: 100% !important;}

.page_1 #bottombanner > #text1 {
    max-width: 162px;
    margin: 0 auto !important;
}
.page_1 #bottombanner > #text1 p {margin: 0;}
.page_1 #bottombanner > #text1 a {
    float: none;
    margin: 0 0 5px 0 !important;
}

.page_1 .info .bannermodcontent {padding-top: 15px !important;}

/*-  TOP BANNER
-----------------------------------------*/
.photoOverlay, .topNav, #nav_menus, #ql_menu  {display:none !important;}

.top {
    margin-top: 0 !important;
    padding-top: 3px;
}

.searchContain {
    max-width: 307px;
    width: 100%;
    margin: -73px auto 0 auto;
    float: none;
}
.searchContain ul li:last-child {margin-left: 0;}
.searchContain form {
    max-width: 307px;
    width: 100%;
    margin-top: 6px;
}
#keywords {
    width: 277px;
    margin-left: -5px;
}

.mainNav {margin-top: 10px !important;}
.mainNav ul li a {padding: 12px;}

/*-  LEFT BANNER
-----------------------------------------*/
#leftbanner{
    float:none;
    width:auto;
    margin:0;
    padding:0;
}

/*-  RIGHT BANNER
-----------------------------------------*/
#rightbanner{
    float:none;
    width:100% !important;
    clear:both;
    padding:3%;
    margin:0;
}

#rightbanner > div {
    width: 100%;
    display: block;
}

.blueNav {text-align: center;}

/*-  BOTTOM BANNER
-----------------------------------------*/
.info {
    white-space: nowrap;
    width: 300px;
}
.info br {display: block;}
.mobileSpan {display: none;}
.ipadBreak {display: none !important;}

#bottomcontainer, #poweredby {background: transparent;}

}

@media only screen
and (max-device-width : 320px) and (max-device-width : 480px) {

    .blogBtn span {
        min-height: 30px;
        padding-top: 18px;
    }

}


 