/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */


/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */


/*
 * 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
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: myEnFont;
  font-style: normal;
  src: url('../fonts/bernardo/TheBernardo.ttf'), url('../fonts/bernardo/TheBernardo.otf');
}

@font-face {
  font-family: PtSans;
  font-style: normal;
  src: url('../fonts/PT-Sans/PTSans-Regular.ttf'), url('../fonts/PT-Sans/PTSans-Bold.ttf'), url('../fonts/PT-Sans/PTSans-Italic.ttf'), url('../fonts/PT-Sans/PTSans-BoldItalic.ttf');
}

body {
  direction: ltr;
}

nav {
  width: 100%;
  height: 50px;
  background-color: #453F3F;
  /*  border-bottom:2px solid #ccc; */
  opacity: 0.85;
  position: fixed;
  /*animation-name:stickTop;
  animation-duration:0.6s;*/
  margin-top: 8px;
  z-index: 2;
}

nav ul {
  list-style: none;
}

nav ul li {
  float: left;
}

nav ul li.persian {
  float: right;
}

nav ul {
  margin-left: 40%;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  padding: 13px 1em 0.625em 1.25em;
  margin-top: 0.2em;
  /* margin:0 !important;*/
  font-size: 17px;
  font-weight: bold;
  font-family: myEnFont;
  width: 4.25em;
  height: 1.6em;
  display: block;
}

nav ul li a.main_page {
  width: 3.25em;
}

nav ul li a.persian {
  padding: 13px 15px;
  text-align: center;
}

nav ul li a:hover {
  color: #468847;
}

.box1 {
  width: 100%;
  height: 24.5em;
  background-size: 100% 100%;
  overflow: auto;
  background-repeat: no-repeat;
  z-index: 0;
}

.sub-container {
  position: relative;
  border-bottom: 4px solid #6a6663;
  /* border:10px solid blue;*/
}

.dr_kalateh {
  /*  background-image:url(../img/dr_kalateh.jpg);*/
  position: absolute;
  width: 192px;
  left: 50px;
  top: 264px;
  border: 3px solid #6a6663;
  box-shadow: -16px 16px 15px #383636;
  z-index: 1;
}

.dr_kalateh img {
  width: 100%;
  height: 100%;
}

.box2 {
  width: 100%;
  /* height: 740px;*/
  background-image: url(../img/paszamineye_boland_en.jpg);
  background-size: cover;
  overflow: auto;
  /* border-bottom: 3px solid #01FF70;*/
  z-index: 0;
}

.h_ha {
  float: left;
  margin: 18px 0px 0px 260px;
  /*border:3px solid #ffffff;
  height: 108px;*/
}

.menueIcon {
  float: right;
  margin-right: 5%;
  margin-top: 6%;
  display: none;
}


/* ------ menue Items in mobile and tablet ------*/

.menueOptionsInMobileTablet {
  display: none;
  float: right;
  width: 100%;
  height: 130px;
  background-color: #453F3F;
  /*background-color: #F5FFFA;
  margin-left: 5%;
  margin-top: 9%;*/
  border: 1px solid black;
  opacity: 85%;
  color: #fff;
}

.menueOptionsInMobileTablet ul {
  list-style: none;
}

.ulClasses {
  /* border: 2px solid yellow;
   margin: 0 auto;*/
  width: 100px;
  margin-top: 12px;
}

.menueOptionsInMobileTablet ul li a {
  text-decoration: none;
  padding: 6px 1.5em 0.625em 1em;
  font-size: 13px;
  line-height: 14px;
  color: #fff;
  /*
  margin-top: 0.2em;
  margin:0 !important;
  color: #fff;

  font-weight: bold;
  width: 5.25em;
  height: 1.6em;*/
  font-family: myEnFont;
  display: block;
}

.closeIcon {
  float: right;
  margin-right: 4%;
  margin-top: 3%;
}


/*    -------------------  */

.menueIcon_forFlex {
  margin-left: 90%;
  margin-top: 9%;
  display: none;
}

.h_ha h1 {
  width: 465px;
  height: 37px;
  margin: 0px 0px 0px 15px;
  padding: 0px 0px 5px 0px;
  /*margin-top: 75px;
  margin-bottom: 50px;
  margin: 28px 250px 0px 0px;*/
  text-align: left;
  color: #000000;
  font-size: 38px;
  font-family: PtSans;
  border-bottom: 3px solid #468847;
  text-shadow: -17px 8px 6px #888;
}

.h_ha h2 {
  /*height: 25px;*/
  width: 400px;
  margin: 9px 0px 0px 85px;
  text-align: left;
  color: #000000;
  font-size: 27px;
  font-family: PtSans;
  text-shadow: -17px 8px 6px #888;
  /*border: 3px solid #ffffff;*/
}

.h_ha h3 {
  height: 21px;
  text-align: left;
  margin: 10px 0px 0px 88px;
  color: #000000;
  font-size: 20px;
  font-family: PtSans;
  text-shadow: -17px 8px 6px #888;
  /*border: 3px solid #ffffff;*/
}

.moarefi {
  border-bottom: 2px solid #000000;
  margin-top: 2.5em;
  margin-left: 9.5%;
  width: 58.5%;
}

.onvan {
  font-size: 1.5625em;
  font-weight: bold;
  line-height: 2.3125em;
  /* margin-right:0.9em;
  margin-top:3.5em; */
  font-family: PtSans;
  text-shadow: -14px 8px 4px #888888;
}

.myMarginTop {
  margin-top: 25px;
}

.myMarginLeft {
  margin-left: 4px;
}

p.matn {
  font-size: 1.1em;
  /*margin:1em 8em 1em 32em;*/
  font-family: PtSans;
  font-weight: 300;
  line-height: 40px;
  color: #2a2a2a;
  /* text-align: justify;
   text-justify: inter-word;
    border-bottom:2px solid black;*/
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: break-word
}

.maharat_ha {
  margin-top: 1.5em;
  margin-left: 9.5%;
  width: 58.5%;
}

.box3 {
  width: 100%;
  /* height: 1200px;*/
  background-image: url(../img/paszamine_box3.jpg);
  overflow: auto;
  background-repeat: repeat;
  border-bottom: 3px solid #B10DC9;
  background-attachment: fixed;
}

.zamine_haye_faaliat {
  width: 38%;
  margin-top: 50px;
  margin-left: 4em;
  border: 1px solid #000000;
  /*background-image:url('../img/ttt.jpg'); */
  padding: 30px;
  border-radius: 30px;
  float: left;
  box-shadow: -20px 28px 20px #888888;
}

.eftekharat {
  width: 38%;
  margin-top: 525px;
  margin-bottom: 40px;
  margin-left: 50%;
  border: 1px solid #000000;
  /*background-image:url('../img/ttt.jpg'); */
  padding: 30px;
  border-radius: 30px;
  box-shadow: -20px 28px 20px #888888;
}

.myFooter {
  width: 100%;
  /*  height: 170px;*/
  background-image: url(../img/curls.png);
  overflow: auto;
  background-repeat: repeat;
}

.address {
  /* border: 2px solid white;*/
  margin: 20px 0px 0px 30px;
  width: 525px;
  /*height: 150px;*/
  float: left;
}

.titleFooterFont {
  color: #18ba60;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 2.3125em;
  font-family: PtSans;
}

.footerFont {
  color: white;
  font-size: 1em;
  /* font-weight: bold; */
  line-height: 2.3125em;
  font-family: PtSans;
  margin-left: 40px;
  white-space: pre-wrap;
}

.emailAdrress {
  /* border: 2px solid blue;*/
  width: 450px;
  /* height: 110px;
  text-align: left;*/
  margin: 27px 0px 0px 8%;
  float: left;
}

.emailAdrressFooterFont {
  float: right;
  text-align: left;
  /*width: 220px;
  border: 2px solid #fff;*/
  margin-right: 20px;
}

.icon {
  color: #18ba60;
  margin-right: 7px;
}


/*  css marbut be safheye savabeg */

.newBox2 {
  width: 100%;
  /*  height: 850px;*/
  overflow: auto;
  border-bottom: 3px solid #B10DC9;
  z-index: 0;
  background-color: #D6D5D3;
}

.elements_of_newBox2 {
  float: left;
}

.savabeg {
  /*margin-top: 14px;*/
  border: 1px solid #000000;
  margin: 65px 0 2% 6%;
  padding: 5px 15px;
  width: 40%;
  box-shadow: -20px 28px 20px #888;
}

.downloadResumeBtn {
  background-color: #292b2c;
  border: 1.5px solid #000;
  /* width: 30%; */
  border-radius: 30px;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
  margin: 10px 0 20px 35%;
}

.imageContainer {
  /*border: 2px solid black;*/
  margin-top: 65px;
  margin-left: 9%;
  max-width: 40%;
}

.drKalatehInOffice {
  width: 100%;
  box-shadow: -20px 28px 20px #888888;
  /* background-image: url(../img/drKalatehInOffice.jpg);
  border: 2px solid #000000;
  background-size: cover;
  border-radius: 40px;
  border: 2px solid black;*/
}

img.inOfficePic {
  /* border: 2px solid #000000; */
  width: 100%;
}

.imageCaption {
  /*border: 2px solid #000000;*/
  margin: 0 auto;
  height: 60px;
}

.matneAx {
  /* font-size: 1.05em; */
  /*margin:1em 8em 1em 32em;*/
  font-family: myfont;
  font-weight: 300;
  line-height: 40px;
  color: red;
  text-align: center;
  margin-top: 10px;
  text-shadow: -17px 8px 4px #888;
  /* border-bottom:2px solid black;
  b33a3a*/
}


/*  css marbut be safheye download mataleb */

.newBox3 {
  width: 100%;
  /*  height: 850px;*/
  overflow: auto;
  border-bottom: 3px solid #B10DC9;
  z-index: 0;
  background-color: #D6D5D3;
}

.downloadeMataleb {
  border: 2px solid black;
  width: 93%;
  /* height: 935px;*/
  margin: 35px auto;
}

.onvanDownloadPage {
  text-decoration: underline;
  text-underline-offset: 10px;
  text-decoration-thickness: 3px;
  margin-top: 20px;
  font-family: myfont;
}

.myMarginLeft {
  margin-left: 1.5%;
}

div.downloadBox {
  width: 23%;
  height: 220px;
  border: 1px solid black;
  margin: 30px 0.8%;
  border-radius: 30px;
  float: left;
  background-color: #F5FFFA;
  position: relative;
  box-shadow: 0 15px 20px rgba(0, 0, 0, .2);
}

.bookTitle {
  font-size: 1.1em;
  font-weight: bold;
  line-height: 2.4em;
  /* margin-right: 0.em;
  margin-top:3.5em; */
  font-family: PtSans;
  text-indent: 5%;
}

.detail {
  color: red;
}

.bookDetail {
  font-size: 1.1em;
  font-weight: normal;
  line-height: 2em;
  text-indent: 7%;
  font-family: PtSans;
}

.btn {
  background-color: yellowgreen;
  border: 1.5px solid black;
  width: 40%;
  border-radius: 30px;
  color: white;
  padding: 12px 0;
  cursor: pointer;
  position: absolute;
  right: 6%;
  bottom: 7%;
  box-shadow: -5px 11px 3px rgba(0, 0, 0, .2);
  /*font-size: 20px;
  margin-right: 53%;
  margin-top: 50px;
      */
}

.matneBtn {
  font-size: 0.8em;
  font-family: PtSans;
  /*margin:1em 8em 1em 32em;
  font-weight: 300;
  line-height: 40px;*/
}

.btn:hover {
  background-color: red;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}


/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}


/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  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 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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !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) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
