/*!
Theme Name: @MMV-Shin
Theme URI: https://www.linkedin.com/in/karo-hovhannisyan/
Author: Karo Hovhannisyan
Author URI: https://www.linkedin.com/in/karo-hovhannisyan/
Description: Simple responsive website in HTML5, bt Karo Hovhannisyan
Version: 1.0.1
Tested up to: 5.4
Requires PHP: 5.6
*/

html { line-height: 1.15; -webkit-text-size-adjust: 100%; box-sizing: border-box; font-size: 16px; font-family: Verdana, Arial, sans-serif; }
*, html {

    scroll-behavior: smooth !important;
}
body { margin: 0; background: #ffffff; }
body * { outline: none; }
main { display: block; }

h1 { font-size: 2.125rem; letter-spacing: -.0625rem; line-height: 1; margin: 0.67rem 0; }
h2 { font-size: 1.875rem; letter-spacing: -.05rem; line-height: 1.066667; }
h3 { font-size: 1.5rem; letter-spacing: -.03125rem; line-height: 1.083333; }
h4 { font-size: 1.25rem; letter-spacing: -.025rem; line-height: 1.1; }
h5 { font-size: 1.125rem; letter-spacing: -.0125rem; line-height: 1.111111; }
h6 { font-size: 1rem; letter-spacing: -.00625rem; line-height: 1.125; }

h1, h2, h3, h4, h5, h6 { clear: both; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizelegibility; margin-bottom: 1.25rem; }

p { margin-bottom: 1.5em; }
pre { font-family: monospace, monospace; font-size: 1em; }

a { background-color: transparent; color: #CC3333; }
a:visited { /*color: #800080;*/ }
a:hover,
a:focus,
a:active { /*color: #CC3333;*/ }
/* a:focus { outline: thin dotted;  } */
a:hover,
a:active { outline: 0; }

abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code,
kbd,
samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub,
sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }

/* # Skip Link # */
/* Text meant only for screen readers. */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none;
	color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
	text-decoration: none; top: 5px; width: auto; z-index: 100000; }

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Forms
	 ========================================================================== */
button,
input,
optgroup,
select,
textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }

button,
input { overflow: visible; }

button,
select { text-transform: none; }

button,
[type="button"],
[type="reset"],
[type="submit"] { -webkit-appearance: button; }

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }

fieldset { padding: 0.35em 0.75em 0.625em; }

legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal;}
progress { vertical-align: baseline; }
textarea { overflow: auto; }

[type="checkbox"],
[type="radio"] { box-sizing: border-box; padding: 0; }

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button { height: auto; }

[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }

::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }

*,
*::before,
*::after { box-sizing: inherit; }

body,
button,
input,
select,
optgroup,
textarea {
    color: #333333;
	font-family: -apple-system, Verdana, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

dfn,
cite,
em,
i { font-style: italic; }

blockquote { margin: 0 1.5em; }
address { margin: 0 0 1.5em; }
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var { font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }

abbr,
acronym { border-bottom: 1px dotted #666; cursor: help; }

mark,
ins { background: #fff9c0; text-decoration: none; }
big { font-size: 125%; }

ul,
ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; margin-left: 0; }
ol { list-style: decimal; }

li > ul,
li > ol { margin-bottom: 0; margin-left: 1.5em; }

dt { font-weight: 700; }
dd { margin: 0 1.5em 1.5em; }

embed,
iframe,
object { max-width: 100%; }

img { height: auto; max-width: 100%; }
figure { margin: 1em 0; }
table { margin: 0 0 1.5em; width: 100%; }

/* ### Forms ### */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select { border: 1px solid #ccc; }
textarea { width: 100%; }

/* ### Grid templates ### */
/*.grid { margin-bottom: 1.5em; display: grid; grid-gap: 1.5em; }*/
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.col-5 { display: grid; grid-template-columns: repeat(5, 1fr); }
.col-6 { display: grid; grid-template-columns: repeat(6, 1fr); }
.col-7 { display: grid; grid-template-columns: repeat(7, 1fr); }
.col-8 { display: grid; grid-template-columns: repeat(8, 1fr); }
.col-9 { display: grid; grid-template-columns: repeat(9, 1fr); }

@keyframes skew-y-shakeing {
	0% { transform: translateY(0) }
	25% { transform: translateY(3px) }
	50% { transform: translateY(-3px) }
	75% { transform: translateY(3px) }
	100% { transform: translateY(0) }
}

@keyframes l24 {
	100% { background-position: left; }
}

/* My Styles */
.container { width: 100%; }

.container > main { /*padding-top: 20px; padding-bottom: 20px;*/ padding: 0; }
.container > main article { /*padding: 20px;*/ }
.site-wth { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 20px; }
.overflow-none { overflow: hidden; }
.flex-break { width: 100%; }
.h-bgr { text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1px #fff, 0 -1px #fff, 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
	background: linear-gradient(90deg, #3b9cef26 0%, rgba(255,255,255,1) 100%); font-size: 1.5rem; padding: 7px 7px 7px 15px; }

body:not(.home) article { margin-top: 2.5rem; }

/* POPUPS */
.overflow-none-modal { overflow: hidden; }
.ms-popup-modal { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: transparent; z-index: 999999999;
	transition: background-color, ease, .3s; }
.has-popup .ms-popup-modal { background-color: rgba(255, 255, 255, .65); display: flex; }
body:not(.has-popup) .ms-p-content { display: flex; justify-content: center; align-items: center; }
.ms-popup-modal .ms-popup-content { position: relative; overflow-y: hidden; padding: 20px; max-height: 90vh; height: 800px;
	background-color: #ffffff; margin-top: auto; margin-bottom: auto; border: 1px solid #333333aa;
	box-shadow: 0 0 15px #333333aa; opacity: 0; transition: opacity ease .5s; }
.has-popup .ms-popup-modal .ms-popup-content { opacity: 1; }
.ms-popup-modal .ms-popup-content .ms-p-content { width: 100%; height: calc(100% - 40px); padding: 0 10px 20px; overflow-y: auto; margin-top: 30px; }
.ms-popup-modal .ms-popup-content .ms-p-content h1:first-child,
.ms-popup-modal .ms-popup-content .ms-p-content h2:first-child,
.ms-popup-modal .ms-popup-content .ms-p-content h3:first-child { margin-top: 0; }
.ms-popup-modal .ms-popup-content .ms-popup-close { display: inline-block; width: 40px; height: 40px; position: absolute; top: 0;
	transition: background-color ease .3s; right: 0; background-color: #333333aa;
	display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ms-popup-modal .ms-popup-content .ms-popup-close:hover { background-color: #3b9cef; }
.ms-popup-modal .ms-popup-content .ms-popup-close svg { fill: #ffffff; }

/* LOADERS */
.loader {
	margin-left: auto;
    margin-right: auto;
	margin-top: 100px;
	/*transform: translateX(-50%);*/
	width: fit-content;
	font-weight: bold;
	font-family: monospace;
	font-size: 30px;
	background: radial-gradient(circle closest-side,#3b9cef 94%,#0000) right/calc(200% - 1em) 100%;
	animation: l24 1s infinite alternate linear;
}
.loader::before {
	content: "Loading...";
	line-height: 1em;
	color: #0000;
	background: inherit;
	background-image: radial-gradient(circle closest-side,#fff 94%,#3b9cef);
	-webkit-background-clip:text;
	background-clip:text;
}

blockquote { padding: 1px 16px; }

#toTop { position: fixed; right: 30px; bottom: 30px; width: 45px; height: 45px; pointer-events: none; opacity: 0; transition: all .3s;
	background: #032035 url('/img/to-top.svg') center center no-repeat; z-index: 18; background-size: cover; border: 3px solid rgba(255, 255, 255, 0.25); }
#toTop.on { opacity: 1; pointer-events: all; cursor: pointer; background-color: #05243a; }
#toTop:hover { animation: skew-y-shakeing 0.35s infinite; }

/* Header */
#masthead { height: 112px; background: #053a60 left top repeat-x; border-bottom: 2px solid #005e86; width: 100%; position: sticky; top: 0; z-index: 999999; transition: all .3s; }
#masthead .head-container { padding: 0 10px; display: flex; justify-content: space-between; position: relative; height: 100%; }
#masthead .head-container .site-description { font-size: 0.9rem; height: 18px; margin: 0 0 6px; color: #f3f3f3; line-height: 20px; transition: color ease .3s; }
/*body.overflow-none #masthead .head-container .site-description { color: #fff; }*/
#masthead .logo { display: inline-block; margin: 4px 0 0; position: relative; z-index: 9999999; }
#masthead .logo img { vertical-align: top; transition: all .3s; width: 200px; height: auto; filter: contrast(0) brightness(3.5); transition: filter .3s, width .3s, height .3s; margin-top: 3px; }
#masthead .menu-toggle { display: none; }
#masthead nav { align-self: flex-end; padding: 4px 1px 1px 25px; border-radius: 50px 0 0 0; }

#masthead nav .top-menu { position: absolute; top: 5px; right: 25px; margin: 0; display: flex; gap: 25px; align-items: center; }
#masthead nav .top-menu .blogpost-menu { display: flex; list-style-type: none; gap: 10px; }
#masthead nav .top-menu .blogpost-menu li a { display: block; text-transform: capitalize; text-decoration: none; color: #383838; padding: 5px 8px; }
#masthead nav .top-menu .blogpost-menu li.active_menu a { background: rgba(255, 255, 255, .1); }
#masthead nav .top-menu .phone-number { margin: 0; }
#masthead nav .top-menu .phone-number a { color: #fff; text-decoration: none; display: flex; align-items: center; font-family: monospace, Verdana, sans-serif;
    font-size: 1.2rem; transition: color ease .3s; }
    
body.overflow-none #masthead nav .top-menu .phone-number a { color: #333; }

#masthead nav .top-menu .phone-number svg { width: 24px; height: 24px; fill: #f3f3f3; margin-right: 8px; }

#masthead nav ul { padding: 0; margin: 0; }
#masthead nav > ul > li { display: inline-block; padding: 0 3px 3px; margin: 0 5px; }
#masthead nav > ul > li a { padding: 5px 14px; display: block; position: relative; text-decoration: none; background: #053a60; color: #fff; border-radius: 4px; }
#masthead nav > ul > li a::after { content: ''; position: absolute; width: 0px; height: 3px; left: 50%; bottom:0; background-color: #fff;
	transition: width ease-in-out .2s, left ease-in-out .2s; opacity: .75; }
#masthead nav > ul > li:hover a::after,
#masthead nav > ul > li._current a::after { width: 100%; left: 0; }
#masthead nav > ul > li._current a { border-color: #fff; background-color: rgba(255, 255, 255, 0.12); }

#masthead.mini { height: 86px; }
#masthead.mini .logo img { width: 145px; height: auto; }

h1, h2, h3 { color: #053a60; }
.home h2 { margin: 3.2rem 0 1.5rem; padding: 7px 0 7px 12px; background: rgb(141, 187, 207); background: linear-gradient(90deg, rgb(209 220 225) 0%, rgba(255, 255, 255, 0) 100%); text-shadow: 4px 1px 7px #fff; }

/* Homepage */
.home-content .header-info-block { min-width: 100%; width: 100%; aspect-ratio: 10 / 3; background: url(/img/main.webp) center center no-repeat; background-size: cover;
    margin-top: 15px; /*padding: 0 10px;*/ }
.home-content .header-info-block h1 { margin: 0 0 12px 0; font-size: 1.8rem; padding: 8px; background-color: rgba(255, 255, 255, 0.55); line-height: 2.4rem;
    text-shadow: 4px 2px 4px #191919; background-color: rgb(5 58 96 / 36%); color: #fff; }

/* Mobile Menu Icon Effect */
.menu-toggle { background-color: transparent; border: none; cursor: pointer; display: flex; padding: 0; }
.menu-toggle .line { fill: none; stroke: #fff; stroke-width: 6; transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
	stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1), stroke .3s cubic-bezier(0.4, 0, 0.2, 1); }
.main-menu.toggled .menu-toggle .line { stroke: #fff; }
.menu-toggle .line1 { stroke-dasharray: 60 207; stroke-width: 6; }
.menu-toggle .line2 { stroke-dasharray: 60 60; stroke-width: 6; }
.menu-toggle .line3 { stroke-dasharray: 60 207; stroke-width: 6; }
.toggled .menu-toggle .line1 { stroke-dasharray: 90 207; stroke-dashoffset: -134; stroke-width: 6; }
.toggled .menu-toggle .line2 { stroke-dasharray: 1 60; stroke-dashoffset: -30; stroke-width: 6; }
.toggled .menu-toggle .line3 { stroke-dasharray: 90 207; stroke-dashoffset: -134; stroke-width: 6; }

ol { margin-left: 0; }

/* Footer */
#colophon { background: #053a60; width: 100%; color: #fff; padding: 15px 0 0; }
#colophon .soc-wrap img { filter: contrast(0) brightness(3.5); }
#colophon nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
#colophon nav > section:last-child { display: flex; align-items: center; flex-wrap: wrap; align-content: center; }
#colophon h3 { font-size: 1.05rem; }
#colophon ul { list-style-type: none; padding-left: 0; }
#colophon ul li { margin: 3px 0; }
#colophon ul a { text-decoration: none; position: relative; padding-bottom: 3px; color: #fff; }
#colophon ul a::after { content: ''; position: absolute; width: 0px; height: 1px; left: 50%; bottom:0; background-color: #3b9cef;
	transition: width ease-in-out .2s, left ease-in-out .2s, background-color ease-in-out .2s; opacity: .75; }
#colophon ul a:hover::after { width: 100%; left: 0; background-color: #fff; }
#colophon .soc-wrap { display: flex; gap: 10px; }
#colophon .soc-wrap .socials { display: flex; gap: 7px; margin: auto 0 10px; }
#colophon p.f-slogan { margin: 0 0 10px 10px; flex-basis: 100%; }
#colophon .copyrighted { background-color: rgba(0, 0, 0, .45); padding: 3px 0; text-align: center; }

/*########### Pages ###########*/
.page-template .site-wth { padding-left: 12px; padding-right: 12px; }
.page-template h1 { margin-top: 1.75rem; }

/*  = Home Page =  */
/* Gallery */
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 15px; }
.work-gallery figure { width: 100%; }
.work-gallery img { object-fit: cover; width: 100%; max-height: 100%; cursor: pointer; transition: 0.3s; border-radius: 5px; }
.work-gallery .img-one-line { grid-column: 1 / 4; }

/* Image Popup */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  z-index: 99999999;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Form */
div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
    background-color: #053a60;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Home Videos */
.g-video-list { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; gap: 20px; }
.g-video-item { aspect-ratio: 16/9; width: 100%; height: 100%; }
.g-video-list iframe { width: 100%; height: 100%; }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .home-content .header-info-block h1 { font-size: 1.45rem !important; margin-top: 0; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.18rem !important; }
    
    .modal-content {
        width: 100%;
        max-width: calc(100% - 20px);
    }
    
    .g-video-list { display: grid; grid-template-columns: 1fr; }
    .home-content .header-info-block { margin-top: 0; width: calc(100% + 24px); margin-left: -12px; }
}