@import url('/wp-content/themes/camden-park/css/app.css');

/*
* Theme Name: Camden Park
* Author: RPS
* Template: twentyfifteen
*/

/* General
--------------------- */

* { box-sizing: border-box; }

body {
    background-color: #9C0100;
    background-image: url('img/bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    padding: 50px 0;
}

@media (max-width:414px) {
	body { padding: 0; }
  	.container { 
	  padding: 0; 
	  width: 100%; 
	} 
	.hide-mobile { display: none; }
}

h1 {
    font-size: 36px;
    line-height: 29px;
    color: #004680;
    font-weight: bold;
    text-transform: uppercase;
    margin: 15px 0;
    letter-spacing: -0.05em;
}

@media (max-width:414px) {
	h1 { 
	  font-size: 30px;
	  line-height: 34px; 
	} 
}

h2 {
    font-size: 24px;
    line-height: 24px;
    color: #252525;
    font-weight: bold;
    margin: 15px 0;
    letter-spacing: -0.05em;
}

@media (max-width:414px) {
	h1 { 
	  font-size: 20px;
	  line-height: 24px; 
	} 
}

h4 {
    line-height: 27px;
    font-size: 18px;
    letter-spacing: -0.05em;
}

table {
    width: 100%;
}

@media (max-width:414px) {
  #content > div > div > table > tbody > tr:nth-child(3) > td:nth-child(3) { border-bottom: 0; } 
  table tr td { 
	width: 100%;
	float: left; 
	padding: 15px !important; 
  } 
}

.button { border: 0; }

@media (max-width:768px) {
	.button { width: 100%; }
}

.special {
    font-size: 55px;
    font-weight: 700;
    line-height: 13px;
    text-transform: uppercase;
}

/* Header
--------------------- */

header {
    background-color: #004680;
    padding: 15px;
    text-align: center;
    border-radius: 6px 6px 0 0;
}

header a { 
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 0 3px;
}

header p {
    font-size: 2.2rem;
    color: #FAC700;
    margin: 0;
}

header #social .fa {
    font-size: 2rem;
    line-height: 59px;
}

header .tickets {
    position: absolute;
    right: 15px;
    top: 11px;
}

header .tickets a:hover { opacity: 0.75; } 

header .logo {
    position: absolute;
    left: -27px;
}

@media (max-width: 1170px) {
    header .logo { 
        position: relative; 
        left: 0;
    }
    header .tickets {
      position: relative;
      right: 0;
      top: 0;
    }
}

@media (max-width: 985px) {
    header #social .fa { font-size: 1.8rem; }
} 

@media (max-width: 774px) {
    header .four.columns,
    header .two.columns { min-width: 100%; width: 100% !important; margin: 0 !important; }  
    header .text-right { text-align: center; } 
}

/* Nav
--------------------- */

nav {
    background-color: #FF1F25;
    padding: 15px;
    text-align: center;
}

nav a { padding: 0 15px; color: #FFF200; }
nav a:hover { color: #fff; } 

@media (max-width: 1170px) {
    nav { margin-top: -21px; } 
}

@media (max-width:414px) {
  nav ul li { width: 100%; } 
}

/* Subnav
--------------------- */

#subnav {
    background-color: #004680; 
    padding: 5px;
    text-align: center;
}

#subnav a { 
    padding: 0 15px;
    color: #fff;
    font-size: 12px;
}

#subnav a:hover { opacity: .75; } 

@media (max-width:414px) {
  #subnav { display: none;  } 
}

/* Content
--------------------- */

#content { 
    background-color: #fff;
    padding: 25px;
}

.sub {
    color: #888888;
    font-size: 12px !important;
    font-style: italic;
    margin: 0;
}

.button {
    color: #fff;
    background-color: #004680;
}

.button:hover {
    color: #fff;
    background-color: #0062b3;
}

ul {
    padding-left: 15px;
    list-style-type: square;
    margin-bottom: 5px;
}

li {
    margin-bottom: 5px;
}

.u-pull-right {
    margin: 10px;
}

.space {
    margin: 0px;
}


/* Page ID Specific
---------------------- */
.page-id-26 p {
    margin-bottom:0px;
}

.page-id-26 .button {
    margin-top: 10px;
}

.page-id-26 address {
    font-style:normal;
    font-weight: 400;
    margin: 9px 0;
    line-height: 18px;
}

.page-id-26 .u-pull-left {
    float: left;
    margin-right: 20px;
    margin-top: 15px;
}

/* Event Single
---------------------- */

#event .five img {
    width: 300px;
}

/* Events & Promo Page
---------------------- */

.promo .row > div {
    position: relative;
    margin-bottom: 15px;
    margin-top: 15px;
}

.promo .row > div > div {
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 100%;
    max-height: 100%;
    
    height: 250px;
    width: 100%;
}

.promo .row > div a {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    
      background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 53%,rgba(0,0,0,0.75) 86%,rgba(0,0,0,0.85) 100%);
    
    color: #fff;
    text-transform: uppercase;
    line-height: 20px;
    text-align: center;
    padding: 190px 10px 0 10px;
    font-size: 1.35em;
}

.promo .row > div a:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .50) 65%,rgba(0, 0, 0, 1) 100%);
}



/* Birthday Table
---------------------- */

.birthday td {
    vertical-align: top;
}

/* Partners 
---------------------- */

.partners  {
    padding: 5px;
    display: inline-block;
}

/* Price Rates Table
---------------------- */
.rates {
    border-spacing: 0;
    border-style: none;
    font-size: 13px;
}

.rates h2 {
    margin: 17px 0 5px;
}

.rates tr td{
    padding: 2px;
}

.rates td:nth-child(2) {
    border-left: 2px solid #e1e1e1;
    padding-left: 8px;
}

/* Park Information
---------------------- */

#info > div {
    position: relative;
    margin-bottom: 15px;
}

#info > div > div {
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 100%;
    max-height: 100%;
    height: 200px;
    width: 100%;
}

#info > div a {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    
      background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 53%,rgba(0,0,0,0.75) 86%,rgba(0,0,0,0.85) 100%);
    
    color: #fff;
    text-transform: uppercase;
    line-height: 20px;
    text-align: center;
    padding: 150px 10px 0 10px;
    font-size: 1.35em;
}

#info > div a:hover {
    background: linear-gradient(to bottom, rgba(0, 0, 0, .50) 65%,rgba(0, 0, 0, 1) 100%);
}

/* PDF
-------------------------------------------------------------------------- */

.pdf {
    height: 600px;
    
}

.pdf iframe {
    width: 100%;
    min-height:600px;
}

@media only screen and (max-width: 950px)
{
    .pdf iframe {
        min-height: 400px; 
    }
}



/* Skeleton Row Fix
-------------------------------------------------------------------------- */

section.promo > div > div:nth-child(3n+1)
{ margin-left: 0; } 
 
#info > div:nth-child(6) { margin-left: 0; } 


/* Slick Slider
--------------------- */

.slide { position: relative; }

.slide a.slide-link {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%; 
}

.slick-slide {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}



@media (min-width: 1216px)
{
	.slick-slide a img { display: none; }
}

@media (max-width: 1215px) {
  .slick-slide { height: auto; }
  
	.slide a.slide-link {
		position: relative;
	}
	
	.slick-slide img { width: 100%; height: auto; }
}


.slick-next {
    display: block;
    position: absolute;
    right: -45px;
    top: 35%;
    font-size: 5.5rem;
    color: #fff;
}

.slick-prev {
    display: block;
    position: absolute;
    left: -45px;
    top: 35%;
    font-size: 5.5rem;
    color: #fff;
}

.slick-next:hover,
.slick-prev:hover {
    cursor: pointer;
}

/* Hero
--------------------- */

#hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 350px;
}

#hero img { display: none; }

@media (max-width: 1141px)
{
	#hero { height: auto; }

	#hero img {
		display: block;
	}
}
@media (max-width:414px) {
	#hero { display: none; } 
}



/* Breadcrumbs
--------------------- */

#breadcrumbs {
    background-color: #fff;
    padding: 5px 25px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-bottom: 1px solid #efefef;
    color: #7b7b7b;
    letter-spacing: 1px; 
}

#breadcrumbs p { 
    margin: 0; 
    border: 0; 
    padding: 0; 
} 

#breadcrumbs .fa { 
    padding: 0 5px; 
    font-size: 1.3rem; 
} 

#breadcrumbs a { color: #7b7b7b; }
#breadcrumbs a:hover { color: #FF1F25; } 

/* Rides Grid
--------------------- */

#rides > div > div:nth-child(4),
#rides > div > div:nth-child(7),
#rides > div > div:nth-child(10),
#rides > div > div:nth-child(13),
#rides > div > div:nth-child(16) { margin-left: 0; }

#rides img {
    max-height: 270px;
    max-width: 100%;
    width: auto;
}
#rides h5 { font-size: 2rem; }

/* Footer
--------------------- */

footer {
    background-color: #004680;
    padding: 15px;
    border-radius: 0 0 6px 6px; 
}

@media (max-width:414px) {
	footer .three.columns { width: 50%; } 
}

footer hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border-width: 0;
    border-top: 1px solid #003864;
}

footer a { 
    font-size: 12px; 
    color: #fff;
}

footer a:hover { 
  opacity: 0.75; 
  color: #fff;
} 

footer .inline li { line-height: 1; }
footer .inline a { padding: 0 5px; }

footer p {
    color: #fff;
    font-size: 1.2rem; 
    margin: 0;
}

@media (max-width: 774px) {
    footer,
    footer .text-right { text-align: center }
}

/* Park Closed
-------------------------------*/
#closed {
    background-color: white;
    border-radius: 10px;
    border: 2px solid #004680;
    margin-bottom: 20px;
}
#closed p {
    color: red;
    font-weight: 700;
    padding: 10px;
    margin-bottom: 0;
	font-size: 20px;
}
