body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

h1 {
    font-weight: 400;
    font-size: 2.2em;
    margin: 0;
}

h2 {
    color: #3D8697;
}

h3 {
    text-align: center;
}

h4 {
    margin: 0;
    font-size: 18px;
}

a {
    color: #3D8697;
}

header {
    width: 1280px;
    margin: 0 auto;
}

nav {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}

header img {
    vertical-align: middle;
    padding: 10px;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header a {
    color: #000;
    text-decoration: none;
}

header ul li {
    display: inline-block;
    color: #000;
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
    text-transform: uppercase;
}

header ul ul {
    display: none;
    z-index: 2;
}

.text-shadow {
    text-shadow: 1px 1px 2px black;
}

.drop-down:hover .sub-menu {
    background-color: #FFF;
    border: 1px solid #666;
    position: absolute;
    margin-top: 5px;
    display: block;
    width: 180px;
}

header .sub-menu a {
    color: #666;
}

header .sub-menu li {
    display: block;
    text-align: left;
    font-size: 14px;
    text-transform: none;
}

header .sub-menu li:hover {
    font-weight: normal;
    background: #f9f9f9;
}

.mobile-header {
    display: none;
    background: #f3f3f3;
}

.mobile-header h1 {
    display: inline-block;
    font-size: 20px;
    float: right;
    margin: 18px auto;
    padding-right: 20px;
    font-weight: 600;
    color: #472f46;
}

#menuToggle a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

#menuToggle a:hover {
    color: #3D8697;
}

#menuToggle {
    display: block;
    position: relative;
    top: 20px;
    left: 20px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
}

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #3D8697;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

#menuToggle span:first-child {
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
}

#menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}

#menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}

#mobile-menu {
    position: absolute;
    width: 300px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#mobile-menu li {
    padding: 10px 0;
    font-size: 16px;
    display: block;
}

#mobile-menu .sub-menu {
    display: block;
    margin: 10px 0 0 10px;
}

#mobile-menu .sub-menu li:hover {
    background: inherit;
}

#menuToggle input:checked~ul {
    transform: none;
}

#menuToggle .drop-down:hover .sub-menu {
    background-color: inherit;
    border: none;
    position: relative;
    margin-top: 10px;
    display: block;
    width: inherit;
}

aside {
    width: 30%;
    float: left;
}

aside li {
    margin-bottom: 10px;
}

footer {
    border-top: 1px solid #e8e8e8;
    clear: both;
    margin-bottom: 40px;
}

.show-nav {
    padding: 19px 10px;
    cursor: pointer;
}

.menu-bar {
    width: 18px;
    height: 3px;
    background: #000;
    margin: 3px 0;
    border-radius: 13px;
}

.hero {
    background: url(../img/Plenary-12.jpeg) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 432px;
    margin-bottom: 40px;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
}

.hero.home {
    background: url(../img/budapest.jpg) no-repeat center / cover;
    position: relative;
}

.home .hero-text {
    background: linear-gradient(rgba(104, 130, 197, 0.5), rgba(104, 130, 197, 0.5));
    padding: 10px 12px;
}

.hero.tor {
    background-image: url(../img/tor.jpg);
}

.hero.contact {
    background-image: url(../img/contact.jpg);
}

.hero.iaea {
    background-image:linear-gradient(
        rgba(0, 0, 0, 0.45), 
        rgba(0, 0, 0, 0.45)
      ), url(../img/iaea2.jpg) !important;
}

.hero.nuclearsecurityinfcircs {
    background-image:linear-gradient(
        rgba(0, 0, 0, 0.45), 
        rgba(0, 0, 0, 0.75)
      ), url(../img/lobby-flags.jpg) !important;
      border-bottom: 2px solid #39145e;
}

.hero.join {
    background-image: url(../img/join.jpg);
}

.hero.newsroom {
    background-image: url(../img/newsroom.jpg);
}

.hero.event {
    background-image: url(../img/events.jpg);
}

.hero.accomps {
    background-image: url(../img/accomplishments.jpg);
}

.hero.links {
    background-image: url(../img/links.jpg);
}

.container {
    width: auto;
    max-width: 1000px;
    margin: auto;
    font-weight: 300;
    box-sizing: border-box;
}

.row {
    text-align: center;
}

.row:first-of-type {
    margin-top: 50px;
}

.:first-of-type {
    margin-left: 36px !important;
}

.block {
    width: 175px;
    height: 220px !important;
    display: inline-block;
    margin: 0 0 50px 36px;
    vertical-align: top;
    background: #70B0BF url(../img/nuclear_bkgd.png) no-repeat center center;
    background-size: contain;
    position: relative;
    border-radius: 5px;
    border: 2px solid #feeb4b;
    outline: 2px solid #39145e;
}


.block a {
    color: #000;
    text-decoration: none;
    width: 180px;
}

.block h2 {
    font-size: 20px;
    font-weight: 400;
    margin: 10px 0 0 0;
    color: #000;
}

.block a:hover p {
    text-decoration: underline;
}

.block p {
    font-size: 18px;
    margin: 5px 0 10px 0;
    padding: 0 10px;
}

.block span {
    display: inline-block;
    position: absolute;
    bottom: 12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 180px;
}

.block img {
    width: 35px;
    padding-left: 5px;
    vertical-align: bottom;
}

.content {
    width: 67%;
    float: left;
    padding-right: 20px;
    margin-bottom: 40px;
}

.content h2 {
    text-align: center;
}

.content a {
    color: #000;
}

.content a:hover {
    color: #3D8697;
}

aside {
    margin-top: 70px;
}

aside h3 {
    text-align: left;
    margin-left: 23px;
}

aside a {
    text-decoration: none;
}

aside a:hover {
    text-decoration: underline;
}

.side-box {
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    padding: 5px 10px;
    margin-bottom: 20px;
}

section{
    margin: 2rem 0;
    padding: 1.3rem 0;
    border-top: 1px solid #f2f2f2;
}

section:first-of-type{
    border:none;
}

.video{
    margin-bottom: 2.5rem;
}

.video h3{
    text-align: left;
    margin: 0.8rem 0;
}

.members {
    background: url(../img/world_map.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-top: 50px;
}

.members h3 {
    text-align: left;
}

.members ul {
    display: inline-block;
    margin-right: 81px;
    vertical-align: top;
    padding-left: 0;
}

.members ul:last-of-type {
    margin-right: 0;
}

.members li {
    margin-bottom: 20px;
    list-style: none;
}

.members li img {
    width: 35px;
    height: 18px;
    border: 1px solid #ccc;
    vertical-align: bottom;
    margin-right: 10px;
}

article {
    margin: 60px 0;
}

article img {
    width: 250px;
    vertical-align: top;
}

.article-content {
    display: inline-block;
    width: 680px;
    margin-left: 20px;
}

article a {
    text-decoration: none;
}

article a:hover {
    color: #000;
}

a h4 {
    color: #000;
}

.accomplishments a h4 {
    font-weight: 400;
}

.accomplishments h3 {
    margin-bottom: -20px;
    margin-top: 60px;
    font-size: 20px;
}

.accomplishments .article-content {
    margin-left: 0;
    margin-right: 20px;
}

.events h3 {
    font-size: 20px;
    color: #492F45;
    text-align: left;
    margin: 0;
}

.events hr {
    margin-bottom: 30px;
    border: 1px dotted #ccc;
}

.event {
    margin-bottom: 80px;
}

.event a {
    text-decoration: none;
}

.event a:hover {
    text-decoration: underline;
}

.event h4 a {
    color: #000;
}

.event-date {
    display: inline-block;
    font-size: 18px;
    text-align: center;
    font-weight: 400;
    border: 1px solid #aaa;
    border-radius: 8px;
    color: #444;
    padding: 3px;
    margin-right:40px;
    vertical-align: top;
    width: 90px;
}

.event img {
    width: 160px;
    margin-left: 20px;
}

.event-info {
    display: inline-block;
    width: 500px;
    margin-left: 40px;
    vertical-align: top;
}

.event h5 {
    margin: 20px 0;
}

.event sub {
    vertical-align: top;
}


.modal-dialog {
    max-width: 600px !important;
}
.modal-content{
    min-height:600px;
}

.w-35{
    width:35px;
}


