/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body {
    font: 14px/20px Tahoma, Arial, sans-serif;
	background:#D7B892;
	direction:rtl;
}

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot?-spbbmd');
	src:url('../fonts/icomoon.eot?#iefix-spbbmd') format('embedded-opentype'),
		url('../fonts/icomoon.woff?-spbbmd') format('woff'),
		url('../fonts/icomoon.ttf?-spbbmd') format('truetype'),
		url('../fonts/icomoon.svg?-spbbmd#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-pdf:before {
	content: "\e600";
}
.icon-youtube:before {
	content: "\e601";
}
.icon-pdf, .icon-youtube{ font-size:36px; position:absolute; right:10px; top:16px; }

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.pageWrapper{width:500px; margin:0 auto; padding:15px 0;}
.logoContainer{ width:159px; height:54px; margin:0 auto 15px;}
.logoContainer h1{margin:0;}
.poemWrapper{ text-align:center; background-color: rgb(255,255,255); background-color: rgba(255,255,255,0.6); padding:15px 20px;}
.poemContainer p{ margin:0; }
.topBorder{ background:url(../images/top-border.png) center 11px no-repeat;}
.middleBorder{background:url(../images/middle-border.png) center 0 repeat-y;}
.footerBorder{background:url(../images/footer-border.png) center -14px no-repeat;}
.peomTitle{margin:0;}
.poemText{padding:10px 0;}

.buttonContainer{ margin:0 0 20px 0;}
.buttonContainer a{width:180px; position:relative; padding:12px 60px 0 0; height:54px; display:block; float:left; text-align:right; color:#fff; text-decoration:none;}
.buttonContainer a.pdf{margin:0 20px 0 0; background:#0E7B3E;}
.buttonContainer a.yt{ background:#E81D25;}
.btnTitle{display:block; color:#000; }


/* ==========================================================================
   Media Queries
   ========================================================================== */



@media only screen and (max-width: 480px) {
	.pageWrapper{width:400px;}
	.buttonContainer a{width:140px; padding:12px 50px 0 0;}
	.btnTitle{ font-size:12px;}
	.topBorder{ background:url(../images/top-border1.png) center 11px no-repeat;}
	.middleBorder{background:url(../images/middle-border1.png) center 0 repeat-y;}
	.footerBorder{background:url(../images/footer-border1.png) center -14px no-repeat;}
}

@media only screen and (max-width: 360px) {
    .pageWrapper{width:300px; padding:10px 0;}
	.poemWrapper{ padding:6px 10px;}
	.logoContainer{ width:120px!important; height:auto; margin:0 auto 10px;}
	.logoContainer img{ width:120px; height:auto;}
	.buttonContainer a{width:109px; padding:6px 36px 0 0; font-size:12px;}
	.btnTitle{ font-size:13px; line-height:14px;}
	.buttonContainer{margin:0 0 10px 0;}
	.buttonContainer a.pdf{margin:0 10px 0 0;}
	.icon-pdf, .icon-youtube{ font-size:30px; position:absolute; right:4px; top:14px; }
	.topBorder{ background:url(../images/top-border2.png) center 11px no-repeat;}
	.middleBorder{background:url(../images/middle-border2.png) center 0 repeat-y;}
	.footerBorder{background:url(../images/footer-border2.png) center -14px no-repeat;}
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}