/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */
body{direction:rtl; font-family: 'Arimo', sans-serif; font-size:16px; background:#FFF;}
.container_full{width:100%;}
.container_main{width:100%; max-width:1250px; margin:0 auto; box-sizing:border-box; padding:0 2.88%; }
.column_lg01{width:57%;/*675/1177*/ float:right;}
.column_sm01{width:36%;/*430/1177*/ float:right; margin-right:6%;}

/* HEADER */

header.container_main{height:70px;}
.contact-info{float:left; font:normal normal 1em/100% 'Arimo', sans-serif; color:#B4B2B2; direction:ltr; padding: 20px 0 0;}
.contact-info a, .contact-info a:link,.contact-info a:visited, .contact-info a:active, .contact-info span, .way .block02 a,.way .block02 a:link, .way .block02 a:visited, .way .block02 a:active{color:#2E7DBD;text-decoration:none; font-weight: 700;
	-webkit-transition: color 0.5s linear;
        -moz-transition: color 0.5s linear;
        -ms-transition: color 0.5s linear;
        -o-transition: color 0.5s linear;
        transition: color 0.5s linear;
}
.contact-info a:hover, .contact-info a:focus, .way .block02 a:hover, .way .block02 a:focus{color:#DD8F40;}

/* BANNER  */
.banner{background: #253762; /* Old browsers */
background: -moz-linear-gradient(top, #253762 0%, #535677 54%, #5d5466 68%, #675056 84%, #704f46 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#253762), color-stop(54%,#535677), color-stop(68%,#5d5466), color-stop(84%,#675056), color-stop(100%,#704f46)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #253762 0%,#535677 54%,#5d5466 68%,#675056 84%,#704f46 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #253762 0%,#535677 54%,#5d5466 68%,#675056 84%,#704f46 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #253762 0%,#535677 54%,#5d5466 68%,#675056 84%,#704f46 100%); /* IE10+ */
background: linear-gradient(to bottom, #253762 0%,#535677 54%,#5d5466 68%,#675056 84%,#704f46 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#253762', endColorstr='#704f46',GradientType=0 ); /* IE6-9 */
}
.banner-img{background:url(../img/logotherapy01.jpg) center top no-repeat; width:100%; min-height:600px;}
.banner .content{padding: 50px 2.88% 145px;}
.banner .content .column_lg01{text-align:center;}
.column_lg01 .ttl01{font-size: 3.625em; font-weight: 700; color:#FFF;}
.column_lg01 .ttl02{font-size: 2.25em; color:#FDF03E;}
.column_lg01 .ttl03{font-size: 4.35em; font-weight: 700; color:#FFF; margin:15px 0; line-height:90%;}
.column_lg01 p{margin-right:14.25%; max-width:500px;}

/* FORM #1 */
.circle{background: rgba(250,159,56,0.8); border-radius:100%; width:370px; height: 370px; text-align:center; color:#FFF; margin: 0 auto; font-size:1.25em; font-weight: 700; padding: 40px 0 0; box-sizing:border-box; line-height:100%;}
.circle span{font-size:0.75em; font-style:italic;line-height:180%;}
.circle h2{font-size:1.25em; margin:0; line-height:100%;}
.circle .form-entry{margin-top: 20px;}
.form-entry {width:285px; margin: 0 auto; text-align:center;}
.form-entry label{min-width:55px; display:inline-block; margin:0 0 20px 0; font-size:0.875em;}
.form-entry input{max-width:200px; height:24px; margin: 0 5px 0 0; color:#333; fpmt-weight:400;}
.form-entry input[type="submit"]{color:#000; font-size: 0.888888em;
	background: #17bfff; /* Old browsers */
background: -moz-linear-gradient(top, #17bfff 0%, #31ace8 64%, #31ace8 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#17bfff), color-stop(64%,#31ace8), color-stop(100%,#31ace8)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #17bfff 0%,#31ace8 64%,#31ace8 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #17bfff 0%,#31ace8 64%,#31ace8 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, #17bfff 0%,#31ace8 64%,#31ace8 100%); /* IE10+ */
background: linear-gradient(to bottom, #17bfff 0%,#31ace8 64%,#31ace8 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17bfff', endColorstr='#31ace8',GradientType=0 ); /* IE6-9 */
border:0; 
box-shadow: 0 0 3px rgba(0,0,0,0.35);
width:150px;
float:left;
margin-left:35px;
}
.af-form-wrapper #af-form-211408808{}

/* BLUE */
.blue {background:#2F7DBD; color:#FFF; font-size:1.5em; min-height:280px; padding: 30px 0;}
.blue .block01, .blue .block02, .blue .block03{float:right; width: 32%; height: auto; text-align:center;}
.blue .block02 img{width:100%; max-width:428px;}
.blue .block01 span{font-size: 2.666666666666667em;}
.blue .block03 .course-date{color:#FDF03E;font-size: 2.666666666666667em;}
.blue .block03 .course-loc{font-size:1.777777777777778em;}

/* THE WAY */
.way{text-align:center !important;}
.way h2, .instruct h2{font: normal 700 3em/100% 'Arimo', sans-serif; color:#2E7DBD; text-align:right;}
.way .ttl-cntr{text-align:center;}
.way p{font: normal normal 1em/140% 'Arimo', sans-serif; color:#333; text-align:right;}
.way .block01, .way .block02{width: 47%; float:right; margin: 30px 0 30px 2%;}
.shade{width: 90%; max-width: 900px; margin:0 auto;}
.icons{max-width:1177px; margin:0 auto; padding: 30px 0; font: normal normal 1em/160% 'Arimo', sans-serif; color:#333;}
.icons > div{ width: 25%; float:right;margin: 0 0 30px;}
.icons > div > img {width: auto; max-height:134px; margin: 0 0 10px;}

/* INSTRUCT */
.instruct .column_lg01{text-align:right;}
.instruct .column_lg01 p{margin: 0; max-width:700px;}
.instruct .column_lg01 img{float:right; margin: 0 0 300px 15px;}
.instruct .column_sm01 ul{margin:80px 0 0;}
.instruct .column_sm01 li{font:normal 700 1.3125em/120% 'Arimo', sans-serif; color:#2E7DBD; list-style:none; margin:0 0 30px; padding:0;} 
.instruct .column_sm01 li i{font-weight: bold; font-size: 2.5em; margin: -14px 0 10px 10px; float:right;}
.instruct .circle{margin-bottom: 50px; font-size: 1.25em; line-height: 100%;}
.instruct .circle span{font-size:0.75em; font-style:italic;line-height:180%;}
.instruct .circle h3{font-size:1.25em; margin:0; line-height:100%;}
.instruct .circle .form-entry{margin-top: 20px;}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (max-width: 1200px){
	.column_lg01 .ttl01{font-size: 3em;}
	.column_lg01 .ttl02{font-size: 1.85em;}
	.column_lg01 .ttl03{font-size: 3.75em;}
	.column_lg01 p{margin-right:7%;}
	
}

@media only screen and (max-width: 1024px){
	.column_lg01 .ttl01{font-size: 2.8em;}
	.column_lg01 .ttl02{font-size: 1.75em;}
	.column_lg01 .ttl03{font-size: 3.5em;}
	.column_lg01 p{margin-right:0;}
	.blue{font-size:1em;}
}

@media only screen and (max-width: 800px){
.column_lg01 .ttl03{font-size: 3.5em;}
.column_lg01 p{margin-right:0; max-width:90%;}
.column_lg01{width:100%;float:none;}
.column_sm01{width:100%; float:none; margin-right:0;}
.blue .block02 img{min-width: 200px; margin: 10px 0 20px;}
.blue .block01, .blue .block02{width:28%;}
.blue .block02{width: 40%;}
.blue .block01 span{font-size: 1.5em;}
.blue .block03 .course-date{font-size: 2em;}
.blue .block03 .course-loc{font-size:1.5em;}
.blue{min-height:150px;}
.icons > div{ width: 50%; float:right; margin: 30px 0;}
.instruct .column_sm01 li i{margin: -14px 0 0px 10px;}
.instruct .column_lg01 img{float:right; margin: 0 0 100px 15px;}
}

@media only screen and (max-width: 640px){
.contact-info, .contact-info img{float:none;}	
header.container_main{height:auto; text-align:center;}
.blue .block01 img{display:none;}
.way .block01, .way .block02{width: 90%; float:none; margin: 30px 0 30px;}
.instruct .column_lg01 p{margin: 0; max-width:700px;}
.instruct .column_lg01 img{float:none; margin: 0 0 10px 15px;}
}

@media only screen and (max-width: 480px){
	.contact-info{font-size: 0.825em;}
	.column_lg01 .ttl01{font-size: 2.5em; line-height: 100%;}
	.column_lg01 .ttl02{font-size: 1.5em;}
	.column_lg01 .ttl03{font-size: 3em;}
	.banner .content{padding: 40px 0 30px;}
	.circle{width: 320px; height: 320px;}
	.form-entry input{width:150px; margin-bottom: 5px;}
	.form-entry label{margin:0 0 10px 0;}
	.form-entry input[type="button"]{width: 100px;}
	.blue .block01, .blue .block02, .blue .block03{width:90%; float:none;}
	.icons > div{ width: 90%; float:none; margin: 30px 0;}
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
