/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.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: "releway-reg";
    src: url(../fonts/Raleway/Raleway-Regular_3.ttf);
}
.font-rel-reg{
    font-family: releway-reg;
}
@font-face{
    font-family: "releway-med";
    src: url(../fonts/Raleway/Raleway-Medium_4.ttf);
}
.font-rel-med{
    font-family: releway-med;
}
@font-face{
    font-family: "releway-blod";
    src: url(../fonts/Raleway/Raleway-Bold_4.ttf);
}
.font-rel-blod{
    font-family: releway-blod;
}
@font-face{
    font-family: "releway-light";
    src: url(../fonts/Raleway/Raleway-Light_4.ttf);
}
.font-rel-light{
    font-family: releway-light;
}
@font-face{
    font-family: "high-amelliya";
    src: url(../fonts/High-Amelliya/High-Amelliya.ttf);
}
.font-high-amelliya{
    font-family: high-amelliya;
    font-weight: bold;
}
@font-face{
    font-family: "lato-light";
    src: url(../fonts/Lato2OFL/Lato-Light.ttf);
}
.font-lato-light{
    font-family: lato-light;
}
@font-face{
    font-family: "lato-black";
    src: url(../fonts/Lato2OFL/Lato-Black.ttf);
}
.font-lato-black{
    font-family: lato-black;
}
@font-face{
    font-family: "lato-reg";
    src: url(../fonts/Lato2OFL/Lato-Regular.ttf);
}
.font-lato-reg{
    font-family: lato-reg;
}
.text-b{
    font-weight: bold!important;
}
.clear{
    overflow: hidden!important;
}
p{
    font-size: 18px!important;
}
.text-red{
    color: #D14C40!important;
}
textarea{
    resize: none!important;
}
/* Customized bootstrap class */
.btn-danger{
    background: #D14C40!important;
}
.btn-primary{
    background: #3E5A99!important;
}
.small, small {
    font-size: 80%!important;
    font-weight: 400;
}
/* navbar section */
nav,.hero-header{
    background: #F5F5F5!important;
}

.navbar-toggler,.hero-social{
    background: linear-gradient(to top, #B74C43,#51568B)!important;
    padding: 10px;
    border-radius: 50%;
    height: 45px;
    width: 45px;
    cursor: pointer;
}
.navbar-toggler img,.hero-social img{
    width: 80%;
}
.hero-social {
	bottom: 10%;
	right: 0;
	margin-right: 15px;
}

.hero-social .social-menu-close-image {
	display: none;
}

.hero-social ul {
	display: none;
}
.hero-social ul.social-active {
	list-style: none;
	display: block;

}
.hero-social ul li {
	background: #435995;
	width: 40px;
	height: 40px;
	display: table;
	border-radius: 50%;
	right: 7px;
	bottom: -8px;
	position: absolute;
	transition: right 1s, bottom 1s;
	-webkit-transition: right 1s, bottom 1s;
}
.hero-social ul.social-active li a {
	color: #fff;
	font-size: 20px;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
.hero-social ul.social-active li:nth-of-type(1) {
	position: absolute;
	right: 100px;
	bottom: -11px;
	transition: right 1s, bottom 1s;
	-webkit-transition: right 1s, bottom 1s;
}
.hero-social ul.social-active li:nth-of-type(2) {
	position: absolute;
	right: 85px;
	bottom: 34px;
	transition: right 1s, bottom 1s;
	-webkit-transition: right 1s, bottom 1s;
}
.hero-social ul.social-active li:nth-of-type(3) {
	position: absolute;
	right: 52px;
	bottom: 70px;
	transition: right 1s, bottom 1s;
	-webkit-transition: right 1s, bottom 1s;
}
.hero-social ul.social-active li:nth-of-type(4) {
	position: absolute;
	right: 8px;
	bottom: 90px;
	transition: right 1s, bottom 1s;
	-webkit-transition: right 1s, bottom 1s;
}
.custom-navbar{
    background: #000000d1;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    z-index: 9999999;
}
.show-nav{
    display: block!important;
}
.custom-navbar-collapse ul li{
    list-style: none;
}
.nav-close{
    position: absolute;
    right: 18%;
    top: 10%;
}
.nav-close a{
    font-size: 50px;
}

/* Hero section */
.hero-header{
    border-bottom: 1px solid #D44C3E;
}
.hero-title{
    top: 0;
    right: 0;
    font-size: 20px;
}
/* main-content section */
.main-content{
    background: #ffffff;
}
.main-heading{
    font-size: 16px;
}
.heading-border{
    border: 1px solid black;
    padding: 3px;
}
.owl-dots{
    margin-top: 50px!important;
}
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span{
    background: #D14C40!important;
}
/* Short about section */
.short-about{
    min-height: 200px;
    background-image: url(../img/adthumb.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.adTitle::before{
    content: "";
    width: 50px;
    height: 3px;
    background: #fff!important;
    position: absolute;
    bottom: 0;
    left: 0;
}
.short-about-item{
    width: 100px;
    height: 100px;
}
.short-about-des h5{
    bottom: 0;
    left: 37%;
    font-size: 75%;
}
/* Contact section */
.contact-section{
    background: #F5F5F5!important;
}

.contact-right-img{
    top: -125px;
}
.contact-right-img img{
    width: 60%!important;
}
/* Footer section */
footer{
    background: #D14C40!important;
}
.footer-social{}
.footer-social li{
    list-style: none;
    float: left;
    margin-left: 20px;
}
.footer-social li a{
    color: #D14C40;
    padding: 8px 11px;
    background: white;
    border-radius: 50%;
}
 /* ==========================================================================
   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
*/

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

/*
* 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;
  white-space: inherit;
}

/*
* 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: 578px) {
    .main-heading{
        font-size: 30px;
    }
    .hero-title{
        top: 10%;
        left: 0;
        right: unset!important;
        font-size: 30px;
    }
}
@media only screen and (min-width: 768px) {
    .main-heading{
        font-size: 40px;
    }
    .contact-right-img img {
        width: 75%!important;
    }
}
@media only screen and (min-width: 992px) {
    .main-heading{
        font-size: 50px;
    }
    .contact-right-img img {
        width: 50%!important;
    }
}

@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:
     * 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;
    }
}


