/**********************************************************************************
* 
* © 2016 Ecliptic Technologies, Inc. - All Rights Reserved
* Unauthorized use or reproduction of this product is strictly prohibited by law.
* Website: www.ecliptictech.com
* Email: info@ecliptictech.com
*
* Name: desktop.css
* Description: Additional desktop styles for www.countryprideservices.com
*
***********************************************************************************/

/* Body 
----------------------------------------------------------------------------------*/

body
	{
	}

html, body, form
    {
    height:100%;
    }

#caution-container
    {
    font-size:0.75em;
    }

object, iframe
    {
    margin:0.3125em 0 1.3125em;
    }

*:first-child+html embed
    {
    margin:0.3125em 0 1.3125em;
    }

* html embed
    {
    margin:0.3125em 0 1.3125em;
    }


/* Base text
----------------------------------------------------------------------------------*/

h1
	{
	margin:15px 0 0;
	}

h1 a
    {
    width:190px/*220px*/;
    height:104px/*120px*/;
	background-image:url(/sitegraphics/countrypride-logo.gif);
    }

#container-intro h2
    {
    width:40%;
    font-size:2.5em;
    }

.xtarget:target
    {
    margin-top:-158px;
    padding-top:158px;
    }

blockquote
	{
	margin:0 1.5em;
	}

pre
    {
    margin-bottom:1.5em;
    }

@media screen and (min-width:1140px)
	{
	body
		{
		line-height:1.5em;
		}
	
	h2
		{
		font-size:2.25em;
		}
	
	#container-intro h2
        {
        font-size:3.25em;
        }

	h3
		{
		font-size:1.75em;
		}

	h4
		{
		font-size:1.3125em;
		}

	h5
		{
		font-size:1.25em;
		}

	h6, p, ul, ol, time, pre
		{
		font-size:1em;
		}
	}


/* Tables 
----------------------------------------------------------------------------------*/

@media screen and (min-width:1140px)
	{
	table
        {
        margin:0.5em 0 1.5em;
        }
	
	table th, table td
		{
		font-size:1em;
		}
	
	table th p, table td p, table td ul, table td ol, table td time
		{
		line-height:1.5em;
		}
	}


/* Images 
----------------------------------------------------------------------------------*/

@media screen and (min-width:1140px)
    {
    img
        {
	    margin-bottom:1.5em;
        }

    .imageleft, .imagesticky
        {
        margin-right:1.5em;
        }

    .imageright
        {
        margin-left:1.5em;
        }

    .imagecenter
	    {
	    margin-bottom:1.5em;
	    }
    }


/* Container
----------------------------------------------------------------------------------*/

#container-intro, #container
	{
	min-height:100%;
	}

.mlsframe
    {
    min-height:650px;
    }

#popup-container
    {
    margin:1em;
    }


/* Header
----------------------------------------------------------------------------------*/

#header
    {
	width:100%;
    height:138px/*154px*/;
	margin:0;
	padding:0;
	padding-left:-moz-calc((100% - 950px) / 2);
    padding-left:-webkit-calc((100% - 950px) / 2);
    padding-left:calc((100% - 950px) / 2);
    padding-right:-moz-calc((100% - 950px) / 2);
    padding-right:-webkit-calc((100% - 950px) / 2);
    padding-right:calc((100% - 950px) / 2);
    -moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	-moz-box-shadow:0 0 8px #202020;
	-webkit-box-shadow:0 0 8px #202020;
	box-shadow:0 0 8px #202020;
    }

#logo
    {
    width:auto/*50%*/;
    }

#header-supplemental
    {
    }

#social
    {
    padding:20px 0 0 1.5em;
    }

#tagline
    {
    display:block;
    float:right;
    font-weight:700;
    font-size:1.125em;
    margin-top:24px;
    padding-bottom:0;
    color:#00add9;
    }

#phone
    {
    float:right;
    margin-top:20px;
    font-size:1.25em;
    }

#phone a
    {
    }

#phone a:hover, #phone a:active, #phone a:focus
    {
    background:none;
    border:none;
    cursor:text;
    }

@media screen and (min-width:1140px)
	{
    #header
		{
		padding-left:-moz-calc((100% - 1100px) / 2);
		padding-left:-webkit-calc((100% - 1100px) / 2);
		padding-left:calc((100% - 1100px) / 2);
		padding-right:-moz-calc((100% - 1100px) / 2);
		padding-right:-webkit-calc((100% - 1100px) / 2);
		padding-right:calc((100% - 1100px) / 2);
		}
	}


/* Navigation
----------------------------------------------------------------------------------*/

#nav
	{
	display:block !important;
	position:relative;
	top:auto;
	left:auto;
	float:right;
	width:auto;
	margin-top:34px/*30px*/;
	border:none;
	clear:right;
	z-index:1;
	}

#nav ul
    {
    width:auto;
    font-size:0.8125em;
    }

#nav li
    {
    width:auto;
    border-width:0;
    }

#nav li:first-child
    {
    }

#nav a
    {
    padding:0.375em 0.4375em 0.25em;
    -moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
    }

#nav a:hover, #nav a:focus
    {
    /*color:#112f50;
    background:#a5bfd8;
	background-position:right center;*/
    }

#nav-menu-link, #nav-mobile
    {
    display:none;
    }

@media screen and (min-width:1140px)
    {
    #nav ul
		{
		font-size:0.9375em;
		}
    }


/* Second-level lists 
----------------------------------------------------------------------------------*/

#nav li ul
	{
	display:none;
	width:auto;
	position:absolute;
	left:-999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin:-24px 0 0 120px;
	padding:0 0 0 0;
	list-style:none;
	background:#9fcee6;
	/*background:rgba(77,122,153,0.7);*/
	/*border:2px solid #91d0eb;*/
	/*border-right:1px solid #334d66;
	border-bottom:1px solid #334d66;
	border-left:1px solid #334d66;*/
	z-index:10;
	/*filter:alpha(opacity=90);
	-moz-opacity:0.9;
	-khtml-opacity:0.9;
	opacity:0.9;*/
	}

#nav li ul ul
	{
	margin:-20px 0 0 80%;
	}

#nav li ul li
	{
	float:none;
	margin:0;
	padding:0;
	border:none;
	}
	
#nav li ul li a
	{
	/*background:none;*/
	/*padding:7px 13px 7px 13px;
	background:#4d7a99;
	background:rgba(77,122,153,0.9);*/
	/*border:none;*/
	}
	
#nav li ul li a:hover
	{
	/*background:#7999af;
	background:rgba(121,153,175,0.9);*/
	}

#nav li ul li a:active
	{
	}

#nav li:hover, #nav li.sfhover
    {
    position:static;
    /*background:#7999af;
    background:rgba(121,153,175,0.9);*/
    }

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul
    {
    left:-999em;
    }

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul /* lists nested under hovered list items */
	{
	left:auto;
	}


/* Sub Navigation
----------------------------------------------------------------------------------*/

#nav-sub
	{
	display:block;
	position:fixed;
	float:left;
	width:100%;
	height:34px;
	margin-top:114px;
	background-color:#0c0c0c;
	z-index:2;
	}

#nav-sub ul
    {
    width:950px;
    margin:0 auto;
    padding:0;
    font-size:0.875em;
    text-transform:uppercase;
    list-style:none;
    }

#nav-sub ul:after
    {
	display:block;
	position:absolute;
	left:0;
	content:"";
	width:100%;
	height:8px;
	margin-top:26px;
	z-index:-1;
	-moz-box-shadow:0 0 8px #202020;
	-webkit-box-shadow:0 0 8px #202020;
	box-shadow:0 0 8px #202020;
    }

#nav-sub li
    {
    float:left;
    }

#nav-sub li:first-child
    {
    }

#nav-sub a
    {
    display:block;
    height:28px;
    padding:6px 13px 0;
    color:#c0c0c0;
	/*background-image:url(/sitegraphics/countrypride-nav.gif);
    background-position:right top;
    background-repeat:no-repeat;*/
    background-color:#0c0c0c;
    border:none;
    }

#nav-sub a:hover, #nav-sub a:focus
    {
    color:#202020;
	background-color:#01669a;
    }

#nav-sub a:active
    {
    }

@media screen and (min-width:1140px)
    {
    #nav-sub ul
        {
        width:1200px;
        font-size:1em;
        }
    
    #nav-sub a
        {
        height:29px;
        padding-top:5px;
        }
    }


/* Banner
----------------------------------------------------------------------------------*/

#banner, #slideshow
    {
	display:block;
    }


/* CIP login
----------------------------------------------------------------------------------*/

#container-intro #cip-login
    {
    margin-top:138px/*154px*/;
    padding-top:1em;
    padding-bottom:1.5em;
    }

#container #cip-login
    {
    /*position:fixed;*/
    float:right;
    width:240px;
    /*margin-left:710px;*/
    padding:1.125em;
    }

#cip-login h3
    {
    font-size:1.875em;
    }

#container #cip-login h3
    {
    font-size:1.625em;
    }

#container #cip-login ol
    {
    width:100%;
    }

#container #cip-login li
    {
    float:none !important;
    margin:0 0 1em;
    }
    
#container #cip-login li:first-child
    {
    }

#container #cip-login .textbox
    {
    width:100%;
    }

#container #cip-login p
    {
    float:none !important;
    }

/*#container #cip-login
    {
    margin-top:118px;
    }*/

#cip-login .textbox, #container-intro #cip-login .btn-login
    {
    margin-bottom:0;
    }

#container-intro #cip-login p
    {
    padding:0;
    }


/* Main background
----------------------------------------------------------------------------------*/

#main
    {
    width:100%;
    padding-top:1.5em;
    padding-bottom:1.5em;
	padding-left:-moz-calc((100% - 950px) / 2);
    padding-left:-webkit-calc((100% - 950px) / 2);
    padding-left:calc((100% - 950px) / 2);
    padding-right:-moz-calc((100% - 950px) / 2);
    padding-right:-webkit-calc((100% - 950px) / 2);
    padding-right:calc((100% - 950px) / 2);
    -moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
    }

#container-intro #main
    {
    height:350px;
    background-image:url(/sitegraphics/countrypride-banner.jpg);
    background-size:1406px 350px;
    }

#container #main
    {
    margin-top:138px/*154px*/;
    }

/* clearfix hack to keep floats from overlapping footer */

.clearfix:after
    {
    content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	}
	
.clearfix
    {
    display:inline-block;
    }

/* Hides from IE-mac \*/
    
* html .clearfix
    {
    height:1%;
    }

.clearfix
    {
    display:block;
    }

/* End hide from IE-mac */

@media screen and (min-width:1140px)
    {
    #main
		{
		padding-left:-moz-calc((100% - 1100px) / 2);
		padding-left:-webkit-calc((100% - 1100px) / 2);
		padding-left:calc((100% - 1100px) / 2);
		padding-right:-moz-calc((100% - 1100px) / 2);
		padding-right:-webkit-calc((100% - 1100px) / 2);
		padding-right:calc((100% - 1100px) / 2);
		}
	
	#container-intro #main
        {
        height:500px;
        background-size:auto;
        }
    }


/* Content
----------------------------------------------------------------------------------*/

#content
	{
	min-height:150px;
	padding:10px 0 0;
	}

#container #content
	{
	width:670px;
	padding:10px 20px 0 0;
	}

.video-container
	{
	margin-bottom:1.3125em;
	}

.content-blocks-3x > li, .content-blocks-3x > li:nth-child(odd), .content-blocks-3x > li:nth-child(even), .content-blocks-4x > li, .content-blocks-4x > li:nth-child(odd), .content-blocks-4x > li:nth-child(even)
	{
    float:left;
    margin-left:2%;
    clear:none;
    }

.content-blocks-3x > li
	{
    width:32%;
    }

.content-blocks-4x > li
	{
    width:23.5%;
    }

.content-blocks-3x > li:nth-child(3n+1), .content-blocks-4x > li:nth-child(4n+1)
	{
    margin-left:0;
    clear:left;
    }

.content-staff img
	{
    max-width:100%;
    }

@media screen and (min-width:1140px)
    {
    #container #content
		{
		width:800px;
		min-height:350px;
		}
	
	.video-container
	    {
        max-width:800px;
        padding-bottom:450px; /* 16/9 ratio */
	    }
	
	.video-container iframe, .video-container object, .video-container embed
	    {
        max-height:450px;
	    }
	
	.content-blocks-2x ol, .content-blocks-2x ul, .content-blocks-rows ol, .content-blocks-rows ul, .content-blocks-reversed ol, .content-blocks-reversed ul, .content-blocks-3x ol, .content-blocks-3x ul, .content-blocks-4x ol, .content-blocks-4x ul, .btn-callout, .btn-return
        {
	    font-size:1em;
	    }
    }


/* Summary/Item list
--------------------------------------------------------------------------------*/

ul.itemlist, ol.itemlist
    {
    margin:0.3125em 0 1.3125em;
    }

/*.itemlist li
    {
    width:30.25%;
    margin:0 2.25% 1.3125em 0;
    }

.itemlist li a.iteminfo
    {
    height:260px;
    }*/

.itemlist li a.iteminfo span
    {
    width:100%;
    padding:0;
    }

.itemlist li a.iteminfo img
    {
    float:none !important;
    margin:0 auto 0.5em;
    }

.itemlist strong
    {
    font-size:1em;
    }

.itemlist em
    {
    padding-bottom:1em;
    font-size:0.875em;
    }


/* Lightbox galleries
----------------------------------------------------------------------------------*/

@media screen and (min-width:1140px)
	{
	.lb-gallery
		{
		margin-bottom:1.5em;
		}
	}


/* Section galleries
----------------------------------------------------------------------------------*/

.section a
	{
	width:auto;
	}

@media screen and (min-width:1140px)
	{
	.section li
		{
		margin-bottom:1.5em;
		}

	.section img
		{
		margin:0 0 1.5em 1.5em;
		}

	.section strong
		{
		font-size:1.375em;
		}

	.section span.jobtitle, .section em
		{
		font-size:1em;
		}

	.section em
		{
		margin-bottom:1.5em;
		}
	}


/* Paired galleries
----------------------------------------------------------------------------------*/

@media screen and (min-width:1140px)
	{
    .pairedlist strong
        {
        font-size:1.125em;
        }

    .pairedlist em
        {
        font-size:1em;
        }
	}


/* Events list
----------------------------------------------------------------------------------*/

.nav-events label, .nav-events select
    {
    font-size:0.875em;
    }

.events-list img
    {
    max-width:100px;
    }


/* Google map
----------------------------------------------------------------------------------*/

.map
	{
	float:left/*right*/;
	width:100%/*64%*/;
	margin:0 0 1.5em/* 1.5em*/;
	}

/*@media screen and (min-width:1140px)
	{
	}*/


/* Sidepane
----------------------------------------------------------------------------------*/

.supplemental
	{
	width:100%;
    /*margin-bottom:70px;*/
    padding-top:2em;
    padding-bottom:2em;
    padding-left:-moz-calc((100% - 950px) / 2);
    padding-left:-webkit-calc((100% - 950px) / 2);
    padding-left:calc((100% - 950px) / 2);
    padding-right:-moz-calc((100% - 950px) / 2);
    padding-right:-webkit-calc((100% - 950px) / 2);
    padding-right:calc((100% - 950px) / 2);
    /*background-color:#666;*/
    -moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
	}

.supplemental h3
    {
    font-size:2.25em;
    }

#supplemental-apply img
    {
    max-width:60%;
    }

#supplemental-bulkfuel, #supplemental-cstores, #supplemental-auto
	{
	min-height:350px;
	}

#supplemental-bulkfuel
	{
	background-size:1056px 350px;
	}

#supplemental-cstores
	{
	background-size:1516px 350px;
	}

#supplemental-auto
	{
	background-size:1684px 350px;
	}

#supplementalcontact
	{
	margin-bottom:78px/*50px*/;
	}

#contact-phone
    {
    font-size:1.375em;
    }

#supplemental-sub
    {
    /*position:fixed;*/
    width:240px;
    /*margin-left:690px;*/
    padding:10px 0 0 20px;
    border-top:none;
    }

#supplemental-sub #cip-login
    {
    float:none !important;
    width:240px;
    margin-top:0;
    padding:20px 20px 0;
    overflow:hidden;
    -moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
    }

@media screen and (min-width:1140px)
    {
    .supplemental
		{
		padding-top:3em;
        padding-bottom:2.5em;
		padding-left:-moz-calc((100% - 1100px) / 2);
		padding-left:-webkit-calc((100% - 1100px) / 2);
		padding-left:calc((100% - 1100px) / 2);
		padding-right:-moz-calc((100% - 1100px) / 2);
		padding-right:-webkit-calc((100% - 1100px) / 2);
		padding-right:calc((100% - 1100px) / 2);
		}

    .supplemental h3
        {
        font-size:2.5em;
        }

    #supplemental-bulkfuel, #supplemental-cstores, #supplemental-auto
	    {
	    background-size:auto;
	    }

    #supplemental-bulkfuel
	    {
	    min-height:439px;
	    }

    #supplemental-cstores, #supplemental-auto
	    {
	    min-height:500px;
	    }
	
	#supplemental-cstores a
        {
        width:532px;
        height:276px;
        background-size:auto;
        }
    
    #contact-phone
        {
        font-size:1.5em;
        }
	
	#supplemental-sub, #supplemental-sub #cip-login
		{
		width:260px;
		}
	
	#supplemental-sub
        {
        /*margin-left:820px;*/
        }
    }


/* Footer
----------------------------------------------------------------------------------*/

#footer
    {
    position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:78px/*50px*/;
    padding-top:0.75em;
	padding-left:-moz-calc((100% - 950px) / 2);
    padding-left:-webkit-calc((100% - 950px) / 2);
    padding-left:calc((100% - 950px) / 2);
    padding-right:-moz-calc((100% - 950px) / 2);
    padding-right:-webkit-calc((100% - 950px) / 2);
    padding-right:calc((100% - 950px) / 2);
    -moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
    }

@media screen and (min-width:1140px)
    {
    #footer
		{
		padding-left:-moz-calc((100% - 1100px) / 2);
		padding-left:-webkit-calc((100% - 1100px) / 2);
		padding-left:calc((100% - 1100px) / 2);
		padding-right:-moz-calc((100% - 1100px) / 2);
		padding-right:-webkit-calc((100% - 1100px) / 2);
		padding-right:calc((100% - 1100px) / 2);
		}
    }


/* Forms 
----------------------------------------------------------------------------------*/

.basicform
    {
    width:69%;
    margin:0 0 54px;
    }
	
.simpleform select
	{
	font-size:0.875em;
	}

@media screen and (min-width:1140px)
	{
	.basicform fieldset legend
		{
		font-size:1.625em;
		}

	.basicform fieldset ol ol li.noinput, .basicform fieldset ol ul li.noinput
		{
		line-height:1.5em;
		}
		
	.basicform fieldset ol ol li.noinput, .basicform fieldset ol ul li.noinput, .basicform fieldset label, .basicform fieldset .text-nofield, .basicform fieldset .textbox, .basicform fieldset .mediumtextbox, .basicform fieldset .shorttextbox, .basicform fieldset select, .basicform fieldset textarea, .basicform fieldset fieldset legend, .basicform fieldset fieldset.subtextboxes legend, .basicform fieldset fieldset label, .basicform fieldset fieldset.subtextboxes label, .basicform fieldset fieldset.longlist label, .basicform fieldset fieldset.longlist span.checkbox, .basicform fieldset fieldset.longlist span.checkbox label, .basicform fieldset .btn-form, .simpleform label, .simpleform .textbox, .simpleform select, .simpleform textarea, .simpleform .fileupload, .simpleform .btn-form
		{
		font-size:1em;
		}
	}


/* Horizontal rules
----------------------------------------------------------------------------------*/

.hr
	{
	margin-bottom:1.3125em;
	}