/* THEMES */
.a4paper {
    box-shadow: 0 0 0.5cm rgba(0,0,0,0.5);
    display: block;
    width: 21cm;
    height: 29.7cm;
    margin: 10px auto 0.5cm;
}

.theme {
    background-size: cover;
}

.theme.print .background-image {
    top: 10px;
    left: 50%;
    margin-left: -10.5cm;
    position: absolute;
    width: 21cm;
    height: 29.7cm;
    z-index: -1;
}

.theme #result {
    background: none;
    text-align: center;
}

.theme .example-explainer {
    display: none;
}

.theme h2 {
    font-size: 42px;
    text-align: center;
    margin: 0 auto;
    max-width: 500px;
    padding: 80px 0 0 0;
    text-shadow: 2px 2px 2px #ffffff;
}

/* LARGE WORDFINDER FIXES */
.theme .grid-18 h2,
.theme .grid-19 h2,
.theme .grid-20 h2 {
    padding-top: 60px;
}
/* END LARGE WORDFINDER FIXES */

.theme p {
    text-align: center;
    font-style: italic;
    color: #7d7d7d !important;
    padding: 20px 0;
    max-width: 580px;
    margin: 0 auto;
}

.theme #word_finder {
    margin: 0 auto;
    display: block;
}

.theme #placed_words {
    float: none;
    font-size: 13px;
}

.theme.preview .grid-1 #placed_words {column-count: 2;}
.theme.preview .grid-2 #placed_words {column-count: 2;}
.theme.preview .grid-3 #placed_words {column-count: 2;}
.theme.preview .grid-4 #placed_words {column-count: 2;}
.theme.preview .grid-5 #placed_words {column-count: 2;}
.theme.preview .grid-6 #placed_words {column-count: 2;}
.theme.preview .grid-7 #placed_words {column-count: 3;}
.theme.preview .grid-8 #placed_words {column-count: 3;}
.theme.preview .grid-9 #placed_words {column-count: 3;}
.theme.preview .grid-10 #placed_words {column-count: 3;}
.theme.preview .grid-11 #placed_words {column-count: 3;}
.theme.preview .grid-12 #placed_words {column-count: 3;}
.theme.preview .grid-13 #placed_words {column-count: 3;}
.theme.preview .grid-14 #placed_words {column-count: 3;}
.theme.preview .grid-15 #placed_words {column-count: 3;}
.theme.preview .grid-16 #placed_words {column-count: 4;}
.theme.preview .grid-17 #placed_words {column-count: 4;}
.theme.preview .grid-18 #placed_words {column-count: 4;}
.theme.preview .grid-19 #placed_words {column-count: 4;}
.theme.preview .grid-20 #placed_words {column-count: 4;}

.theme #placed_words ul {
    margin-right: 30px;
}

.theme .grid-16 #placed_words ul {margin-right: 20px;}
.theme .grid-17 #placed_words ul {margin-right: 20px;}
.theme .grid-18 #placed_words ul {margin-right: 20px;}
.theme .grid-19 #placed_words ul {margin-right: 20px;}
.theme .grid-20 #placed_words ul {margin-right: 20px;}

.theme #placed_words ul.last {
    margin-right: 0;
}

.theme .solution {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

/* LARGE WORDFINDER FIXES */
.theme .grid-18 .solution,
.theme .grid-19 .solution,
.theme .grid-20 .solution {
    max-width: 600px;
}

.theme .grid-18 .solution .text,
.theme .grid-19 .solution .text,
.theme .grid-20 .solution .text {
    display: none;
}

.theme .grid-19 .puzzle .tbl {min-width: 553px;}
.theme .grid-20 .puzzle .tbl {min-width: 562px;}

.theme .grid-18 #placed_words {font-size: 12px;}
.theme .grid-19 #placed_words {font-size: 11px;}
.theme .grid-20 #placed_words {font-size: 11px;}

.theme .grid-19 .puzzle .cell {width: 29px; height: 29px; font-size: 14px;}
.theme .grid-20 .puzzle .cell {width: 28px; height: 28px; font-size: 14px;}

/* END LARGE WORDFINDER FIXES */

.theme .solution .word {
    margin: 0 5px 5px 5px;
}

.theme .solution .word .char {
    background-color: #fff !important;
}

.theme .watermark {
    float: none;
}

/** PARTY */
.theme.party { 
    background: url("/images/themes/party.png") no-repeat top left; 
    background-size: cover;
}

.theme.party h2 {
    font-family: 'Bangers', cursive;
	color: #ffaa08 !important;
    font-size: 42px;
}

.theme.party p {
    font-style: normal;
    font-weight: normal;
    color: #007cc9 !important;
}

/** TRENDY */
.theme.trendy { 
    background: url("/images/themes/trendy.png") no-repeat top left; 
    background-size: cover;
}

.theme.trendy h2 {
    font-family: 'Courgette', cursive;
	color: #6c8674 !important;
    font-size: 42px;
}

.theme.trendy p {
    font-style: normal;
    font-weight: bold;
    color: #e0784f !important;
}

/** CLASSIC */
.theme.classic { 
    background: url("/images/themes/classic.png") no-repeat top left; 
    background-size: cover;
}

.theme.classic h2 {
    font-family: 'Playfair Display', serif;
	color: #e0586e !important;
    font-size: 44px;
}

.theme.classic p {
    color: #30546f !important;
    font-family: 'Times New Roman', Times, serif;
    font-size: 18px;
}

/** STYLISH */
.theme.stylish { 
    background: url("/images/themes/stylish.png") no-repeat top left; 
    background-size: cover;
}

.theme.stylish h2 {
    font-family: 'Alex Brush', cursive;
	color: #c69433 !important;
    font-size: 56px;
}

/** HAPPY */
.theme.happy { 
    background: url("/images/themes/happy.png") no-repeat top left; 
    background-size: cover;
}

.theme.happy h2 {
    font-family: 'Alex Brush', cursive;
	color: #dd4d32 !important;
    font-size: 56px;
    font-weight: bold;
}

/** SAINT NICHOLAS */
.theme.saint-nicholas { 
    background: url("/images/themes/saint-nicholas.png") no-repeat top left; 
    background-size: cover;
}

.theme.saint-nicholas h2 {
    font-family: 'Roboto',Helvetica,Arial,sans-serif;
    color: #fbaa19!important;
    font-size: 42px;
    font-weight: bold;
    text-shadow: 1px 1px 1px #152f42;
}

.theme.saint-nicholas p {
    color: #333333!important;
    font-family: 'Roboto',Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-style: normal;
}

/** SAINT NICHOLAS 2 */
.theme.saint-nicholas-2 {
    background: url("/images/themes/saint-nicholas-2.png") no-repeat top left;
    background-size: cover;
}

.theme.saint-nicholas-2 h2 {
    font-family: 'Courgette';
    color: #ef4923!important;
    font-size: 42px;
    font-weight: bold;
    margin-top: 10px;
}

.theme.saint-nicholas-2 p {
    font-style: normal;
}

/** CHRISTMAS */
.theme.christmas { 
    background: url("/images/themes/christmas.png") no-repeat top left; 
    background-size: cover;
}

.theme.christmas h2 {
    font-family: 'Courgette', cursive;
    color: #ba2636!important;
    font-weight: bold;
}

.theme.christmas p {
    max-width: 530px;
    color: #0f595a!important;
}

/** SUMMER */
.theme.summer {
    background: url("/images/themes/summer.png") no-repeat top left;
    background-size: cover;
}

.theme.summer h2 {
    font-family: 'Courgette';
    color: #e40329!important;
    font-weight: bold;
}

.theme.summer p {
    max-width: 530px;
    color: #241f1a!important;
    font-style: normal;
}

/** AUTUMN */
.theme.autumn {
    background: url("/images/themes/autumn.png") no-repeat top left;
    background-size: cover;
}

.theme.autumn h2 {
    font-family: 'Courgette';
    color: #d80c2f!important;
    font-weight: bold;
}

.theme.autumn p {
    max-width: 530px;
    color: #331b0c!important;
    font-style: normal;
}

/** WINTER */
.theme.winter {
    background: url("/images/themes/winter.png") no-repeat top left;
}

.theme.winter h2 {
    font-family: 'Courgette';
    color: #dc3e1a!important;
    font-weight: bold;
}

.theme.winter p {
    max-width: 530px;
    font-style: normal;
}

/** Valentine */
.theme.valentine {
    background: url("/images/themes/valentine.png") no-repeat top left;
}

.theme.valentine h2 {
    font-family: 'Courgette';
    color: #da3b00!important;
    font-weight: bold;
    margin-top: 20px;
}

.theme.valentine p {
    max-width: 530px;
    font-style: normal;
    color: #558383 !important;
}

/** Spring */
.theme.spring {
    background: url("/images/themes/spring.png") no-repeat top left;
}

.theme.spring h2 {
    font-family: 'Alex Brush', cursive;
    font-size: 70px;
    color: #ffce5a!important;
    margin-top: 20px;
    text-shadow: 1px 1px 1px #152f42;
}

.theme.spring p {
    max-width: 530px;
    font-style: normal;
    padding: 0 0 20px 0;
}

/** Mothers day */
.theme.mothers-day {
    background: url("/images/themes/mothers-day.png") no-repeat top left;
}

.theme.mothers-day h2 {
    font-family: 'Courgette', cursive;
    color: #cf5117!important;
    margin-top: 24px;
    text-shadow: 1px 1px 1px #cfcfcf;
}

.theme.mothers-day p {
    max-width: 530px;
    font-style: normal;
}

/** HALLOWEEN */
.theme.halloween {
    background: url("/images/themes/halloween.png") no-repeat top left;
}

.theme.halloween h2 {
    font-family: 'Bangers', cursive;
    color: #191919!important;
    margin-top: 8px;
    text-shadow: 1px 1px 1px #cfcfcf;
}

.theme.halloween p {
    max-width: 530px;
    font-style: normal;
}

/** MEN STUFF */
.theme.men-stuff {
    background: url("/images/themes/men-stuff.png") no-repeat top left;
    background-size: cover;
}

.theme.men-stuff h2 {
    font-family: 'Roboto',Helvetica,Arial,sans-serif;
    color: #009193!important;
    font-size: 42px;
    font-weight: bold;
}

.theme.men-stuff p {
    color: #333333!important;
    font-family: 'Roboto',Helvetica,Arial,sans-serif;
    font-size: 15px;
    font-style: normal;
}

/** GOLDEN STARS */
.theme.golden-stars {
    background: url("/images/themes/golden-stars.png") no-repeat top left;
    background-size: cover;
}

.theme.golden-stars h2 {
    font-family: 'Alex Brush', cursive;
    color: #c19c43 !important;
    font-size: 56px;
    font-weight: bold;
    margin-top: 8px;
}

.theme.golden-stars p {
    font-style: normal;
    color: #222222 !important;
}

.theme.golden-stars #placed_words a  {
    color: #000000 !important;
}

/** KINGSDAY */
.theme.kingsday {
    background: url("/images/themes/kingsday.png") no-repeat top left;
    background-size: cover;
}

.theme.kingsday h2 {
    font-family: 'Bangers', cursive;
    color: #ff9100 !important;
    font-size: 42px;
    font-style: normal;
}

.theme.kingsday p {
    font-style: normal;
    font-weight: normal;
    color: #0000ff !important;
}

.theme.print{ background: none;}

@page {
    size: A4;
    margin: 0;
}
@media print {
    html, body {
        width: 210mm;
        height: 297mm;
    }
    body, #container {
        margin: 0;
        box-shadow: none;
        padding: 0;
    }

    .theme .cell {
        background-color: #ffffff !important; 
    }

    .theme.print .background-image {
        margin: 0;
        left: 0;
        top: 0;
    }
}