﻿
/* Desktop */
@media only screen and (min-width: 1041px)
{
    body
    {
         max-width: 1024px;
    }

    .MobileContent
    {
        display: none;
    }

    #Header1
    {
        height: 85px;
    }

    #Header1 ul
    {
        /*right: 360px;*/
    }

    #Header1 #SiteSearchTextBox
    {
        right: 61px;
        width: 260px;
    }

    #Header1 #SiteSearchImage
    {
        right: 19px;
    }

    .BannerImageBreadcrumbTrail
    {
        
        margin: 22px 0px 0 34px;
     }

    .NoBannerImageBreadcrumbTrail
    {
        margin: 32px 0 0 110px;
        position: relative;
        top: -10px;
    }
    
    #TemplateContent
    {
        margin: 32px;
    }
    
    #ImproveThisPage
    {
        width: 640px;
        margin: 0 32px 32px;
    }
        
    #AtoZ
    {
        top: -85px;
    }
    
    
    #AtoZ ul
    {
        left: -12px;
    }
    
    #AtoZ a
    {
        width:37px;
    }
    
    #AtoZ span
    {
        width:30px;
    }
    
    #AtoZ .last a, #topAtoZ .last a
    {
        width: 31px;
    }

    
    #Footer1, #Footer2, #Footer3
    {
        top: -85px;
    }
        
    #Footer1 li
    {
        width: 308px;
    }

    #Footer3
    {
        position: relative;
        height: 30px;
    }

    #Footer3Links
    {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    #Footer3Logos
    {
        position: absolute;
        top: -62px;
        right: 0;
    }
}

/* Tablet */
@media only screen and (min-width: 702px) and (max-width: 1040px)
{
    body
    {
         max-width: 686px;
    }
    
    #Header1
    {
        height: 85px;
    }
    
    #Header1 ul
    {
       /* right: 340px;*/
    }

    #Header1 #SiteSearchTextBox
    {
        right: 61px;
        width: 260px;
    }

    #Header1 #SiteSearchImage
    {
        right: 19px;
    }

    .MobileContent
    {
        display: none;
    }

    .BannerImageBreadcrumbTrail
    {
        margin: 4px 32px 0;
    }

    .NoBannerImageBreadcrumbTrail
    {
        margin: 27px 0 0 110px;
        position: relative;
        top: -5px;
    }
    
    #TemplateContent
    {
        margin: 32px;        
    }
    
    #ImproveThisPage
    {
        margin: 0 32px 32px;
    }
    
    #AtoZ
    {
        top: -85px;
    }

    #AtoZ ul
    {
        left: -5px;
    }
    
    #AtoZ a
    {
        width:23.6px;
    }
    
     #AtoZ span
    {
        width:20px;
    }
   
    #Footer1, #Footer2, #Footer3
    {
        top: -85px;
    }
    
    #Footer1 li
    {
        width: 299px;
    }

    #Footer3
    {
        position: relative;
        height: 85px;
    }

    #Footer3Links
    {
        position: absolute;
        bottom: 0;
        left: 0;
        width:60%;
    }

    #Footer3Logos
    {
        position: absolute;
        top: -15px;
        right: 17px;
        width:38%;
        padding:0px !important;
    }
    
    iframe .resize 
    {
        width: 300px;
    }
}

/* Mobile */
@media only screen and (max-width: 701px)
{
    body
    {
         min-width: 350px;
    }
    
    /* Hide the Links on Header 1 and the top gccLogo */
    
    .NonMobileContent
    {
        display: none;
    }

    #Header1
    {
        height: 124px;
    }

    #Header1 #SiteSearchTextBox
    {
        right: 60px;
        width: 70%;
    }

    #Header1 #SiteSearchImage
    {
        right: 20px;
    }
        
    .bx-wrapper
    {
        display:none;
    }

    .BannerImageBreadcrumbTrail, .NoBannerImageBreadcrumbTrail
    {
        margin: 4px 16px 4px 16px;
    }

    #TemplateContent
    {
        margin: 16px;
    }
    
    #ImproveThisPage
    {
        margin: 0 16px 32px;
    }
    
    

    #AtoZ ul
    {
        left: -8px;
    }    
    
    #AtoZ a, #AtoZ span
    {
        width:27px;
    }

    #Footer1 li
    {
        width: 308px;
    }
    
    #Footer2Icons li
    {
        width:25%;
        margin: 0px !important;
    }
    
    #Footer2Icons .last img
    {
        float:right;
    }
      
    #Footer3
    {
        position:relative;
    }
    
    #Footer3Logos .last
    {
        margin-right:0px;
        height:110px;
    }
    
    #Footer3Logos .last img
    {
        width:200px;
        height:62px;
        vertical-align: baseline;
        position:relative;
        top:48px;
    }

}

/* Common Style Selectors */

body
{
    font-family: Verdana;
    font-size: 0.9em;
    margin: 8px auto 8px auto;
}

h1
{
    font-weight: normal;
    font-size: 1.6em;
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

h1 img
{
    margin-left: 16px;
}

h2
{
    font-weight: normal;
    font-size: 1.3em;
    margin: 0;
    padding: 0;
    padding-bottom: 8px;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

h3
{
    font-weight: normal;
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

img
{
	max-width: 100%;
	border: none;
}

a
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

#redesign {padding: 10px;margin:2px;border-bottom-width: 2px; border-bottom-style: solid;}
#redesign a {font-weight:bold;}

#Page
{
    border-style: solid;
    border-width: 2px;
    border-top:none;
}
    
#TemplateContent
{
    overflow: hidden;
}

#Header1
{
    position: relative;
    text-align: center;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    z-index:100;
}

#Header1 #SiteSearchTextBox
{
    position: absolute;
    bottom: 20px;
    font-size: 1.35em;
    padding: 8px;
    color: #656365;
    /* height: 24px; */
}

#Header1 #SiteSearchImage
{
    position: absolute;
    bottom: 20px;
    margin: 0;
    padding: 0;
}

#gccLogoTop
{
    position: absolute;
    top: 16px;
    left: 19px;
    z-index: 99;
}

#Header1 .MobileContent a
{
    top: 12px;
    font-size: 2em;
}

#Header1 ul
{
    position: absolute;
    bottom: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
    left: 110px;
}

#Header1 li
{
    display: inline;
    margin: 0;
    margin-right: 4px;
    padding: 0;
}

/* End of header 1 */

.BreadcrumbTrail ul
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
}

.BreadcrumbTrail li
{
    float: left;
    margin: 0;
    margin-right: 8px;
    padding: 0;
}

.ReadMore
{
    float: right;
    width: 132px;
    margin-top: 16px;
    padding: 8px;
    padding-top: 6px;
    font-size: 1em;
    font-weight: bold;
    background: #458294 url("../Images/Buttons/Arrow_WhiteOnTeal.gif") right center no-repeat;
}

#ShareThisPage
{
    margin-top: 32px;
    font-weight:bold;
}

#ShareThisPageIcons
{
    overflow: hidden;
    margin: 15px 0px;
    padding: 0 0 16px;
    list-style: none;
    border-bottom:2px solid;
}

#ShareThisPageIcons .shareicon{
    height:23px;
    width:50px;
    background-repeat:no-repeat;
    display:inline-block;
}
 
#ShareThisPageIcons #facebook{
    background: #ffffff url("/glasgow2015/images/Icons/Share_Facebook.gif") left center no-repeat;
}
 
#ShareThisPageIcons #twitter{
    background: #ffffff url("/glasgow2015/images/Icons/Share_Twitter.gif") left center no-repeat;
}

#ShareThisPageIcons .shareicon img {
    background: #ffffff url("/glasgow2015/images/Icons/Share_Email.gif") right center no-repeat;
}

#ShareThisPageIcons li
{
    border-width:0px !important;
    padding: 0;
    float: left;
}

#ShareThisPageIcons .even iframe
{
    width:30px !important;
}

#ShareThisPageIcons .even a
{
    border:0px !important;
    background-color:#fff !important;
}

#ImproveThisPage p
{
    margin: 5px 0;
}

#ImproveThisPage
{
    font-weight: bold;
    border-bottom:1px solid;
    background: url("/glasgow2015/Images/Icons/ClosedArticle.png") no-repeat scroll right center;
}


/* A to Z Hyperlinks */

#AtoZ
{
    padding: 16px 32px;
    position: relative;
}

#AtoZ ul, #topAtoZ ul
{
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

#AtoZ li, #topAtoZ li
{
    float: left;
    margin: 0;
    margin-top: 8px !important;
    padding: 0 !important;
}

#AtoZ .even a, #topAtoZ .even a
{
    
}

#AtoZ .last a, #AtoZ .last span
{
    padding:8px 0px;
}

#AtoZ .first span
{
    padding:8px 0px;
}

#AtoZ p, #topAtoZ  p
{
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

#AtoZ a, #AtoZ span
{
    display: block;
    padding: 8px 0px;
    font-size: 1.2em;
    text-align:center;
}

/* End of A to Z */

#Footer1 p
{
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}

/* Council Services */

#Footer1
{
    padding: 16px 32px 0px;
    position: relative;
}

#Footer1 ul
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    list-style: none;
    border-bottom:1px solid;
}

#Footer1 li
{
    float: left;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    margin-right: 10px;
}

/* Social Media  */

#Footer2
{
    padding: 16px 32px 0px;
    position: relative;
}

#Footer2Icons
{
    overflow: hidden;
    margin: 0;
    padding: 0;
    padding-top:16px;
    padding-bottom: 16px;
    list-style: none;
}

#Footer2Icons li
{
    float: left;
    margin: 0;
    margin-right: 16px;
    padding: 0;
}

/* Footer Links and Logos  */

#Footer3 
{
    border:0px;}

#Footer3Links, #Footer3Logos
{
    overflow: hidden;
    margin: 0;
    padding: 0 32px 12px 32px;
    list-style: none;
}

#Footer3Links li, #Footer3Logos li
{
    float: left;
    margin: 0;
    margin-left: 0px;
    margin-right: 12px;
    margin-top: 16px;
    padding: 0;
}

#Footer3Logos li
{
    margin-right: 5px !important;
}

#Footer3Links a, #Footer3Links span
{
    font-size: 0.9em;
}

#Header1 span
{
    font-weight: bold;
}
.Footer-Logo
{
    position:absolute;
    right:0; 
    top: 50%;
    transform: translateY(-50%);
    padding-right:32px;
}

.clear
{
    clear:both;
}

.scrollable.has-scroll::after {
    border-radius: 10px 0 0 10px / 50% 0 0 50%;
    content: "";
    height: 100%;
    left: 100%;
    position: absolute;
    top: 10px;
    width: 50px;
}
.scrollable.has-scroll {
    overflow: hidden;
    position: relative;
}

.scrollable {
    max-width: 100%;
    overflow-x: auto;
}

@media only screen and (max-width: 701px) {
    .election-results-container .scrollable {
        max-width: 79%;
    }
}

#Gazetteer
{
    margin-top: 40px;
    margin-bottom: 20px;
}
.scrollable.has-scroll > div {
    overflow-x: auto;
}
.scrollable>div::-webkit-scrollbar {
    height: 12px;
}
.scrollable>div::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 6px;
}

.resize
{
    position: relative;
    padding-bottom: 65.25%;
    padding-top: 30px;
    height: 0;
}

.resize iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;   
}

@media only screen and (max-width: 1040px) {
    .ipad-iframe-container .resize {
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

/*
table{
	margin-bottom:20px;
}

tr>td:nth-child(2), tr>td:nth-child(3){
	text-align:left;
	vertical-align:top;
	padding-left:10px;
}

td{
	border-bottom:solid 1px #458294;
}

tr:first-child
{
    font-weight: bolder;
}
*/

.accordianSelector
{
    padding-right : 20px;    
}

